[03:00:06]OFD Sender: No OFD packet to send [03:00:11]OFD Sender: No OFD packet to send [03:00:16]OFD Sender: No OFD packet to send [03:00:21]OFD Sender: No OFD packet to send [03:00:26]OFD Sender: No OFD packet to send [03:00:31]OFD Sender: No OFD packet to send [03:00:36]OFD Sender: No OFD packet to send [03:00:41]OFD Sender: No OFD packet to send [03:00:46]OFD Sender: No OFD packet to send [03:00:51]OFD Sender: No OFD packet to send [03:00:56]OFD Sender: No OFD packet to send [03:01:01]OFD Sender: No OFD packet to send [03:01:06]OFD Sender: No OFD packet to send [03:01:11]OFD Sender: No OFD packet to send [03:01:16]OFD Sender: No OFD packet to send [03:01:21]OFD Sender: No OFD packet to send [03:01:26]OFD Sender: No OFD packet to send [03:01:31]OFD Sender: No OFD packet to send [03:01:36]OFD Sender: No OFD packet to send [03:01:41]OFD Sender: No OFD packet to send [03:01:46]OFD Sender: No OFD packet to send [03:01:51]OFD Sender: No OFD packet to send [03:01:56]OFD Sender: No OFD packet to send [03:02:01]OFD Sender: No OFD packet to send [03:02:06]OFD Sender: No OFD packet to send [03:02:11]OFD Sender: No OFD packet to send [03:02:16]OFD Sender: No OFD packet to send [03:02:21]OFD Sender: No OFD packet to send [03:02:26]OFD Sender: No OFD packet to send [03:02:31]OFD Sender: No OFD packet to send [03:02:36]OFD Sender: No OFD packet to send [03:02:41]OFD Sender: No OFD packet to send [03:02:46]OFD Sender: No OFD packet to send [03:02:51]OFD Sender: No OFD packet to send [03:02:56]OFD Sender: No OFD packet to send [03:03:01]OFD Sender: No OFD packet to send [03:03:06]OFD Sender: No OFD packet to send [03:03:11]OFD Sender: No OFD packet to send [03:03:16]OFD Sender: No OFD packet to send [03:03:21]OFD Sender: No OFD packet to send [03:03:26]OFD Sender: No OFD packet to send [03:03:31]OFD Sender: No OFD packet to send [03:03:36]OFD Sender: No OFD packet to send [03:03:41]OFD Sender: No OFD packet to send [03:03:46]OFD Sender: No OFD packet to send [03:03:51]OFD Sender: No OFD packet to send [03:03:56]OFD Sender: No OFD packet to send [03:04:01]OFD Sender: No OFD packet to send [03:04:06]OFD Sender: No OFD packet to send [03:04:11]OFD Sender: No OFD packet to send [03:04:16]OFD Sender: No OFD packet to send [03:04:21]OFD Sender: No OFD packet to send [03:04:26]OFD Sender: No OFD packet to send [03:04:31]OFD Sender: No OFD packet to send [03:04:36]OFD Sender: No OFD packet to send [03:04:41]OFD Sender: No OFD packet to send [03:04:46]OFD Sender: No OFD packet to send [03:04:51]OFD Sender: No OFD packet to send [03:04:56]OFD Sender: No OFD packet to send [03:05:01]OFD Sender: No OFD packet to send [03:05:06]OFD Sender: No OFD packet to send [03:05:11]OFD Sender: No OFD packet to send [03:05:16]OFD Sender: No OFD packet to send [03:05:21]OFD Sender: No OFD packet to send [03:05:26]OFD Sender: No OFD packet to send [03:05:31]OFD Sender: No OFD packet to send [03:05:36]OFD Sender: No OFD packet to send [03:05: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:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17:22]OFD Sender: No OFD packet to send [03:17:27]OFD Sender: No OFD packet to send [03:17:32]OFD Sender: No OFD packet to send [03:17:37]OFD Sender: No OFD packet to send [03:17:42]OFD Sender: No OFD packet to send [03:17:47]OFD Sender: No OFD packet to send [03:17:52]OFD Sender: No OFD packet to send [03:17:57]OFD Sender: No OFD packet to send [03:18:02]OFD Sender: No OFD packet to send [03:18:07]OFD Sender: No OFD packet to send [03:18:12]OFD Sender: No OFD packet to send [03:18:17]OFD Sender: No OFD packet to send [03:18:22]OFD Sender: No OFD packet to send [03:18:27]OFD Sender: No OFD packet to send [03:18:32]OFD Sender: No OFD packet to send [03:18:37]OFD Sender: No OFD packet to send [03:18:42]OFD Sender: No OFD packet to send [03:18:47]OFD Sender: No OFD packet to send [03:18:52]OFD Sender: No OFD packet to send [03:18:57]OFD Sender: No OFD packet to send [03:19:02]OFD Sender: No OFD packet to send [03:19:07]OFD Sender: No OFD packet to send [03:19:12]OFD Sender: No OFD packet to send [03:19:17]OFD Sender: No OFD packet to send [03:19:22]OFD Sender: No OFD packet to send [03:19:27]OFD Sender: No OFD packet to send [03:19:32]OFD Sender: No OFD packet to send [03:19:37]OFD Sender: No OFD packet to send [03:19:42]OFD Sender: No OFD packet to send [03:19:47]OFD Sender: No OFD packet to send [03:19:52]OFD Sender: No OFD packet to send [03:19:57]OFD Sender: No OFD packet to send [03:20:02]OFD Sender: No OFD packet to send [03:20:07]OFD Sender: No OFD packet to send [03:20:12]OFD Sender: No OFD packet to send [03:20:17]OFD Sender: No OFD packet to send [03:20:22]OFD Sender: No OFD packet to send [03:20:27]OFD Sender: No OFD packet to send [03:20:32]OFD Sender: No OFD packet to send [03:20:37]OFD Sender: No OFD packet to send [03:20:42]OFD Sender: No OFD packet to send [03:20:47]OFD Sender: No OFD packet to send [03:20:52]OFD Sender: No OFD packet to send [03:20:57]OFD Sender: No OFD packet to send [03:21:02]OFD Sender: No OFD packet to send [03:21:07]OFD Sender: No OFD packet to send [03:21:12]OFD Sender: No OFD packet to send [03:21:17]OFD Sender: No OFD packet to send [03:21:22]OFD Sender: No OFD packet to send [03:21:27]OFD Sender: No OFD packet to send [03:21:32]OFD Sender: No OFD packet to send [03:21:37]OFD Sender: No OFD packet to send [03:21:42]OFD Sender: No OFD packet to send [03:21:47]OFD Sender: No OFD packet to send [03:21:52]OFD Sender: No OFD packet to send [03:21:57]OFD Sender: No OFD packet to send [03:22:02]OFD Sender: No OFD packet to send [03:22:07]OFD Sender: No OFD packet to send [03:22:12]OFD Sender: No OFD packet to send [03:22:17]OFD Sender: No OFD packet to send [03:22:22]OFD Sender: No OFD packet to send [03:22:27]OFD Sender: No OFD packet to send [03:22:32]OFD Sender: No OFD packet to send [03:22:37]OFD Sender: No OFD packet to send [03:22:42]OFD Sender: No OFD packet to send [03:22:47]OFD Sender: No OFD packet to send [03:22:52]OFD Sender: No OFD packet to send [03:22:57]OFD Sender: No OFD packet to send [03:23:02]OFD Sender: No OFD packet to send [03:23:07]OFD Sender: No OFD packet to send [03:23:12]OFD Sender: No OFD packet to send [03:23:17]OFD Sender: No OFD packet to send [03:23:22]OFD Sender: No OFD packet to send [03:23:27]OFD Sender: No OFD packet to send [03:23:32]OFD Sender: No OFD packet to send [03:23:37]OFD Sender: No OFD packet to send [03:23:42]OFD Sender: No OFD packet to send [03:23:47]OFD Sender: No OFD packet to send [03:23:52]OFD Sender: No OFD packet to send [03:23:57]OFD Sender: No OFD packet to send [03:24:02]OFD Sender: No OFD packet to send [03:24:07]OFD Sender: No OFD packet to send [03:24:12]OFD Sender: No OFD packet to send [03:24:17]OFD Sender: No OFD packet to send [03:24:22]OFD Sender: No OFD packet to send [03:24:27]OFD Sender: No OFD packet to send [03:24:32]OFD Sender: No OFD packet to send [03:24:37]OFD Sender: No OFD packet to send [03:24:42]OFD Sender: No OFD packet to send [03:24:47]OFD Sender: No OFD packet to send [03:24:52]OFD Sender: No OFD packet to send [03:24:57]OFD Sender: No OFD packet to send [03:25:02]OFD Sender: No OFD packet to send [03:25:07]OFD Sender: No OFD packet to send [03:25:12]OFD Sender: No OFD packet to send [03:25:17]OFD Sender: No OFD packet to send [03:25:22]OFD Sender: No OFD packet to send [03:25:27]OFD Sender: No OFD packet to send [03:25:32]OFD Sender: No OFD packet to send [03:25:37]OFD Sender: No OFD packet to send [03:25:42]OFD Sender: No OFD packet to send [03:25:47]OFD Sender: No OFD packet to send [03:25:52]OFD Sender: No OFD packet to send [03:25:57]OFD Sender: No OFD packet to send [03:26:02]OFD Sender: No OFD packet to send [03:26:07]OFD Sender: No OFD packet to send [03:26:12]OFD Sender: No OFD packet to send [03:26:17]OFD Sender: No OFD packet to send [03:26:22]OFD Sender: No OFD packet to send [03:26:27]OFD Sender: No OFD packet to send [03:26:32]OFD Sender: No OFD packet to send [03:26:37]OFD Sender: No OFD packet to send [03:26:42]OFD Sender: No OFD packet to send [03:26:47]OFD Sender: No OFD packet to send [03:26:52]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:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:33]OFD Sender: No OFD packet to send [03:37:38]OFD Sender: No OFD packet to send [03:37:43]OFD Sender: No OFD packet to send [03:37:48]OFD Sender: No OFD packet to send [03:37:53]OFD Sender: No OFD packet to send [03:37:58]OFD Sender: No OFD packet to send [03:38:03]OFD Sender: No OFD packet to send [03:38:08]OFD Sender: No OFD packet to send [03:38:13]OFD Sender: No OFD packet to send [03:38:18]OFD Sender: No OFD packet to send [03:38:23]OFD Sender: No OFD packet to send [03:38:28]OFD Sender: No OFD packet to send [03:38:33]OFD Sender: No OFD packet to send [03:38:38]OFD Sender: No OFD packet to send [03:38:43]OFD Sender: No OFD packet to send [03:38:48]OFD Sender: No OFD packet to send [03:38:53]OFD Sender: No OFD packet to send [03:38:58]OFD Sender: No OFD packet to send [03:39:03]OFD Sender: No OFD packet to send [03:39:08]OFD Sender: No OFD packet to send [03:39:13]OFD Sender: No OFD packet to send [03:39:18]OFD Sender: No OFD packet to send [03:39:23]OFD Sender: No OFD packet to send [03:39:28]OFD Sender: No OFD packet to send [03:39:33]OFD Sender: No OFD packet to send [03:39:38]OFD Sender: No OFD packet to send [03:39:43]OFD Sender: No OFD packet to send [03:39:48]OFD Sender: No OFD packet to send [03:39:53]OFD Sender: No OFD packet to send [03:39:58]OFD Sender: No OFD packet to send [03:40:03]OFD Sender: No OFD packet to send [03:40:08]OFD Sender: No OFD packet to send [03:40:13]OFD Sender: No OFD packet to send [03:40:18]OFD Sender: No OFD packet to send [03:40:23]OFD Sender: No OFD packet to send [03:40:28]OFD Sender: No OFD packet to send [03:40:33]OFD Sender: No OFD packet to send [03:40:38]OFD Sender: No OFD packet to send [03:40:43]OFD Sender: No OFD packet to send [03:40:48]OFD Sender: No OFD packet to send [03:40:53]OFD Sender: No OFD packet to send [03:40:58]OFD Sender: No OFD packet to send [03:41:03]OFD Sender: No OFD packet to send [03:41:08]OFD Sender: No OFD packet to send [03:41:13]OFD Sender: No OFD packet to send [03:41:18]OFD Sender: No OFD packet to send [03:41:23]OFD Sender: No OFD packet to send [03:41:28]OFD Sender: No OFD packet to send [03:41:33]OFD Sender: No OFD packet to send [03:41:38]OFD Sender: No OFD packet to send [03:41:43]OFD Sender: No OFD packet to send [03:41:48]OFD Sender: No OFD packet to send [03:41:53]OFD Sender: No OFD packet to send [03:41:58]OFD Sender: No OFD packet to send [03:42:03]OFD Sender: No OFD packet to send [03:42:08]OFD Sender: No OFD packet to send [03:42:13]OFD Sender: No OFD packet to send [03:42:18]OFD Sender: No OFD packet to send [03:42:23]OFD Sender: No OFD packet to send [03:42:28]OFD Sender: No OFD packet to send [03:42:33]OFD Sender: No OFD packet to send [03:42:38]OFD Sender: No OFD packet to send [03:42:43]OFD Sender: No OFD packet to send [03:42:48]OFD Sender: No OFD packet to send [03:42:53]OFD Sender: No OFD packet to send [03:42:58]OFD Sender: No OFD packet to send [03:43:03]OFD Sender: No OFD packet to send [03:43:08]OFD Sender: No OFD packet to send [03:43:13]OFD Sender: No OFD packet to send [03:43:18]OFD Sender: No OFD packet to send [03:43:23]OFD Sender: No OFD packet to send [03:43:28]OFD Sender: No OFD packet to send [03:43:33]OFD Sender: No OFD packet to send [03:43:38]OFD Sender: No OFD packet to send [03:43:43]OFD Sender: No OFD packet to send [03:43:48]OFD Sender: No OFD packet to send [03:43:53]OFD Sender: No OFD packet to send [03:43:58]OFD Sender: No OFD packet to send [03:44:03]OFD Sender: No OFD packet to send [03:44:08]OFD Sender: No OFD packet to send [03:44:13]OFD Sender: No OFD packet to send [03:44:18]OFD Sender: No OFD packet to send [03:44:23]OFD Sender: No OFD packet to send [03:44:28]OFD Sender: No OFD packet to send [03:44:33]OFD Sender: No OFD packet to send [03:44:38]OFD Sender: No OFD packet to send [03:44:43]OFD Sender: No OFD packet to send [03:44:48]OFD Sender: No OFD packet to send [03:44:53]OFD Sender: No OFD packet to send [03:44:58]OFD Sender: No OFD packet to send [03:45:03]OFD Sender: No OFD packet to send [03:45:08]OFD Sender: No OFD packet to send [03:45:13]OFD Sender: No OFD packet to send [03:45:18]OFD Sender: No OFD packet to send [03:45:23]OFD Sender: No OFD packet to send [03:45:28]OFD Sender: No OFD packet to send [03:45:33]OFD Sender: No OFD packet to send [03:45:38]OFD Sender: No OFD packet to send [03:45:43]OFD Sender: No OFD packet to send [03:45:48]OFD Sender: No OFD packet to send [03:45:53]OFD Sender: No OFD packet to send [03:45:58]OFD Sender: No OFD packet to send [03:46:03]OFD Sender: No OFD packet to send [03:46:08]OFD Sender: No OFD packet to send [03:46:13]OFD Sender: No OFD packet to send [03:46:18]OFD Sender: No OFD packet to send [03:46:23]OFD Sender: No OFD packet to send [03:46:28]OFD Sender: No OFD packet to send [03:46:33]OFD Sender: No OFD packet to send [03:46:38]OFD Sender: No OFD packet to send [03:46:43]OFD Sender: No OFD packet to send [03:46:48]OFD Sender: No OFD packet to send [03:46:53]OFD Sender: No OFD packet to send [03:46:58]OFD Sender: No OFD packet to send [03:47:03]OFD Sender: No OFD packet to send [03:47:08]OFD Sender: No OFD packet to send [03:47:13]OFD Sender: No OFD packet to send [03:47:18]OFD Sender: No OFD packet to send [03:47:23]OFD Sender: No OFD packet to send [03:47:28]OFD Sender: No OFD packet to send [03:47:33]OFD Sender: No OFD packet to send [03:47:38]OFD Sender: No OFD packet to send [03:47:43]OFD Sender: No OFD packet to send [03:47:48]OFD Sender: No OFD packet to send [03:47:53]OFD Sender: No OFD packet to send [03:47:58]OFD Sender: No OFD packet to send [03:48:03]OFD Sender: No OFD packet to send [03:48:08]OFD Sender: No OFD packet to send [03:48:13]OFD Sender: No OFD packet to send [03:48:18]OFD Sender: No OFD packet to send [03:48:23]OFD Sender: No OFD packet to send [03:48:28]OFD Sender: No OFD packet to send [03:48:33]OFD Sender: No OFD packet to send [03:48:38]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:44]OFD Sender: No OFD packet to send [03:57:49]OFD Sender: No OFD packet to send [03:57:54]OFD Sender: No OFD packet to send [03:57:59]OFD Sender: No OFD packet to send [03:58:04]OFD Sender: No OFD packet to send [03:58:09]OFD Sender: No OFD packet to send [03:58:14]OFD Sender: No OFD packet to send [03:58:19]OFD Sender: No OFD packet to send [03:58:24]OFD Sender: No OFD packet to send [03:58:29]OFD Sender: No OFD packet to send [03:58:34]OFD Sender: No OFD packet to send [03:58:39]OFD Sender: No OFD packet to send [03:58:44]OFD Sender: No OFD packet to send [03:58:49]OFD Sender: No OFD packet to send [03:58:54]OFD Sender: No OFD packet to send [03:58:59]OFD Sender: No OFD packet to send [03:59:04]OFD Sender: No OFD packet to send [03:59:09]OFD Sender: No OFD packet to send [03:59:14]OFD Sender: No OFD packet to send [03:59:19]OFD Sender: No OFD packet to send [03:59:24]OFD Sender: No OFD packet to send [03:59:29]OFD Sender: No OFD packet to send [03:59:34]OFD Sender: No OFD packet to send [03:59:39]OFD Sender: No OFD packet to send [03:59:44]OFD Sender: No OFD packet to send [03:59:49]OFD Sender: No OFD packet to send [03:59:54]OFD Sender: No OFD packet to send [03:59:59]OFD Sender: No OFD packet to send [04:00:04]OFD Sender: No OFD packet to send [04:00:09]OFD Sender: No OFD packet to send [04:00:14]OFD Sender: No OFD packet to send [04:00:19]OFD Sender: No OFD packet to send [04:00:24]OFD Sender: No OFD packet to send [04:00:29]OFD Sender: No OFD packet to send [04:00:34]OFD Sender: No OFD packet to send [04:00:39]OFD Sender: No OFD packet to send [04:00:44]OFD Sender: No OFD packet to send [04:00:49]OFD Sender: No OFD packet to send [04:00:54]OFD Sender: No OFD packet to send [04:00:59]OFD Sender: No OFD packet to send [04:01:04]OFD Sender: No OFD packet to send [04:01:09]OFD Sender: No OFD packet to send [04:01:14]OFD Sender: No OFD packet to send [04:01:19]OFD Sender: No OFD packet to send [04:01:24]OFD Sender: No OFD packet to send [04:01:29]OFD Sender: No OFD packet to send [04:01:34]OFD Sender: No OFD packet to send [04:01:39]OFD Sender: No OFD packet to send [04:01:44]OFD Sender: No OFD packet to send [04:01:49]OFD Sender: No OFD packet to send [04:01:54]OFD Sender: No OFD packet to send [04:01:59]OFD Sender: No OFD packet to send [04:02:04]OFD Sender: No OFD packet to send [04:02:09]OFD Sender: No OFD packet to send [04:02:14]OFD Sender: No OFD packet to send [04:02:19]OFD Sender: No OFD packet to send [04:02:24]OFD Sender: No OFD packet to send [04:02:29]OFD Sender: No OFD packet to send [04:02:34]OFD Sender: No OFD packet to send [04:02:39]OFD Sender: No OFD packet to send [04:02:44]OFD Sender: No OFD packet to send [04:02:49]OFD Sender: No OFD packet to send [04:02:54]OFD Sender: No OFD packet to send [04:02:59]OFD Sender: No OFD packet to send [04:03:04]OFD Sender: No OFD packet to send [04:03:09]OFD Sender: No OFD packet to send [04:03:14]OFD Sender: No OFD packet to send [04:03:19]OFD Sender: No OFD packet to send [04:03:24]OFD Sender: No OFD packet to send [04:03:29]OFD Sender: No OFD packet to send [04:03:34]OFD Sender: No OFD packet to send [04:03:39]OFD Sender: No OFD packet to send [04:03:44]OFD Sender: No OFD packet to send [04:03:49]OFD Sender: No OFD packet to send [04:03:54]OFD Sender: No OFD packet to send [04:03:59]OFD Sender: No OFD packet to send [04:04:04]OFD Sender: No OFD packet to send [04:04:09]OFD Sender: No OFD packet to send [04:04:14]OFD Sender: No OFD packet to send [04:04:19]OFD Sender: No OFD packet to send [04:04:24]OFD Sender: No OFD packet to send [04:04:29]OFD Sender: No OFD packet to send [04:04:34]OFD Sender: No OFD packet to send [04:04:39]OFD Sender: No OFD packet to send [04:04:44]OFD Sender: No OFD packet to send [04:04:49]OFD Sender: No OFD packet to send [04:04:54]OFD Sender: No OFD packet to send [04:04:59]OFD Sender: No OFD packet to send [04:05:04]OFD Sender: No OFD packet to send [04:05:09]OFD Sender: No OFD packet to send [04:05:14]OFD Sender: No OFD packet to send [04:05:19]OFD Sender: No OFD packet to send [04:05:24]OFD Sender: No OFD packet to send [04:05:29]OFD Sender: No OFD packet to send [04:05:34]OFD Sender: No OFD packet to send [04:05:39]OFD Sender: No OFD packet to send [04:05:44]OFD Sender: No OFD packet to send [04:05:49]OFD Sender: No OFD packet to send [04:05:54]OFD Sender: No OFD packet to send [04:05:59]OFD Sender: No OFD packet to send [04:06:04]OFD Sender: No OFD packet to send [04:06:09]OFD Sender: No OFD packet to send [04:06:14]OFD Sender: No OFD packet to send [04:06:19]OFD Sender: No OFD packet to send [04:06:24]OFD Sender: No OFD packet to send [04:06:29]OFD Sender: No OFD packet to send [04:06:34]OFD Sender: No OFD packet to send [04:06:39]OFD Sender: No OFD packet to send [04:06:44]OFD Sender: No OFD packet to send [04:06:49]OFD Sender: No OFD packet to send [04:06:54]OFD Sender: No OFD packet to send [04:06:59]OFD Sender: No OFD packet to send [04:07:04]OFD Sender: No OFD packet to send [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]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:35]OFD Sender: No OFD packet to send [04:19:40]OFD Sender: No OFD packet to send [04:19:45]OFD Sender: No OFD packet to send [04:19:50]OFD Sender: No OFD packet to send [04:19:55]OFD Sender: No OFD packet to send [04:20:00]OFD Sender: No OFD packet to send [04:20:05]OFD Sender: No OFD packet to send [04:20:10]OFD Sender: No OFD packet to send [04:20:15]OFD Sender: No OFD packet to send [04:20:20]OFD Sender: No OFD packet to send [04:20:25]OFD Sender: No OFD packet to send [04:20:30]OFD Sender: No OFD packet to send [04:20:35]OFD Sender: No OFD packet to send [04:20:40]OFD Sender: No OFD packet to send [04:20:45]OFD Sender: No OFD packet to send [04:20:50]OFD Sender: No OFD packet to send [04:20:55]OFD Sender: No OFD packet to send [04:21:00]OFD Sender: No OFD packet to send [04:21:05]OFD Sender: No OFD packet to send [04:21:10]OFD Sender: No OFD packet to send [04:21:15]OFD Sender: No OFD packet to send [04:21:20]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]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:26]OFD Sender: No OFD packet to send [04:41:31]OFD Sender: No OFD packet to send [04:41:36]OFD Sender: No OFD packet to send [04:41:41]OFD Sender: No OFD packet to send [04:41:46]OFD Sender: No OFD packet to send [04:41:51]OFD Sender: No OFD packet to send [04:41:56]OFD Sender: No OFD packet to send [04:42:01]OFD Sender: No OFD packet to send [04:42:06]OFD Sender: No OFD packet to send [04:42:11]OFD Sender: No OFD packet to send [04:42:16]OFD Sender: No OFD packet to send [04:42:21]OFD Sender: No OFD packet to send [04:42:26]OFD Sender: No OFD packet to send [04:42:31]OFD Sender: No OFD packet to send [04:42:36]OFD Sender: No OFD packet to send [04:42:41]OFD Sender: No OFD packet to send [04:42:46]OFD Sender: No OFD packet to send [04:42:51]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53: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:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:53]OFD Sender: No OFD packet to send [05:14:58]OFD Sender: No OFD packet to send [05:15:03]OFD Sender: No OFD packet to send [05:15:08]OFD Sender: No OFD packet to send [05:15:13]OFD Sender: No OFD packet to send [05:15:18]OFD Sender: No OFD packet to send [05:15:23]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:33]OFD Sender: No OFD packet to send [05:16:38]OFD Sender: No OFD packet to send [05:16:43]OFD Sender: No OFD packet to send [05:16:48]OFD Sender: No OFD packet to send [05:16:53]OFD Sender: No OFD packet to send [05:16:58]OFD Sender: No OFD packet to send [05:17:03]OFD Sender: No OFD packet to send [05:17:08]OFD Sender: No OFD packet to send [05:17:13]OFD Sender: No OFD packet to send [05:17:18]OFD Sender: No OFD packet to send [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:38]OFD Sender: No OFD packet to send [05:17:43]OFD Sender: No OFD packet to send [05:17:48]OFD Sender: No OFD packet to send [05:17:53]OFD Sender: No OFD packet to send [05:17:58]OFD Sender: No OFD packet to send [05:18:03]OFD Sender: No OFD packet to send [05:18:08]OFD Sender: No OFD packet to send [05:18:13]OFD Sender: No OFD packet to send [05:18:18]OFD Sender: No OFD packet to send [05:18:23]OFD Sender: No OFD packet to send [05:18:28]OFD Sender: No OFD packet to send [05:18:33]OFD Sender: No OFD packet to send [05:18:38]OFD Sender: No OFD packet to send [05:18:43]OFD Sender: No OFD packet to send [05:18:48]OFD Sender: No OFD packet to send [05:18:53]OFD Sender: No OFD packet to send [05:18:58]OFD Sender: No OFD packet to send [05:19:03]OFD Sender: No OFD packet to send [05:19:08]OFD Sender: No OFD packet to send [05:19:13]OFD Sender: No OFD packet to send [05:19:18]OFD Sender: No OFD packet to send [05:19:23]OFD Sender: No OFD packet to send [05:19:28]OFD Sender: No OFD packet to send [05:19:33]OFD Sender: No OFD packet to send [05:19:38]OFD Sender: No OFD packet to send [05:19:43]OFD Sender: No OFD packet to send [05:19:48]OFD Sender: No OFD packet to send [05:19:53]OFD Sender: No OFD packet to send [05:19:58]OFD Sender: No OFD packet to send [05:20:03]OFD Sender: No OFD packet to send [05:20:08]OFD Sender: No OFD packet to send [05:20:13]OFD Sender: No OFD packet to send [05:20:18]OFD Sender: No OFD packet to send [05:20:23]OFD Sender: No OFD packet to send [05:20:28]OFD Sender: No OFD packet to send [05:20:33]OFD Sender: No OFD packet to send [05:20:38]OFD Sender: No OFD packet to send [05:20:43]OFD Sender: No OFD packet to send [05:20:48]OFD Sender: No OFD packet to send [05:20:53]OFD Sender: No OFD packet to send [05:20:58]OFD Sender: No OFD packet to send [05:21:03]OFD Sender: No OFD packet to send [05:21:08]OFD Sender: No OFD packet to send [05:21:13]OFD Sender: No OFD packet to send [05:21:18]OFD Sender: No OFD packet to send [05:21:23]OFD Sender: No OFD packet to send [05:21:28]OFD Sender: No OFD packet to send [05:21:33]OFD Sender: No OFD packet to send [05:21:38]OFD Sender: No OFD packet to send [05:21:43]OFD Sender: No OFD packet to send [05:21:48]OFD Sender: No OFD packet to send [05:21:53]OFD Sender: No OFD packet to send [05:21:58]OFD Sender: No OFD packet to send [05:22:03]OFD Sender: No OFD packet to send [05:22:08]OFD Sender: No OFD packet to send [05:22:13]OFD Sender: No OFD packet to send [05:22:18]OFD Sender: No OFD packet to send [05:22:23]OFD Sender: No OFD packet to send [05:22:28]OFD Sender: No OFD packet to send [05:22:33]OFD Sender: No OFD packet to send [05:22:38]OFD Sender: No OFD packet to send [05:22:43]OFD Sender: No OFD packet to send [05:22:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:58]OFD Sender: No OFD packet to send [05:23:03]OFD Sender: No OFD packet to send [05:23:08]OFD Sender: No OFD packet to send [05:23:13]OFD Sender: No OFD packet to send [05:23:18]OFD Sender: No OFD packet to send [05:23:23]OFD Sender: No OFD packet to send [05:23:28]OFD Sender: No OFD packet to send [05:23:33]OFD Sender: No OFD packet to send [05:23:38]OFD Sender: No OFD packet to send [05:23:43]OFD Sender: No OFD packet to send [05:23:48]OFD Sender: No OFD packet to send [05:23:53]OFD Sender: No OFD packet to send [05:23:58]OFD Sender: No OFD packet to send [05:24:03]OFD Sender: No OFD packet to send [05:24:08]OFD Sender: No OFD packet to send [05:24:13]OFD Sender: No OFD packet to send [05:24:18]OFD Sender: No OFD packet to send [05:24:23]OFD Sender: No OFD packet to send [05:24:28]OFD Sender: No OFD packet to send [05:24:33]OFD Sender: No OFD packet to send [05:24:38]OFD Sender: No OFD packet to send [05:24:43]OFD Sender: No OFD packet to send [05:24:48]OFD Sender: No OFD packet to send [05:24:53]OFD Sender: No OFD packet to send [05:24:58]OFD Sender: No OFD packet to send [05:25:03]OFD Sender: No OFD packet to send [05:25:08]OFD Sender: No OFD packet to send [05:25:13]OFD Sender: No OFD packet to send [05:25:18]OFD Sender: No OFD packet to send [05:25:23]OFD Sender: No OFD packet to send [05:25:28]OFD Sender: No OFD packet to send [05:25:33]OFD Sender: No OFD packet to send [05:25:38]OFD Sender: No OFD packet to send [05:25:43]OFD Sender: No OFD packet to send [05:25:48]OFD Sender: No OFD packet to send [05:25:53]OFD Sender: No OFD packet to send [05:25:58]OFD Sender: No OFD packet to send [05:26:03]OFD Sender: No OFD packet to send [05:26:08]OFD Sender: No OFD packet to send [05:26:13]OFD Sender: No OFD packet to send [05:26:18]OFD Sender: No OFD packet to send [05:26:23]OFD Sender: No OFD packet to send [05:26:28]OFD Sender: No OFD packet to send [05:26:33]OFD Sender: No OFD packet to send [05:26:38]OFD Sender: No OFD packet to send [05:26:43]OFD Sender: No OFD packet to send [05:26:48]OFD Sender: No OFD packet to send [05:26:53]OFD Sender: No OFD packet to send [05:26:58]OFD Sender: No OFD packet to send [05:27:03]OFD Sender: No OFD packet to send [05:27:08]OFD Sender: No OFD packet to send [05:27:13]OFD Sender: No OFD packet to send [05:27:18]OFD Sender: No OFD packet to send [05:27:23]OFD Sender: No OFD packet to send [05:27:28]OFD Sender: No OFD packet to send [05:27:33]OFD Sender: No OFD packet to send [05:27:38]OFD Sender: No OFD packet to send [05:27:43]OFD Sender: No OFD packet to send [05:27:48]OFD Sender: No OFD packet to send [05:27:53]OFD Sender: No OFD packet to send [05:27:58]OFD Sender: No OFD packet to send [05:28:03]OFD Sender: No OFD packet to send [05:28:08]OFD Sender: No OFD packet to send [05:28:13]OFD Sender: No OFD packet to send [05:28:18]OFD Sender: No OFD packet to send [05:28:23]OFD Sender: No OFD packet to send [05:28:28]OFD Sender: No OFD packet to send [05:28:33]OFD Sender: No OFD packet to send [05:28:38]OFD Sender: No OFD packet to send [05:28:43]OFD Sender: No OFD packet to send [05:28:48]OFD Sender: No OFD packet to send [05:28:53]OFD Sender: No OFD packet to send [05:28:58]OFD Sender: No OFD packet to send [05:29:03]OFD Sender: No OFD packet to send [05:29:08]OFD Sender: No OFD packet to send [05:29:13]OFD Sender: No OFD packet to send [05:29:18]OFD Sender: No OFD packet to send [05:29:23]OFD Sender: No OFD packet to send [05:29:28]OFD Sender: No OFD packet to send [05:29:33]OFD Sender: No OFD packet to send [05:29:38]OFD Sender: No OFD packet to send [05:29:43]OFD Sender: No OFD packet to send [05:29:48]OFD Sender: No OFD packet to send [05:29:53]OFD Sender: No OFD packet to send [05:29:58]OFD Sender: No OFD packet to send [05:30:03]OFD Sender: No OFD packet to send [05:30:08]OFD Sender: No OFD packet to send [05:30:13]OFD Sender: No OFD packet to send [05:30:18]OFD Sender: No OFD packet to send [05:30:23]OFD Sender: No OFD packet to send [05:30:28]OFD Sender: No OFD packet to send [05:30:33]OFD Sender: No OFD packet to send [05:30:38]OFD Sender: No OFD packet to send [05:30:43]OFD Sender: No OFD packet to send [05:30:48]OFD Sender: No OFD packet to send [05:30:53]OFD Sender: No OFD packet to send [05:30:58]OFD Sender: No OFD packet to send [05:31:03]OFD Sender: No OFD packet to send [05:31:08]OFD Sender: No OFD packet to send [05:31:13]OFD Sender: No OFD packet to send [05:31:18]OFD Sender: No OFD packet to send [05:31:23]OFD Sender: No OFD packet to send [05:31:28]OFD Sender: No OFD packet to send [05:31:33]OFD Sender: No OFD packet to send [05:31:38]OFD Sender: No OFD packet to send [05:31:43]OFD Sender: No OFD packet to send [05:31:48]OFD Sender: No OFD packet to send [05:31:53]OFD Sender: No OFD packet to send [05:31:58]OFD Sender: No OFD packet to send [05:32:03]OFD Sender: No OFD packet to send [05:32:08]OFD Sender: No OFD packet to send [05:32:13]OFD Sender: No OFD packet to send [05:32:18]OFD Sender: No OFD packet to send [05:32:23]OFD Sender: No OFD packet to send [05:32:28]OFD Sender: No OFD packet to send [05:32:33]OFD Sender: No OFD packet to send [05:32:38]OFD Sender: No OFD packet to send [05:32:43]OFD Sender: No OFD packet to send [05:32:48]OFD Sender: No OFD packet to send [05:32:53]OFD Sender: No OFD packet to send [05:32:58]OFD Sender: No OFD packet to send [05:33:03]OFD Sender: No OFD packet to send [05:33:08]OFD Sender: No OFD packet to send [05:33:13]OFD Sender: No OFD packet to send [05:33:18]OFD Sender: No OFD packet to send [05:33:23]OFD Sender: No OFD packet to send [05:33:28]OFD Sender: No OFD packet to send [05:33:33]OFD Sender: No OFD packet to send [05:33:38]OFD Sender: No OFD packet to send [05:33:43]OFD Sender: No OFD packet to send [05:33:48]OFD Sender: No OFD packet to send [05:33:53]OFD Sender: No OFD packet to send [05:33:58]OFD Sender: No OFD packet to send [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:34]OFD Sender: No OFD packet to send [05:36:39]OFD Sender: No OFD packet to send [05:36:44]OFD Sender: No OFD packet to send [05:36:49]OFD Sender: No OFD packet to send [05:36:54]OFD Sender: No OFD packet to send [05:36:59]OFD Sender: No OFD packet to send [05:37:04]OFD Sender: No OFD packet to send [05:37:09]OFD Sender: No OFD packet to send [05:37:14]OFD Sender: No OFD packet to send [05:37:19]OFD Sender: No OFD packet to send [05:37:24]OFD Sender: No OFD packet to send [05:37:29]OFD Sender: No OFD packet to send [05:37:34]OFD Sender: No OFD packet to send [05:37:39]OFD Sender: No OFD packet to send [05:37:44]OFD Sender: No OFD packet to send [05:37:49]OFD Sender: No OFD packet to send [05:37:54]OFD Sender: No OFD packet to send [05:37:59]OFD Sender: No OFD packet to send [05:38:04]OFD Sender: No OFD packet to send [05:38:09]OFD Sender: No OFD packet to send [05:38:14]OFD Sender: No OFD packet to send [05:38:19]OFD Sender: No OFD packet to send [05:38:24]OFD Sender: No OFD packet to send [05:38:29]OFD Sender: No OFD packet to send [05:38:34]OFD Sender: No OFD packet to send [05:38:39]OFD Sender: No OFD packet to send [05:38:44]OFD Sender: No OFD packet to send [05:38:49]OFD Sender: No OFD packet to send [05:38:54]OFD Sender: No OFD packet to send [05:38:59]OFD Sender: No OFD packet to send [05:39:04]OFD Sender: No OFD packet to send [05:39:09]OFD Sender: No OFD packet to send [05:39:14]OFD Sender: No OFD packet to send [05:39:19]OFD Sender: No OFD packet to send [05:39:24]OFD Sender: No OFD packet to send [05:39:29]OFD Sender: No OFD packet to send [05:39:34]OFD Sender: No OFD packet to send [05:39:39]OFD Sender: No OFD packet to send [05:39:44]OFD Sender: No OFD packet to send [05:39:49]OFD Sender: No OFD packet to send [05:39:54]OFD Sender: No OFD packet to send [05:39:59]OFD Sender: No OFD packet to send [05:40:04]OFD Sender: No OFD packet to send [05:40:09]OFD Sender: No OFD packet to send [05:40:14]OFD Sender: No OFD packet to send [05:40:19]OFD Sender: No OFD packet to send [05:40:24]OFD Sender: No OFD packet to send [05:40:29]OFD Sender: No OFD packet to send [05:40:34]OFD Sender: No OFD packet to send [05:40:39]OFD Sender: No OFD packet to send [05:40:44]OFD Sender: No OFD packet to send [05:40:49]OFD Sender: No OFD packet to send [05:40:54]OFD Sender: No OFD packet to send [05:40:59]OFD Sender: No OFD packet to send [05:41:04]OFD Sender: No OFD packet to send [05:41:09]OFD Sender: No OFD packet to send [05:41:14]OFD Sender: No OFD packet to send [05:41:19]OFD Sender: No OFD packet to send [05:41:24]OFD Sender: No OFD packet to send [05:41:29]OFD Sender: No OFD packet to send [05:41:34]OFD Sender: No OFD packet to send [05:41:39]OFD Sender: No OFD packet to send [05:41:44]OFD Sender: No OFD packet to send [05:41:49]OFD Sender: No OFD packet to send [05:41:54]OFD Sender: No OFD packet to send [05:41:59]OFD Sender: No OFD packet to send [05:42:04]OFD Sender: No OFD packet to send [05:42:09]OFD Sender: No OFD packet to send [05:42:14]OFD Sender: No OFD packet to send [05:42:19]OFD Sender: No OFD packet to send [05:42:24]OFD Sender: No OFD packet to send [05:42:29]OFD Sender: No OFD packet to send [05:42:34]OFD Sender: No OFD packet to send [05:42:39]OFD Sender: No OFD packet to send [05:42:44]OFD Sender: No OFD packet to send [05:42:49]OFD Sender: No OFD packet to send [05:42:54]OFD Sender: No OFD packet to send [05:42:59]OFD Sender: No OFD packet to send [05:43:04]OFD Sender: No OFD packet to send [05:43:09]OFD Sender: No OFD packet to send [05:43:14]OFD Sender: No OFD packet to send [05:43:19]OFD Sender: No OFD packet to send [05:43:24]OFD Sender: No OFD packet to send [05:43:29]OFD Sender: No OFD packet to send [05:43:34]OFD Sender: No OFD packet to send [05:43:39]OFD Sender: No OFD packet to send [05:43:44]OFD Sender: No OFD packet to send [05:43:49]OFD Sender: No OFD packet to send [05:43:54]OFD Sender: No OFD packet to send [05:43:59]OFD Sender: No OFD packet to send [05:44:04]OFD Sender: No OFD packet to send [05:44:09]OFD Sender: No OFD packet to send [05:44:14]OFD Sender: No OFD packet to send [05:44:19]OFD Sender: No OFD packet to send [05:44:24]OFD Sender: No OFD packet to send [05:44:29]OFD Sender: No OFD packet to send [05:44:34]OFD Sender: No OFD packet to send [05:44:39]OFD Sender: No OFD packet to send [05:44:44]OFD Sender: No OFD packet to send [05:44:49]OFD Sender: No OFD packet to send [05:44:54]OFD Sender: No OFD packet to send [05:44:59]OFD Sender: No OFD packet to send [05:45:04]OFD Sender: No OFD packet to send [05:45:09]OFD Sender: No OFD packet to send [05:45:14]OFD Sender: No OFD packet to send [05:45:19]OFD Sender: No OFD packet to send [05:45:24]OFD Sender: No OFD packet to send [05:45:29]OFD Sender: No OFD packet to send [05:45:34]OFD Sender: No OFD packet to send [05:45:39]OFD Sender: No OFD packet to send [05:45:44]OFD Sender: No OFD packet to send [05:45:49]OFD Sender: No OFD packet to send [05:45:54]OFD Sender: No OFD packet to send [05:45:59]OFD Sender: No OFD packet to send [05:46:04]OFD Sender: No OFD packet to send [05:46:09]OFD Sender: No OFD packet to send [05:46:14]OFD Sender: No OFD packet to send [05:46:19]OFD Sender: No OFD packet to send [05:46:24]OFD Sender: No OFD packet to send [05:46:29]OFD Sender: No OFD packet to send [05:46:34]OFD Sender: No OFD packet to send [05:46:39]OFD Sender: No OFD packet to send [05:46:44]OFD Sender: No OFD packet to send [05:46:49]OFD Sender: No OFD packet to send [05:46:54]OFD Sender: No OFD packet to send [05:46:59]OFD Sender: No OFD packet to send [05:47:04]OFD Sender: No OFD packet to send [05:47:09]OFD Sender: No OFD packet to send [05:47:14]OFD Sender: No OFD packet to send [05:47:19]OFD Sender: No OFD packet to send [05:47:24]OFD Sender: No OFD packet to send [05:47:29]OFD Sender: No OFD packet to send [05:47:34]OFD Sender: No OFD packet to send [05:47:39]OFD Sender: No OFD packet to send [05:47:44]OFD Sender: No OFD packet to send [05:47:49]OFD Sender: No OFD packet to send [05:47:54]OFD Sender: No OFD packet to send [05:47:59]OFD Sender: No OFD packet to send [05:48:04]OFD Sender: No OFD packet to send [05:48:09]OFD Sender: No OFD packet to send [05:48:14]OFD Sender: No OFD packet to send [05:48:19]OFD Sender: No OFD packet to send [05:48:24]OFD Sender: No OFD packet to send [05:48:29]OFD Sender: No OFD packet to send [05:48:34]OFD Sender: No OFD packet to send [05:48:39]OFD Sender: No OFD packet to send [05:48:44]OFD Sender: No OFD packet to send [05:48:49]OFD Sender: No OFD packet to send [05:48:54]OFD Sender: No OFD packet to send [05:48:59]OFD Sender: No OFD packet to send [05:49:04]OFD Sender: No OFD packet to send [05:49:09]OFD Sender: No OFD packet to send [05:49:14]OFD Sender: No OFD packet to send [05:49:19]OFD Sender: No OFD packet to send [05:49:24]OFD Sender: No OFD packet to send [05:49:29]OFD Sender: No OFD packet to send [05:49:34]OFD Sender: No OFD packet to send [05:49:39]OFD Sender: No OFD packet to send [05:49:44]OFD Sender: No OFD packet to send [05:49:49]OFD Sender: No OFD packet to send [05:49:54]OFD Sender: No OFD packet to send [05:49:59]OFD Sender: No OFD packet to send [05:50:04]OFD Sender: No OFD packet to send [05:50:09]OFD Sender: No OFD packet to send [05:50:14]OFD Sender: No OFD packet to send [05:50:19]OFD Sender: No OFD packet to send [05:50:24]OFD Sender: No OFD packet to send [05:50:29]OFD Sender: No OFD packet to send [05:50:34]OFD Sender: No OFD packet to send [05:50:39]OFD Sender: No OFD packet to send [05:50:44]OFD Sender: No OFD packet to send [05:50:49]OFD Sender: No OFD packet to send [05:50:54]OFD Sender: No OFD packet to send [05:50:59]OFD Sender: No OFD packet to send [05:51:04]OFD Sender: No OFD packet to send [05:51:09]OFD Sender: No OFD packet to send [05:51:14]OFD Sender: No OFD packet to send [05:51:19]OFD Sender: No OFD packet to send [05:51:24]OFD Sender: No OFD packet to send [05:51:29]OFD Sender: No OFD packet to send [05:51:34]OFD Sender: No OFD packet to send [05:51:39]OFD Sender: No OFD packet to send [05:51:44]OFD Sender: No OFD packet to send [05:51:49]OFD Sender: No OFD packet to send [05:51:54]OFD Sender: No OFD packet to send [05:51:59]OFD Sender: No OFD packet to send [05:52:04]OFD Sender: No OFD packet to send [05:52:09]OFD Sender: No OFD packet to send [05:52:14]OFD Sender: No OFD packet to send [05:52:19]OFD Sender: No OFD packet to send [05:52:24]OFD Sender: No OFD packet to send [05:52:29]OFD Sender: No OFD packet to send [05:52:34]OFD Sender: No OFD packet to send [05:52:39]OFD Sender: No OFD packet to send [05:52:44]OFD Sender: No OFD packet to send [05:52:49]OFD Sender: No OFD packet to send [05:52:54]OFD Sender: No OFD packet to send [05:52:59]OFD Sender: No OFD packet to send [05:53:04]OFD Sender: No OFD packet to send [05:53:09]OFD Sender: No OFD packet to send [05:53:14]OFD Sender: No OFD packet to send [05:53:19]OFD Sender: No OFD packet to send [05:53:24]OFD Sender: No OFD packet to send [05:53:29]OFD Sender: No OFD packet to send [05:53:34]OFD Sender: No OFD packet to send [05:53:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:40]OFD Sender: No OFD packet to send [05:57:45]OFD Sender: No OFD packet to send [05:57:50]OFD Sender: No OFD packet to send [05:57:55]OFD Sender: No OFD packet to send [05:58:00]OFD Sender: No OFD packet to send [05:58:05]OFD Sender: No OFD packet to send [05:58:10]OFD Sender: No OFD packet to send [05:58:15]OFD Sender: No OFD packet to send [05:58:20]OFD Sender: No OFD packet to send [05:58:25]OFD Sender: No OFD packet to send [05:58:30]OFD Sender: No OFD packet to send [05:58:35]OFD Sender: No OFD packet to send [05:58:40]OFD Sender: No OFD packet to send [05:58:45]OFD Sender: No OFD packet to send [05:58:50]OFD Sender: No OFD packet to send [05:58:55]OFD Sender: No OFD packet to send [05:59:00]OFD Sender: No OFD packet to send [05:59:05]OFD Sender: No OFD packet to send [05:59:10]OFD Sender: No OFD packet to send [05:59:15]OFD Sender: No OFD packet to send [05:59:20]OFD Sender: No OFD packet to send [05:59:25]OFD Sender: No OFD packet to send [05:59:30]OFD Sender: No OFD packet to send [05:59:35]OFD Sender: No OFD packet to send [05:59:40]OFD Sender: No OFD packet to send [05:59:45]OFD Sender: No OFD packet to send [05:59:50]OFD Sender: No OFD packet to send [05:59:55]OFD Sender: No OFD packet to send [06:00:00]OFD Sender: No OFD packet to send [06:00:05]OFD Sender: No OFD packet to send [06:00:10]OFD Sender: No OFD packet to send [06:00:15]OFD Sender: No OFD packet to send [06:00:20]OFD Sender: No OFD packet to send [06:00:25]OFD Sender: No OFD packet to send [06:00:30]OFD Sender: No OFD packet to send [06:00:35]OFD Sender: No OFD packet to send [06:00:40]OFD Sender: No OFD packet to send [06:00:45]OFD Sender: No OFD packet to send [06:00:50]OFD Sender: No OFD packet to send [06:00:55]OFD Sender: No OFD packet to send [06:01:00]OFD Sender: No OFD packet to send [06:01:05]OFD Sender: No OFD packet to send [06:01:10]OFD Sender: No OFD packet to send [06:01:15]OFD Sender: No OFD packet to send [06:01:20]OFD Sender: No OFD packet to send [06:01:25]OFD Sender: No OFD packet to send [06:01:30]OFD Sender: No OFD packet to send [06:01:35]OFD Sender: No OFD packet to send [06:01:40]OFD Sender: No OFD packet to send [06:01:45]OFD Sender: No OFD packet to send [06:01:50]OFD Sender: No OFD packet to send [06:01:55]OFD Sender: No OFD packet to send [06:02:00]OFD Sender: No OFD packet to send [06:02:05]OFD Sender: No OFD packet to send [06:02:10]OFD Sender: No OFD packet to send [06:02:15]OFD Sender: No OFD packet to send [06:02:20]OFD Sender: No OFD packet to send [06:02:25]OFD Sender: No OFD packet to send [06:02:30]OFD Sender: No OFD packet to send [06:02:35]OFD Sender: No OFD packet to send [06:02:40]OFD Sender: No OFD packet to send [06:02:45]OFD Sender: No OFD packet to send [06:02:50]OFD Sender: No OFD packet to send [06:02:55]OFD Sender: No OFD packet to send [06:03:00]OFD Sender: No OFD packet to send [06:03:05]OFD Sender: No OFD packet to send [06:03:10]OFD Sender: No OFD packet to send [06:03:15]OFD Sender: No OFD packet to send [06:03:20]OFD Sender: No OFD packet to send [06:03:25]OFD Sender: No OFD packet to send [06:03:30]OFD Sender: No OFD packet to send [06:03:35]OFD Sender: No OFD packet to send [06:03:40]OFD Sender: No OFD packet to send [06:03:45]OFD Sender: No OFD packet to send [06:03:45]accept exits with 7 [06:03:45]New connection [06:03:45]New thread 3067243876 created [06:03:45]Thread 3067100516 joined [06:03:45]Waiting for new connection... [06:03:45] Sock 7.Parse request [06:03:45]Sock 7.Check first char [06:03:45]Sock 7.First char is OK [06:03:45]request: POST /json_proto HTTP/1.0 [06:03:45]Method: POST [06:03:45]URL: /json_proto [06:03:45]Method is POST - this is cgi request [06:03:45]url: /json_proto [06:03:45]query_string will be loaded in cgi processing [06:03:45]execute_cgi json_proto POST (null) [06:03:45]execute_cgi path=json_proto method=POST [06:03:45]POST find Content-Length [06:03:45]Host: 172.17.50.4:8080 [06:03:45]Content-Length: 658 [06:03:45]Content-Type: application/json [06:03:45] [06:03:45]POST finish read [06:03:45]Found Content-Length = 658 [06:03:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134760", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:03:45]execute_script... [06:03:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134760", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:03:45]POST & json_proto [06:03:45]process_json_proto [06:03:45]json parsed OK: [06:03:45]protocol is kg_v1.0 [06:03:45]action value=close_receipt [06:03:45]process_action close_receipt [06:03:45]cmd_close_receipt [06:03:45]MH_GetDate [06:03:45]Write to MH i2c: F0 00 00 EA 0F E8 [06:03:45]Write i2c OK [06:03:45]MH_I2C_Read... [06:03:45]Read from MH i2c: F0 [06:03:45]MH_I2C_Read... [06:03:45]Read from MH i2c: F0 09 00 [06:03:45]MH_I2C_Read... [06:03:45]Read from MH i2c: F0 09 00 EA 0F 00 45 9D 14 67 1D BB 13 67 A0 [06:03:45]GetLastDocTimeStamp 1729383604 [06:03:45]current date 1729404229 [06:03:45]FM_GetShiftState [06:03:45]SAM_PROTO_GetShiftState [06:03:45]wFMCommunicate request_size=4 [06:03:45]MH_SAM_APDU [06:03:45]CAPDU: 80 13 01 00 [06:03:45]Write to MH i2c: E2 08 00 EB 0F 80 13 01 00 00 00 00 00 77 [06:03:45]Write i2c OK [06:03:45]MH_I2C_Read... [06:03:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:03:45]Read from MH i2c: E2 [06:03:45]MH_I2C_Read... [06:03:45]Read from MH i2c: E2 0E 00 [06:03:45]MH_I2C_Read... [06:03:45]Read from MH i2c: E2 0E 00 EB 0F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 98 [06:03:45]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:03:45]wFMCommunicate OK [06:03:45]SAM_PROTO_GetShiftState done [06:03:45]FM_GetShiftState done [06:03:45]opened in 1729382737 [06:03:45]opened+sec_in_day 1729469137 [06:03:45]quantity*price = 12500 [06:03:45]sum+1 = 12501 [06:03:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 4 20.10.2024 06:03 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24234 ФПД: 108832729436152 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T060349&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24234&fm=108832729436152&tin=02508201610067®Number=0000000000098120&sum=12500 0 [06:03:46]StoreToDocumentArchive [06:03:46]shift 460 fd 24234 [06:03:46]save to /storage/0460/doc_00024234 [06:03:46]save last doc name /storage/0460/doc_00024234 to /storage/kkm_last_doc_name [06:03:46]save OK [06:03:46]Clear old archive folders... [06:03:46]ProcessDocumentItem done err = 0, tmpTLVsize=278 [06:03:46]tlvbuf is 020886C0 [06:03:46]SAM_PROTO_ClearQueue [06:03:46]wFMCommunicate request_size=4 [06:03:46]MH_SAM_APDU [06:03:46]CAPDU: 80 09 00 00 [06:03:46]Write to MH i2c: E2 08 00 F8 0F 80 09 00 00 00 00 00 00 79 [06:03:46]Write i2c OK [06:03:46]MH_I2C_Read... [06:03:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:03:46]Read from MH i2c: E2 [06:03:46]MH_I2C_Read... [06:03:46]Read from MH i2c: E2 03 00 [06:03:46]MH_I2C_Read... [06:03:46]Read from MH i2c: E2 03 00 F8 0F 00 90 00 7B [06:03:46]RAPDU: 90 00 [06:03:46]wFMCommunicate OK [06:03:46]SAM_PROTO_ClearQueue done [06:03:46]KKMCreateOFDPacket [06:03:46]OFDProtocolAddRootSTLVToBuf [06:03:46]FM_MakeSignedData [06:03:46]FM_MakeSignedData [06:03:46]SAM_PROTO_SignData [06:03:46]wFMCommunicate request_size=4 [06:03:46]MH_SAM_APDU [06:03:46]CAPDU: 80 0D 01 02 [06:03:46]Write to MH i2c: E2 08 00 F9 0F 80 0D 01 02 00 00 00 00 81 [06:03:46]Write i2c OK [06:03:46]MH_I2C_Read... [06:03:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:03:46]Read from MH i2c: E2 [06:03:46]MH_I2C_Read... [06:03:46]Read from MH i2c: E2 03 00 [06:03:46]MH_I2C_Read... [06:03:46]Read from MH i2c: E2 03 00 F9 0F 00 90 00 7C [06:03:46]RAPDU: 90 00 [06:03:46]wFMCommunicate OK [06:03:46]wFMCommunicate request_size=255 [06:03:46]MH_SAM_APDU [06:03:46]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 04 00 00 00 F4 03 04 00 45 9D 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 [06:03:46]Write to MH i2c: E2 02 01 FA 0F 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 04 00 00 00 F4 03 04 00 45 9D 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 00 00 56 [06:03:46]Write i2c OK [06:03:46]MH_I2C_Read... [06:03:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:03:47]Read from MH i2c: E2 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 03 00 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 03 00 FA 0F 00 90 00 7D [06:03:47]RAPDU: 90 00 [06:03:47]wFMCommunicate OK [06:03:47]wFMCommunicate request_size=37 [06:03:47]MH_SAM_APDU [06:03:47]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AA 5E 00 00 35 04 06 00 62 FB 98 2D 8F F8 [06:03:47]Write to MH i2c: E2 28 00 FB 0F 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AA 5E 00 00 35 04 06 00 62 FB 98 2D 8F F8 00 00 86 [06:03:47]Write i2c OK [06:03:47]MH_I2C_Read... [06:03:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:03:47]Read from MH i2c: E2 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 03 00 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 03 00 FB 0F 00 90 00 7E [06:03:47]RAPDU: 90 00 [06:03:47]wFMCommunicate OK [06:03:47]wFMCommunicate request_size=4 [06:03:47]MH_SAM_APDU [06:03:47]CAPDU: 80 0D 03 02 [06:03:47]Write to MH i2c: E2 08 00 FC 0F 80 0D 03 02 00 00 00 00 86 [06:03:47]Write i2c OK [06:03:47]MH_I2C_Read... [06:03:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:03:47]Read from MH i2c: E2 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 0B 00 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 0B 00 FC 0F 00 C6 48 32 44 B2 5E 44 0E 90 00 6D [06:03:47]RAPDU: C6 48 32 44 B2 5E 44 0E 90 00 [06:03:47]wFMCommunicate OK [06:03:47]SAM_PROTO_SignData done [06:03:47]FM_MakeSignedData done [06:03:47]CreateOFDProtocolMessage [06:03:47]wFMCommunicate request_size=4 [06:03:47]MH_SAM_APDU [06:03:47]CAPDU: 80 11 00 00 [06:03:47]Write to MH i2c: E2 08 00 FD 0F 80 11 00 00 00 00 00 00 86 [06:03:47]Write i2c OK [06:03:47]MH_I2C_Read... [06:03:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:03:47]Read from MH i2c: E2 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 17 00 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: E2 17 00 FD 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D3 [06:03:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:03:47]wFMCommunicate OK [06:03:47]CreateOFDProtocolMessage done [06:03:47]OFDSenderStorePacket 24234 [06:03:47]StoreOFDPacket docnum=24234 [06:03:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 A6 3B 22 01 24 59 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 04 00 00 00 F4 03 04 00 45 9D 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AA 5E 00 00 35 04 06 00 62 FB 98 2D 8F F8 C6 48 32 44 B2 5E 44 0E [06:03:47]CheckFolder [06:03:47]dirname=/storage/ofd_packets [06:03:47]CheckFolder done [06:03:47]ProducePacketName [06:03:47]name=ofd_packets/00024234 [06:03:47]NVStorageSaveData ofd_packets/00024234 [06:03:47]File name is /storage/ofd_packets/00024234 [06:03:47]Write 328 bytes [06:03:47]NVStorageSaveData done [06:03:47]OFDSenderStorePacket done [06:03:47]KKMCreateOFDPacket done [06:03:47]NVStorageSaveData kkm_last_timestamp [06:03:47]File name is /storage/kkm_last_timestamp [06:03:47]Write 4 bytes [06:03:47]NVStorageSaveData done [06:03:47]ExternCall_PrintAddStr [06:03:47]wPrintStart [06:03:47]Write to MH i2c: 01 00 00 FE 0F 0D [06:03:47]Write i2c OK [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: 01 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: 01 07 00 [06:03:47]MH_I2C_Read... [06:03:47]Read from MH i2c: 01 07 00 FE 0F 00 00 00 00 00 FF 0F 22 [06:03:47]RasterBufferAndPrint [06:03:47]line Счет N : (3)134760 [06:03:47]line ИНН: 02508201610067 [06:03:47]line Контрольно-Кассовый Чек [06:03:47]line ПРОДАЖА [06:03:47]line Товар: 5449000054227 [06:03:47]line Напиток Кока-Кола 1л [06:03:47]line 1.000 * 125.00 [06:03:47]line = 125.00 [06:03:47]line НДС 12% НСП 1% [06:03:47]line > о реализуемом товаре [06:03:47]line ИТОГО: 125.00 [06:03:47]line НСП 1% : 1.11 [06:03:47]line НДС 12% : 13.27 [06:03:47]line Наличными: 125.00 [06:03:47]line Безнал.: 0.00 [06:03:47]line Место: АЗС № 85 "Партнер Нефть" [06:03:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:03:47]line СНО: Общий режим [06:03:47]line Чек 4 20.10.2024 06:03 [06:03:47]line Смена: 460 ФФД: 1.0 [06:03:47]line ЗНМ: 0300000166 [06:03:47]line РНМ: 0000000000098120 [06:03:47]line Версия ККМ: 001 [06:03:47]line ФМ: 0000000000965420 [06:03:47]line ФД: 24234 [06:03:47]line ФПД: 108832729436152 [06:03:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T060349&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24234&fm=108832729436152&tin=02508201610067®Number=0000000000098120&sum=12500 [06:03:47]line 0 [06:03:47]OFD Sender: Processing packet 24234 [packets to send 5, broken 4] [06:03:47]ProducePacketName [06:03:47]name=ofd_packets/00024234 [06:03:47]OFD Sender: To server: pG, [06:03:47]CommunicateWithHost lk.salyk.kg:30040 [06:03:47]ConnectInit lk.salyk.kg [06:03:47]written 0, free lines is 4095 [06:03:47]Connected sock=10 [06:03:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 A6 3B 22 01 24 59 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 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 04 00 00 00 F4 03 04 00 45 9D 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AA 5E 00 00 35 04 06 00 62 FB 98 2D 8F F8 C6 48 32 44 B2 5E 44 0E [06:03:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CD 52 47 00 06 39 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AA 5E 00 00 F4 03 04 00 DE 48 14 67 B6 04 01 00 00 6B 76 2C 40 76 D8 A8 BB [06:03:47]CommunicateWithHost err = 0 [06:03:47]CheckOFDResponse [06:03:47]1017 (14) - 77093643461234 [06:03:47]1041 (16) - 0000000000965420 [06:03:47]1040 (4) - 24234 [06:03:47]1012 (4) - 20.10.2024 00:03 [06:03:47]1206 (1) - 0 [06:03:47]OFD Sender: Remove packet 24234 [06:03:47]ProducePacketName [06:03:47]name=ofd_packets/00024234 [06:03:47]NVStorageDeleteData [06:03:48]Write to MH i2c: 01 00 00 26 10 36 [06:03:48]Write i2c OK [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: 01 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: 01 07 00 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: 01 07 00 26 10 00 00 00 00 00 26 0D 70 [06:03:48]RasterBufferAndPrint [06:03:48]line [06:03:48]line [06:03:48]line [06:03:48]line [06:03:48]line [06:03:48]written 0, free lines is 3372 [06:03:48]process_action close_receipt done [06:03:48]requested_data is exist [06:03:48]produce_requested_data [06:03:48]requested_item fm.sn is exist - process it [06:03:48]wFMCommunicate request_size=4 [06:03:48]MH_SAM_APDU [06:03:48]CAPDU: 80 11 00 00 [06:03:48]Write to MH i2c: E2 08 00 2D 10 80 11 00 00 00 00 00 00 B7 [06:03:48]Write i2c OK [06:03:48]MH_I2C_Read... [06:03:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:03:48]Read from MH i2c: E2 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 17 00 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 17 00 2D 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 04 [06:03:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:03:48]wFMCommunicate OK [06:03:48]requested_item fd.num is exist - process it [06:03:48]SAM_PROTO_GetFieldsCounters [06:03:48]wFMCommunicate request_size=4 [06:03:48]MH_SAM_APDU [06:03:48]CAPDU: 80 13 00 00 [06:03:48]Write to MH i2c: E2 08 00 2E 10 80 13 00 00 00 00 00 00 BA [06:03:48]Write i2c OK [06:03:48]MH_I2C_Read... [06:03:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:03:48]Read from MH i2c: E2 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 62 00 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 62 00 2E 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AA 5E 00 00 0E 04 04 00 CC 01 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 B1 [06:03:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AA 5E 00 00 0E 04 04 00 CC 01 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:03:48]wFMCommunicate OK [06:03:48]SAM_PROTO_GetFieldsCounters done [06:03:48]requested_item shift.num is exist - process it [06:03:48]requested_item shift.opened is exist - process it [06:03:48]req_shift_opened [06:03:48]FM_GetShiftState [06:03:48]SAM_PROTO_GetShiftState [06:03:48]wFMCommunicate request_size=4 [06:03:48]MH_SAM_APDU [06:03:48]CAPDU: 80 13 01 00 [06:03:48]Write to MH i2c: E2 08 00 2F 10 80 13 01 00 00 00 00 00 BC [06:03:48]Write i2c OK [06:03:48]MH_I2C_Read... [06:03:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:03:48]Read from MH i2c: E2 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 0E 00 [06:03:48]MH_I2C_Read... [06:03:48]Read from MH i2c: E2 0E 00 2F 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 DD [06:03:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:03:48]wFMCommunicate OK [06:03:48]SAM_PROTO_GetShiftState done [06:03:48]FM_GetShiftState done [06:03:48]req_shift_opened done [06:03:48]requested_item shift.open_date is exist - process it [06:03:48]req_shift_open_date [06:03:48]req_shift_open_date done [06:03:48]produce_requested_data done [06:03:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24234,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [06:03:48]process_action_free close_receipt [06:03:48]json_value_free [06:03:48]json_value_free done [06:03:48]process_json_proto returns [06:03:48]Send response to host [06:03:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24234,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [06:03:48]free response buf [06:03:48]execute_script done [06:03:48]execute_script returns [06:03:48]free content buf [06:03:48]Sock 7.Close socket [06:03:48]Sock 7.Thread stoped [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:58]OFD Sender: No OFD packet to send [06:05:03]OFD Sender: No OFD packet to send [06:05:08]OFD Sender: No OFD packet to send [06:05:13]OFD Sender: No OFD packet to send [06:05:18]OFD Sender: No OFD packet to send [06:05:23]OFD Sender: No OFD packet to send [06:05:28]OFD Sender: No OFD packet to send [06:05:33]OFD Sender: No OFD packet to send [06:05:38]OFD Sender: No OFD packet to send [06:05:43]OFD Sender: No OFD packet to send [06:05:48]OFD Sender: No OFD packet to send [06:05:53]OFD Sender: No OFD packet to send [06:05:58]OFD Sender: No OFD packet to send [06:06:03]OFD Sender: No OFD packet to send [06:06:08]OFD Sender: No OFD packet to send [06:06:13]OFD Sender: No OFD packet to send [06:06:18]OFD Sender: No OFD packet to send [06:06:23]OFD Sender: No OFD packet to send [06:06:28]OFD Sender: No OFD packet to send [06:06:33]OFD Sender: No OFD packet to send [06:06:38]OFD Sender: No OFD packet to send [06:06:43]OFD Sender: No OFD packet to send [06:06:48]OFD Sender: No OFD packet to send [06:06:53]OFD Sender: No OFD packet to send [06:06:58]OFD Sender: No OFD packet to send [06:07:03]OFD Sender: No OFD packet to send [06:07:08]OFD Sender: No OFD packet to send [06:07:13]OFD Sender: No OFD packet to send [06:07:18]OFD Sender: No OFD packet to send [06:07:23]OFD Sender: No OFD packet to send [06:07:28]OFD Sender: No OFD packet to send [06:07:33]OFD Sender: No OFD packet to send [06:07:38]OFD Sender: No OFD packet to send [06:07:43]OFD Sender: No OFD packet to send [06:07:48]OFD Sender: No OFD packet to send [06:07:53]OFD Sender: No OFD packet to send [06:07:58]OFD Sender: No OFD packet to send [06:08:03]OFD Sender: No OFD packet to send [06:08:08]OFD Sender: No OFD packet to send [06:08:13]OFD Sender: No OFD packet to send [06:08:18]OFD Sender: No OFD packet to send [06:08:23]OFD Sender: No OFD packet to send [06:08:28]OFD Sender: No OFD packet to send [06:08:33]OFD Sender: No OFD packet to send [06:08:38]OFD Sender: No OFD packet to send [06:08:43]OFD Sender: No OFD packet to send [06:08:48]OFD Sender: No OFD packet to send [06:08:53]OFD Sender: No OFD packet to send [06:08:58]OFD Sender: No OFD packet to send [06:09:03]OFD Sender: No OFD packet to send [06:09:08]OFD Sender: No OFD packet to send [06:09:13]OFD Sender: No OFD packet to send [06:09:18]OFD Sender: No OFD packet to send [06:09:23]OFD Sender: No OFD packet to send [06:09:28]OFD Sender: No OFD packet to send [06:09:33]OFD Sender: No OFD packet to send [06:09:38]OFD Sender: No OFD packet to send [06:09:43]OFD Sender: No OFD packet to send [06:09:48]OFD Sender: No OFD packet to send [06:09:53]OFD Sender: No OFD packet to send [06:09:58]OFD Sender: No OFD packet to send [06:10:03]OFD Sender: No OFD packet to send [06:10:08]OFD Sender: No OFD packet to send [06:10:13]OFD Sender: No OFD packet to send [06:10:18]OFD Sender: No OFD packet to send [06:10:23]OFD Sender: No OFD packet to send [06:10:28]OFD Sender: No OFD packet to send [06:10:33]OFD Sender: No OFD packet to send [06:10:38]OFD Sender: No OFD packet to send [06:10:43]OFD Sender: No OFD packet to send [06:10:48]OFD Sender: No OFD packet to send [06:10:53]OFD Sender: No OFD packet to send [06:10:58]OFD Sender: No OFD packet to send [06:11:03]OFD Sender: No OFD packet to send [06:11:08]OFD Sender: No OFD packet to send [06:11:13]OFD Sender: No OFD packet to send [06:11:18]OFD Sender: No OFD packet to send [06:11:23]OFD Sender: No OFD packet to send [06:11:28]OFD Sender: No OFD packet to send [06:11:33]OFD Sender: No OFD packet to send [06:11:38]OFD Sender: No OFD packet to send [06:11:43]OFD Sender: No OFD packet to send [06:11:48]OFD Sender: No OFD packet to send [06:11:53]OFD Sender: No OFD packet to send [06:11:58]OFD Sender: No OFD packet to send [06:12:03]OFD Sender: No OFD packet to send [06:12:08]OFD Sender: No OFD packet to send [06:12:13]OFD Sender: No OFD packet to send [06:12:18]OFD Sender: No OFD packet to send [06:12:23]OFD Sender: No OFD packet to send [06:12:28]OFD Sender: No OFD packet to send [06:12:33]OFD Sender: No OFD packet to send [06:12:38]OFD Sender: No OFD packet to send [06:12:43]OFD Sender: No OFD packet to send [06:12:48]OFD Sender: No OFD packet to send [06:12:53]OFD Sender: No OFD packet to send [06:12:58]OFD Sender: No OFD packet to send [06:13:03]OFD Sender: No OFD packet to send [06:13:08]OFD Sender: No OFD packet to send [06:13:13]OFD Sender: No OFD packet to send [06:13:18]OFD Sender: No OFD packet to send [06:13:23]OFD Sender: No OFD packet to send [06:13:28]OFD Sender: No OFD packet to send [06:13:33]OFD Sender: No OFD packet to send [06:13:38]OFD Sender: No OFD packet to send [06:13:43]OFD Sender: No OFD packet to send [06:13:48]OFD Sender: No OFD packet to send [06:13:53]OFD Sender: No OFD packet to send [06:13:58]OFD Sender: No OFD packet to send [06: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:44]OFD Sender: No OFD packet to send [06:15:49]OFD Sender: No OFD packet to send [06:15:54]OFD Sender: No OFD packet to send [06:15:59]OFD Sender: No OFD packet to send [06:16:04]OFD Sender: No OFD packet to send [06:16:09]OFD Sender: No OFD packet to send [06:16:14]OFD Sender: No OFD packet to send [06:16:19]OFD Sender: No OFD packet to send [06:16:24]OFD Sender: No OFD packet to send [06:16:29]OFD Sender: No OFD packet to send [06:16:34]OFD Sender: No OFD packet to send [06:16:39]OFD Sender: No OFD packet to send [06:16:44]OFD Sender: No OFD packet to send [06:16:49]OFD Sender: No OFD packet to send [06:16:54]OFD Sender: No OFD packet to send [06:16:59]OFD Sender: No OFD packet to send [06:17:04]OFD Sender: No OFD packet to send [06:17:09]OFD Sender: No OFD packet to send [06:17:14]OFD Sender: No OFD packet to send [06:17:19]OFD Sender: No OFD packet to send [06:17:24]OFD Sender: No OFD packet to send [06:17:29]OFD Sender: No OFD packet to send [06:17:34]OFD Sender: No OFD packet to send [06:17:39]OFD Sender: No OFD packet to send [06:17:44]OFD Sender: No OFD packet to send [06:17:49]OFD Sender: No OFD packet to send [06:17:54]OFD Sender: No OFD packet to send [06:17:59]OFD Sender: No OFD packet to send [06:18:04]OFD Sender: No OFD packet to send [06:18:09]OFD Sender: No OFD packet to send [06:18:14]OFD Sender: No OFD packet to send [06:18:19]OFD Sender: No OFD packet to send [06:18:24]OFD Sender: No OFD packet to send [06:18:29]OFD Sender: No OFD packet to send [06:18:34]OFD Sender: No OFD packet to send [06:18:39]OFD Sender: No OFD packet to send [06:18:44]OFD Sender: No OFD packet to send [06:18:49]OFD Sender: No OFD packet to send [06:18:54]OFD Sender: No OFD packet to send [06:18:59]OFD Sender: No OFD packet to send [06:19:04]OFD Sender: No OFD packet to send [06:19:09]OFD Sender: No OFD packet to send [06:19:14]OFD Sender: No OFD packet to send [06:19:19]OFD Sender: No OFD packet to send [06:19:24]OFD Sender: No OFD packet to send [06:19:29]OFD Sender: No OFD packet to send [06:19:34]OFD Sender: No OFD packet to send [06:19:39]OFD Sender: No OFD packet to send [06:19:44]OFD Sender: No OFD packet to send [06:19:49]OFD Sender: No OFD packet to send [06:19:54]OFD Sender: No OFD packet to send [06:19:59]OFD Sender: No OFD packet to send [06:20:04]OFD Sender: No OFD packet to send [06:20:09]OFD Sender: No OFD packet to send [06:20:14]OFD Sender: No OFD packet to send [06:20:19]OFD Sender: No OFD packet to send [06:20:24]OFD Sender: No OFD packet to send [06:20:29]OFD Sender: No OFD packet to send [06:20:34]OFD Sender: No OFD packet to send [06:20:39]OFD Sender: No OFD packet to send [06:20:44]OFD Sender: No OFD packet to send [06:20:49]OFD Sender: No OFD packet to send [06:20:54]OFD Sender: No OFD packet to send [06:20:59]OFD Sender: No OFD packet to send [06:21:04]OFD Sender: No OFD packet to send [06:21:09]OFD Sender: No OFD packet to send [06:21:14]OFD Sender: No OFD packet to send [06:21:19]OFD Sender: No OFD packet to send [06:21:24]OFD Sender: No OFD packet to send [06:21:29]OFD Sender: No OFD packet to send [06:21:34]OFD Sender: No OFD packet to send [06:21:39]OFD Sender: No OFD packet to send [06:21:44]OFD Sender: No OFD packet to send [06:21:49]OFD Sender: No OFD packet to send [06:21:54]OFD Sender: No OFD packet to send [06:21:59]OFD Sender: No OFD packet to send [06:22:04]OFD Sender: No OFD packet to send [06:22:09]OFD Sender: No OFD packet to send [06:22:14]OFD Sender: No OFD packet to send [06:22:19]OFD Sender: No OFD packet to send [06:22:24]OFD Sender: No OFD packet to send [06:22:29]OFD Sender: No OFD packet to send [06:22:34]OFD Sender: No OFD packet to send [06:22:39]OFD Sender: No OFD packet to send [06:22:44]OFD Sender: No OFD packet to send [06:22:49]OFD Sender: No OFD packet to send [06:22:54]OFD Sender: No OFD packet to send [06:22:59]OFD Sender: No OFD packet to send [06:23:04]OFD Sender: No OFD packet to send [06:23:09]OFD Sender: No OFD packet to send [06:23:14]OFD Sender: No OFD packet to send [06:23:19]OFD Sender: No OFD packet to send [06:23:24]OFD Sender: No OFD packet to send [06:23:29]OFD Sender: No OFD packet to send [06:23:34]OFD Sender: No OFD packet to send [06:23:39]OFD Sender: No OFD packet to send [06:23:44]OFD Sender: No OFD packet to send [06:23:49]OFD Sender: No OFD packet to send [06:23:54]OFD Sender: No OFD packet to send [06:23:59]OFD Sender: No OFD packet to send [06:24:04]OFD Sender: No OFD packet to send [06:24:09]OFD Sender: No OFD packet to send [06:24:14]OFD Sender: No OFD packet to send [06:24:19]OFD Sender: No OFD packet to send [06:24:24]OFD Sender: No OFD packet to send [06:24:29]OFD Sender: No OFD packet to send [06:24:34]OFD Sender: No OFD packet to send [06:24:39]OFD Sender: No OFD packet to send [06:24:44]OFD Sender: No OFD packet to send [06:24:49]OFD Sender: No OFD packet to send [06:24:54]OFD Sender: No OFD packet to send [06:24:59]OFD Sender: No OFD packet to send [06:25:04]OFD Sender: No OFD packet to send [06:25:09]OFD Sender: No OFD packet to send [06:25:14]OFD Sender: No OFD packet to send [06:25:19]OFD Sender: No OFD packet to send [06:25:24]OFD Sender: No OFD packet to send [06:25:29]OFD Sender: No OFD packet to send [06:25:34]OFD Sender: No OFD packet to send [06:25:39]OFD Sender: No OFD packet to send [06:25:44]OFD Sender: No OFD packet to send [06:25:49]OFD Sender: No OFD packet to send [06:25:54]OFD Sender: No OFD packet to send [06:25:59]OFD Sender: No OFD packet to send [06:26:04]OFD Sender: No OFD packet to send [06:26:09]OFD Sender: No OFD packet to send [06:26:14]OFD Sender: No OFD packet to send [06:26:19]OFD Sender: No OFD packet to send [06:26:24]OFD Sender: No OFD packet to send [06:26:29]OFD Sender: No OFD packet to send [06:26:34]OFD Sender: No OFD packet to send [06:26:39]OFD Sender: No OFD packet to send [06:26:44]OFD Sender: No OFD packet to send [06:26:49]OFD Sender: No OFD packet to send [06:26:54]OFD Sender: No OFD packet to send [06:26:59]OFD Sender: No OFD packet to send [06:27:04]OFD Sender: No OFD packet to send [06:27:09]OFD Sender: No OFD packet to send [06:27:14]OFD Sender: No OFD packet to send [06:27:19]OFD Sender: No OFD packet to send [06:27:24]OFD Sender: No OFD packet to send [06:27:29]OFD Sender: No OFD packet to send [06:27:34]OFD Sender: No OFD packet to send [06:27:39]OFD Sender: No OFD packet to send [06:27:44]OFD Sender: No OFD packet to send [06:27:49]OFD Sender: No OFD packet to send [06:27:54]OFD Sender: No OFD packet to send [06:27:59]OFD Sender: No OFD packet to send [06:28:04]OFD Sender: No OFD packet to send [06:28:09]OFD Sender: No OFD packet to send [06:28:14]OFD Sender: No OFD packet to send [06:28:19]OFD Sender: No OFD packet to send [06:28:24]OFD Sender: No OFD packet to send [06:28:29]OFD Sender: No OFD packet to send [06:28:34]OFD Sender: No OFD packet to send [06:28:39]OFD Sender: No OFD packet to send [06:28:44]OFD Sender: No OFD packet to send [06:28:49]OFD Sender: No OFD packet to send [06:28:54]OFD Sender: No OFD packet to send [06:28:59]OFD Sender: No OFD packet to send [06:29:04]OFD Sender: No OFD packet to send [06:29:09]OFD Sender: No OFD packet to send [06:29:14]OFD Sender: No OFD packet to send [06:29:19]OFD Sender: No OFD packet to send [06:29:24]OFD Sender: No OFD packet to send [06:29:29]OFD Sender: No OFD packet to send [06:29:34]OFD Sender: No OFD packet to send [06:29:39]OFD Sender: No OFD packet to send [06:29:44]OFD Sender: No OFD packet to send [06:29:49]OFD Sender: No OFD packet to send [06:29:54]OFD Sender: No OFD packet to send [06:29:59]OFD Sender: No OFD packet to send [06:30:04]OFD Sender: No OFD packet to send [06:30:09]OFD Sender: No OFD packet to send [06:30:14]OFD Sender: No OFD packet to send [06:30:19]OFD Sender: No OFD packet to send [06:30:24]OFD Sender: No OFD packet to send [06:30:29]OFD Sender: No OFD packet to send [06:30:34]OFD Sender: No OFD packet to send [06:30:39]OFD Sender: No OFD packet to send [06:30:44]OFD Sender: No OFD packet to send [06:30:49]OFD Sender: No OFD packet to send [06:30:54]OFD Sender: No OFD packet to send [06:30:59]OFD Sender: No OFD packet to send [06:31:04]OFD Sender: No OFD packet to send [06:31:09]OFD Sender: No OFD packet to send [06:31:14]OFD Sender: No OFD packet to send [06:31:19]OFD Sender: No OFD packet to send [06:31:24]OFD Sender: No OFD packet to send [06:31:29]OFD Sender: No OFD packet to send [06:31:34]OFD Sender: No OFD packet to send [06:31:39]OFD Sender: No OFD packet to send [06:31:44]OFD Sender: No OFD packet to send [06:31:49]OFD Sender: No OFD packet to send [06:31:54]OFD Sender: No OFD packet to send [06:31:59]OFD Sender: No OFD packet to send [06:32:04]OFD Sender: No OFD packet to send [06:32: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:20]OFD Sender: No OFD packet to send [06:37:25]OFD Sender: No OFD packet to send [06:37:30]OFD Sender: No OFD packet to send [06:37:35]OFD Sender: No OFD packet to send [06:37:40]OFD Sender: No OFD packet to send [06:37:45]OFD Sender: No OFD packet to send [06:37:50]OFD Sender: No OFD packet to send [06:37:55]OFD Sender: No OFD packet to send [06:38:00]OFD Sender: No OFD packet to send [06:38:05]OFD Sender: No OFD packet to send [06:38:10]OFD Sender: No OFD packet to send [06:38:15]OFD Sender: No OFD packet to send [06:38:20]OFD Sender: No OFD packet to send [06:38:25]OFD Sender: No OFD packet to send [06:38:30]OFD Sender: No OFD packet to send [06:38:35]OFD Sender: No OFD packet to send [06:38:40]OFD Sender: No OFD packet to send [06:38:45]OFD Sender: No OFD packet to send [06:38:50]OFD Sender: No OFD packet to send [06:38:55]OFD Sender: No OFD packet to send [06:39:00]OFD Sender: No OFD packet to send [06:39:05]OFD Sender: No OFD packet to send [06:39:10]OFD Sender: No OFD packet to send [06:39:15]OFD Sender: No OFD packet to send [06:39:20]OFD Sender: No OFD packet to send [06:39:25]OFD Sender: No OFD packet to send [06:39:30]OFD Sender: No OFD packet to send [06:39:35]OFD Sender: No OFD packet to send [06:39:40]OFD Sender: No OFD packet to send [06:39:45]OFD Sender: No OFD packet to send [06:39:50]OFD Sender: No OFD packet to send [06:39:55]OFD Sender: No OFD packet to send [06:40:00]OFD Sender: No OFD packet to send [06:40:05]OFD Sender: No OFD packet to send [06:40:10]OFD Sender: No OFD packet to send [06:40:15]OFD Sender: No OFD packet to send [06:40:20]OFD Sender: No OFD packet to send [06:40:25]OFD Sender: No OFD packet to send [06:40:30]OFD Sender: No OFD packet to send [06:40:35]OFD Sender: No OFD packet to send [06:40:40]OFD Sender: No OFD packet to send [06:40:45]OFD Sender: No OFD packet to send [06:40:50]OFD Sender: No OFD packet to send [06:40:55]OFD Sender: No OFD packet to send [06:41:00]OFD Sender: No OFD packet to send [06:41:05]OFD Sender: No OFD packet to send [06:41:07]accept exits with 9 [06:41:07]New connection [06:41:07]New thread 3067100516 created [06:41:07]Thread 3067243876 joined [06:41:07]Waiting for new connection... [06:41:07] Sock 9.Parse request [06:41:07]Sock 9.Check first char [06:41:07]Sock 9.First char is OK [06:41:07]request: POST /json_proto HTTP/1.0 [06:41:07]Method: POST [06:41:07]URL: /json_proto [06:41:07]Method is POST - this is cgi request [06:41:07]url: /json_proto [06:41:07]query_string will be loaded in cgi processing [06:41:07]execute_cgi json_proto POST (null) [06:41:07]execute_cgi path=json_proto method=POST [06:41:07]POST find Content-Length [06:41:07]Host: 172.17.50.4:8080 [06:41:07]Content-Length: 857 [06:41:07]Content-Type: application/json [06:41:07] [06:41:07]POST finish read [06:41:07]Found Content-Length = 857 [06:41:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134761", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:41:07]execute_script... [06:41: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)134761", "tax_sys" : 0, "items" : [ { "code": "46231512", "name": "Mentos \u041F\u0424 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 6*100*2\u0433", "price" : 10.00, "quantity" : 1.000, "sum" : 10.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" : 20.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:41:07]POST & json_proto [06:41:07]process_json_proto [06:41:07]json parsed OK: [06:41:07]protocol is kg_v1.0 [06:41:07]action value=close_receipt [06:41:07]process_action close_receipt [06:41:07]cmd_close_receipt [06:41:07]MH_GetDate [06:41:07]Write to MH i2c: F0 00 00 30 10 2F [06:41:07]Write i2c OK [06:41:07]MH_I2C_Read... [06:41:07]Read from MH i2c: F0 [06:41:07]MH_I2C_Read... [06:41:07]Read from MH i2c: F0 09 00 [06:41:07]MH_I2C_Read... [06:41:07]Read from MH i2c: F0 09 00 30 10 00 08 A6 14 67 1D BB 13 67 B3 [06:41:07]GetLastDocTimeStamp 1729404229 [06:41:07]current date 1729406472 [06:41:07]FM_GetShiftState [06:41:07]SAM_PROTO_GetShiftState [06:41:07]wFMCommunicate request_size=4 [06:41:07]MH_SAM_APDU [06:41:07]CAPDU: 80 13 01 00 [06:41:07]Write to MH i2c: E2 08 00 31 10 80 13 01 00 00 00 00 00 BE [06:41:07]Write i2c OK [06:41:07]MH_I2C_Read... [06:41:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:41:07]Read from MH i2c: E2 [06:41:07]MH_I2C_Read... [06:41:07]Read from MH i2c: E2 0E 00 [06:41:07]MH_I2C_Read... [06:41:07]Read from MH i2c: E2 0E 00 31 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 DF [06:41:07]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:41:07]wFMCommunicate OK [06:41:07]SAM_PROTO_GetShiftState done [06:41:07]FM_GetShiftState done [06:41:07]opened in 1729382737 [06:41:07]opened+sec_in_day 1729469137 [06:41:07]quantity*price = 1000 [06:41:07]sum+1 = 1001 [06:41:07]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46231529 Mentos ПФ Арбуз 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 5 20.10.2024 06:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24235 ФПД: 151631586560917 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064112&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24235&fm=151631586560917&tin=02508201610067®Number=0000000000098120&sum=2000 0 [06:41:08]StoreToDocumentArchive [06:41:08]shift 460 fd 24235 [06:41:08]save to /storage/0460/doc_00024235 [06:41:08]save last doc name /storage/0460/doc_00024235 to /storage/kkm_last_doc_name [06:41:08]save OK [06:41:08]Clear old archive folders... [06:41:08]ProcessDocumentItem done err = 0, tmpTLVsize=372 [06:41:08]tlvbuf is 0201D9D0 [06:41:08]SAM_PROTO_ClearQueue [06:41:08]wFMCommunicate request_size=4 [06:41:08]MH_SAM_APDU [06:41:08]CAPDU: 80 09 00 00 [06:41:08]Write to MH i2c: E2 08 00 3E 10 80 09 00 00 00 00 00 00 C0 [06:41:08]Write i2c OK [06:41:08]MH_I2C_Read... [06:41:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:41:08]Read from MH i2c: E2 [06:41:08]MH_I2C_Read... [06:41:08]Read from MH i2c: E2 03 00 [06:41:08]MH_I2C_Read... [06:41:08]Read from MH i2c: E2 03 00 3E 10 00 90 00 C2 [06:41:08]RAPDU: 90 00 [06:41:08]wFMCommunicate OK [06:41:08]SAM_PROTO_ClearQueue done [06:41:08]KKMCreateOFDPacket [06:41:08]OFDProtocolAddRootSTLVToBuf [06:41:08]FM_MakeSignedData [06:41:08]FM_MakeSignedData [06:41:08]SAM_PROTO_SignData [06:41:08]wFMCommunicate request_size=4 [06:41:08]MH_SAM_APDU [06:41:08]CAPDU: 80 0D 01 02 [06:41:08]Write to MH i2c: E2 08 00 3F 10 80 0D 01 02 00 00 00 00 C8 [06:41:08]Write i2c OK [06:41:08]MH_I2C_Read... [06:41:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:41:09]Read from MH i2c: E2 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 3F 10 00 90 00 C3 [06:41:09]RAPDU: 90 00 [06:41:09]wFMCommunicate OK [06:41:09]wFMCommunicate request_size=255 [06:41:09]MH_SAM_APDU [06:41:09]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 [06:41:09]Write to MH i2c: E2 02 01 40 10 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 00 00 53 [06:41:09]Write i2c OK [06:41:09]MH_I2C_Read... [06:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:41:09]Read from MH i2c: E2 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 40 10 00 90 00 C4 [06:41:09]RAPDU: 90 00 [06:41:09]wFMCommunicate OK [06:41:09]wFMCommunicate request_size=131 [06:41:09]MH_SAM_APDU [06:41:09]CAPDU: 80 0D 02 02 7E 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 05 00 00 00 F4 03 04 00 08 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AB 5E 00 00 35 04 06 00 89 E8 7A DA 8B 95 [06:41:09]Write to MH i2c: E2 86 00 41 10 80 0D 02 02 7E 00 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 05 00 00 00 F4 03 04 00 08 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AB 5E 00 00 35 04 06 00 89 E8 7A DA 8B 95 00 00 88 [06:41:09]Write i2c OK [06:41:09]MH_I2C_Read... [06:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:41:09]Read from MH i2c: E2 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 03 00 41 10 00 90 00 C5 [06:41:09]RAPDU: 90 00 [06:41:09]wFMCommunicate OK [06:41:09]wFMCommunicate request_size=4 [06:41:09]MH_SAM_APDU [06:41:09]CAPDU: 80 0D 03 02 [06:41:09]Write to MH i2c: E2 08 00 42 10 80 0D 03 02 00 00 00 00 CD [06:41:09]Write i2c OK [06:41:09]MH_I2C_Read... [06:41:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:41:09]Read from MH i2c: E2 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 0B 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 0B 00 42 10 00 CC 7A 1A 69 C6 E6 D9 5F 90 00 7B [06:41:09]RAPDU: CC 7A 1A 69 C6 E6 D9 5F 90 00 [06:41:09]wFMCommunicate OK [06:41:09]SAM_PROTO_SignData done [06:41:09]FM_MakeSignedData done [06:41:09]CreateOFDProtocolMessage [06:41:09]wFMCommunicate request_size=4 [06:41:09]MH_SAM_APDU [06:41:09]CAPDU: 80 11 00 00 [06:41:09]Write to MH i2c: E2 08 00 43 10 80 11 00 00 00 00 00 00 CD [06:41:09]Write i2c OK [06:41:09]MH_I2C_Read... [06:41:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:41:09]Read from MH i2c: E2 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 17 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: E2 17 00 43 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1A [06:41:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:41:09]wFMCommunicate OK [06:41:09]CreateOFDProtocolMessage done [06:41:09]OFDSenderStorePacket 24235 [06:41:09]StoreOFDPacket docnum=24235 [06:41:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 88 01 00 00 E7 42 80 01 79 04 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 05 00 00 00 F4 03 04 00 08 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AB 5E 00 00 35 04 06 00 89 E8 7A DA 8B 95 CC 7A 1A 69 C6 E6 D9 5F [06:41:09]CheckFolder [06:41:09]dirname=/storage/ofd_packets [06:41:09]CheckFolder done [06:41:09]ProducePacketName [06:41:09]name=ofd_packets/00024235 [06:41:09]NVStorageSaveData ofd_packets/00024235 [06:41:09]File name is /storage/ofd_packets/00024235 [06:41:09]Write 422 bytes [06:41:09]NVStorageSaveData done [06:41:09]OFDSenderStorePacket done [06:41:09]KKMCreateOFDPacket done [06:41:09]NVStorageSaveData kkm_last_timestamp [06:41:09]File name is /storage/kkm_last_timestamp [06:41:09]Write 4 bytes [06:41:09]NVStorageSaveData done [06:41:09]ExternCall_PrintAddStr [06:41:09]wPrintStart [06:41:09]Write to MH i2c: 01 00 00 44 10 54 [06:41:09]Write i2c OK [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: 01 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: 01 07 00 [06:41:09]MH_I2C_Read... [06:41:09]Read from MH i2c: 01 07 00 44 10 00 00 00 00 00 FF 0F 69 [06:41:09]RasterBufferAndPrint [06:41:09]line Счет N : (3)134761 [06:41:09]line ИНН: 02508201610067 [06:41:09]line Контрольно-Кассовый Чек [06:41:09]line ПРОДАЖА [06:41:09]line Товар: 46231512 [06:41:09]line Mentos ПФ Виноград 6*100*2г [06:41:09]line 1.000 * 10.00 [06:41:09]line = 10.00 [06:41:09]line НДС 12% НСП 1% [06:41:09]line > о реализуемом товаре [06:41:09]line Товар: 46231529 [06:41:09]line Mentos ПФ Арбуз 6*100*2 [06:41:09]line 1.000 * 10.00 [06:41:09]line = 10.00 [06:41:09]line НДС 12% НСП 1% [06:41:09]line > о реализуемом товаре [06:41:09]line ИТОГО: 20.00 [06:41:09]line НСП 1% : 0.18 [06:41:09]line НДС 12% : 2.12 [06:41:09]line Наличными: 20.00 [06:41:09]line Безнал.: 0.00 [06:41:09]line Место: АЗС № 85 "Партнер Нефть" [06:41:09]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:41:09]line СНО: Общий режим [06:41:09]line Чек 5 20.10.2024 06:41 [06:41:09]line Смена: 460 ФФД: 1.0 [06:41:09]line ЗНМ: 0300000166 [06:41:09]line РНМ: 0000000000098120 [06:41:09]line Версия ККМ: 001 [06:41:09]line ФМ: 0000000000965420 [06:41:09]line ФД: 24235 [06:41:09]line ФПД: 151631586560917 [06:41:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064112&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24235&fm=151631586560917&tin=02508201610067®Number=0000000000098120&sum=2000 [06:41:09]line 0 [06:41:09]OFD Sender: Processing packet 24235 [packets to send 5, broken 4] [06:41:09]ProducePacketName [06:41:09]name=ofd_packets/00024235 [06:41:09]OFD Sender: To server: pG, [06:41:09]CommunicateWithHost lk.salyk.kg:30040 [06:41:09]ConnectInit lk.salyk.kg [06:41:09]written 0, free lines is 4095 [06:41:10]Connected sock=10 [06:41:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 88 01 00 00 E7 42 80 01 79 04 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 36 32 33 31 35 31 32 06 04 26 00 4D 65 6E 74 6F 73 20 D0 9F D0 A4 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 36 2A 31 30 30 2A 32 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 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 05 00 00 00 F4 03 04 00 08 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AB 5E 00 00 35 04 06 00 89 E8 7A DA 8B 95 CC 7A 1A 69 C6 E6 D9 5F [06:41:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 02 EA 47 00 35 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 36 35 34 32 30 10 04 04 00 AB 5E 00 00 F4 03 04 00 A1 51 14 67 B6 04 01 00 00 ED 97 B9 ED C2 4D 0A CF [06:41:10]CommunicateWithHost err = 0 [06:41:10]CheckOFDResponse [06:41:10]1017 (14) - 77093643461234 [06:41:10]1041 (16) - 0000000000965420 [06:41:10]1040 (4) - 24235 [06:41:10]1012 (4) - 20.10.2024 00:41 [06:41:10]1206 (1) - 0 [06:41:10]OFD Sender: Remove packet 24235 [06:41:10]ProducePacketName [06:41:10]name=ofd_packets/00024235 [06:41:10]NVStorageDeleteData [06:41:10]Write to MH i2c: 01 00 00 72 10 82 [06:41:10]Write i2c OK [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: 01 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: 01 07 00 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: 01 07 00 72 10 00 00 00 00 00 CA 0C 5F [06:41:10]RasterBufferAndPrint [06:41:10]line [06:41:10]line [06:41:10]line [06:41:10]line [06:41:10]line [06:41:10]written 0, free lines is 3280 [06:41:10]process_action close_receipt done [06:41:10]requested_data is exist [06:41:10]produce_requested_data [06:41:10]requested_item fm.sn is exist - process it [06:41:10]wFMCommunicate request_size=4 [06:41:10]MH_SAM_APDU [06:41:10]CAPDU: 80 11 00 00 [06:41:10]Write to MH i2c: E2 08 00 79 10 80 11 00 00 00 00 00 00 03 [06:41:10]Write i2c OK [06:41:10]MH_I2C_Read... [06:41:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:41:10]Read from MH i2c: E2 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 17 00 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 17 00 79 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 50 [06:41:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:41:10]wFMCommunicate OK [06:41:10]requested_item fd.num is exist - process it [06:41:10]SAM_PROTO_GetFieldsCounters [06:41:10]wFMCommunicate request_size=4 [06:41:10]MH_SAM_APDU [06:41:10]CAPDU: 80 13 00 00 [06:41:10]Write to MH i2c: E2 08 00 7A 10 80 13 00 00 00 00 00 00 06 [06:41:10]Write i2c OK [06:41:10]MH_I2C_Read... [06:41:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:41:10]Read from MH i2c: E2 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 62 00 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 62 00 7A 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [06:41:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AB 5E 00 00 0E 04 04 00 CC 01 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 [06:41:10]wFMCommunicate OK [06:41:10]SAM_PROTO_GetFieldsCounters done [06:41:10]requested_item shift.num is exist - process it [06:41:10]requested_item shift.opened is exist - process it [06:41:10]req_shift_opened [06:41:10]FM_GetShiftState [06:41:10]SAM_PROTO_GetShiftState [06:41:10]wFMCommunicate request_size=4 [06:41:10]MH_SAM_APDU [06:41:10]CAPDU: 80 13 01 00 [06:41:10]Write to MH i2c: E2 08 00 7B 10 80 13 01 00 00 00 00 00 08 [06:41:10]Write i2c OK [06:41:10]MH_I2C_Read... [06:41:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:41:10]Read from MH i2c: E2 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 0E 00 [06:41:10]MH_I2C_Read... [06:41:10]Read from MH i2c: E2 0E 00 7B 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 29 [06:41:10]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:41:10]wFMCommunicate OK [06:41:10]SAM_PROTO_GetShiftState done [06:41:10]FM_GetShiftState done [06:41:10]req_shift_opened done [06:41:10]requested_item shift.open_date is exist - process it [06:41:10]req_shift_open_date [06:41:10]req_shift_open_date done [06:41:10]produce_requested_data done [06:41:10]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24235,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [06:41:10]process_action_free close_receipt [06:41:10]json_value_free [06:41:10]json_value_free done [06:41:10]process_json_proto returns [06:41:10]Send response to host [06:41:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24235,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [06:41:10]free response buf [06:41:10]execute_script done [06:41:10]execute_script returns [06:41:10]free content buf [06:41:10]Sock 9.Close socket [06:41:10]Sock 9.Thread stoped [06:41:10]OFD Sender: No OFD packet to send [06:41:15]OFD Sender: No OFD packet to send [06:41:20]OFD Sender: No OFD packet to send [06:41:25]OFD Sender: No OFD packet to send [06:41:30]OFD Sender: No OFD packet to send [06:41:35]OFD Sender: No OFD packet to send [06:41:40]OFD Sender: No OFD packet to send [06:41:45]OFD Sender: No OFD packet to send [06:41:50]OFD Sender: No OFD packet to send [06:41:55]OFD Sender: No OFD packet to send [06:42:00]OFD Sender: No OFD packet to send [06:42:05]OFD Sender: No OFD packet to send [06:42:06]accept exits with 7 [06:42:06]New connection [06:42:06]New thread 3067243876 created [06:42:06]Thread 3067100516 joined [06:42:06]Waiting for new connection... [06:42:06] Sock 7.Parse request [06:42:06]Sock 7.Check first char [06:42:06]Sock 7.First char is OK [06:42:06]request: POST /json_proto HTTP/1.0 [06:42:06]Method: POST [06:42:06]URL: /json_proto [06:42:06]Method is POST - this is cgi request [06:42:06]url: /json_proto [06:42:06]query_string will be loaded in cgi processing [06:42:06]execute_cgi json_proto POST (null) [06:42:06]execute_cgi path=json_proto method=POST [06:42:06]POST find Content-Length [06:42:06]Host: 172.17.50.4:8080 [06:42:06]Content-Length: 634 [06:42:06]Content-Type: application/json [06:42:06] [06:42:06]POST finish read [06:42:06]Found Content-Length = 634 [06:42:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134762", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:42:06]execute_script... [06:42:06]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134762", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:42:06]POST & json_proto [06:42:06]process_json_proto [06:42:06]json parsed OK: [06:42:06]protocol is kg_v1.0 [06:42:06]action value=close_receipt [06:42:06]process_action close_receipt [06:42:06]cmd_close_receipt [06:42:06]MH_GetDate [06:42:06]Write to MH i2c: F0 00 00 7C 10 7B [06:42:06]Write i2c OK [06:42:06]MH_I2C_Read... [06:42:06]Read from MH i2c: F0 [06:42:06]MH_I2C_Read... [06:42:06]Read from MH i2c: F0 09 00 [06:42:06]MH_I2C_Read... [06:42:06]Read from MH i2c: F0 09 00 7C 10 00 42 A6 14 67 1D BB 13 67 39 [06:42:06]GetLastDocTimeStamp 1729406472 [06:42:06]current date 1729406530 [06:42:06]FM_GetShiftState [06:42:06]SAM_PROTO_GetShiftState [06:42:06]wFMCommunicate request_size=4 [06:42:06]MH_SAM_APDU [06:42:06]CAPDU: 80 13 01 00 [06:42:06]Write to MH i2c: E2 08 00 7D 10 80 13 01 00 00 00 00 00 0A [06:42:06]Write i2c OK [06:42:06]MH_I2C_Read... [06:42:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:42:06]Read from MH i2c: E2 [06:42:06]MH_I2C_Read... [06:42:06]Read from MH i2c: E2 0E 00 [06:42:06]MH_I2C_Read... [06:42:06]Read from MH i2c: E2 0E 00 7D 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2B [06:42:06]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:42:06]wFMCommunicate OK [06:42:06]SAM_PROTO_GetShiftState done [06:42:06]FM_GetShiftState done [06:42:06]opened in 1729382737 [06:42:06]opened+sec_in_day 1729469137 [06:42:06]quantity*price = 12000 [06:42:06]sum+1 = 12001 [06:42:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 6 20.10.2024 06:42 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24236 ФПД: 241784522244631 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064211&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24236&fm=241784522244631&tin=02508201610067®Number=0000000000098120&sum=12000 0 [06:42:07]StoreToDocumentArchive [06:42:07]shift 460 fd 24236 [06:42:07]save to /storage/0460/doc_00024236 [06:42:07]save last doc name /storage/0460/doc_00024236 to /storage/kkm_last_doc_name [06:42:07]save OK [06:42:07]Clear old archive folders... [06:42:07]ProcessDocumentItem done err = 0, tmpTLVsize=271 [06:42:07]tlvbuf is 020856A0 [06:42:07]SAM_PROTO_ClearQueue [06:42:07]wFMCommunicate request_size=4 [06:42:07]MH_SAM_APDU [06:42:07]CAPDU: 80 09 00 00 [06:42:07]Write to MH i2c: E2 08 00 8A 10 80 09 00 00 00 00 00 00 0C [06:42:07]Write i2c OK [06:42:07]MH_I2C_Read... [06:42:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:42:07]Read from MH i2c: E2 [06:42:07]MH_I2C_Read... [06:42:07]Read from MH i2c: E2 03 00 [06:42:07]MH_I2C_Read... [06:42:07]Read from MH i2c: E2 03 00 8A 10 00 90 00 0E [06:42:07]RAPDU: 90 00 [06:42:07]wFMCommunicate OK [06:42:07]SAM_PROTO_ClearQueue done [06:42:07]KKMCreateOFDPacket [06:42:07]OFDProtocolAddRootSTLVToBuf [06:42:07]FM_MakeSignedData [06:42:07]FM_MakeSignedData [06:42:07]SAM_PROTO_SignData [06:42:07]wFMCommunicate request_size=4 [06:42:07]MH_SAM_APDU [06:42:07]CAPDU: 80 0D 01 02 [06:42:07]Write to MH i2c: E2 08 00 8B 10 80 0D 01 02 00 00 00 00 14 [06:42:07]Write i2c OK [06:42:07]MH_I2C_Read... [06:42:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:42:07]Read from MH i2c: E2 [06:42:07]MH_I2C_Read... [06:42:07]Read from MH i2c: E2 03 00 [06:42:07]MH_I2C_Read... [06:42:07]Read from MH i2c: E2 03 00 8B 10 00 90 00 0F [06:42:07]RAPDU: 90 00 [06:42:07]wFMCommunicate OK [06:42:07]wFMCommunicate request_size=255 [06:42:07]MH_SAM_APDU [06:42:07]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 43 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [06:42:07]Write to MH i2c: E2 02 01 8C 10 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 43 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 D1 [06:42:07]Write i2c OK [06:42:07]MH_I2C_Read... [06:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:42:08]Read from MH i2c: E2 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 03 00 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 03 00 8C 10 00 90 00 10 [06:42:08]RAPDU: 90 00 [06:42:08]wFMCommunicate OK [06:42:08]wFMCommunicate request_size=30 [06:42:08]MH_SAM_APDU [06:42:08]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 AC 5E 00 00 35 04 06 00 DB E6 D8 8F 82 17 [06:42:08]Write to MH i2c: E2 21 00 8D 10 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 AC 5E 00 00 35 04 06 00 DB E6 D8 8F 82 17 00 00 D5 [06:42:08]Write i2c OK [06:42:08]MH_I2C_Read... [06:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:42:08]Read from MH i2c: E2 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 03 00 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 03 00 8D 10 00 90 00 11 [06:42:08]RAPDU: 90 00 [06:42:08]wFMCommunicate OK [06:42:08]wFMCommunicate request_size=4 [06:42:08]MH_SAM_APDU [06:42:08]CAPDU: 80 0D 03 02 [06:42:08]Write to MH i2c: E2 08 00 8E 10 80 0D 03 02 00 00 00 00 19 [06:42:08]Write i2c OK [06:42:08]MH_I2C_Read... [06:42:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:42:08]Read from MH i2c: E2 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 0B 00 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 0B 00 8E 10 00 40 41 B2 BB A9 4B 5B 10 90 00 67 [06:42:08]RAPDU: 40 41 B2 BB A9 4B 5B 10 90 00 [06:42:08]wFMCommunicate OK [06:42:08]SAM_PROTO_SignData done [06:42:08]FM_MakeSignedData done [06:42:08]CreateOFDProtocolMessage [06:42:08]wFMCommunicate request_size=4 [06:42:08]MH_SAM_APDU [06:42:08]CAPDU: 80 11 00 00 [06:42:08]Write to MH i2c: E2 08 00 8F 10 80 11 00 00 00 00 00 00 19 [06:42:08]Write i2c OK [06:42:08]MH_I2C_Read... [06:42:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:42:08]Read from MH i2c: E2 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 17 00 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: E2 17 00 8F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 66 [06:42:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:42:08]wFMCommunicate OK [06:42:08]CreateOFDProtocolMessage done [06:42:08]OFDSenderStorePacket 24236 [06:42:08]StoreOFDPacket docnum=24236 [06:42:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 0E 66 1B 01 81 E6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 43 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AC 5E 00 00 35 04 06 00 DB E6 D8 8F 82 17 40 41 B2 BB A9 4B 5B 10 [06:42:08]CheckFolder [06:42:08]dirname=/storage/ofd_packets [06:42:08]CheckFolder done [06:42:08]ProducePacketName [06:42:08]name=ofd_packets/00024236 [06:42:08]NVStorageSaveData ofd_packets/00024236 [06:42:08]File name is /storage/ofd_packets/00024236 [06:42:08]Write 321 bytes [06:42:08]NVStorageSaveData done [06:42:08]OFDSenderStorePacket done [06:42:08]KKMCreateOFDPacket done [06:42:08]NVStorageSaveData kkm_last_timestamp [06:42:08]File name is /storage/kkm_last_timestamp [06:42:08]Write 4 bytes [06:42:08]NVStorageSaveData done [06:42:08]ExternCall_PrintAddStr [06:42:08]wPrintStart [06:42:08]Write to MH i2c: 01 00 00 90 10 A0 [06:42:08]Write i2c OK [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: 01 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: 01 07 00 [06:42:08]MH_I2C_Read... [06:42:08]Read from MH i2c: 01 07 00 90 10 00 00 00 00 00 FF 0F B5 [06:42:08]RasterBufferAndPrint [06:42:08]line Счет N : (3)134762 [06:42:08]line ИНН: 02508201610067 [06:42:08]line Контрольно-Кассовый Чек [06:42:08]line ПРОДАЖА [06:42:08]line Товар: 4700025313937 [06:42:08]line ВОДКА МЯГКАЯ 0,1л [06:42:08]line 2.000 * 60.00 [06:42:08]line = 120.00 [06:42:08]line НДС 12% НСП 1% [06:42:08]line > о реализуемом товаре [06:42:08]line ИТОГО: 120.00 [06:42:08]line НСП 1% : 1.06 [06:42:08]line НДС 12% : 12.74 [06:42:08]line Наличными: 120.00 [06:42:08]line Безнал.: 0.00 [06:42:08]line Место: АЗС № 85 "Партнер Нефть" [06:42:08]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:42:08]line СНО: Общий режим [06:42:08]line Чек 6 20.10.2024 06:42 [06:42:08]line Смена: 460 ФФД: 1.0 [06:42:08]line ЗНМ: 0300000166 [06:42:08]line РНМ: 0000000000098120 [06:42:08]line Версия ККМ: 001 [06:42:08]line ФМ: 0000000000965420 [06:42:08]line ФД: 24236 [06:42:08]line ФПД: 241784522244631 [06:42:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064211&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24236&fm=241784522244631&tin=02508201610067®Number=0000000000098120&sum=12000 [06:42:08]OFD Sender: Processing packet 24236 [packets to send 5, broken 4] [06:42:08]ProducePacketName [06:42:08]name=ofd_packets/00024236 [06:42:08]OFD Sender: To server: pG, [06:42:08]CommunicateWithHost lk.salyk.kg:30040 [06:42:08]ConnectInit lk.salyk.kg [06:42:08]line 0 [06:42:08]written 0, free lines is 4095 [06:42:08]Connected sock=11 [06:42:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 0E 66 1B 01 81 E6 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 43 A6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AC 5E 00 00 35 04 06 00 DB E6 D8 8F 82 17 40 41 B2 BB A9 4B 5B 10 [06:42:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 6C 8B 47 00 76 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 36 35 34 32 30 10 04 04 00 AC 5E 00 00 F4 03 04 00 DB 51 14 67 B6 04 01 00 00 48 DD 20 0A 08 AC 08 3A [06:42:08]CommunicateWithHost err = 0 [06:42:08]CheckOFDResponse [06:42:08]1017 (14) - 77093643461234 [06:42:08]1041 (16) - 0000000000965420 [06:42:08]1040 (4) - 24236 [06:42:08]1012 (4) - 20.10.2024 00:42 [06:42:08]1206 (1) - 0 [06:42:08]OFD Sender: Remove packet 24236 [06:42:08]ProducePacketName [06:42:08]name=ofd_packets/00024236 [06:42:08]NVStorageDeleteData [06:42:09]Write to MH i2c: 01 00 00 B8 10 C8 [06:42:09]Write i2c OK [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: 01 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: 01 07 00 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: 01 07 00 B8 10 00 00 00 00 00 1E 0D FA [06:42:09]RasterBufferAndPrint [06:42:09]line [06:42:09]line [06:42:09]line [06:42:09]line [06:42:09]line [06:42:09]written 0, free lines is 3364 [06:42:09]process_action close_receipt done [06:42:09]requested_data is exist [06:42:09]produce_requested_data [06:42:09]requested_item fm.sn is exist - process it [06:42:09]wFMCommunicate request_size=4 [06:42:09]MH_SAM_APDU [06:42:09]CAPDU: 80 11 00 00 [06:42:09]Write to MH i2c: E2 08 00 BF 10 80 11 00 00 00 00 00 00 49 [06:42:09]Write i2c OK [06:42:09]MH_I2C_Read... [06:42:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:42:09]Read from MH i2c: E2 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 17 00 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 17 00 BF 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 96 [06:42:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:42:09]wFMCommunicate OK [06:42:09]requested_item fd.num is exist - process it [06:42:09]SAM_PROTO_GetFieldsCounters [06:42:09]wFMCommunicate request_size=4 [06:42:09]MH_SAM_APDU [06:42:09]CAPDU: 80 13 00 00 [06:42:09]Write to MH i2c: E2 08 00 C0 10 80 13 00 00 00 00 00 00 4C [06:42:09]Write i2c OK [06:42:09]MH_I2C_Read... [06:42:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:42:09]Read from MH i2c: E2 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 62 00 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 62 00 C0 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 4B [06:42:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:42:09]wFMCommunicate OK [06:42:09]SAM_PROTO_GetFieldsCounters done [06:42:09]requested_item shift.num is exist - process it [06:42:09]requested_item shift.opened is exist - process it [06:42:09]req_shift_opened [06:42:09]FM_GetShiftState [06:42:09]SAM_PROTO_GetShiftState [06:42:09]wFMCommunicate request_size=4 [06:42:09]MH_SAM_APDU [06:42:09]CAPDU: 80 13 01 00 [06:42:09]Write to MH i2c: E2 08 00 C1 10 80 13 01 00 00 00 00 00 4E [06:42:09]Write i2c OK [06:42:09]MH_I2C_Read... [06:42:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:42:09]Read from MH i2c: E2 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 0E 00 [06:42:09]MH_I2C_Read... [06:42:09]Read from MH i2c: E2 0E 00 C1 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 6F [06:42:09]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:42:09]wFMCommunicate OK [06:42:09]SAM_PROTO_GetShiftState done [06:42:09]FM_GetShiftState done [06:42:09]req_shift_opened done [06:42:09]requested_item shift.open_date is exist - process it [06:42:09]req_shift_open_date [06:42:09]req_shift_open_date done [06:42:09]produce_requested_data done [06:42:09]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24236,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [06:42:09]process_action_free close_receipt [06:42:09]json_value_free [06:42:09]json_value_free done [06:42:09]process_json_proto returns [06:42:09]Send response to host [06:42:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24236,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [06:42:09]free response buf [06:42:09]execute_script done [06:42:09]execute_script returns [06:42:09]free content buf [06:42:09]Sock 7.Close socket [06:42:09]Sock 7.Thread stoped [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:21]accept exits with 9 [06:47:21]New connection [06:47:21]New thread 3067100516 created [06:47:21]Thread 3067243876 joined [06:47:21]Waiting for new connection... [06:47:21] Sock 9.Parse request [06:47:21]Sock 9.Check first char [06:47:21]Sock 9.First char is OK [06:47:21]request: POST /json_proto HTTP/1.0 [06:47:21]Method: POST [06:47:21]URL: /json_proto [06:47:21]Method is POST - this is cgi request [06:47:21]url: /json_proto [06:47:21]query_string will be loaded in cgi processing [06:47:21]execute_cgi json_proto POST (null) [06:47:21]execute_cgi path=json_proto method=POST [06:47:21]POST find Content-Length [06:47:21]Host: 172.17.50.4:8080 [06:47:21]Content-Length: 639 [06:47:21]Content-Type: application/json [06:47:21] [06:47:21]POST finish read [06:47:21]Found Content-Length = 639 [06:47:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134763", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:21]execute_script... [06:47: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)134763", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:47:21]POST & json_proto [06:47:21]process_json_proto [06:47:21]json parsed OK: [06:47:21]protocol is kg_v1.0 [06:47:21]action value=close_receipt [06:47:21]process_action close_receipt [06:47:21]cmd_close_receipt [06:47:21]MH_GetDate [06:47:21]Write to MH i2c: F0 00 00 C2 10 C1 [06:47:21]Write i2c OK [06:47:21]MH_I2C_Read... [06:47:21]Read from MH i2c: F0 [06:47:21]MH_I2C_Read... [06:47:21]Read from MH i2c: F0 09 00 [06:47:21]MH_I2C_Read... [06:47:21]Read from MH i2c: F0 09 00 C2 10 00 7D A7 14 67 1D BB 13 67 BB [06:47:21]GetLastDocTimeStamp 1729406531 [06:47:21]current date 1729406845 [06:47:21]FM_GetShiftState [06:47:21]SAM_PROTO_GetShiftState [06:47:21]wFMCommunicate request_size=4 [06:47:21]MH_SAM_APDU [06:47:21]CAPDU: 80 13 01 00 [06:47:21]Write to MH i2c: E2 08 00 C3 10 80 13 01 00 00 00 00 00 50 [06:47:21]Write i2c OK [06:47:21]MH_I2C_Read... [06:47:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:21]Read from MH i2c: E2 [06:47:21]MH_I2C_Read... [06:47:21]Read from MH i2c: E2 0E 00 [06:47:21]MH_I2C_Read... [06:47:21]Read from MH i2c: E2 0E 00 C3 10 00 09 00 01 51 49 14 67 00 00 00 00 90 00 71 [06:47:21]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:47:21]wFMCommunicate OK [06:47:21]SAM_PROTO_GetShiftState done [06:47:21]FM_GetShiftState done [06:47:21]opened in 1729382737 [06:47:21]opened+sec_in_day 1729469137 [06:47:21]quantity*price = 12500 [06:47:21]sum+1 = 12501 [06:47:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 7 20.10.2024 06:47 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24237 ФПД: 159244649419544 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064726&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24237&fm=159244649419544&tin=02508201610067®Number=0000000000098120&sum=12500 0 [06:47:22]StoreToDocumentArchive [06:47:22]shift 460 fd 24237 [06:47:22]save to /storage/0460/doc_00024237 [06:47:22]save last doc name /storage/0460/doc_00024237 to /storage/kkm_last_doc_name [06:47:22]save OK [06:47:22]Clear old archive folders... [06:47:22]ProcessDocumentItem done err = 0, tmpTLVsize=271 [06:47:22]tlvbuf is 02088540 [06:47:22]SAM_PROTO_ClearQueue [06:47:22]wFMCommunicate request_size=4 [06:47:22]MH_SAM_APDU [06:47:22]CAPDU: 80 09 00 00 [06:47:22]Write to MH i2c: E2 08 00 D0 10 80 09 00 00 00 00 00 00 52 [06:47:22]Write i2c OK [06:47:22]MH_I2C_Read... [06:47:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:47:22]Read from MH i2c: E2 [06:47:22]MH_I2C_Read... [06:47:22]Read from MH i2c: E2 03 00 [06:47:22]MH_I2C_Read... [06:47:22]Read from MH i2c: E2 03 00 D0 10 00 90 00 54 [06:47:22]RAPDU: 90 00 [06:47:22]wFMCommunicate OK [06:47:22]SAM_PROTO_ClearQueue done [06:47:22]KKMCreateOFDPacket [06:47:22]OFDProtocolAddRootSTLVToBuf [06:47:22]FM_MakeSignedData [06:47:22]FM_MakeSignedData [06:47:22]SAM_PROTO_SignData [06:47:22]wFMCommunicate request_size=4 [06:47:22]MH_SAM_APDU [06:47:22]CAPDU: 80 0D 01 02 [06:47:22]Write to MH i2c: E2 08 00 D1 10 80 0D 01 02 00 00 00 00 5A [06:47:22]Write i2c OK [06:47:22]MH_I2C_Read... [06:47:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:47:22]Read from MH i2c: E2 [06:47:22]MH_I2C_Read... [06:47:22]Read from MH i2c: E2 03 00 [06:47:22]MH_I2C_Read... [06:47:22]Read from MH i2c: E2 03 00 D1 10 00 90 00 55 [06:47:22]RAPDU: 90 00 [06:47:22]wFMCommunicate OK [06:47:22]wFMCommunicate request_size=255 [06:47:22]MH_SAM_APDU [06:47:22]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 7E A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [06:47:22]Write to MH i2c: E2 02 01 D2 10 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 7E A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 CE [06:47:22]Write i2c OK [06:47:22]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 03 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 03 00 D2 10 00 90 00 56 [06:47:23]RAPDU: 90 00 [06:47:23]wFMCommunicate OK [06:47:23]wFMCommunicate request_size=30 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 AD 5E 00 00 35 04 06 00 90 D5 08 C2 D3 18 [06:47:23]Write to MH i2c: E2 21 00 D3 10 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 AD 5E 00 00 35 04 06 00 90 D5 08 C2 D3 18 00 00 75 [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 03 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 03 00 D3 10 00 90 00 57 [06:47:23]RAPDU: 90 00 [06:47:23]wFMCommunicate OK [06:47:23]wFMCommunicate request_size=4 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 0D 03 02 [06:47:23]Write to MH i2c: E2 08 00 D4 10 80 0D 03 02 00 00 00 00 5F [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 0B 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 0B 00 D4 10 00 15 02 45 10 C8 56 98 C5 90 00 47 [06:47:23]RAPDU: 15 02 45 10 C8 56 98 C5 90 00 [06:47:23]wFMCommunicate OK [06:47:23]SAM_PROTO_SignData done [06:47:23]FM_MakeSignedData done [06:47:23]CreateOFDProtocolMessage [06:47:23]wFMCommunicate request_size=4 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 11 00 00 [06:47:23]Write to MH i2c: E2 08 00 D5 10 80 11 00 00 00 00 00 00 5F [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 17 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 17 00 D5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AC [06:47:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:47:23]wFMCommunicate OK [06:47:23]CreateOFDProtocolMessage done [06:47:23]OFDSenderStorePacket 24237 [06:47:23]StoreOFDPacket docnum=24237 [06:47:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 04 3A 1B 01 D8 E4 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 7E A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AD 5E 00 00 35 04 06 00 90 D5 08 C2 D3 18 15 02 45 10 C8 56 98 C5 [06:47:23]CheckFolder [06:47:23]dirname=/storage/ofd_packets [06:47:23]CheckFolder done [06:47:23]ProducePacketName [06:47:23]name=ofd_packets/00024237 [06:47:23]NVStorageSaveData ofd_packets/00024237 [06:47:23]File name is /storage/ofd_packets/00024237 [06:47:23]Write 321 bytes [06:47:23]NVStorageSaveData done [06:47:23]OFDSenderStorePacket done [06:47:23]KKMCreateOFDPacket done [06:47:23]NVStorageSaveData kkm_last_timestamp [06:47:23]File name is /storage/kkm_last_timestamp [06:47:23]Write 4 bytes [06:47:23]NVStorageSaveData done [06:47:23]ExternCall_PrintAddStr [06:47:23]wPrintStart [06:47:23]Write to MH i2c: 01 00 00 D6 10 E6 [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 07 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 07 00 D6 10 00 00 00 00 00 FF 0F FB [06:47:23]RasterBufferAndPrint [06:47:23]line Счет N : (3)134763 [06:47:23]line ИНН: 02508201610067 [06:47:23]line Контрольно-Кассовый Чек [06:47:23]line ПРОДАЖА [06:47:23]line Товар: 5449000006271 [06:47:23]line Напиток Фанта 1л [06:47:23]line 1.000 * 125.00 [06:47:23]line = 125.00 [06:47:23]line НДС 12% НСП 1% [06:47:23]line > о реализуемом товаре [06:47:23]line ИТОГО: 125.00 [06:47:23]line НСП 1% : 1.11 [06:47:23]line НДС 12% : 13.27 [06:47:23]line Наличными: 125.00 [06:47:23]line Безнал.: 0.00 [06:47:23]line Место: АЗС № 85 "Партнер Нефть" [06:47:23]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:47:23]line СНО: Общий режим [06:47:23]line Чек 7 20.10.2024 06:47 [06:47:23]line Смена: 460 ФФД: 1.0 [06:47:23]line ЗНМ: 0300000166 [06:47:23]line РНМ: 0000000000098120 [06:47:23]line Версия ККМ: 001 [06:47:23]line ФМ: 0000000000965420 [06:47:23]line ФД: 24237 [06:47:23]line ФПД: 159244649419544 [06:47:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064726&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24237&fm=159244649419544&tin=02508201610067®Number=0000000000098120&sum=12500 [06:47:23]line 0 [06:47:23]written 0, free lines is 4095 [06:47:23]OFD Sender: Processing packet 24237 [packets to send 5, broken 4] [06:47:23]ProducePacketName [06:47:23]name=ofd_packets/00024237 [06:47:23]OFD Sender: To server: pG, [06:47:23]CommunicateWithHost lk.salyk.kg:30040 [06:47:23]ConnectInit lk.salyk.kg [06:47:23]Connected sock=10 [06:47:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 04 3A 1B 01 D8 E4 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 7E A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AD 5E 00 00 35 04 06 00 90 D5 08 C2 D3 18 15 02 45 10 C8 56 98 C5 [06:47:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C8 2F 47 00 3B C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AD 5E 00 00 F4 03 04 00 16 53 14 67 B6 04 01 00 00 D9 B2 18 F4 01 04 B9 2E [06:47:23]CommunicateWithHost err = 0 [06:47:23]CheckOFDResponse [06:47:23]1017 (14) - 77093643461234 [06:47:23]1041 (16) - 0000000000965420 [06:47:23]1040 (4) - 24237 [06:47:23]1012 (4) - 20.10.2024 00:47 [06:47:23]1206 (1) - 0 [06:47:23]OFD Sender: Remove packet 24237 [06:47:23]ProducePacketName [06:47:23]name=ofd_packets/00024237 [06:47:23]NVStorageDeleteData [06:47:23]Write to MH i2c: 01 00 00 FE 10 0E [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 07 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: 01 07 00 FE 10 00 00 00 00 00 1E 0D 40 [06:47:23]RasterBufferAndPrint [06:47:23]line [06:47:23]line [06:47:23]line [06:47:23]line [06:47:23]line [06:47:23]written 0, free lines is 3364 [06:47:23]process_action close_receipt done [06:47:23]requested_data is exist [06:47:23]produce_requested_data [06:47:23]requested_item fm.sn is exist - process it [06:47:23]wFMCommunicate request_size=4 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 11 00 00 [06:47:23]Write to MH i2c: E2 08 00 05 11 80 11 00 00 00 00 00 00 90 [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 17 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 17 00 05 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DD [06:47:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:47:23]wFMCommunicate OK [06:47:23]requested_item fd.num is exist - process it [06:47:23]SAM_PROTO_GetFieldsCounters [06:47:23]wFMCommunicate request_size=4 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 13 00 00 [06:47:23]Write to MH i2c: E2 08 00 06 11 80 13 00 00 00 00 00 00 93 [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 62 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 62 00 06 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [06:47:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:47:23]wFMCommunicate OK [06:47:23]SAM_PROTO_GetFieldsCounters done [06:47:23]requested_item shift.num is exist - process it [06:47:23]requested_item shift.opened is exist - process it [06:47:23]req_shift_opened [06:47:23]FM_GetShiftState [06:47:23]SAM_PROTO_GetShiftState [06:47:23]wFMCommunicate request_size=4 [06:47:23]MH_SAM_APDU [06:47:23]CAPDU: 80 13 01 00 [06:47:23]Write to MH i2c: E2 08 00 07 11 80 13 01 00 00 00 00 00 95 [06:47:23]Write i2c OK [06:47:23]MH_I2C_Read... [06:47:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:23]Read from MH i2c: E2 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 0E 00 [06:47:23]MH_I2C_Read... [06:47:23]Read from MH i2c: E2 0E 00 07 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B6 [06:47:23]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:47:23]wFMCommunicate OK [06:47:23]SAM_PROTO_GetShiftState done [06:47:23]FM_GetShiftState done [06:47:23]req_shift_opened done [06:47:23]requested_item shift.open_date is exist - process it [06:47:23]req_shift_open_date [06:47:23]req_shift_open_date done [06:47:23]produce_requested_data done [06:47:23]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24237,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [06:47:23]process_action_free close_receipt [06:47:23]json_value_free [06:47:23]json_value_free done [06:47:23]process_json_proto returns [06:47:23]Send response to host [06:47:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24237,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [06:47:23]free response buf [06:47:23]execute_script done [06:47:23]execute_script returns [06:47:23]free content buf [06:47:23]Sock 9.Close socket [06:47:23]Sock 9.Thread stoped [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:35]accept exits with 7 [06:47:35]New connection [06:47:35]New thread 3067243876 created [06:47:35]Thread 3067100516 joined [06:47:35]Waiting for new connection... [06:47:35] Sock 7.Parse request [06:47:35]Sock 7.Check first char [06:47:35]Sock 7.First char is OK [06:47:35]request: POST /json_proto HTTP/1.0 [06:47:35]Method: POST [06:47:35]URL: /json_proto [06:47:35]Method is POST - this is cgi request [06:47:35]url: /json_proto [06:47:35]query_string will be loaded in cgi processing [06:47:35]execute_cgi json_proto POST (null) [06:47:35]execute_cgi path=json_proto method=POST [06:47:35]POST find Content-Length [06:47:35]Host: 172.17.50.4:8080 [06:47:35]Content-Length: 608 [06:47:35]Content-Type: application/json [06:47:35] [06:47:35]POST finish read [06:47:35]Found Content-Length = 608 [06:47:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134764", "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" ] } } [06:47:35]execute_script... [06:47: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)134764", "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" ] } } [06:47:35]POST & json_proto [06:47:35]process_json_proto [06:47:35]json parsed OK: [06:47:35]protocol is kg_v1.0 [06:47:35]action value=close_receipt [06:47:35]process_action close_receipt [06:47:35]cmd_close_receipt [06:47:35]MH_GetDate [06:47:35]Write to MH i2c: F0 00 00 08 11 08 [06:47:35]Write i2c OK [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: F0 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: F0 09 00 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: F0 09 00 08 11 00 8B A7 14 67 1D BB 13 67 10 [06:47:35]GetLastDocTimeStamp 1729406846 [06:47:35]current date 1729406859 [06:47:35]FM_GetShiftState [06:47:35]SAM_PROTO_GetShiftState [06:47:35]wFMCommunicate request_size=4 [06:47:35]MH_SAM_APDU [06:47:35]CAPDU: 80 13 01 00 [06:47:35]Write to MH i2c: E2 08 00 09 11 80 13 01 00 00 00 00 00 97 [06:47:35]Write i2c OK [06:47:35]MH_I2C_Read... [06:47:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:35]Read from MH i2c: E2 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: E2 0E 00 [06:47:35]MH_I2C_Read... [06:47:35]Read from MH i2c: E2 0E 00 09 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B8 [06:47:35]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:47:35]wFMCommunicate OK [06:47:35]SAM_PROTO_GetShiftState done [06:47:35]FM_GetShiftState done [06:47:35]opened in 1729382737 [06:47:35]opened+sec_in_day 1729469137 [06:47:35]quantity*price = 1000 [06:47:35]sum+1 = 1001 [06:47:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 8 20.10.2024 06:47 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24238 ФПД: 186217308717698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064739&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24238&fm=186217308717698&tin=02508201610067®Number=0000000000098120&sum=1000 0 [06:47:36]StoreToDocumentArchive [06:47:36]shift 460 fd 24238 [06:47:36]save to /storage/0460/doc_00024238 [06:47:36]save last doc name /storage/0460/doc_00024238 to /storage/kkm_last_doc_name [06:47:36]save OK [06:47:36]Clear old archive folders... [06:47:36]ProcessDocumentItem done err = 0, tmpTLVsize=267 [06:47:36]tlvbuf is 021467C0 [06:47:36]SAM_PROTO_ClearQueue [06:47:36]wFMCommunicate request_size=4 [06:47:36]MH_SAM_APDU [06:47:36]CAPDU: 80 09 00 00 [06:47:36]Write to MH i2c: E2 08 00 16 11 80 09 00 00 00 00 00 00 99 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 16 11 00 90 00 9B [06:47:36]RAPDU: 90 00 [06:47:36]wFMCommunicate OK [06:47:36]SAM_PROTO_ClearQueue done [06:47:36]KKMCreateOFDPacket [06:47:36]OFDProtocolAddRootSTLVToBuf [06:47:36]FM_MakeSignedData [06:47:36]FM_MakeSignedData [06:47:36]SAM_PROTO_SignData [06:47:36]wFMCommunicate request_size=4 [06:47:36]MH_SAM_APDU [06:47:36]CAPDU: 80 0D 01 02 [06:47:36]Write to MH i2c: E2 08 00 17 11 80 0D 01 02 00 00 00 00 A1 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 17 11 00 90 00 9C [06:47:36]RAPDU: 90 00 [06:47:36]wFMCommunicate OK [06:47:36]wFMCommunicate request_size=255 [06:47:36]MH_SAM_APDU [06:47:36]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 08 00 00 00 F4 03 04 00 8B A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [06:47:36]Write to MH i2c: E2 02 01 18 11 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 08 00 00 00 F4 03 04 00 8B A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 B5 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 18 11 00 90 00 9D [06:47:36]RAPDU: 90 00 [06:47:36]wFMCommunicate OK [06:47:36]wFMCommunicate request_size=26 [06:47:36]MH_SAM_APDU [06:47:36]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 AE 5E 00 00 35 04 06 00 A9 5D 18 89 82 82 [06:47:36]Write to MH i2c: E2 1D 00 19 11 80 0D 02 02 15 00 34 32 30 10 04 04 00 AE 5E 00 00 35 04 06 00 A9 5D 18 89 82 82 00 00 72 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:47:36]Read from MH i2c: E2 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 [06:47:36]MH_I2C_Read... [06:47:36]Read from MH i2c: E2 03 00 19 11 00 90 00 9E [06:47:36]RAPDU: 90 00 [06:47:36]wFMCommunicate OK [06:47:36]wFMCommunicate request_size=4 [06:47:36]MH_SAM_APDU [06:47:36]CAPDU: 80 0D 03 02 [06:47:36]Write to MH i2c: E2 08 00 1A 11 80 0D 03 02 00 00 00 00 A6 [06:47:36]Write i2c OK [06:47:36]MH_I2C_Read... [06:47:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:47:37]Read from MH i2c: E2 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 0B 00 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 0B 00 1A 11 00 CD 3E 02 3B 16 2F C7 23 90 00 1E [06:47:37]RAPDU: CD 3E 02 3B 16 2F C7 23 90 00 [06:47:37]wFMCommunicate OK [06:47:37]SAM_PROTO_SignData done [06:47:37]FM_MakeSignedData done [06:47:37]CreateOFDProtocolMessage [06:47:37]wFMCommunicate request_size=4 [06:47:37]MH_SAM_APDU [06:47:37]CAPDU: 80 11 00 00 [06:47:37]Write to MH i2c: E2 08 00 1B 11 80 11 00 00 00 00 00 00 A6 [06:47:37]Write i2c OK [06:47:37]MH_I2C_Read... [06:47:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:37]Read from MH i2c: E2 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 17 00 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 17 00 1B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [06:47:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:47:37]wFMCommunicate OK [06:47:37]CreateOFDProtocolMessage done [06:47:37]OFDSenderStorePacket 24238 [06:47:37]StoreOFDPacket docnum=24238 [06:47:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 67 5C 17 01 EF 5C 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 08 00 00 00 F4 03 04 00 8B A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AE 5E 00 00 35 04 06 00 A9 5D 18 89 82 82 CD 3E 02 3B 16 2F C7 23 [06:47:37]CheckFolder [06:47:37]dirname=/storage/ofd_packets [06:47:37]CheckFolder done [06:47:37]ProducePacketName [06:47:37]name=ofd_packets/00024238 [06:47:37]NVStorageSaveData ofd_packets/00024238 [06:47:37]File name is /storage/ofd_packets/00024238 [06:47:37]Write 317 bytes [06:47:37]NVStorageSaveData done [06:47:37]OFDSenderStorePacket done [06:47:37]KKMCreateOFDPacket done [06:47:37]NVStorageSaveData kkm_last_timestamp [06:47:37]File name is /storage/kkm_last_timestamp [06:47:37]Write 4 bytes [06:47:37]NVStorageSaveData done [06:47:37]ExternCall_PrintAddStr [06:47:37]wPrintStart [06:47:37]Write to MH i2c: 01 00 00 1C 11 2D [06:47:37]Write i2c OK [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 07 00 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 07 00 1C 11 00 00 00 00 00 FF 0F 42 [06:47:37]RasterBufferAndPrint [06:47:37]line Счет N : (3)134764 [06:47:37]line ИНН: 02508201610067 [06:47:37]line Контрольно-Кассовый Чек [06:47:37]line ПРОДАЖА [06:47:37]line Товар: 46231529 [06:47:37]line Mentos ПФ Арбуз 6*100*2 [06:47:37]line 1.000 * 10.00 [06:47:37]line = 10.00 [06:47:37]line НДС 12% НСП 1% [06:47:37]line > о реализуемом товаре [06:47:37]line ИТОГО: 10.00 [06:47:37]line НСП 1% : 0.09 [06:47:37]line НДС 12% : 1.06 [06:47:37]line Наличными: 10.00 [06:47:37]line Безнал.: 0.00 [06:47:37]line Место: АЗС № 85 "Партнер Нефть" [06:47:37]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:47:37]line СНО: Общий режим [06:47:37]line Чек 8 20.10.2024 06:47 [06:47:37]line Смена: 460 ФФД: 1.0 [06:47:37]line ЗНМ: 0300000166 [06:47:37]line РНМ: 0000000000098120 [06:47:37]line Версия ККМ: 001 [06:47:37]line ФМ: 0000000000965420 [06:47:37]line ФД: 24238 [06:47:37]line ФПД: 186217308717698 [06:47:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T064739&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24238&fm=186217308717698&tin=02508201610067®Number=0000000000098120&sum=1000 [06:47:37]OFD Sender: Processing packet 24238 [packets to send 5, broken 4] [06:47:37]ProducePacketName [06:47:37]name=ofd_packets/00024238 [06:47:37]OFD Sender: To server: pG, [06:47:37]CommunicateWithHost lk.salyk.kg:30040 [06:47:37]ConnectInit lk.salyk.kg [06:47:37]line 0 [06:47:37]written 0, free lines is 4095 [06:47:37]Connected sock=10 [06:47:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 67 5C 17 01 EF 5C 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 08 00 00 00 F4 03 04 00 8B A7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AE 5E 00 00 35 04 06 00 A9 5D 18 89 82 82 CD 3E 02 3B 16 2F C7 23 [06:47:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 37 B9 47 00 C7 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AE 5E 00 00 F4 03 04 00 24 53 14 67 B6 04 01 00 00 42 E7 39 24 DE C9 D6 73 [06:47:37]CommunicateWithHost err = 0 [06:47:37]CheckOFDResponse [06:47:37]1017 (14) - 77093643461234 [06:47:37]1041 (16) - 0000000000965420 [06:47:37]1040 (4) - 24238 [06:47:37]1012 (4) - 20.10.2024 00:47 [06:47:37]1206 (1) - 0 [06:47:37]OFD Sender: Remove packet 24238 [06:47:37]ProducePacketName [06:47:37]name=ofd_packets/00024238 [06:47:37]NVStorageDeleteData [06:47:37]Write to MH i2c: 01 00 00 44 11 55 [06:47:37]Write i2c OK [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 07 00 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: 01 07 00 44 11 00 00 00 00 00 25 0D 8E [06:47:37]RasterBufferAndPrint [06:47:37]line [06:47:37]line [06:47:37]line [06:47:37]line [06:47:37]line [06:47:37]written 0, free lines is 3374 [06:47:37]process_action close_receipt done [06:47:37]requested_data is exist [06:47:37]produce_requested_data [06:47:37]requested_item fm.sn is exist - process it [06:47:37]wFMCommunicate request_size=4 [06:47:37]MH_SAM_APDU [06:47:37]CAPDU: 80 11 00 00 [06:47:37]Write to MH i2c: E2 08 00 4B 11 80 11 00 00 00 00 00 00 D6 [06:47:37]Write i2c OK [06:47:37]MH_I2C_Read... [06:47:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:47:37]Read from MH i2c: E2 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 17 00 [06:47:37]MH_I2C_Read... [06:47:37]Read from MH i2c: E2 17 00 4B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [06:47:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:47:37]wFMCommunicate OK [06:47:37]requested_item fd.num is exist - process it [06:47:37]SAM_PROTO_GetFieldsCounters [06:47:37]wFMCommunicate request_size=4 [06:47:37]MH_SAM_APDU [06:47:37]CAPDU: 80 13 00 00 [06:47:37]Write to MH i2c: E2 08 00 4C 11 80 13 00 00 00 00 00 00 D9 [06:47:37]Write i2c OK [06:47:37]MH_I2C_Read... [06:47:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:47:38]Read from MH i2c: E2 [06:47:38]MH_I2C_Read... [06:47:38]Read from MH i2c: E2 62 00 [06:47:38]MH_I2C_Read... [06:47:38]Read from MH i2c: E2 62 00 4C 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 E0 [06:47:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:47:38]wFMCommunicate OK [06:47:38]SAM_PROTO_GetFieldsCounters done [06:47:38]requested_item shift.num is exist - process it [06:47:38]requested_item shift.opened is exist - process it [06:47:38]req_shift_opened [06:47:38]FM_GetShiftState [06:47:38]SAM_PROTO_GetShiftState [06:47:38]wFMCommunicate request_size=4 [06:47:38]MH_SAM_APDU [06:47:38]CAPDU: 80 13 01 00 [06:47:38]Write to MH i2c: E2 08 00 4D 11 80 13 01 00 00 00 00 00 DB [06:47:38]Write i2c OK [06:47:38]MH_I2C_Read... [06:47:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:47:38]Read from MH i2c: E2 [06:47:38]MH_I2C_Read... [06:47:38]Read from MH i2c: E2 0E 00 [06:47:38]MH_I2C_Read... [06:47:38]Read from MH i2c: E2 0E 00 4D 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FC [06:47:38]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [06:47:38]wFMCommunicate OK [06:47:38]SAM_PROTO_GetShiftState done [06:47:38]FM_GetShiftState done [06:47:38]req_shift_opened done [06:47:38]requested_item shift.open_date is exist - process it [06:47:38]req_shift_open_date [06:47:38]req_shift_open_date done [06:47:38]produce_requested_data done [06:47:38]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24238,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [06:47:38]process_action_free close_receipt [06:47:38]json_value_free [06:47:38]json_value_free done [06:47:38]process_json_proto returns [06:47:38]Send response to host [06:47:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24238,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [06:47:38]free response buf [06:47:38]execute_script done [06:47:38]execute_script returns [06:47:38]free content buf [06:47:38]Sock 7.Close socket [06:47:38]Sock 7.Thread stoped [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:18]OFD Sender: No OFD packet to send [06:48:23]OFD Sender: No OFD packet to send [06:48:28]OFD Sender: No OFD packet to send [06:48:33]OFD Sender: No OFD packet to send [06:48:38]OFD Sender: No OFD packet to send [06:48:43]OFD Sender: No OFD packet to send [06:48:48]OFD Sender: No OFD packet to send [06:48:53]OFD Sender: No OFD packet to send [06:48:58]OFD Sender: No OFD packet to send [06:49:03]OFD Sender: No OFD packet to send [06:49:08]OFD Sender: No OFD packet to send [06:49:13]OFD Sender: No OFD packet to send [06:49:18]OFD Sender: No OFD packet to send [06:49:23]OFD Sender: No OFD packet to send [06:49:28]OFD Sender: No OFD packet to send [06:49:33]OFD Sender: No OFD packet to send [06:49:38]OFD Sender: No OFD packet to send [06:49:43]OFD Sender: No OFD packet to send [06:49:48]OFD Sender: No OFD packet to send [06:49:53]OFD Sender: No OFD packet to send [06:49:58]OFD Sender: No OFD packet to send [06:50:03]OFD Sender: No OFD packet to send [06:50:08]OFD Sender: No OFD packet to send [06:50:13]OFD Sender: No OFD packet to send [06:50:18]OFD Sender: No OFD packet to send [06:50:23]OFD Sender: No OFD packet to send [06:50:28]OFD Sender: No OFD packet to send [06:50:33]OFD Sender: No OFD packet to send [06:50:38]OFD Sender: No OFD packet to send [06:50:43]OFD Sender: No OFD packet to send [06:50:48]OFD Sender: No OFD packet to send [06:50:53]OFD Sender: No OFD packet to send [06:50:58]OFD Sender: No OFD packet to send [06:51:03]OFD Sender: No OFD packet to send [06:51:08]OFD Sender: No OFD packet to send [06:51:13]OFD Sender: No OFD packet to send [06:51:18]OFD Sender: No OFD packet to send [06:51:23]OFD Sender: No OFD packet to send [06:51:28]OFD Sender: No OFD packet to send [06:51:33]OFD Sender: No OFD packet to send [06:51:38]OFD Sender: No OFD packet to send [06:51:43]OFD Sender: No OFD packet to send [06:51:48]OFD Sender: No OFD packet to send [06:51:53]OFD Sender: No OFD packet to send [06:51:58]OFD Sender: No OFD packet to send [06:52:03]OFD Sender: No OFD packet to send [06:52:08]OFD Sender: No OFD packet to send [06:52:13]OFD Sender: No OFD packet to send [06:52:18]OFD Sender: No OFD packet to send [06:52:23]OFD Sender: No OFD packet to send [06:52:28]OFD Sender: No OFD packet to send [06:52:33]OFD Sender: No OFD packet to send [06:52:38]OFD Sender: No OFD packet to send [06:52:43]OFD Sender: No OFD packet to send [06:52:48]OFD Sender: No OFD packet to send [06:52:53]OFD Sender: No OFD packet to send [06:52:58]OFD Sender: No OFD packet to send [06:53:03]OFD Sender: No OFD packet to send [06:53:08]OFD Sender: No OFD packet to send [06:53:13]OFD Sender: No OFD packet to send [06:53:18]OFD Sender: No OFD packet to send [06:53:23]OFD Sender: No OFD packet to send [06:53:28]OFD Sender: No OFD packet to send [06:53:33]OFD Sender: No OFD packet to send [06:53:38]OFD Sender: No OFD packet to send [06:53:43]OFD Sender: No OFD packet to send [06:53:48]OFD Sender: No OFD packet to send [06:53:53]OFD Sender: No OFD packet to send [06:53:58]OFD Sender: No OFD packet to send [06:54:03]OFD Sender: No OFD packet to send [06:54:08]OFD Sender: No OFD packet to send [06:54:13]OFD Sender: No OFD packet to send [06:54:18]OFD Sender: No OFD packet to send [06:54:23]OFD Sender: No OFD packet to send [06:54:28]OFD Sender: No OFD packet to send [06:54:33]OFD Sender: No OFD packet to send [06:54:38]OFD Sender: No OFD packet to send [06:54:43]OFD Sender: No OFD packet to send [06:54:48]OFD Sender: No OFD packet to send [06:54:53]OFD Sender: No OFD packet to send [06:54:58]OFD Sender: No OFD packet to send [06:55:03]OFD Sender: No OFD packet to send [06:55:08]OFD Sender: No OFD packet to send [06:55:13]OFD Sender: No OFD packet to send [06:55:18]OFD Sender: No OFD packet to send [06:55:23]OFD Sender: No OFD packet to send [06:55:28]OFD Sender: No OFD packet to send [06:55:33]OFD Sender: No OFD packet to send [06:55:38]OFD Sender: No OFD packet to send [06:55:43]OFD Sender: No OFD packet to send [06:55:48]OFD Sender: No OFD packet to send [06:55:53]OFD Sender: No OFD packet to send [06:55:58]OFD Sender: No OFD packet to send [06:56:03]OFD Sender: No OFD packet to send [06:56:08]OFD Sender: No OFD packet to send [06:56:13]OFD Sender: No OFD packet to send [06:56:18]OFD Sender: No OFD packet to send [06:56:23]OFD Sender: No OFD packet to send [06:56:28]OFD Sender: No OFD packet to send [06:56:33]OFD Sender: No OFD packet to send [06:56:38]OFD Sender: No OFD packet to send [06:56:43]OFD Sender: No OFD packet to send [06:56:48]OFD Sender: No OFD packet to send [06:56:53]OFD Sender: No OFD packet to send [06:56:58]OFD Sender: No OFD packet to send [06:57:03]OFD Sender: No OFD packet to send [06:57:08]OFD Sender: No OFD packet to send [06:57:13]OFD Sender: No OFD packet to send [06:57:18]OFD Sender: No OFD packet to send [06:57:23]OFD Sender: No OFD packet to send [06:57:28]OFD Sender: No OFD packet to send [06:57:33]OFD Sender: No OFD packet to send [06:57:38]OFD Sender: No OFD packet to send [06:57:43]OFD Sender: No OFD packet to send [06:57:48]OFD Sender: No OFD packet to send [06:57:53]OFD Sender: No OFD packet to send [06:57:58]OFD Sender: No OFD packet to send [06:58:03]OFD Sender: No OFD packet to send [06:58:08]OFD Sender: No OFD packet to send [06:58:13]OFD Sender: No OFD packet to send [06:58:18]OFD Sender: No OFD packet to send [06:58:23]OFD Sender: No OFD packet to send [06:58:28]OFD Sender: No OFD packet to send [06:58:33]OFD Sender: No OFD packet to send [06:58:38]OFD Sender: No OFD packet to send [06:58:43]OFD Sender: No OFD packet to send [06:58:48]OFD Sender: No OFD packet to send [06:58:53]OFD Sender: No OFD packet to send [06:58:58]OFD Sender: No OFD packet to send [06:59:03]OFD Sender: No OFD packet to send [06:59:08]OFD Sender: No OFD packet to send [06:59:13]OFD Sender: No OFD packet to send [06:59:18]OFD Sender: No OFD packet to send [06:59:23]OFD Sender: No OFD packet to send [06:59:28]OFD Sender: No OFD packet to send [06:59:33]OFD Sender: No OFD packet to send [06:59:38]OFD Sender: No OFD packet to send [06:59:43]OFD Sender: No OFD packet to send [06:59:48]OFD Sender: No OFD packet to send [06:59:53]OFD Sender: No OFD packet to send [06:59:58]OFD Sender: No OFD packet to send [07:00:03]OFD Sender: No OFD packet to send [07:00:08]OFD Sender: No OFD packet to send [07:00:13]OFD Sender: No OFD packet to send [07:00:18]OFD Sender: No OFD packet to send [07:00:23]OFD Sender: No OFD packet to send [07:00:28]OFD Sender: No OFD packet to send [07:00:33]OFD Sender: No OFD packet to send [07:00:38]OFD Sender: No OFD packet to send [07:00:43]OFD Sender: No OFD packet to send [07:00:48]OFD Sender: No OFD packet to send [07:00:53]OFD Sender: No OFD packet to send [07:00:58]OFD Sender: No OFD packet to send [07:01:03]OFD Sender: No OFD packet to send [07:01:08]OFD Sender: No OFD packet to send [07:01:13]OFD Sender: No OFD packet to send [07:01:18]OFD Sender: No OFD packet to send [07:01:23]OFD Sender: No OFD packet to send [07:01:28]OFD Sender: No OFD packet to send [07:01:33]OFD Sender: No OFD packet to send [07:01:38]OFD Sender: No OFD packet to send [07:01:43]OFD Sender: No OFD packet to send [07:01:48]OFD Sender: No OFD packet to send [07:01:53]OFD Sender: No OFD packet to send [07:01:58]OFD Sender: No OFD packet to send [07:02:03]OFD Sender: No OFD packet to send [07:02:08]OFD Sender: No OFD packet to send [07:02:13]OFD Sender: No OFD packet to send [07:02:18]OFD Sender: No OFD packet to send [07:02:23]OFD Sender: No OFD packet to send [07:02:28]OFD Sender: No OFD packet to send [07:02:33]OFD Sender: No OFD packet to send [07:02:38]OFD Sender: No OFD packet to send [07:02:43]OFD Sender: No OFD packet to send [07:02:48]OFD Sender: No OFD packet to send [07:02:53]OFD Sender: No OFD packet to send [07:02:58]OFD Sender: No OFD packet to send [07:03:03]OFD Sender: No OFD packet to send [07:03:08]OFD Sender: No OFD packet to send [07:03:13]OFD Sender: No OFD packet to send [07:03:18]OFD Sender: No OFD packet to send [07:03:23]OFD Sender: No OFD packet to send [07:03:28]OFD Sender: No OFD packet to send [07:03:33]OFD Sender: No OFD packet to send [07:03:38]OFD Sender: No OFD packet to send [07:03:44]OFD Sender: No OFD packet to send [07:03:49]OFD Sender: No OFD packet to send [07:03:54]OFD Sender: No OFD packet to send [07:03:59]OFD Sender: No OFD packet to send [07:04:04]OFD Sender: No OFD packet to send [07:04:09]OFD Sender: No OFD packet to send [07:04:14]OFD Sender: No OFD packet to send [07:04:19]OFD Sender: No OFD packet to send [07:04:24]OFD Sender: No OFD packet to send [07:04:29]OFD Sender: No OFD packet to send [07:04:34]OFD Sender: No OFD packet to send [07:04:39]OFD Sender: No OFD packet to send [07:04:44]OFD Sender: No OFD packet to send [07:04:49]OFD Sender: No OFD packet to send [07:04:54]OFD Sender: No OFD packet to send [07:04:59]OFD Sender: No OFD packet to send [07:05:04]OFD Sender: No OFD packet to send [07:05:09]OFD Sender: No OFD packet to send [07:05:14]OFD Sender: No OFD packet to send [07:05:19]OFD Sender: No OFD packet to send [07:05:24]OFD Sender: No OFD packet to send [07:05:29]OFD Sender: No OFD packet to send [07:05:34]OFD Sender: No OFD packet to send [07:05:39]OFD Sender: No OFD packet to send [07:05:44]OFD Sender: No OFD packet to send [07:05:49]OFD Sender: No OFD packet to send [07:05:54]OFD Sender: No OFD packet to send [07:05:59]OFD Sender: No OFD packet to send [07:06:04]OFD Sender: No OFD packet to send [07:06:09]OFD Sender: No OFD packet to send [07:06:14]OFD Sender: No OFD packet to send [07:06:19]OFD Sender: No OFD packet to send [07:06:24]OFD Sender: No OFD packet to send [07:06:29]OFD Sender: No OFD packet to send [07:06:34]OFD Sender: No OFD packet to send [07:06:39]OFD Sender: No OFD packet to send [07:06:44]OFD Sender: No OFD packet to send [07:06:49]OFD Sender: No OFD packet to send [07:06:54]OFD Sender: No OFD packet to send [07:06:59]OFD Sender: No OFD packet to send [07:07:04]OFD Sender: No OFD packet to send [07:07:09]OFD Sender: No OFD packet to send [07:07:14]OFD Sender: No OFD packet to send [07:07:19]OFD Sender: No OFD packet to send [07:07:24]OFD Sender: No OFD packet to send [07:07:29]OFD Sender: No OFD packet to send [07:07:34]OFD Sender: No OFD packet to send [07:07:39]OFD Sender: No OFD packet to send [07:07:44]OFD Sender: No OFD packet to send [07:07:49]OFD Sender: No OFD packet to send [07:07:54]OFD Sender: No OFD packet to send [07:07:59]OFD Sender: No OFD packet to send [07:08:04]OFD Sender: No OFD packet to send [07:08:09]OFD Sender: No OFD packet to send [07:08:14]OFD Sender: No OFD packet to send [07:08:19]OFD Sender: No OFD packet to send [07:08:24]OFD Sender: No OFD packet to send [07:08:29]OFD Sender: No OFD packet to send [07:08:34]OFD Sender: No OFD packet to send [07:08:39]OFD Sender: No OFD packet to send [07:08:44]OFD Sender: No OFD packet to send [07:08:49]OFD Sender: No OFD packet to send [07:08:54]OFD Sender: No OFD packet to send [07:08:59]OFD Sender: No OFD packet to send [07:09:04]OFD Sender: No OFD packet to send [07:09:09]OFD Sender: No OFD packet to send [07:09:14]OFD Sender: No OFD packet to send [07:09:19]OFD Sender: No OFD packet to send [07:09:24]OFD Sender: No OFD packet to send [07:09:29]OFD Sender: No OFD packet to send [07:09:34]OFD Sender: No OFD packet to send [07:09:39]OFD Sender: No OFD packet to send [07:09:44]OFD Sender: No OFD packet to send [07:09:49]OFD Sender: No OFD packet to send [07:09:54]OFD Sender: No OFD packet to send [07:09:59]OFD Sender: No OFD packet to send [07:10:04]OFD Sender: No OFD packet to send [07:10:09]OFD Sender: No OFD packet to send [07:10:14]OFD Sender: No OFD packet to send [07:10:19]OFD Sender: No OFD packet to send [07:10:24]OFD Sender: No OFD packet to send [07:10:29]OFD Sender: No OFD packet to send [07:10:34]OFD Sender: No OFD packet to send [07:10:39]OFD Sender: No OFD packet to send [07:10:44]OFD Sender: No OFD packet to send [07:10:49]OFD Sender: No OFD packet to send [07:10:54]OFD Sender: No OFD packet to send [07:10:59]OFD Sender: No OFD packet to send [07:11:04]OFD Sender: No OFD packet to send [07:11:09]OFD Sender: No OFD packet to send [07:11:14]OFD Sender: No OFD packet to send [07:11:19]OFD Sender: No OFD packet to send [07:11:24]OFD Sender: No OFD packet to send [07:11:29]OFD Sender: No OFD packet to send [07:11:34]OFD Sender: No OFD packet to send [07:11:39]OFD Sender: No OFD packet to send [07:11:44]OFD Sender: No OFD packet to send [07:11:49]OFD Sender: No OFD packet to send [07:11:54]OFD Sender: No OFD packet to send [07:11:59]OFD Sender: No OFD packet to send [07:12:04]OFD Sender: No OFD packet to send [07:12:09]OFD Sender: No OFD packet to send [07:12:14]OFD Sender: No OFD packet to send [07:12:19]OFD Sender: No OFD packet to send [07:12:24]OFD Sender: No OFD packet to send [07:12:29]OFD Sender: No OFD packet to send [07:12:34]OFD Sender: No OFD packet to send [07:12:39]OFD Sender: No OFD packet to send [07:12:44]OFD Sender: No OFD packet to send [07:12:49]OFD Sender: No OFD packet to send [07:12:54]OFD Sender: No OFD packet to send [07:12:59]OFD Sender: No OFD packet to send [07:13:04]OFD Sender: No OFD packet to send [07:13:09]OFD Sender: No OFD packet to send [07:13:14]OFD Sender: No OFD packet to send [07:13:19]OFD Sender: No OFD packet to send [07:13:24]OFD Sender: No OFD packet to send [07:13:29]OFD Sender: No OFD packet to send [07:13:34]OFD Sender: No OFD packet to send [07:13:39]OFD Sender: No OFD packet to send [07:13:44]OFD Sender: No OFD packet to send [07:13:49]OFD Sender: No OFD packet to send [07:13:54]OFD Sender: No OFD packet to send [07:13:59]OFD Sender: No OFD packet to send [07:14:04]OFD Sender: No OFD packet to send [07:14:09]OFD Sender: No OFD packet to send [07:14:14]OFD Sender: No OFD packet to send [07:14:19]OFD Sender: No OFD packet to send [07:14:24]OFD Sender: No OFD packet to send [07:14:29]OFD Sender: No OFD packet to send [07:14:34]OFD Sender: No OFD packet to send [07:14:39]OFD Sender: No OFD packet to send [07:14:44]OFD Sender: No OFD packet to send [07:14:49]OFD Sender: No OFD packet to send [07:14:51]accept exits with 9 [07:14:51]New connection [07:14:51]New thread 3067100516 created [07:14:51]Thread 3067243876 joined [07:14:51]Waiting for new connection... [07:14:51] Sock 9.Parse request [07:14:51]Sock 9.Check first char [07:14:51]Sock 9.First char is OK [07:14:51]request: POST /json_proto HTTP/1.0 [07:14:51]Method: POST [07:14:51]URL: /json_proto [07:14:51]Method is POST - this is cgi request [07:14:51]url: /json_proto [07:14:51]query_string will be loaded in cgi processing [07:14:51]execute_cgi json_proto POST (null) [07:14:51]execute_cgi path=json_proto method=POST [07:14:51]POST find Content-Length [07:14:51]Host: 172.17.50.4:8080 [07:14:51]Content-Length: 1137 [07:14:51]Content-Type: application/json [07:14:51] [07:14:51]POST finish read [07:14:51]Found Content-Length = 1137 [07:14:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134765", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 329.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:51]execute_script... [07:14:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134765", "tax_sys" : 0, "items" : [ { "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48742191", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Bond Street Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 329.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:14:51]POST & json_proto [07:14:51]process_json_proto [07:14:51]json parsed OK: [07:14:51]protocol is kg_v1.0 [07:14:51]action value=close_receipt [07:14:51]process_action close_receipt [07:14:51]cmd_close_receipt [07:14:51]MH_GetDate [07:14:51]Write to MH i2c: F0 00 00 4E 11 4E [07:14:51]Write i2c OK [07:14:51]MH_I2C_Read... [07:14:51]Read from MH i2c: F0 [07:14:51]MH_I2C_Read... [07:14:51]Read from MH i2c: F0 09 00 [07:14:51]MH_I2C_Read... [07:14:51]Read from MH i2c: F0 09 00 4E 11 00 F0 AD 14 67 1D BB 13 67 C1 [07:14:51]GetLastDocTimeStamp 1729406859 [07:14:51]current date 1729408496 [07:14:51]FM_GetShiftState [07:14:51]SAM_PROTO_GetShiftState [07:14:51]wFMCommunicate request_size=4 [07:14:51]MH_SAM_APDU [07:14:51]CAPDU: 80 13 01 00 [07:14:51]Write to MH i2c: E2 08 00 4F 11 80 13 01 00 00 00 00 00 DD [07:14:51]Write i2c OK [07:14:51]MH_I2C_Read... [07:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:14:51]Read from MH i2c: E2 [07:14:51]MH_I2C_Read... [07:14:51]Read from MH i2c: E2 0E 00 [07:14:51]MH_I2C_Read... [07:14:51]Read from MH i2c: E2 0E 00 4F 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FE [07:14:51]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:14:51]wFMCommunicate OK [07:14:51]SAM_PROTO_GetShiftState done [07:14:51]FM_GetShiftState done [07:14:51]opened in 1729382737 [07:14:51]opened+sec_in_day 1729469137 [07:14:51]quantity*price = 7500 [07:14:51]sum+1 = 7501 [07:14:51]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48742191 Сигареты Bond Street Blue 1.000 * 134.00 = 134.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700025313937 ВОДКА МЯГКАЯ 0,1л 2.000 * 60.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 329.00 НСП 1% : 2.91 НДС 12% : 34.93 Наличными: 329.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 9 20.10.2024 07:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24239 ФПД: 17723397821438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T071456&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24239&fm=17723397821438&tin=02508201610067®Number=0000000000098120&sum=32900 0 [07:14:52]StoreToDocumentArchive [07:14:52]shift 460 fd 24239 [07:14:52]save to /storage/0460/doc_00024239 [07:14:52]save last doc name /storage/0460/doc_00024239 to /storage/kkm_last_doc_name [07:14:52]save OK [07:14:52]Clear old archive folders... [07:14:52]ProcessDocumentItem done err = 0, tmpTLVsize=476 [07:14:52]tlvbuf is 02085D30 [07:14:52]SAM_PROTO_ClearQueue [07:14:52]wFMCommunicate request_size=4 [07:14:52]MH_SAM_APDU [07:14:52]CAPDU: 80 09 00 00 [07:14:52]Write to MH i2c: E2 08 00 5C 11 80 09 00 00 00 00 00 00 DF [07:14:52]Write i2c OK [07:14:52]MH_I2C_Read... [07:14:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:14:52]Read from MH i2c: E2 [07:14:52]MH_I2C_Read... [07:14:52]Read from MH i2c: E2 03 00 [07:14:52]MH_I2C_Read... [07:14:52]Read from MH i2c: E2 03 00 5C 11 00 90 00 E1 [07:14:52]RAPDU: 90 00 [07:14:52]wFMCommunicate OK [07:14:52]SAM_PROTO_ClearQueue done [07:14:52]KKMCreateOFDPacket [07:14:52]OFDProtocolAddRootSTLVToBuf [07:14:52]FM_MakeSignedData [07:14:52]FM_MakeSignedData [07:14:52]SAM_PROTO_SignData [07:14:52]wFMCommunicate request_size=4 [07:14:52]MH_SAM_APDU [07:14:52]CAPDU: 80 0D 01 02 [07:14:52]Write to MH i2c: E2 08 00 5D 11 80 0D 01 02 00 00 00 00 E7 [07:14:52]Write i2c OK [07:14:52]MH_I2C_Read... [07:14:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:14:53]Read from MH i2c: E2 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 5D 11 00 90 00 E2 [07:14:53]RAPDU: 90 00 [07:14:53]wFMCommunicate OK [07:14:53]wFMCommunicate request_size=255 [07:14:53]MH_SAM_APDU [07:14:53]CAPDU: 80 0D 02 02 FA 03 00 DC 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 [07:14:53]Write to MH i2c: E2 02 01 5E 11 80 0D 02 02 FA 00 03 00 DC 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 00 00 26 [07:14:53]Write i2c OK [07:14:53]MH_I2C_Read... [07:14:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:53]Read from MH i2c: E2 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 5E 11 00 90 00 E3 [07:14:53]RAPDU: 90 00 [07:14:53]wFMCommunicate OK [07:14:53]wFMCommunicate request_size=235 [07:14:53]MH_SAM_APDU [07:14:53]CAPDU: 80 0D 02 02 E6 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 84 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 A5 0D 00 00 00 00 07 04 06 00 84 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 09 00 00 00 F4 03 04 00 F0 AD 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AF 5E 00 00 35 04 06 00 10 1E 8C D4 D3 FE [07:14:53]Write to MH i2c: E2 EE 00 5F 11 80 0D 02 02 E6 00 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 84 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 A5 0D 00 00 00 00 07 04 06 00 84 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 09 00 00 00 F4 03 04 00 F0 AD 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AF 5E 00 00 35 04 06 00 10 1E 8C D4 D3 FE 00 00 7F [07:14:53]Write i2c OK [07:14:53]MH_I2C_Read... [07:14:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:14:53]Read from MH i2c: E2 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 03 00 5F 11 00 90 00 E4 [07:14:53]RAPDU: 90 00 [07:14:53]wFMCommunicate OK [07:14:53]wFMCommunicate request_size=4 [07:14:53]MH_SAM_APDU [07:14:53]CAPDU: 80 0D 03 02 [07:14:53]Write to MH i2c: E2 08 00 60 11 80 0D 03 02 00 00 00 00 EC [07:14:53]Write i2c OK [07:14:53]MH_I2C_Read... [07:14:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:14:53]Read from MH i2c: E2 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 0B 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 0B 00 60 11 00 FD B1 33 7B 3F 54 A4 66 90 00 E6 [07:14:53]RAPDU: FD B1 33 7B 3F 54 A4 66 90 00 [07:14:53]wFMCommunicate OK [07:14:53]SAM_PROTO_SignData done [07:14:53]FM_MakeSignedData done [07:14:53]CreateOFDProtocolMessage [07:14:53]wFMCommunicate request_size=4 [07:14:53]MH_SAM_APDU [07:14:53]CAPDU: 80 11 00 00 [07:14:53]Write to MH i2c: E2 08 00 61 11 80 11 00 00 00 00 00 00 EC [07:14:53]Write i2c OK [07:14:53]MH_I2C_Read... [07:14:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:14:53]Read from MH i2c: E2 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 17 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: E2 17 00 61 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 39 [07:14:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:14:53]wFMCommunicate OK [07:14:53]CreateOFDProtocolMessage done [07:14:53]OFDSenderStorePacket 24239 [07:14:53]StoreOFDPacket docnum=24239 [07:14:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 F0 01 00 00 23 52 E8 01 C5 80 5A 03 01 00 03 00 DC 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 84 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 A5 0D 00 00 00 00 07 04 06 00 84 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 09 00 00 00 F4 03 04 00 F0 AD 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AF 5E 00 00 35 04 06 00 10 1E 8C D4 D3 FE FD B1 33 7B 3F 54 A4 66 [07:14:53]CheckFolder [07:14:53]dirname=/storage/ofd_packets [07:14:53]CheckFolder done [07:14:53]ProducePacketName [07:14:53]name=ofd_packets/00024239 [07:14:53]NVStorageSaveData ofd_packets/00024239 [07:14:53]File name is /storage/ofd_packets/00024239 [07:14:53]Write 526 bytes [07:14:53]NVStorageSaveData done [07:14:53]OFDSenderStorePacket done [07:14:53]KKMCreateOFDPacket done [07:14:53]NVStorageSaveData kkm_last_timestamp [07:14:53]File name is /storage/kkm_last_timestamp [07:14:53]Write 4 bytes [07:14:53]NVStorageSaveData done [07:14:53]ExternCall_PrintAddStr [07:14:53]wPrintStart [07:14:53]Write to MH i2c: 01 00 00 62 11 73 [07:14:53]Write i2c OK [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: 01 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: 01 07 00 [07:14:53]MH_I2C_Read... [07:14:53]Read from MH i2c: 01 07 00 62 11 00 00 00 00 00 FF 0F 88 [07:14:53]RasterBufferAndPrint [07:14:53]line Счет N : (3)134765 [07:14:53]line ИНН: 02508201610067 [07:14:53]line Контрольно-Кассовый Чек [07:14:53]line ПРОДАЖА [07:14:53]line Товар: 54491472 [07:14:53]line Напиток Кока-Кола 0,5л [07:14:53]line 1.000 * 75.00 [07:14:53]line = 75.00 [07:14:53]line НДС 12% НСП 1% [07:14:53]line > о реализуемом товаре [07:14:53]line Товар: 48742191 [07:14:53]line Сигареты Bond Street Blue [07:14:53]line 1.000 * 134.00 [07:14:53]line = 134.00 [07:14:53]line НДС 12% НСП 1% [07:14:53]line > о реализуемом товаре [07:14:53]line Товар: 4700025313937 [07:14:53]line ВОДКА МЯГКАЯ 0,1л [07:14:53]line 2.000 * 60.00 [07:14:53]line = 120.00 [07:14:53]line НДС 12% НСП 1% [07:14:53]line > о реализуемом товаре [07:14:53]line ИТОГО: 329.00 [07:14:53]line НСП 1% : 2.91 [07:14:53]line НДС 12% : 34.93 [07:14:53]line Наличными: 329.00 [07:14:53]line Безнал.: 0.00 [07:14:53]line Место: АЗС № 85 "Партнер Нефть" [07:14:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:14:53]line СНО: Общий режим [07:14:53]line Чек 9 20.10.2024 07:14 [07:14:53]line Смена: 460 ФФД: 1.0 [07:14:53]line ЗНМ: 0300000166 [07:14:53]line РНМ: 0000000000098120 [07:14:53]line Версия ККМ: 001 [07:14:53]line ФМ: 0000000000965420 [07:14:53]line ФД: 24239 [07:14:53]line ФПД: 17723397821438 [07:14:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T071456&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24239&fm=17723397821438&tin=02508201610067®Number=0000000000098120&sum=32900 [07:14:54]line 0 [07:14:54]written 0, free lines is 4095 [07:14:54]OFD Sender: Processing packet 24239 [packets to send 5, broken 4] [07:14:54]ProducePacketName [07:14:54]name=ofd_packets/00024239 [07:14:54]OFD Sender: To server: pG, [07:14:54]CommunicateWithHost lk.salyk.kg:30040 [07:14:54]ConnectInit lk.salyk.kg [07:14:54]Connected sock=7 [07:14:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 F0 01 00 00 23 52 E8 01 C5 80 5A 03 01 00 03 00 DC 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 35 34 34 39 31 34 37 32 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 60 00 8A 04 08 00 34 38 37 34 32 31 39 31 06 04 21 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 6F 6E 64 20 53 74 72 65 65 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 84 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 A5 0D 00 00 00 00 07 04 06 00 84 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 09 00 00 00 F4 03 04 00 F0 AD 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AF 5E 00 00 35 04 06 00 10 1E 8C D4 D3 FE FD B1 33 7B 3F 54 A4 66 [07:14:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 3D D6 47 00 29 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 AF 5E 00 00 F4 03 04 00 89 59 14 67 B6 04 01 00 00 15 5C 64 3C 4E C7 AE B0 [07:14:54]CommunicateWithHost err = 0 [07:14:54]CheckOFDResponse [07:14:54]1017 (14) - 77093643461234 [07:14:54]1041 (16) - 0000000000965420 [07:14:54]1040 (4) - 24239 [07:14:54]1012 (4) - 20.10.2024 01:14 [07:14:54]1206 (1) - 0 [07:14:54]OFD Sender: Remove packet 24239 [07:14:54]ProducePacketName [07:14:54]name=ofd_packets/00024239 [07:14:54]NVStorageDeleteData [07:14:54]Write to MH i2c: 01 00 00 96 11 A7 [07:14:54]Write i2c OK [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: 01 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: 01 07 00 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: 01 07 00 96 11 00 00 00 00 00 76 0C 30 [07:14:54]RasterBufferAndPrint [07:14:54]line [07:14:54]line [07:14:54]line [07:14:54]line [07:14:54]line [07:14:54]written 0, free lines is 3199 [07:14:54]process_action close_receipt done [07:14:54]requested_data is exist [07:14:54]produce_requested_data [07:14:54]requested_item fm.sn is exist - process it [07:14:54]wFMCommunicate request_size=4 [07:14:54]MH_SAM_APDU [07:14:54]CAPDU: 80 11 00 00 [07:14:54]Write to MH i2c: E2 08 00 9D 11 80 11 00 00 00 00 00 00 28 [07:14:54]Write i2c OK [07:14:54]MH_I2C_Read... [07:14:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:14:54]Read from MH i2c: E2 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 17 00 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 17 00 9D 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 75 [07:14:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:14:54]wFMCommunicate OK [07:14:54]requested_item fd.num is exist - process it [07:14:54]SAM_PROTO_GetFieldsCounters [07:14:54]wFMCommunicate request_size=4 [07:14:54]MH_SAM_APDU [07:14:54]CAPDU: 80 13 00 00 [07:14:54]Write to MH i2c: E2 08 00 9E 11 80 13 00 00 00 00 00 00 2B [07:14:54]Write i2c OK [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 [07:14:54]MH_I2C_Read... [07:14:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:14:54]Read from MH i2c: E2 62 00 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 62 00 9E 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [07:14:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 AF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:14:54]wFMCommunicate OK [07:14:54]SAM_PROTO_GetFieldsCounters done [07:14:54]requested_item shift.num is exist - process it [07:14:54]requested_item shift.opened is exist - process it [07:14:54]req_shift_opened [07:14:54]FM_GetShiftState [07:14:54]SAM_PROTO_GetShiftState [07:14:54]wFMCommunicate request_size=4 [07:14:54]MH_SAM_APDU [07:14:54]CAPDU: 80 13 01 00 [07:14:54]Write to MH i2c: E2 08 00 9F 11 80 13 01 00 00 00 00 00 2D [07:14:54]Write i2c OK [07:14:54]MH_I2C_Read... [07:14:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:14:54]Read from MH i2c: E2 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 0E 00 [07:14:54]MH_I2C_Read... [07:14:54]Read from MH i2c: E2 0E 00 9F 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 4E [07:14:54]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:14:54]wFMCommunicate OK [07:14:54]SAM_PROTO_GetShiftState done [07:14:54]FM_GetShiftState done [07:14:54]req_shift_opened done [07:14:54]requested_item shift.open_date is exist - process it [07:14:54]req_shift_open_date [07:14:54]req_shift_open_date done [07:14:54]produce_requested_data done [07:14:54]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24239,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [07:14:54]process_action_free close_receipt [07:14:54]json_value_free [07:14:54]json_value_free done [07:14:54]process_json_proto returns [07:14:54]Send response to host [07:14:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24239,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [07:14:54]free response buf [07:14:54]execute_script done [07:14:54]execute_script returns [07:14:54]free content buf [07:14:54]Sock 9.Close socket [07:14:54]Sock 9.Thread stoped [07:14:54]OFD Sender: No OFD packet to send [07:14:59]OFD Sender: No OFD packet to send [07:15:04]OFD Sender: No OFD packet to send [07:15:09]OFD Sender: No OFD packet to send [07:15:14]OFD Sender: No OFD packet to send [07:15:19]OFD Sender: No OFD packet to send [07:15:24]OFD Sender: No OFD packet to send [07:15:29]OFD Sender: No OFD packet to send [07:15:34]OFD Sender: No OFD packet to send [07:15:39]OFD Sender: No OFD packet to send [07:15:44]OFD Sender: No OFD packet to send [07:15:49]OFD Sender: No OFD packet to send [07:15:54]OFD Sender: No OFD packet to send [07:15:59]OFD Sender: No OFD packet to send [07:16:04]OFD Sender: No OFD packet to send [07:16:09]OFD Sender: No OFD packet to send [07:16:14]OFD Sender: No OFD packet to send [07:16:19]OFD Sender: No OFD packet to send [07:16:24]OFD Sender: No OFD packet to send [07:16:29]OFD Sender: No OFD packet to send [07:16:34]OFD Sender: No OFD packet to send [07:16:39]OFD Sender: No OFD packet to send [07:16:44]OFD Sender: No OFD packet to send [07:16:49]OFD Sender: No OFD packet to send [07:16:54]OFD Sender: No OFD packet to send [07:16:59]OFD Sender: No OFD packet to send [07:17:04]OFD Sender: No OFD packet to send [07:17:09]OFD Sender: No OFD packet to send [07:17:14]OFD Sender: No OFD packet to send [07:17:19]OFD Sender: No OFD packet to send [07:17:24]OFD Sender: No OFD packet to send [07:17:29]OFD Sender: No OFD packet to send [07:17:34]OFD Sender: No OFD packet to send [07:17:39]OFD Sender: No OFD packet to send [07:17:44]OFD Sender: No OFD packet to send [07:17:49]OFD Sender: No OFD packet to send [07:17:54]OFD Sender: No OFD packet to send [07:17:59]OFD Sender: No OFD packet to send [07:18:04]OFD Sender: No OFD packet to send [07:18:09]OFD Sender: No OFD packet to send [07:18:15]OFD Sender: No OFD packet to send [07:18:20]OFD Sender: No OFD packet to send [07:18:25]OFD Sender: No OFD packet to send [07:18:30]OFD Sender: No OFD packet to send [07:18:35]OFD Sender: No OFD packet to send [07:18:40]OFD Sender: No OFD packet to send [07:18:45]OFD Sender: No OFD packet to send [07:18:50]OFD Sender: No OFD packet to send [07:18:55]OFD Sender: No OFD packet to send [07:19:00]OFD Sender: No OFD packet to send [07:19:05]OFD Sender: No OFD packet to send [07:19:10]OFD Sender: No OFD packet to send [07:19:15]OFD Sender: No OFD packet to send [07:19:20]OFD Sender: No OFD packet to send [07:19:25]OFD Sender: No OFD packet to send [07:19:30]OFD Sender: No OFD packet to send [07:19:35]OFD Sender: No OFD packet to send [07:19:40]OFD Sender: No OFD packet to send [07:19:45]OFD Sender: No OFD packet to send [07:19:50]OFD Sender: No OFD packet to send [07:19:55]OFD Sender: No OFD packet to send [07:20:00]OFD Sender: No OFD packet to send [07:20:05]OFD Sender: No OFD packet to send [07:20:10]OFD Sender: No OFD packet to send [07:20:15]OFD Sender: No OFD packet to send [07:20:20]OFD Sender: No OFD packet to send [07:20:25]OFD Sender: No OFD packet to send [07:20:30]OFD Sender: No OFD packet to send [07:20:35]OFD Sender: No OFD packet to send [07:20:40]OFD Sender: No OFD packet to send [07:20:45]OFD Sender: No OFD packet to send [07:20:50]OFD Sender: No OFD packet to send [07:20:55]OFD Sender: No OFD packet to send [07:21:00]OFD Sender: No OFD packet to send [07:21:05]OFD Sender: No OFD packet to send [07:21:10]OFD Sender: No OFD packet to send [07:21:15]OFD Sender: No OFD packet to send [07:21:20]OFD Sender: No OFD packet to send [07:21:25]OFD Sender: No OFD packet to send [07:21:30]OFD Sender: No OFD packet to send [07:21:35]OFD Sender: No OFD packet to send [07:21:40]OFD Sender: No OFD packet to send [07:21:45]OFD Sender: No OFD packet to send [07:21:50]OFD Sender: No OFD packet to send [07:21:55]OFD Sender: No OFD packet to send [07:22:00]OFD Sender: No OFD packet to send [07:22:05]OFD Sender: No OFD packet to send [07:22:10]OFD Sender: No OFD packet to send [07:22:15]OFD Sender: No OFD packet to send [07:22:20]OFD Sender: No OFD packet to send [07:22:25]OFD Sender: No OFD packet to send [07:22:30]OFD Sender: No OFD packet to send [07:22:35]OFD Sender: No OFD packet to send [07:22:40]OFD Sender: No OFD packet to send [07:22:45]OFD Sender: No OFD packet to send [07:22:50]OFD Sender: No OFD packet to send [07:22:55]OFD Sender: No OFD packet to send [07:23:00]OFD Sender: No OFD packet to send [07:23:05]OFD Sender: No OFD packet to send [07:23:10]OFD Sender: No OFD packet to send [07:23:15]OFD Sender: No OFD packet to send [07:23:20]OFD Sender: No OFD packet to send [07:23:25]OFD Sender: No OFD packet to send [07:23:30]OFD Sender: No OFD packet to send [07:23:35]OFD Sender: No OFD packet to send [07:23:40]OFD Sender: No OFD packet to send [07:23:45]OFD Sender: No OFD packet to send [07:23:50]OFD Sender: No OFD packet to send [07:23:55]OFD Sender: No OFD packet to send [07:24:00]OFD Sender: No OFD packet to send [07:24:05]OFD Sender: No OFD packet to send [07:24:10]OFD Sender: No OFD packet to send [07:24:15]OFD Sender: No OFD packet to send [07:24:20]OFD Sender: No OFD packet to send [07:24:25]OFD Sender: No OFD packet to send [07:24:30]OFD Sender: No OFD packet to send [07:24:35]OFD Sender: No OFD packet to send [07:24:40]OFD Sender: No OFD packet to send [07:24:45]OFD Sender: No OFD packet to send [07:24:50]OFD Sender: No OFD packet to send [07:24:55]OFD Sender: No OFD packet to send [07:25:00]OFD Sender: No OFD packet to send [07:25:05]OFD Sender: No OFD packet to send [07:25:10]OFD Sender: No OFD packet to send [07:25:15]OFD Sender: No OFD packet to send [07:25:20]OFD Sender: No OFD packet to send [07:25:25]OFD Sender: No OFD packet to send [07:25:30]OFD Sender: No OFD packet to send [07:25:35]OFD Sender: No OFD packet to send [07:25:40]OFD Sender: No OFD packet to send [07:25:45]OFD Sender: No OFD packet to send [07:25:50]OFD Sender: No OFD packet to send [07:25:55]OFD Sender: No OFD packet to send [07:26:00]OFD Sender: No OFD packet to send [07:26:05]OFD Sender: No OFD packet to send [07:26:10]OFD Sender: No OFD packet to send [07:26:15]OFD Sender: No OFD packet to send [07:26:20]OFD Sender: No OFD packet to send [07:26:25]OFD Sender: No OFD packet to send [07:26:30]OFD Sender: No OFD packet to send [07:26:35]OFD Sender: No OFD packet to send [07:26:40]OFD Sender: No OFD packet to send [07:26:45]OFD Sender: No OFD packet to send [07:26:50]OFD Sender: No OFD packet to send [07:26:55]OFD Sender: No OFD packet to send [07:27:00]OFD Sender: No OFD packet to send [07:27:05]OFD Sender: No OFD packet to send [07:27:10]OFD Sender: No OFD packet to send [07:27:15]OFD Sender: No OFD packet to send [07:27:20]OFD Sender: No OFD packet to send [07:27:25]OFD Sender: No OFD packet to send [07:27:30]OFD Sender: No OFD packet to send [07:27:35]OFD Sender: No OFD packet to send [07:27:40]OFD Sender: No OFD packet to send [07:27:45]OFD Sender: No OFD packet to send [07:27:50]OFD Sender: No OFD packet to send [07:27:55]OFD Sender: No OFD packet to send [07:28:00]OFD Sender: No OFD packet to send [07:28:05]OFD Sender: No OFD packet to send [07:28:10]OFD Sender: No OFD packet to send [07:28:15]OFD Sender: No OFD packet to send [07:28:20]OFD Sender: No OFD packet to send [07:28:25]OFD Sender: No OFD packet to send [07:28:30]OFD Sender: No OFD packet to send [07:28:35]OFD Sender: No OFD packet to send [07:28:40]OFD Sender: No OFD packet to send [07:28:45]OFD Sender: No OFD packet to send [07:28:50]OFD Sender: No OFD packet to send [07:28:55]OFD Sender: No OFD packet to send [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:01]OFD Sender: No OFD packet to send [07:40:06]OFD Sender: No OFD packet to send [07:40:11]OFD Sender: No OFD packet to send [07:40:16]OFD Sender: No OFD packet to send [07:40:21]OFD Sender: No OFD packet to send [07:40:26]OFD Sender: No OFD packet to send [07:40:31]OFD Sender: No OFD packet to send [07:40:36]OFD Sender: No OFD packet to send [07:40:41]OFD Sender: No OFD packet to send [07:40:46]OFD Sender: No OFD packet to send [07:40:51]OFD Sender: No OFD packet to send [07:40:56]OFD Sender: No OFD packet to send [07:41:01]OFD Sender: No OFD packet to send [07:41:06]OFD Sender: No OFD packet to send [07:41:11]OFD Sender: No OFD packet to send [07:41:16]OFD Sender: No OFD packet to send [07:41:21]OFD Sender: No OFD packet to send [07:41:26]OFD Sender: No OFD packet to send [07:41:31]OFD Sender: No OFD packet to send [07:41:36]OFD Sender: No OFD packet to send [07:41:41]OFD Sender: No OFD packet to send [07:41:46]OFD Sender: No OFD packet to send [07:41:51]OFD Sender: No OFD packet to send [07:41:56]OFD Sender: No OFD packet to send [07:42:01]OFD Sender: No OFD packet to send [07:42:06]OFD Sender: No OFD packet to send [07:42:11]OFD Sender: No OFD packet to send [07:42:16]OFD Sender: No OFD packet to send [07:42:21]OFD Sender: No OFD packet to send [07:42:26]OFD Sender: No OFD packet to send [07:42:31]OFD Sender: No OFD packet to send [07:42:36]OFD Sender: No OFD packet to send [07:42:41]OFD Sender: No OFD packet to send [07:42:46]OFD Sender: No OFD packet to send [07:42:51]OFD Sender: No OFD packet to send [07:42:56]OFD Sender: No OFD packet to send [07:43:01]OFD Sender: No OFD packet to send [07:43:06]OFD Sender: No OFD packet to send [07:43:11]OFD Sender: No OFD packet to send [07:43:16]OFD Sender: No OFD packet to send [07:43:21]OFD Sender: No OFD packet to send [07:43:26]OFD Sender: No OFD packet to send [07:43:31]OFD Sender: No OFD packet to send [07:43:33]accept exits with 10 [07:43:33]New connection [07:43:33]New thread 3067243876 created [07:43:33]Thread 3067100516 joined [07:43:33]Waiting for new connection... [07:43:33] Sock 10.Parse request [07:43:33]Sock 10.Check first char [07:43:33]Sock 10.First char is OK [07:43:33]request: POST /json_proto HTTP/1.0 [07:43:33]Method: POST [07:43:33]URL: /json_proto [07:43:33]Method is POST - this is cgi request [07:43:33]url: /json_proto [07:43:33]query_string will be loaded in cgi processing [07:43:33]execute_cgi json_proto POST (null) [07:43:33]execute_cgi path=json_proto method=POST [07:43:33]POST find Content-Length [07:43:33]Host: 172.17.50.4:8080 [07:43:33]Content-Length: 1150 [07:43:33]Content-Type: application/json [07:43:33] [07:43:33]POST finish read [07:43:33]Found Content-Length = 1150 [07:43:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134766", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 347.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:43:33]execute_script... [07:43: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)134766", "tax_sys" : 0, "items" : [ { "code": "4700000160204", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1,5\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 347.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:43:33]POST & json_proto [07:43:33]process_json_proto [07:43:33]json parsed OK: [07:43:33]protocol is kg_v1.0 [07:43:33]action value=close_receipt [07:43:33]process_action close_receipt [07:43:33]cmd_close_receipt [07:43:33]MH_GetDate [07:43:33]Write to MH i2c: F0 00 00 A0 11 A0 [07:43:33]Write i2c OK [07:43:33]MH_I2C_Read... [07:43:33]Read from MH i2c: F0 [07:43:33]MH_I2C_Read... [07:43:33]Read from MH i2c: F0 09 00 [07:43:33]MH_I2C_Read... [07:43:33]Read from MH i2c: F0 09 00 A0 11 00 AA B4 14 67 1D BB 13 67 D4 [07:43:33]GetLastDocTimeStamp 1729408496 [07:43:33]current date 1729410218 [07:43:33]FM_GetShiftState [07:43:33]SAM_PROTO_GetShiftState [07:43:33]wFMCommunicate request_size=4 [07:43:33]MH_SAM_APDU [07:43:33]CAPDU: 80 13 01 00 [07:43:33]Write to MH i2c: E2 08 00 A1 11 80 13 01 00 00 00 00 00 2F [07:43:33]Write i2c OK [07:43:33]MH_I2C_Read... [07:43:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:33]Read from MH i2c: E2 [07:43:33]MH_I2C_Read... [07:43:33]Read from MH i2c: E2 0E 00 [07:43:33]MH_I2C_Read... [07:43:33]Read from MH i2c: E2 0E 00 A1 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 50 [07:43:33]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:43:33]wFMCommunicate OK [07:43:33]SAM_PROTO_GetShiftState done [07:43:33]FM_GetShiftState done [07:43:33]opened in 1729382737 [07:43:33]opened+sec_in_day 1729469137 [07:43:33]quantity*price = 12000 [07:43:33]sum+1 = 12001 [07:43:33]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 160.00 = 160.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 347.00 НСП 1% : 3.07 НДС 12% : 36.84 Наличными: 347.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 10 20.10.2024 07:43 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24240 ФПД: 152795411495733 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074338&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24240&fm=152795411495733&tin=02508201610067®Number=0000000000098120&sum=34700 0 [07:43:34]StoreToDocumentArchive [07:43:34]shift 460 fd 24240 [07:43:34]save to /storage/0460/doc_00024240 [07:43:34]save last doc name /storage/0460/doc_00024240 to /storage/kkm_last_doc_name [07:43:34]save OK [07:43:34]Clear old archive folders... [07:43:34]ProcessDocumentItem done err = 0, tmpTLVsize=489 [07:43:34]tlvbuf is 02071910 [07:43:34]SAM_PROTO_ClearQueue [07:43:34]wFMCommunicate request_size=4 [07:43:34]MH_SAM_APDU [07:43:34]CAPDU: 80 09 00 00 [07:43:34]Write to MH i2c: E2 08 00 AE 11 80 09 00 00 00 00 00 00 31 [07:43:34]Write i2c OK [07:43:34]MH_I2C_Read... [07:43:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:43:35]Read from MH i2c: E2 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 AE 11 00 90 00 33 [07:43:35]RAPDU: 90 00 [07:43:35]wFMCommunicate OK [07:43:35]SAM_PROTO_ClearQueue done [07:43:35]KKMCreateOFDPacket [07:43:35]OFDProtocolAddRootSTLVToBuf [07:43:35]FM_MakeSignedData [07:43:35]FM_MakeSignedData [07:43:35]SAM_PROTO_SignData [07:43:35]wFMCommunicate request_size=4 [07:43:35]MH_SAM_APDU [07:43:35]CAPDU: 80 0D 01 02 [07:43:35]Write to MH i2c: E2 08 00 AF 11 80 0D 01 02 00 00 00 00 39 [07:43:35]Write i2c OK [07:43:35]MH_I2C_Read... [07:43:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:43:35]Read from MH i2c: E2 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 AF 11 00 90 00 34 [07:43:35]RAPDU: 90 00 [07:43:35]wFMCommunicate OK [07:43:35]wFMCommunicate request_size=255 [07:43:35]MH_SAM_APDU [07:43:35]CAPDU: 80 0D 02 02 FA 03 00 E9 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 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 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [07:43:35]Write to MH i2c: E2 02 01 B0 11 80 0D 02 02 FA 00 03 00 E9 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 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 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 48 [07:43:35]Write i2c OK [07:43:35]MH_I2C_Read... [07:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:35]Read from MH i2c: E2 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 B0 11 00 90 00 35 [07:43:35]RAPDU: 90 00 [07:43:35]wFMCommunicate OK [07:43:35]wFMCommunicate request_size=248 [07:43:35]MH_SAM_APDU [07:43:35]CAPDU: 80 0D 02 02 F3 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 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AA B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B0 5E 00 00 35 04 06 00 8A F7 74 39 BB 35 [07:43:35]Write to MH i2c: E2 FB 00 B1 11 80 0D 02 02 F3 00 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 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AA B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B0 5E 00 00 35 04 06 00 8A F7 74 39 BB 35 00 00 63 [07:43:35]Write i2c OK [07:43:35]MH_I2C_Read... [07:43:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:35]Read from MH i2c: E2 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 03 00 B1 11 00 90 00 36 [07:43:35]RAPDU: 90 00 [07:43:35]wFMCommunicate OK [07:43:35]wFMCommunicate request_size=4 [07:43:35]MH_SAM_APDU [07:43:35]CAPDU: 80 0D 03 02 [07:43:35]Write to MH i2c: E2 08 00 B2 11 80 0D 03 02 00 00 00 00 3E [07:43:35]Write i2c OK [07:43:35]MH_I2C_Read... [07:43:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:43:35]Read from MH i2c: E2 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 0B 00 [07:43:35]MH_I2C_Read... [07:43:35]Read from MH i2c: E2 0B 00 B2 11 00 86 85 D2 9A 35 9A 9F FB 90 00 1F [07:43:35]RAPDU: 86 85 D2 9A 35 9A 9F FB 90 00 [07:43:35]wFMCommunicate OK [07:43:35]SAM_PROTO_SignData done [07:43:35]FM_MakeSignedData done [07:43:35]CreateOFDProtocolMessage [07:43:35]wFMCommunicate request_size=4 [07:43:35]MH_SAM_APDU [07:43:35]CAPDU: 80 11 00 00 [07:43:35]Write to MH i2c: E2 08 00 B3 11 80 11 00 00 00 00 00 00 3E [07:43:35]Write i2c OK [07:43:35]MH_I2C_Read... [07:43:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:36]Read from MH i2c: E2 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 17 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 17 00 B3 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8B [07:43:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:43:36]wFMCommunicate OK [07:43:36]CreateOFDProtocolMessage done [07:43:36]OFDSenderStorePacket 24240 [07:43:36]StoreOFDPacket docnum=24240 [07:43:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 FD 01 00 00 8C 60 F5 01 9A D5 5A 03 01 00 03 00 E9 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 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 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AA B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B0 5E 00 00 35 04 06 00 8A F7 74 39 BB 35 86 85 D2 9A 35 9A 9F FB [07:43:36]CheckFolder [07:43:36]dirname=/storage/ofd_packets [07:43:36]CheckFolder done [07:43:36]ProducePacketName [07:43:36]name=ofd_packets/00024240 [07:43:36]NVStorageSaveData ofd_packets/00024240 [07:43:36]File name is /storage/ofd_packets/00024240 [07:43:36]Write 539 bytes [07:43:36]NVStorageSaveData done [07:43:36]OFDSenderStorePacket done [07:43:36]KKMCreateOFDPacket done [07:43:36]NVStorageSaveData kkm_last_timestamp [07:43:36]File name is /storage/kkm_last_timestamp [07:43:36]Write 4 bytes [07:43:36]NVStorageSaveData done [07:43:36]ExternCall_PrintAddStr [07:43:36]wPrintStart [07:43:36]Write to MH i2c: 01 00 00 B4 11 C5 [07:43:36]Write i2c OK [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 07 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 07 00 B4 11 00 00 00 00 00 FF 0F DA [07:43:36]RasterBufferAndPrint [07:43:36]line Счет N : (3)134766 [07:43:36]line ИНН: 02508201610067 [07:43:36]line Контрольно-Кассовый Чек [07:43:36]line ПРОДАЖА [07:43:36]line Товар: 4700000160204 [07:43:36]line Вода Легенда 1,5л [07:43:36]line 2.000 * 60.00 [07:43:36]line = 120.00 [07:43:36]line НДС 12% НСП 1% [07:43:36]line > о реализуемом товаре [07:43:36]line Товар: 48741958 [07:43:36]line Сигареты Parliament Aqua Blue [07:43:36]line 1.000 * 160.00 [07:43:36]line = 160.00 [07:43:36]line НДС 12% НСП 1% [07:43:36]line > о реализуемом товаре [07:43:36]line Товар: 6931280300549 [07:43:36]line Зажигалка Cricket ПН пьезо [07:43:36]line 1.000 * 67.00 [07:43:36]line = 67.00 [07:43:36]line НДС 12% НСП 1% [07:43:36]line > о реализуемом товаре [07:43:36]line ИТОГО: 347.00 [07:43:36]line НСП 1% : 3.07 [07:43:36]line НДС 12% : 36.84 [07:43:36]line Наличными: 347.00 [07:43:36]line Безнал.: 0.00 [07:43:36]line Место: АЗС № 85 "Партнер Нефть" [07:43:36]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:43:36]line СНО: Общий режим [07:43:36]line Чек 10 20.10.2024 07:43 [07:43:36]line Смена: 460 ФФД: 1.0 [07:43:36]line ЗНМ: 0300000166 [07:43:36]line РНМ: 0000000000098120 [07:43:36]line Версия ККМ: 001 [07:43:36]line ФМ: 0000000000965420 [07:43:36]line ФД: 24240 [07:43:36]line ФПД: 152795411495733 [07:43:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074338&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24240&fm=152795411495733&tin=02508201610067®Number=0000000000098120&sum=34700 [07:43:36]line 0 [07:43:36]written 0, free lines is 4095 [07:43:36]OFD Sender: Processing packet 24240 [packets to send 5, broken 4] [07:43:36]ProducePacketName [07:43:36]name=ofd_packets/00024240 [07:43:36]OFD Sender: To server: pG, [07:43:36]CommunicateWithHost lk.salyk.kg:30040 [07:43:36]ConnectInit lk.salyk.kg [07:43:36]Connected sock=9 [07:43:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 FD 01 00 00 8C 60 F5 01 9A D5 5A 03 01 00 03 00 E9 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 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 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 8C 87 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 33 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0E 00 00 00 00 07 04 06 00 8C 87 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0A 00 00 00 F4 03 04 00 AA B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B0 5E 00 00 35 04 06 00 8A F7 74 39 BB 35 86 85 D2 9A 35 9A 9F FB [07:43:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 D7 77 47 00 5F 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B0 5E 00 00 F4 03 04 00 43 60 14 67 B6 04 01 00 00 40 39 D8 9C BD 73 55 19 [07:43:36]CommunicateWithHost err = 0 [07:43:36]CheckOFDResponse [07:43:36]1017 (14) - 77093643461234 [07:43:36]1041 (16) - 0000000000965420 [07:43:36]1040 (4) - 24240 [07:43:36]1012 (4) - 20.10.2024 01:43 [07:43:36]1206 (1) - 0 [07:43:36]OFD Sender: Remove packet 24240 [07:43:36]ProducePacketName [07:43:36]name=ofd_packets/00024240 [07:43:36]NVStorageDeleteData [07:43:36]Write to MH i2c: 01 00 00 E9 11 FA [07:43:36]Write i2c OK [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 07 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: 01 07 00 E9 11 00 00 00 00 00 71 0C 7E [07:43:36]RasterBufferAndPrint [07:43:36]line [07:43:36]line [07:43:36]line [07:43:36]line [07:43:36]line [07:43:36]written 0, free lines is 3194 [07:43:36]process_action close_receipt done [07:43:36]requested_data is exist [07:43:36]produce_requested_data [07:43:36]requested_item fm.sn is exist - process it [07:43:36]wFMCommunicate request_size=4 [07:43:36]MH_SAM_APDU [07:43:36]CAPDU: 80 11 00 00 [07:43:36]Write to MH i2c: E2 08 00 F0 11 80 11 00 00 00 00 00 00 7B [07:43:36]Write i2c OK [07:43:36]MH_I2C_Read... [07:43:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:36]Read from MH i2c: E2 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 17 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 17 00 F0 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C8 [07:43:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:43:36]wFMCommunicate OK [07:43:36]requested_item fd.num is exist - process it [07:43:36]SAM_PROTO_GetFieldsCounters [07:43:36]wFMCommunicate request_size=4 [07:43:36]MH_SAM_APDU [07:43:36]CAPDU: 80 13 00 00 [07:43:36]Write to MH i2c: E2 08 00 F1 11 80 13 00 00 00 00 00 00 7E [07:43:36]Write i2c OK [07:43:36]MH_I2C_Read... [07:43:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:43:36]Read from MH i2c: E2 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 62 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 62 00 F1 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [07:43:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:43:36]wFMCommunicate OK [07:43:36]SAM_PROTO_GetFieldsCounters done [07:43:36]requested_item shift.num is exist - process it [07:43:36]requested_item shift.opened is exist - process it [07:43:36]req_shift_opened [07:43:36]FM_GetShiftState [07:43:36]SAM_PROTO_GetShiftState [07:43:36]wFMCommunicate request_size=4 [07:43:36]MH_SAM_APDU [07:43:36]CAPDU: 80 13 01 00 [07:43:36]Write to MH i2c: E2 08 00 F2 11 80 13 01 00 00 00 00 00 80 [07:43:36]Write i2c OK [07:43:36]MH_I2C_Read... [07:43:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:36]Read from MH i2c: E2 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 0E 00 [07:43:36]MH_I2C_Read... [07:43:36]Read from MH i2c: E2 0E 00 F2 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 A1 [07:43:36]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:43:36]wFMCommunicate OK [07:43:36]SAM_PROTO_GetShiftState done [07:43:36]FM_GetShiftState done [07:43:36]req_shift_opened done [07:43:36]requested_item shift.open_date is exist - process it [07:43:36]req_shift_open_date [07:43:36]req_shift_open_date done [07:43:36]produce_requested_data done [07:43:36]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24240,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [07:43:36]process_action_free close_receipt [07:43:36]json_value_free [07:43:36]json_value_free done [07:43:36]process_json_proto returns [07:43:36]Send response to host [07:43:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24240,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [07:43:36]free response buf [07:43:36]execute_script done [07:43:36]execute_script returns [07:43:36]free content buf [07:43:36]Sock 10.Close socket [07:43:36]Sock 10.Thread stoped [07:43:36]OFD Sender: No OFD packet to send [07:43:41]OFD Sender: No OFD packet to send [07:43:46]OFD Sender: No OFD packet to send [07:43:51]OFD Sender: No OFD packet to send [07:43:52]accept exits with 7 [07:43:52]New connection [07:43:52]New thread 3067100516 created [07:43:52]Thread 3067243876 joined [07:43:52]Waiting for new connection... [07:43:52] Sock 7.Parse request [07:43:52]Sock 7.Check first char [07:43:52]Sock 7.First char is OK [07:43:52]request: POST /json_proto HTTP/1.0 [07:43:52]Method: POST [07:43:52]URL: /json_proto [07:43:52]Method is POST - this is cgi request [07:43:52]url: /json_proto [07:43:52]query_string will be loaded in cgi processing [07:43:52]execute_cgi json_proto POST (null) [07:43:52]execute_cgi path=json_proto method=POST [07:43:52]POST find Content-Length [07:43:52]Host: 172.17.50.4:8080 [07:43:52]Content-Length: 643 [07:43:52]Content-Type: application/json [07:43:52] [07:43:52]POST finish read [07:43:52]Found Content-Length = 643 [07:43:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134767", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:43:52]execute_script... [07:43: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)134767", "tax_sys" : 0, "items" : [ { "code": "46198051", "name": "\u0420/\u0436 mentos pure white \u043D\u0435\u0436\u043D \u043C\u044F\u0442\u0430 54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:43:52]POST & json_proto [07:43:52]process_json_proto [07:43:52]json parsed OK: [07:43:52]protocol is kg_v1.0 [07:43:52]action value=close_receipt [07:43:52]process_action close_receipt [07:43:52]cmd_close_receipt [07:43:52]MH_GetDate [07:43:52]Write to MH i2c: F0 00 00 F3 11 F3 [07:43:52]Write i2c OK [07:43:52]MH_I2C_Read... [07:43:52]Read from MH i2c: F0 [07:43:52]MH_I2C_Read... [07:43:52]Read from MH i2c: F0 09 00 [07:43:52]MH_I2C_Read... [07:43:52]Read from MH i2c: F0 09 00 F3 11 00 BC B4 14 67 1D BB 13 67 39 [07:43:52]GetLastDocTimeStamp 1729410218 [07:43:52]current date 1729410236 [07:43:52]FM_GetShiftState [07:43:52]SAM_PROTO_GetShiftState [07:43:52]wFMCommunicate request_size=4 [07:43:52]MH_SAM_APDU [07:43:52]CAPDU: 80 13 01 00 [07:43:52]Write to MH i2c: E2 08 00 F4 11 80 13 01 00 00 00 00 00 82 [07:43:52]Write i2c OK [07:43:52]MH_I2C_Read... [07:43:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:52]Read from MH i2c: E2 [07:43:52]MH_I2C_Read... [07:43:52]Read from MH i2c: E2 0E 00 [07:43:52]MH_I2C_Read... [07:43:52]Read from MH i2c: E2 0E 00 F4 11 00 09 00 01 51 49 14 67 00 00 00 00 90 00 A3 [07:43:52]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:43:52]wFMCommunicate OK [07:43:52]SAM_PROTO_GetShiftState done [07:43:52]FM_GetShiftState done [07:43:52]opened in 1729382737 [07:43:52]opened+sec_in_day 1729469137 [07:43:52]quantity*price = 20500 [07:43:52]sum+1 = 20501 [07:43:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 11 20.10.2024 07:43 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24241 ФПД: 152916685179595 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074356&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24241&fm=152916685179595&tin=02508201610067®Number=0000000000098120&sum=20500 0 [07:43:53]StoreToDocumentArchive [07:43:53]shift 460 fd 24241 [07:43:53]save to /storage/0460/doc_00024241 [07:43:53]save last doc name /storage/0460/doc_00024241 to /storage/kkm_last_doc_name [07:43:53]save OK [07:43:53]Clear old archive folders... [07:43:53]ProcessDocumentItem done err = 0, tmpTLVsize=283 [07:43:53]tlvbuf is 0201E040 [07:43:53]SAM_PROTO_ClearQueue [07:43:53]wFMCommunicate request_size=4 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 09 00 00 [07:43:53]Write to MH i2c: E2 08 00 01 12 80 09 00 00 00 00 00 00 85 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 01 12 00 90 00 87 [07:43:53]RAPDU: 90 00 [07:43:53]wFMCommunicate OK [07:43:53]SAM_PROTO_ClearQueue done [07:43:53]KKMCreateOFDPacket [07:43:53]OFDProtocolAddRootSTLVToBuf [07:43:53]FM_MakeSignedData [07:43:53]FM_MakeSignedData [07:43:53]SAM_PROTO_SignData [07:43:53]wFMCommunicate request_size=4 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 0D 01 02 [07:43:53]Write to MH i2c: E2 08 00 02 12 80 0D 01 02 00 00 00 00 8D [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 02 12 00 90 00 88 [07:43:53]RAPDU: 90 00 [07:43:53]wFMCommunicate OK [07:43:53]wFMCommunicate request_size=255 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 BC B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 [07:43:53]Write to MH i2c: E2 02 01 03 12 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 BC B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 00 00 40 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 03 12 00 90 00 89 [07:43:53]RAPDU: 90 00 [07:43:53]wFMCommunicate OK [07:43:53]wFMCommunicate request_size=42 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B1 5E 00 00 35 04 06 00 8B 13 B0 B3 4A CB [07:43:53]Write to MH i2c: E2 2D 00 04 12 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B1 5E 00 00 35 04 06 00 8B 13 B0 B3 4A CB 00 00 84 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 03 00 04 12 00 90 00 8A [07:43:53]RAPDU: 90 00 [07:43:53]wFMCommunicate OK [07:43:53]wFMCommunicate request_size=4 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 0D 03 02 [07:43:53]Write to MH i2c: E2 08 00 05 12 80 0D 03 02 00 00 00 00 92 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 0B 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 0B 00 05 12 00 BC 4F 38 97 49 52 86 3E 90 00 CC [07:43:53]RAPDU: BC 4F 38 97 49 52 86 3E 90 00 [07:43:53]wFMCommunicate OK [07:43:53]SAM_PROTO_SignData done [07:43:53]FM_MakeSignedData done [07:43:53]CreateOFDProtocolMessage [07:43:53]wFMCommunicate request_size=4 [07:43:53]MH_SAM_APDU [07:43:53]CAPDU: 80 11 00 00 [07:43:53]Write to MH i2c: E2 08 00 06 12 80 11 00 00 00 00 00 00 92 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:53]Read from MH i2c: E2 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 17 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: E2 17 00 06 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DF [07:43:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:43:53]wFMCommunicate OK [07:43:53]CreateOFDProtocolMessage done [07:43:53]OFDSenderStorePacket 24241 [07:43:53]StoreOFDPacket docnum=24241 [07:43:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2F 01 00 00 64 03 27 01 F9 79 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 BC B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B1 5E 00 00 35 04 06 00 8B 13 B0 B3 4A CB BC 4F 38 97 49 52 86 3E [07:43:53]CheckFolder [07:43:53]dirname=/storage/ofd_packets [07:43:53]CheckFolder done [07:43:53]ProducePacketName [07:43:53]name=ofd_packets/00024241 [07:43:53]NVStorageSaveData ofd_packets/00024241 [07:43:53]File name is /storage/ofd_packets/00024241 [07:43:53]Write 333 bytes [07:43:53]NVStorageSaveData done [07:43:53]OFDSenderStorePacket done [07:43:53]KKMCreateOFDPacket done [07:43:53]NVStorageSaveData kkm_last_timestamp [07:43:53]File name is /storage/kkm_last_timestamp [07:43:53]Write 4 bytes [07:43:53]NVStorageSaveData done [07:43:53]ExternCall_PrintAddStr [07:43:53]wPrintStart [07:43:53]Write to MH i2c: 01 00 00 07 12 19 [07:43:53]Write i2c OK [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: 01 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: 01 07 00 [07:43:53]MH_I2C_Read... [07:43:53]Read from MH i2c: 01 07 00 07 12 00 00 00 00 00 FF 0F 2E [07:43:53]RasterBufferAndPrint [07:43:53]line Счет N : (3)134767 [07:43:53]line ИНН: 02508201610067 [07:43:53]line Контрольно-Кассовый Чек [07:43:53]line ПРОДАЖА [07:43:53]line Товар: 46198051 [07:43:53]line Р/ж mentos pure white нежн мята 54г [07:43:53]line 1.000 * 205.00 [07:43:53]line = 205.00 [07:43:53]line НДС 12% НСП 1% [07:43:53]line > о реализуемом товаре [07:43:53]line ИТОГО: 205.00 [07:43:53]line НСП 1% : 1.81 [07:43:53]line НДС 12% : 21.77 [07:43:53]line Наличными: 205.00 [07:43:53]line Безнал.: 0.00 [07:43:53]line Место: АЗС № 85 "Партнер Нефть" [07:43:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:43:53]line СНО: Общий режим [07:43:53]line Чек 11 20.10.2024 07:43 [07:43:53]line Смена: 460 ФФД: 1.0 [07:43:53]line ЗНМ: 0300000166 [07:43:53]line РНМ: 0000000000098120 [07:43:53]line Версия ККМ: 001 [07:43:53]line ФМ: 0000000000965420 [07:43:53]line ФД: 24241 [07:43:53]line ФПД: 152916685179595 [07:43:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T074356&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24241&fm=152916685179595&tin=02508201610067®Number=0000000000098120&sum=20500 [07:43:54]line 0 [07:43:54]OFD Sender: Processing packet 24241 [packets to send 5, broken 4] [07:43:54]ProducePacketName [07:43:54]name=ofd_packets/00024241 [07:43:54]OFD Sender: To server: pG, [07:43:54]CommunicateWithHost lk.salyk.kg:30040 [07:43:54]ConnectInit lk.salyk.kg [07:43:54]written 0, free lines is 4095 [07:43:54]Connected sock=10 [07:43:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2F 01 00 00 64 03 27 01 F9 79 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 08 00 34 36 31 39 38 30 35 31 06 04 2E 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BD D0 B5 D0 B6 D0 BD 20 D0 BC D1 8F D1 82 D0 B0 20 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 BC B4 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B1 5E 00 00 35 04 06 00 8B 13 B0 B3 4A CB BC 4F 38 97 49 52 86 3E [07:43:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B3 8F 47 00 A3 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B1 5E 00 00 F4 03 04 00 55 60 14 67 B6 04 01 00 00 2E E3 1B 11 61 02 6E 80 [07:43:54]CommunicateWithHost err = 0 [07:43:54]CheckOFDResponse [07:43:54]1017 (14) - 77093643461234 [07:43:54]1041 (16) - 0000000000965420 [07:43:54]1040 (4) - 24241 [07:43:54]1012 (4) - 20.10.2024 01:43 [07:43:54]1206 (1) - 0 [07:43:54]OFD Sender: Remove packet 24241 [07:43:54]ProducePacketName [07:43:54]name=ofd_packets/00024241 [07:43:54]NVStorageDeleteData [07:43:54]Write to MH i2c: 01 00 00 30 12 42 [07:43:54]Write i2c OK [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: 01 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: 01 07 00 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: 01 07 00 30 12 00 00 00 00 00 0C 0D 62 [07:43:54]RasterBufferAndPrint [07:43:54]line [07:43:54]line [07:43:54]line [07:43:54]line [07:43:54]line [07:43:54]written 0, free lines is 3349 [07:43:54]process_action close_receipt done [07:43:54]requested_data is exist [07:43:54]produce_requested_data [07:43:54]requested_item fm.sn is exist - process it [07:43:54]wFMCommunicate request_size=4 [07:43:54]MH_SAM_APDU [07:43:54]CAPDU: 80 11 00 00 [07:43:54]Write to MH i2c: E2 08 00 37 12 80 11 00 00 00 00 00 00 C3 [07:43:54]Write i2c OK [07:43:54]MH_I2C_Read... [07:43:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:43:54]Read from MH i2c: E2 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: E2 17 00 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: E2 17 00 37 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 10 [07:43:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:43:54]wFMCommunicate OK [07:43:54]requested_item fd.num is exist - process it [07:43:54]SAM_PROTO_GetFieldsCounters [07:43:54]wFMCommunicate request_size=4 [07:43:54]MH_SAM_APDU [07:43:54]CAPDU: 80 13 00 00 [07:43:54]Write to MH i2c: E2 08 00 38 12 80 13 00 00 00 00 00 00 C6 [07:43:54]Write i2c OK [07:43:54]MH_I2C_Read... [07:43:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:43:54]Read from MH i2c: E2 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: E2 62 00 [07:43:54]MH_I2C_Read... [07:43:54]Read from MH i2c: E2 62 00 38 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [07:43:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:43:54]wFMCommunicate OK [07:43:54]SAM_PROTO_GetFieldsCounters done [07:43:54]requested_item shift.num is exist - process it [07:43:54]requested_item shift.opened is exist - process it [07:43:54]req_shift_opened [07:43:54]FM_GetShiftState [07:43:54]SAM_PROTO_GetShiftState [07:43:54]wFMCommunicate request_size=4 [07:43:54]MH_SAM_APDU [07:43:54]CAPDU: 80 13 01 00 [07:43:54]Write to MH i2c: E2 08 00 39 12 80 13 01 00 00 00 00 00 C8 [07:43:54]Write i2c OK [07:43:54]MH_I2C_Read... [07:43:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:43:55]Read from MH i2c: E2 [07:43:55]MH_I2C_Read... [07:43:55]Read from MH i2c: E2 0E 00 [07:43:55]MH_I2C_Read... [07:43:55]Read from MH i2c: E2 0E 00 39 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E9 [07:43:55]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [07:43:55]wFMCommunicate OK [07:43:55]SAM_PROTO_GetShiftState done [07:43:55]FM_GetShiftState done [07:43:55]req_shift_opened done [07:43:55]requested_item shift.open_date is exist - process it [07:43:55]req_shift_open_date [07:43:55]req_shift_open_date done [07:43:55]produce_requested_data done [07:43:55]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24241,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [07:43:55]process_action_free close_receipt [07:43:55]json_value_free [07:43:55]json_value_free done [07:43:55]process_json_proto returns [07:43:55]Send response to host [07:43:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24241,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [07:43:55]free response buf [07:43:55]execute_script done [07:43:55]execute_script returns [07:43:55]free content buf [07:43:55]Sock 7.Close socket [07:43:55]Sock 7.Thread stoped [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:00]OFD Sender: No OFD packet to send [07:47:05]OFD Sender: No OFD packet to send [07:47:10]OFD Sender: No OFD packet to send [07:47:15]OFD Sender: No OFD packet to send [07:47:20]OFD Sender: No OFD packet to send [07:47:25]OFD Sender: No OFD packet to send [07:47:30]OFD Sender: No OFD packet to send [07:47:35]OFD Sender: No OFD packet to send [07:47:40]OFD Sender: No OFD packet to send [07:47:45]OFD Sender: No OFD packet to send [07:47:50]OFD Sender: No OFD packet to send [07:47:55]OFD Sender: No OFD packet to send [07:48:00]OFD Sender: No OFD packet to send [07:48:05]OFD Sender: No OFD packet to send [07:48:10]OFD Sender: No OFD packet to send [07:48:15]OFD Sender: No OFD packet to send [07:48:20]OFD Sender: No OFD packet to send [07:48:25]OFD Sender: No OFD packet to send [07:48:30]OFD Sender: No OFD packet to send [07:48:35]OFD Sender: No OFD packet to send [07:48:40]OFD Sender: No OFD packet to send [07:48:45]OFD Sender: No OFD packet to send [07:48:50]OFD Sender: No OFD packet to send [07:48:55]OFD Sender: No OFD packet to send [07:49:00]OFD Sender: No OFD packet to send [07:49:05]OFD Sender: No OFD packet to send [07:49:10]OFD Sender: No OFD packet to send [07:49:15]OFD Sender: No OFD packet to send [07:49:20]OFD Sender: No OFD packet to send [07:49:25]OFD Sender: No OFD packet to send [07:49:30]OFD Sender: No OFD packet to send [07:49:35]OFD Sender: No OFD packet to send [07:49:40]OFD Sender: No OFD packet to send [07:49:45]OFD Sender: No OFD packet to send [07:49:50]OFD Sender: No OFD packet to send [07:49:55]OFD Sender: No OFD packet to send [07:50:00]OFD Sender: No OFD packet to send [07:50:05]OFD Sender: No OFD packet to send [07:50:10]OFD Sender: No OFD packet to send [07:50:15]OFD Sender: No OFD packet to send [07:50:20]OFD Sender: No OFD packet to send [07:50:25]OFD Sender: No OFD packet to send [07:50:30]OFD Sender: No OFD packet to send [07:50:35]OFD Sender: No OFD packet to send [07:50:40]OFD Sender: No OFD packet to send [07:50:45]OFD Sender: No OFD packet to send [07:50:50]OFD Sender: No OFD packet to send [07:50:55]OFD Sender: No OFD packet to send [07:51:00]OFD Sender: No OFD packet to send [07:51:05]OFD Sender: No OFD packet to send [07:51:10]OFD Sender: No OFD packet to send [07:51:15]OFD Sender: No OFD packet to send [07:51:20]OFD Sender: No OFD packet to send [07:51:25]OFD Sender: No OFD packet to send [07:51:30]OFD Sender: No OFD packet to send [07:51:35]OFD Sender: No OFD packet to send [07:51:40]OFD Sender: No OFD packet to send [07:51:45]OFD Sender: No OFD packet to send [07:51:50]OFD Sender: No OFD packet to send [07:51:55]OFD Sender: No OFD packet to send [07:52:00]OFD Sender: No OFD packet to send [07:52:05]OFD Sender: No OFD packet to send [07:52:10]OFD Sender: No OFD packet to send [07:52:15]OFD Sender: No OFD packet to send [07:52:20]OFD Sender: No OFD packet to send [07:52:25]OFD Sender: No OFD packet to send [07:52:30]OFD Sender: No OFD packet to send [07:52:35]OFD Sender: No OFD packet to send [07:52:40]OFD Sender: No OFD packet to send [07:52:45]OFD Sender: No OFD packet to send [07:52:50]OFD Sender: No OFD packet to send [07:52:55]OFD Sender: No OFD packet to send [07:53:00]OFD Sender: No OFD packet to send [07:53:05]OFD Sender: No OFD packet to send [07:53:10]OFD Sender: No OFD packet to send [07:53:15]OFD Sender: No OFD packet to send [07:53:20]OFD Sender: No OFD packet to send [07:53:25]OFD Sender: No OFD packet to send [07:53:30]OFD Sender: No OFD packet to send [07:53:35]OFD Sender: No OFD packet to send [07:53:40]OFD Sender: No OFD packet to send [07:53:45]OFD Sender: No OFD packet to send [07:53:50]OFD Sender: No OFD packet to send [07:53:55]OFD Sender: No OFD packet to send [07:54:00]OFD Sender: No OFD packet to send [07:54:05]OFD Sender: No OFD packet to send [07:54:10]OFD Sender: No OFD packet to send [07:54:15]OFD Sender: No OFD packet to send [07:54:20]OFD Sender: No OFD packet to send [07:54:25]OFD Sender: No OFD packet to send [07:54:30]OFD Sender: No OFD packet to send [07:54:35]OFD Sender: No OFD packet to send [07:54:40]OFD Sender: No OFD packet to send [07:54:45]OFD Sender: No OFD packet to send [07:54:50]OFD Sender: No OFD packet to send [07:54:55]OFD Sender: No OFD packet to send [07:55:00]OFD Sender: No OFD packet to send [07:55:05]OFD Sender: No OFD packet to send [07:55:10]OFD Sender: No OFD packet to send [07:55:15]OFD Sender: No OFD packet to send [07:55:20]OFD Sender: No OFD packet to send [07:55:25]OFD Sender: No OFD packet to send [07:55:30]OFD Sender: No OFD packet to send [07:55:35]OFD Sender: No OFD packet to send [07:55:40]OFD Sender: No OFD packet to send [07:55:45]OFD Sender: No OFD packet to send [07:55:50]OFD Sender: No OFD packet to send [07:55:55]OFD Sender: No OFD packet to send [07:56:00]OFD Sender: No OFD packet to send [07:56:05]OFD Sender: No OFD packet to send [07:56:10]OFD Sender: No OFD packet to send [07:56:15]OFD Sender: No OFD packet to send [07:56:20]OFD Sender: No OFD packet to send [07:56:25]OFD Sender: No OFD packet to send [07:56:30]OFD Sender: No OFD packet to send [07:56:35]OFD Sender: No OFD packet to send [07:56:40]OFD Sender: No OFD packet to send [07:56:45]OFD Sender: No OFD packet to send [07:56:50]OFD Sender: No OFD packet to send [07:56:55]OFD Sender: No OFD packet to send [07:57:00]OFD Sender: No OFD packet to send [07:57:05]OFD Sender: No OFD packet to send [07:57:10]OFD Sender: No OFD packet to send [07:57:15]OFD Sender: No OFD packet to send [07:57:20]OFD Sender: No OFD packet to send [07:57:25]OFD Sender: No OFD packet to send [07:57:30]OFD Sender: No OFD packet to send [07:57:35]OFD Sender: No OFD packet to send [07:57:40]OFD Sender: No OFD packet to send [07:57:45]OFD Sender: No OFD packet to send [07:57:50]OFD Sender: No OFD packet to send [07:57:55]OFD Sender: No OFD packet to send [07:58:00]OFD Sender: No OFD packet to send [07:58:05]OFD Sender: No OFD packet to send [07:58:10]OFD Sender: No OFD packet to send [07:58:15]OFD Sender: No OFD packet to send [07:58:20]OFD Sender: No OFD packet to send [07:58:25]OFD Sender: No OFD packet to send [07:58:30]OFD Sender: No OFD packet to send [07:58:35]OFD Sender: No OFD packet to send [07:58:40]OFD Sender: No OFD packet to send [07:58:45]OFD Sender: No OFD packet to send [07:58:50]OFD Sender: No OFD packet to send [07:58:55]OFD Sender: No OFD packet to send [07:59:00]OFD Sender: No OFD packet to send [07:59:05]OFD Sender: No OFD packet to send [07:59:10]OFD Sender: No OFD packet to send [07:59:15]OFD Sender: No OFD packet to send [07:59:20]OFD Sender: No OFD packet to send [07:59:25]OFD Sender: No OFD packet to send [07:59:30]OFD Sender: No OFD packet to send [07:59:35]OFD Sender: No OFD packet to send [07:59:40]OFD Sender: No OFD packet to send [07:59:45]OFD Sender: No OFD packet to send [07:59:50]OFD Sender: No OFD packet to send [07:59:55]OFD Sender: No OFD packet to send [08:00:00]OFD Sender: No OFD packet to send [08:00:05]OFD Sender: No OFD packet to send [08:00:10]OFD Sender: No OFD packet to send [08:00:15]OFD Sender: No OFD packet to send [08:00:20]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:19]accept exits with 9 [08:03:19]New connection [08:03:19]New thread 3067243876 created [08:03:19]Thread 3067100516 joined [08:03:19]Waiting for new connection... [08:03:19] Sock 9.Parse request [08:03:19]Sock 9.Check first char [08:03:19]Sock 9.First char is OK [08:03:19]request: POST /json_proto HTTP/1.0 [08:03:19]Method: POST [08:03:19]URL: /json_proto [08:03:19]Method is POST - this is cgi request [08:03:19]url: /json_proto [08:03:19]query_string will be loaded in cgi processing [08:03:19]execute_cgi json_proto POST (null) [08:03:19]execute_cgi path=json_proto method=POST [08:03:19]POST find Content-Length [08:03:19]Host: 172.17.50.4:8080 [08:03:19]Content-Length: 632 [08:03:19]Content-Type: application/json [08:03:19] [08:03:19]POST finish read [08:03:19]Found Content-Length = 632 [08:03:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134768", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:03:19]execute_script... [08:03: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)134768", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:03:19]POST & json_proto [08:03:19]process_json_proto [08:03:19]json parsed OK: [08:03:19]protocol is kg_v1.0 [08:03:19]action value=close_receipt [08:03:19]process_action close_receipt [08:03:19]cmd_close_receipt [08:03:19]MH_GetDate [08:03:19]Write to MH i2c: F0 00 00 3A 12 3B [08:03:19]Write i2c OK [08:03:19]MH_I2C_Read... [08:03:19]Read from MH i2c: F0 [08:03:19]MH_I2C_Read... [08:03:19]Read from MH i2c: F0 09 00 [08:03:19]MH_I2C_Read... [08:03:19]Read from MH i2c: F0 09 00 3A 12 00 4C B9 14 67 1D BB 13 67 16 [08:03:19]GetLastDocTimeStamp 1729410236 [08:03:19]current date 1729411404 [08:03:19]FM_GetShiftState [08:03:19]SAM_PROTO_GetShiftState [08:03:19]wFMCommunicate request_size=4 [08:03:19]MH_SAM_APDU [08:03:19]CAPDU: 80 13 01 00 [08:03:19]Write to MH i2c: E2 08 00 3B 12 80 13 01 00 00 00 00 00 CA [08:03:19]Write i2c OK [08:03:19]MH_I2C_Read... [08:03:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:19]Read from MH i2c: E2 [08:03:19]MH_I2C_Read... [08:03:19]Read from MH i2c: E2 0E 00 [08:03:19]MH_I2C_Read... [08:03:19]Read from MH i2c: E2 0E 00 3B 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 EB [08:03:19]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:03:19]wFMCommunicate OK [08:03:19]SAM_PROTO_GetShiftState done [08:03:19]FM_GetShiftState done [08:03:19]opened in 1729382737 [08:03:19]opened+sec_in_day 1729469137 [08:03:19]quantity*price = 6000 [08:03:19]sum+1 = 6001 [08:03:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 12 20.10.2024 08:03 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24242 ФПД: 173319503357085 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080324&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24242&fm=173319503357085&tin=02508201610067®Number=0000000000098120&sum=6000 0 [08:03:20]StoreToDocumentArchive [08:03:20]shift 460 fd 24242 [08:03:20]save to /storage/0460/doc_00024242 [08:03:20]save last doc name /storage/0460/doc_00024242 to /storage/kkm_last_doc_name [08:03:20]save OK [08:03:20]Clear old archive folders... [08:03:20]ProcessDocumentItem done err = 0, tmpTLVsize=271 [08:03:20]tlvbuf is B6F083F0 [08:03:20]SAM_PROTO_ClearQueue [08:03:20]wFMCommunicate request_size=4 [08:03:20]MH_SAM_APDU [08:03:20]CAPDU: 80 09 00 00 [08:03:20]Write to MH i2c: E2 08 00 48 12 80 09 00 00 00 00 00 00 CC [08:03:20]Write i2c OK [08:03:20]MH_I2C_Read... [08:03:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:03:20]Read from MH i2c: E2 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 48 12 00 90 00 CE [08:03:20]RAPDU: 90 00 [08:03:20]wFMCommunicate OK [08:03:20]SAM_PROTO_ClearQueue done [08:03:20]KKMCreateOFDPacket [08:03:20]OFDProtocolAddRootSTLVToBuf [08:03:20]FM_MakeSignedData [08:03:20]FM_MakeSignedData [08:03:20]SAM_PROTO_SignData [08:03:20]wFMCommunicate request_size=4 [08:03:20]MH_SAM_APDU [08:03:20]CAPDU: 80 0D 01 02 [08:03:20]Write to MH i2c: E2 08 00 49 12 80 0D 01 02 00 00 00 00 D4 [08:03:20]Write i2c OK [08:03:20]MH_I2C_Read... [08:03:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:03:20]Read from MH i2c: E2 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 49 12 00 90 00 CF [08:03:20]RAPDU: 90 00 [08:03:20]wFMCommunicate OK [08:03:20]wFMCommunicate request_size=255 [08:03:20]MH_SAM_APDU [08:03:20]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 4C B9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [08:03:20]Write to MH i2c: E2 02 01 4A 12 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 4C B9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 7E [08:03:20]Write i2c OK [08:03:20]MH_I2C_Read... [08:03:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:20]Read from MH i2c: E2 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 4A 12 00 90 00 D0 [08:03:20]RAPDU: 90 00 [08:03:20]wFMCommunicate OK [08:03:20]wFMCommunicate request_size=30 [08:03:20]MH_SAM_APDU [08:03:20]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 B2 5E 00 00 35 04 06 00 9D A2 17 6E 24 9D [08:03:20]Write to MH i2c: E2 21 00 4B 12 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 B2 5E 00 00 35 04 06 00 9D A2 17 6E 24 9D 00 00 5F [08:03:20]Write i2c OK [08:03:20]MH_I2C_Read... [08:03:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:20]Read from MH i2c: E2 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 [08:03:20]MH_I2C_Read... [08:03:20]Read from MH i2c: E2 03 00 4B 12 00 90 00 D1 [08:03:20]RAPDU: 90 00 [08:03:21]wFMCommunicate OK [08:03:21]wFMCommunicate request_size=4 [08:03:21]MH_SAM_APDU [08:03:21]CAPDU: 80 0D 03 02 [08:03:21]Write to MH i2c: E2 08 00 4C 12 80 0D 03 02 00 00 00 00 D9 [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:03:21]Read from MH i2c: E2 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 0B 00 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 0B 00 4C 12 00 7D C4 44 3E 37 B1 61 1A 90 00 00 [08:03:21]RAPDU: 7D C4 44 3E 37 B1 61 1A 90 00 [08:03:21]wFMCommunicate OK [08:03:21]SAM_PROTO_SignData done [08:03:21]FM_MakeSignedData done [08:03:21]CreateOFDProtocolMessage [08:03:21]wFMCommunicate request_size=4 [08:03:21]MH_SAM_APDU [08:03:21]CAPDU: 80 11 00 00 [08:03:21]Write to MH i2c: E2 08 00 4D 12 80 11 00 00 00 00 00 00 D9 [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:21]OFD Sender: No OFD packet to send [08:03:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:21]Read from MH i2c: E2 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 17 00 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 17 00 4D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 26 [08:03:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:03:21]wFMCommunicate OK [08:03:21]CreateOFDProtocolMessage done [08:03:21]OFDSenderStorePacket 24242 [08:03:21]StoreOFDPacket docnum=24242 [08:03:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 A0 C8 1B 01 51 04 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 4C B9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B2 5E 00 00 35 04 06 00 9D A2 17 6E 24 9D 7D C4 44 3E 37 B1 61 1A [08:03:21]CheckFolder [08:03:21]dirname=/storage/ofd_packets [08:03:21]CheckFolder done [08:03:21]ProducePacketName [08:03:21]name=ofd_packets/00024242 [08:03:21]NVStorageSaveData ofd_packets/00024242 [08:03:21]File name is /storage/ofd_packets/00024242 [08:03:21]Write 321 bytes [08:03:21]NVStorageSaveData done [08:03:21]OFDSenderStorePacket done [08:03:21]KKMCreateOFDPacket done [08:03:21]NVStorageSaveData kkm_last_timestamp [08:03:21]File name is /storage/kkm_last_timestamp [08:03:21]Write 4 bytes [08:03:21]NVStorageSaveData done [08:03:21]ExternCall_PrintAddStr [08:03:21]wPrintStart [08:03:21]Write to MH i2c: 01 00 00 4E 12 60 [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 07 00 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 07 00 4E 12 00 00 00 00 00 FF 0F 75 [08:03:21]RasterBufferAndPrint [08:03:21]line Счет N : (3)134768 [08:03:21]line ИНН: 02508201610067 [08:03:21]line Контрольно-Кассовый Чек [08:03:21]line ПРОДАЖА [08:03:21]line Товар: 4700025313937 [08:03:21]line ВОДКА МЯГКАЯ 0,1л [08:03:21]line 1.000 * 60.00 [08:03:21]line = 60.00 [08:03:21]line НДС 12% НСП 1% [08:03:21]line > о реализуемом товаре [08:03:21]line ИТОГО: 60.00 [08:03:21]line НСП 1% : 0.53 [08:03:21]line НДС 12% : 6.37 [08:03:21]line Наличными: 60.00 [08:03:21]line Безнал.: 0.00 [08:03:21]line Место: АЗС № 85 "Партнер Нефть" [08:03:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:03:21]line СНО: Общий режим [08:03:21]line Чек 12 20.10.2024 08:03 [08:03:21]line Смена: 460 ФФД: 1.0 [08:03:21]line ЗНМ: 0300000166 [08:03:21]line РНМ: 0000000000098120 [08:03:21]line Версия ККМ: 001 [08:03:21]line ФМ: 0000000000965420 [08:03:21]line ФД: 24242 [08:03:21]line ФПД: 173319503357085 [08:03:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T080324&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24242&fm=173319503357085&tin=02508201610067®Number=0000000000098120&sum=6000 [08:03:21]line 0 [08:03:21]OFD Sender: Processing packet 24242 [packets to send 5, broken 4] [08:03:21]ProducePacketName [08:03:21]name=ofd_packets/00024242 [08:03:21]OFD Sender: To server: pG, [08:03:21]CommunicateWithHost lk.salyk.kg:30040 [08:03:21]ConnectInit lk.salyk.kg [08:03:21]written 0, free lines is 4095 [08:03:21]Connected sock=10 [08:03:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 A0 C8 1B 01 51 04 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 4C B9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B2 5E 00 00 35 04 06 00 9D A2 17 6E 24 9D 7D C4 44 3E 37 B1 61 1A [08:03:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 04 7A 47 00 1C CE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B2 5E 00 00 F4 03 04 00 E4 64 14 67 B6 04 01 00 00 F3 76 2B 81 26 62 E8 53 [08:03:21]CommunicateWithHost err = 0 [08:03:21]CheckOFDResponse [08:03:21]1017 (14) - 77093643461234 [08:03:21]1041 (16) - 0000000000965420 [08:03:21]1040 (4) - 24242 [08:03:21]1012 (4) - 20.10.2024 02:03 [08:03:21]1206 (1) - 0 [08:03:21]OFD Sender: Remove packet 24242 [08:03:21]ProducePacketName [08:03:21]name=ofd_packets/00024242 [08:03:21]NVStorageDeleteData [08:03:21]Write to MH i2c: 01 00 00 76 12 88 [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 07 00 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: 01 07 00 76 12 00 00 00 00 00 1D 0D B9 [08:03:21]RasterBufferAndPrint [08:03:21]line [08:03:21]line [08:03:21]line [08:03:21]line [08:03:21]line [08:03:21]written 0, free lines is 3363 [08:03:21]process_action close_receipt done [08:03:21]requested_data is exist [08:03:21]produce_requested_data [08:03:21]requested_item fm.sn is exist - process it [08:03:21]wFMCommunicate request_size=4 [08:03:21]MH_SAM_APDU [08:03:21]CAPDU: 80 11 00 00 [08:03:21]Write to MH i2c: E2 08 00 7D 12 80 11 00 00 00 00 00 00 09 [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:21]Read from MH i2c: E2 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 17 00 [08:03:21]MH_I2C_Read... [08:03:21]Read from MH i2c: E2 17 00 7D 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 56 [08:03:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:03:21]wFMCommunicate OK [08:03:21]requested_item fd.num is exist - process it [08:03:21]SAM_PROTO_GetFieldsCounters [08:03:21]wFMCommunicate request_size=4 [08:03:21]MH_SAM_APDU [08:03:21]CAPDU: 80 13 00 00 [08:03:21]Write to MH i2c: E2 08 00 7E 12 80 13 00 00 00 00 00 00 0C [08:03:21]Write i2c OK [08:03:21]MH_I2C_Read... [08:03:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:03:22]Read from MH i2c: E2 [08:03:22]MH_I2C_Read... [08:03:22]Read from MH i2c: E2 62 00 [08:03:22]MH_I2C_Read... [08:03:22]Read from MH i2c: E2 62 00 7E 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 23 [08:03:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:03:22]wFMCommunicate OK [08:03:22]SAM_PROTO_GetFieldsCounters done [08:03:22]requested_item shift.num is exist - process it [08:03:22]requested_item shift.opened is exist - process it [08:03:22]req_shift_opened [08:03:22]FM_GetShiftState [08:03:22]SAM_PROTO_GetShiftState [08:03:22]wFMCommunicate request_size=4 [08:03:22]MH_SAM_APDU [08:03:22]CAPDU: 80 13 01 00 [08:03:22]Write to MH i2c: E2 08 00 7F 12 80 13 01 00 00 00 00 00 0E [08:03:22]Write i2c OK [08:03:22]MH_I2C_Read... [08:03:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:22]Read from MH i2c: E2 [08:03:22]MH_I2C_Read... [08:03:22]Read from MH i2c: E2 0E 00 [08:03:22]MH_I2C_Read... [08:03:22]Read from MH i2c: E2 0E 00 7F 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2F [08:03:22]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:03:22]wFMCommunicate OK [08:03:22]SAM_PROTO_GetShiftState done [08:03:22]FM_GetShiftState done [08:03:22]req_shift_opened done [08:03:22]requested_item shift.open_date is exist - process it [08:03:22]req_shift_open_date [08:03:22]req_shift_open_date done [08:03:22]produce_requested_data done [08:03:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24242,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [08:03:22]process_action_free close_receipt [08:03:22]json_value_free [08:03:22]json_value_free done [08:03:22]process_json_proto returns [08:03:22]Send response to host [08:03:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24242,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [08:03:22]free response buf [08:03:22]execute_script done [08:03:22]execute_script returns [08:03:22]free content buf [08:03:22]Sock 9.Close socket [08:03:22]Sock 9.Thread stoped [08:03:22]OFD Sender: No OFD packet to send [08:03:27]OFD Sender: No OFD packet to send [08:03:32]OFD Sender: No OFD packet to send [08:03:37]OFD Sender: No OFD packet to send [08:03:42]OFD Sender: No OFD packet to send [08:03:47]OFD Sender: No OFD packet to send [08:03:52]OFD Sender: No OFD packet to send [08:03:57]OFD Sender: No OFD packet to send [08:04:02]OFD Sender: No OFD packet to send [08:04:07]OFD Sender: No OFD packet to send [08:04:12]OFD Sender: No OFD packet to send [08:04:17]OFD Sender: No OFD packet to send [08:04:22]OFD Sender: No OFD packet to send [08:04:27]OFD Sender: No OFD packet to send [08:04:32]OFD Sender: No OFD packet to send [08:04:37]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:32]OFD Sender: No OFD packet to send [08:05:37]OFD Sender: No OFD packet to send [08:05:42]OFD Sender: No OFD packet to send [08:05:47]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [08:06:02]OFD Sender: No OFD packet to send [08:06:07]OFD Sender: No OFD packet to send [08:06:12]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:32]OFD Sender: No OFD packet to send [08:16:37]OFD Sender: No OFD packet to send [08:16:42]OFD Sender: No OFD packet to send [08:16:47]OFD Sender: No OFD packet to send [08:16:52]OFD Sender: No OFD packet to send [08:16:57]OFD Sender: No OFD packet to send [08:17:02]OFD Sender: No OFD packet to send [08:17:07]OFD Sender: No OFD packet to send [08:17:12]OFD Sender: No OFD packet to send [08:17:17]OFD Sender: No OFD packet to send [08:17:22]OFD Sender: No OFD packet to send [08:17:27]OFD Sender: No OFD packet to send [08:17:32]OFD Sender: No OFD packet to send [08:17:37]OFD Sender: No OFD packet to send [08:17:42]OFD Sender: No OFD packet to send [08:17:47]OFD Sender: No OFD packet to send [08:17:52]OFD Sender: No OFD packet to send [08:17:57]OFD Sender: No OFD packet to send [08:18:02]OFD Sender: No OFD packet to send [08:18:07]OFD Sender: No OFD packet to send [08:18:12]OFD Sender: No OFD packet to send [08:18:17]OFD Sender: No OFD packet to send [08:18:22]OFD Sender: No OFD packet to send [08:18:27]OFD Sender: No OFD packet to send [08:18:32]OFD Sender: No OFD packet to send [08:18:36]accept exits with 7 [08:18:36]New connection [08:18:36]New thread 3067100516 created [08:18:36]Thread 3067243876 joined [08:18:36]Waiting for new connection... [08:18:36] Sock 7.Parse request [08:18:36]Sock 7.Check first char [08:18:36]Sock 7.First char is OK [08:18:36]request: POST /json_proto HTTP/1.0 [08:18:36]Method: POST [08:18:36]URL: /json_proto [08:18:36]Method is POST - this is cgi request [08:18:36]url: /json_proto [08:18:36]query_string will be loaded in cgi processing [08:18:36]execute_cgi json_proto POST (null) [08:18:36]execute_cgi path=json_proto method=POST [08:18:36]POST find Content-Length [08:18:36]Host: 172.17.50.4:8080 [08:18:36]Content-Length: 608 [08:18:36]Content-Type: application/json [08:18:36] [08:18:36]POST finish read [08:18:36]Found Content-Length = 608 [08:18:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134769", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 4.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:36]execute_script... [08:18:36]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134769", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 4.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:18:36]POST & json_proto [08:18:36]process_json_proto [08:18:36]json parsed OK: [08:18:36]protocol is kg_v1.0 [08:18:36]action value=close_receipt [08:18:36]process_action close_receipt [08:18:36]cmd_close_receipt [08:18:36]MH_GetDate [08:18:36]Write to MH i2c: F0 00 00 80 12 81 [08:18:36]Write i2c OK [08:18:36]MH_I2C_Read... [08:18:36]Read from MH i2c: F0 [08:18:36]MH_I2C_Read... [08:18:36]Read from MH i2c: F0 09 00 [08:18:36]MH_I2C_Read... [08:18:36]Read from MH i2c: F0 09 00 80 12 00 E1 BC 14 67 1D BB 13 67 F4 [08:18:36]GetLastDocTimeStamp 1729411404 [08:18:36]current date 1729412321 [08:18:36]FM_GetShiftState [08:18:36]SAM_PROTO_GetShiftState [08:18:36]wFMCommunicate request_size=4 [08:18:36]MH_SAM_APDU [08:18:36]CAPDU: 80 13 01 00 [08:18:36]Write to MH i2c: E2 08 00 81 12 80 13 01 00 00 00 00 00 10 [08:18:36]Write i2c OK [08:18:36]MH_I2C_Read... [08:18:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:36]Read from MH i2c: E2 [08:18:36]MH_I2C_Read... [08:18:36]Read from MH i2c: E2 0E 00 [08:18:36]MH_I2C_Read... [08:18:36]Read from MH i2c: E2 0E 00 81 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 31 [08:18:36]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:18:36]wFMCommunicate OK [08:18:36]SAM_PROTO_GetShiftState done [08:18:36]FM_GetShiftState done [08:18:36]opened in 1729382737 [08:18:36]opened+sec_in_day 1729469137 [08:18:36]quantity*price = 4000 [08:18:36]sum+1 = 4001 [08:18:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 13 20.10.2024 08:18 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24243 ФПД: 111278825509292 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081841&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24243&fm=111278825509292&tin=02508201610067®Number=0000000000098120&sum=4000 0 [08:18:37]StoreToDocumentArchive [08:18:37]shift 460 fd 24243 [08:18:37]save to /storage/0460/doc_00024243 [08:18:37]save last doc name /storage/0460/doc_00024243 to /storage/kkm_last_doc_name [08:18:37]save OK [08:18:37]Clear old archive folders... [08:18:37]ProcessDocumentItem done err = 0, tmpTLVsize=267 [08:18:37]tlvbuf is 02093780 [08:18:37]SAM_PROTO_ClearQueue [08:18:37]wFMCommunicate request_size=4 [08:18:37]MH_SAM_APDU [08:18:37]CAPDU: 80 09 00 00 [08:18:37]Write to MH i2c: E2 08 00 8E 12 80 09 00 00 00 00 00 00 12 [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:18:37]Read from MH i2c: E2 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 8E 12 00 90 00 14 [08:18:37]RAPDU: 90 00 [08:18:37]wFMCommunicate OK [08:18:37]SAM_PROTO_ClearQueue done [08:18:37]KKMCreateOFDPacket [08:18:37]OFDProtocolAddRootSTLVToBuf [08:18:37]FM_MakeSignedData [08:18:37]FM_MakeSignedData [08:18:37]SAM_PROTO_SignData [08:18:37]wFMCommunicate request_size=4 [08:18:37]MH_SAM_APDU [08:18:37]CAPDU: 80 0D 01 02 [08:18:37]Write to MH i2c: E2 08 00 8F 12 80 0D 01 02 00 00 00 00 1A [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:18:37]Read from MH i2c: E2 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 8F 12 00 90 00 15 [08:18:37]RAPDU: 90 00 [08:18:37]wFMCommunicate OK [08:18:37]wFMCommunicate request_size=255 [08:18:37]MH_SAM_APDU [08:18:37]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 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 BC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [08:18:37]Write to MH i2c: E2 02 01 90 12 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 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 BC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 08 [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:37]Read from MH i2c: E2 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 90 12 00 90 00 16 [08:18:37]RAPDU: 90 00 [08:18:37]wFMCommunicate OK [08:18:37]wFMCommunicate request_size=26 [08:18:37]MH_SAM_APDU [08:18:37]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 B3 5E 00 00 35 04 06 00 65 35 1E DD 91 AC [08:18:37]Write to MH i2c: E2 1D 00 91 12 80 0D 02 02 15 00 34 32 30 10 04 04 00 B3 5E 00 00 35 04 06 00 65 35 1E DD 91 AC 00 00 17 [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:18:37]Read from MH i2c: E2 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 03 00 91 12 00 90 00 17 [08:18:37]RAPDU: 90 00 [08:18:37]wFMCommunicate OK [08:18:37]wFMCommunicate request_size=4 [08:18:37]MH_SAM_APDU [08:18:37]CAPDU: 80 0D 03 02 [08:18:37]Write to MH i2c: E2 08 00 92 12 80 0D 03 02 00 00 00 00 1F [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:18:37]Read from MH i2c: E2 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 0B 00 [08:18:37]MH_I2C_Read... [08:18:37]Read from MH i2c: E2 0B 00 92 12 00 60 4C F3 FB 56 FA AD 64 90 00 1B [08:18:37]RAPDU: 60 4C F3 FB 56 FA AD 64 90 00 [08:18:37]wFMCommunicate OK [08:18:37]SAM_PROTO_SignData done [08:18:37]FM_MakeSignedData done [08:18:37]CreateOFDProtocolMessage [08:18:37]wFMCommunicate request_size=4 [08:18:37]MH_SAM_APDU [08:18:37]CAPDU: 80 11 00 00 [08:18:37]Write to MH i2c: E2 08 00 93 12 80 11 00 00 00 00 00 00 1F [08:18:37]Write i2c OK [08:18:37]MH_I2C_Read... [08:18:38]OFD Sender: No OFD packet to send [08:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:38]Read from MH i2c: E2 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: E2 17 00 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: E2 17 00 93 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6C [08:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:18:38]wFMCommunicate OK [08:18:38]CreateOFDProtocolMessage done [08:18:38]OFDSenderStorePacket 24243 [08:18:38]StoreOFDPacket docnum=24243 [08:18:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 D3 96 17 01 B0 AB 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 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 BC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B3 5E 00 00 35 04 06 00 65 35 1E DD 91 AC 60 4C F3 FB 56 FA AD 64 [08:18:38]CheckFolder [08:18:38]dirname=/storage/ofd_packets [08:18:38]CheckFolder done [08:18:38]ProducePacketName [08:18:38]name=ofd_packets/00024243 [08:18:38]NVStorageSaveData ofd_packets/00024243 [08:18:38]File name is /storage/ofd_packets/00024243 [08:18:38]Write 317 bytes [08:18:38]NVStorageSaveData done [08:18:38]OFDSenderStorePacket done [08:18:38]KKMCreateOFDPacket done [08:18:38]NVStorageSaveData kkm_last_timestamp [08:18:38]File name is /storage/kkm_last_timestamp [08:18:38]Write 4 bytes [08:18:38]NVStorageSaveData done [08:18:38]ExternCall_PrintAddStr [08:18:38]wPrintStart [08:18:38]Write to MH i2c: 01 00 00 94 12 A6 [08:18:38]Write i2c OK [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 07 00 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 07 00 94 12 00 00 00 00 00 FF 0F BB [08:18:38]RasterBufferAndPrint [08:18:38]line Счет N : (3)134769 [08:18:38]line ИНН: 02508201610067 [08:18:38]line Контрольно-Кассовый Чек [08:18:38]line ПРОДАЖА [08:18:38]line Товар: 46231529 [08:18:38]line Mentos ПФ Арбуз 6*100*2 [08:18:38]line 4.000 * 10.00 [08:18:38]line = 40.00 [08:18:38]line НДС 12% НСП 1% [08:18:38]line > о реализуемом товаре [08:18:38]line ИТОГО: 40.00 [08:18:38]line НСП 1% : 0.35 [08:18:38]line НДС 12% : 4.25 [08:18:38]line Наличными: 40.00 [08:18:38]line Безнал.: 0.00 [08:18:38]line Место: АЗС № 85 "Партнер Нефть" [08:18:38]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:18:38]line СНО: Общий режим [08:18:38]line Чек 13 20.10.2024 08:18 [08:18:38]line Смена: 460 ФФД: 1.0 [08:18:38]line ЗНМ: 0300000166 [08:18:38]line РНМ: 0000000000098120 [08:18:38]line Версия ККМ: 001 [08:18:38]line ФМ: 0000000000965420 [08:18:38]line ФД: 24243 [08:18:38]line ФПД: 111278825509292 [08:18:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T081841&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24243&fm=111278825509292&tin=02508201610067®Number=0000000000098120&sum=4000 [08:18:38]OFD Sender: Processing packet 24243 [packets to send 5, broken 4] [08:18:38]ProducePacketName [08:18:38]name=ofd_packets/00024243 [08:18:38]OFD Sender: To server: pG, [08:18:38]CommunicateWithHost lk.salyk.kg:30040 [08:18:38]ConnectInit lk.salyk.kg [08:18:38]line 0 [08:18:38]written 0, free lines is 4095 [08:18:38]Connected sock=10 [08:18:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 D3 96 17 01 B0 AB 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 A0 0F 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 E1 BC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B3 5E 00 00 35 04 06 00 65 35 1E DD 91 AC 60 4C F3 FB 56 FA AD 64 [08:18:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 0D 6D 47 00 DD 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B3 5E 00 00 F4 03 04 00 79 68 14 67 B6 04 01 00 00 D0 23 5D D5 B7 18 6B C6 [08:18:38]CommunicateWithHost err = 0 [08:18:38]CheckOFDResponse [08:18:38]1017 (14) - 77093643461234 [08:18:38]1041 (16) - 0000000000965420 [08:18:38]1040 (4) - 24243 [08:18:38]1012 (4) - 20.10.2024 02:18 [08:18:38]1206 (1) - 0 [08:18:38]OFD Sender: Remove packet 24243 [08:18:38]ProducePacketName [08:18:38]name=ofd_packets/00024243 [08:18:38]NVStorageDeleteData [08:18:38]Write to MH i2c: 01 00 00 BC 12 CE [08:18:38]Write i2c OK [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 07 00 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: 01 07 00 BC 12 00 00 00 00 00 2B 0D 0D [08:18:38]RasterBufferAndPrint [08:18:38]line [08:18:38]line [08:18:38]line [08:18:38]line [08:18:38]line [08:18:38]written 0, free lines is 3378 [08:18:38]process_action close_receipt done [08:18:38]requested_data is exist [08:18:38]produce_requested_data [08:18:38]requested_item fm.sn is exist - process it [08:18:38]wFMCommunicate request_size=4 [08:18:38]MH_SAM_APDU [08:18:38]CAPDU: 80 11 00 00 [08:18:38]Write to MH i2c: E2 08 00 C3 12 80 11 00 00 00 00 00 00 4F [08:18:38]Write i2c OK [08:18:38]MH_I2C_Read... [08:18:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:18:38]Read from MH i2c: E2 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: E2 17 00 [08:18:38]MH_I2C_Read... [08:18:38]Read from MH i2c: E2 17 00 C3 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9C [08:18:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:18:38]wFMCommunicate OK [08:18:38]requested_item fd.num is exist - process it [08:18:38]SAM_PROTO_GetFieldsCounters [08:18:38]wFMCommunicate request_size=4 [08:18:38]MH_SAM_APDU [08:18:38]CAPDU: 80 13 00 00 [08:18:38]Write to MH i2c: E2 08 00 C4 12 80 13 00 00 00 00 00 00 52 [08:18:38]Write i2c OK [08:18:38]MH_I2C_Read... [08:18:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:18:39]Read from MH i2c: E2 [08:18:39]MH_I2C_Read... [08:18:39]Read from MH i2c: E2 62 00 [08:18:39]MH_I2C_Read... [08:18:39]Read from MH i2c: E2 62 00 C4 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 6D [08:18:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:18:39]wFMCommunicate OK [08:18:39]SAM_PROTO_GetFieldsCounters done [08:18:39]requested_item shift.num is exist - process it [08:18:39]requested_item shift.opened is exist - process it [08:18:39]req_shift_opened [08:18:39]FM_GetShiftState [08:18:39]SAM_PROTO_GetShiftState [08:18:39]wFMCommunicate request_size=4 [08:18:39]MH_SAM_APDU [08:18:39]CAPDU: 80 13 01 00 [08:18:39]Write to MH i2c: E2 08 00 C5 12 80 13 01 00 00 00 00 00 54 [08:18:39]Write i2c OK [08:18:39]MH_I2C_Read... [08:18:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:18:39]Read from MH i2c: E2 [08:18:39]MH_I2C_Read... [08:18:39]Read from MH i2c: E2 0E 00 [08:18:39]MH_I2C_Read... [08:18:39]Read from MH i2c: E2 0E 00 C5 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 75 [08:18:39]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:18:39]wFMCommunicate OK [08:18:39]SAM_PROTO_GetShiftState done [08:18:39]FM_GetShiftState done [08:18:39]req_shift_opened done [08:18:39]requested_item shift.open_date is exist - process it [08:18:39]req_shift_open_date [08:18:39]req_shift_open_date done [08:18:39]produce_requested_data done [08:18:39]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24243,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [08:18:39]process_action_free close_receipt [08:18:39]json_value_free [08:18:39]json_value_free done [08:18:39]process_json_proto returns [08:18:39]Send response to host [08:18:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24243,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [08:18:39]free response buf [08:18:39]execute_script done [08:18:39]execute_script returns [08:18:39]free content buf [08:18:39]Sock 7.Close socket [08:18:39]Sock 7.Thread stoped [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:54]OFD Sender: No OFD packet to send [08:26:59]OFD Sender: No OFD packet to send [08:27:04]OFD Sender: No OFD packet to send [08:27:09]OFD Sender: No OFD packet to send [08:27:14]OFD Sender: No OFD packet to send [08:27:19]OFD Sender: No OFD packet to send [08:27:24]OFD Sender: No OFD packet to send [08:27:29]OFD Sender: No OFD packet to send [08:27:34]OFD Sender: No OFD packet to send [08:27:39]OFD Sender: No OFD packet to send [08:27:44]OFD Sender: No OFD packet to send [08:27:49]OFD Sender: No OFD packet to send [08:27:54]OFD Sender: No OFD packet to send [08:27:59]OFD Sender: No OFD packet to send [08:28:04]OFD Sender: No OFD packet to send [08:28:09]OFD Sender: No OFD packet to send [08:28:14]OFD Sender: No OFD packet to send [08:28:19]OFD Sender: No OFD packet to send [08:28:24]OFD Sender: No OFD packet to send [08:28:29]OFD Sender: No OFD packet to send [08:28:34]OFD Sender: No OFD packet to send [08:28:39]OFD Sender: No OFD packet to send [08:28:44]OFD Sender: No OFD packet to send [08:28:49]OFD Sender: No OFD packet to send [08:28: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:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:12]accept exits with 9 [08:37:12]New connection [08:37:12]New thread 3067243876 created [08:37:12]Thread 3067100516 joined [08:37:12]Waiting for new connection... [08:37:12] Sock 9.Parse request [08:37:12]Sock 9.Check first char [08:37:12]Sock 9.First char is OK [08:37:12]request: POST /json_proto HTTP/1.0 [08:37:12]Method: POST [08:37:12]URL: /json_proto [08:37:12]Method is POST - this is cgi request [08:37:12]url: /json_proto [08:37:12]query_string will be loaded in cgi processing [08:37:12]execute_cgi json_proto POST (null) [08:37:12]execute_cgi path=json_proto method=POST [08:37:12]POST find Content-Length [08:37:12]Host: 172.17.50.4:8080 [08:37:12]Content-Length: 861 [08:37:12]Content-Type: application/json [08:37:12] [08:37:12]POST finish read [08:37:12]Found Content-Length = 861 [08:37:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134770", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:12]execute_script... [08:37:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134770", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:37:12]POST & json_proto [08:37:12]process_json_proto [08:37:12]json parsed OK: [08:37:12]protocol is kg_v1.0 [08:37:12]action value=close_receipt [08:37:12]process_action close_receipt [08:37:12]cmd_close_receipt [08:37:12]MH_GetDate [08:37:12]Write to MH i2c: F0 00 00 C6 12 C7 [08:37:12]Write i2c OK [08:37:12]MH_I2C_Read... [08:37:12]Read from MH i2c: F0 [08:37:12]MH_I2C_Read... [08:37:12]Read from MH i2c: F0 09 00 [08:37:12]MH_I2C_Read... [08:37:12]Read from MH i2c: F0 09 00 C6 12 00 3D C1 14 67 1D BB 13 67 9B [08:37:12]GetLastDocTimeStamp 1729412321 [08:37:12]current date 1729413437 [08:37:12]FM_GetShiftState [08:37:12]SAM_PROTO_GetShiftState [08:37:12]wFMCommunicate request_size=4 [08:37:12]MH_SAM_APDU [08:37:12]CAPDU: 80 13 01 00 [08:37:12]Write to MH i2c: E2 08 00 C7 12 80 13 01 00 00 00 00 00 56 [08:37:12]Write i2c OK [08:37:12]MH_I2C_Read... [08:37:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:12]Read from MH i2c: E2 [08:37:12]MH_I2C_Read... [08:37:12]Read from MH i2c: E2 0E 00 [08:37:12]MH_I2C_Read... [08:37:12]Read from MH i2c: E2 0E 00 C7 12 00 09 00 01 51 49 14 67 00 00 00 00 90 00 77 [08:37:12]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:37:12]wFMCommunicate OK [08:37:12]SAM_PROTO_GetShiftState done [08:37:12]FM_GetShiftState done [08:37:12]opened in 1729382737 [08:37:12]opened+sec_in_day 1729469137 [08:37:12]quantity*price = 8000 [08:37:12]sum+1 = 8001 [08:37:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160358 Вода Легенда 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.81 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 14 20.10.2024 08:37 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24244 ФПД: 142528404125337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T083717&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24244&fm=142528404125337&tin=02508201610067®Number=0000000000098120&sum=13000 0 [08:37:13]StoreToDocumentArchive [08:37:13]shift 460 fd 24244 [08:37:13]save to /storage/0460/doc_00024244 [08:37:13]save last doc name /storage/0460/doc_00024244 to /storage/kkm_last_doc_name [08:37:13]save OK [08:37:13]Clear old archive folders... [08:37:13]ProcessDocumentItem done err = 0, tmpTLVsize=367 [08:37:13]tlvbuf is 020930C0 [08:37:13]SAM_PROTO_ClearQueue [08:37:13]wFMCommunicate request_size=4 [08:37:13]MH_SAM_APDU [08:37:13]CAPDU: 80 09 00 00 [08:37:13]Write to MH i2c: E2 08 00 D4 12 80 09 00 00 00 00 00 00 58 [08:37:13]Write i2c OK [08:37:13]MH_I2C_Read... [08:37:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:37:13]Read from MH i2c: E2 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 D4 12 00 90 00 5A [08:37:13]RAPDU: 90 00 [08:37:13]wFMCommunicate OK [08:37:13]SAM_PROTO_ClearQueue done [08:37:13]KKMCreateOFDPacket [08:37:13]OFDProtocolAddRootSTLVToBuf [08:37:13]FM_MakeSignedData [08:37:13]FM_MakeSignedData [08:37:13]SAM_PROTO_SignData [08:37:13]wFMCommunicate request_size=4 [08:37:13]MH_SAM_APDU [08:37:13]CAPDU: 80 0D 01 02 [08:37:13]Write to MH i2c: E2 08 00 D5 12 80 0D 01 02 00 00 00 00 60 [08:37:13]Write i2c OK [08:37:13]MH_I2C_Read... [08:37:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:37:13]Read from MH i2c: E2 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 D5 12 00 90 00 5B [08:37:13]RAPDU: 90 00 [08:37:13]wFMCommunicate OK [08:37:13]wFMCommunicate request_size=255 [08:37:13]MH_SAM_APDU [08:37:13]CAPDU: 80 0D 02 02 FA 03 00 6F 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [08:37:13]Write to MH i2c: E2 02 01 D6 12 80 0D 02 02 FA 00 03 00 6F 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 62 [08:37:13]Write i2c OK [08:37:13]MH_I2C_Read... [08:37:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:13]Read from MH i2c: E2 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 [08:37:13]MH_I2C_Read... [08:37:13]Read from MH i2c: E2 03 00 D6 12 00 90 00 5C [08:37:13]RAPDU: 90 00 [08:37:13]wFMCommunicate OK [08:37:13]wFMCommunicate request_size=126 [08:37:13]MH_SAM_APDU [08:37:13]CAPDU: 80 0D 02 02 79 06 00 65 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 0E 00 00 00 F4 03 04 00 3D C1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B4 5E 00 00 35 04 06 00 81 A0 FA E5 F6 99 [08:37:13]Write to MH i2c: E2 81 00 D7 12 80 0D 02 02 79 00 06 00 65 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 0E 00 00 00 F4 03 04 00 3D C1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B4 5E 00 00 35 04 06 00 81 A0 FA E5 F6 99 00 00 E3 [08:37:13]Write i2c OK [08:37:13]MH_I2C_Read... [08:37:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:37:14]Read from MH i2c: E2 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 03 00 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 03 00 D7 12 00 90 00 5D [08:37:14]RAPDU: 90 00 [08:37:14]wFMCommunicate OK [08:37:14]wFMCommunicate request_size=4 [08:37:14]MH_SAM_APDU [08:37:14]CAPDU: 80 0D 03 02 [08:37:14]Write to MH i2c: E2 08 00 D8 12 80 0D 03 02 00 00 00 00 65 [08:37:14]Write i2c OK [08:37:14]MH_I2C_Read... [08:37:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:37:14]Read from MH i2c: E2 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 0B 00 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 0B 00 D8 12 00 30 FA D1 CD 12 D3 9C 76 90 00 25 [08:37:14]RAPDU: 30 FA D1 CD 12 D3 9C 76 90 00 [08:37:14]wFMCommunicate OK [08:37:14]SAM_PROTO_SignData done [08:37:14]FM_MakeSignedData done [08:37:14]CreateOFDProtocolMessage [08:37:14]wFMCommunicate request_size=4 [08:37:14]MH_SAM_APDU [08:37:14]CAPDU: 80 11 00 00 [08:37:14]Write to MH i2c: E2 08 00 D9 12 80 11 00 00 00 00 00 00 65 [08:37:14]Write i2c OK [08:37:14]MH_I2C_Read... [08:37:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:14]Read from MH i2c: E2 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 17 00 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: E2 17 00 D9 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B2 [08:37:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:37:14]wFMCommunicate OK [08:37:14]CreateOFDProtocolMessage done [08:37:14]OFDSenderStorePacket 24244 [08:37:14]StoreOFDPacket docnum=24244 [08:37:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 83 01 00 00 1D 4C 7B 01 58 90 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 65 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 0E 00 00 00 F4 03 04 00 3D C1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B4 5E 00 00 35 04 06 00 81 A0 FA E5 F6 99 30 FA D1 CD 12 D3 9C 76 [08:37:14]CheckFolder [08:37:14]dirname=/storage/ofd_packets [08:37:14]CheckFolder done [08:37:14]ProducePacketName [08:37:14]name=ofd_packets/00024244 [08:37:14]NVStorageSaveData ofd_packets/00024244 [08:37:14]File name is /storage/ofd_packets/00024244 [08:37:14]Write 417 bytes [08:37:14]NVStorageSaveData done [08:37:14]OFDSenderStorePacket done [08:37:14]KKMCreateOFDPacket done [08:37:14]NVStorageSaveData kkm_last_timestamp [08:37:14]File name is /storage/kkm_last_timestamp [08:37:14]Write 4 bytes [08:37:14]NVStorageSaveData done [08:37:14]ExternCall_PrintAddStr [08:37:14]wPrintStart [08:37:14]Write to MH i2c: 01 00 00 DA 12 EC [08:37:14]Write i2c OK [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: 01 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: 01 07 00 [08:37:14]MH_I2C_Read... [08:37:14]Read from MH i2c: 01 07 00 DA 12 00 00 00 00 00 FF 0F 01 [08:37:14]RasterBufferAndPrint [08:37:14]line Счет N : (3)134770 [08:37:14]line ИНН: 02508201610067 [08:37:14]line Контрольно-Кассовый Чек [08:37:14]line ПРОДАЖА [08:37:14]line Товар: 4870001570057 [08:37:14]line Напиток Pepsi 0,5л [08:37:14]line 1.000 * 80.00 [08:37:14]line = 80.00 [08:37:14]line НДС 12% НСП 1% [08:37:14]line > о реализуемом товаре [08:37:14]line Товар: 4700000160358 [08:37:14]line Вода Легенда 1л [08:37:14]line 1.000 * 50.00 [08:37:14]line = 50.00 [08:37:14]line НДС 12% НСП 1% [08:37:14]line > о реализуемом товаре [08:37:14]line ИТОГО: 130.00 [08:37:14]line НСП 1% : 1.15 [08:37:14]line НДС 12% : 13.81 [08:37:14]line Наличными: 130.00 [08:37:14]line Безнал.: 0.00 [08:37:14]line Место: АЗС № 85 "Партнер Нефть" [08:37:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:37:14]line СНО: Общий режим [08:37:14]line Чек 14 20.10.2024 08:37 [08:37:14]line Смена: 460 ФФД: 1.0 [08:37:14]line ЗНМ: 0300000166 [08:37:14]line РНМ: 0000000000098120 [08:37:14]line Версия ККМ: 001 [08:37:14]line ФМ: 0000000000965420 [08:37:14]line ФД: 24244 [08:37:14]line ФПД: 142528404125337 [08:37:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T083717&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24244&fm=142528404125337&tin=02508201610067®Number=0000000000098120&sum=13000 [08:37:14]line 0 [08:37:14]OFD Sender: Processing packet 24244 [packets to send 5, broken 4] [08:37:14]ProducePacketName [08:37:14]name=ofd_packets/00024244 [08:37:14]OFD Sender: To server: pG, [08:37:14]CommunicateWithHost lk.salyk.kg:30040 [08:37:14]ConnectInit lk.salyk.kg [08:37:14]written 0, free lines is 4095 [08:37:14]Connected sock=10 [08:37:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 83 01 00 00 1D 4C 7B 01 58 90 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 65 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 0E 00 00 00 F4 03 04 00 3D C1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B4 5E 00 00 35 04 06 00 81 A0 FA E5 F6 99 30 FA D1 CD 12 D3 9C 76 [08:37:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 A9 9A 47 00 F3 D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B4 5E 00 00 F4 03 04 00 D5 6C 14 67 B6 04 01 00 00 B3 09 1E 72 86 E8 E0 BA [08:37:14]CommunicateWithHost err = 0 [08:37:14]CheckOFDResponse [08:37:14]1017 (14) - 77093643461234 [08:37:14]1041 (16) - 0000000000965420 [08:37:14]1040 (4) - 24244 [08:37:14]1012 (4) - 20.10.2024 02:37 [08:37:14]1206 (1) - 0 [08:37:14]OFD Sender: Remove packet 24244 [08:37:14]ProducePacketName [08:37:14]name=ofd_packets/00024244 [08:37:14]NVStorageDeleteData [08:37:15]Write to MH i2c: 01 00 00 08 13 1B [08:37:15]Write i2c OK [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: 01 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: 01 07 00 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: 01 07 00 08 13 00 00 00 00 00 D3 0C 01 [08:37:15]RasterBufferAndPrint [08:37:15]line [08:37:15]line [08:37:15]line [08:37:15]line [08:37:15]line [08:37:15]written 0, free lines is 3289 [08:37:15]process_action close_receipt done [08:37:15]requested_data is exist [08:37:15]produce_requested_data [08:37:15]requested_item fm.sn is exist - process it [08:37:15]wFMCommunicate request_size=4 [08:37:15]MH_SAM_APDU [08:37:15]CAPDU: 80 11 00 00 [08:37:15]Write to MH i2c: E2 08 00 0F 13 80 11 00 00 00 00 00 00 9C [08:37:15]Write i2c OK [08:37:15]MH_I2C_Read... [08:37:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:37:15]Read from MH i2c: E2 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 17 00 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 17 00 0F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E9 [08:37:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:37:15]wFMCommunicate OK [08:37:15]requested_item fd.num is exist - process it [08:37:15]SAM_PROTO_GetFieldsCounters [08:37:15]wFMCommunicate request_size=4 [08:37:15]MH_SAM_APDU [08:37:15]CAPDU: 80 13 00 00 [08:37:15]Write to MH i2c: E2 08 00 10 13 80 13 00 00 00 00 00 00 9F [08:37:15]Write i2c OK [08:37:15]MH_I2C_Read... [08:37:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:37:15]Read from MH i2c: E2 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 62 00 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 62 00 10 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 BE [08:37:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:37:15]wFMCommunicate OK [08:37:15]SAM_PROTO_GetFieldsCounters done [08:37:15]requested_item shift.num is exist - process it [08:37:15]requested_item shift.opened is exist - process it [08:37:15]req_shift_opened [08:37:15]FM_GetShiftState [08:37:15]SAM_PROTO_GetShiftState [08:37:15]wFMCommunicate request_size=4 [08:37:15]MH_SAM_APDU [08:37:15]CAPDU: 80 13 01 00 [08:37:15]Write to MH i2c: E2 08 00 11 13 80 13 01 00 00 00 00 00 A1 [08:37:15]Write i2c OK [08:37:15]MH_I2C_Read... [08:37:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:37:15]Read from MH i2c: E2 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 0E 00 [08:37:15]MH_I2C_Read... [08:37:15]Read from MH i2c: E2 0E 00 11 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 C2 [08:37:15]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:37:15]wFMCommunicate OK [08:37:15]SAM_PROTO_GetShiftState done [08:37:15]FM_GetShiftState done [08:37:15]req_shift_opened done [08:37:15]requested_item shift.open_date is exist - process it [08:37:15]req_shift_open_date [08:37:15]req_shift_open_date done [08:37:15]produce_requested_data done [08:37:15]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24244,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [08:37:15]process_action_free close_receipt [08:37:15]json_value_free [08:37:15]json_value_free done [08:37:15]process_json_proto returns [08:37:15]Send response to host [08:37:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24244,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [08:37:15]free response buf [08:37:15]execute_script done [08:37:15]execute_script returns [08:37:15]free content buf [08:37:15]Sock 9.Close socket [08:37:15]Sock 9.Thread stoped [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:35]OFD Sender: No OFD packet to send [08:40:40]OFD Sender: No OFD packet to send [08:40:45]OFD Sender: No OFD packet to send [08:40:50]OFD Sender: No OFD packet to send [08:40:55]OFD Sender: No OFD packet to send [08:41:00]OFD Sender: No OFD packet to send [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:25]OFD Sender: No OFD packet to send [08:41:30]OFD Sender: No OFD packet to send [08:41:35]OFD Sender: No OFD packet to send [08:41:36]accept exits with 7 [08:41:36]New connection [08:41:36]New thread 3067100516 created [08:41:36]Thread 3067243876 joined [08:41:36]Waiting for new connection... [08:41:36] Sock 7.Parse request [08:41:36]Sock 7.Check first char [08:41:36]Sock 7.First char is OK [08:41:36]request: POST /json_proto HTTP/1.0 [08:41:36]Method: POST [08:41:36]URL: /json_proto [08:41:36]Method is POST - this is cgi request [08:41:36]url: /json_proto [08:41:36]query_string will be loaded in cgi processing [08:41:36]execute_cgi json_proto POST (null) [08:41:36]execute_cgi path=json_proto method=POST [08:41:36]POST find Content-Length [08:41:36]Host: 172.17.50.4:8080 [08:41:36]Content-Length: 608 [08:41:36]Content-Type: application/json [08:41:36] [08:41:36]POST finish read [08:41:36]Found Content-Length = 608 [08:41:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134771", "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" ] } } [08:41:36]execute_script... [08:41: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)134771", "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" ] } } [08:41:36]POST & json_proto [08:41:36]process_json_proto [08:41:36]json parsed OK: [08:41:36]protocol is kg_v1.0 [08:41:36]action value=close_receipt [08:41:36]process_action close_receipt [08:41:36]cmd_close_receipt [08:41:36]MH_GetDate [08:41:36]Write to MH i2c: F0 00 00 12 13 14 [08:41:36]Write i2c OK [08:41:36]MH_I2C_Read... [08:41:36]Read from MH i2c: F0 [08:41:36]MH_I2C_Read... [08:41:36]Read from MH i2c: F0 09 00 [08:41:36]MH_I2C_Read... [08:41:36]Read from MH i2c: F0 09 00 12 13 00 44 C2 14 67 1D BB 13 67 F0 [08:41:36]GetLastDocTimeStamp 1729413437 [08:41:36]current date 1729413700 [08:41:36]FM_GetShiftState [08:41:36]SAM_PROTO_GetShiftState [08:41:36]wFMCommunicate request_size=4 [08:41:36]MH_SAM_APDU [08:41:36]CAPDU: 80 13 01 00 [08:41:36]Write to MH i2c: E2 08 00 13 13 80 13 01 00 00 00 00 00 A3 [08:41:36]Write i2c OK [08:41:36]MH_I2C_Read... [08:41:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:36]Read from MH i2c: E2 [08:41:36]MH_I2C_Read... [08:41:36]Read from MH i2c: E2 0E 00 [08:41:36]MH_I2C_Read... [08:41:36]Read from MH i2c: E2 0E 00 13 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 C4 [08:41:36]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:41:36]wFMCommunicate OK [08:41:36]SAM_PROTO_GetShiftState done [08:41:36]FM_GetShiftState done [08:41:36]opened in 1729382737 [08:41:36]opened+sec_in_day 1729469137 [08:41:36]quantity*price = 1000 [08:41:36]sum+1 = 1001 [08:41:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 15 20.10.2024 08:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24245 ФПД: 196722010865301 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T084141&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24245&fm=196722010865301&tin=02508201610067®Number=0000000000098120&sum=1000 0 [08:41:37]StoreToDocumentArchive [08:41:37]shift 460 fd 24245 [08:41:37]save to /storage/0460/doc_00024245 [08:41:37]save last doc name /storage/0460/doc_00024245 to /storage/kkm_last_doc_name [08:41:37]save OK [08:41:37]Clear old archive folders... [08:41:37]ProcessDocumentItem done err = 0, tmpTLVsize=267 [08:41:37]tlvbuf is 0217C2D0 [08:41:37]SAM_PROTO_ClearQueue [08:41:37]wFMCommunicate request_size=4 [08:41:37]MH_SAM_APDU [08:41:37]CAPDU: 80 09 00 00 [08:41:37]Write to MH i2c: E2 08 00 20 13 80 09 00 00 00 00 00 00 A5 [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 20 13 00 90 00 A7 [08:41:37]RAPDU: 90 00 [08:41:37]wFMCommunicate OK [08:41:37]SAM_PROTO_ClearQueue done [08:41:37]KKMCreateOFDPacket [08:41:37]OFDProtocolAddRootSTLVToBuf [08:41:37]FM_MakeSignedData [08:41:37]FM_MakeSignedData [08:41:37]SAM_PROTO_SignData [08:41:37]wFMCommunicate request_size=4 [08:41:37]MH_SAM_APDU [08:41:37]CAPDU: 80 0D 01 02 [08:41:37]Write to MH i2c: E2 08 00 21 13 80 0D 01 02 00 00 00 00 AD [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 21 13 00 90 00 A8 [08:41:37]RAPDU: 90 00 [08:41:37]wFMCommunicate OK [08:41:37]wFMCommunicate request_size=255 [08:41:37]MH_SAM_APDU [08:41:37]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 0F 00 00 00 F4 03 04 00 45 C2 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [08:41:37]Write to MH i2c: E2 02 01 22 13 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 0F 00 00 00 F4 03 04 00 45 C2 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 9D [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 22 13 00 90 00 A9 [08:41:37]RAPDU: 90 00 [08:41:37]wFMCommunicate OK [08:41:37]wFMCommunicate request_size=26 [08:41:37]MH_SAM_APDU [08:41:37]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 B5 5E 00 00 35 04 06 00 B2 EA E9 93 BE 95 [08:41:37]Write to MH i2c: E2 1D 00 23 13 80 0D 02 02 15 00 34 32 30 10 04 04 00 B5 5E 00 00 35 04 06 00 B2 EA E9 93 BE 95 00 00 45 [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 03 00 23 13 00 90 00 AA [08:41:37]RAPDU: 90 00 [08:41:37]wFMCommunicate OK [08:41:37]wFMCommunicate request_size=4 [08:41:37]MH_SAM_APDU [08:41:37]CAPDU: 80 0D 03 02 [08:41:37]Write to MH i2c: E2 08 00 24 13 80 0D 03 02 00 00 00 00 B2 [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 0B 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 0B 00 24 13 00 B0 0F 1F 95 9C B6 62 A9 90 00 83 [08:41:37]RAPDU: B0 0F 1F 95 9C B6 62 A9 90 00 [08:41:37]wFMCommunicate OK [08:41:37]SAM_PROTO_SignData done [08:41:37]FM_MakeSignedData done [08:41:37]CreateOFDProtocolMessage [08:41:37]wFMCommunicate request_size=4 [08:41:37]MH_SAM_APDU [08:41:37]CAPDU: 80 11 00 00 [08:41:37]Write to MH i2c: E2 08 00 25 13 80 11 00 00 00 00 00 00 B2 [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:37]Read from MH i2c: E2 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 17 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: E2 17 00 25 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FF [08:41:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:41:37]wFMCommunicate OK [08:41:37]CreateOFDProtocolMessage done [08:41:37]OFDSenderStorePacket 24245 [08:41:37]StoreOFDPacket docnum=24245 [08:41:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 1C 42 17 01 51 33 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 0F 00 00 00 F4 03 04 00 45 C2 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B5 5E 00 00 35 04 06 00 B2 EA E9 93 BE 95 B0 0F 1F 95 9C B6 62 A9 [08:41:37]CheckFolder [08:41:37]dirname=/storage/ofd_packets [08:41:37]CheckFolder done [08:41:37]ProducePacketName [08:41:37]name=ofd_packets/00024245 [08:41:37]NVStorageSaveData ofd_packets/00024245 [08:41:37]File name is /storage/ofd_packets/00024245 [08:41:37]Write 317 bytes [08:41:37]NVStorageSaveData done [08:41:37]OFDSenderStorePacket done [08:41:37]KKMCreateOFDPacket done [08:41:37]NVStorageSaveData kkm_last_timestamp [08:41:37]File name is /storage/kkm_last_timestamp [08:41:37]Write 4 bytes [08:41:37]NVStorageSaveData done [08:41:37]ExternCall_PrintAddStr [08:41:37]wPrintStart [08:41:37]Write to MH i2c: 01 00 00 26 13 39 [08:41:37]Write i2c OK [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: 01 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: 01 07 00 [08:41:37]MH_I2C_Read... [08:41:37]Read from MH i2c: 01 07 00 26 13 00 00 00 00 00 FF 0F 4E [08:41:37]RasterBufferAndPrint [08:41:37]line Счет N : (3)134771 [08:41:37]line ИНН: 02508201610067 [08:41:37]line Контрольно-Кассовый Чек [08:41:37]line ПРОДАЖА [08:41:37]line Товар: 46231529 [08:41:37]line Mentos ПФ Арбуз 6*100*2 [08:41:37]line 1.000 * 10.00 [08:41:37]line = 10.00 [08:41:37]line НДС 12% НСП 1% [08:41:37]line > о реализуемом товаре [08:41:37]line ИТОГО: 10.00 [08:41:37]line НСП 1% : 0.09 [08:41:37]line НДС 12% : 1.06 [08:41:37]line Наличными: 10.00 [08:41:37]line Безнал.: 0.00 [08:41:37]line Место: АЗС № 85 "Партнер Нефть" [08:41:37]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:41:37]line СНО: Общий режим [08:41:37]line Чек 15 20.10.2024 08:41 [08:41:37]line Смена: 460 ФФД: 1.0 [08:41:37]line ЗНМ: 0300000166 [08:41:37]line РНМ: 0000000000098120 [08:41:37]line Версия ККМ: 001 [08:41:37]line ФМ: 0000000000965420 [08:41:37]line ФД: 24245 [08:41:37]line ФПД: 196722010865301 [08:41:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T084141&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24245&fm=196722010865301&tin=02508201610067®Number=0000000000098120&sum=1000 [08:41:38]line 0 [08:41:38]OFD Sender: Processing packet 24245 [packets to send 5, broken 4] [08:41:38]ProducePacketName [08:41:38]name=ofd_packets/00024245 [08:41:38]OFD Sender: To server: pG, [08:41:38]CommunicateWithHost lk.salyk.kg:30040 [08:41:38]ConnectInit lk.salyk.kg [08:41:38]written 0, free lines is 4095 [08:41:38]Connected sock=10 [08:41:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 1C 42 17 01 51 33 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 0F 00 00 00 F4 03 04 00 45 C2 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B5 5E 00 00 35 04 06 00 B2 EA E9 93 BE 95 B0 0F 1F 95 9C B6 62 A9 [08:41:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 04 80 47 00 75 24 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B5 5E 00 00 F4 03 04 00 DD 6D 14 67 B6 04 01 00 00 A7 62 DF 09 45 B3 A2 1A [08:41:38]CommunicateWithHost err = 0 [08:41:38]CheckOFDResponse [08:41:38]1017 (14) - 77093643461234 [08:41:38]1041 (16) - 0000000000965420 [08:41:38]1040 (4) - 24245 [08:41:38]1012 (4) - 20.10.2024 02:41 [08:41:38]1206 (1) - 0 [08:41:38]OFD Sender: Remove packet 24245 [08:41:38]ProducePacketName [08:41:38]name=ofd_packets/00024245 [08:41:38]NVStorageDeleteData [08:41:38]Write to MH i2c: 01 00 00 4E 13 61 [08:41:38]Write i2c OK [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: 01 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: 01 07 00 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: 01 07 00 4E 13 00 00 00 00 00 2E 0D A3 [08:41:38]RasterBufferAndPrint [08:41:38]line [08:41:38]line [08:41:38]line [08:41:38]line [08:41:38]line [08:41:38]written 0, free lines is 3382 [08:41:38]process_action close_receipt done [08:41:38]requested_data is exist [08:41:38]produce_requested_data [08:41:38]requested_item fm.sn is exist - process it [08:41:38]wFMCommunicate request_size=4 [08:41:38]MH_SAM_APDU [08:41:38]CAPDU: 80 11 00 00 [08:41:38]Write to MH i2c: E2 08 00 55 13 80 11 00 00 00 00 00 00 E2 [08:41:38]Write i2c OK [08:41:38]MH_I2C_Read... [08:41:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:41:38]Read from MH i2c: E2 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 17 00 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 17 00 55 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2F [08:41:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:41:38]wFMCommunicate OK [08:41:38]requested_item fd.num is exist - process it [08:41:38]SAM_PROTO_GetFieldsCounters [08:41:38]wFMCommunicate request_size=4 [08:41:38]MH_SAM_APDU [08:41:38]CAPDU: 80 13 00 00 [08:41:38]Write to MH i2c: E2 08 00 56 13 80 13 00 00 00 00 00 00 E5 [08:41:38]Write i2c OK [08:41:38]MH_I2C_Read... [08:41:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:41:38]Read from MH i2c: E2 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 62 00 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 62 00 56 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [08:41:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:41:38]wFMCommunicate OK [08:41:38]SAM_PROTO_GetFieldsCounters done [08:41:38]requested_item shift.num is exist - process it [08:41:38]requested_item shift.opened is exist - process it [08:41:38]req_shift_opened [08:41:38]FM_GetShiftState [08:41:38]SAM_PROTO_GetShiftState [08:41:38]wFMCommunicate request_size=4 [08:41:38]MH_SAM_APDU [08:41:38]CAPDU: 80 13 01 00 [08:41:38]Write to MH i2c: E2 08 00 57 13 80 13 01 00 00 00 00 00 E7 [08:41:38]Write i2c OK [08:41:38]MH_I2C_Read... [08:41:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:41:38]Read from MH i2c: E2 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 0E 00 [08:41:38]MH_I2C_Read... [08:41:38]Read from MH i2c: E2 0E 00 57 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 08 [08:41:38]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:41:38]wFMCommunicate OK [08:41:38]SAM_PROTO_GetShiftState done [08:41:38]FM_GetShiftState done [08:41:38]req_shift_opened done [08:41:38]requested_item shift.open_date is exist - process it [08:41:38]req_shift_open_date [08:41:38]req_shift_open_date done [08:41:38]produce_requested_data done [08:41:38]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24245,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [08:41:38]process_action_free close_receipt [08:41:38]json_value_free [08:41:38]json_value_free done [08:41:38]process_json_proto returns [08:41:38]Send response to host [08:41:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24245,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [08:41:38]free response buf [08:41:38]execute_script done [08:41:38]execute_script returns [08:41:38]free content buf [08:41:38]Sock 7.Close socket [08:41:38]Sock 7.Thread stoped [08:41:38]OFD Sender: No OFD packet to send [08:41:43]OFD Sender: No OFD packet to send [08:41:48]OFD Sender: No OFD packet to send [08:41:53]OFD Sender: No OFD packet to send [08:41: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:14]OFD Sender: No OFD packet to send [08:45:19]OFD Sender: No OFD packet to send [08:45:24]OFD Sender: No OFD packet to send [08:45:29]OFD Sender: No OFD packet to send [08:45:34]OFD Sender: No OFD packet to send [08:45:39]OFD Sender: No OFD packet to send [08:45:44]OFD Sender: No OFD packet to send [08:45:49]OFD Sender: No OFD packet to send [08:45:54]OFD Sender: No OFD packet to send [08:45:59]OFD Sender: No OFD packet to send [08:46:04]OFD Sender: No OFD packet to send [08:46:09]OFD Sender: No OFD packet to send [08:46:14]OFD Sender: No OFD packet to send [08:46:19]OFD Sender: No OFD packet to send [08:46:24]OFD Sender: No OFD packet to send [08:46:29]OFD Sender: No OFD packet to send [08:46:34]OFD Sender: No OFD packet to send [08:46:39]OFD Sender: No OFD packet to send [08:46:44]OFD Sender: No OFD packet to send [08:46:49]OFD Sender: No OFD packet to send [08:46:54]OFD Sender: No OFD packet to send [08:46:59]OFD Sender: No OFD packet to send [08:47:04]OFD Sender: No OFD packet to send [08:47:09]OFD Sender: No OFD packet to send [08:47:14]OFD Sender: No OFD packet to send [08:47:19]OFD Sender: No OFD packet to send [08:47:24]OFD Sender: No OFD packet to send [08:47:29]OFD Sender: No OFD packet to send [08:47:34]OFD Sender: No OFD packet to send [08:47:39]OFD Sender: No OFD packet to send [08:47:44]OFD Sender: No OFD packet to send [08:47:49]OFD Sender: No OFD packet to send [08:47:54]OFD Sender: No OFD packet to send [08:47:59]OFD Sender: No OFD packet to send [08:48:04]OFD Sender: No OFD packet to send [08:48:09]OFD Sender: No OFD packet to send [08:48:14]OFD Sender: No OFD packet to send [08:48:19]OFD Sender: No OFD packet to send [08:48:24]OFD Sender: No OFD packet to send [08:48:29]OFD Sender: No OFD packet to send [08:48:34]OFD Sender: No OFD packet to send [08:48:39]OFD Sender: No OFD packet to send [08:48:44]OFD Sender: No OFD packet to send [08:48:49]OFD Sender: No OFD packet to send [08:48:54]OFD Sender: No OFD packet to send [08:48:59]OFD Sender: No OFD packet to send [08:49:04]OFD Sender: No OFD packet to send [08:49:09]OFD Sender: No OFD packet to send [08:49:14]OFD Sender: No OFD packet to send [08:49:19]OFD Sender: No OFD packet to send [08:49:24]OFD Sender: No OFD packet to send [08:49:29]OFD Sender: No OFD packet to send [08:49:34]OFD Sender: No OFD packet to send [08:49:39]OFD Sender: No OFD packet to send [08:49:44]OFD Sender: No OFD packet to send [08:49:49]OFD Sender: No OFD packet to send [08:49:54]OFD Sender: No OFD packet to send [08:49:59]OFD Sender: No OFD packet to send [08:50:04]OFD Sender: No OFD packet to send [08:50:09]OFD Sender: No OFD packet to send [08:50:14]OFD Sender: No OFD packet to send [08:50:19]OFD Sender: No OFD packet to send [08:50:24]OFD Sender: No OFD packet to send [08:50:29]OFD Sender: No OFD packet to send [08:50:34]OFD Sender: No OFD packet to send [08:50:39]OFD Sender: No OFD packet to send [08:50:44]OFD Sender: No OFD packet to send [08:50:49]OFD Sender: No OFD packet to send [08:50:54]OFD Sender: No OFD packet to send [08:50:59]OFD Sender: No OFD packet to send [08:51:04]OFD Sender: No OFD packet to send [08:51:09]OFD Sender: No OFD packet to send [08:51:14]OFD Sender: No OFD packet to send [08:51:19]OFD Sender: No OFD packet to send [08:51:24]OFD Sender: No OFD packet to send [08:51:29]OFD Sender: No OFD packet to send [08:51:34]OFD Sender: No OFD packet to send [08:51:39]OFD Sender: No OFD packet to send [08:51:44]OFD Sender: No OFD packet to send [08:51:49]OFD Sender: No OFD packet to send [08:51:54]OFD Sender: No OFD packet to send [08:51:59]OFD Sender: No OFD packet to send [08:52:04]OFD Sender: No OFD packet to send [08:52:09]OFD Sender: No OFD packet to send [08:52:14]OFD Sender: No OFD packet to send [08:52:19]OFD Sender: No OFD packet to send [08:52:24]OFD Sender: No OFD packet to send [08:52:29]OFD Sender: No OFD packet to send [08:52:34]OFD Sender: No OFD packet to send [08:52:39]OFD Sender: No OFD packet to send [08:52:44]OFD Sender: No OFD packet to send [08:52:49]OFD Sender: No OFD packet to send [08:52:54]OFD Sender: No OFD packet to send [08:52:59]OFD Sender: No OFD packet to send [08:53:04]OFD Sender: No OFD packet to send [08:53:09]OFD Sender: No OFD packet to send [08:53:14]OFD Sender: No OFD packet to send [08:53:19]OFD Sender: No OFD packet to send [08:53:24]OFD Sender: No OFD packet to send [08:53:29]OFD Sender: No OFD packet to send [08:53:34]OFD Sender: No OFD packet to send [08:53:39]OFD Sender: No OFD packet to send [08:53:44]OFD Sender: No OFD packet to send [08:53:49]OFD Sender: No OFD packet to send [08:53:54]OFD Sender: No OFD packet to send [08:53:59]OFD Sender: No OFD packet to send [08:54:04]OFD Sender: No OFD packet to send [08:54:09]OFD Sender: No OFD packet to send [08:54:14]OFD Sender: No OFD packet to send [08:54:19]OFD Sender: No OFD packet to send [08:54:24]OFD Sender: No OFD packet to send [08:54:29]OFD Sender: No OFD packet to send [08:54:34]OFD Sender: No OFD packet to send [08:54:39]OFD Sender: No OFD packet to send [08:54:44]OFD Sender: No OFD packet to send [08:54:49]OFD Sender: No OFD packet to send [08:54:54]OFD Sender: No OFD packet to send [08:54:59]OFD Sender: No OFD packet to send [08:55:04]OFD Sender: No OFD packet to send [08:55:09]OFD Sender: No OFD packet to send [08:55:14]OFD Sender: No OFD packet to send [08:55:19]OFD Sender: No OFD packet to send [08:55:24]OFD Sender: No OFD packet to send [08:55:29]OFD Sender: No OFD packet to send [08:55:34]OFD Sender: No OFD packet to send [08:55:39]OFD Sender: No OFD packet to send [08:55:42]accept exits with 9 [08:55:42]New connection [08:55:42]New thread 3067243876 created [08:55:42]Thread 3067100516 joined [08:55:42]Waiting for new connection... [08:55:42] Sock 9.Parse request [08:55:42]Sock 9.Check first char [08:55:42]Sock 9.First char is OK [08:55:42]request: POST /json_proto HTTP/1.0 [08:55:42]Method: POST [08:55:42]URL: /json_proto [08:55:42]Method is POST - this is cgi request [08:55:42]url: /json_proto [08:55:42]query_string will be loaded in cgi processing [08:55:42]execute_cgi json_proto POST (null) [08:55:42]execute_cgi path=json_proto method=POST [08:55:42]POST find Content-Length [08:55:42]Host: 172.17.50.4:8080 [08:55:42]Content-Length: 879 [08:55:42]Content-Type: application/json [08:55:42] [08:55:42]POST finish read [08:55:42]Found Content-Length = 879 [08:55:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134772", "tax_sys" : 0, "items" : [ { "code": "4660013331438", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041C\u043E\u0441\u043A\u043E\u0432\u0441\u043A\u043E\u0435", "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" ] } } [08:55:42]execute_script... [08:55: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)134772", "tax_sys" : 0, "items" : [ { "code": "4660013331438", "name": "\u042D\u0441\u043A\u0438\u043C\u043E \u041C\u043E\u0441\u043A\u043E\u0432\u0441\u043A\u043E\u0435", "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" ] } } [08:55:42]POST & json_proto [08:55:42]process_json_proto [08:55:42]json parsed OK: [08:55:42]protocol is kg_v1.0 [08:55:42]action value=close_receipt [08:55:42]process_action close_receipt [08:55:42]cmd_close_receipt [08:55:42]MH_GetDate [08:55:42]Write to MH i2c: F0 00 00 58 13 5A [08:55:42]Write i2c OK [08:55:42]MH_I2C_Read... [08:55:42]Read from MH i2c: F0 [08:55:42]MH_I2C_Read... [08:55:42]Read from MH i2c: F0 09 00 [08:55:42]MH_I2C_Read... [08:55:42]Read from MH i2c: F0 09 00 58 13 00 93 C5 14 67 1D BB 13 67 88 [08:55:42]GetLastDocTimeStamp 1729413701 [08:55:42]current date 1729414547 [08:55:42]FM_GetShiftState [08:55:42]SAM_PROTO_GetShiftState [08:55:42]wFMCommunicate request_size=4 [08:55:42]MH_SAM_APDU [08:55:42]CAPDU: 80 13 01 00 [08:55:42]Write to MH i2c: E2 08 00 59 13 80 13 01 00 00 00 00 00 E9 [08:55:42]Write i2c OK [08:55:42]MH_I2C_Read... [08:55:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:42]Read from MH i2c: E2 [08:55:42]MH_I2C_Read... [08:55:42]Read from MH i2c: E2 0E 00 [08:55:42]MH_I2C_Read... [08:55:42]Read from MH i2c: E2 0E 00 59 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 0A [08:55:42]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:55:42]wFMCommunicate OK [08:55:42]SAM_PROTO_GetShiftState done [08:55:42]FM_GetShiftState done [08:55:42]opened in 1729382737 [08:55:42]opened+sec_in_day 1729469137 [08:55:42]quantity*price = 19000 [08:55:42]sum+1 = 19001 [08:55:42]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 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 16 20.10.2024 08:55 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24246 ФПД: 17657553113349 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085547&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24246&fm=17657553113349&tin=02508201610067®Number=0000000000098120&sum=20000 0 [08:55:43]StoreToDocumentArchive [08:55:43]shift 460 fd 24246 [08:55:43]save to /storage/0460/doc_00024246 [08:55:43]save last doc name /storage/0460/doc_00024246 to /storage/kkm_last_doc_name [08:55:43]save OK [08:55:43]Clear old archive folders... [08:55:43]ProcessDocumentItem done err = 0, tmpTLVsize=372 [08:55:43]tlvbuf is 020D2300 [08:55:43]SAM_PROTO_ClearQueue [08:55:43]wFMCommunicate request_size=4 [08:55:43]MH_SAM_APDU [08:55:43]CAPDU: 80 09 00 00 [08:55:43]Write to MH i2c: E2 08 00 66 13 80 09 00 00 00 00 00 00 EB [08:55:43]Write i2c OK [08:55:43]MH_I2C_Read... [08:55:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:55:43]Read from MH i2c: E2 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 66 13 00 90 00 ED [08:55:43]RAPDU: 90 00 [08:55:43]wFMCommunicate OK [08:55:43]SAM_PROTO_ClearQueue done [08:55:43]KKMCreateOFDPacket [08:55:43]OFDProtocolAddRootSTLVToBuf [08:55:43]FM_MakeSignedData [08:55:43]FM_MakeSignedData [08:55:43]SAM_PROTO_SignData [08:55:43]wFMCommunicate request_size=4 [08:55:43]MH_SAM_APDU [08:55:43]CAPDU: 80 0D 01 02 [08:55:43]Write to MH i2c: E2 08 00 67 13 80 0D 01 02 00 00 00 00 F3 [08:55:43]Write i2c OK [08:55:43]MH_I2C_Read... [08:55:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:55:43]Read from MH i2c: E2 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 67 13 00 90 00 EE [08:55:43]RAPDU: 90 00 [08:55:43]wFMCommunicate OK [08:55:43]wFMCommunicate request_size=255 [08:55:43]MH_SAM_APDU [08:55:43]CAPDU: 80 0D 02 02 FA 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 [08:55:43]Write to MH i2c: E2 02 01 68 13 80 0D 02 02 FA 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 00 00 19 [08:55:43]Write i2c OK [08:55:43]MH_I2C_Read... [08:55:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:43]Read from MH i2c: E2 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 [08:55:43]MH_I2C_Read... [08:55:43]Read from MH i2c: E2 03 00 68 13 00 90 00 EF [08:55:43]RAPDU: 90 00 [08:55:43]wFMCommunicate OK [08:55:43]wFMCommunicate request_size=131 [08:55:43]MH_SAM_APDU [08:55:43]CAPDU: 80 0D 02 02 7E 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 10 00 00 00 F4 03 04 00 93 C5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B6 5E 00 00 35 04 06 00 10 0F 38 2E 51 05 [08:55:43]Write to MH i2c: E2 86 00 69 13 80 0D 02 02 7E 00 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 10 00 00 00 F4 03 04 00 93 C5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B6 5E 00 00 35 04 06 00 10 0F 38 2E 51 05 00 00 80 [08:55:43]Write i2c OK [08:55:43]MH_I2C_Read... [08:55:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:55:44]Read from MH i2c: E2 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 03 00 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 03 00 69 13 00 90 00 F0 [08:55:44]RAPDU: 90 00 [08:55:44]wFMCommunicate OK [08:55:44]wFMCommunicate request_size=4 [08:55:44]MH_SAM_APDU [08:55:44]CAPDU: 80 0D 03 02 [08:55:44]Write to MH i2c: E2 08 00 6A 13 80 0D 03 02 00 00 00 00 F8 [08:55:44]Write i2c OK [08:55:44]MH_I2C_Read... [08:55:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:55:44]Read from MH i2c: E2 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 0B 00 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 0B 00 6A 13 00 C7 73 25 8D 37 E6 7C 9C 90 00 1A [08:55:44]RAPDU: C7 73 25 8D 37 E6 7C 9C 90 00 [08:55:44]wFMCommunicate OK [08:55:44]SAM_PROTO_SignData done [08:55:44]FM_MakeSignedData done [08:55:44]CreateOFDProtocolMessage [08:55:44]wFMCommunicate request_size=4 [08:55:44]MH_SAM_APDU [08:55:44]CAPDU: 80 11 00 00 [08:55:44]Write to MH i2c: E2 08 00 6B 13 80 11 00 00 00 00 00 00 F8 [08:55:44]Write i2c OK [08:55:44]MH_I2C_Read... [08:55:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:44]Read from MH i2c: E2 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 17 00 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: E2 17 00 6B 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 45 [08:55:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:55:44]wFMCommunicate OK [08:55:44]CreateOFDProtocolMessage done [08:55:44]OFDSenderStorePacket 24246 [08:55:44]StoreOFDPacket docnum=24246 [08:55:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 88 01 00 00 92 F8 80 01 94 CE 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 10 00 00 00 F4 03 04 00 93 C5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B6 5E 00 00 35 04 06 00 10 0F 38 2E 51 05 C7 73 25 8D 37 E6 7C 9C [08:55:44]CheckFolder [08:55:44]dirname=/storage/ofd_packets [08:55:44]CheckFolder done [08:55:44]ProducePacketName [08:55:44]name=ofd_packets/00024246 [08:55:44]NVStorageSaveData ofd_packets/00024246 [08:55:44]File name is /storage/ofd_packets/00024246 [08:55:44]Write 422 bytes [08:55:44]NVStorageSaveData done [08:55:44]OFDSenderStorePacket done [08:55:44]KKMCreateOFDPacket done [08:55:44]NVStorageSaveData kkm_last_timestamp [08:55:44]File name is /storage/kkm_last_timestamp [08:55:44]Write 4 bytes [08:55:44]NVStorageSaveData done [08:55:44]ExternCall_PrintAddStr [08:55:44]wPrintStart [08:55:44]Write to MH i2c: 01 00 00 6C 13 7F [08:55:44]Write i2c OK [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 07 00 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 07 00 6C 13 00 00 00 00 00 FF 0F 94 [08:55:44]RasterBufferAndPrint [08:55:44]line Счет N : (3)134772 [08:55:44]line ИНН: 02508201610067 [08:55:44]line Контрольно-Кассовый Чек [08:55:44]line ПРОДАЖА [08:55:44]line Товар: 4660013331438 [08:55:44]line Эскимо Московское [08:55:44]line 2.000 * 95.00 [08:55:44]line = 190.00 [08:55:44]line НДС 12% НСП 1% [08:55:44]line > о реализуемом товаре [08:55:44]line Товар: 46231529 [08:55:44]line Mentos ПФ Арбуз 6*100*2 [08:55:44]line 1.000 * 10.00 [08:55:44]line = 10.00 [08:55:44]line НДС 12% НСП 1% [08:55:44]line > о реализуемом товаре [08:55:44]line ИТОГО: 200.00 [08:55:44]line НСП 1% : 1.77 [08:55:44]line НДС 12% : 21.24 [08:55:44]line Наличными: 200.00 [08:55:44]line Безнал.: 0.00 [08:55:44]line Место: АЗС № 85 "Партнер Нефть" [08:55:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:55:44]line СНО: Общий режим [08:55:44]line Чек 16 20.10.2024 08:55 [08:55:44]line Смена: 460 ФФД: 1.0 [08:55:44]line ЗНМ: 0300000166 [08:55:44]line РНМ: 0000000000098120 [08:55:44]line Версия ККМ: 001 [08:55:44]line ФМ: 0000000000965420 [08:55:44]line ФД: 24246 [08:55:44]line ФПД: 17657553113349 [08:55:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T085547&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24246&fm=17657553113349&tin=02508201610067®Number=0000000000098120&sum=20000 [08:55:44]line 0 [08:55:44]OFD Sender: Processing packet 24246 [packets to send 5, broken 4] [08:55:44]ProducePacketName [08:55:44]name=ofd_packets/00024246 [08:55:44]OFD Sender: To server: pG, [08:55:44]CommunicateWithHost lk.salyk.kg:30040 [08:55:44]ConnectInit lk.salyk.kg [08:55:44]written 0, free lines is 4095 [08:55:44]Connected sock=10 [08:55:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 88 01 00 00 92 F8 80 01 94 CE 5A 03 01 00 03 00 74 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 36 36 30 30 31 33 33 33 31 34 33 38 06 04 21 00 D0 AD D1 81 D0 BA D0 B8 D0 BC D0 BE 20 D0 9C D0 BE D1 81 D0 BA D0 BE D0 B2 D1 81 D0 BA D0 BE D0 B5 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 10 00 00 00 F4 03 04 00 93 C5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B6 5E 00 00 35 04 06 00 10 0F 38 2E 51 05 C7 73 25 8D 37 E6 7C 9C [08:55:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 67 B9 47 00 24 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 36 35 34 32 30 10 04 04 00 B6 5E 00 00 F4 03 04 00 2B 71 14 67 B6 04 01 00 00 DD E6 22 31 55 81 1F A2 [08:55:44]CommunicateWithHost err = 0 [08:55:44]CheckOFDResponse [08:55:44]1017 (14) - 77093643461234 [08:55:44]1041 (16) - 0000000000965420 [08:55:44]1040 (4) - 24246 [08:55:44]1012 (4) - 20.10.2024 02:55 [08:55:44]1206 (1) - 0 [08:55:44]OFD Sender: Remove packet 24246 [08:55:44]ProducePacketName [08:55:44]name=ofd_packets/00024246 [08:55:44]NVStorageDeleteData [08:55:44]Write to MH i2c: 01 00 00 9A 13 AD [08:55:44]Write i2c OK [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 07 00 [08:55:44]MH_I2C_Read... [08:55:44]Read from MH i2c: 01 07 00 9A 13 00 00 00 00 00 D2 0C 92 [08:55:44]RasterBufferAndPrint [08:55:44]line [08:55:44]line [08:55:44]line [08:55:44]line [08:55:44]line [08:55:44]written 0, free lines is 3291 [08:55:45]process_action close_receipt done [08:55:45]requested_data is exist [08:55:45]produce_requested_data [08:55:45]requested_item fm.sn is exist - process it [08:55:45]wFMCommunicate request_size=4 [08:55:45]MH_SAM_APDU [08:55:45]CAPDU: 80 11 00 00 [08:55:45]Write to MH i2c: E2 08 00 A1 13 80 11 00 00 00 00 00 00 2E [08:55:45]Write i2c OK [08:55:45]MH_I2C_Read... [08:55:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:55:45]Read from MH i2c: E2 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 17 00 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 17 00 A1 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7B [08:55:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:55:45]wFMCommunicate OK [08:55:45]requested_item fd.num is exist - process it [08:55:45]SAM_PROTO_GetFieldsCounters [08:55:45]wFMCommunicate request_size=4 [08:55:45]MH_SAM_APDU [08:55:45]CAPDU: 80 13 00 00 [08:55:45]Write to MH i2c: E2 08 00 A2 13 80 13 00 00 00 00 00 00 31 [08:55:45]Write i2c OK [08:55:45]MH_I2C_Read... [08:55:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:55:45]Read from MH i2c: E2 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 62 00 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 62 00 A2 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [08:55:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:55:45]wFMCommunicate OK [08:55:45]SAM_PROTO_GetFieldsCounters done [08:55:45]requested_item shift.num is exist - process it [08:55:45]requested_item shift.opened is exist - process it [08:55:45]req_shift_opened [08:55:45]FM_GetShiftState [08:55:45]SAM_PROTO_GetShiftState [08:55:45]wFMCommunicate request_size=4 [08:55:45]MH_SAM_APDU [08:55:45]CAPDU: 80 13 01 00 [08:55:45]Write to MH i2c: E2 08 00 A3 13 80 13 01 00 00 00 00 00 33 [08:55:45]Write i2c OK [08:55:45]MH_I2C_Read... [08:55:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:55:45]Read from MH i2c: E2 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 0E 00 [08:55:45]MH_I2C_Read... [08:55:45]Read from MH i2c: E2 0E 00 A3 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 54 [08:55:45]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [08:55:45]wFMCommunicate OK [08:55:45]SAM_PROTO_GetShiftState done [08:55:45]FM_GetShiftState done [08:55:45]req_shift_opened done [08:55:45]requested_item shift.open_date is exist - process it [08:55:45]req_shift_open_date [08:55:45]req_shift_open_date done [08:55:45]produce_requested_data done [08:55:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24246,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [08:55:45]process_action_free close_receipt [08:55:45]json_value_free [08:55:45]json_value_free done [08:55:45]process_json_proto returns [08:55:45]Send response to host [08:55:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24246,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [08:55:45]free response buf [08:55:45]execute_script done [08:55:45]execute_script returns [08:55:45]free content buf [08:55:45]Sock 9.Close socket [08:55:45]Sock 9.Thread stoped [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:15]OFD Sender: No OFD packet to send [08:59:20]OFD Sender: No OFD packet to send [08:59:25]OFD Sender: No OFD packet to send [08:59:30]OFD Sender: No OFD packet to send [08:59:35]OFD Sender: No OFD packet to send [08:59:40]OFD Sender: No OFD packet to send [08:59:45]OFD Sender: No OFD packet to send [08:59:50]OFD Sender: No OFD packet to send [08:59:55]OFD Sender: No OFD packet to send [09:00:00]OFD Sender: No OFD packet to send [09:00:03]accept exits with 7 [09:00:03]New connection [09:00:03]New thread 3067100516 created [09:00:03]Thread 3067243876 joined [09:00:03]Waiting for new connection... [09:00:03] Sock 7.Parse request [09:00:03]Sock 7.Check first char [09:00:03]Sock 7.First char is OK [09:00:03]request: POST /json_proto HTTP/1.0 [09:00:03]Method: POST [09:00:03]URL: /json_proto [09:00:03]Method is POST - this is cgi request [09:00:03]url: /json_proto [09:00:03]query_string will be loaded in cgi processing [09:00:03]execute_cgi json_proto POST (null) [09:00:03]execute_cgi path=json_proto method=POST [09:00:03]POST find Content-Length [09:00:03]Host: 172.17.50.4:8080 [09:00:03]Content-Length: 608 [09:00:03]Content-Type: application/json [09:00:03] [09:00:03]POST finish read [09:00:03]Found Content-Length = 608 [09:00:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134773", "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" ] } } [09:00:03]execute_script... [09:00: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)134773", "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" ] } } [09:00:03]POST & json_proto [09:00:03]process_json_proto [09:00:03]json parsed OK: [09:00:03]protocol is kg_v1.0 [09:00:03]action value=close_receipt [09:00:03]process_action close_receipt [09:00:03]cmd_close_receipt [09:00:03]MH_GetDate [09:00:03]Write to MH i2c: F0 00 00 A4 13 A6 [09:00:03]Write i2c OK [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 09 00 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: F0 09 00 A4 13 00 98 C6 14 67 1D BB 13 67 DA [09:00:03]GetLastDocTimeStamp 1729414547 [09:00:03]current date 1729414808 [09:00:03]FM_GetShiftState [09:00:03]SAM_PROTO_GetShiftState [09:00:03]wFMCommunicate request_size=4 [09:00:03]MH_SAM_APDU [09:00:03]CAPDU: 80 13 01 00 [09:00:03]Write to MH i2c: E2 08 00 A5 13 80 13 01 00 00 00 00 00 35 [09:00:03]Write i2c OK [09:00:03]MH_I2C_Read... [09:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:03]Read from MH i2c: E2 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: E2 0E 00 [09:00:03]MH_I2C_Read... [09:00:03]Read from MH i2c: E2 0E 00 A5 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 56 [09:00:03]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:00:03]wFMCommunicate OK [09:00:03]SAM_PROTO_GetShiftState done [09:00:03]FM_GetShiftState done [09:00:03]opened in 1729382737 [09:00:03]opened+sec_in_day 1729469137 [09:00:03]quantity*price = 2000 [09:00:03]sum+1 = 2001 [09:00:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 17 20.10.2024 09:00 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24247 ФПД: 206998423601576 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090008&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24247&fm=206998423601576&tin=02508201610067®Number=0000000000098120&sum=2000 0 [09:00:04]StoreToDocumentArchive [09:00:04]shift 460 fd 24247 [09:00:04]save to /storage/0460/doc_00024247 [09:00:04]save last doc name /storage/0460/doc_00024247 to /storage/kkm_last_doc_name [09:00:04]save OK [09:00:04]Clear old archive folders... [09:00:04]ProcessDocumentItem done err = 0, tmpTLVsize=267 [09:00:04]tlvbuf is B6EEF330 [09:00:04]SAM_PROTO_ClearQueue [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 09 00 00 [09:00:04]Write to MH i2c: E2 08 00 B2 13 80 09 00 00 00 00 00 00 37 [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 B2 13 00 90 00 39 [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]SAM_PROTO_ClearQueue done [09:00:04]KKMCreateOFDPacket [09:00:04]OFDProtocolAddRootSTLVToBuf [09:00:04]FM_MakeSignedData [09:00:04]FM_MakeSignedData [09:00:04]SAM_PROTO_SignData [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 0D 01 02 [09:00:04]Write to MH i2c: E2 08 00 B3 13 80 0D 01 02 00 00 00 00 3F [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 B3 13 00 90 00 3A [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]wFMCommunicate request_size=255 [09:00:04]MH_SAM_APDU [09:00:04]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 11 00 00 00 F4 03 04 00 98 C6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [09:00:04]Write to MH i2c: E2 02 01 B4 13 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 11 00 00 00 F4 03 04 00 98 C6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 AB [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 B4 13 00 90 00 3B [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]wFMCommunicate request_size=26 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 B7 5E 00 00 35 04 06 00 BC 43 93 82 01 A8 [09:00:04]Write to MH i2c: E2 1D 00 B5 13 80 0D 02 02 15 00 34 32 30 10 04 04 00 B7 5E 00 00 35 04 06 00 BC 43 93 82 01 A8 00 00 2B [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 03 00 B5 13 00 90 00 3C [09:00:04]RAPDU: 90 00 [09:00:04]wFMCommunicate OK [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 0D 03 02 [09:00:04]Write to MH i2c: E2 08 00 B6 13 80 0D 03 02 00 00 00 00 44 [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 0B 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 0B 00 B6 13 00 A1 C6 27 71 A0 C0 80 32 90 00 56 [09:00:04]RAPDU: A1 C6 27 71 A0 C0 80 32 90 00 [09:00:04]wFMCommunicate OK [09:00:04]SAM_PROTO_SignData done [09:00:04]FM_MakeSignedData done [09:00:04]CreateOFDProtocolMessage [09:00:04]wFMCommunicate request_size=4 [09:00:04]MH_SAM_APDU [09:00:04]CAPDU: 80 11 00 00 [09:00:04]Write to MH i2c: E2 08 00 B7 13 80 11 00 00 00 00 00 00 44 [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:04]Read from MH i2c: E2 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 17 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: E2 17 00 B7 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 91 [09:00:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:00:04]wFMCommunicate OK [09:00:04]CreateOFDProtocolMessage done [09:00:04]OFDSenderStorePacket 24247 [09:00:04]StoreOFDPacket docnum=24247 [09:00:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 AA C1 17 01 87 CF 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 11 00 00 00 F4 03 04 00 98 C6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B7 5E 00 00 35 04 06 00 BC 43 93 82 01 A8 A1 C6 27 71 A0 C0 80 32 [09:00:04]CheckFolder [09:00:04]dirname=/storage/ofd_packets [09:00:04]CheckFolder done [09:00:04]ProducePacketName [09:00:04]name=ofd_packets/00024247 [09:00:04]NVStorageSaveData ofd_packets/00024247 [09:00:04]File name is /storage/ofd_packets/00024247 [09:00:04]Write 317 bytes [09:00:04]NVStorageSaveData done [09:00:04]OFDSenderStorePacket done [09:00:04]KKMCreateOFDPacket done [09:00:04]NVStorageSaveData kkm_last_timestamp [09:00:04]File name is /storage/kkm_last_timestamp [09:00:04]Write 4 bytes [09:00:04]NVStorageSaveData done [09:00:04]ExternCall_PrintAddStr [09:00:04]wPrintStart [09:00:04]Write to MH i2c: 01 00 00 B8 13 CB [09:00:04]Write i2c OK [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: 01 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: 01 07 00 [09:00:04]MH_I2C_Read... [09:00:04]Read from MH i2c: 01 07 00 B8 13 00 00 00 00 00 FF 0F E0 [09:00:04]RasterBufferAndPrint [09:00:04]line Счет N : (3)134773 [09:00:04]line ИНН: 02508201610067 [09:00:04]line Контрольно-Кассовый Чек [09:00:04]line ПРОДАЖА [09:00:04]line Товар: 46231529 [09:00:04]line Mentos ПФ Арбуз 6*100*2 [09:00:04]line 2.000 * 10.00 [09:00:04]line = 20.00 [09:00:04]line НДС 12% НСП 1% [09:00:04]line > о реализуемом товаре [09:00:04]line ИТОГО: 20.00 [09:00:04]line НСП 1% : 0.18 [09:00:04]line НДС 12% : 2.12 [09:00:04]line Наличными: 20.00 [09:00:04]line Безнал.: 0.00 [09:00:04]line Место: АЗС № 85 "Партнер Нефть" [09:00:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:00:04]line СНО: Общий режим [09:00:04]line Чек 17 20.10.2024 09:00 [09:00:04]line Смена: 460 ФФД: 1.0 [09:00:04]line ЗНМ: 0300000166 [09:00:04]line РНМ: 0000000000098120 [09:00:04]line Версия ККМ: 001 [09:00:04]line ФМ: 0000000000965420 [09:00:04]line ФД: 24247 [09:00:04]line ФПД: 206998423601576 [09:00:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090008&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24247&fm=206998423601576&tin=02508201610067®Number=0000000000098120&sum=2000 [09:00:05]line 0 [09:00:05]OFD Sender: Processing packet 24247 [packets to send 5, broken 4] [09:00:05]ProducePacketName [09:00:05]name=ofd_packets/00024247 [09:00:05]OFD Sender: To server: pG, [09:00:05]CommunicateWithHost lk.salyk.kg:30040 [09:00:05]ConnectInit lk.salyk.kg [09:00:05]written 0, free lines is 4095 [09:00:05]Connected sock=10 [09:00:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 AA C1 17 01 87 CF 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 11 00 00 00 F4 03 04 00 98 C6 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B7 5E 00 00 35 04 06 00 BC 43 93 82 01 A8 A1 C6 27 71 A0 C0 80 32 [09:00:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 59 39 47 00 69 45 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B7 5E 00 00 F4 03 04 00 30 72 14 67 B6 04 01 00 00 F1 26 64 1F B1 54 10 E3 [09:00:05]CommunicateWithHost err = 0 [09:00:05]CheckOFDResponse [09:00:05]1017 (14) - 77093643461234 [09:00:05]1041 (16) - 0000000000965420 [09:00:05]1040 (4) - 24247 [09:00:05]1012 (4) - 20.10.2024 03:00 [09:00:05]1206 (1) - 0 [09:00:05]OFD Sender: Remove packet 24247 [09:00:05]ProducePacketName [09:00:05]name=ofd_packets/00024247 [09:00:05]NVStorageDeleteData [09:00:05]Write to MH i2c: 01 00 00 E0 13 F3 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 07 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: 01 07 00 E0 13 00 00 00 00 00 1F 0D 26 [09:00:05]RasterBufferAndPrint [09:00:05]line [09:00:05]line [09:00:05]line [09:00:05]line [09:00:05]line [09:00:05]written 0, free lines is 3365 [09:00:05]process_action close_receipt done [09:00:05]requested_data is exist [09:00:05]produce_requested_data [09:00:05]requested_item fm.sn is exist - process it [09:00:05]wFMCommunicate request_size=4 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 11 00 00 [09:00:05]Write to MH i2c: E2 08 00 E7 13 80 11 00 00 00 00 00 00 74 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 17 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 17 00 E7 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C1 [09:00:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:00:05]wFMCommunicate OK [09:00:05]requested_item fd.num is exist - process it [09:00:05]SAM_PROTO_GetFieldsCounters [09:00:05]wFMCommunicate request_size=4 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 13 00 00 [09:00:05]Write to MH i2c: E2 08 00 E8 13 80 13 00 00 00 00 00 00 77 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 62 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 62 00 E8 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 A2 [09:00:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:00:05]wFMCommunicate OK [09:00:05]SAM_PROTO_GetFieldsCounters done [09:00:05]requested_item shift.num is exist - process it [09:00:05]requested_item shift.opened is exist - process it [09:00:05]req_shift_opened [09:00:05]FM_GetShiftState [09:00:05]SAM_PROTO_GetShiftState [09:00:05]wFMCommunicate request_size=4 [09:00:05]MH_SAM_APDU [09:00:05]CAPDU: 80 13 01 00 [09:00:05]Write to MH i2c: E2 08 00 E9 13 80 13 01 00 00 00 00 00 79 [09:00:05]Write i2c OK [09:00:05]MH_I2C_Read... [09:00:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:05]Read from MH i2c: E2 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 0E 00 [09:00:05]MH_I2C_Read... [09:00:05]Read from MH i2c: E2 0E 00 E9 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 9A [09:00:05]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:00:05]wFMCommunicate OK [09:00:05]SAM_PROTO_GetShiftState done [09:00:05]FM_GetShiftState done [09:00:05]req_shift_opened done [09:00:05]requested_item shift.open_date is exist - process it [09:00:05]req_shift_open_date [09:00:05]req_shift_open_date done [09:00:05]produce_requested_data done [09:00:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24247,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:00:05]process_action_free close_receipt [09:00:05]json_value_free [09:00:05]json_value_free done [09:00:05]process_json_proto returns [09:00:05]Send response to host [09:00:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24247,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:00:05]free response buf [09:00:05]execute_script done [09:00:05]execute_script returns [09:00:05]free content buf [09:00:05]Sock 7.Close socket [09:00:05]Sock 7.Thread stoped [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:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:13]accept exits with 9 [09:04:13]New connection [09:04:13]New thread 3067243876 created [09:04:13]Thread 3067100516 joined [09:04:13]Waiting for new connection... [09:04:13] Sock 9.Parse request [09:04:13]Sock 9.Check first char [09:04:13]Sock 9.First char is OK [09:04:13]request: POST /json_proto HTTP/1.0 [09:04:13]Method: POST [09:04:13]URL: /json_proto [09:04:13]Method is POST - this is cgi request [09:04:13]url: /json_proto [09:04:13]query_string will be loaded in cgi processing [09:04:13]execute_cgi json_proto POST (null) [09:04:13]execute_cgi path=json_proto method=POST [09:04:13]POST find Content-Length [09:04:13]Host: 172.17.50.4:8080 [09:04:13]Content-Length: 678 [09:04:13]Content-Type: application/json [09:04:13] [09:04:13]POST finish read [09:04:13]Found Content-Length = 678 [09:04:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2884936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:13]execute_script... [09:04:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2884936", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 12", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 4.490, "sum" : 300.38, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:04:13]POST & json_proto [09:04:13]process_json_proto [09:04:13]json parsed OK: [09:04:13]protocol is kg_v1.0 [09:04:13]action value=close_receipt [09:04:13]process_action close_receipt [09:04:13]cmd_close_receipt [09:04:13]MH_GetDate [09:04:13]Write to MH i2c: F0 00 00 EA 13 EC [09:04:13]Write i2c OK [09:04:13]MH_I2C_Read... [09:04:13]Read from MH i2c: F0 [09:04:13]MH_I2C_Read... [09:04:13]Read from MH i2c: F0 09 00 [09:04:13]MH_I2C_Read... [09:04:13]Read from MH i2c: F0 09 00 EA 13 00 92 C7 14 67 1D BB 13 67 1B [09:04:13]GetLastDocTimeStamp 1729414808 [09:04:13]current date 1729415058 [09:04:13]FM_GetShiftState [09:04:13]SAM_PROTO_GetShiftState [09:04:13]wFMCommunicate request_size=4 [09:04:13]MH_SAM_APDU [09:04:13]CAPDU: 80 13 01 00 [09:04:13]Write to MH i2c: E2 08 00 EB 13 80 13 01 00 00 00 00 00 7B [09:04:13]Write i2c OK [09:04:13]MH_I2C_Read... [09:04:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:04:13]Read from MH i2c: E2 [09:04:13]MH_I2C_Read... [09:04:13]Read from MH i2c: E2 0E 00 [09:04:13]MH_I2C_Read... [09:04:13]Read from MH i2c: E2 0E 00 EB 13 00 09 00 01 51 49 14 67 00 00 00 00 90 00 9C [09:04:13]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:04:13]wFMCommunicate OK [09:04:13]SAM_PROTO_GetShiftState done [09:04:13]FM_GetShiftState done [09:04:13]opened in 1729382737 [09:04:13]opened+sec_in_day 1729469137 [09:04:13]quantity*price = 30038 [09:04:13]sum+1 = 30039 [09:04:13]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.38 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.90 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 18 20.10.2024 09:04 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24248 ФПД: 242743919207438 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090418&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24248&fm=242743919207438&tin=02508201610067®Number=0000000000098120&sum=30000 [09:04:15]StoreToDocumentArchive [09:04:15]shift 460 fd 24248 [09:04:15]save to /storage/0460/doc_00024248 [09:04:15]save last doc name /storage/0460/doc_00024248 to /storage/kkm_last_doc_name [09:04:15]save OK [09:04:15]Clear old archive folders... [09:04:15]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:04:15]tlvbuf is 0217C7B0 [09:04:15]SAM_PROTO_ClearQueue [09:04:15]wFMCommunicate request_size=4 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 09 00 00 [09:04:15]Write to MH i2c: E2 08 00 F8 13 80 09 00 00 00 00 00 00 7D [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 F8 13 00 90 00 7F [09:04:15]RAPDU: 90 00 [09:04:15]wFMCommunicate OK [09:04:15]SAM_PROTO_ClearQueue done [09:04:15]KKMCreateOFDPacket [09:04:15]OFDProtocolAddRootSTLVToBuf [09:04:15]FM_MakeSignedData [09:04:15]FM_MakeSignedData [09:04:15]SAM_PROTO_SignData [09:04:15]wFMCommunicate request_size=4 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 0D 01 02 [09:04:15]Write to MH i2c: E2 08 00 F9 13 80 0D 01 02 00 00 00 00 85 [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 F9 13 00 90 00 80 [09:04:15]RAPDU: 90 00 [09:04:15]wFMCommunicate OK [09:04:15]wFMCommunicate request_size=255 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 0D 02 02 FA 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 92 C7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B8 5E 00 00 35 04 06 00 DC [09:04:15]Write to MH i2c: E2 02 01 FA 13 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 92 C7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B8 5E 00 00 35 04 06 00 DC 00 00 A2 [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 FA 13 00 90 00 81 [09:04:15]RAPDU: 90 00 [09:04:15]wFMCommunicate OK [09:04:15]wFMCommunicate request_size=10 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 0D 02 02 05 C6 39 13 64 0E [09:04:15]Write to MH i2c: E2 0D 00 FB 13 80 0D 02 02 05 00 C6 39 13 64 0E 00 00 16 [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 03 00 FB 13 00 90 00 82 [09:04:15]RAPDU: 90 00 [09:04:15]wFMCommunicate OK [09:04:15]wFMCommunicate request_size=4 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 0D 03 02 [09:04:15]Write to MH i2c: E2 08 00 FC 13 80 0D 03 02 00 00 00 00 8A [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 0B 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 0B 00 FC 13 00 7B B0 D1 88 AD 2E 6E E2 90 00 3A [09:04:15]RAPDU: 7B B0 D1 88 AD 2E 6E E2 90 00 [09:04:15]wFMCommunicate OK [09:04:15]SAM_PROTO_SignData done [09:04:15]FM_MakeSignedData done [09:04:15]CreateOFDProtocolMessage [09:04:15]wFMCommunicate request_size=4 [09:04:15]MH_SAM_APDU [09:04:15]CAPDU: 80 11 00 00 [09:04:15]Write to MH i2c: E2 08 00 FD 13 80 11 00 00 00 00 00 00 8A [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:04:15]Read from MH i2c: E2 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 17 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: E2 17 00 FD 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D7 [09:04:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:04:15]wFMCommunicate OK [09:04:15]CreateOFDProtocolMessage done [09:04:15]OFDSenderStorePacket 24248 [09:04:15]StoreOFDPacket docnum=24248 [09:04:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0F 01 00 00 6C 87 07 01 67 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 92 C7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B8 5E 00 00 35 04 06 00 DC C6 39 13 64 0E 7B B0 D1 88 AD 2E 6E E2 [09:04:15]CheckFolder [09:04:15]dirname=/storage/ofd_packets [09:04:15]CheckFolder done [09:04:15]ProducePacketName [09:04:15]name=ofd_packets/00024248 [09:04:15]NVStorageSaveData ofd_packets/00024248 [09:04:15]File name is /storage/ofd_packets/00024248 [09:04:15]Write 301 bytes [09:04:15]NVStorageSaveData done [09:04:15]OFDSenderStorePacket done [09:04:15]KKMCreateOFDPacket done [09:04:15]NVStorageSaveData kkm_last_timestamp [09:04:15]File name is /storage/kkm_last_timestamp [09:04:15]Write 4 bytes [09:04:15]NVStorageSaveData done [09:04:15]ExternCall_PrintAddStr [09:04:15]wPrintStart [09:04:15]Write to MH i2c: 01 00 00 FE 13 11 [09:04:15]Write i2c OK [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: 01 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: 01 07 00 [09:04:15]MH_I2C_Read... [09:04:15]Read from MH i2c: 01 07 00 FE 13 00 00 00 00 00 FF 0F 26 [09:04:15]RasterBufferAndPrint [09:04:15]line Счет N : (1)2884936 [09:04:15]line ИНН: 02508201610067 [09:04:15]line Контрольно-Кассовый Чек [09:04:15]line ПРОДАЖА [09:04:15]line ТРК (МРК, ГНК) : 12 [09:04:15]line Товар: 2710124130 [09:04:15]line Аи-92-К-5 [09:04:15]line 4.490 * 66.90 [09:04:15]line = 300.38 [09:04:15]line НДС 12% НСП 1% [09:04:15]line > о реализуемом товаре [09:04:15]line ОКРУГЛЕНИЕ: -0.38 [09:04:15]line ИТОГО: 300.00 [09:04:15]line Внесено: 300.00 [09:04:15]line СДАЧА: 0.00 [09:04:15]line НСП 1% : 2.66 [09:04:15]line НДС 12% : 31.90 [09:04:15]line Наличными: 300.00 [09:04:15]line Безнал.: 0.00 [09:04:15]line Место: АЗС № 85 "Партнер Нефть" [09:04:15]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:04:15]line СНО: Общий режим [09:04:15]line Чек 18 20.10.2024 09:04 [09:04:15]line Смена: 460 ФФД: 1.0 [09:04:15]line ЗНМ: 0300000166 [09:04:15]line РНМ: 0000000000098120 [09:04:15]line Версия ККМ: 001 [09:04:15]line ФМ: 0000000000965420 [09:04:15]line ФД: 24248 [09:04:15]line ФПД: 242743919207438 [09:04:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090418&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24248&fm=242743919207438&tin=02508201610067®Number=0000000000098120&sum=30000 [09:04:15]OFD Sender: Processing packet 24248 [packets to send 5, broken 4] [09:04:15]ProducePacketName [09:04:15]name=ofd_packets/00024248 [09:04:15]OFD Sender: To server: pG, [09:04:15]CommunicateWithHost lk.salyk.kg:30040 [09:04:15]ConnectInit lk.salyk.kg [09:04:15]written 0, free lines is 4095 [09:04:15]Connected sock=7 [09:04:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0F 01 00 00 6C 87 07 01 67 9D 5A 03 01 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 8A 11 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 56 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 92 C7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B8 5E 00 00 35 04 06 00 DC C6 39 13 64 0E 7B B0 D1 88 AD 2E 6E E2 [09:04:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 57 B0 47 00 5E 65 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B8 5E 00 00 F4 03 04 00 2B 73 14 67 B6 04 01 00 00 D2 E9 00 A3 D8 D5 5D 37 [09:04:16]CommunicateWithHost err = 0 [09:04:16]CheckOFDResponse [09:04:16]1017 (14) - 77093643461234 [09:04:16]1041 (16) - 0000000000965420 [09:04:16]1040 (4) - 24248 [09:04:16]1012 (4) - 20.10.2024 03:04 [09:04:16]1206 (1) - 0 [09:04:16]OFD Sender: Remove packet 24248 [09:04:16]ProducePacketName [09:04:16]name=ofd_packets/00024248 [09:04:16]NVStorageDeleteData [09:04:16]Write to MH i2c: 01 00 00 29 14 3D [09:04:16]Write i2c OK [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: 01 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: 01 07 00 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: 01 07 00 29 14 00 00 00 00 00 F5 0C 45 [09:04:16]RasterBufferAndPrint [09:04:16]line [09:04:16]line [09:04:16]line [09:04:16]line [09:04:16]line [09:04:16]written 0, free lines is 3323 [09:04:16]process_action close_receipt done [09:04:16]requested_data is exist [09:04:16]produce_requested_data [09:04:16]requested_item fm.sn is exist - process it [09:04:16]wFMCommunicate request_size=4 [09:04:16]MH_SAM_APDU [09:04:16]CAPDU: 80 11 00 00 [09:04:16]Write to MH i2c: E2 08 00 30 14 80 11 00 00 00 00 00 00 BE [09:04:16]Write i2c OK [09:04:16]MH_I2C_Read... [09:04:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:04:16]Read from MH i2c: E2 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 17 00 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 17 00 30 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0B [09:04:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:04:16]wFMCommunicate OK [09:04:16]requested_item fd.num is exist - process it [09:04:16]SAM_PROTO_GetFieldsCounters [09:04:16]wFMCommunicate request_size=4 [09:04:16]MH_SAM_APDU [09:04:16]CAPDU: 80 13 00 00 [09:04:16]Write to MH i2c: E2 08 00 31 14 80 13 00 00 00 00 00 00 C1 [09:04:16]Write i2c OK [09:04:16]MH_I2C_Read... [09:04:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:04:16]Read from MH i2c: E2 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 62 00 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 62 00 31 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [09:04:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:04:16]wFMCommunicate OK [09:04:16]SAM_PROTO_GetFieldsCounters done [09:04:16]requested_item shift.num is exist - process it [09:04:16]requested_item shift.opened is exist - process it [09:04:16]req_shift_opened [09:04:16]FM_GetShiftState [09:04:16]SAM_PROTO_GetShiftState [09:04:16]wFMCommunicate request_size=4 [09:04:16]MH_SAM_APDU [09:04:16]CAPDU: 80 13 01 00 [09:04:16]Write to MH i2c: E2 08 00 32 14 80 13 01 00 00 00 00 00 C3 [09:04:16]Write i2c OK [09:04:16]MH_I2C_Read... [09:04:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:04:16]Read from MH i2c: E2 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 0E 00 [09:04:16]MH_I2C_Read... [09:04:16]Read from MH i2c: E2 0E 00 32 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E4 [09:04:16]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:04:16]wFMCommunicate OK [09:04:16]SAM_PROTO_GetShiftState done [09:04:16]FM_GetShiftState done [09:04:16]req_shift_opened done [09:04:16]requested_item shift.open_date is exist - process it [09:04:16]req_shift_open_date [09:04:16]req_shift_open_date done [09:04:16]produce_requested_data done [09:04:16]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24248,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:04:16]process_action_free close_receipt [09:04:16]json_value_free [09:04:16]json_value_free done [09:04:16]process_json_proto returns [09:04:16]Send response to host [09:04:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24248,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:04:16]free response buf [09:04:16]execute_script done [09:04:16]execute_script returns [09:04:16]free content buf [09:04:16]Sock 9.Close socket [09:04:16]Sock 9.Thread stoped [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:29]accept exits with 10 [09:07:29]New connection [09:07:29]New thread 3067100516 created [09:07:29]Thread 3067243876 joined [09:07:29]Waiting for new connection... [09:07:29] Sock 10.Parse request [09:07:29]Sock 10.Check first char [09:07:29]Sock 10.First char is OK [09:07:29]request: POST /json_proto HTTP/1.0 [09:07:29]Method: POST [09:07:29]URL: /json_proto [09:07:29]Method is POST - this is cgi request [09:07:29]url: /json_proto [09:07:29]query_string will be loaded in cgi processing [09:07:29]execute_cgi json_proto POST (null) [09:07:29]execute_cgi path=json_proto method=POST [09:07:29]POST find Content-Length [09:07:29]Host: 172.17.50.4:8080 [09:07:29]Content-Length: 608 [09:07:29]Content-Type: application/json [09:07:29] [09:07:29]POST finish read [09:07:29]Found Content-Length = 608 [09:07:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134774", "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" ] } } [09:07:29]execute_script... [09:07:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134774", "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" ] } } [09:07:29]POST & json_proto [09:07:29]process_json_proto [09:07:29]json parsed OK: [09:07:29]protocol is kg_v1.0 [09:07:29]action value=close_receipt [09:07:29]process_action close_receipt [09:07:29]cmd_close_receipt [09:07:29]MH_GetDate [09:07:29]Write to MH i2c: F0 00 00 33 14 36 [09:07:29]Write i2c OK [09:07:29]MH_I2C_Read... [09:07:29]Read from MH i2c: F0 [09:07:29]MH_I2C_Read... [09:07:29]Read from MH i2c: F0 09 00 [09:07:29]MH_I2C_Read... [09:07:29]Read from MH i2c: F0 09 00 33 14 00 56 C8 14 67 1D BB 13 67 2A [09:07:29]GetLastDocTimeStamp 1729415058 [09:07:29]current date 1729415254 [09:07:29]FM_GetShiftState [09:07:29]SAM_PROTO_GetShiftState [09:07:29]wFMCommunicate request_size=4 [09:07:29]MH_SAM_APDU [09:07:29]CAPDU: 80 13 01 00 [09:07:29]Write to MH i2c: E2 08 00 34 14 80 13 01 00 00 00 00 00 C5 [09:07:29]Write i2c OK [09:07:29]MH_I2C_Read... [09:07:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:29]Read from MH i2c: E2 [09:07:29]MH_I2C_Read... [09:07:29]Read from MH i2c: E2 0E 00 [09:07:29]MH_I2C_Read... [09:07:29]Read from MH i2c: E2 0E 00 34 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E6 [09:07:29]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:07:29]wFMCommunicate OK [09:07:29]SAM_PROTO_GetShiftState done [09:07:29]FM_GetShiftState done [09:07:29]opened in 1729382737 [09:07:29]opened+sec_in_day 1729469137 [09:07:29]quantity*price = 1000 [09:07:29]sum+1 = 1001 [09:07:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 19 20.10.2024 09:07 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24249 ФПД: 17869801143049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24249&fm=17869801143049&tin=02508201610067®Number=0000000000098120&sum=1000 0 [09:07:30]StoreToDocumentArchive [09:07:30]shift 460 fd 24249 [09:07:30]save to /storage/0460/doc_00024249 [09:07:30]save last doc name /storage/0460/doc_00024249 to /storage/kkm_last_doc_name [09:07:30]save OK [09:07:30]Clear old archive folders... [09:07:30]ProcessDocumentItem done err = 0, tmpTLVsize=267 [09:07:30]tlvbuf is 0214C170 [09:07:30]SAM_PROTO_ClearQueue [09:07:30]wFMCommunicate request_size=4 [09:07:30]MH_SAM_APDU [09:07:30]CAPDU: 80 09 00 00 [09:07:30]Write to MH i2c: E2 08 00 41 14 80 09 00 00 00 00 00 00 C7 [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:07:30]Read from MH i2c: E2 03 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 41 14 00 90 00 C9 [09:07:30]RAPDU: 90 00 [09:07:30]wFMCommunicate OK [09:07:30]SAM_PROTO_ClearQueue done [09:07:30]KKMCreateOFDPacket [09:07:30]OFDProtocolAddRootSTLVToBuf [09:07:30]FM_MakeSignedData [09:07:30]FM_MakeSignedData [09:07:30]SAM_PROTO_SignData [09:07:30]wFMCommunicate request_size=4 [09:07:30]MH_SAM_APDU [09:07:30]CAPDU: 80 0D 01 02 [09:07:30]Write to MH i2c: E2 08 00 42 14 80 0D 01 02 00 00 00 00 CF [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 42 14 00 90 00 CA [09:07:30]RAPDU: 90 00 [09:07:30]wFMCommunicate OK [09:07:30]wFMCommunicate request_size=255 [09:07:30]MH_SAM_APDU [09:07:30]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 13 00 00 00 F4 03 04 00 56 C8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [09:07:30]Write to MH i2c: E2 02 01 43 14 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 13 00 00 00 F4 03 04 00 56 C8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 DA [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 43 14 00 90 00 CB [09:07:30]RAPDU: 90 00 [09:07:30]wFMCommunicate OK [09:07:30]wFMCommunicate request_size=26 [09:07:30]MH_SAM_APDU [09:07:30]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 B9 5E 00 00 35 04 06 00 10 40 A3 26 3B 09 [09:07:30]Write to MH i2c: E2 1D 00 44 14 80 0D 02 02 15 00 34 32 30 10 04 04 00 B9 5E 00 00 35 04 06 00 10 40 A3 26 3B 09 00 00 5D [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 03 00 44 14 00 90 00 CC [09:07:30]RAPDU: 90 00 [09:07:30]wFMCommunicate OK [09:07:30]wFMCommunicate request_size=4 [09:07:30]MH_SAM_APDU [09:07:30]CAPDU: 80 0D 03 02 [09:07:30]Write to MH i2c: E2 08 00 45 14 80 0D 03 02 00 00 00 00 D4 [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 0B 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 0B 00 45 14 00 0F 71 B3 F1 54 32 DC 70 90 00 CB [09:07:30]RAPDU: 0F 71 B3 F1 54 32 DC 70 90 00 [09:07:30]wFMCommunicate OK [09:07:30]SAM_PROTO_SignData done [09:07:30]FM_MakeSignedData done [09:07:30]CreateOFDProtocolMessage [09:07:30]wFMCommunicate request_size=4 [09:07:30]MH_SAM_APDU [09:07:30]CAPDU: 80 11 00 00 [09:07:30]Write to MH i2c: E2 08 00 46 14 80 11 00 00 00 00 00 00 D4 [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:30]Read from MH i2c: E2 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 17 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: E2 17 00 46 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 21 [09:07:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:07:30]wFMCommunicate OK [09:07:30]CreateOFDProtocolMessage done [09:07:30]OFDSenderStorePacket 24249 [09:07:30]StoreOFDPacket docnum=24249 [09:07:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 D6 74 17 01 E2 B3 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 13 00 00 00 F4 03 04 00 56 C8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B9 5E 00 00 35 04 06 00 10 40 A3 26 3B 09 0F 71 B3 F1 54 32 DC 70 [09:07:30]CheckFolder [09:07:30]dirname=/storage/ofd_packets [09:07:30]CheckFolder done [09:07:30]ProducePacketName [09:07:30]name=ofd_packets/00024249 [09:07:30]NVStorageSaveData ofd_packets/00024249 [09:07:30]File name is /storage/ofd_packets/00024249 [09:07:30]Write 317 bytes [09:07:30]NVStorageSaveData done [09:07:30]OFDSenderStorePacket done [09:07:30]KKMCreateOFDPacket done [09:07:30]NVStorageSaveData kkm_last_timestamp [09:07:30]File name is /storage/kkm_last_timestamp [09:07:30]Write 4 bytes [09:07:30]NVStorageSaveData done [09:07:30]ExternCall_PrintAddStr [09:07:30]wPrintStart [09:07:30]Write to MH i2c: 01 00 00 47 14 5B [09:07:30]Write i2c OK [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: 01 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: 01 07 00 [09:07:30]MH_I2C_Read... [09:07:30]Read from MH i2c: 01 07 00 47 14 00 00 00 00 00 FF 0F 70 [09:07:30]RasterBufferAndPrint [09:07:30]line Счет N : (3)134774 [09:07:30]line ИНН: 02508201610067 [09:07:30]line Контрольно-Кассовый Чек [09:07:30]line ПРОДАЖА [09:07:30]line Товар: 46231529 [09:07:30]line Mentos ПФ Арбуз 6*100*2 [09:07:30]line 1.000 * 10.00 [09:07:30]line = 10.00 [09:07:30]line НДС 12% НСП 1% [09:07:30]line > о реализуемом товаре [09:07:30]line ИТОГО: 10.00 [09:07:30]line НСП 1% : 0.09 [09:07:30]line НДС 12% : 1.06 [09:07:30]line Наличными: 10.00 [09:07:30]line Безнал.: 0.00 [09:07:30]line Место: АЗС № 85 "Партнер Нефть" [09:07:30]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:07:30]line СНО: Общий режим [09:07:30]line Чек 19 20.10.2024 09:07 [09:07:30]line Смена: 460 ФФД: 1.0 [09:07:30]line ЗНМ: 0300000166 [09:07:30]line РНМ: 0000000000098120 [09:07:30]line Версия ККМ: 001 [09:07:31]line ФМ: 0000000000965420 [09:07:31]line ФД: 24249 [09:07:31]line ФПД: 17869801143049 [09:07:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T090734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24249&fm=17869801143049&tin=02508201610067®Number=0000000000098120&sum=1000 [09:07:31]line 0 [09:07:31]OFD Sender: Processing packet 24249 [packets to send 5, broken 4] [09:07:31]ProducePacketName [09:07:31]name=ofd_packets/00024249 [09:07:31]OFD Sender: To server: pG, [09:07:31]CommunicateWithHost lk.salyk.kg:30040 [09:07:31]ConnectInit lk.salyk.kg [09:07:31]written 0, free lines is 4095 [09:07:31]Connected sock=9 [09:07:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 D6 74 17 01 E2 B3 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 13 00 00 00 F4 03 04 00 56 C8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B9 5E 00 00 35 04 06 00 10 40 A3 26 3B 09 0F 71 B3 F1 54 32 DC 70 [09:07:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 DE 24 47 00 07 50 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 B9 5E 00 00 F4 03 04 00 EE 73 14 67 B6 04 01 00 00 DB E7 6D 2C FE D7 EB DD [09:07:31]CommunicateWithHost err = 0 [09:07:31]CheckOFDResponse [09:07:31]1017 (14) - 77093643461234 [09:07:31]1041 (16) - 0000000000965420 [09:07:31]1040 (4) - 24249 [09:07:31]1012 (4) - 20.10.2024 03:07 [09:07:31]1206 (1) - 0 [09:07:31]OFD Sender: Remove packet 24249 [09:07:31]ProducePacketName [09:07:31]name=ofd_packets/00024249 [09:07:31]NVStorageDeleteData [09:07:31]Write to MH i2c: 01 00 00 6F 14 83 [09:07:31]Write i2c OK [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: 01 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: 01 07 00 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: 01 07 00 6F 14 00 00 00 00 00 1E 0D B5 [09:07:31]RasterBufferAndPrint [09:07:31]line [09:07:31]line [09:07:31]line [09:07:31]line [09:07:31]line [09:07:31]written 0, free lines is 3364 [09:07:31]process_action close_receipt done [09:07:31]requested_data is exist [09:07:31]produce_requested_data [09:07:31]requested_item fm.sn is exist - process it [09:07:31]wFMCommunicate request_size=4 [09:07:31]MH_SAM_APDU [09:07:31]CAPDU: 80 11 00 00 [09:07:31]Write to MH i2c: E2 08 00 76 14 80 11 00 00 00 00 00 00 04 [09:07:31]Write i2c OK [09:07:31]MH_I2C_Read... [09:07:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:07:31]Read from MH i2c: E2 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 17 00 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 17 00 76 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 51 [09:07:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:07:31]wFMCommunicate OK [09:07:31]requested_item fd.num is exist - process it [09:07:31]SAM_PROTO_GetFieldsCounters [09:07:31]wFMCommunicate request_size=4 [09:07:31]MH_SAM_APDU [09:07:31]CAPDU: 80 13 00 00 [09:07:31]Write to MH i2c: E2 08 00 77 14 80 13 00 00 00 00 00 00 07 [09:07:31]Write i2c OK [09:07:31]MH_I2C_Read... [09:07:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:07:31]Read from MH i2c: E2 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 62 00 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 62 00 77 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 3A [09:07:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 B9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:07:31]wFMCommunicate OK [09:07:31]SAM_PROTO_GetFieldsCounters done [09:07:31]requested_item shift.num is exist - process it [09:07:31]requested_item shift.opened is exist - process it [09:07:31]req_shift_opened [09:07:31]FM_GetShiftState [09:07:31]SAM_PROTO_GetShiftState [09:07:31]wFMCommunicate request_size=4 [09:07:31]MH_SAM_APDU [09:07:31]CAPDU: 80 13 01 00 [09:07:31]Write to MH i2c: E2 08 00 78 14 80 13 01 00 00 00 00 00 09 [09:07:31]Write i2c OK [09:07:31]MH_I2C_Read... [09:07:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:07:31]Read from MH i2c: E2 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 0E 00 [09:07:31]MH_I2C_Read... [09:07:31]Read from MH i2c: E2 0E 00 78 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2A [09:07:31]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:07:31]wFMCommunicate OK [09:07:31]SAM_PROTO_GetShiftState done [09:07:31]FM_GetShiftState done [09:07:31]req_shift_opened done [09:07:31]requested_item shift.open_date is exist - process it [09:07:31]req_shift_open_date [09:07:31]req_shift_open_date done [09:07:31]produce_requested_data done [09:07:31]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24249,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:07:31]process_action_free close_receipt [09:07:31]json_value_free [09:07:31]json_value_free done [09:07:31]process_json_proto returns [09:07:31]Send response to host [09:07:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24249,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:07:31]free response buf [09:07:31]execute_script done [09:07:31]execute_script returns [09:07:31]free content buf [09:07:31]Sock 10.Close socket [09:07:31]Sock 10.Thread stoped [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:32]OFD Sender: No OFD packet to send [09:08:37]OFD Sender: No OFD packet to send [09:08:42]OFD Sender: No OFD packet to send [09:08:47]OFD Sender: No OFD packet to send [09:08:52]OFD Sender: No OFD packet to send [09:08:57]OFD Sender: No OFD packet to send [09:09:02]OFD Sender: No OFD packet to send [09:09:07]OFD Sender: No OFD packet to send [09:09:12]OFD Sender: No OFD packet to send [09:09:17]OFD Sender: No OFD packet to send [09:09:22]OFD Sender: No OFD packet to send [09:09:27]OFD Sender: No OFD packet to send [09:09:32]OFD Sender: No OFD packet to send [09:09:37]OFD Sender: No OFD packet to send [09:09:42]OFD Sender: No OFD packet to send [09:09:47]OFD Sender: No OFD packet to send [09:09:52]OFD Sender: No OFD packet to send [09:09:57]OFD Sender: No OFD packet to send [09:10:02]OFD Sender: No OFD packet to send [09:10:07]OFD Sender: No OFD packet to send [09:10:12]OFD Sender: No OFD packet to send [09:10:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:02]OFD Sender: No OFD packet to send [09:13:07]OFD Sender: No OFD packet to send [09:13:12]OFD Sender: No OFD packet to send [09:13:17]OFD Sender: No OFD packet to send [09:13:22]OFD Sender: No OFD packet to send [09:13:27]OFD Sender: No OFD packet to send [09:13:32]OFD Sender: No OFD packet to send [09:13:37]OFD Sender: No OFD packet to send [09:13:42]OFD Sender: No OFD packet to send [09:13:47]OFD Sender: No OFD packet to send [09:13:52]OFD Sender: No OFD packet to send [09:13:57]OFD Sender: No OFD packet to send [09:14:02]OFD Sender: No OFD packet to send [09:14:07]OFD Sender: No OFD packet to send [09:14:12]OFD Sender: No OFD packet to send [09:14:17]OFD Sender: No OFD packet to send [09:14:22]OFD Sender: No OFD packet to send [09:14:27]OFD Sender: No OFD packet to send [09:14:32]OFD Sender: No OFD packet to send [09:14:37]OFD Sender: No OFD packet to send [09:14:42]OFD Sender: No OFD packet to send [09:14:47]OFD Sender: No OFD packet to send [09:14:52]OFD Sender: No OFD packet to send [09:14:57]OFD Sender: No OFD packet to send [09:15:02]OFD Sender: No OFD packet to send [09:15:07]OFD Sender: No OFD packet to send [09:15:12]OFD Sender: No OFD packet to send [09:15:17]OFD Sender: No OFD packet to send [09:15:22]OFD Sender: No OFD packet to send [09:15:27]OFD Sender: No OFD packet to send [09:15:32]OFD Sender: No OFD packet to send [09:15:37]OFD Sender: No OFD packet to send [09:15:42]OFD Sender: No OFD packet to send [09:15:47]OFD Sender: No OFD packet to send [09:15:52]OFD Sender: No OFD packet to send [09:15:57]OFD Sender: No OFD packet to send [09:16:02]OFD Sender: No OFD packet to send [09:16:07]OFD Sender: No OFD packet to send [09:16:12]OFD Sender: No OFD packet to send [09:16:17]OFD Sender: No OFD packet to send [09:16:22]OFD Sender: No OFD packet to send [09:16:27]OFD Sender: No OFD packet to send [09:16:32]OFD Sender: No OFD packet to send [09:16:37]OFD Sender: No OFD packet to send [09:16:42]OFD Sender: No OFD packet to send [09:16:47]OFD Sender: No OFD packet to send [09:16:52]OFD Sender: No OFD packet to send [09:16:57]OFD Sender: No OFD packet to send [09:17:02]OFD Sender: No OFD packet to send [09:17:07]OFD Sender: No OFD packet to send [09:17:12]OFD Sender: No OFD packet to send [09:17:17]OFD Sender: No OFD packet to send [09:17:22]OFD Sender: No OFD packet to send [09:17:27]OFD Sender: No OFD packet to send [09:17:32]OFD Sender: No OFD packet to send [09:17:37]OFD Sender: No OFD packet to send [09:17:42]OFD Sender: No OFD packet to send [09:17:47]OFD Sender: No OFD packet to send [09:17:52]OFD Sender: No OFD packet to send [09:17:57]OFD Sender: No OFD packet to send [09:18:02]OFD Sender: No OFD packet to send [09:18:07]OFD Sender: No OFD packet to send [09:18:12]OFD Sender: No OFD packet to send [09:18:17]OFD Sender: No OFD packet to send [09:18:22]OFD Sender: No OFD packet to send [09:18:27]OFD Sender: No OFD packet to send [09:18:32]OFD Sender: No OFD packet to send [09:18:37]OFD Sender: No OFD packet to send [09:18:42]OFD Sender: No OFD packet to send [09:18:47]OFD Sender: No OFD packet to send [09:18:52]OFD Sender: No OFD packet to send [09:18:57]OFD Sender: No OFD packet to send [09:19:02]OFD Sender: No OFD packet to send [09:19:07]OFD Sender: No OFD packet to send [09:19:12]OFD Sender: No OFD packet to send [09:19:17]OFD Sender: No OFD packet to send [09:19:22]OFD Sender: No OFD packet to send [09:19:27]OFD Sender: No OFD packet to send [09:19:32]OFD Sender: No OFD packet to send [09:19:37]OFD Sender: No OFD packet to send [09:19:42]OFD Sender: No OFD packet to send [09:19:47]OFD Sender: No OFD packet to send [09:19:52]OFD Sender: No OFD packet to send [09:19:57]OFD Sender: No OFD packet to send [09:20:02]OFD Sender: No OFD packet to send [09:20:07]OFD Sender: No OFD packet to send [09:20:10]accept exits with 7 [09:20:10]New connection [09:20:10]New thread 3067243876 created [09:20:10]Thread 3067100516 joined [09:20:10]Waiting for new connection... [09:20:10] Sock 7.Parse request [09:20:10]Sock 7.Check first char [09:20:10]Sock 7.First char is OK [09:20:10]request: POST /json_proto HTTP/1.0 [09:20:10]Method: POST [09:20:10]URL: /json_proto [09:20:10]Method is POST - this is cgi request [09:20:10]url: /json_proto [09:20:10]query_string will be loaded in cgi processing [09:20:10]execute_cgi json_proto POST (null) [09:20:10]execute_cgi path=json_proto method=POST [09:20:10]POST find Content-Length [09:20:10]Host: 172.17.50.4:8080 [09:20:10]Content-Length: 709 [09:20:10]Content-Type: application/json [09:20:10] [09:20:10]POST finish read [09:20:10]Found Content-Length = 709 [09:20:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134775", "tax_sys" : 0, "items" : [ { "code": "4700003010049", "name": "Let`s GO \u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442 0,5\u043B \u041F\u042D\u0422", "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" ] } } [09:20:10]execute_script... [09: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)134775", "tax_sys" : 0, "items" : [ { "code": "4700003010049", "name": "Let`s GO \u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442 0,5\u043B \u041F\u042D\u0422", "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" ] } } [09:20:10]POST & json_proto [09:20:10]process_json_proto [09:20:10]json parsed OK: [09:20:10]protocol is kg_v1.0 [09:20:10]action value=close_receipt [09:20:10]process_action close_receipt [09:20:10]cmd_close_receipt [09:20:10]MH_GetDate [09:20:10]Write to MH i2c: F0 00 00 79 14 7C [09:20:10]Write i2c OK [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: F0 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: F0 09 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: F0 09 00 79 14 00 4F CB 14 67 1D BB 13 67 6C [09:20:10]GetLastDocTimeStamp 1729415254 [09:20:10]current date 1729416015 [09:20:10]FM_GetShiftState [09:20:10]SAM_PROTO_GetShiftState [09:20:10]wFMCommunicate request_size=4 [09:20:10]MH_SAM_APDU [09:20:10]CAPDU: 80 13 01 00 [09:20:10]Write to MH i2c: E2 08 00 7A 14 80 13 01 00 00 00 00 00 0B [09:20:10]Write i2c OK [09:20:10]MH_I2C_Read... [09:20:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:10]Read from MH i2c: E2 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 0E 00 [09:20:10]MH_I2C_Read... [09:20:10]Read from MH i2c: E2 0E 00 7A 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2C [09:20:10]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:20:10]wFMCommunicate OK [09:20:10]SAM_PROTO_GetShiftState done [09:20:10]FM_GetShiftState done [09:20:10]opened in 1729382737 [09:20:10]opened+sec_in_day 1729469137 [09:20:10]quantity*price = 5000 [09:20:10]sum+1 = 5001 [09:20:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 20 20.10.2024 09:20 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24250 ФПД: 93488848542169 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092015&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24250&fm=93488848542169&tin=02508201610067®Number=0000000000098120&sum=5000 0 [09:20:11]StoreToDocumentArchive [09:20:11]shift 460 fd 24250 [09:20:11]save to /storage/0460/doc_00024250 [09:20:11]save last doc name /storage/0460/doc_00024250 to /storage/kkm_last_doc_name [09:20:11]save OK [09:20:11]Clear old archive folders... [09:20:11]ProcessDocumentItem done err = 0, tmpTLVsize=304 [09:20:11]tlvbuf is 02211420 [09:20:11]SAM_PROTO_ClearQueue [09:20:11]wFMCommunicate request_size=4 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 09 00 00 [09:20:11]Write to MH i2c: E2 08 00 87 14 80 09 00 00 00 00 00 00 0D [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 87 14 00 90 00 0F [09:20:11]RAPDU: 90 00 [09:20:11]wFMCommunicate OK [09:20:11]SAM_PROTO_ClearQueue done [09:20:11]KKMCreateOFDPacket [09:20:11]OFDProtocolAddRootSTLVToBuf [09:20:11]FM_MakeSignedData [09:20:11]FM_MakeSignedData [09:20:11]SAM_PROTO_SignData [09:20:11]wFMCommunicate request_size=4 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 0D 01 02 [09:20:11]Write to MH i2c: E2 08 00 88 14 80 0D 01 02 00 00 00 00 15 [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 88 14 00 90 00 10 [09:20:11]RAPDU: 90 00 [09:20:11]wFMCommunicate OK [09:20:11]wFMCommunicate request_size=255 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 34 39 06 04 3E 00 4C 65 74 60 73 20 47 4F 20 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 20 30 2C 35 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 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 14 00 00 00 F4 03 04 00 4F CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 [09:20:11]Write to MH i2c: E2 02 01 89 14 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 34 39 06 04 3E 00 4C 65 74 60 73 20 47 4F 20 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 20 30 2C 35 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 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 14 00 00 00 F4 03 04 00 4F CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 00 00 A9 [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 89 14 00 90 00 11 [09:20:11]RAPDU: 90 00 [09:20:11]wFMCommunicate OK [09:20:11]wFMCommunicate request_size=63 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BA 5E 00 00 35 04 06 00 55 07 11 9B 99 D9 [09:20:11]Write to MH i2c: E2 42 00 8A 14 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BA 5E 00 00 35 04 06 00 55 07 11 9B 99 D9 00 00 E9 [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 03 00 8A 14 00 90 00 12 [09:20:11]RAPDU: 90 00 [09:20:11]wFMCommunicate OK [09:20:11]wFMCommunicate request_size=4 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 0D 03 02 [09:20:11]Write to MH i2c: E2 08 00 8B 14 80 0D 03 02 00 00 00 00 1A [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 0B 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 0B 00 8B 14 00 18 0A E0 B9 E7 6B 33 53 90 00 AE [09:20:11]RAPDU: 18 0A E0 B9 E7 6B 33 53 90 00 [09:20:11]wFMCommunicate OK [09:20:11]SAM_PROTO_SignData done [09:20:11]FM_MakeSignedData done [09:20:11]CreateOFDProtocolMessage [09:20:11]wFMCommunicate request_size=4 [09:20:11]MH_SAM_APDU [09:20:11]CAPDU: 80 11 00 00 [09:20:11]Write to MH i2c: E2 08 00 8C 14 80 11 00 00 00 00 00 00 1A [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:11]Read from MH i2c: E2 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 17 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: E2 17 00 8C 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 67 [09:20:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:20:11]wFMCommunicate OK [09:20:11]CreateOFDProtocolMessage done [09:20:11]OFDSenderStorePacket 24250 [09:20:11]StoreOFDPacket docnum=24250 [09:20:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 44 01 00 00 B3 57 3C 01 8E FA 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 34 39 06 04 3E 00 4C 65 74 60 73 20 47 4F 20 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 20 30 2C 35 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 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 14 00 00 00 F4 03 04 00 4F CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BA 5E 00 00 35 04 06 00 55 07 11 9B 99 D9 18 0A E0 B9 E7 6B 33 53 [09:20:11]CheckFolder [09:20:11]dirname=/storage/ofd_packets [09:20:11]CheckFolder done [09:20:11]ProducePacketName [09:20:11]name=ofd_packets/00024250 [09:20:11]NVStorageSaveData ofd_packets/00024250 [09:20:11]File name is /storage/ofd_packets/00024250 [09:20:11]Write 354 bytes [09:20:11]NVStorageSaveData done [09:20:11]OFDSenderStorePacket done [09:20:11]KKMCreateOFDPacket done [09:20:11]NVStorageSaveData kkm_last_timestamp [09:20:11]File name is /storage/kkm_last_timestamp [09:20:11]Write 4 bytes [09:20:11]NVStorageSaveData done [09:20:11]ExternCall_PrintAddStr [09:20:11]wPrintStart [09:20:11]Write to MH i2c: 01 00 00 8D 14 A1 [09:20:11]Write i2c OK [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: 01 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: 01 07 00 [09:20:11]MH_I2C_Read... [09:20:11]Read from MH i2c: 01 07 00 8D 14 00 00 00 00 00 FF 0F B6 [09:20:11]RasterBufferAndPrint [09:20:11]line Счет N : (3)134775 [09:20:11]line ИНН: 02508201610067 [09:20:11]line Контрольно-Кассовый Чек [09:20:11]line ПРОДАЖА [09:20:11]line Товар: 4700003010049 [09:20:11]line Let`s GO Чай зеленый грейпфрут 0,5л ПЭТ [09:20:11]line 1.000 * 50.00 [09:20:11]line = 50.00 [09:20:11]line НДС 12% НСП 1% [09:20:11]line > о реализуемом товаре [09:20:11]line ИТОГО: 50.00 [09:20:11]line НСП 1% : 0.44 [09:20:11]line НДС 12% : 5.31 [09:20:11]line Наличными: 50.00 [09:20:11]line Безнал.: 0.00 [09:20:11]line Место: АЗС № 85 "Партнер Нефть" [09:20:11]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:20:11]line СНО: Общий режим [09:20:11]line Чек 20 20.10.2024 09:20 [09:20:11]line Смена: 460 ФФД: 1.0 [09:20:11]line ЗНМ: 0300000166 [09:20:11]line РНМ: 0000000000098120 [09:20:11]line Версия ККМ: 001 [09:20:11]line ФМ: 0000000000965420 [09:20:11]line ФД: 24250 [09:20:11]line ФПД: 93488848542169 [09:20:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092015&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24250&fm=93488848542169&tin=02508201610067®Number=0000000000098120&sum=5000 [09:20:12]OFD Sender: Processing packet 24250 [packets to send 5, broken 4] [09:20:12]ProducePacketName [09:20:12]name=ofd_packets/00024250 [09:20:12]OFD Sender: To server: pG, [09:20:12]CommunicateWithHost lk.salyk.kg:30040 [09:20:12]ConnectInit lk.salyk.kg [09:20:12]line 0 [09:20:12]written 0, free lines is 4095 [09:20:12]Connected sock=10 [09:20:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 44 01 00 00 B3 57 3C 01 8E FA 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 34 39 06 04 3E 00 4C 65 74 60 73 20 47 4F 20 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 20 30 2C 35 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 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 14 00 00 00 F4 03 04 00 4F CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BA 5E 00 00 35 04 06 00 55 07 11 9B 99 D9 18 0A E0 B9 E7 6B 33 53 [09:20:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 72 81 47 00 07 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BA 5E 00 00 F4 03 04 00 E7 76 14 67 B6 04 01 00 00 AC 16 52 C9 45 B1 52 89 [09:20:12]CommunicateWithHost err = 0 [09:20:12]CheckOFDResponse [09:20:12]1017 (14) - 77093643461234 [09:20:12]1041 (16) - 0000000000965420 [09:20:12]1040 (4) - 24250 [09:20:12]1012 (4) - 20.10.2024 03:20 [09:20:12]1206 (1) - 0 [09:20:12]OFD Sender: Remove packet 24250 [09:20:12]ProducePacketName [09:20:12]name=ofd_packets/00024250 [09:20:12]NVStorageDeleteData [09:20:12]Write to MH i2c: 01 00 00 B6 14 CA [09:20:12]Write i2c OK [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: 01 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: 01 07 00 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: 01 07 00 B6 14 00 00 00 00 00 06 0D E4 [09:20:12]RasterBufferAndPrint [09:20:12]line [09:20:12]line [09:20:12]line [09:20:12]line [09:20:12]line [09:20:12]written 0, free lines is 3340 [09:20:12]process_action close_receipt done [09:20:12]requested_data is exist [09:20:12]produce_requested_data [09:20:12]requested_item fm.sn is exist - process it [09:20:12]wFMCommunicate request_size=4 [09:20:12]MH_SAM_APDU [09:20:12]CAPDU: 80 11 00 00 [09:20:12]Write to MH i2c: E2 08 00 BD 14 80 11 00 00 00 00 00 00 4B [09:20:12]Write i2c OK [09:20:12]MH_I2C_Read... [09:20:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:12]Read from MH i2c: E2 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 17 00 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 17 00 BD 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 98 [09:20:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:20:12]wFMCommunicate OK [09:20:12]requested_item fd.num is exist - process it [09:20:12]SAM_PROTO_GetFieldsCounters [09:20:12]wFMCommunicate request_size=4 [09:20:12]MH_SAM_APDU [09:20:12]CAPDU: 80 13 00 00 [09:20:12]Write to MH i2c: E2 08 00 BE 14 80 13 00 00 00 00 00 00 4E [09:20:12]Write i2c OK [09:20:12]MH_I2C_Read... [09:20:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:12]Read from MH i2c: E2 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 62 00 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 62 00 BE 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [09:20:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:20:12]wFMCommunicate OK [09:20:12]SAM_PROTO_GetFieldsCounters done [09:20:12]requested_item shift.num is exist - process it [09:20:12]requested_item shift.opened is exist - process it [09:20:12]req_shift_opened [09:20:12]FM_GetShiftState [09:20:12]SAM_PROTO_GetShiftState [09:20:12]wFMCommunicate request_size=4 [09:20:12]MH_SAM_APDU [09:20:12]CAPDU: 80 13 01 00 [09:20:12]Write to MH i2c: E2 08 00 BF 14 80 13 01 00 00 00 00 00 50 [09:20:12]Write i2c OK [09:20:12]MH_I2C_Read... [09:20:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:12]Read from MH i2c: E2 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 0E 00 [09:20:12]MH_I2C_Read... [09:20:12]Read from MH i2c: E2 0E 00 BF 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 71 [09:20:12]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:20:12]wFMCommunicate OK [09:20:12]SAM_PROTO_GetShiftState done [09:20:12]FM_GetShiftState done [09:20:12]req_shift_opened done [09:20:12]requested_item shift.open_date is exist - process it [09:20:12]req_shift_open_date [09:20:12]req_shift_open_date done [09:20:12]produce_requested_data done [09:20:12]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24250,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:20:12]process_action_free close_receipt [09:20:12]json_value_free [09:20:12]json_value_free done [09:20:12]process_json_proto returns [09:20:12]Send response to host [09:20:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24250,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:20:12]free response buf [09:20:12]execute_script done [09:20:12]execute_script returns [09:20:12]free content buf [09:20:12]Sock 7.Close socket [09:20:12]Sock 7.Thread stoped [09:20:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:23]OFD Sender: No OFD packet to send [09:20:28]OFD Sender: No OFD packet to send [09:20:33]OFD Sender: No OFD packet to send [09:20:38]OFD Sender: No OFD packet to send [09:20:43]OFD Sender: No OFD packet to send [09:20:44]accept exits with 9 [09:20:44]New connection [09:20:44]New thread 3067100516 created [09:20:44]Thread 3067243876 joined [09:20:44]Waiting for new connection... [09:20:44] Sock 9.Parse request [09:20:44]Sock 9.Check first char [09:20:44]Sock 9.First char is OK [09:20:44]request: POST /json_proto HTTP/1.0 [09:20:44]Method: POST [09:20:44]URL: /json_proto [09:20:44]Method is POST - this is cgi request [09:20:44]url: /json_proto [09:20:44]query_string will be loaded in cgi processing [09:20:44]execute_cgi json_proto POST (null) [09:20:44]execute_cgi path=json_proto method=POST [09:20:44]POST find Content-Length [09:20:44]Host: 172.17.50.4:8080 [09:20:44]Content-Length: 628 [09:20:44]Content-Type: application/json [09:20:44] [09:20:44]POST finish read [09:20:44]Found Content-Length = 628 [09:20:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134776", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:44]execute_script... [09:20: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)134776", "tax_sys" : 0, "items" : [ { "code": "48741231", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Silver", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:20:44]POST & json_proto [09:20:44]process_json_proto [09:20:44]json parsed OK: [09:20:44]protocol is kg_v1.0 [09:20:44]action value=close_receipt [09:20:44]process_action close_receipt [09:20:44]cmd_close_receipt [09:20:44]MH_GetDate [09:20:44]Write to MH i2c: F0 00 00 C0 14 C3 [09:20:44]Write i2c OK [09:20:44]MH_I2C_Read... [09:20:44]Read from MH i2c: F0 [09:20:44]MH_I2C_Read... [09:20:44]Read from MH i2c: F0 09 00 [09:20:44]MH_I2C_Read... [09:20:44]Read from MH i2c: F0 09 00 C0 14 00 71 CB 14 67 1D BB 13 67 D5 [09:20:44]GetLastDocTimeStamp 1729416015 [09:20:44]current date 1729416049 [09:20:44]FM_GetShiftState [09:20:44]SAM_PROTO_GetShiftState [09:20:44]wFMCommunicate request_size=4 [09:20:44]MH_SAM_APDU [09:20:44]CAPDU: 80 13 01 00 [09:20:44]Write to MH i2c: E2 08 00 C1 14 80 13 01 00 00 00 00 00 52 [09:20:44]Write i2c OK [09:20:44]MH_I2C_Read... [09:20:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:44]Read from MH i2c: E2 [09:20:44]MH_I2C_Read... [09:20:44]Read from MH i2c: E2 0E 00 [09:20:44]MH_I2C_Read... [09:20:44]Read from MH i2c: E2 0E 00 C1 14 00 09 00 01 51 49 14 67 00 00 00 00 90 00 73 [09:20:44]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:20:44]wFMCommunicate OK [09:20:44]SAM_PROTO_GetShiftState done [09:20:44]FM_GetShiftState done [09:20:44]opened in 1729382737 [09:20:44]opened+sec_in_day 1729469137 [09:20:44]quantity*price = 13900 [09:20:44]sum+1 = 13901 [09:20:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 21 20.10.2024 09:20 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24251 ФПД: 141471235756558 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092049&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24251&fm=141471235756558&tin=02508201610067®Number=0000000000098120&sum=13900 0 [09:20:45]StoreToDocumentArchive [09:20:45]shift 460 fd 24251 [09:20:45]save to /storage/0460/doc_00024251 [09:20:45]save last doc name /storage/0460/doc_00024251 to /storage/kkm_last_doc_name [09:20:45]save OK [09:20:45]Clear old archive folders... [09:20:45]ProcessDocumentItem done err = 0, tmpTLVsize=280 [09:20:45]tlvbuf is 020D1B20 [09:20:45]SAM_PROTO_ClearQueue [09:20:45]wFMCommunicate request_size=4 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 09 00 00 [09:20:45]Write to MH i2c: E2 08 00 CE 14 80 09 00 00 00 00 00 00 54 [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 CE 14 00 90 00 56 [09:20:45]RAPDU: 90 00 [09:20:45]wFMCommunicate OK [09:20:45]SAM_PROTO_ClearQueue done [09:20:45]KKMCreateOFDPacket [09:20:45]OFDProtocolAddRootSTLVToBuf [09:20:45]FM_MakeSignedData [09:20:45]FM_MakeSignedData [09:20:45]SAM_PROTO_SignData [09:20:45]wFMCommunicate request_size=4 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 0D 01 02 [09:20:45]Write to MH i2c: E2 08 00 CF 14 80 0D 01 02 00 00 00 00 5C [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 CF 14 00 90 00 57 [09:20:45]RAPDU: 90 00 [09:20:45]wFMCommunicate OK [09:20:45]wFMCommunicate request_size=255 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 71 CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 [09:20:45]Write to MH i2c: E2 02 01 D0 14 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 71 CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 00 00 C1 [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 D0 14 00 90 00 58 [09:20:45]RAPDU: 90 00 [09:20:45]wFMCommunicate OK [09:20:45]wFMCommunicate request_size=39 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BB 5E 00 00 35 04 06 00 80 AA D6 C0 D2 0E [09:20:45]Write to MH i2c: E2 2A 00 D1 14 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BB 5E 00 00 35 04 06 00 80 AA D6 C0 D2 0E 00 00 CD [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 03 00 D1 14 00 90 00 59 [09:20:45]RAPDU: 90 00 [09:20:45]wFMCommunicate OK [09:20:45]wFMCommunicate request_size=4 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 0D 03 02 [09:20:45]Write to MH i2c: E2 08 00 D2 14 80 0D 03 02 00 00 00 00 61 [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 0B 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 0B 00 D2 14 00 91 64 51 69 10 DA 19 D5 90 00 E9 [09:20:45]RAPDU: 91 64 51 69 10 DA 19 D5 90 00 [09:20:45]wFMCommunicate OK [09:20:45]SAM_PROTO_SignData done [09:20:45]FM_MakeSignedData done [09:20:45]CreateOFDProtocolMessage [09:20:45]wFMCommunicate request_size=4 [09:20:45]MH_SAM_APDU [09:20:45]CAPDU: 80 11 00 00 [09:20:45]Write to MH i2c: E2 08 00 D3 14 80 11 00 00 00 00 00 00 61 [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:45]Read from MH i2c: E2 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 17 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: E2 17 00 D3 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AE [09:20:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:20:45]wFMCommunicate OK [09:20:45]CreateOFDProtocolMessage done [09:20:45]OFDSenderStorePacket 24251 [09:20:45]StoreOFDPacket docnum=24251 [09:20:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2C 01 00 00 9E B2 24 01 14 69 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 71 CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BB 5E 00 00 35 04 06 00 80 AA D6 C0 D2 0E 91 64 51 69 10 DA 19 D5 [09:20:45]CheckFolder [09:20:45]dirname=/storage/ofd_packets [09:20:45]CheckFolder done [09:20:45]ProducePacketName [09:20:45]name=ofd_packets/00024251 [09:20:45]NVStorageSaveData ofd_packets/00024251 [09:20:45]File name is /storage/ofd_packets/00024251 [09:20:45]Write 330 bytes [09:20:45]NVStorageSaveData done [09:20:45]OFDSenderStorePacket done [09:20:45]KKMCreateOFDPacket done [09:20:45]NVStorageSaveData kkm_last_timestamp [09:20:45]File name is /storage/kkm_last_timestamp [09:20:45]Write 4 bytes [09:20:45]NVStorageSaveData done [09:20:45]ExternCall_PrintAddStr [09:20:45]wPrintStart [09:20:45]Write to MH i2c: 01 00 00 D4 14 E8 [09:20:45]Write i2c OK [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: 01 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: 01 07 00 [09:20:45]MH_I2C_Read... [09:20:45]Read from MH i2c: 01 07 00 D4 14 00 00 00 00 00 FF 0F FD [09:20:45]RasterBufferAndPrint [09:20:45]line Счет N : (3)134776 [09:20:45]line ИНН: 02508201610067 [09:20:45]line Контрольно-Кассовый Чек [09:20:45]line ПРОДАЖА [09:20:45]line Товар: 48741231 [09:20:45]line Сигареты Winston Super Slims Silver [09:20:45]line 1.000 * 139.00 [09:20:45]line = 139.00 [09:20:45]line НДС 12% НСП 1% [09:20:45]line > о реализуемом товаре [09:20:45]line ИТОГО: 139.00 [09:20:45]line НСП 1% : 1.23 [09:20:45]line НДС 12% : 14.76 [09:20:45]line Наличными: 139.00 [09:20:45]line Безнал.: 0.00 [09:20:45]line Место: АЗС № 85 "Партнер Нефть" [09:20:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:20:45]line СНО: Общий режим [09:20:45]line Чек 21 20.10.2024 09:20 [09:20:45]line Смена: 460 ФФД: 1.0 [09:20:45]line ЗНМ: 0300000166 [09:20:45]line РНМ: 0000000000098120 [09:20:45]line Версия ККМ: 001 [09:20:45]line ФМ: 0000000000965420 [09:20:45]line ФД: 24251 [09:20:45]line ФПД: 141471235756558 [09:20:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092049&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24251&fm=141471235756558&tin=02508201610067®Number=0000000000098120&sum=13900 [09:20:46]line 0 [09:20:46]OFD Sender: Processing packet 24251 [packets to send 5, broken 4] [09:20:46]ProducePacketName [09:20:46]name=ofd_packets/00024251 [09:20:46]OFD Sender: To server: pG, [09:20:46]CommunicateWithHost lk.salyk.kg:30040 [09:20:46]ConnectInit lk.salyk.kg [09:20:46]written 0, free lines is 4095 [09:20:46]Connected sock=10 [09:20:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2C 01 00 00 9E B2 24 01 14 69 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 08 00 34 38 37 34 31 32 33 31 06 04 2B 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 71 CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BB 5E 00 00 35 04 06 00 80 AA D6 C0 D2 0E 91 64 51 69 10 DA 19 D5 [09:20:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 10 08 47 00 1C BF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BB 5E 00 00 F4 03 04 00 09 77 14 67 B6 04 01 00 00 FB 7B AB 66 F4 D6 3B 92 [09:20:46]CommunicateWithHost err = 0 [09:20:46]CheckOFDResponse [09:20:46]1017 (14) - 77093643461234 [09:20:46]1041 (16) - 0000000000965420 [09:20:46]1040 (4) - 24251 [09:20:46]1012 (4) - 20.10.2024 03:20 [09:20:46]1206 (1) - 0 [09:20:46]OFD Sender: Remove packet 24251 [09:20:46]ProducePacketName [09:20:46]name=ofd_packets/00024251 [09:20:46]NVStorageDeleteData [09:20:46]Write to MH i2c: 01 00 00 FD 14 11 [09:20:46]Write i2c OK [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: 01 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: 01 07 00 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: 01 07 00 FD 14 00 00 00 00 00 09 0D 2E [09:20:46]RasterBufferAndPrint [09:20:46]line [09:20:46]line [09:20:46]line [09:20:46]line [09:20:46]line [09:20:46]written 0, free lines is 3346 [09:20:46]process_action close_receipt done [09:20:46]requested_data is exist [09:20:46]produce_requested_data [09:20:46]requested_item fm.sn is exist - process it [09:20:46]wFMCommunicate request_size=4 [09:20:46]MH_SAM_APDU [09:20:46]CAPDU: 80 11 00 00 [09:20:46]Write to MH i2c: E2 08 00 04 15 80 11 00 00 00 00 00 00 93 [09:20:46]Write i2c OK [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 [09:20:46]MH_I2C_Read... [09:20:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:20:46]Read from MH i2c: E2 17 00 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 17 00 04 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E0 [09:20:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:20:46]wFMCommunicate OK [09:20:46]requested_item fd.num is exist - process it [09:20:46]SAM_PROTO_GetFieldsCounters [09:20:46]wFMCommunicate request_size=4 [09:20:46]MH_SAM_APDU [09:20:46]CAPDU: 80 13 00 00 [09:20:46]Write to MH i2c: E2 08 00 05 15 80 13 00 00 00 00 00 00 96 [09:20:46]Write i2c OK [09:20:46]MH_I2C_Read... [09:20:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:20:46]Read from MH i2c: E2 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 62 00 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 62 00 05 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [09:20:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:20:46]wFMCommunicate OK [09:20:46]SAM_PROTO_GetFieldsCounters done [09:20:46]requested_item shift.num is exist - process it [09:20:46]requested_item shift.opened is exist - process it [09:20:46]req_shift_opened [09:20:46]FM_GetShiftState [09:20:46]SAM_PROTO_GetShiftState [09:20:46]wFMCommunicate request_size=4 [09:20:46]MH_SAM_APDU [09:20:46]CAPDU: 80 13 01 00 [09:20:46]Write to MH i2c: E2 08 00 06 15 80 13 01 00 00 00 00 00 98 [09:20:46]Write i2c OK [09:20:46]MH_I2C_Read... [09:20:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:20:46]Read from MH i2c: E2 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 0E 00 [09:20:46]MH_I2C_Read... [09:20:46]Read from MH i2c: E2 0E 00 06 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B9 [09:20:46]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:20:46]wFMCommunicate OK [09:20:46]SAM_PROTO_GetShiftState done [09:20:46]FM_GetShiftState done [09:20:46]req_shift_opened done [09:20:46]requested_item shift.open_date is exist - process it [09:20:46]req_shift_open_date [09:20:46]req_shift_open_date done [09:20:46]produce_requested_data done [09:20:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24251,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:20:46]process_action_free close_receipt [09:20:46]json_value_free [09:20:46]json_value_free done [09:20:46]process_json_proto returns [09:20:46]Send response to host [09:20:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24251,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:20:46]free response buf [09:20:46]execute_script done [09:20:46]execute_script returns [09:20:46]free content buf [09:20:46]Sock 9.Close socket [09:20:46]Sock 9.Thread stoped [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:48]accept exits with 7 [09:22:48]New connection [09:22:48]New thread 3067243876 created [09:22:48]Thread 3067100516 joined [09:22:48]Waiting for new connection... [09:22:48] Sock 7.Parse request [09:22:48]Sock 7.Check first char [09:22:48]Sock 7.First char is OK [09:22:48]request: POST /json_proto HTTP/1.0 [09:22:48]Method: POST [09:22:48]URL: /json_proto [09:22:48]Method is POST - this is cgi request [09:22:48]url: /json_proto [09:22:48]query_string will be loaded in cgi processing [09:22:48]execute_cgi json_proto POST (null) [09:22:48]execute_cgi path=json_proto method=POST [09:22:48]POST find Content-Length [09:22:48]Host: 172.17.50.4:8080 [09:22:48]Content-Length: 874 [09:22:48]Content-Type: application/json [09:22:48] [09:22:48]POST finish read [09:22:48]Found Content-Length = 874 [09:22:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134777", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "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" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:48]execute_script... [09:22: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)134777", "tax_sys" : 0, "items" : [ { "code": "2000029770012", "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" : 590.00, "quantity" : 1.000, "sum" : 590.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 590.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:22:48]POST & json_proto [09:22:48]process_json_proto [09:22:48]json parsed OK: [09:22:48]protocol is kg_v1.0 [09:22:48]action value=close_receipt [09:22:48]process_action close_receipt [09:22:48]cmd_close_receipt [09:22:48]MH_GetDate [09:22:48]Write to MH i2c: F0 00 00 07 15 0B [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: F0 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: F0 09 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: F0 09 00 07 15 00 ED CB 14 67 1D BB 13 67 99 [09:22:48]GetLastDocTimeStamp 1729416049 [09:22:48]current date 1729416173 [09:22:48]FM_GetShiftState [09:22:48]SAM_PROTO_GetShiftState [09:22:48]wFMCommunicate request_size=4 [09:22:48]MH_SAM_APDU [09:22:48]CAPDU: 80 13 01 00 [09:22:48]Write to MH i2c: E2 08 00 08 15 80 13 01 00 00 00 00 00 9A [09:22:48]Write i2c OK [09:22:48]MH_I2C_Read... [09:22:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:48]Read from MH i2c: E2 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 0E 00 [09:22:48]MH_I2C_Read... [09:22:48]Read from MH i2c: E2 0E 00 08 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 BB [09:22:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:22:48]wFMCommunicate OK [09:22:48]SAM_PROTO_GetShiftState done [09:22:48]FM_GetShiftState done [09:22:48]opened in 1729382737 [09:22:48]opened+sec_in_day 1729469137 [09:22:48]quantity*price = 59000 [09:22:48]sum+1 = 59001 [09:22:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 590.00 НСП 1% : 5.22 НДС 12% : 62.65 Наличными: 0.00 Безнал.: 590.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 22 20.10.2024 09:22 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24252 ФПД: 280489264890106 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092253&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24252&fm=280489264890106&tin=02508201610067®Number=0000000000098120&sum=59000 0 [09:22:49]StoreToDocumentArchive [09:22:49]shift 460 fd 24252 [09:22:49]save to /storage/0460/doc_00024252 [09:22:49]save last doc name /storage/0460/doc_00024252 to /storage/kkm_last_doc_name [09:22:49]save OK [09:22:49]Clear old archive folders... [09:22:49]ProcessDocumentItem done err = 0, tmpTLVsize=307 [09:22:49]tlvbuf is 020CF540 [09:22:49]SAM_PROTO_ClearQueue [09:22:49]wFMCommunicate request_size=4 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 09 00 00 [09:22:49]Write to MH i2c: E2 08 00 15 15 80 09 00 00 00 00 00 00 9C [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 15 15 00 90 00 9E [09:22:49]RAPDU: 90 00 [09:22:49]wFMCommunicate OK [09:22:49]SAM_PROTO_ClearQueue done [09:22:49]KKMCreateOFDPacket [09:22:49]OFDProtocolAddRootSTLVToBuf [09:22:49]FM_MakeSignedData [09:22:49]FM_MakeSignedData [09:22:49]SAM_PROTO_SignData [09:22:49]wFMCommunicate request_size=4 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 0D 01 02 [09:22:49]Write to MH i2c: E2 08 00 16 15 80 0D 01 02 00 00 00 00 A4 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 16 15 00 90 00 9F [09:22:49]RAPDU: 90 00 [09:22:49]wFMCommunicate OK [09:22:49]wFMCommunicate request_size=255 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 0D 02 02 FA 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 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 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 ED CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 [09:22:49]Write to MH i2c: E2 02 01 17 15 80 0D 02 02 FA 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 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 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 ED CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 00 00 41 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 17 15 00 90 00 A0 [09:22:49]RAPDU: 90 00 [09:22:49]wFMCommunicate OK [09:22:49]wFMCommunicate request_size=66 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 0D 02 02 3D 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BC 5E 00 00 35 04 06 00 FF 1A 7E FF 40 FA [09:22:49]Write to MH i2c: E2 45 00 18 15 80 0D 02 02 3D 00 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BC 5E 00 00 35 04 06 00 FF 1A 7E FF 40 FA 00 00 D8 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 03 00 18 15 00 90 00 A1 [09:22:49]RAPDU: 90 00 [09:22:49]wFMCommunicate OK [09:22:49]wFMCommunicate request_size=4 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 0D 03 02 [09:22:49]Write to MH i2c: E2 08 00 19 15 80 0D 03 02 00 00 00 00 A9 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 0B 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 0B 00 19 15 00 2D 7B 2B 68 36 9A 46 73 90 00 6E [09:22:49]RAPDU: 2D 7B 2B 68 36 9A 46 73 90 00 [09:22:49]wFMCommunicate OK [09:22:49]SAM_PROTO_SignData done [09:22:49]FM_MakeSignedData done [09:22:49]CreateOFDProtocolMessage [09:22:49]wFMCommunicate request_size=4 [09:22:49]MH_SAM_APDU [09:22:49]CAPDU: 80 11 00 00 [09:22:49]Write to MH i2c: E2 08 00 1A 15 80 11 00 00 00 00 00 00 A9 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:49]Read from MH i2c: E2 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 17 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: E2 17 00 1A 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F6 [09:22:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:22:49]wFMCommunicate OK [09:22:49]CreateOFDProtocolMessage done [09:22:49]OFDSenderStorePacket 24252 [09:22:49]StoreOFDPacket docnum=24252 [09:22:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 47 01 00 00 11 AA 3F 01 0B 8E 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 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 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 ED CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BC 5E 00 00 35 04 06 00 FF 1A 7E FF 40 FA 2D 7B 2B 68 36 9A 46 73 [09:22:49]CheckFolder [09:22:49]dirname=/storage/ofd_packets [09:22:49]CheckFolder done [09:22:49]ProducePacketName [09:22:49]name=ofd_packets/00024252 [09:22:49]NVStorageSaveData ofd_packets/00024252 [09:22:49]File name is /storage/ofd_packets/00024252 [09:22:49]Write 357 bytes [09:22:49]NVStorageSaveData done [09:22:49]OFDSenderStorePacket done [09:22:49]KKMCreateOFDPacket done [09:22:49]NVStorageSaveData kkm_last_timestamp [09:22:49]File name is /storage/kkm_last_timestamp [09:22:49]Write 4 bytes [09:22:49]NVStorageSaveData done [09:22:49]ExternCall_PrintAddStr [09:22:49]wPrintStart [09:22:49]Write to MH i2c: 01 00 00 1B 15 30 [09:22:49]Write i2c OK [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: 01 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: 01 07 00 [09:22:49]MH_I2C_Read... [09:22:49]Read from MH i2c: 01 07 00 1B 15 00 00 00 00 00 FF 0F 45 [09:22:49]RasterBufferAndPrint [09:22:49]line Счет N : (3)134777 [09:22:49]line ИНН: 02508201610067 [09:22:49]line Контрольно-Кассовый Чек [09:22:49]line ПРОДАЖА [09:22:49]line Товар: 2000029770012 [09:22:49]line Очки солнцезащитные в ассортименте [09:22:49]line 1.000 * 590.00 [09:22:49]line = 590.00 [09:22:49]line НДС 12% НСП 1% [09:22:49]line > о реализуемом товаре [09:22:49]line ИТОГО: 590.00 [09:22:49]line НСП 1% : 5.22 [09:22:49]line НДС 12% : 62.65 [09:22:49]line Наличными: 0.00 [09:22:49]line Безнал.: 590.00 [09:22:49]line Место: АЗС № 85 "Партнер Нефть" [09:22:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:22:49]line СНО: Общий режим [09:22:49]line Чек 22 20.10.2024 09:22 [09:22:49]line Смена: 460 ФФД: 1.0 [09:22:49]line ЗНМ: 0300000166 [09:22:49]line РНМ: 0000000000098120 [09:22:49]line Версия ККМ: 001 [09:22:49]line Платежная система: Mbank [09:22:49]line ФМ: 0000000000965420 [09:22:49]line ФД: 24252 [09:22:49]line ФПД: 280489264890106 [09:22:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T092253&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24252&fm=280489264890106&tin=02508201610067®Number=0000000000098120&sum=59000 [09:22:50]line 0 [09:22:50]OFD Sender: Processing packet 24252 [packets to send 5, broken 4] [09:22:50]ProducePacketName [09:22:50]name=ofd_packets/00024252 [09:22:50]OFD Sender: To server: pG, [09:22:50]CommunicateWithHost lk.salyk.kg:30040 [09:22:50]ConnectInit lk.salyk.kg [09:22:50]written 0, free lines is 4095 [09:22:50]Connected sock=10 [09:22:50]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 47 01 00 00 11 AA 3F 01 0B 8E 5A 03 01 00 03 00 33 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 32 30 30 30 30 32 39 37 37 30 30 31 32 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 78 E6 00 00 00 00 13 04 06 00 78 E6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 E6 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 79 18 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 E6 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 ED CB 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BC 5E 00 00 35 04 06 00 FF 1A 7E FF 40 FA 2D 7B 2B 68 36 9A 46 73 [09:22:50]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 35 65 47 00 EA 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 36 35 34 32 30 10 04 04 00 BC 5E 00 00 F4 03 04 00 85 77 14 67 B6 04 01 00 00 E8 DE 81 F6 F1 B5 30 7A [09:22:50]CommunicateWithHost err = 0 [09:22:50]CheckOFDResponse [09:22:50]1017 (14) - 77093643461234 [09:22:50]1041 (16) - 0000000000965420 [09:22:50]1040 (4) - 24252 [09:22:50]1012 (4) - 20.10.2024 03:22 [09:22:50]1206 (1) - 0 [09:22:50]OFD Sender: Remove packet 24252 [09:22:50]ProducePacketName [09:22:50]name=ofd_packets/00024252 [09:22:50]NVStorageDeleteData [09:22:50]Write to MH i2c: 01 00 00 45 15 5A [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: 01 07 00 45 15 00 00 00 00 00 14 0D 82 [09:22:50]RasterBufferAndPrint [09:22:50]line [09:22:50]line [09:22:50]line [09:22:50]line [09:22:50]line [09:22:50]written 0, free lines is 3355 [09:22:50]process_action close_receipt done [09:22:50]requested_data is exist [09:22:50]produce_requested_data [09:22:50]requested_item fm.sn is exist - process it [09:22:50]wFMCommunicate request_size=4 [09:22:50]MH_SAM_APDU [09:22:50]CAPDU: 80 11 00 00 [09:22:50]Write to MH i2c: E2 08 00 4C 15 80 11 00 00 00 00 00 00 DB [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:22:50]Read from MH i2c: E2 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: E2 17 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: E2 17 00 4C 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 28 [09:22:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:22:50]wFMCommunicate OK [09:22:50]requested_item fd.num is exist - process it [09:22:50]SAM_PROTO_GetFieldsCounters [09:22:50]wFMCommunicate request_size=4 [09:22:50]MH_SAM_APDU [09:22:50]CAPDU: 80 13 00 00 [09:22:50]Write to MH i2c: E2 08 00 4D 15 80 13 00 00 00 00 00 00 DE [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:22:50]Read from MH i2c: E2 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: E2 62 00 [09:22:50]MH_I2C_Read... [09:22:50]Read from MH i2c: E2 62 00 4D 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 1D [09:22:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:22:50]wFMCommunicate OK [09:22:50]SAM_PROTO_GetFieldsCounters done [09:22:50]requested_item shift.num is exist - process it [09:22:50]requested_item shift.opened is exist - process it [09:22:50]req_shift_opened [09:22:50]FM_GetShiftState [09:22:50]SAM_PROTO_GetShiftState [09:22:50]wFMCommunicate request_size=4 [09:22:50]MH_SAM_APDU [09:22:50]CAPDU: 80 13 01 00 [09:22:50]Write to MH i2c: E2 08 00 4E 15 80 13 01 00 00 00 00 00 E0 [09:22:50]Write i2c OK [09:22:50]MH_I2C_Read... [09:22:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:22:51]Read from MH i2c: E2 [09:22:51]MH_I2C_Read... [09:22:51]Read from MH i2c: E2 0E 00 [09:22:51]MH_I2C_Read... [09:22:51]Read from MH i2c: E2 0E 00 4E 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 01 [09:22:51]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:22:51]wFMCommunicate OK [09:22:51]SAM_PROTO_GetShiftState done [09:22:51]FM_GetShiftState done [09:22:51]req_shift_opened done [09:22:51]requested_item shift.open_date is exist - process it [09:22:51]req_shift_open_date [09:22:51]req_shift_open_date done [09:22:51]produce_requested_data done [09:22:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24252,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:22:51]process_action_free close_receipt [09:22:51]json_value_free [09:22:51]json_value_free done [09:22:51]process_json_proto returns [09:22:51]Send response to host [09:22:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24252,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:22:51]free response buf [09:22:51]execute_script done [09:22:51]execute_script returns [09:22:51]free content buf [09:22:51]Sock 7.Close socket [09:22:51]Sock 7.Thread stoped [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:21]OFD Sender: No OFD packet to send [09:33:26]OFD Sender: No OFD packet to send [09:33:31]OFD Sender: No OFD packet to send [09:33:36]OFD Sender: No OFD packet to send [09:33:41]OFD Sender: No OFD packet to send [09:33:46]OFD Sender: No OFD packet to send [09:33:51]OFD Sender: No OFD packet to send [09:33:56]OFD Sender: No OFD packet to send [09:34:01]OFD Sender: No OFD packet to send [09:34:06]OFD Sender: No OFD packet to send [09:34:11]OFD Sender: No OFD packet to send [09:34:16]OFD Sender: No OFD packet to send [09:34:21]OFD Sender: No OFD packet to send [09:34:26]OFD Sender: No OFD packet to send [09:34:31]OFD Sender: No OFD packet to send [09:34:36]OFD Sender: No OFD packet to send [09:34:41]OFD Sender: No OFD packet to send [09:34:46]OFD Sender: No OFD packet to send [09:34:51]OFD Sender: No OFD packet to send [09:34:56]OFD Sender: No OFD packet to send [09:35:01]OFD Sender: No OFD packet to send [09:35:06]OFD Sender: No OFD packet to send [09:35:11]OFD Sender: No OFD packet to send [09:35:16]OFD Sender: No OFD packet to send [09:35:21]OFD Sender: No OFD packet to send [09:35:26]OFD Sender: No OFD packet to send [09:35:31]OFD Sender: No OFD packet to send [09:35:36]OFD Sender: No OFD packet to send [09:35:41]OFD Sender: No OFD packet to send [09:35:46]OFD Sender: No OFD packet to send [09:35:51]OFD Sender: No OFD packet to send [09:35:56]OFD Sender: No OFD packet to send [09:36:01]OFD Sender: No OFD packet to send [09:36:06]OFD Sender: No OFD packet to send [09:36:11]OFD Sender: No OFD packet to send [09:36:16]OFD Sender: No OFD packet to send [09:36:21]OFD Sender: No OFD packet to send [09:36:26]OFD Sender: No OFD packet to send [09:36:31]OFD Sender: No OFD packet to send [09:36:36]OFD Sender: No OFD packet to send [09:36:41]OFD Sender: No OFD packet to send [09:36:46]OFD Sender: No OFD packet to send [09:36:51]OFD Sender: No OFD packet to send [09:36:56]OFD Sender: No OFD packet to send [09:37:01]OFD Sender: No OFD packet to send [09:37:06]OFD Sender: No OFD packet to send [09:37:11]OFD Sender: No OFD packet to send [09:37:16]OFD Sender: No OFD packet to send [09:37:21]OFD Sender: No OFD packet to send [09:37:26]OFD Sender: No OFD packet to send [09:37:31]OFD Sender: No OFD packet to send [09:37:36]OFD Sender: No OFD packet to send [09:37:41]OFD Sender: No OFD packet to send [09:37:46]OFD Sender: No OFD packet to send [09:37:51]OFD Sender: No OFD packet to send [09:37:56]OFD Sender: No OFD packet to send [09:38:01]OFD Sender: No OFD packet to send [09:38:06]OFD Sender: No OFD packet to send [09:38:11]OFD Sender: No OFD packet to send [09:38:16]OFD Sender: No OFD packet to send [09:38:21]OFD Sender: No OFD packet to send [09:38:26]OFD Sender: No OFD packet to send [09:38:31]OFD Sender: No OFD packet to send [09:38:36]OFD Sender: No OFD packet to send [09:38:41]OFD Sender: No OFD packet to send [09:38:46]OFD Sender: No OFD packet to send [09:38:51]OFD Sender: No OFD packet to send [09:38:56]OFD Sender: No OFD packet to send [09:39:01]OFD Sender: No OFD packet to send [09:39:06]OFD Sender: No OFD packet to send [09:39:11]OFD Sender: No OFD packet to send [09:39:16]OFD Sender: No OFD packet to send [09:39:21]OFD Sender: No OFD packet to send [09:39:26]OFD Sender: No OFD packet to send [09:39:31]OFD Sender: No OFD packet to send [09:39:36]OFD Sender: No OFD packet to send [09:39:41]OFD Sender: No OFD packet to send [09:39:46]OFD Sender: No OFD packet to send [09:39:51]OFD Sender: No OFD packet to send [09:39:56]OFD Sender: No OFD packet to send [09:40:01]OFD Sender: No OFD packet to send [09:40:06]OFD Sender: No OFD packet to send [09:40:11]OFD Sender: No OFD packet to send [09:40:16]OFD Sender: No OFD packet to send [09:40:21]OFD Sender: No OFD packet to send [09:40:26]OFD Sender: No OFD packet to send [09:40:31]OFD Sender: No OFD packet to send [09:40:36]OFD Sender: No OFD packet to send [09:40:41]OFD Sender: No OFD packet to send [09:40:46]OFD Sender: No OFD packet to send [09:40:51]OFD Sender: No OFD packet to send [09:40:56]OFD Sender: No OFD packet to send [09:41:01]OFD Sender: No OFD packet to send [09:41:06]OFD Sender: No OFD packet to send [09:41:11]OFD Sender: No OFD packet to send [09:41:16]OFD Sender: No OFD packet to send [09:41:21]OFD Sender: No OFD packet to send [09:41:26]OFD Sender: No OFD packet to send [09:41:31]OFD Sender: No OFD packet to send [09:41:36]OFD Sender: No OFD packet to send [09:41:41]OFD Sender: No OFD packet to send [09:41:46]OFD Sender: No OFD packet to send [09:41:51]OFD Sender: No OFD packet to send [09:41:56]OFD Sender: No OFD packet to send [09:42:01]OFD Sender: No OFD packet to send [09:42:06]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:00]accept exits with 9 [09:45:00]New connection [09:45:00]New thread 3067100516 created [09:45:00]Thread 3067243876 joined [09:45:00]Waiting for new connection... [09:45:00] Sock 9.Parse request [09:45:00]Sock 9.Check first char [09:45:00]Sock 9.First char is OK [09:45:00]request: POST /json_proto HTTP/1.0 [09:45:00]Method: POST [09:45:00]URL: /json_proto [09:45:00]Method is POST - this is cgi request [09:45:00]url: /json_proto [09:45:00]query_string will be loaded in cgi processing [09:45:00]execute_cgi json_proto POST (null) [09:45:00]execute_cgi path=json_proto method=POST [09:45:00]POST find Content-Length [09:45:00]Host: 172.17.50.4:8080 [09:45:00]Content-Length: 786 [09:45:00]Content-Type: application/json [09:45:00] [09:45:00]POST finish read [09:45:00]Found Content-Length = 786 [09:45:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134778", "tax_sys" : 0, "items" : [ { "code": "4607084351385", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 12\u0448\u0442", "price" : 340.00, "quantity" : 1.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:00]execute_script... [09:45:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134778", "tax_sys" : 0, "items" : [ { "code": "4607084351385", "name": "\u0411\u0438\u0441\u043A\u0432\u0438\u0442 \u0427\u043E\u043A\u043E \u043F\u0430\u0439 12\u0448\u0442", "price" : 340.00, "quantity" : 1.000, "sum" : 340.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 340.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:45:00]POST & json_proto [09:45:00]process_json_proto [09:45:00]json parsed OK: [09:45:00]protocol is kg_v1.0 [09:45:00]action value=close_receipt [09:45:00]process_action close_receipt [09:45:00]cmd_close_receipt [09:45:00]MH_GetDate [09:45:00]Write to MH i2c: F0 00 00 4F 15 53 [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: F0 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: F0 09 00 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: F0 09 00 4F 15 00 21 D1 14 67 1D BB 13 67 1B [09:45:00]GetLastDocTimeStamp 1729416173 [09:45:00]current date 1729417505 [09:45:00]FM_GetShiftState [09:45:00]SAM_PROTO_GetShiftState [09:45:00]wFMCommunicate request_size=4 [09:45:00]MH_SAM_APDU [09:45:00]CAPDU: 80 13 01 00 [09:45:00]Write to MH i2c: E2 08 00 50 15 80 13 01 00 00 00 00 00 E2 [09:45:00]Write i2c OK [09:45:00]MH_I2C_Read... [09:45:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:00]Read from MH i2c: E2 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 0E 00 [09:45:00]MH_I2C_Read... [09:45:00]Read from MH i2c: E2 0E 00 50 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 03 [09:45:00]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:45:00]wFMCommunicate OK [09:45:00]SAM_PROTO_GetShiftState done [09:45:00]FM_GetShiftState done [09:45:00]opened in 1729382737 [09:45:00]opened+sec_in_day 1729469137 [09:45:00]quantity*price = 34000 [09:45:00]sum+1 = 34001 [09:45:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 340.00 НСП 1% : 3.01 НДС 12% : 36.11 Наличными: 0.00 Безнал.: 340.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 23 20.10.2024 09:45 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24253 ФПД: 134144923437043 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T094505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24253&fm=134144923437043&tin=02508201610067®Number=0000000000098120&sum=34000 0 [09:45:01]StoreToDocumentArchive [09:45:01]shift 460 fd 24253 [09:45:01]save to /storage/0460/doc_00024253 [09:45:01]save last doc name /storage/0460/doc_00024253 to /storage/kkm_last_doc_name [09:45:01]save OK [09:45:01]Clear old archive folders... [09:45:01]ProcessDocumentItem done err = 0, tmpTLVsize=279 [09:45:01]tlvbuf is B6F9C3E0 [09:45:01]SAM_PROTO_ClearQueue [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 09 00 00 [09:45:01]Write to MH i2c: E2 08 00 5D 15 80 09 00 00 00 00 00 00 E4 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 5D 15 00 90 00 E6 [09:45:01]RAPDU: 90 00 [09:45:01]wFMCommunicate OK [09:45:01]SAM_PROTO_ClearQueue done [09:45:01]KKMCreateOFDPacket [09:45:01]OFDProtocolAddRootSTLVToBuf [09:45:01]FM_MakeSignedData [09:45:01]FM_MakeSignedData [09:45:01]SAM_PROTO_SignData [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 0D 01 02 [09:45:01]Write to MH i2c: E2 08 00 5E 15 80 0D 01 02 00 00 00 00 EC [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 5E 15 00 90 00 E7 [09:45:01]RAPDU: 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=255 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 21 D1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 [09:45:01]Write to MH i2c: E2 02 01 5F 15 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 21 D1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 00 00 60 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 5F 15 00 90 00 E8 [09:45:01]RAPDU: 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=38 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BD 5E 00 00 35 04 06 00 7A 01 0C 82 87 F3 [09:45:01]Write to MH i2c: E2 29 00 60 15 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BD 5E 00 00 35 04 06 00 7A 01 0C 82 87 F3 00 00 10 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 03 00 60 15 00 90 00 E9 [09:45:01]RAPDU: 90 00 [09:45:01]wFMCommunicate OK [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 0D 03 02 [09:45:01]Write to MH i2c: E2 08 00 61 15 80 0D 03 02 00 00 00 00 F1 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 0B 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 0B 00 61 15 00 00 A0 78 E1 FC 67 C3 FF 90 00 10 [09:45:01]RAPDU: 00 A0 78 E1 FC 67 C3 FF 90 00 [09:45:01]wFMCommunicate OK [09:45:01]SAM_PROTO_SignData done [09:45:01]FM_MakeSignedData done [09:45:01]CreateOFDProtocolMessage [09:45:01]wFMCommunicate request_size=4 [09:45:01]MH_SAM_APDU [09:45:01]CAPDU: 80 11 00 00 [09:45:01]Write to MH i2c: E2 08 00 62 15 80 11 00 00 00 00 00 00 F1 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:01]Read from MH i2c: E2 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 17 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: E2 17 00 62 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3E [09:45:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:45:01]wFMCommunicate OK [09:45:01]CreateOFDProtocolMessage done [09:45:01]OFDSenderStorePacket 24253 [09:45:01]StoreOFDPacket docnum=24253 [09:45:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2B 01 00 00 79 04 23 01 B9 7C 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 21 D1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BD 5E 00 00 35 04 06 00 7A 01 0C 82 87 F3 00 A0 78 E1 FC 67 C3 FF [09:45:01]CheckFolder [09:45:01]dirname=/storage/ofd_packets [09:45:01]CheckFolder done [09:45:01]ProducePacketName [09:45:01]name=ofd_packets/00024253 [09:45:01]NVStorageSaveData ofd_packets/00024253 [09:45:01]File name is /storage/ofd_packets/00024253 [09:45:01]Write 329 bytes [09:45:01]NVStorageSaveData done [09:45:01]OFDSenderStorePacket done [09:45:01]KKMCreateOFDPacket done [09:45:01]NVStorageSaveData kkm_last_timestamp [09:45:01]File name is /storage/kkm_last_timestamp [09:45:01]Write 4 bytes [09:45:01]NVStorageSaveData done [09:45:01]ExternCall_PrintAddStr [09:45:01]wPrintStart [09:45:01]Write to MH i2c: 01 00 00 63 15 78 [09:45:01]Write i2c OK [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: 01 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: 01 07 00 [09:45:01]MH_I2C_Read... [09:45:01]Read from MH i2c: 01 07 00 63 15 00 00 00 00 00 FF 0F 8D [09:45:01]RasterBufferAndPrint [09:45:01]line Счет N : (3)134778 [09:45:01]line ИНН: 02508201610067 [09:45:01]line Контрольно-Кассовый Чек [09:45:01]line ПРОДАЖА [09:45:01]line Товар: 4607084351385 [09:45:01]line Бисквит Чоко пай 12шт [09:45:01]line 1.000 * 340.00 [09:45:01]line = 340.00 [09:45:01]line НДС 12% НСП 1% [09:45:01]line > о реализуемом товаре [09:45:01]line ИТОГО: 340.00 [09:45:01]line НСП 1% : 3.01 [09:45:01]line НДС 12% : 36.11 [09:45:01]line Наличными: 0.00 [09:45:01]line Безнал.: 340.00 [09:45:01]line Место: АЗС № 85 "Партнер Нефть" [09:45:01]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:45:01]line СНО: Общий режим [09:45:01]line Чек 23 20.10.2024 09:45 [09:45:01]line Смена: 460 ФФД: 1.0 [09:45:01]line ЗНМ: 0300000166 [09:45:01]line РНМ: 0000000000098120 [09:45:01]line Версия ККМ: 001 [09:45:01]line Платежная система: Mbank [09:45:01]line ФМ: 0000000000965420 [09:45:01]line ФД: 24253 [09:45:01]line ФПД: 134144923437043 [09:45:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T094505&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24253&fm=134144923437043&tin=02508201610067®Number=0000000000098120&sum=34000 [09:45:02]OFD Sender: Processing packet 24253 [packets to send 5, broken 4] [09:45:02]ProducePacketName [09:45:02]name=ofd_packets/00024253 [09:45:02]OFD Sender: To server: pG, [09:45:02]CommunicateWithHost lk.salyk.kg:30040 [09:45:02]ConnectInit lk.salyk.kg [09:45:02]line 0 [09:45:02]written 0, free lines is 4095 [09:45:02]Connected sock=10 [09:45:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2B 01 00 00 79 04 23 01 B9 7C 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 38 34 33 35 31 33 38 35 06 04 25 00 D0 91 D0 B8 D1 81 D0 BA D0 B2 D0 B8 D1 82 20 D0 A7 D0 BE D0 BA D0 BE 20 D0 BF D0 B0 D0 B9 20 31 32 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 84 00 00 00 00 13 04 06 00 D0 84 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 84 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1B 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D0 84 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 21 D1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BD 5E 00 00 35 04 06 00 7A 01 0C 82 87 F3 00 A0 78 E1 FC 67 C3 FF [09:45:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 75 AE 47 00 CD 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BD 5E 00 00 F4 03 04 00 B9 7C 14 67 B6 04 01 00 00 F1 22 CA FC 65 FC 94 43 [09:45:02]CommunicateWithHost err = 0 [09:45:02]CheckOFDResponse [09:45:02]1017 (14) - 77093643461234 [09:45:02]1041 (16) - 0000000000965420 [09:45:02]1040 (4) - 24253 [09:45:02]1012 (4) - 20.10.2024 03:44 [09:45:02]1206 (1) - 0 [09:45:02]OFD Sender: Remove packet 24253 [09:45:02]ProducePacketName [09:45:02]name=ofd_packets/00024253 [09:45:02]NVStorageDeleteData [09:45:02]Write to MH i2c: 01 00 00 8C 15 A1 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: 01 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: 01 07 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: 01 07 00 8C 15 00 00 00 00 00 19 0D CE [09:45:02]RasterBufferAndPrint [09:45:02]line [09:45:02]line [09:45:02]line [09:45:02]line [09:45:02]line [09:45:02]written 0, free lines is 3362 [09:45:02]process_action close_receipt done [09:45:02]requested_data is exist [09:45:02]produce_requested_data [09:45:02]requested_item fm.sn is exist - process it [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 11 00 00 [09:45:02]Write to MH i2c: E2 08 00 93 15 80 11 00 00 00 00 00 00 22 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 17 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 17 00 93 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6F [09:45:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:45:02]wFMCommunicate OK [09:45:02]requested_item fd.num is exist - process it [09:45:02]SAM_PROTO_GetFieldsCounters [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 13 00 00 [09:45:02]Write to MH i2c: E2 08 00 94 15 80 13 00 00 00 00 00 00 25 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:45:02]Read from MH i2c: E2 62 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 62 00 94 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [09:45:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:45:02]wFMCommunicate OK [09:45:02]SAM_PROTO_GetFieldsCounters done [09:45:02]requested_item shift.num is exist - process it [09:45:02]requested_item shift.opened is exist - process it [09:45:02]req_shift_opened [09:45:02]FM_GetShiftState [09:45:02]SAM_PROTO_GetShiftState [09:45:02]wFMCommunicate request_size=4 [09:45:02]MH_SAM_APDU [09:45:02]CAPDU: 80 13 01 00 [09:45:02]Write to MH i2c: E2 08 00 95 15 80 13 01 00 00 00 00 00 27 [09:45:02]Write i2c OK [09:45:02]MH_I2C_Read... [09:45:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:45:02]Read from MH i2c: E2 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 0E 00 [09:45:02]MH_I2C_Read... [09:45:02]Read from MH i2c: E2 0E 00 95 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 48 [09:45:02]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [09:45:02]wFMCommunicate OK [09:45:02]SAM_PROTO_GetShiftState done [09:45:02]FM_GetShiftState done [09:45:02]req_shift_opened done [09:45:02]requested_item shift.open_date is exist - process it [09:45:02]req_shift_open_date [09:45:02]req_shift_open_date done [09:45:02]produce_requested_data done [09:45:02]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24253,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [09:45:02]process_action_free close_receipt [09:45:02]json_value_free [09:45:02]json_value_free done [09:45:02]process_json_proto returns [09:45:02]Send response to host [09:45:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24253,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [09:45:02]free response buf [09:45:02]execute_script done [09:45:02]execute_script returns [09:45:02]free content buf [09:45:02]Sock 9.Close socket [09:45:02]Sock 9.Thread stoped [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:23]OFD Sender: No OFD packet to send [09:45:28]OFD Sender: No OFD packet to send [09:45:33]OFD Sender: No OFD packet to send [09:45:38]OFD Sender: No OFD packet to send [09:45:43]OFD Sender: No OFD packet to send [09:45:48]OFD Sender: No OFD packet to send [09:45:53]OFD Sender: No OFD packet to send [09:45:58]OFD Sender: No OFD packet to send [09:46:03]OFD Sender: No OFD packet to send [09:46:08]OFD Sender: No OFD packet to send [09:46:13]OFD Sender: No OFD packet to send [09:46:18]OFD Sender: No OFD packet to send [09:46:23]OFD Sender: No OFD packet to send [09:46:28]OFD Sender: No OFD packet to send [09:46:33]OFD Sender: No OFD packet to send [09:46:38]OFD Sender: No OFD packet to send [09:46:43]OFD Sender: No OFD packet to send [09:46:48]OFD Sender: No OFD packet to send [09:46:53]OFD Sender: No OFD packet to send [09:46:58]OFD Sender: No OFD packet to send [09:47:03]OFD Sender: No OFD packet to send [09:47:08]OFD Sender: No OFD packet to send [09:47:13]OFD Sender: No OFD packet to send [09:47:18]OFD Sender: No OFD packet to send [09:47:23]OFD Sender: No OFD packet to send [09:47:28]OFD Sender: No OFD packet to send [09:47:33]OFD Sender: No OFD packet to send [09:47:38]OFD Sender: No OFD packet to send [09:47:43]OFD Sender: No OFD packet to send [09:47:48]OFD Sender: No OFD packet to send [09:47:53]OFD Sender: No OFD packet to send [09:47:58]OFD Sender: No OFD packet to send [09:48:03]OFD Sender: No OFD packet to send [09:48:08]OFD Sender: No OFD packet to send [09:48:13]OFD Sender: No OFD packet to send [09:48:18]OFD Sender: No OFD packet to send [09:48:23]OFD Sender: No OFD packet to send [09:48:28]OFD Sender: No OFD packet to send [09:48:33]OFD Sender: No OFD packet to send [09:48:38]OFD Sender: No OFD packet to send [09:48:43]OFD Sender: No OFD packet to send [09:48:48]OFD Sender: No OFD packet to send [09:48:53]OFD Sender: No OFD packet to send [09:48:58]OFD Sender: No OFD packet to send [09:49:03]OFD Sender: No OFD packet to send [09:49:08]OFD Sender: No OFD packet to send [09:49:13]OFD Sender: No OFD packet to send [09:49:18]OFD Sender: No OFD packet to send [09:49:23]OFD Sender: No OFD packet to send [09:49:28]OFD Sender: No OFD packet to send [09:49:33]OFD Sender: No OFD packet to send [09:49:38]OFD Sender: No OFD packet to send [09:49:43]OFD Sender: No OFD packet to send [09:49:48]OFD Sender: No OFD packet to send [09:49:53]OFD Sender: No OFD packet to send [09:49:58]OFD Sender: No OFD packet to send [09:50:03]OFD Sender: No OFD packet to send [09:50:08]OFD Sender: No OFD packet to send [09:50:13]OFD Sender: No OFD packet to send [09:50:18]OFD Sender: No OFD packet to send [09:50:23]OFD Sender: No OFD packet to send [09:50:28]OFD Sender: No OFD packet to send [09:50:33]OFD Sender: No OFD packet to send [09:50:38]OFD Sender: No OFD packet to send [09:50:43]OFD Sender: No OFD packet to send [09:50:48]OFD Sender: No OFD packet to send [09:50:53]OFD Sender: No OFD packet to send [09:50:58]OFD Sender: No OFD packet to send [09:51:03]OFD Sender: No OFD packet to send [09:51:08]OFD Sender: No OFD packet to send [09:51:13]OFD Sender: No OFD packet to send [09:51:18]OFD Sender: No OFD packet to send [09:51:23]OFD Sender: No OFD packet to send [09:51:28]OFD Sender: No OFD packet to send [09:51:33]OFD Sender: No OFD packet to send [09:51:38]OFD Sender: No OFD packet to send [09:51:43]OFD Sender: No OFD packet to send [09:51:48]OFD Sender: No OFD packet to send [09:51:53]OFD Sender: No OFD packet to send [09:51:58]OFD Sender: No OFD packet to send [09:52:03]OFD Sender: No OFD packet to send [09:52:08]OFD Sender: No OFD packet to send [09:52:13]OFD Sender: No OFD packet to send [09:52:18]OFD Sender: No OFD packet to send [09:52:23]OFD Sender: No OFD packet to send [09:52:28]OFD Sender: No OFD packet to send [09:52:33]OFD Sender: No OFD packet to send [09:52:38]OFD Sender: No OFD packet to send [09:52:43]OFD Sender: No OFD packet to send [09:52:48]OFD Sender: No OFD packet to send [09:52:53]OFD Sender: No OFD packet to send [09:52:58]OFD Sender: No OFD packet to send [09:53:03]OFD Sender: No OFD packet to send [09:53:08]OFD Sender: No OFD packet to send [09:53:13]OFD Sender: No OFD packet to send [09:53:18]OFD Sender: No OFD packet to send [09:53:23]OFD Sender: No OFD packet to send [09:53:28]OFD Sender: No OFD packet to send [09:53:33]OFD Sender: No OFD packet to send [09:53:38]OFD Sender: No OFD packet to send [09:53:43]OFD Sender: No OFD packet to send [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:18]OFD Sender: No OFD packet to send [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:45]accept exits with 7 [10:04:45]New connection [10:04:45]New thread 3067243876 created [10:04:45]Thread 3067100516 joined [10:04:45]Waiting for new connection... [10:04:45] Sock 7.Parse request [10:04:45]Sock 7.Check first char [10:04:45]Sock 7.First char is OK [10:04:45]request: POST /json_proto HTTP/1.0 [10:04:45]Method: POST [10:04:45]URL: /json_proto [10:04:45]Method is POST - this is cgi request [10:04:45]url: /json_proto [10:04:45]query_string will be loaded in cgi processing [10:04:45]execute_cgi json_proto POST (null) [10:04:45]execute_cgi path=json_proto method=POST [10:04:45]POST find Content-Length [10:04:45]Host: 172.17.50.4:8080 [10:04:45]Content-Length: 918 [10:04:45]Content-Type: application/json [10:04:45] [10:04:45]POST finish read [10:04:45]Found Content-Length = 918 [10:04:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134779", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:04:45]execute_script... [10:04:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134779", "tax_sys" : 0, "items" : [ { "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4860019001414", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,75\u043B \u041F\u042D\u0422", "price" : 165.00, "quantity" : 1.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:04:45]POST & json_proto [10:04:45]process_json_proto [10:04:45]json parsed OK: [10:04:45]protocol is kg_v1.0 [10:04:45]action value=close_receipt [10:04:45]process_action close_receipt [10:04:45]cmd_close_receipt [10:04:45]MH_GetDate [10:04:45]Write to MH i2c: F0 00 00 96 15 9A [10:04:45]Write i2c OK [10:04:45]MH_I2C_Read... [10:04:45]Read from MH i2c: F0 [10:04:45]MH_I2C_Read... [10:04:45]Read from MH i2c: F0 09 00 [10:04:45]MH_I2C_Read... [10:04:45]Read from MH i2c: F0 09 00 96 15 00 C2 D5 14 67 1D BB 13 67 07 [10:04:45]GetLastDocTimeStamp 1729417505 [10:04:45]current date 1729418690 [10:04:45]FM_GetShiftState [10:04:45]SAM_PROTO_GetShiftState [10:04:45]wFMCommunicate request_size=4 [10:04:45]MH_SAM_APDU [10:04:45]CAPDU: 80 13 01 00 [10:04:45]Write to MH i2c: E2 08 00 97 15 80 13 01 00 00 00 00 00 29 [10:04:45]Write i2c OK [10:04:45]MH_I2C_Read... [10:04:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:45]Read from MH i2c: E2 [10:04:45]MH_I2C_Read... [10:04:45]Read from MH i2c: E2 0E 00 [10:04:45]MH_I2C_Read... [10:04:45]Read from MH i2c: E2 0E 00 97 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 4A [10:04:45]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [10:04:45]wFMCommunicate OK [10:04:45]SAM_PROTO_GetShiftState done [10:04:45]FM_GetShiftState done [10:04:45]opened in 1729382737 [10:04:45]opened+sec_in_day 1729469137 [10:04:45]quantity*price = 26500 [10:04:45]sum+1 = 26501 [10:04:45]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4860019001414 Вода Боржоми 0,75л ПЭТ 1.000 * 165.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 430.00 НСП 1% : 3.80 НДС 12% : 45.66 Наличными: 430.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 24 20.10.2024 10:04 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24254 ФПД: 5286710927871 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T100450&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24254&fm=5286710927871&tin=02508201610067®Number=0000000000098120&sum=43000 0 [10:04:46]StoreToDocumentArchive [10:04:46]shift 460 fd 24254 [10:04:46]save to /storage/0460/doc_00024254 [10:04:46]save last doc name /storage/0460/doc_00024254 to /storage/kkm_last_doc_name [10:04:46]save OK [10:04:46]Clear old archive folders... [10:04:46]ProcessDocumentItem done err = 0, tmpTLVsize=388 [10:04:46]tlvbuf is 0217C460 [10:04:46]SAM_PROTO_ClearQueue [10:04:46]wFMCommunicate request_size=4 [10:04:46]MH_SAM_APDU [10:04:46]CAPDU: 80 09 00 00 [10:04:46]Write to MH i2c: E2 08 00 A4 15 80 09 00 00 00 00 00 00 2B [10:04:46]Write i2c OK [10:04:46]MH_I2C_Read... [10:04:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:04:46]Read from MH i2c: E2 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 A4 15 00 90 00 2D [10:04:46]RAPDU: 90 00 [10:04:46]wFMCommunicate OK [10:04:46]SAM_PROTO_ClearQueue done [10:04:46]KKMCreateOFDPacket [10:04:46]OFDProtocolAddRootSTLVToBuf [10:04:46]FM_MakeSignedData [10:04:46]FM_MakeSignedData [10:04:46]SAM_PROTO_SignData [10:04:46]wFMCommunicate request_size=4 [10:04:46]MH_SAM_APDU [10:04:46]CAPDU: 80 0D 01 02 [10:04:46]Write to MH i2c: E2 08 00 A5 15 80 0D 01 02 00 00 00 00 33 [10:04:46]Write i2c OK [10:04:46]MH_I2C_Read... [10:04:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:04:46]Read from MH i2c: E2 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 A5 15 00 90 00 2E [10:04:46]RAPDU: 90 00 [10:04:46]wFMCommunicate OK [10:04:46]wFMCommunicate request_size=255 [10:04:46]MH_SAM_APDU [10:04:46]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 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 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [10:04:46]Write to MH i2c: E2 02 01 A6 15 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 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 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 CF [10:04:46]Write i2c OK [10:04:46]MH_I2C_Read... [10:04:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:46]Read from MH i2c: E2 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 A6 15 00 90 00 2F [10:04:46]RAPDU: 90 00 [10:04:46]wFMCommunicate OK [10:04:46]wFMCommunicate request_size=147 [10:04:46]MH_SAM_APDU [10:04:46]CAPDU: 80 0D 02 02 8E F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C2 D5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BE 5E 00 00 35 04 06 00 04 CE E8 86 E1 FF [10:04:46]Write to MH i2c: E2 96 00 A7 15 80 0D 02 02 8E 00 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C2 D5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BE 5E 00 00 35 04 06 00 04 CE E8 86 E1 FF 00 00 AA [10:04:46]Write i2c OK [10:04:46]MH_I2C_Read... [10:04:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:04:46]Read from MH i2c: E2 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 [10:04:46]MH_I2C_Read... [10:04:46]Read from MH i2c: E2 03 00 A7 15 00 90 00 30 [10:04:46]RAPDU: 90 00 [10:04:46]wFMCommunicate OK [10:04:46]wFMCommunicate request_size=4 [10:04:46]MH_SAM_APDU [10:04:46]CAPDU: 80 0D 03 02 [10:04:46]Write to MH i2c: E2 08 00 A8 15 80 0D 03 02 00 00 00 00 38 [10:04:46]Write i2c OK [10:04:46]MH_I2C_Read... [10:04:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:04:47]Read from MH i2c: E2 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 0B 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 0B 00 A8 15 00 B4 48 F9 C0 3B EB 3C 61 90 00 B1 [10:04:47]RAPDU: B4 48 F9 C0 3B EB 3C 61 90 00 [10:04:47]wFMCommunicate OK [10:04:47]SAM_PROTO_SignData done [10:04:47]FM_MakeSignedData done [10:04:47]CreateOFDProtocolMessage [10:04:47]wFMCommunicate request_size=4 [10:04:47]MH_SAM_APDU [10:04:47]CAPDU: 80 11 00 00 [10:04:47]Write to MH i2c: E2 08 00 A9 15 80 11 00 00 00 00 00 00 38 [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:47]Read from MH i2c: E2 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 17 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 17 00 A9 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 85 [10:04:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:04:47]wFMCommunicate OK [10:04:47]CreateOFDProtocolMessage done [10:04:47]OFDSenderStorePacket 24254 [10:04:47]StoreOFDPacket docnum=24254 [10:04:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 98 01 00 00 8C E8 90 01 A5 E4 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 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 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C2 D5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BE 5E 00 00 35 04 06 00 04 CE E8 86 E1 FF B4 48 F9 C0 3B EB 3C 61 [10:04:47]CheckFolder [10:04:47]dirname=/storage/ofd_packets [10:04:47]CheckFolder done [10:04:47]ProducePacketName [10:04:47]name=ofd_packets/00024254 [10:04:47]NVStorageSaveData ofd_packets/00024254 [10:04:47]File name is /storage/ofd_packets/00024254 [10:04:47]Write 438 bytes [10:04:47]NVStorageSaveData done [10:04:47]OFDSenderStorePacket done [10:04:47]KKMCreateOFDPacket done [10:04:47]NVStorageSaveData kkm_last_timestamp [10:04:47]File name is /storage/kkm_last_timestamp [10:04:47]Write 4 bytes [10:04:47]NVStorageSaveData done [10:04:47]ExternCall_PrintAddStr [10:04:47]wPrintStart [10:04:47]Write to MH i2c: 01 00 00 AA 15 BF [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 07 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 07 00 AA 15 00 00 00 00 00 FF 0F D4 [10:04:47]RasterBufferAndPrint [10:04:47]line Счет N : (3)134779 [10:04:47]line ИНН: 02508201610067 [10:04:47]line Контрольно-Кассовый Чек [10:04:47]line ПРОДАЖА [10:04:47]line Товар: 90448300 [10:04:47]line Энерг напиток Red Bull 0,355л [10:04:47]line 1.000 * 265.00 [10:04:47]line = 265.00 [10:04:47]line НДС 12% НСП 1% [10:04:47]line > о реализуемом товаре [10:04:47]line Товар: 4860019001414 [10:04:47]line Вода Боржоми 0,75л ПЭТ [10:04:47]line 1.000 * 165.00 [10:04:47]line = 165.00 [10:04:47]line НДС 12% НСП 1% [10:04:47]line > о реализуемом товаре [10:04:47]line ИТОГО: 430.00 [10:04:47]line НСП 1% : 3.80 [10:04:47]line НДС 12% : 45.66 [10:04:47]line Наличными: 430.00 [10:04:47]line Безнал.: 0.00 [10:04:47]line Место: АЗС № 85 "Партнер Нефть" [10:04:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:04:47]line СНО: Общий режим [10:04:47]line Чек 24 20.10.2024 10:04 [10:04:47]line Смена: 460 ФФД: 1.0 [10:04:47]line ЗНМ: 0300000166 [10:04:47]line РНМ: 0000000000098120 [10:04:47]line Версия ККМ: 001 [10:04:47]line ФМ: 0000000000965420 [10:04:47]line ФД: 24254 [10:04:47]line ФПД: 5286710927871 [10:04:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T100450&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24254&fm=5286710927871&tin=02508201610067®Number=0000000000098120&sum=43000 [10:04:47]line 0 [10:04:47]OFD Sender: Processing packet 24254 [packets to send 5, broken 4] [10:04:47]ProducePacketName [10:04:47]name=ofd_packets/00024254 [10:04:47]OFD Sender: To server: pG, [10:04:47]CommunicateWithHost lk.salyk.kg:30040 [10:04:47]ConnectInit lk.salyk.kg [10:04:47]written 0, free lines is 4095 [10:04:47]Connected sock=10 [10:04:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 98 01 00 00 8C E8 90 01 A5 E4 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 69 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 34 31 34 06 04 25 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 37 35 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 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 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 F8 A7 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 18 00 00 00 F4 03 04 00 C2 D5 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BE 5E 00 00 35 04 06 00 04 CE E8 86 E1 FF B4 48 F9 C0 3B EB 3C 61 [10:04:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5E 2A 47 00 D4 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 36 35 34 32 30 10 04 04 00 BE 5E 00 00 F4 03 04 00 5A 81 14 67 B6 04 01 00 00 1C 10 12 B3 8D 14 E2 E2 [10:04:47]CommunicateWithHost err = 0 [10:04:47]CheckOFDResponse [10:04:47]1017 (14) - 77093643461234 [10:04:47]1041 (16) - 0000000000965420 [10:04:47]1040 (4) - 24254 [10:04:47]1012 (4) - 20.10.2024 04:04 [10:04:47]1206 (1) - 0 [10:04:47]OFD Sender: Remove packet 24254 [10:04:47]ProducePacketName [10:04:47]name=ofd_packets/00024254 [10:04:47]NVStorageDeleteData [10:04:47]Write to MH i2c: 01 00 00 D8 15 ED [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 07 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: 01 07 00 D8 15 00 00 00 00 00 E2 0C E2 [10:04:47]RasterBufferAndPrint [10:04:47]line [10:04:47]line [10:04:47]line [10:04:47]line [10:04:47]line [10:04:47]written 0, free lines is 3306 [10:04:47]process_action close_receipt done [10:04:47]requested_data is exist [10:04:47]produce_requested_data [10:04:47]requested_item fm.sn is exist - process it [10:04:47]wFMCommunicate request_size=4 [10:04:47]MH_SAM_APDU [10:04:47]CAPDU: 80 11 00 00 [10:04:47]Write to MH i2c: E2 08 00 DF 15 80 11 00 00 00 00 00 00 6E [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:04:47]Read from MH i2c: E2 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 17 00 [10:04:47]MH_I2C_Read... [10:04:47]Read from MH i2c: E2 17 00 DF 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BB [10:04:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:04:47]wFMCommunicate OK [10:04:47]requested_item fd.num is exist - process it [10:04:47]SAM_PROTO_GetFieldsCounters [10:04:47]wFMCommunicate request_size=4 [10:04:47]MH_SAM_APDU [10:04:47]CAPDU: 80 13 00 00 [10:04:47]Write to MH i2c: E2 08 00 E0 15 80 13 00 00 00 00 00 00 71 [10:04:47]Write i2c OK [10:04:47]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 62 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 62 00 E0 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 B8 [10:04:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:04:48]wFMCommunicate OK [10:04:48]SAM_PROTO_GetFieldsCounters done [10:04:48]requested_item shift.num is exist - process it [10:04:48]requested_item shift.opened is exist - process it [10:04:48]req_shift_opened [10:04:48]FM_GetShiftState [10:04:48]SAM_PROTO_GetShiftState [10:04:48]wFMCommunicate request_size=4 [10:04:48]MH_SAM_APDU [10:04:48]CAPDU: 80 13 01 00 [10:04:48]Write to MH i2c: E2 08 00 E1 15 80 13 01 00 00 00 00 00 73 [10:04:48]Write i2c OK [10:04:48]MH_I2C_Read... [10:04:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:04:48]Read from MH i2c: E2 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 0E 00 [10:04:48]MH_I2C_Read... [10:04:48]Read from MH i2c: E2 0E 00 E1 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 94 [10:04:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [10:04:48]wFMCommunicate OK [10:04:48]SAM_PROTO_GetShiftState done [10:04:48]FM_GetShiftState done [10:04:48]req_shift_opened done [10:04:48]requested_item shift.open_date is exist - process it [10:04:48]req_shift_open_date [10:04:48]req_shift_open_date done [10:04:48]produce_requested_data done [10:04:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24254,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [10:04:48]process_action_free close_receipt [10:04:48]json_value_free [10:04:48]json_value_free done [10:04:48]process_json_proto returns [10:04:48]Send response to host [10:04:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24254,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [10:04:48]free response buf [10:04:48]execute_script done [10:04:48]execute_script returns [10:04:48]free content buf [10:04:48]Sock 7.Close socket [10:04:48]Sock 7.Thread stoped [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:03]int [10:05:03]Write to MH i2c: 01 00 00 E2 15 F7 [10:05:03]*** FLAG_PRN_KEY set [10:05:03]Write i2c OK [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 E2 15 00 08 00 00 00 FF 0F 14 [10:05:03]state=0 [10:05:03]Key pressed [10:05:03]Feed [10:05:03]Write to MH i2c: D8 00 00 E3 15 CF [10:05:03]Write i2c OK [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: D8 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: D8 01 00 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: D8 01 00 E3 15 00 D0 [10:05:03]int [10:05:03]Write to MH i2c: 01 00 00 E4 15 F9 [10:05:03]Write i2c OK [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 E4 15 00 48 00 00 00 3D 00 85 [10:05:03]state=2 [10:05:03]Key pressed [10:05:03]int [10:05:03]Write to MH i2c: 01 00 00 E5 15 FA [10:05:03]*** FLAG_PRN_KEY reset [10:05:03]Write i2c OK [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 [10:05:03]MH_I2C_Read... [10:05:03]Read from MH i2c: 01 07 00 E5 15 00 00 00 00 00 FE 0F 0E [10:05:03]state=2 [10:05:03]Stop feed [10:05:04]int [10:05:04]Write to MH i2c: 01 00 00 E6 15 FB [10:05:04]*** FLAG_PRN_PAP1 set [10:05:04]Write i2c OK [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 07 00 [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 07 00 E6 15 00 01 00 00 00 FF 0F 11 [10:05:04]state=0 [10:05:04]No paper [10:05:04]int [10:05:04]Write to MH i2c: 01 00 00 E7 15 FC [10:05:04]*** FLAG_PRN_PAP2 set [10:05:04]Write i2c OK [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 07 00 [10:05:04]MH_I2C_Read... [10:05:04]Read from MH i2c: 01 07 00 E7 15 00 03 00 00 00 FF 0F 14 [10:05:04]state=0 [10:05:04]No paper [10:05:04]Cover opened [10:05:05]int [10:05:05]Write to MH i2c: 01 00 00 E8 15 FD [10:05:05]*** FLAG_PRN_PAP2 reset [10:05:05]Write i2c OK [10:05:05]MH_I2C_Read... [10:05:05]Read from MH i2c: 01 [10:05:05]MH_I2C_Read... [10:05:05]Read from MH i2c: 01 07 00 [10:05:05]MH_I2C_Read... [10:05:05]Read from MH i2c: 01 07 00 E8 15 00 01 00 00 00 FF 0F 13 [10:05:05]state=3 [10:05:05]No paper [10:05:05]Cover closed [10:05:06]int [10:05:06]Write to MH i2c: 01 00 00 E9 15 FE [10:05:06]*** FLAG_PRN_PAP2 set [10:05:06]Write i2c OK [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 E9 15 00 03 00 00 00 FF 0F 16 [10:05:06]state=0 [10:05:06]No paper [10:05:06]Cover opened [10:05:06]int [10:05:06]Write to MH i2c: 01 00 00 EA 15 FF [10:05:06]*** FLAG_PRN_PAP2 reset [10:05:06]Write i2c OK [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 EA 15 00 01 00 00 00 FF 0F 15 [10:05:06]state=3 [10:05:06]No paper [10:05:06]Cover closed [10:05:06]int [10:05:06]Write to MH i2c: 01 00 00 EB 15 00 [10:05:06]*** FLAG_PRN_PAP2 set [10:05:06]Write i2c OK [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 [10:05:06]MH_I2C_Read... [10:05:06]Read from MH i2c: 01 07 00 EB 15 00 03 00 00 00 FF 0F 18 [10:05:06]state=0 [10:05:06]No paper [10:05:06]Cover opened [10:05:08]OFD Sender: No OFD packet to send [10:05:11]int [10:05:11]Write to MH i2c: 01 00 00 EC 15 01 [10:05:11]*** FLAG_PRN_PAP1 reset [10:05:11]*** FLAG_PRN_PAP2 reset [10:05:11]Write i2c OK [10:05:11]MH_I2C_Read... [10:05:11]Read from MH i2c: 01 [10:05:11]MH_I2C_Read... [10:05:11]Read from MH i2c: 01 07 00 [10:05:11]MH_I2C_Read... [10:05:11]Read from MH i2c: 01 07 00 EC 15 00 00 00 00 00 FF 0F 16 [10:05:11]state=3 [10:05:11]Cover closed [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:18]OFD Sender: No OFD packet to send [10:09:23]OFD Sender: No OFD packet to send [10:09:28]OFD Sender: No OFD packet to send [10:09:33]OFD Sender: No OFD packet to send [10:09:38]OFD Sender: No OFD packet to send [10:09:43]OFD Sender: No OFD packet to send [10:09:48]OFD Sender: No OFD packet to send [10:09:53]OFD Sender: No OFD packet to send [10:09:58]OFD Sender: No OFD packet to send [10:10:03]OFD Sender: No OFD packet to send [10:10:08]OFD Sender: No OFD packet to send [10:10:13]OFD Sender: No OFD packet to send [10:10:18]OFD Sender: No OFD packet to send [10:10:23]OFD Sender: No OFD packet to send [10:10:28]OFD Sender: No OFD packet to send [10:10:33]OFD Sender: No OFD packet to send [10:10:38]OFD Sender: No OFD packet to send [10:10:43]OFD Sender: No OFD packet to send [10:10:48]OFD Sender: No OFD packet to send [10:10:53]OFD Sender: No OFD packet to send [10:10:58]OFD Sender: No OFD packet to send [10:11:03]OFD Sender: No OFD packet to send [10:11:08]OFD Sender: No OFD packet to send [10:11:13]OFD Sender: No OFD packet to send [10:11:18]OFD Sender: No OFD packet to send [10:11:23]OFD Sender: No OFD packet to send [10:11:28]OFD Sender: No OFD packet to send [10:11:33]OFD Sender: No OFD packet to send [10:11:38]OFD Sender: No OFD packet to send [10:11:43]OFD Sender: No OFD packet to send [10:11:48]OFD Sender: No OFD packet to send [10:11:53]OFD Sender: No OFD packet to send [10:11:58]OFD Sender: No OFD packet to send [10:12:03]OFD Sender: No OFD packet to send [10:12:08]OFD Sender: No OFD packet to send [10:12:13]OFD Sender: No OFD packet to send [10:12:18]OFD Sender: No OFD packet to send [10:12:23]OFD Sender: No OFD packet to send [10:12:28]OFD Sender: No OFD packet to send [10:12:33]OFD Sender: No OFD packet to send [10:12:38]OFD Sender: No OFD packet to send [10:12:43]OFD Sender: No OFD packet to send [10:12:48]OFD Sender: No OFD packet to send [10:12:53]OFD Sender: No OFD packet to send [10:12:58]OFD Sender: No OFD packet to send [10:13:03]OFD Sender: No OFD packet to send [10:13:08]OFD Sender: No OFD packet to send [10:13:13]OFD Sender: No OFD packet to send [10:13:18]OFD Sender: No OFD packet to send [10:13:23]OFD Sender: No OFD packet to send [10:13:28]OFD Sender: No OFD packet to send [10:13:33]OFD Sender: No OFD packet to send [10:13:38]OFD Sender: No OFD packet to send [10:13:43]OFD Sender: No OFD packet to send [10:13:48]OFD Sender: No OFD packet to send [10:13:53]OFD Sender: No OFD packet to send [10:13:58]OFD Sender: No OFD packet to send [10:14:03]OFD Sender: No OFD packet to send [10:14:08]OFD Sender: No OFD packet to send [10:14:13]OFD Sender: No OFD packet to send [10:14:18]OFD Sender: No OFD packet to send [10:14:23]OFD Sender: No OFD packet to send [10:14:28]OFD Sender: No OFD packet to send [10:14:33]OFD Sender: No OFD packet to send [10:14:38]OFD Sender: No OFD packet to send [10:14:43]OFD Sender: No OFD packet to send [10:14:48]OFD Sender: No OFD packet to send [10:14:53]OFD Sender: No OFD packet to send [10:14:58]OFD Sender: No OFD packet to send [10:15:03]OFD Sender: No OFD packet to send [10:15:08]OFD Sender: No OFD packet to send [10:15:13]OFD Sender: No OFD packet to send [10:15:18]OFD Sender: No OFD packet to send [10:15:23]OFD Sender: No OFD packet to send [10:15:28]OFD Sender: No OFD packet to send [10:15:33]OFD Sender: No OFD packet to send [10:15:38]OFD Sender: No OFD packet to send [10:15:43]OFD Sender: No OFD packet to send [10:15:48]OFD Sender: No OFD packet to send [10:15:53]OFD Sender: No OFD packet to send [10:15:58]OFD Sender: No OFD packet to send [10:16:03]OFD Sender: No OFD packet to send [10:16:08]OFD Sender: No OFD packet to send [10:16:13]OFD Sender: No OFD packet to send [10:16:18]OFD Sender: No OFD packet to send [10:16:23]OFD Sender: No OFD packet to send [10:16:28]OFD Sender: No OFD packet to send [10:16:33]OFD Sender: No OFD packet to send [10:16:38]OFD Sender: No OFD packet to send [10:16:43]OFD Sender: No OFD packet to send [10:16:48]OFD Sender: No OFD packet to send [10:16:53]OFD Sender: No OFD packet to send [10:16:58]OFD Sender: No OFD packet to send [10:17:03]OFD Sender: No OFD packet to send [10:17:08]OFD Sender: No OFD packet to send [10:17:13]OFD Sender: No OFD packet to send [10:17:18]OFD Sender: No OFD packet to send [10:17:23]OFD Sender: No OFD packet to send [10:17:28]OFD Sender: No OFD packet to send [10:17:33]OFD Sender: No OFD packet to send [10:17:38]OFD Sender: No OFD packet to send [10:17:43]OFD Sender: No OFD packet to send [10:17:48]OFD Sender: No OFD packet to send [10:17:53]OFD Sender: No OFD packet to send [10:17:58]OFD Sender: No OFD packet to send [10:18:03]OFD Sender: No OFD packet to send [10:18:08]OFD Sender: No OFD packet to send [10:18:13]OFD Sender: No OFD packet to send [10:18:18]OFD Sender: No OFD packet to send [10:18:23]OFD Sender: No OFD packet to send [10:18:28]OFD Sender: No OFD packet to send [10:18:33]OFD Sender: No OFD packet to send [10:18:38]OFD Sender: No OFD packet to send [10:18:43]OFD Sender: No OFD packet to send [10:18:48]OFD Sender: No OFD packet to send [10:18:53]OFD Sender: No OFD packet to send [10:18:58]OFD Sender: No OFD packet to send [10:19:03]OFD Sender: No OFD packet to send [10:19:08]OFD Sender: No OFD packet to send [10:19:13]OFD Sender: No OFD packet to send [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]OFD Sender: No OFD packet to send [10:20:28]OFD Sender: No OFD packet to send [10:20:33]OFD Sender: No OFD packet to send [10:20:38]OFD Sender: No OFD packet to send [10:20:43]OFD Sender: No OFD packet to send [10:20:48]OFD Sender: No OFD packet to send [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21: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]OFD Sender: No OFD packet to send [10:29:19]OFD Sender: No OFD packet to send [10:29:24]OFD Sender: No OFD packet to send [10:29:29]OFD Sender: No OFD packet to send [10:29:34]OFD Sender: No OFD packet to send [10:29:39]OFD Sender: No OFD packet to send [10:29:44]OFD Sender: No OFD packet to send [10:29:49]OFD Sender: No OFD packet to send [10:29:54]OFD Sender: No OFD packet to send [10:29:59]OFD Sender: No OFD packet to send [10:30:04]OFD Sender: No OFD packet to send [10:30:09]OFD Sender: No OFD packet to send [10:30:14]OFD Sender: No OFD packet to send [10:30:19]OFD Sender: No OFD packet to send [10:30:24]OFD Sender: No OFD packet to send [10:30:29]OFD Sender: No OFD packet to send [10:30:34]OFD Sender: No OFD packet to send [10:30:39]OFD Sender: No OFD packet to send [10:30:44]OFD Sender: No OFD packet to send [10:30:49]OFD Sender: No OFD packet to send [10:30:54]OFD Sender: No OFD packet to send [10:30:59]OFD Sender: No OFD packet to send [10:31:04]OFD Sender: No OFD packet to send [10:31:09]OFD Sender: No OFD packet to send [10:31:14]OFD Sender: No OFD packet to send [10:31:19]OFD Sender: No OFD packet to send [10:31:24]OFD Sender: No OFD packet to send [10:31:29]OFD Sender: No OFD packet to send [10:31:34]OFD Sender: No OFD packet to send [10:31:39]OFD Sender: No OFD packet to send [10:31:44]OFD Sender: No OFD packet to send [10:31:49]OFD Sender: No OFD packet to send [10:31:54]OFD Sender: No OFD packet to send [10:31:59]OFD Sender: No OFD packet to send [10:32:04]OFD Sender: No OFD packet to send [10:32:09]OFD Sender: No OFD packet to send [10:32:14]OFD Sender: No OFD packet to send [10:32:19]OFD Sender: No OFD packet to send [10:32:24]OFD Sender: No OFD packet to send [10:32:29]OFD Sender: No OFD packet to send [10:32:34]OFD Sender: No OFD packet to send [10:32:39]OFD Sender: No OFD packet to send [10:32:44]OFD Sender: No OFD packet to send [10:32:49]OFD Sender: No OFD packet to send [10:32:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:04]OFD Sender: No OFD packet to send [10:33:09]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:34]OFD Sender: No OFD packet to send [10:41:39]OFD Sender: No OFD packet to send [10:41:44]OFD Sender: No OFD packet to send [10:41:49]OFD Sender: No OFD packet to send [10:41:54]OFD Sender: No OFD packet to send [10:41:59]OFD Sender: No OFD packet to send [10:42:04]OFD Sender: No OFD packet to send [10:42:09]OFD Sender: No OFD packet to send [10:42:14]OFD Sender: No OFD packet to send [10:42:19]OFD Sender: No OFD packet to send [10:42:24]OFD Sender: No OFD packet to send [10:42:29]OFD Sender: No OFD packet to send [10:42:34]OFD Sender: No OFD packet to send [10:42:39]OFD Sender: No OFD packet to send [10:42:44]OFD Sender: No OFD packet to send [10:42:49]OFD Sender: No OFD packet to send [10:42:54]OFD Sender: No OFD packet to send [10:42:59]OFD Sender: No OFD packet to send [10:43:04]OFD Sender: No OFD packet to send [10:43:10]OFD Sender: No OFD packet to send [10:43:15]OFD Sender: No OFD packet to send [10:43:17]recv_with_timeout no data received [10:43:20]OFD Sender: No OFD packet to send [10:43:25]OFD Sender: No OFD packet to send [10:43:30]OFD Sender: No OFD packet to send [10:43:35]OFD Sender: No OFD packet to send [10:43:40]OFD Sender: No OFD packet to send [10:43:45]OFD Sender: No OFD packet to send [10:43:50]OFD Sender: No OFD packet to send [10:43:55]OFD Sender: No OFD packet to send [10:44:00]OFD Sender: No OFD packet to send [10:44:05]OFD Sender: No OFD packet to send [10:44:10]OFD Sender: No OFD packet to send [10:44:15]OFD Sender: No OFD packet to send [10:44:20]OFD Sender: No OFD packet to send [10:44:25]OFD Sender: No OFD packet to send [10:44:30]OFD Sender: No OFD packet to send [10:44:35]OFD Sender: No OFD packet to send [10:44:40]OFD Sender: No OFD packet to send [10:44:45]OFD Sender: No OFD packet to send [10:44:50]OFD Sender: No OFD packet to send [10:44:55]OFD Sender: No OFD packet to send [10:45:00]OFD Sender: No OFD packet to send [10:45:05]OFD Sender: No OFD packet to send [10:45:10]OFD Sender: No OFD packet to send [10:45:15]OFD Sender: No OFD packet to send [10:45:20]OFD Sender: No OFD packet to send [10:45:25]OFD Sender: No OFD packet to send [10:45:30]OFD Sender: No OFD packet to send [10:45:35]OFD Sender: No OFD packet to send [10:45:40]OFD Sender: No OFD packet to send [10:45:45]OFD Sender: No OFD packet to send [10:45:50]OFD Sender: No OFD packet to send [10:45:55]OFD Sender: No OFD packet to send [10:46:00]OFD Sender: No OFD packet to send [10:46:05]OFD Sender: No OFD packet to send [10:46:10]OFD Sender: No OFD packet to send [10:46:15]OFD Sender: No OFD packet to send [10:46:20]OFD Sender: No OFD packet to send [10:46:25]OFD Sender: No OFD packet to send [10:46:30]OFD Sender: No OFD packet to send [10:46:35]OFD Sender: No OFD packet to send [10:46:40]OFD Sender: No OFD packet to send [10:46:45]OFD Sender: No OFD packet to send [10:46:50]OFD Sender: No OFD packet to send [10:46:55]OFD Sender: No OFD packet to send [10:47:00]OFD Sender: No OFD packet to send [10:47:05]OFD Sender: No OFD packet to send [10:47:10]OFD Sender: No OFD packet to send [10:47:15]OFD Sender: No OFD packet to send [10:47:20]OFD Sender: No OFD packet to send [10:47:25]OFD Sender: No OFD packet to send [10:47:30]OFD Sender: No OFD packet to send [10:47:35]OFD Sender: No OFD packet to send [10:47:40]OFD Sender: No OFD packet to send [10:47:45]OFD Sender: No OFD packet to send [10:47:50]OFD Sender: No OFD packet to send [10:47:55]OFD Sender: No OFD packet to send [10:48:00]OFD Sender: No OFD packet to send [10:48:05]OFD Sender: No OFD packet to send [10:48:10]OFD Sender: No OFD packet to send [10:48:15]OFD Sender: No OFD packet to send [10:48:20]OFD Sender: No OFD packet to send [10:48:25]OFD Sender: No OFD packet to send [10:48:30]OFD Sender: No OFD packet to send [10:48:35]OFD Sender: No OFD packet to send [10:48:40]OFD Sender: No OFD packet to send [10:48:45]OFD Sender: No OFD packet to send [10:48:50]OFD Sender: No OFD packet to send [10:48:55]OFD Sender: No OFD packet to send [10:49:00]OFD Sender: No OFD packet to send [10:49:05]OFD Sender: No OFD packet to send [10:49:10]OFD Sender: No OFD packet to send [10:49:15]OFD Sender: No OFD packet to send [10:49:20]OFD Sender: No OFD packet to send [10:49:25]OFD Sender: No OFD packet to send [10:49:30]OFD Sender: No OFD packet to send [10:49:35]OFD Sender: No OFD packet to send [10:49:40]OFD Sender: No OFD packet to send [10:49:45]OFD Sender: No OFD packet to send [10:49:50]OFD Sender: No OFD packet to send [10:49:55]OFD Sender: No OFD packet to send [10:50:00]OFD Sender: No OFD packet to send [10:50:05]OFD Sender: No OFD packet to send [10:50:10]OFD Sender: No OFD packet to send [10:50:15]OFD Sender: No OFD packet to send [10:50:20]OFD Sender: No OFD packet to send [10:50:25]OFD Sender: No OFD packet to send [10:50:30]OFD Sender: No OFD packet to send [10:50:35]OFD Sender: No OFD packet to send [10:50:40]OFD Sender: No OFD packet to send [10:50:45]OFD Sender: No OFD packet to send [10:50:50]OFD Sender: No OFD packet to send [10:50:55]OFD Sender: No OFD packet to send [10:51:00]OFD Sender: No OFD packet to send [10:51:05]OFD Sender: No OFD packet to send [10:51:10]OFD Sender: No OFD packet to send [10:51:15]OFD Sender: No OFD packet to send [10:51:20]OFD Sender: No OFD packet to send [10:51:25]OFD Sender: No OFD packet to send [10:51:30]OFD Sender: No OFD packet to send [10:51:35]OFD Sender: No OFD packet to send [10:51:40]OFD Sender: No OFD packet to send [10:51:45]OFD Sender: No OFD packet to send [10:51:50]OFD Sender: No OFD packet to send [10:51:55]OFD Sender: No OFD packet to send [10:52:00]OFD Sender: No OFD packet to send [10:52:05]OFD Sender: No OFD packet to send [10:52:10]OFD Sender: No OFD packet to send [10:52:15]OFD Sender: No OFD packet to send [10:52:20]OFD Sender: No OFD packet to send [10:52:25]OFD Sender: No OFD packet to send [10:52:30]OFD Sender: No OFD packet to send [10:52:35]OFD Sender: No OFD packet to send [10:52:40]OFD Sender: No OFD packet to send [10:52:45]OFD Sender: No OFD packet to send [10:52:50]OFD Sender: No OFD packet to send [10:52:55]OFD Sender: No OFD packet to send [10:53:00]OFD Sender: No OFD packet to send [10:53:05]OFD Sender: No OFD packet to send [10:53:10]OFD Sender: No OFD packet to send [10:53:15]OFD Sender: No OFD packet to send [10:53:20]OFD Sender: No OFD packet to send [10:53:25]OFD Sender: No OFD packet to send [10:53:30]OFD Sender: No OFD packet to send [10:53:35]OFD Sender: No OFD packet to send [10:53:40]OFD Sender: No OFD packet to send [10:53:45]OFD Sender: No OFD packet to send [10:53:50]OFD Sender: No OFD packet to send [10:53:55]OFD Sender: No OFD packet to send [10:54:00]OFD Sender: No OFD packet to send [10:54:05]OFD Sender: No OFD packet to send [10:54:10]OFD Sender: No OFD packet to send [10:54:15]OFD Sender: No OFD packet to send [10:54:20]OFD Sender: No OFD packet to send [10:54:25]OFD Sender: No OFD packet to send [10:54:30]OFD Sender: No OFD packet to send [10:54:35]OFD Sender: No OFD packet to send [10:54:40]OFD Sender: No OFD packet to send [10:54:45]OFD Sender: No OFD packet to send [10:54:50]OFD Sender: No OFD packet to send [10:54:55]OFD Sender: No OFD packet to send [10:55:00]OFD Sender: No OFD packet to send [10:55:05]OFD Sender: No OFD packet to send [10:55:10]OFD Sender: No OFD packet to send [10:55:15]OFD Sender: No OFD packet to send [10:55:20]OFD Sender: No OFD packet to send [10:55:25]OFD Sender: No OFD packet to send [10:55:30]OFD Sender: No OFD packet to send [10:55:35]OFD Sender: No OFD packet to send [10:55:40]OFD Sender: No OFD packet to send [10:55:45]OFD Sender: No OFD packet to send [10:55:50]OFD Sender: No OFD packet to send [10:55:55]OFD Sender: No OFD packet to send [10:56:00]OFD Sender: No OFD packet to send [10:56:05]OFD Sender: No OFD packet to send [10:56:10]OFD Sender: No OFD packet to send [10:56:15]OFD Sender: No OFD packet to send [10:56:20]OFD Sender: No OFD packet to send [10:56:25]OFD Sender: No OFD packet to send [10:56:30]OFD Sender: No OFD packet to send [10:56:35]OFD Sender: No OFD packet to send [10:56:40]OFD Sender: No OFD packet to send [10:56:45]OFD Sender: No OFD packet to send [10:56:48]accept exits with 9 [10:56:48]New connection [10:56:48]New thread 3067100516 created [10:56:48]Thread 3067243876 joined [10:56:48]Waiting for new connection... [10:56:48] Sock 9.Parse request [10:56:48]Sock 9.Check first char [10:56:48]Sock 9.First char is OK [10:56:48]request: POST /json_proto HTTP/1.0 [10:56:48]Method: POST [10:56:48]URL: /json_proto [10:56:48]Method is POST - this is cgi request [10:56:48]url: /json_proto [10:56:48]query_string will be loaded in cgi processing [10:56:48]execute_cgi json_proto POST (null) [10:56:48]execute_cgi path=json_proto method=POST [10:56:48]POST find Content-Length [10:56:48]Host: 172.17.50.4:8080 [10:56:48]Content-Length: 621 [10:56:48]Content-Type: application/json [10:56:48] [10:56:48]POST finish read [10:56:48]Found Content-Length = 621 [10:56:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134780", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:56:48]execute_script... [10:56: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)134780", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:56:48]POST & json_proto [10:56:48]process_json_proto [10:56:48]json parsed OK: [10:56:48]protocol is kg_v1.0 [10:56:48]action value=close_receipt [10:56:48]process_action close_receipt [10:56:48]cmd_close_receipt [10:56:48]MH_GetDate [10:56:48]Write to MH i2c: F0 00 00 ED 15 F1 [10:56:48]Write i2c OK [10:56:48]MH_I2C_Read... [10:56:48]Read from MH i2c: F0 [10:56:48]MH_I2C_Read... [10:56:48]Read from MH i2c: F0 09 00 [10:56:48]MH_I2C_Read... [10:56:48]Read from MH i2c: F0 09 00 ED 15 00 F6 E1 14 67 1D BB 13 67 9E [10:56:48]GetLastDocTimeStamp 1729418690 [10:56:48]current date 1729421814 [10:56:48]FM_GetShiftState [10:56:48]SAM_PROTO_GetShiftState [10:56:48]wFMCommunicate request_size=4 [10:56:48]MH_SAM_APDU [10:56:48]CAPDU: 80 13 01 00 [10:56:48]Write to MH i2c: E2 08 00 EE 15 80 13 01 00 00 00 00 00 80 [10:56:48]Write i2c OK [10:56:48]MH_I2C_Read... [10:56:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:56:48]Read from MH i2c: E2 [10:56:48]MH_I2C_Read... [10:56:48]Read from MH i2c: E2 0E 00 [10:56:48]MH_I2C_Read... [10:56:48]Read from MH i2c: E2 0E 00 EE 15 00 09 00 01 51 49 14 67 00 00 00 00 90 00 A1 [10:56:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [10:56:48]wFMCommunicate OK [10:56:48]SAM_PROTO_GetShiftState done [10:56:48]FM_GetShiftState done [10:56:48]opened in 1729382737 [10:56:48]opened+sec_in_day 1729469137 [10:56:48]quantity*price = 28800 [10:56:48]sum+1 = 28801 [10:56:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 25 20.10.2024 10:56 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24255 ФПД: 52601267081875 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T105654&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24255&fm=52601267081875&tin=02508201610067®Number=0000000000098120&sum=28800 0 [10:56:50]StoreToDocumentArchive [10:56:50]shift 460 fd 24255 [10:56:50]save to /storage/0460/doc_00024255 [10:56:50]save last doc name /storage/0460/doc_00024255 to /storage/kkm_last_doc_name [10:56:50]save OK [10:56:50]Clear old archive folders... [10:56:50]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:56:50]tlvbuf is B6F08350 [10:56:50]SAM_PROTO_ClearQueue [10:56:50]wFMCommunicate request_size=4 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 09 00 00 [10:56:50]Write to MH i2c: E2 08 00 FB 15 80 09 00 00 00 00 00 00 82 [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 FB 15 00 90 00 84 [10:56:50]RAPDU: 90 00 [10:56:50]wFMCommunicate OK [10:56:50]SAM_PROTO_ClearQueue done [10:56:50]KKMCreateOFDPacket [10:56:50]OFDProtocolAddRootSTLVToBuf [10:56:50]FM_MakeSignedData [10:56:50]FM_MakeSignedData [10:56:50]SAM_PROTO_SignData [10:56:50]wFMCommunicate request_size=4 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 0D 01 02 [10:56:50]Write to MH i2c: E2 08 00 FC 15 80 0D 01 02 00 00 00 00 8A [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 FC 15 00 90 00 85 [10:56:50]RAPDU: 90 00 [10:56:50]wFMCommunicate OK [10:56:50]wFMCommunicate request_size=255 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 F6 E1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [10:56:50]Write to MH i2c: E2 02 01 FD 15 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 F6 E1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 FA [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 FD 15 00 90 00 86 [10:56:50]RAPDU: 90 00 [10:56:50]wFMCommunicate OK [10:56:50]wFMCommunicate request_size=32 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 BF 5E 00 00 35 04 06 00 2F D7 2F D6 D2 93 [10:56:50]Write to MH i2c: E2 23 00 FE 15 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 BF 5E 00 00 35 04 06 00 2F D7 2F D6 D2 93 00 00 71 [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 03 00 FE 15 00 90 00 87 [10:56:50]RAPDU: 90 00 [10:56:50]wFMCommunicate OK [10:56:50]wFMCommunicate request_size=4 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 0D 03 02 [10:56:50]Write to MH i2c: E2 08 00 FF 15 80 0D 03 02 00 00 00 00 8F [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 0B 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 0B 00 FF 15 00 1A 3F F5 78 75 3E FC B0 90 00 B5 [10:56:50]RAPDU: 1A 3F F5 78 75 3E FC B0 90 00 [10:56:50]wFMCommunicate OK [10:56:50]SAM_PROTO_SignData done [10:56:50]FM_MakeSignedData done [10:56:50]CreateOFDProtocolMessage [10:56:50]wFMCommunicate request_size=4 [10:56:50]MH_SAM_APDU [10:56:50]CAPDU: 80 11 00 00 [10:56:50]Write to MH i2c: E2 08 00 00 16 80 11 00 00 00 00 00 00 90 [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:56:50]Read from MH i2c: E2 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 17 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: E2 17 00 00 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DD [10:56:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:56:50]wFMCommunicate OK [10:56:50]CreateOFDProtocolMessage done [10:56:50]OFDSenderStorePacket 24255 [10:56:50]StoreOFDPacket docnum=24255 [10:56:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 9C 68 1D 01 E0 50 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 F6 E1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BF 5E 00 00 35 04 06 00 2F D7 2F D6 D2 93 1A 3F F5 78 75 3E FC B0 [10:56:50]CheckFolder [10:56:50]dirname=/storage/ofd_packets [10:56:50]CheckFolder done [10:56:50]ProducePacketName [10:56:50]name=ofd_packets/00024255 [10:56:50]NVStorageSaveData ofd_packets/00024255 [10:56:50]File name is /storage/ofd_packets/00024255 [10:56:50]Write 323 bytes [10:56:50]NVStorageSaveData done [10:56:50]OFDSenderStorePacket done [10:56:50]KKMCreateOFDPacket done [10:56:50]NVStorageSaveData kkm_last_timestamp [10:56:50]File name is /storage/kkm_last_timestamp [10:56:50]Write 4 bytes [10:56:50]NVStorageSaveData done [10:56:50]ExternCall_PrintAddStr [10:56:50]wPrintStart [10:56:50]Write to MH i2c: 01 00 00 01 16 17 [10:56:50]Write i2c OK [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: 01 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: 01 07 00 [10:56:50]MH_I2C_Read... [10:56:50]Read from MH i2c: 01 07 00 01 16 00 00 00 00 00 FF 0F 2C [10:56:50]RasterBufferAndPrint [10:56:50]line Счет N : (3)134780 [10:56:50]line ИНН: 02508201610067 [10:56:50]line Контрольно-Кассовый Чек [10:56:50]line ПРОДАЖА [10:56:50]line Товар: 48743570 [10:56:50]line Сигареты Winston XStyle Blue [10:56:50]line 2.000 * 144.00 [10:56:50]line = 288.00 [10:56:50]line НДС 12% НСП 1% [10:56:50]line > о реализуемом товаре [10:56:50]line ИТОГО: 288.00 [10:56:50]line НСП 1% : 2.55 [10:56:50]line НДС 12% : 30.58 [10:56:50]line Наличными: 288.00 [10:56:50]line Безнал.: 0.00 [10:56:50]line Место: АЗС № 85 "Партнер Нефть" [10:56:50]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:56:50]line СНО: Общий режим [10:56:50]line Чек 25 20.10.2024 10:56 [10:56:50]line Смена: 460 ФФД: 1.0 [10:56:50]line ЗНМ: 0300000166 [10:56:50]line РНМ: 0000000000098120 [10:56:50]line Версия ККМ: 001 [10:56:50]line ФМ: 0000000000965420 [10:56:50]line ФД: 24255 [10:56:50]line ФПД: 52601267081875 [10:56:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T105654&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24255&fm=52601267081875&tin=02508201610067®Number=0000000000098120&sum=28800 [10:56:50]line 0 [10:56:50]OFD Sender: Processing packet 24255 [packets to send 5, broken 4] [10:56:50]ProducePacketName [10:56:50]name=ofd_packets/00024255 [10:56:50]OFD Sender: To server: pG, [10:56:50]CommunicateWithHost lk.salyk.kg:30040 [10:56:50]ConnectInit lk.salyk.kg [10:56:50]written 0, free lines is 4095 [10:56:51]Connected sock=10 [10:56:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 9C 68 1D 01 E0 50 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 80 70 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 F6 E1 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 BF 5E 00 00 35 04 06 00 2F D7 2F D6 D2 93 1A 3F F5 78 75 3E FC B0 [10:56:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CF D1 47 00 15 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 36 35 34 32 30 10 04 04 00 BF 5E 00 00 F4 03 04 00 8E 8D 14 67 B6 04 01 00 00 E7 87 9B 48 C0 AE 08 3A [10:56:51]CommunicateWithHost err = 0 [10:56:51]CheckOFDResponse [10:56:51]1017 (14) - 77093643461234 [10:56:51]1041 (16) - 0000000000965420 [10:56:51]1040 (4) - 24255 [10:56:51]1012 (4) - 20.10.2024 04:56 [10:56:51]1206 (1) - 0 [10:56:51]OFD Sender: Remove packet 24255 [10:56:51]ProducePacketName [10:56:51]name=ofd_packets/00024255 [10:56:51]NVStorageDeleteData [10:56:51]Write to MH i2c: 01 00 00 29 16 3F [10:56:51]Write i2c OK [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: 01 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: 01 07 00 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: 01 07 00 29 16 00 00 00 00 00 10 0D 63 [10:56:51]RasterBufferAndPrint [10:56:51]line [10:56:51]line [10:56:51]line [10:56:51]line [10:56:51]line [10:56:51]written 0, free lines is 3351 [10:56:51]process_action close_receipt done [10:56:51]requested_data is exist [10:56:51]produce_requested_data [10:56:51]requested_item fm.sn is exist - process it [10:56:51]wFMCommunicate request_size=4 [10:56:51]MH_SAM_APDU [10:56:51]CAPDU: 80 11 00 00 [10:56:51]Write to MH i2c: E2 08 00 30 16 80 11 00 00 00 00 00 00 C0 [10:56:51]Write i2c OK [10:56:51]MH_I2C_Read... [10:56:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:56:51]Read from MH i2c: E2 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 17 00 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 17 00 30 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0D [10:56:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:56:51]wFMCommunicate OK [10:56:51]requested_item fd.num is exist - process it [10:56:51]SAM_PROTO_GetFieldsCounters [10:56:51]wFMCommunicate request_size=4 [10:56:51]MH_SAM_APDU [10:56:51]CAPDU: 80 13 00 00 [10:56:51]Write to MH i2c: E2 08 00 31 16 80 13 00 00 00 00 00 00 C3 [10:56:51]Write i2c OK [10:56:51]MH_I2C_Read... [10:56:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:56:51]Read from MH i2c: E2 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 62 00 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 62 00 31 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 0E [10:56:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 BF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:56:51]wFMCommunicate OK [10:56:51]SAM_PROTO_GetFieldsCounters done [10:56:51]requested_item shift.num is exist - process it [10:56:51]requested_item shift.opened is exist - process it [10:56:51]req_shift_opened [10:56:51]FM_GetShiftState [10:56:51]SAM_PROTO_GetShiftState [10:56:51]wFMCommunicate request_size=4 [10:56:51]MH_SAM_APDU [10:56:51]CAPDU: 80 13 01 00 [10:56:51]Write to MH i2c: E2 08 00 32 16 80 13 01 00 00 00 00 00 C5 [10:56:51]Write i2c OK [10:56:51]MH_I2C_Read... [10:56:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:56:51]Read from MH i2c: E2 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 0E 00 [10:56:51]MH_I2C_Read... [10:56:51]Read from MH i2c: E2 0E 00 32 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E6 [10:56:51]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [10:56:51]wFMCommunicate OK [10:56:51]SAM_PROTO_GetShiftState done [10:56:51]FM_GetShiftState done [10:56:51]req_shift_opened done [10:56:51]requested_item shift.open_date is exist - process it [10:56:51]req_shift_open_date [10:56:51]req_shift_open_date done [10:56:51]produce_requested_data done [10:56:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24255,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [10:56:51]process_action_free close_receipt [10:56:51]json_value_free [10:56:51]json_value_free done [10:56:51]process_json_proto returns [10:56:51]Send response to host [10:56:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24255,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [10:56:51]free response buf [10:56:51]execute_script done [10:56:51]execute_script returns [10:56:51]free content buf [10:56:51]Sock 9.Close socket [10:56:51]Sock 9.Thread stoped [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:58]OFD Sender: No OFD packet to send [11:24:03]OFD Sender: No OFD packet to send [11:24:08]OFD Sender: No OFD packet to send [11:24:13]OFD Sender: No OFD packet to send [11:24:18]OFD Sender: No OFD packet to send [11:24:23]OFD Sender: No OFD packet to send [11:24:28]OFD Sender: No OFD packet to send [11:24:33]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:13]accept exits with 7 [11:25:13]New connection [11:25:13]New thread 3067243876 created [11:25:13]Thread 3067100516 joined [11:25:13]Waiting for new connection... [11:25:13] Sock 7.Parse request [11:25:13]Sock 7.Check first char [11:25:13]Sock 7.First char is OK [11:25:13]request: POST /json_proto HTTP/1.0 [11:25:13]Method: POST [11:25:13]URL: /json_proto [11:25:13]Method is POST - this is cgi request [11:25:13]url: /json_proto [11:25:13]query_string will be loaded in cgi processing [11:25:13]execute_cgi json_proto POST (null) [11:25:13]execute_cgi path=json_proto method=POST [11:25:13]POST find Content-Length [11:25:13]Host: 172.17.50.4:8080 [11:25:13]Content-Length: 654 [11:25:13]Content-Type: application/json [11:25:13] [11:25:13]POST finish read [11:25:13]Found Content-Length = 654 [11:25:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134781", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:13]execute_script... [11:25:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134781", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:25:13]POST & json_proto [11:25:13]process_json_proto [11:25:13]json parsed OK: [11:25:13]protocol is kg_v1.0 [11:25:13]action value=close_receipt [11:25:13]process_action close_receipt [11:25:13]cmd_close_receipt [11:25:13]MH_GetDate [11:25:13]Write to MH i2c: F0 00 00 33 16 38 [11:25:13]Write i2c OK [11:25:13]MH_I2C_Read... [11:25:13]Read from MH i2c: F0 [11:25:13]MH_I2C_Read... [11:25:13]Read from MH i2c: F0 09 00 [11:25:13]MH_I2C_Read... [11:25:13]Read from MH i2c: F0 09 00 33 16 00 9F E8 14 67 1D BB 13 67 95 [11:25:13]GetLastDocTimeStamp 1729421814 [11:25:13]current date 1729423519 [11:25:13]FM_GetShiftState [11:25:13]SAM_PROTO_GetShiftState [11:25:13]wFMCommunicate request_size=4 [11:25:13]MH_SAM_APDU [11:25:13]CAPDU: 80 13 01 00 [11:25:13]Write to MH i2c: E2 08 00 34 16 80 13 01 00 00 00 00 00 C7 [11:25:13]Write i2c OK [11:25:13]MH_I2C_Read... [11:25:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:13]Read from MH i2c: E2 [11:25:13]MH_I2C_Read... [11:25:13]Read from MH i2c: E2 0E 00 [11:25:13]MH_I2C_Read... [11:25:13]Read from MH i2c: E2 0E 00 34 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E8 [11:25:13]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [11:25:13]wFMCommunicate OK [11:25:13]SAM_PROTO_GetShiftState done [11:25:13]FM_GetShiftState done [11:25:13]opened in 1729382737 [11:25:13]opened+sec_in_day 1729469137 [11:25:13]quantity*price = 9500 [11:25:13]sum+1 = 9501 [11:25:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 26 20.10.2024 11:25 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24256 ФПД: 279524985290642 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T112519&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24256&fm=279524985290642&tin=02508201610067®Number=0000000000098120&sum=9500 0 [11:25:15]StoreToDocumentArchive [11:25:15]shift 460 fd 24256 [11:25:15]save to /storage/0460/doc_00024256 [11:25:15]save last doc name /storage/0460/doc_00024256 to /storage/kkm_last_doc_name [11:25:15]save OK [11:25:15]Clear old archive folders... [11:25:15]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:25:15]tlvbuf is B6EEF710 [11:25:15]SAM_PROTO_ClearQueue [11:25:15]wFMCommunicate request_size=4 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 09 00 00 [11:25:15]Write to MH i2c: E2 08 00 41 16 80 09 00 00 00 00 00 00 C9 [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 41 16 00 90 00 CB [11:25:15]RAPDU: 90 00 [11:25:15]wFMCommunicate OK [11:25:15]SAM_PROTO_ClearQueue done [11:25:15]KKMCreateOFDPacket [11:25:15]OFDProtocolAddRootSTLVToBuf [11:25:15]FM_MakeSignedData [11:25:15]FM_MakeSignedData [11:25:15]SAM_PROTO_SignData [11:25:15]wFMCommunicate request_size=4 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 0D 01 02 [11:25:15]Write to MH i2c: E2 08 00 42 16 80 0D 01 02 00 00 00 00 D1 [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 42 16 00 90 00 CC [11:25:15]RAPDU: 90 00 [11:25:15]wFMCommunicate OK [11:25:15]wFMCommunicate request_size=255 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 9F E8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:25:15]Write to MH i2c: E2 02 01 43 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 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 9F E8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 5A [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 43 16 00 90 00 CD [11:25:15]RAPDU: 90 00 [11:25:15]wFMCommunicate OK [11:25:15]wFMCommunicate request_size=52 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C0 5E 00 00 35 04 06 00 FE 39 FB 74 3F 92 [11:25:15]Write to MH i2c: E2 37 00 44 16 80 0D 02 02 2F 00 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C0 5E 00 00 35 04 06 00 FE 39 FB 74 3F 92 00 00 21 [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 03 00 44 16 00 90 00 CE [11:25:15]RAPDU: 90 00 [11:25:15]wFMCommunicate OK [11:25:15]wFMCommunicate request_size=4 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 0D 03 02 [11:25:15]Write to MH i2c: E2 08 00 45 16 80 0D 03 02 00 00 00 00 D6 [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 0B 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 0B 00 45 16 00 45 B5 9A 02 B5 68 D4 AE 90 00 0C [11:25:15]RAPDU: 45 B5 9A 02 B5 68 D4 AE 90 00 [11:25:15]wFMCommunicate OK [11:25:15]SAM_PROTO_SignData done [11:25:15]FM_MakeSignedData done [11:25:15]CreateOFDProtocolMessage [11:25:15]wFMCommunicate request_size=4 [11:25:15]MH_SAM_APDU [11:25:15]CAPDU: 80 11 00 00 [11:25:15]Write to MH i2c: E2 08 00 46 16 80 11 00 00 00 00 00 00 D6 [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:15]Read from MH i2c: E2 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 17 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: E2 17 00 46 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [11:25:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:25:15]wFMCommunicate OK [11:25:15]CreateOFDProtocolMessage done [11:25:15]OFDSenderStorePacket 24256 [11:25:15]StoreOFDPacket docnum=24256 [11:25:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 39 01 00 00 2A 7C 31 01 97 81 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 9F E8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C0 5E 00 00 35 04 06 00 FE 39 FB 74 3F 92 45 B5 9A 02 B5 68 D4 AE [11:25:15]CheckFolder [11:25:15]dirname=/storage/ofd_packets [11:25:15]CheckFolder done [11:25:15]ProducePacketName [11:25:15]name=ofd_packets/00024256 [11:25:15]NVStorageSaveData ofd_packets/00024256 [11:25:15]File name is /storage/ofd_packets/00024256 [11:25:15]Write 343 bytes [11:25:15]NVStorageSaveData done [11:25:15]OFDSenderStorePacket done [11:25:15]KKMCreateOFDPacket done [11:25:15]NVStorageSaveData kkm_last_timestamp [11:25:15]File name is /storage/kkm_last_timestamp [11:25:15]Write 4 bytes [11:25:15]OFD Sender: Processing packet 24256 [packets to send 5, broken 4] [11:25:15]ProducePacketName [11:25:15]name=ofd_packets/00024256 [11:25:15]OFD Sender: To server: pG, [11:25:15]CommunicateWithHost lk.salyk.kg:30040 [11:25:15]ConnectInit lk.salyk.kg [11:25:15]NVStorageSaveData done [11:25:15]ExternCall_PrintAddStr [11:25:15]wPrintStart [11:25:15]Write to MH i2c: 01 00 00 47 16 5D [11:25:15]Write i2c OK [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: 01 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: 01 07 00 [11:25:15]MH_I2C_Read... [11:25:15]Read from MH i2c: 01 07 00 47 16 00 00 00 00 00 FF 0F 72 [11:25:15]RasterBufferAndPrint [11:25:15]line Счет N : (3)134781 [11:25:15]line ИНН: 02508201610067 [11:25:15]line Контрольно-Кассовый Чек [11:25:15]line ПРОДАЖА [11:25:15]line Товар: 4700000480050 [11:25:15]line Напиток Nitro Energy эн green ж/б 0,45л [11:25:15]line 1.000 * 95.00 [11:25:15]line = 95.00 [11:25:15]line НДС 12% НСП 1% [11:25:15]line > о реализуемом товаре [11:25:15]line ИТОГО: 95.00 [11:25:15]line НСП 1% : 0.84 [11:25:15]line НДС 12% : 10.09 [11:25:15]line Наличными: 95.00 [11:25:15]line Безнал.: 0.00 [11:25:15]line Место: АЗС № 85 "Партнер Нефть" [11:25:15]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:25:15]line СНО: Общий режим [11:25:15]line Чек 26 20.10.2024 11:25 [11:25:15]line Смена: 460 ФФД: 1.0 [11:25:15]line ЗНМ: 0300000166 [11:25:15]line РНМ: 0000000000098120 [11:25:15]line Версия ККМ: 001 [11:25:15]line ФМ: 0000000000965420 [11:25:15]line ФД: 24256 [11:25:15]line ФПД: 279524985290642 [11:25:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T112519&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24256&fm=279524985290642&tin=02508201610067®Number=0000000000098120&sum=9500 [11:25:16]line 0 [11:25:16]Connected sock=11 [11:25:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 39 01 00 00 2A 7C 31 01 97 81 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 9F E8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C0 5E 00 00 35 04 06 00 FE 39 FB 74 3F 92 45 B5 9A 02 B5 68 D4 AE [11:25:16]written 0, free lines is 4095 [11:25:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 45 3D 47 00 06 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C0 5E 00 00 F4 03 04 00 37 94 14 67 B6 04 01 00 00 14 A0 52 4D 99 3A 0F E8 [11:25:16]CommunicateWithHost err = 0 [11:25:16]CheckOFDResponse [11:25:16]1017 (14) - 77093643461234 [11:25:16]1041 (16) - 0000000000965420 [11:25:16]1040 (4) - 24256 [11:25:16]1012 (4) - 20.10.2024 05:25 [11:25:16]1206 (1) - 0 [11:25:16]OFD Sender: Remove packet 24256 [11:25:16]ProducePacketName [11:25:16]name=ofd_packets/00024256 [11:25:16]NVStorageDeleteData [11:25:16]Write to MH i2c: 01 00 00 70 16 86 [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: 01 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: 01 07 00 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: 01 07 00 70 16 00 00 00 00 00 07 0D A1 [11:25:16]RasterBufferAndPrint [11:25:16]line [11:25:16]line [11:25:16]line [11:25:16]line [11:25:16]line [11:25:16]written 0, free lines is 3344 [11:25:16]process_action close_receipt done [11:25:16]requested_data is exist [11:25:16]produce_requested_data [11:25:16]requested_item fm.sn is exist - process it [11:25:16]wFMCommunicate request_size=4 [11:25:16]MH_SAM_APDU [11:25:16]CAPDU: 80 11 00 00 [11:25:16]Write to MH i2c: E2 08 00 77 16 80 11 00 00 00 00 00 00 07 [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:25:16]Read from MH i2c: E2 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 17 00 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 17 00 77 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 54 [11:25:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:25:16]wFMCommunicate OK [11:25:16]requested_item fd.num is exist - process it [11:25:16]SAM_PROTO_GetFieldsCounters [11:25:16]wFMCommunicate request_size=4 [11:25:16]MH_SAM_APDU [11:25:16]CAPDU: 80 13 00 00 [11:25:16]Write to MH i2c: E2 08 00 78 16 80 13 00 00 00 00 00 00 0A [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:25:16]Read from MH i2c: E2 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 62 00 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 62 00 78 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [11:25:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:25:16]wFMCommunicate OK [11:25:16]SAM_PROTO_GetFieldsCounters done [11:25:16]requested_item shift.num is exist - process it [11:25:16]requested_item shift.opened is exist - process it [11:25:16]req_shift_opened [11:25:16]FM_GetShiftState [11:25:16]SAM_PROTO_GetShiftState [11:25:16]wFMCommunicate request_size=4 [11:25:16]MH_SAM_APDU [11:25:16]CAPDU: 80 13 01 00 [11:25:16]Write to MH i2c: E2 08 00 79 16 80 13 01 00 00 00 00 00 0C [11:25:16]Write i2c OK [11:25:16]MH_I2C_Read... [11:25:16]OFD Sender: No OFD packet to send [11:25:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:25:16]Read from MH i2c: E2 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 0E 00 [11:25:16]MH_I2C_Read... [11:25:16]Read from MH i2c: E2 0E 00 79 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2D [11:25:16]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [11:25:16]wFMCommunicate OK [11:25:16]SAM_PROTO_GetShiftState done [11:25:16]FM_GetShiftState done [11:25:16]req_shift_opened done [11:25:16]requested_item shift.open_date is exist - process it [11:25:16]req_shift_open_date [11:25:16]req_shift_open_date done [11:25:16]produce_requested_data done [11:25:16]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24256,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [11:25:16]process_action_free close_receipt [11:25:16]json_value_free [11:25:16]json_value_free done [11:25:16]process_json_proto returns [11:25:16]Send response to host [11:25:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24256,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [11:25:16]free response buf [11:25:16]execute_script done [11:25:16]execute_script returns [11:25:16]free content buf [11:25:16]Sock 7.Close socket [11:25:16]Sock 7.Thread stoped [11:25:21]OFD Sender: No OFD packet to send [11:25:26]OFD Sender: No OFD packet to send [11:25:31]OFD Sender: No OFD packet to send [11:25:36]OFD Sender: No OFD packet to send [11:25:41]OFD Sender: No OFD packet to send [11:25:46]OFD Sender: No OFD packet to send [11:25:51]OFD Sender: No OFD packet to send [11:25:56]OFD Sender: No OFD packet to send [11:26:01]OFD Sender: No OFD packet to send [11:26:06]OFD Sender: No OFD packet to send [11:26:11]OFD Sender: No OFD packet to send [11:26:16]OFD Sender: No OFD packet to send [11:26:21]OFD Sender: No OFD packet to send [11:26:26]OFD Sender: No OFD packet to send [11:26:31]OFD Sender: No OFD packet to send [11:26:36]OFD Sender: No OFD packet to send [11:26:41]OFD Sender: No OFD packet to send [11:26:46]OFD Sender: No OFD packet to send [11:26:51]OFD Sender: No OFD packet to send [11:26:56]OFD Sender: No OFD packet to send [11:27:01]OFD Sender: No OFD packet to send [11:27:06]OFD Sender: No OFD packet to send [11:27:11]OFD Sender: No OFD packet to send [11:27:16]OFD Sender: No OFD packet to send [11:27:21]OFD Sender: No OFD packet to send [11:27:26]OFD Sender: No OFD packet to send [11:27:31]OFD Sender: No OFD packet to send [11:27:36]OFD Sender: No OFD packet to send [11:27:41]OFD Sender: No OFD packet to send [11:27:46]OFD Sender: No OFD packet to send [11:27:51]OFD Sender: No OFD packet to send [11:27:56]OFD Sender: No OFD packet to send [11:28:01]OFD Sender: No OFD packet to send [11:28:06]OFD Sender: No OFD packet to send [11:28:11]OFD Sender: No OFD packet to send [11:28:16]OFD Sender: No OFD packet to send [11:28:21]OFD Sender: No OFD packet to send [11:28:26]OFD Sender: No OFD packet to send [11:28:31]OFD Sender: No OFD packet to send [11:28:36]OFD Sender: No OFD packet to send [11:28:41]OFD Sender: No OFD packet to send [11:28:46]OFD Sender: No OFD packet to send [11:28:51]OFD Sender: No OFD packet to send [11:28:56]OFD Sender: No OFD packet to send [11:29:01]OFD Sender: No OFD packet to send [11:29:06]OFD Sender: No OFD packet to send [11:29:11]OFD Sender: No OFD packet to send [11:29:16]OFD Sender: No OFD packet to send [11:29:21]OFD Sender: No OFD packet to send [11:29:26]OFD Sender: No OFD packet to send [11:29:31]OFD Sender: No OFD packet to send [11:29:36]OFD Sender: No OFD packet to send [11:29:41]OFD Sender: No OFD packet to send [11:29:46]OFD Sender: No OFD packet to send [11:29:51]OFD Sender: No OFD packet to send [11:29:56]OFD Sender: No OFD packet to send [11:30:01]OFD Sender: No OFD packet to send [11:30:06]OFD Sender: No OFD packet to send [11:30:11]OFD Sender: No OFD packet to send [11:30:16]OFD Sender: No OFD packet to send [11:30:22]OFD Sender: No OFD packet to send [11:30:27]OFD Sender: No OFD packet to send [11:30:32]OFD Sender: No OFD packet to send [11:30:37]OFD Sender: No OFD packet to send [11:30:42]OFD Sender: No OFD packet to send [11:30:47]OFD Sender: No OFD packet to send [11:30:52]OFD Sender: No OFD packet to send [11:30:57]OFD Sender: No OFD packet to send [11:31:02]OFD Sender: No OFD packet to send [11:31:07]OFD Sender: No OFD packet to send [11:31:12]OFD Sender: No OFD packet to send [11:31:17]OFD Sender: No OFD packet to send [11:31:22]OFD Sender: No OFD packet to send [11:31:27]OFD Sender: No OFD packet to send [11:31:32]OFD Sender: No OFD packet to send [11:31:37]OFD Sender: No OFD packet to send [11:31:42]OFD Sender: No OFD packet to send [11:31:47]OFD Sender: No OFD packet to send [11:31:52]OFD Sender: No OFD packet to send [11:31:57]OFD Sender: No OFD packet to send [11:32:02]OFD Sender: No OFD packet to send [11:32:07]OFD Sender: No OFD packet to send [11:32:12]OFD Sender: No OFD packet to send [11:32:17]OFD Sender: No OFD packet to send [11:32:22]OFD Sender: No OFD packet to send [11:32:27]OFD Sender: No OFD packet to send [11:32:32]OFD Sender: No OFD packet to send [11:32:37]OFD Sender: No OFD packet to send [11:32:42]OFD Sender: No OFD packet to send [11:32:47]OFD Sender: No OFD packet to send [11:32:52]OFD Sender: No OFD packet to send [11:32:57]OFD Sender: No OFD packet to send [11:33:02]OFD Sender: No OFD packet to send [11:33:07]OFD Sender: No OFD packet to send [11:33:12]OFD Sender: No OFD packet to send [11:33:17]OFD Sender: No OFD packet to send [11:33:22]OFD Sender: No OFD packet to send [11:33:27]OFD Sender: No OFD packet to send [11:33:32]OFD Sender: No OFD packet to send [11:33:37]OFD Sender: No OFD packet to send [11:33:42]OFD Sender: No OFD packet to send [11:33:47]OFD Sender: No OFD packet to send [11:33:52]OFD Sender: No OFD packet to send [11:33:57]OFD Sender: No OFD packet to send [11:34:02]OFD Sender: No OFD packet to send [11:34:07]OFD Sender: No OFD packet to send [11:34:12]OFD Sender: No OFD packet to send [11:34:17]OFD Sender: No OFD packet to send [11:34:22]OFD Sender: No OFD packet to send [11:34:27]OFD Sender: No OFD packet to send [11:34:32]OFD Sender: No OFD packet to send [11:34:37]OFD Sender: No OFD packet to send [11:34:42]OFD Sender: No OFD packet to send [11:34:47]OFD Sender: No OFD packet to send [11:34:52]OFD Sender: No OFD packet to send [11:34:57]OFD Sender: No OFD packet to send [11:35:02]OFD Sender: No OFD packet to send [11:35:07]OFD Sender: No OFD packet to send [11:35:12]OFD Sender: No OFD packet to send [11:35:17]OFD Sender: No OFD packet to send [11:35:22]OFD Sender: No OFD packet to send [11:35:27]OFD Sender: No OFD packet to send [11:35:32]OFD Sender: No OFD packet to send [11:35:37]OFD Sender: No OFD packet to send [11:35:42]OFD Sender: No OFD packet to send [11:35:47]OFD Sender: No OFD packet to send [11:35:52]OFD Sender: No OFD packet to send [11:35:57]OFD Sender: No OFD packet to send [11:36:02]OFD Sender: No OFD packet to send [11:36:07]OFD Sender: No OFD packet to send [11:36:12]OFD Sender: No OFD packet to send [11:36:17]OFD Sender: No OFD packet to send [11:36:22]OFD Sender: No OFD packet to send [11:36:27]OFD Sender: No OFD packet to send [11:36:32]OFD Sender: No OFD packet to send [11:36:37]OFD Sender: No OFD packet to send [11:36:42]OFD Sender: No OFD packet to send [11:36:47]OFD Sender: No OFD packet to send [11:36:52]OFD Sender: No OFD packet to send [11:36:57]OFD Sender: No OFD packet to send [11:37:02]OFD Sender: No OFD packet to send [11:37:07]OFD Sender: No OFD packet to send [11:37:12]OFD Sender: No OFD packet to send [11:37:17]OFD Sender: No OFD packet to send [11:37:22]OFD Sender: No OFD packet to send [11:37:27]OFD Sender: No OFD packet to send [11:37:32]OFD Sender: No OFD packet to send [11:37:37]OFD Sender: No OFD packet to send [11:37:42]OFD Sender: No OFD packet to send [11:37:47]OFD Sender: No OFD packet to send [11:37:52]OFD Sender: No OFD packet to send [11:37:57]OFD Sender: No OFD packet to send [11:38:02]OFD Sender: No OFD packet to send [11:38:07]OFD Sender: No OFD packet to send [11:38:12]OFD Sender: No OFD packet to send [11:38:17]OFD Sender: No OFD packet to send [11:38:22]OFD Sender: No OFD packet to send [11:38:27]OFD Sender: No OFD packet to send [11:38:32]OFD Sender: No OFD packet to send [11:38:37]OFD Sender: No OFD packet to send [11:38:42]OFD Sender: No OFD packet to send [11:38:47]OFD Sender: No OFD packet to send [11:38:52]OFD Sender: No OFD packet to send [11:38:57]OFD Sender: No OFD packet to send [11:39:02]OFD Sender: No OFD packet to send [11:39:07]OFD Sender: No OFD packet to send [11:39:12]OFD Sender: No OFD packet to send [11:39:17]OFD Sender: No OFD packet to send [11:39:22]OFD Sender: No OFD packet to send [11:39:27]OFD Sender: No OFD packet to send [11:39:32]OFD Sender: No OFD packet to send [11:39:37]OFD Sender: No OFD packet to send [11:39:42]OFD Sender: No OFD packet to send [11:39:47]OFD Sender: No OFD packet to send [11:39:52]OFD Sender: No OFD packet to send [11:39:57]OFD Sender: No OFD packet to send [11:40:02]OFD Sender: No OFD packet to send [11:40:07]OFD Sender: No OFD packet to send [11:40:12]OFD Sender: No OFD packet to send [11:40:17]OFD Sender: No OFD packet to send [11:40:22]OFD Sender: No OFD packet to send [11:40:27]OFD Sender: No OFD packet to send [11:40:32]OFD Sender: No OFD packet to send [11:40:37]OFD Sender: No OFD packet to send [11:40:42]OFD Sender: No OFD packet to send [11:40:47]OFD Sender: No OFD packet to send [11:40:52]OFD Sender: No OFD packet to send [11:40:57]OFD Sender: No OFD packet to send [11:41:02]OFD Sender: No OFD packet to send [11:41:07]OFD Sender: No OFD packet to send [11:41:12]OFD Sender: No OFD packet to send [11:41:17]OFD Sender: No OFD packet to send [11:41:22]OFD Sender: No OFD packet to send [11:41:27]OFD Sender: No OFD packet to send [11:41:32]OFD Sender: No OFD packet to send [11:41:37]OFD Sender: No OFD packet to send [11:41:42]OFD Sender: No OFD packet to send [11:41:47]OFD Sender: No OFD packet to send [11:41:52]OFD Sender: No OFD packet to send [11:41:57]OFD Sender: No OFD packet to send [11:42:02]OFD Sender: No OFD packet to send [11:42:07]OFD Sender: No OFD packet to send [11:42:12]OFD Sender: No OFD packet to send [11:42:17]OFD Sender: No OFD packet to send [11:42:22]OFD Sender: No OFD packet to send [11:42:27]OFD Sender: No OFD packet to send [11:42:32]OFD Sender: No OFD packet to send [11:42:37]OFD Sender: No OFD packet to send [11:42:42]OFD Sender: No OFD packet to send [11:42:47]OFD Sender: No OFD packet to send [11:42:52]OFD Sender: No OFD packet to send [11:42:57]OFD Sender: No OFD packet to send [11:43:02]OFD Sender: No OFD packet to send [11:43:07]OFD Sender: No OFD packet to send [11:43:12]OFD Sender: No OFD packet to send [11:43:17]OFD Sender: No OFD packet to send [11:43:22]OFD Sender: No OFD packet to send [11:43:27]OFD Sender: No OFD packet to send [11:43:32]OFD Sender: No OFD packet to send [11:43:37]OFD Sender: No OFD packet to send [11:43:42]OFD Sender: No OFD packet to send [11:43:47]OFD Sender: No OFD packet to send [11:43:52]OFD Sender: No OFD packet to send [11:43:57]OFD Sender: No OFD packet to send [11:44:02]OFD Sender: No OFD packet to send [11:44:07]OFD Sender: No OFD packet to send [11:44:12]OFD Sender: No OFD packet to send [11:44:17]OFD Sender: No OFD packet to send [11:44:22]OFD Sender: No OFD packet to send [11:44:27]OFD Sender: No OFD packet to send [11:44:32]OFD Sender: No OFD packet to send [11:44:37]OFD Sender: No OFD packet to send [11:44:42]OFD Sender: No OFD packet to send [11:44:47]OFD Sender: No OFD packet to send [11:44:52]OFD Sender: No OFD packet to send [11:44:57]OFD Sender: No OFD packet to send [11:45:02]OFD Sender: No OFD packet to send [11:45:07]OFD Sender: No OFD packet to send [11:45:12]OFD Sender: No OFD packet to send [11:45:17]OFD Sender: No OFD packet to send [11:45:22]OFD Sender: No OFD packet to send [11:45:27]OFD Sender: No OFD packet to send [11:45:32]OFD Sender: No OFD packet to send [11:45:37]OFD Sender: No OFD packet to send [11:45:42]OFD Sender: No OFD packet to send [11:45:47]OFD Sender: No OFD packet to send [11:45:52]OFD Sender: No OFD packet to send [11:45:57]OFD Sender: No OFD packet to send [11:46:02]OFD Sender: No OFD packet to send [11:46:07]OFD Sender: No OFD packet to send [11:46:12]OFD Sender: No OFD packet to send [11:46:17]OFD Sender: No OFD packet to send [11:46:22]OFD Sender: No OFD packet to send [11:46:27]OFD Sender: No OFD packet to send [11:46:32]OFD Sender: No OFD packet to send [11:46:37]OFD Sender: No OFD packet to send [11:46:42]OFD Sender: No OFD packet to send [11:46:47]OFD Sender: No OFD packet to send [11:46:52]OFD Sender: No OFD packet to send [11:46:57]OFD Sender: No OFD packet to send [11:47:02]OFD Sender: No OFD packet to send [11:47:07]OFD Sender: No OFD packet to send [11:47:12]OFD Sender: No OFD packet to send [11:47:17]OFD Sender: No OFD packet to send [11:47:22]OFD Sender: No OFD packet to send [11:47:27]OFD Sender: No OFD packet to send [11:47:32]OFD Sender: No OFD packet to send [11:47:37]OFD Sender: No OFD packet to send [11:47:42]OFD Sender: No OFD packet to send [11:47:47]OFD Sender: No OFD packet to send [11:47:52]OFD Sender: No OFD packet to send [11:47:57]OFD Sender: No OFD packet to send [11:48:02]OFD Sender: No OFD packet to send [11:48:07]OFD Sender: No OFD packet to send [11:48:12]OFD Sender: No OFD packet to send [11:48:17]OFD Sender: No OFD packet to send [11:48:22]OFD Sender: No OFD packet to send [11:48:27]OFD Sender: No OFD packet to send [11:48:32]OFD Sender: No OFD packet to send [11:48:37]OFD Sender: No OFD packet to send [11:48:42]OFD Sender: No OFD packet to send [11:48:47]OFD Sender: No OFD packet to send [11:48:52]OFD Sender: No OFD packet to send [11:48:57]OFD Sender: No OFD packet to send [11:49:02]OFD Sender: No OFD packet to send [11:49:07]OFD Sender: No OFD packet to send [11:49:12]OFD Sender: No OFD packet to send [11:49:17]OFD Sender: No OFD packet to send [11:49:22]OFD Sender: No OFD packet to send [11:49:27]OFD Sender: No OFD packet to send [11:49:32]OFD Sender: No OFD packet to send [11:49:37]OFD Sender: No OFD packet to send [11:49:42]OFD Sender: No OFD packet to send [11:49:47]OFD Sender: No OFD packet to send [11:49:52]OFD Sender: No OFD packet to send [11:49:57]OFD Sender: No OFD packet to send [11:50:02]OFD Sender: No OFD packet to send [11:50:07]OFD Sender: No OFD packet to send [11:50:12]OFD Sender: No OFD packet to send [11:50:17]OFD Sender: No OFD packet to send [11:50:22]OFD Sender: No OFD packet to send [11:50:27]OFD Sender: No OFD packet to send [11:50:32]OFD Sender: No OFD packet to send [11:50:37]OFD Sender: No OFD packet to send [11:50:42]OFD Sender: No OFD packet to send [11:50:47]OFD Sender: No OFD packet to send [11:50:52]OFD Sender: No OFD packet to send [11:50:57]OFD Sender: No OFD packet to send [11:51:02]OFD Sender: No OFD packet to send [11:51:07]OFD Sender: No OFD packet to send [11:51:12]OFD Sender: No OFD packet to send [11:51:17]OFD Sender: No OFD packet to send [11:51:22]OFD Sender: No OFD packet to send [11:51:27]OFD Sender: No OFD packet to send [11:51:32]OFD Sender: No OFD packet to send [11:51:37]OFD Sender: No OFD packet to send [11:51:43]OFD Sender: No OFD packet to send [11:51:48]OFD Sender: No OFD packet to send [11:51:53]OFD Sender: No OFD packet to send [11:51:58]OFD Sender: No OFD packet to send [11:52:03]OFD Sender: No OFD packet to send [11:52:08]OFD Sender: No OFD packet to send [11:52:13]OFD Sender: No OFD packet to send [11:52:18]OFD Sender: No OFD packet to send [11:52:23]OFD Sender: No OFD packet to send [11:52:28]OFD Sender: No OFD packet to send [11:52:33]OFD Sender: No OFD packet to send [11:52:38]OFD Sender: No OFD packet to send [11:52:43]OFD Sender: No OFD packet to send [11:52:48]OFD Sender: No OFD packet to send [11:52:53]OFD Sender: No OFD packet to send [11:52:58]OFD Sender: No OFD packet to send [11:53:03]OFD Sender: No OFD packet to send [11:53:08]OFD Sender: No OFD packet to send [11:53:13]OFD Sender: No OFD packet to send [11:53:18]OFD Sender: No OFD packet to send [11:53:23]OFD Sender: No OFD packet to send [11:53:28]OFD Sender: No OFD packet to send [11:53:33]OFD Sender: No OFD packet to send [11:53:38]OFD Sender: No OFD packet to send [11:53:43]OFD Sender: No OFD packet to send [11:53:48]OFD Sender: No OFD packet to send [11:53:53]OFD Sender: No OFD packet to send [11:53:58]OFD Sender: No OFD packet to send [11:54:03]OFD Sender: No OFD packet to send [11:54:08]OFD Sender: No OFD packet to send [11:54:13]OFD Sender: No OFD packet to send [11:54:18]OFD Sender: No OFD packet to send [11:54:23]OFD Sender: No OFD packet to send [11:54:28]OFD Sender: No OFD packet to send [11:54:33]OFD Sender: No OFD packet to send [11:54:38]OFD Sender: No OFD packet to send [11:54:43]OFD Sender: No OFD packet to send [11:54:48]OFD Sender: No OFD packet to send [11:54:53]OFD Sender: No OFD packet to send [11:54:58]OFD Sender: No OFD packet to send [11:55:03]OFD Sender: No OFD packet to send [11:55:08]OFD Sender: No OFD packet to send [11:55:13]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:57:58]accept exits with 9 [11:57:58]New connection [11:57:58]New thread 3067100516 created [11:57:58]Thread 3067243876 joined [11:57:58]Waiting for new connection... [11:57:58] Sock 9.Parse request [11:57:58]Sock 9.Check first char [11:57:58]Sock 9.First char is OK [11:57:58]request: POST /json_proto HTTP/1.0 [11:57:58]Method: POST [11:57:58]URL: /json_proto [11:57:58]Method is POST - this is cgi request [11:57:58]url: /json_proto [11:57:58]query_string will be loaded in cgi processing [11:57:58]execute_cgi json_proto POST (null) [11:57:58]execute_cgi path=json_proto method=POST [11:57:58]POST find Content-Length [11:57:58]Host: 172.17.50.4:8080 [11:57:58]Content-Length: 622 [11:57:58]Content-Type: application/json [11:57:58] [11:57:58]POST finish read [11:57:58]Found Content-Length = 622 [11:57:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134782", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [11:57:58]execute_script... [11:57:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134782", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [11:57:58]POST & json_proto [11:57:58]process_json_proto [11:57:58]json parsed OK: [11:57:58]protocol is kg_v1.0 [11:57:58]action value=close_receipt [11:57:58]process_action close_receipt [11:57:58]cmd_close_receipt [11:57:58]MH_GetDate [11:57:58]Write to MH i2c: F0 00 00 7A 16 7F [11:57:58]Write i2c OK [11:57:58]MH_I2C_Read... [11:57:58]Read from MH i2c: F0 [11:57:58]MH_I2C_Read... [11:57:58]Read from MH i2c: F0 09 00 [11:57:58]MH_I2C_Read... [11:57:58]Read from MH i2c: F0 09 00 7A 16 00 4C F0 14 67 1D BB 13 67 91 [11:57:58]GetLastDocTimeStamp 1729423519 [11:57:58]current date 1729425484 [11:57:58]FM_GetShiftState [11:57:58]SAM_PROTO_GetShiftState [11:57:58]wFMCommunicate request_size=4 [11:57:58]MH_SAM_APDU [11:57:58]CAPDU: 80 13 01 00 [11:57:58]Write to MH i2c: E2 08 00 7B 16 80 13 01 00 00 00 00 00 0E [11:57:58]Write i2c OK [11:57:58]MH_I2C_Read... [11:57:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:57:58]Read from MH i2c: E2 [11:57:58]MH_I2C_Read... [11:57:58]Read from MH i2c: E2 0E 00 [11:57:58]MH_I2C_Read... [11:57:58]Read from MH i2c: E2 0E 00 7B 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 2F [11:57:58]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [11:57:58]wFMCommunicate OK [11:57:58]SAM_PROTO_GetShiftState done [11:57:58]FM_GetShiftState done [11:57:58]opened in 1729382737 [11:57:58]opened+sec_in_day 1729469137 [11:57:58]quantity*price = 15000 [11:57:58]sum+1 = 15001 [11:57:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 27 20.10.2024 11:58 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24257 ФПД: 193351942470511 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24257&fm=193351942470511&tin=02508201610067®Number=0000000000098120&sum=15000 0 [11:57:59]StoreToDocumentArchive [11:57:59]shift 460 fd 24257 [11:57:59]save to /storage/0460/doc_00024257 [11:57:59]save last doc name /storage/0460/doc_00024257 to /storage/kkm_last_doc_name [11:57:59]save OK [11:57:59]Clear old archive folders... [11:57:59]ProcessDocumentItem done err = 0, tmpTLVsize=274 [11:57:59]tlvbuf is B6EEF140 [11:57:59]SAM_PROTO_ClearQueue [11:57:59]wFMCommunicate request_size=4 [11:57:59]MH_SAM_APDU [11:57:59]CAPDU: 80 09 00 00 [11:57:59]Write to MH i2c: E2 08 00 88 16 80 09 00 00 00 00 00 00 10 [11:57:59]Write i2c OK [11:57:59]MH_I2C_Read... [11:57:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:57:59]Read from MH i2c: E2 [11:57:59]MH_I2C_Read... [11:57:59]Read from MH i2c: E2 03 00 [11:57:59]MH_I2C_Read... [11:57:59]Read from MH i2c: E2 03 00 88 16 00 90 00 12 [11:57:59]RAPDU: 90 00 [11:57:59]wFMCommunicate OK [11:57:59]SAM_PROTO_ClearQueue done [11:57:59]KKMCreateOFDPacket [11:57:59]OFDProtocolAddRootSTLVToBuf [11:57:59]FM_MakeSignedData [11:57:59]FM_MakeSignedData [11:57:59]SAM_PROTO_SignData [11:57:59]wFMCommunicate request_size=4 [11:57:59]MH_SAM_APDU [11:57:59]CAPDU: 80 0D 01 02 [11:57:59]Write to MH i2c: E2 08 00 89 16 80 0D 01 02 00 00 00 00 18 [11:57:59]Write i2c OK [11:57:59]MH_I2C_Read... [11:57:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:57:59]Read from MH i2c: E2 [11:57:59]MH_I2C_Read... [11:57:59]Read from MH i2c: E2 03 00 [11:57:59]MH_I2C_Read... [11:57:59]Read from MH i2c: E2 03 00 89 16 00 90 00 13 [11:57:59]RAPDU: 90 00 [11:57:59]wFMCommunicate OK [11:57:59]wFMCommunicate request_size=255 [11:57:59]MH_SAM_APDU [11:57:59]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 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 1B 00 00 00 F4 03 04 00 4C F0 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 [11:57:59]Write to MH i2c: E2 02 01 8A 16 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 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 1B 00 00 00 F4 03 04 00 4C F0 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 00 00 4F [11:57:59]Write i2c OK [11:57:59]MH_I2C_Read... [11:58:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:00]Read from MH i2c: E2 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 03 00 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 03 00 8A 16 00 90 00 14 [11:58:00]RAPDU: 90 00 [11:58:00]wFMCommunicate OK [11:58:00]wFMCommunicate request_size=33 [11:58:00]MH_SAM_APDU [11:58:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C1 5E 00 00 35 04 06 00 AF DA 41 D8 FB 6F [11:58:00]Write to MH i2c: E2 24 00 8B 16 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C1 5E 00 00 35 04 06 00 AF DA 41 D8 FB 6F 00 00 CF [11:58:00]Write i2c OK [11:58:00]MH_I2C_Read... [11:58:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:58:00]Read from MH i2c: E2 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 03 00 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 03 00 8B 16 00 90 00 15 [11:58:00]RAPDU: 90 00 [11:58:00]wFMCommunicate OK [11:58:00]wFMCommunicate request_size=4 [11:58:00]MH_SAM_APDU [11:58:00]CAPDU: 80 0D 03 02 [11:58:00]Write to MH i2c: E2 08 00 8C 16 80 0D 03 02 00 00 00 00 1D [11:58:00]Write i2c OK [11:58:00]MH_I2C_Read... [11:58:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:58:00]Read from MH i2c: E2 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 0B 00 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 0B 00 8C 16 00 9D 61 98 91 CB 8A 42 CD 90 00 A9 [11:58:00]RAPDU: 9D 61 98 91 CB 8A 42 CD 90 00 [11:58:00]wFMCommunicate OK [11:58:00]SAM_PROTO_SignData done [11:58:00]FM_MakeSignedData done [11:58:00]CreateOFDProtocolMessage [11:58:00]wFMCommunicate request_size=4 [11:58:00]MH_SAM_APDU [11:58:00]CAPDU: 80 11 00 00 [11:58:00]Write to MH i2c: E2 08 00 8D 16 80 11 00 00 00 00 00 00 1D [11:58:00]Write i2c OK [11:58:00]MH_I2C_Read... [11:58:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:00]Read from MH i2c: E2 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 17 00 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: E2 17 00 8D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [11:58:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:58:00]wFMCommunicate OK [11:58:00]CreateOFDProtocolMessage done [11:58:00]OFDSenderStorePacket 24257 [11:58:00]StoreOFDPacket docnum=24257 [11:58:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 FA D6 1E 01 AC A2 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 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 1B 00 00 00 F4 03 04 00 4C F0 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C1 5E 00 00 35 04 06 00 AF DA 41 D8 FB 6F 9D 61 98 91 CB 8A 42 CD [11:58:00]CheckFolder [11:58:00]dirname=/storage/ofd_packets [11:58:00]CheckFolder done [11:58:00]ProducePacketName [11:58:00]name=ofd_packets/00024257 [11:58:00]NVStorageSaveData ofd_packets/00024257 [11:58:00]File name is /storage/ofd_packets/00024257 [11:58:00]Write 324 bytes [11:58:00]NVStorageSaveData done [11:58:00]OFDSenderStorePacket done [11:58:00]KKMCreateOFDPacket done [11:58:00]NVStorageSaveData kkm_last_timestamp [11:58:00]File name is /storage/kkm_last_timestamp [11:58:00]Write 4 bytes [11:58:00]NVStorageSaveData done [11:58:00]ExternCall_PrintAddStr [11:58:00]wPrintStart [11:58:00]Write to MH i2c: 01 00 00 8E 16 A4 [11:58:00]Write i2c OK [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: 01 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: 01 07 00 [11:58:00]MH_I2C_Read... [11:58:00]Read from MH i2c: 01 07 00 8E 16 00 00 00 00 00 FF 0F B9 [11:58:00]RasterBufferAndPrint [11:58:00]line Счет N : (3)134782 [11:58:00]line ИНН: 02508201610067 [11:58:00]line Контрольно-Кассовый Чек [11:58:00]line ПРОДАЖА [11:58:00]line Товар: 4640030091645 [11:58:00]line Сигареты ESSE Exchange M [11:58:00]line 1.000 * 150.00 [11:58:00]line = 150.00 [11:58:00]line НДС 12% НСП 1% [11:58:00]line > о реализуемом товаре [11:58:00]line ИТОГО: 150.00 [11:58:00]line НСП 1% : 1.33 [11:58:00]line НДС 12% : 15.93 [11:58:00]line Наличными: 150.00 [11:58:00]line Безнал.: 0.00 [11:58:00]line Место: АЗС № 85 "Партнер Нефть" [11:58:00]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:58:00]line СНО: Общий режим [11:58:00]line Чек 27 20.10.2024 11:58 [11:58:00]line Смена: 460 ФФД: 1.0 [11:58:00]line ЗНМ: 0300000166 [11:58:00]line РНМ: 0000000000098120 [11:58:00]line Версия ККМ: 001 [11:58:00]line ФМ: 0000000000965420 [11:58:00]line ФД: 24257 [11:58:00]line ФПД: 193351942470511 [11:58:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T115804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24257&fm=193351942470511&tin=02508201610067®Number=0000000000098120&sum=15000 [11:58:00]line 0 [11:58:00]OFD Sender: Processing packet 24257 [packets to send 5, broken 4] [11:58:00]ProducePacketName [11:58:00]name=ofd_packets/00024257 [11:58:00]OFD Sender: To server: pG, [11:58:00]CommunicateWithHost lk.salyk.kg:30040 [11:58:00]ConnectInit lk.salyk.kg [11:58:00]written 0, free lines is 4095 [11:58:00]Connected sock=10 [11:58:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 FA D6 1E 01 AC A2 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 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 1B 00 00 00 F4 03 04 00 4C F0 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C1 5E 00 00 35 04 06 00 AF DA 41 D8 FB 6F 9D 61 98 91 CB 8A 42 CD [11:58:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 E7 B7 47 00 B1 14 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C1 5E 00 00 F4 03 04 00 E4 9B 14 67 B6 04 01 00 00 82 75 1D 61 7F 9D E8 50 [11:58:01]CommunicateWithHost err = 0 [11:58:01]CheckOFDResponse [11:58:01]1017 (14) - 77093643461234 [11:58:01]1041 (16) - 0000000000965420 [11:58:01]1040 (4) - 24257 [11:58:01]1012 (4) - 20.10.2024 05:57 [11:58:01]1206 (1) - 0 [11:58:01]OFD Sender: Remove packet 24257 [11:58:01]ProducePacketName [11:58:01]name=ofd_packets/00024257 [11:58:01]NVStorageDeleteData [11:58:01]Write to MH i2c: 01 00 00 B6 16 CC [11:58:01]Write i2c OK [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: 01 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: 01 07 00 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: 01 07 00 B6 16 00 00 00 00 00 1E 0D FE [11:58:01]RasterBufferAndPrint [11:58:01]line [11:58:01]line [11:58:01]line [11:58:01]line [11:58:01]line [11:58:01]written 0, free lines is 3367 [11:58:01]process_action close_receipt done [11:58:01]requested_data is exist [11:58:01]produce_requested_data [11:58:01]requested_item fm.sn is exist - process it [11:58:01]wFMCommunicate request_size=4 [11:58:01]MH_SAM_APDU [11:58:01]CAPDU: 80 11 00 00 [11:58:01]Write to MH i2c: E2 08 00 BD 16 80 11 00 00 00 00 00 00 4D [11:58:01]Write i2c OK [11:58:01]MH_I2C_Read... [11:58:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:58:01]Read from MH i2c: E2 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 17 00 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 17 00 BD 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9A [11:58:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:58:01]wFMCommunicate OK [11:58:01]requested_item fd.num is exist - process it [11:58:01]SAM_PROTO_GetFieldsCounters [11:58:01]wFMCommunicate request_size=4 [11:58:01]MH_SAM_APDU [11:58:01]CAPDU: 80 13 00 00 [11:58:01]Write to MH i2c: E2 08 00 BE 16 80 13 00 00 00 00 00 00 50 [11:58:01]Write i2c OK [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 [11:58:01]MH_I2C_Read... [11:58:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:58:01]Read from MH i2c: E2 62 00 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 62 00 BE 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [11:58:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:58:01]wFMCommunicate OK [11:58:01]SAM_PROTO_GetFieldsCounters done [11:58:01]requested_item shift.num is exist - process it [11:58:01]requested_item shift.opened is exist - process it [11:58:01]req_shift_opened [11:58:01]FM_GetShiftState [11:58:01]SAM_PROTO_GetShiftState [11:58:01]wFMCommunicate request_size=4 [11:58:01]MH_SAM_APDU [11:58:01]CAPDU: 80 13 01 00 [11:58:01]Write to MH i2c: E2 08 00 BF 16 80 13 01 00 00 00 00 00 52 [11:58:01]Write i2c OK [11:58:01]MH_I2C_Read... [11:58:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:58:01]Read from MH i2c: E2 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 0E 00 [11:58:01]MH_I2C_Read... [11:58:01]Read from MH i2c: E2 0E 00 BF 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 73 [11:58:01]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [11:58:01]wFMCommunicate OK [11:58:01]SAM_PROTO_GetShiftState done [11:58:01]FM_GetShiftState done [11:58:01]req_shift_opened done [11:58:01]requested_item shift.open_date is exist - process it [11:58:01]req_shift_open_date [11:58:01]req_shift_open_date done [11:58:01]produce_requested_data done [11:58:01]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24257,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [11:58:01]process_action_free close_receipt [11:58:01]json_value_free [11:58:01]json_value_free done [11:58:01]process_json_proto returns [11:58:01]Send response to host [11:58:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24257,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [11:58:01]free response buf [11:58:01]execute_script done [11:58:01]execute_script returns [11:58:01]free content buf [11:58:01]Sock 9.Close socket [11:58:01]Sock 9.Thread stoped [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:51]OFD Sender: No OFD packet to send [12:01:56]OFD Sender: No OFD packet to send [12:02:01]OFD Sender: No OFD packet to send [12:02:06]OFD Sender: No OFD packet to send [12:02:11]OFD Sender: No OFD packet to send [12:02:16]OFD Sender: No OFD packet to send [12:02:21]OFD Sender: No OFD packet to send [12:02:26]OFD Sender: No OFD packet to send [12:02:31]OFD Sender: No OFD packet to send [12:02:36]OFD Sender: No OFD packet to send [12:02:41]OFD Sender: No OFD packet to send [12:02:46]OFD Sender: No OFD packet to send [12:02:51]OFD Sender: No OFD packet to send [12:02:56]OFD Sender: No OFD packet to send [12:03:01]OFD Sender: No OFD packet to send [12:03:06]OFD Sender: No OFD packet to send [12:03:11]OFD Sender: No OFD packet to send [12:03:16]OFD Sender: No OFD packet to send [12:03:21]OFD Sender: No OFD packet to send [12:03:26]OFD Sender: No OFD packet to send [12:03:31]OFD Sender: No OFD packet to send [12:03:36]OFD Sender: No OFD packet to send [12:03:41]OFD Sender: No OFD packet to send [12:03:46]OFD Sender: No OFD packet to send [12:03:51]OFD Sender: No OFD packet to send [12:03:56]OFD Sender: No OFD packet to send [12:04:01]OFD Sender: No OFD packet to send [12:04:06]OFD Sender: No OFD packet to send [12:04:11]OFD Sender: No OFD packet to send [12:04:16]OFD Sender: No OFD packet to send [12:04:21]OFD Sender: No OFD packet to send [12:04:26]OFD Sender: No OFD packet to send [12:04:31]OFD Sender: No OFD packet to send [12:04:36]OFD Sender: No OFD packet to send [12:04:41]OFD Sender: No OFD packet to send [12:04:46]OFD Sender: No OFD packet to send [12:04:51]OFD Sender: No OFD packet to send [12:04:56]OFD Sender: No OFD packet to send [12:05:01]OFD Sender: No OFD packet to send [12:05:06]OFD Sender: No OFD packet to send [12:05:11]OFD Sender: No OFD packet to send [12:05:16]OFD Sender: No OFD packet to send [12:05:21]OFD Sender: No OFD packet to send [12:05:26]OFD Sender: No OFD packet to send [12:05:31]OFD Sender: No OFD packet to send [12:05:36]OFD Sender: No OFD packet to send [12:05:41]OFD Sender: No OFD packet to send [12:05:46]OFD Sender: No OFD packet to send [12:05:51]OFD Sender: No OFD packet to send [12:05:56]OFD Sender: No OFD packet to send [12:06:01]OFD Sender: No OFD packet to send [12:06:06]OFD Sender: No OFD packet to send [12:06:11]OFD Sender: No OFD packet to send [12:06:16]OFD Sender: No OFD packet to send [12:06:21]OFD Sender: No OFD packet to send [12:06:26]OFD Sender: No OFD packet to send [12:06:31]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:41]OFD Sender: No OFD packet to send [12:06:46]OFD Sender: No OFD packet to send [12:06:51]OFD Sender: No OFD packet to send [12:06:56]OFD Sender: No OFD packet to send [12:07:01]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]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:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [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:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:22]OFD Sender: No OFD packet to send [12:17:27]OFD Sender: No OFD packet to send [12:17:32]OFD Sender: No OFD packet to send [12:17:37]OFD Sender: No OFD packet to send [12:17:42]OFD Sender: No OFD packet to send [12:17:47]OFD Sender: No OFD packet to send [12:17:52]OFD Sender: No OFD packet to send [12:17:57]OFD Sender: No OFD packet to send [12:18:02]OFD Sender: No OFD packet to send [12:18:07]OFD Sender: No OFD packet to send [12:18:12]OFD Sender: No OFD packet to send [12:18:17]OFD Sender: No OFD packet to send [12:18:22]OFD Sender: No OFD packet to send [12:18:27]OFD Sender: No OFD packet to send [12:18:32]OFD Sender: No OFD packet to send [12:18:37]OFD Sender: No OFD packet to send [12:18:42]OFD Sender: No OFD packet to send [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:02]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:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:34]accept exits with 7 [12:30:34]New connection [12:30:34]New thread 3067243876 created [12:30:34]Thread 3067100516 joined [12:30:34]Waiting for new connection... [12:30:34] Sock 7.Parse request [12:30:34]Sock 7.Check first char [12:30:34]Sock 7.First char is OK [12:30:34]request: POST /json_proto HTTP/1.0 [12:30:34]Method: POST [12:30:34]URL: /json_proto [12:30:34]Method is POST - this is cgi request [12:30:34]url: /json_proto [12:30:34]query_string will be loaded in cgi processing [12:30:34]execute_cgi json_proto POST (null) [12:30:34]execute_cgi path=json_proto method=POST [12:30:34]POST find Content-Length [12:30:34]Host: 172.17.50.4:8080 [12:30:34]Content-Length: 1219 [12:30:34]Content-Type: application/json [12:30:34] [12:30:34]POST finish read [12:30:34]Found Content-Length = 1219 [12:30:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134783", "tax_sys" : 0, "items" : [ { "code": "4870216764968", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Torquoise Selectio", "price" : 141.00, "quantity" : 2.000, "sum" : 282.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 648.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:34]execute_script... [12:30:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134783", "tax_sys" : 0, "items" : [ { "code": "4870216764968", "name": "\u041D\u0430\u0433\u0440.\u0422\u0430\u0431.\u041F\u0430\u043B\u043E\u0447. HEETS Torquoise Selectio", "price" : 141.00, "quantity" : 2.000, "sum" : 282.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 648.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:30:34]POST & json_proto [12:30:34]process_json_proto [12:30:34]json parsed OK: [12:30:34]protocol is kg_v1.0 [12:30:34]action value=close_receipt [12:30:34]process_action close_receipt [12:30:34]cmd_close_receipt [12:30:34]MH_GetDate [12:30:34]Write to MH i2c: F0 00 00 C0 16 C5 [12:30:34]Write i2c OK [12:30:34]MH_I2C_Read... [12:30:34]Read from MH i2c: F0 [12:30:34]MH_I2C_Read... [12:30:34]Read from MH i2c: F0 09 00 [12:30:34]MH_I2C_Read... [12:30:34]Read from MH i2c: F0 09 00 C0 16 00 EF F7 14 67 1D BB 13 67 81 [12:30:34]GetLastDocTimeStamp 1729425484 [12:30:34]current date 1729427439 [12:30:34]FM_GetShiftState [12:30:34]SAM_PROTO_GetShiftState [12:30:34]wFMCommunicate request_size=4 [12:30:34]MH_SAM_APDU [12:30:34]CAPDU: 80 13 01 00 [12:30:34]Write to MH i2c: E2 08 00 C1 16 80 13 01 00 00 00 00 00 54 [12:30:34]Write i2c OK [12:30:34]MH_I2C_Read... [12:30:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:34]Read from MH i2c: E2 [12:30:34]MH_I2C_Read... [12:30:34]Read from MH i2c: E2 0E 00 [12:30:34]MH_I2C_Read... [12:30:34]Read from MH i2c: E2 0E 00 C1 16 00 09 00 01 51 49 14 67 00 00 00 00 90 00 75 [12:30:34]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:30:34]wFMCommunicate OK [12:30:34]SAM_PROTO_GetShiftState done [12:30:34]FM_GetShiftState done [12:30:34]opened in 1729382737 [12:30:34]opened+sec_in_day 1729469137 [12:30:34]quantity*price = 28200 [12:30:34]sum+1 = 28201 [12:30:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6957531032045 Кабель hoco rapid charging X1 type-C 1м 1.000 * 271.00 = 271.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 648.00 НСП 1% : 5.74 НДС 12% : 68.82 Наличными: 648.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 28 20.10.2024 12:30 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24258 ФПД: 7912042719605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123039&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24258&fm=7912042719605&tin=02508201610067®Number=0000000000098120&sum=64800 0 [12:30:35]StoreToDocumentArchive [12:30:35]shift 460 fd 24258 [12:30:35]save to /storage/0460/doc_00024258 [12:30:35]save last doc name /storage/0460/doc_00024258 to /storage/kkm_last_doc_name [12:30:35]save OK [12:30:35]Clear old archive folders... [12:30:35]ProcessDocumentItem done err = 0, tmpTLVsize=541 [12:30:35]tlvbuf is B6F08AA0 [12:30:35]SAM_PROTO_ClearQueue [12:30:35]wFMCommunicate request_size=4 [12:30:35]MH_SAM_APDU [12:30:35]CAPDU: 80 09 00 00 [12:30:35]Write to MH i2c: E2 08 00 CE 16 80 09 00 00 00 00 00 00 56 [12:30:35]Write i2c OK [12:30:35]MH_I2C_Read... [12:30:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:30:35]Read from MH i2c: E2 [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 03 00 [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 03 00 CE 16 00 90 00 58 [12:30:35]RAPDU: 90 00 [12:30:35]wFMCommunicate OK [12:30:35]SAM_PROTO_ClearQueue done [12:30:35]KKMCreateOFDPacket [12:30:35]OFDProtocolAddRootSTLVToBuf [12:30:35]FM_MakeSignedData [12:30:35]FM_MakeSignedData [12:30:35]SAM_PROTO_SignData [12:30:35]wFMCommunicate request_size=4 [12:30:35]MH_SAM_APDU [12:30:35]CAPDU: 80 0D 01 02 [12:30:35]Write to MH i2c: E2 08 00 CF 16 80 0D 01 02 00 00 00 00 5E [12:30:35]Write i2c OK [12:30:35]MH_I2C_Read... [12:30:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:30:35]Read from MH i2c: E2 [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 03 00 [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 03 00 CF 16 00 90 00 59 [12:30:35]RAPDU: 90 00 [12:30:35]wFMCommunicate OK [12:30:35]wFMCommunicate request_size=255 [12:30:35]MH_SAM_APDU [12:30:35]CAPDU: 80 0D 02 02 FA 03 00 1D 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 34 39 36 38 06 04 34 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 54 6F 72 71 75 6F 69 73 65 20 53 65 6C 65 63 74 69 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 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 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [12:30:35]Write to MH i2c: E2 02 01 D0 16 80 0D 02 02 FA 00 03 00 1D 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 34 39 36 38 06 04 34 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 54 6F 72 71 75 6F 69 73 65 20 53 65 6C 65 63 74 69 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 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 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 45 [12:30:35]Write i2c OK [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 [12:30:35]MH_I2C_Read... [12:30:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:35]Read from MH i2c: E2 03 00 [12:30:35]MH_I2C_Read... [12:30:35]Read from MH i2c: E2 03 00 D0 16 00 90 00 5A [12:30:35]RAPDU: 90 00 [12:30:35]wFMCommunicate OK [12:30:35]wFMCommunicate request_size=255 [12:30:35]MH_SAM_APDU [12:30:35]CAPDU: 80 0D 02 02 FA 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 1A 00 00 00 00 07 04 06 00 20 FD 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 EF F7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [12:30:35]Write to MH i2c: E2 02 01 D1 16 80 0D 02 02 FA 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 1A 00 00 00 00 07 04 06 00 20 FD 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 EF F7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 B4 [12:30:35]Write i2c OK [12:30:35]MH_I2C_Read... [12:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:36]Read from MH i2c: E2 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 03 00 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 03 00 D1 16 00 90 00 5B [12:30:36]RAPDU: 90 00 [12:30:36]wFMCommunicate OK [12:30:36]wFMCommunicate request_size=50 [12:30:36]MH_SAM_APDU [12:30:36]CAPDU: 80 0D 02 02 2D 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C2 5E 00 00 35 04 06 00 07 32 2A 7E E9 75 [12:30:36]Write to MH i2c: E2 35 00 D2 16 80 0D 02 02 2D 00 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C2 5E 00 00 35 04 06 00 07 32 2A 7E E9 75 00 00 15 [12:30:36]Write i2c OK [12:30:36]MH_I2C_Read... [12:30:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:30:36]Read from MH i2c: E2 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 03 00 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 03 00 D2 16 00 90 00 5C [12:30:36]RAPDU: 90 00 [12:30:36]wFMCommunicate OK [12:30:36]wFMCommunicate request_size=4 [12:30:36]MH_SAM_APDU [12:30:36]CAPDU: 80 0D 03 02 [12:30:36]Write to MH i2c: E2 08 00 D3 16 80 0D 03 02 00 00 00 00 64 [12:30:36]Write i2c OK [12:30:36]MH_I2C_Read... [12:30:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:30:36]Read from MH i2c: E2 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 0B 00 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 0B 00 D3 16 00 B8 47 57 56 EE 18 99 CD 90 00 7D [12:30:36]RAPDU: B8 47 57 56 EE 18 99 CD 90 00 [12:30:36]wFMCommunicate OK [12:30:36]SAM_PROTO_SignData done [12:30:36]FM_MakeSignedData done [12:30:36]CreateOFDProtocolMessage [12:30:36]wFMCommunicate request_size=4 [12:30:36]MH_SAM_APDU [12:30:36]CAPDU: 80 11 00 00 [12:30:36]Write to MH i2c: E2 08 00 D4 16 80 11 00 00 00 00 00 00 64 [12:30:36]Write i2c OK [12:30:36]MH_I2C_Read... [12:30:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:36]Read from MH i2c: E2 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 17 00 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: E2 17 00 D4 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [12:30:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:30:36]wFMCommunicate OK [12:30:36]CreateOFDProtocolMessage done [12:30:36]OFDSenderStorePacket 24258 [12:30:36]StoreOFDPacket docnum=24258 [12:30:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 31 02 00 00 BE 13 29 02 52 51 5A 03 01 00 03 00 1D 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 34 39 36 38 06 04 34 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 54 6F 72 71 75 6F 69 73 65 20 53 65 6C 65 63 74 69 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 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 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 1A 00 00 00 00 07 04 06 00 20 FD 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 EF F7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C2 5E 00 00 35 04 06 00 07 32 2A 7E E9 75 B8 47 57 56 EE 18 99 CD [12:30:36]CheckFolder [12:30:36]dirname=/storage/ofd_packets [12:30:36]CheckFolder done [12:30:36]ProducePacketName [12:30:36]name=ofd_packets/00024258 [12:30:36]NVStorageSaveData ofd_packets/00024258 [12:30:36]File name is /storage/ofd_packets/00024258 [12:30:36]Write 591 bytes [12:30:36]NVStorageSaveData done [12:30:36]OFDSenderStorePacket done [12:30:36]KKMCreateOFDPacket done [12:30:36]NVStorageSaveData kkm_last_timestamp [12:30:36]File name is /storage/kkm_last_timestamp [12:30:36]Write 4 bytes [12:30:36]NVStorageSaveData done [12:30:36]ExternCall_PrintAddStr [12:30:36]wPrintStart [12:30:36]Write to MH i2c: 01 00 00 D5 16 EB [12:30:36]Write i2c OK [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: 01 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: 01 07 00 [12:30:36]MH_I2C_Read... [12:30:36]Read from MH i2c: 01 07 00 D5 16 00 00 00 00 00 FF 0F 00 [12:30:36]RasterBufferAndPrint [12:30:36]line Счет N : (3)134783 [12:30:36]line ИНН: 02508201610067 [12:30:36]line Контрольно-Кассовый Чек [12:30:36]line ПРОДАЖА [12:30:36]line Товар: 4870216764968 [12:30:36]line Нагр.Таб.Палоч. HEETS Torquoise Selectio [12:30:36]line 2.000 * 141.00 [12:30:36]line = 282.00 [12:30:36]line НДС 12% НСП 1% [12:30:36]line > о реализуемом товаре [12:30:36]line Товар: 6957531032045 [12:30:36]line Кабель hoco rapid charging X1 type-C 1м [12:30:36]OFD Sender: Processing packet 24258 [packets to send 5, broken 4] [12:30:36]ProducePacketName [12:30:36]name=ofd_packets/00024258 [12:30:36]OFD Sender: To server: pG, [12:30:36]CommunicateWithHost lk.salyk.kg:30040 [12:30:36]ConnectInit lk.salyk.kg [12:30:36]line 1.000 * 271.00 [12:30:36]line = 271.00 [12:30:36]line НДС 12% НСП 1% [12:30:36]line > о реализуемом товаре [12:30:36]line Товар: 4700000480364 [12:30:36]line Напиток энерг Nitro экзотик 0.45 ж/б [12:30:36]line 1.000 * 95.00 [12:30:36]line = 95.00 [12:30:36]line НДС 12% НСП 1% [12:30:36]line > о реализуемом товаре [12:30:36]line ИТОГО: 648.00 [12:30:36]line НСП 1% : 5.74 [12:30:36]line НДС 12% : 68.82 [12:30:36]line Наличными: 648.00 [12:30:36]line Безнал.: 0.00 [12:30:36]line Место: АЗС № 85 "Партнер Нефть" [12:30:36]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:30:36]line СНО: Общий режим [12:30:36]line Чек 28 20.10.2024 12:30 [12:30:36]line Смена: 460 ФФД: 1.0 [12:30:36]line ЗНМ: 0300000166 [12:30:36]line РНМ: 0000000000098120 [12:30:36]line Версия ККМ: 001 [12:30:36]line ФМ: 0000000000965420 [12:30:36]line ФД: 24258 [12:30:36]line ФПД: 7912042719605 [12:30:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123039&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24258&fm=7912042719605&tin=02508201610067®Number=0000000000098120&sum=64800 [12:30:36]line 0 [12:30:36]Connected sock=11 [12:30:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 31 02 00 00 BE 13 29 02 52 51 5A 03 01 00 03 00 1D 02 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 32 31 36 37 36 34 39 36 38 06 04 34 00 D0 9D D0 B0 D0 B3 D1 80 2E D0 A2 D0 B0 D0 B1 2E D0 9F D0 B0 D0 BB D0 BE D1 87 2E 20 48 45 45 54 53 20 54 6F 72 71 75 6F 69 73 65 20 53 65 6C 65 63 74 69 6F FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 14 37 00 00 00 00 13 04 06 00 28 6E 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 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 FD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 1A 00 00 00 00 07 04 06 00 20 FD 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 EF F7 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C2 5E 00 00 35 04 06 00 07 32 2A 7E E9 75 B8 47 57 56 EE 18 99 CD [12:30:36]written 0, free lines is 4095 [12:30:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 37 B9 47 00 A2 C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C2 5E 00 00 F4 03 04 00 88 A3 14 67 B6 04 01 00 00 38 94 D3 A4 73 2C B5 3D [12:30:36]CommunicateWithHost err = 0 [12:30:36]CheckOFDResponse [12:30:36]1017 (14) - 77093643461234 [12:30:36]1041 (16) - 0000000000965420 [12:30:36]1040 (4) - 24258 [12:30:36]1012 (4) - 20.10.2024 06:30 [12:30:36]1206 (1) - 0 [12:30:36]OFD Sender: Remove packet 24258 [12:30:36]ProducePacketName [12:30:36]name=ofd_packets/00024258 [12:30:36]NVStorageDeleteData [12:30:37]Write to MH i2c: 01 00 00 0C 17 23 [12:30:37]Write i2c OK [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: 01 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: 01 07 00 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: 01 07 00 0C 17 00 00 00 00 00 68 0C 9E [12:30:37]RasterBufferAndPrint [12:30:37]line [12:30:37]line [12:30:37]line [12:30:37]line [12:30:37]line [12:30:37]written 0, free lines is 3185 [12:30:37]process_action close_receipt done [12:30:37]requested_data is exist [12:30:37]produce_requested_data [12:30:37]requested_item fm.sn is exist - process it [12:30:37]wFMCommunicate request_size=4 [12:30:37]MH_SAM_APDU [12:30:37]CAPDU: 80 11 00 00 [12:30:37]Write to MH i2c: E2 08 00 13 17 80 11 00 00 00 00 00 00 A4 [12:30:37]Write i2c OK [12:30:37]MH_I2C_Read... [12:30:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:30:37]OFD Sender: No OFD packet to send [12:30:37]Read from MH i2c: E2 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 17 00 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 17 00 13 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F1 [12:30:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:30:37]wFMCommunicate OK [12:30:37]requested_item fd.num is exist - process it [12:30:37]SAM_PROTO_GetFieldsCounters [12:30:37]wFMCommunicate request_size=4 [12:30:37]MH_SAM_APDU [12:30:37]CAPDU: 80 13 00 00 [12:30:37]Write to MH i2c: E2 08 00 14 17 80 13 00 00 00 00 00 00 A7 [12:30:37]Write i2c OK [12:30:37]MH_I2C_Read... [12:30:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:30:37]Read from MH i2c: E2 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 62 00 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 62 00 14 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [12:30:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:30:37]wFMCommunicate OK [12:30:37]SAM_PROTO_GetFieldsCounters done [12:30:37]requested_item shift.num is exist - process it [12:30:37]requested_item shift.opened is exist - process it [12:30:37]req_shift_opened [12:30:37]FM_GetShiftState [12:30:37]SAM_PROTO_GetShiftState [12:30:37]wFMCommunicate request_size=4 [12:30:37]MH_SAM_APDU [12:30:37]CAPDU: 80 13 01 00 [12:30:37]Write to MH i2c: E2 08 00 15 17 80 13 01 00 00 00 00 00 A9 [12:30:37]Write i2c OK [12:30:37]MH_I2C_Read... [12:30:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:30:37]Read from MH i2c: E2 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 0E 00 [12:30:37]MH_I2C_Read... [12:30:37]Read from MH i2c: E2 0E 00 15 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 CA [12:30:37]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:30:37]wFMCommunicate OK [12:30:37]SAM_PROTO_GetShiftState done [12:30:37]FM_GetShiftState done [12:30:37]req_shift_opened done [12:30:37]requested_item shift.open_date is exist - process it [12:30:37]req_shift_open_date [12:30:37]req_shift_open_date done [12:30:37]produce_requested_data done [12:30:37]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24258,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:30:37]process_action_free close_receipt [12:30:37]json_value_free [12:30:37]json_value_free done [12:30:37]process_json_proto returns [12:30:37]Send response to host [12:30:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24258,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:30:37]free response buf [12:30:37]execute_script done [12:30:37]execute_script returns [12:30:37]free content buf [12:30:37]Sock 7.Close socket [12:30:37]Sock 7.Thread stoped [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:19]accept exits with 9 [12:31:19]New connection [12:31:19]New thread 3067100516 created [12:31:19]Thread 3067243876 joined [12:31:19]Waiting for new connection... [12:31:19] Sock 9.Parse request [12:31:19]Sock 9.Check first char [12:31:19]Sock 9.First char is OK [12:31:19]request: POST /json_proto HTTP/1.0 [12:31:19]Method: POST [12:31:19]URL: /json_proto [12:31:19]Method is POST - this is cgi request [12:31:19]url: /json_proto [12:31:19]query_string will be loaded in cgi processing [12:31:19]execute_cgi json_proto POST (null) [12:31:19]execute_cgi path=json_proto method=POST [12:31:19]POST find Content-Length [12:31:19]Host: 172.17.50.4:8080 [12:31:19]Content-Length: 916 [12:31:19]Content-Type: application/json [12:31:19] [12:31:19]POST finish read [12:31:19]Found Content-Length = 916 [12:31:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134784", "tax_sys" : 0, "items" : [ { "code": "4700002082504", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:19]execute_script... [12:31: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)134784", "tax_sys" : 0, "items" : [ { "code": "4700002082504", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:19]POST & json_proto [12:31:19]process_json_proto [12:31:19]json parsed OK: [12:31:19]protocol is kg_v1.0 [12:31:19]action value=close_receipt [12:31:19]process_action close_receipt [12:31:19]cmd_close_receipt [12:31:19]MH_GetDate [12:31:19]Write to MH i2c: F0 00 00 16 17 1C [12:31:19]Write i2c OK [12:31:19]MH_I2C_Read... [12:31:19]Read from MH i2c: F0 [12:31:19]MH_I2C_Read... [12:31:19]Read from MH i2c: F0 09 00 [12:31:19]MH_I2C_Read... [12:31:19]Read from MH i2c: F0 09 00 16 17 00 1D F8 14 67 1D BB 13 67 07 [12:31:19]GetLastDocTimeStamp 1729427439 [12:31:19]current date 1729427485 [12:31:19]FM_GetShiftState [12:31:19]SAM_PROTO_GetShiftState [12:31:19]wFMCommunicate request_size=4 [12:31:19]MH_SAM_APDU [12:31:19]CAPDU: 80 13 01 00 [12:31:19]Write to MH i2c: E2 08 00 17 17 80 13 01 00 00 00 00 00 AB [12:31:19]Write i2c OK [12:31:19]MH_I2C_Read... [12:31:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:19]Read from MH i2c: E2 [12:31:19]MH_I2C_Read... [12:31:19]Read from MH i2c: E2 0E 00 [12:31:19]MH_I2C_Read... [12:31:19]Read from MH i2c: E2 0E 00 17 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 CC [12:31:19]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:31:19]wFMCommunicate OK [12:31:19]SAM_PROTO_GetShiftState done [12:31:19]FM_GetShiftState done [12:31:19]opened in 1729382737 [12:31:19]opened+sec_in_day 1729469137 [12:31:19]quantity*price = 20000 [12:31:19]sum+1 = 20001 [12:31:19]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700025313937 ВОДКА МЯГКАЯ 0,1л 1.000 * 60.00 = 60.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 29 20.10.2024 12:31 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24259 ФПД: 231074972660838 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123125&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24259&fm=231074972660838&tin=02508201610067®Number=0000000000098120&sum=26000 0 [12:31:20]StoreToDocumentArchive [12:31:20]shift 460 fd 24259 [12:31:20]save to /storage/0460/doc_00024259 [12:31:20]save last doc name /storage/0460/doc_00024259 to /storage/kkm_last_doc_name [12:31:20]save OK [12:31:20]Clear old archive folders... [12:31:20]ProcessDocumentItem done err = 0, tmpTLVsize=384 [12:31:20]tlvbuf is B6F082C0 [12:31:20]SAM_PROTO_ClearQueue [12:31:20]wFMCommunicate request_size=4 [12:31:20]MH_SAM_APDU [12:31:20]CAPDU: 80 09 00 00 [12:31:20]Write to MH i2c: E2 08 00 24 17 80 09 00 00 00 00 00 00 AD [12:31:20]Write i2c OK [12:31:20]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 24 17 00 90 00 AF [12:31:21]RAPDU: 90 00 [12:31:21]wFMCommunicate OK [12:31:21]SAM_PROTO_ClearQueue done [12:31:21]KKMCreateOFDPacket [12:31:21]OFDProtocolAddRootSTLVToBuf [12:31:21]FM_MakeSignedData [12:31:21]FM_MakeSignedData [12:31:21]SAM_PROTO_SignData [12:31:21]wFMCommunicate request_size=4 [12:31:21]MH_SAM_APDU [12:31:21]CAPDU: 80 0D 01 02 [12:31:21]Write to MH i2c: E2 08 00 25 17 80 0D 01 02 00 00 00 00 B5 [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 25 17 00 90 00 B0 [12:31:21]RAPDU: 90 00 [12:31:21]wFMCommunicate OK [12:31:21]wFMCommunicate request_size=255 [12:31:21]MH_SAM_APDU [12:31:21]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [12:31:21]Write to MH i2c: E2 02 01 26 17 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 DF [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 26 17 00 90 00 B1 [12:31:21]RAPDU: 90 00 [12:31:21]wFMCommunicate OK [12:31:21]wFMCommunicate request_size=143 [12:31:21]MH_SAM_APDU [12:31:21]CAPDU: 80 0D 02 02 8A E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 1D F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C3 5E 00 00 35 04 06 00 D2 29 55 A9 74 66 [12:31:21]Write to MH i2c: E2 92 00 27 17 80 0D 02 02 8A 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 1D F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C3 5E 00 00 35 04 06 00 D2 29 55 A9 74 66 00 00 0A [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 03 00 27 17 00 90 00 B2 [12:31:21]RAPDU: 90 00 [12:31:21]wFMCommunicate OK [12:31:21]wFMCommunicate request_size=4 [12:31:21]MH_SAM_APDU [12:31:21]CAPDU: 80 0D 03 02 [12:31:21]Write to MH i2c: E2 08 00 28 17 80 0D 03 02 00 00 00 00 BA [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 0B 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 0B 00 28 17 00 56 3E 98 1E 2B 4A C7 CE 90 00 0F [12:31:21]RAPDU: 56 3E 98 1E 2B 4A C7 CE 90 00 [12:31:21]wFMCommunicate OK [12:31:21]SAM_PROTO_SignData done [12:31:21]FM_MakeSignedData done [12:31:21]CreateOFDProtocolMessage [12:31:21]wFMCommunicate request_size=4 [12:31:21]MH_SAM_APDU [12:31:21]CAPDU: 80 11 00 00 [12:31:21]Write to MH i2c: E2 08 00 29 17 80 11 00 00 00 00 00 00 BA [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:21]Read from MH i2c: E2 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 17 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: E2 17 00 29 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 07 [12:31:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:31:21]wFMCommunicate OK [12:31:21]CreateOFDProtocolMessage done [12:31:21]OFDSenderStorePacket 24259 [12:31:21]StoreOFDPacket docnum=24259 [12:31:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 94 01 00 00 71 9B 8C 01 73 D0 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 1D F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C3 5E 00 00 35 04 06 00 D2 29 55 A9 74 66 56 3E 98 1E 2B 4A C7 CE [12:31:21]CheckFolder [12:31:21]dirname=/storage/ofd_packets [12:31:21]CheckFolder done [12:31:21]ProducePacketName [12:31:21]name=ofd_packets/00024259 [12:31:21]NVStorageSaveData ofd_packets/00024259 [12:31:21]File name is /storage/ofd_packets/00024259 [12:31:21]Write 434 bytes [12:31:21]NVStorageSaveData done [12:31:21]OFDSenderStorePacket done [12:31:21]KKMCreateOFDPacket done [12:31:21]NVStorageSaveData kkm_last_timestamp [12:31:21]File name is /storage/kkm_last_timestamp [12:31:21]Write 4 bytes [12:31:21]NVStorageSaveData done [12:31:21]ExternCall_PrintAddStr [12:31:21]wPrintStart [12:31:21]Write to MH i2c: 01 00 00 2A 17 41 [12:31:21]Write i2c OK [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: 01 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: 01 07 00 [12:31:21]MH_I2C_Read... [12:31:21]Read from MH i2c: 01 07 00 2A 17 00 00 00 00 00 FF 0F 56 [12:31:21]RasterBufferAndPrint [12:31:21]line Счет N : (3)134784 [12:31:21]line ИНН: 02508201610067 [12:31:21]line Контрольно-Кассовый Чек [12:31:21]line ПРОДАЖА [12:31:21]line Товар: 4700002082504 [12:31:21]line Водка Белое золото 0,24л [12:31:21]line 1.000 * 200.00 [12:31:21]line = 200.00 [12:31:21]line НДС 12% НСП 1% [12:31:21]line > о реализуемом товаре [12:31:21]line Товар: 4700025313937 [12:31:21]line ВОДКА МЯГКАЯ 0,1л [12:31:21]line 1.000 * 60.00 [12:31:21]line = 60.00 [12:31:21]line НДС 12% НСП 1% [12:31:21]line > о реализуемом товаре [12:31:21]line ИТОГО: 260.00 [12:31:21]line НСП 1% : 2.30 [12:31:21]line НДС 12% : 27.61 [12:31:21]line Наличными: 260.00 [12:31:21]line Безнал.: 0.00 [12:31:21]line Место: АЗС № 85 "Партнер Нефть" [12:31:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:31:21]line СНО: Общий режим [12:31:21]line Чек 29 20.10.2024 12:31 [12:31:21]line Смена: 460 ФФД: 1.0 [12:31:21]line ЗНМ: 0300000166 [12:31:21]line РНМ: 0000000000098120 [12:31:21]line Версия ККМ: 001 [12:31:21]line ФМ: 0000000000965420 [12:31:21]line ФД: 24259 [12:31:21]line ФПД: 231074972660838 [12:31:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123125&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24259&fm=231074972660838&tin=02508201610067®Number=0000000000098120&sum=26000 [12:31:21]line 0 [12:31:21]OFD Sender: Processing packet 24259 [packets to send 5, broken 4] [12:31:21]ProducePacketName [12:31:21]name=ofd_packets/00024259 [12:31:21]OFD Sender: To server: pG, [12:31:21]CommunicateWithHost lk.salyk.kg:30040 [12:31:21]ConnectInit lk.salyk.kg [12:31:21]written 0, free lines is 4095 [12:31:22]Connected sock=10 [12:31:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 94 01 00 00 71 9B 8C 01 73 D0 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 35 30 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 90 65 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 0A 00 00 00 00 07 04 06 00 90 65 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 1D F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C3 5E 00 00 35 04 06 00 D2 29 55 A9 74 66 56 3E 98 1E 2B 4A C7 CE [12:31:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 95 D2 47 00 BE 58 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C3 5E 00 00 F4 03 04 00 B5 A3 14 67 B6 04 01 00 00 FE 91 FF 30 9B 0A 02 AA [12:31:22]CommunicateWithHost err = 0 [12:31:22]CheckOFDResponse [12:31:22]1017 (14) - 77093643461234 [12:31:22]1041 (16) - 0000000000965420 [12:31:22]1040 (4) - 24259 [12:31:22]1012 (4) - 20.10.2024 06:31 [12:31:22]1206 (1) - 0 [12:31:22]OFD Sender: Remove packet 24259 [12:31:22]ProducePacketName [12:31:22]name=ofd_packets/00024259 [12:31:22]NVStorageDeleteData [12:31:22]Write to MH i2c: 01 00 00 58 17 6F [12:31:22]Write i2c OK [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: 01 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: 01 07 00 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: 01 07 00 58 17 00 00 00 00 00 F7 0C 79 [12:31:22]RasterBufferAndPrint [12:31:22]line [12:31:22]line [12:31:22]line [12:31:22]line [12:31:22]line [12:31:22]written 0, free lines is 3328 [12:31:22]process_action close_receipt done [12:31:22]requested_data is exist [12:31:22]produce_requested_data [12:31:22]requested_item fm.sn is exist - process it [12:31:22]wFMCommunicate request_size=4 [12:31:22]MH_SAM_APDU [12:31:22]CAPDU: 80 11 00 00 [12:31:22]Write to MH i2c: E2 08 00 5F 17 80 11 00 00 00 00 00 00 F0 [12:31:22]Write i2c OK [12:31:22]MH_I2C_Read... [12:31:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:22]Read from MH i2c: E2 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 17 00 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 17 00 5F 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3D [12:31:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:31:22]wFMCommunicate OK [12:31:22]requested_item fd.num is exist - process it [12:31:22]SAM_PROTO_GetFieldsCounters [12:31:22]wFMCommunicate request_size=4 [12:31:22]MH_SAM_APDU [12:31:22]CAPDU: 80 13 00 00 [12:31:22]Write to MH i2c: E2 08 00 60 17 80 13 00 00 00 00 00 00 F3 [12:31:22]Write i2c OK [12:31:22]MH_I2C_Read... [12:31:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:22]Read from MH i2c: E2 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 62 00 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 62 00 60 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 4E [12:31:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:31:22]wFMCommunicate OK [12:31:22]SAM_PROTO_GetFieldsCounters done [12:31:22]requested_item shift.num is exist - process it [12:31:22]requested_item shift.opened is exist - process it [12:31:22]req_shift_opened [12:31:22]FM_GetShiftState [12:31:22]SAM_PROTO_GetShiftState [12:31:22]wFMCommunicate request_size=4 [12:31:22]MH_SAM_APDU [12:31:22]CAPDU: 80 13 01 00 [12:31:22]Write to MH i2c: E2 08 00 61 17 80 13 01 00 00 00 00 00 F5 [12:31:22]Write i2c OK [12:31:22]MH_I2C_Read... [12:31:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:22]Read from MH i2c: E2 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 0E 00 [12:31:22]MH_I2C_Read... [12:31:22]Read from MH i2c: E2 0E 00 61 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 16 [12:31:22]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:31:22]wFMCommunicate OK [12:31:22]SAM_PROTO_GetShiftState done [12:31:22]FM_GetShiftState done [12:31:22]req_shift_opened done [12:31:22]requested_item shift.open_date is exist - process it [12:31:22]req_shift_open_date [12:31:22]req_shift_open_date done [12:31:22]produce_requested_data done [12:31:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24259,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:31:22]process_action_free close_receipt [12:31:22]json_value_free [12:31:22]json_value_free done [12:31:22]process_json_proto returns [12:31:22]Send response to host [12:31:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24259,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:31:22]free response buf [12:31:22]execute_script done [12:31:22]execute_script returns [12:31:22]free content buf [12:31:22]Sock 9.Close socket [12:31:22]Sock 9.Thread stoped [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:43]accept exits with 7 [12:31:43]New connection [12:31:43]New thread 3067243876 created [12:31:43]Thread 3067100516 joined [12:31:43]Waiting for new connection... [12:31:43] Sock 7.Parse request [12:31:43]Sock 7.Check first char [12:31:43]Sock 7.First char is OK [12:31:43]request: POST /json_proto HTTP/1.0 [12:31:43]Method: POST [12:31:43]URL: /json_proto [12:31:43]Method is POST - this is cgi request [12:31:43]url: /json_proto [12:31:43]query_string will be loaded in cgi processing [12:31:43]execute_cgi json_proto POST (null) [12:31:43]execute_cgi path=json_proto method=POST [12:31:43]POST find Content-Length [12:31:43]Host: 172.17.50.4:8080 [12:31:43]Content-Length: 646 [12:31:43]Content-Type: application/json [12:31:43] [12:31:43]POST finish read [12:31:43]Found Content-Length = 646 [12:31:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134785", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:43]execute_script... [12:31: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)134785", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 30.00, "quantity" : 1.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:31:43]POST & json_proto [12:31:43]process_json_proto [12:31:43]json parsed OK: [12:31:43]protocol is kg_v1.0 [12:31:43]action value=close_receipt [12:31:43]process_action close_receipt [12:31:43]cmd_close_receipt [12:31:43]MH_GetDate [12:31:43]Write to MH i2c: F0 00 00 62 17 68 [12:31:43]Write i2c OK [12:31:43]MH_I2C_Read... [12:31:43]Read from MH i2c: F0 [12:31:43]MH_I2C_Read... [12:31:43]Read from MH i2c: F0 09 00 [12:31:43]MH_I2C_Read... [12:31:43]Read from MH i2c: F0 09 00 62 17 00 35 F8 14 67 1D BB 13 67 6B [12:31:43]GetLastDocTimeStamp 1729427485 [12:31:43]current date 1729427509 [12:31:43]FM_GetShiftState [12:31:43]SAM_PROTO_GetShiftState [12:31:43]wFMCommunicate request_size=4 [12:31:43]MH_SAM_APDU [12:31:43]CAPDU: 80 13 01 00 [12:31:43]Write to MH i2c: E2 08 00 63 17 80 13 01 00 00 00 00 00 F7 [12:31:43]Write i2c OK [12:31:43]MH_I2C_Read... [12:31:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:43]Read from MH i2c: E2 [12:31:43]MH_I2C_Read... [12:31:43]Read from MH i2c: E2 0E 00 [12:31:43]MH_I2C_Read... [12:31:43]Read from MH i2c: E2 0E 00 63 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 18 [12:31:43]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:31:43]wFMCommunicate OK [12:31:43]SAM_PROTO_GetShiftState done [12:31:43]FM_GetShiftState done [12:31:43]opened in 1729382737 [12:31:43]opened+sec_in_day 1729469137 [12:31:43]quantity*price = 3000 [12:31:43]sum+1 = 3001 [12:31:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 30 20.10.2024 12:31 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24260 ФПД: 213721992594354 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123149&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24260&fm=213721992594354&tin=02508201610067®Number=0000000000098120&sum=3000 0 [12:31:44]StoreToDocumentArchive [12:31:44]shift 460 fd 24260 [12:31:44]save to /storage/0460/doc_00024260 [12:31:44]save last doc name /storage/0460/doc_00024260 to /storage/kkm_last_doc_name [12:31:44]save OK [12:31:44]Clear old archive folders... [12:31:44]ProcessDocumentItem done err = 0, tmpTLVsize=277 [12:31:44]tlvbuf is B6EEFAF0 [12:31:44]SAM_PROTO_ClearQueue [12:31:44]wFMCommunicate request_size=4 [12:31:44]MH_SAM_APDU [12:31:44]CAPDU: 80 09 00 00 [12:31:44]Write to MH i2c: E2 08 00 70 17 80 09 00 00 00 00 00 00 F9 [12:31:44]Write i2c OK [12:31:44]MH_I2C_Read... [12:31:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:31:44]Read from MH i2c: E2 [12:31:44]MH_I2C_Read... [12:31:44]Read from MH i2c: E2 03 00 [12:31:44]MH_I2C_Read... [12:31:44]Read from MH i2c: E2 03 00 70 17 00 90 00 FB [12:31:44]RAPDU: 90 00 [12:31:44]wFMCommunicate OK [12:31:44]SAM_PROTO_ClearQueue done [12:31:44]KKMCreateOFDPacket [12:31:44]OFDProtocolAddRootSTLVToBuf [12:31:44]FM_MakeSignedData [12:31:44]FM_MakeSignedData [12:31:44]SAM_PROTO_SignData [12:31:44]wFMCommunicate request_size=4 [12:31:44]MH_SAM_APDU [12:31:44]CAPDU: 80 0D 01 02 [12:31:44]Write to MH i2c: E2 08 00 71 17 80 0D 01 02 00 00 00 00 01 [12:31:44]Write i2c OK [12:31:44]MH_I2C_Read... [12:31:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:31:45]Read from MH i2c: E2 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 71 17 00 90 00 FC [12:31:45]RAPDU: 90 00 [12:31:45]wFMCommunicate OK [12:31:45]wFMCommunicate request_size=255 [12:31:45]MH_SAM_APDU [12:31:45]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 35 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 [12:31:45]Write to MH i2c: E2 02 01 72 17 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 35 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 00 00 6B [12:31:45]Write i2c OK [12:31:45]MH_I2C_Read... [12:31:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:45]Read from MH i2c: E2 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 72 17 00 90 00 FD [12:31:45]RAPDU: 90 00 [12:31:45]wFMCommunicate OK [12:31:45]wFMCommunicate request_size=36 [12:31:45]MH_SAM_APDU [12:31:45]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C4 5E 00 00 35 04 06 00 C2 61 07 73 03 B2 [12:31:45]Write to MH i2c: E2 27 00 73 17 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C4 5E 00 00 35 04 06 00 C2 61 07 73 03 B2 00 00 97 [12:31:45]Write i2c OK [12:31:45]MH_I2C_Read... [12:31:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:31:45]Read from MH i2c: E2 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 03 00 73 17 00 90 00 FE [12:31:45]RAPDU: 90 00 [12:31:45]wFMCommunicate OK [12:31:45]wFMCommunicate request_size=4 [12:31:45]MH_SAM_APDU [12:31:45]CAPDU: 80 0D 03 02 [12:31:45]Write to MH i2c: E2 08 00 74 17 80 0D 03 02 00 00 00 00 06 [12:31:45]Write i2c OK [12:31:45]MH_I2C_Read... [12:31:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:31:45]Read from MH i2c: E2 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 0B 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 0B 00 74 17 00 81 4D 32 F0 92 86 8B 63 90 00 FD [12:31:45]RAPDU: 81 4D 32 F0 92 86 8B 63 90 00 [12:31:45]wFMCommunicate OK [12:31:45]SAM_PROTO_SignData done [12:31:45]FM_MakeSignedData done [12:31:45]CreateOFDProtocolMessage [12:31:45]wFMCommunicate request_size=4 [12:31:45]MH_SAM_APDU [12:31:45]CAPDU: 80 11 00 00 [12:31:45]Write to MH i2c: E2 08 00 75 17 80 11 00 00 00 00 00 00 06 [12:31:45]Write i2c OK [12:31:45]MH_I2C_Read... [12:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:45]Read from MH i2c: E2 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 17 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: E2 17 00 75 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 53 [12:31:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:31:45]wFMCommunicate OK [12:31:45]CreateOFDProtocolMessage done [12:31:45]OFDSenderStorePacket 24260 [12:31:45]StoreOFDPacket docnum=24260 [12:31:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 29 01 00 00 3A 6B 21 01 18 69 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 35 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C4 5E 00 00 35 04 06 00 C2 61 07 73 03 B2 81 4D 32 F0 92 86 8B 63 [12:31:45]CheckFolder [12:31:45]dirname=/storage/ofd_packets [12:31:45]CheckFolder done [12:31:45]ProducePacketName [12:31:45]name=ofd_packets/00024260 [12:31:45]NVStorageSaveData ofd_packets/00024260 [12:31:45]File name is /storage/ofd_packets/00024260 [12:31:45]Write 327 bytes [12:31:45]NVStorageSaveData done [12:31:45]OFDSenderStorePacket done [12:31:45]KKMCreateOFDPacket done [12:31:45]NVStorageSaveData kkm_last_timestamp [12:31:45]File name is /storage/kkm_last_timestamp [12:31:45]Write 4 bytes [12:31:45]NVStorageSaveData done [12:31:45]ExternCall_PrintAddStr [12:31:45]wPrintStart [12:31:45]Write to MH i2c: 01 00 00 76 17 8D [12:31:45]Write i2c OK [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: 01 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: 01 07 00 [12:31:45]MH_I2C_Read... [12:31:45]Read from MH i2c: 01 07 00 76 17 00 00 00 00 00 FF 0F A2 [12:31:45]RasterBufferAndPrint [12:31:45]line Счет N : (3)134785 [12:31:45]line ИНН: 02508201610067 [12:31:45]line Контрольно-Кассовый Чек [12:31:45]line ПРОДАЖА [12:31:45]line Товар: 4700000310173 [12:31:45]line Вода Адыгене 0,5л б/г [12:31:45]line 1.000 * 30.00 [12:31:45]line = 30.00 [12:31:45]line НДС 12% НСП 1% [12:31:45]line > о реализуемом товаре [12:31:45]line ИТОГО: 30.00 [12:31:45]line НСП 1% : 0.26 [12:31:45]line НДС 12% : 3.19 [12:31:45]line Наличными: 30.00 [12:31:45]line Безнал.: 0.00 [12:31:45]line Место: АЗС № 85 "Партнер Нефть" [12:31:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:31:45]line СНО: Общий режим [12:31:45]line Чек 30 20.10.2024 12:31 [12:31:45]line Смена: 460 ФФД: 1.0 [12:31:45]line ЗНМ: 0300000166 [12:31:45]line РНМ: 0000000000098120 [12:31:45]line Версия ККМ: 001 [12:31:45]line ФМ: 0000000000965420 [12:31:45]line ФД: 24260 [12:31:45]line ФПД: 213721992594354 [12:31:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123149&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24260&fm=213721992594354&tin=02508201610067®Number=0000000000098120&sum=3000 [12:31:45]line 0 [12:31:45]OFD Sender: Processing packet 24260 [packets to send 5, broken 4] [12:31:45]ProducePacketName [12:31:45]name=ofd_packets/00024260 [12:31:45]OFD Sender: To server: pG, [12:31:45]CommunicateWithHost lk.salyk.kg:30040 [12:31:45]ConnectInit lk.salyk.kg [12:31:45]written 0, free lines is 4095 [12:31:45]Connected sock=10 [12:31:45]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 29 01 00 00 3A 6B 21 01 18 69 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 0B 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 35 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C4 5E 00 00 35 04 06 00 C2 61 07 73 03 B2 81 4D 32 F0 92 86 8B 63 [12:31:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 E1 27 47 00 98 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C4 5E 00 00 F4 03 04 00 CD A3 14 67 B6 04 01 00 00 A6 FD C5 9B DC 33 01 BB [12:31:46]CommunicateWithHost err = 0 [12:31:46]CheckOFDResponse [12:31:46]1017 (14) - 77093643461234 [12:31:46]1041 (16) - 0000000000965420 [12:31:46]1040 (4) - 24260 [12:31:46]1012 (4) - 20.10.2024 06:31 [12:31:46]1206 (1) - 0 [12:31:46]OFD Sender: Remove packet 24260 [12:31:46]ProducePacketName [12:31:46]name=ofd_packets/00024260 [12:31:46]NVStorageDeleteData [12:31:46]Write to MH i2c: 01 00 00 9E 17 B5 [12:31:46]Write i2c OK [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: 01 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: 01 07 00 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: 01 07 00 9E 17 00 00 00 00 00 23 0D EC [12:31:46]RasterBufferAndPrint [12:31:46]line [12:31:46]line [12:31:46]line [12:31:46]line [12:31:46]line [12:31:46]written 0, free lines is 3369 [12:31:46]process_action close_receipt done [12:31:46]requested_data is exist [12:31:46]produce_requested_data [12:31:46]requested_item fm.sn is exist - process it [12:31:46]wFMCommunicate request_size=4 [12:31:46]MH_SAM_APDU [12:31:46]CAPDU: 80 11 00 00 [12:31:46]Write to MH i2c: E2 08 00 A5 17 80 11 00 00 00 00 00 00 36 [12:31:46]Write i2c OK [12:31:46]MH_I2C_Read... [12:31:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:31:46]Read from MH i2c: E2 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 17 00 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 17 00 A5 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 83 [12:31:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:31:46]wFMCommunicate OK [12:31:46]requested_item fd.num is exist - process it [12:31:46]SAM_PROTO_GetFieldsCounters [12:31:46]wFMCommunicate request_size=4 [12:31:46]MH_SAM_APDU [12:31:46]CAPDU: 80 13 00 00 [12:31:46]Write to MH i2c: E2 08 00 A6 17 80 13 00 00 00 00 00 00 39 [12:31:46]Write i2c OK [12:31:46]MH_I2C_Read... [12:31:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:31:46]Read from MH i2c: E2 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 62 00 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 62 00 A6 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 98 [12:31:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:31:46]wFMCommunicate OK [12:31:46]SAM_PROTO_GetFieldsCounters done [12:31:46]requested_item shift.num is exist - process it [12:31:46]requested_item shift.opened is exist - process it [12:31:46]req_shift_opened [12:31:46]FM_GetShiftState [12:31:46]SAM_PROTO_GetShiftState [12:31:46]wFMCommunicate request_size=4 [12:31:46]MH_SAM_APDU [12:31:46]CAPDU: 80 13 01 00 [12:31:46]Write to MH i2c: E2 08 00 A7 17 80 13 01 00 00 00 00 00 3B [12:31:46]Write i2c OK [12:31:46]MH_I2C_Read... [12:31:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:31:46]Read from MH i2c: E2 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 0E 00 [12:31:46]MH_I2C_Read... [12:31:46]Read from MH i2c: E2 0E 00 A7 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 5C [12:31:46]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:31:46]wFMCommunicate OK [12:31:46]SAM_PROTO_GetShiftState done [12:31:46]FM_GetShiftState done [12:31:46]req_shift_opened done [12:31:46]requested_item shift.open_date is exist - process it [12:31:46]req_shift_open_date [12:31:46]req_shift_open_date done [12:31:46]produce_requested_data done [12:31:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24260,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:31:46]process_action_free close_receipt [12:31:46]json_value_free [12:31:46]json_value_free done [12:31:46]process_json_proto returns [12:31:46]Send response to host [12:31:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24260,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:31:46]free response buf [12:31:46]execute_script done [12:31:46]execute_script returns [12:31:46]free content buf [12:31:46]Sock 7.Close socket [12:31:46]Sock 7.Thread stoped [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:08]accept exits with 9 [12:32:08]New connection [12:32:08]New thread 3067100516 created [12:32:08]Thread 3067243876 joined [12:32:08]Waiting for new connection... [12:32:08] Sock 9.Parse request [12:32:08]Sock 9.Check first char [12:32:08]Sock 9.First char is OK [12:32:08]request: POST /json_proto HTTP/1.0 [12:32:08]Method: POST [12:32:08]URL: /json_proto [12:32:08]Method is POST - this is cgi request [12:32:08]url: /json_proto [12:32:08]query_string will be loaded in cgi processing [12:32:08]execute_cgi json_proto POST (null) [12:32:08]execute_cgi path=json_proto method=POST [12:32:08]POST find Content-Length [12:32:08]Host: 172.17.50.4:8080 [12:32:08]Content-Length: 642 [12:32:08]Content-Type: application/json [12:32:08] [12:32:08]POST finish read [12:32:08]Found Content-Length = 642 [12:32:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134786", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:08]execute_script... [12:32: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)134786", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:32:08]POST & json_proto [12:32:08]process_json_proto [12:32:08]json parsed OK: [12:32:08]protocol is kg_v1.0 [12:32:08]action value=close_receipt [12:32:08]process_action close_receipt [12:32:08]cmd_close_receipt [12:32:08]MH_GetDate [12:32:08]Write to MH i2c: F0 00 00 A8 17 AE [12:32:08]Write i2c OK [12:32:08]MH_I2C_Read... [12:32:08]Read from MH i2c: F0 [12:32:08]MH_I2C_Read... [12:32:08]Read from MH i2c: F0 09 00 [12:32:08]MH_I2C_Read... [12:32:08]Read from MH i2c: F0 09 00 A8 17 00 4E F8 14 67 1D BB 13 67 CA [12:32:08]GetLastDocTimeStamp 1729427509 [12:32:08]current date 1729427534 [12:32:08]FM_GetShiftState [12:32:08]SAM_PROTO_GetShiftState [12:32:08]wFMCommunicate request_size=4 [12:32:08]MH_SAM_APDU [12:32:08]CAPDU: 80 13 01 00 [12:32:08]Write to MH i2c: E2 08 00 A9 17 80 13 01 00 00 00 00 00 3D [12:32:08]Write i2c OK [12:32:08]MH_I2C_Read... [12:32:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:08]Read from MH i2c: E2 [12:32:08]MH_I2C_Read... [12:32:08]Read from MH i2c: E2 0E 00 [12:32:08]MH_I2C_Read... [12:32:08]Read from MH i2c: E2 0E 00 A9 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 5E [12:32:08]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:32:08]wFMCommunicate OK [12:32:08]SAM_PROTO_GetShiftState done [12:32:08]FM_GetShiftState done [12:32:08]opened in 1729382737 [12:32:08]opened+sec_in_day 1729469137 [12:32:08]quantity*price = 5900 [12:32:08]sum+1 = 5901 [12:32:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 31 20.10.2024 12:32 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24261 ФПД: 47306334582551 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123214&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24261&fm=47306334582551&tin=02508201610067®Number=0000000000098120&sum=5900 0 [12:32:09]StoreToDocumentArchive [12:32:09]shift 460 fd 24261 [12:32:09]save to /storage/0460/doc_00024261 [12:32:09]save last doc name /storage/0460/doc_00024261 to /storage/kkm_last_doc_name [12:32:09]save OK [12:32:09]Clear old archive folders... [12:32:09]ProcessDocumentItem done err = 0, tmpTLVsize=281 [12:32:09]tlvbuf is B6F9F3B0 [12:32:09]SAM_PROTO_ClearQueue [12:32:09]wFMCommunicate request_size=4 [12:32:09]MH_SAM_APDU [12:32:09]CAPDU: 80 09 00 00 [12:32:09]Write to MH i2c: E2 08 00 B6 17 80 09 00 00 00 00 00 00 3F [12:32:09]Write i2c OK [12:32:09]MH_I2C_Read... [12:32:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:32:09]Read from MH i2c: E2 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: E2 03 00 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: E2 03 00 B6 17 00 90 00 41 [12:32:09]RAPDU: 90 00 [12:32:09]wFMCommunicate OK [12:32:09]SAM_PROTO_ClearQueue done [12:32:09]KKMCreateOFDPacket [12:32:09]OFDProtocolAddRootSTLVToBuf [12:32:09]FM_MakeSignedData [12:32:09]FM_MakeSignedData [12:32:09]SAM_PROTO_SignData [12:32:09]wFMCommunicate request_size=4 [12:32:09]MH_SAM_APDU [12:32:09]CAPDU: 80 0D 01 02 [12:32:09]Write to MH i2c: E2 08 00 B7 17 80 0D 01 02 00 00 00 00 47 [12:32:09]Write i2c OK [12:32:09]MH_I2C_Read... [12:32:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:32:10]Read from MH i2c: E2 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 B7 17 00 90 00 42 [12:32:10]RAPDU: 90 00 [12:32:10]wFMCommunicate OK [12:32:10]wFMCommunicate request_size=255 [12:32:10]MH_SAM_APDU [12:32:10]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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 4E F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 [12:32:10]Write to MH i2c: E2 02 01 B8 17 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 4E F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 00 7C [12:32:10]Write i2c OK [12:32:10]MH_I2C_Read... [12:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:10]Read from MH i2c: E2 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 B8 17 00 90 00 43 [12:32:10]RAPDU: 90 00 [12:32:10]wFMCommunicate OK [12:32:10]wFMCommunicate request_size=40 [12:32:10]MH_SAM_APDU [12:32:10]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C5 5E 00 00 35 04 06 00 2B 06 5D 44 B7 17 [12:32:10]Write to MH i2c: E2 2B 00 B9 17 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C5 5E 00 00 35 04 06 00 2B 06 5D 44 B7 17 00 00 C4 [12:32:10]Write i2c OK [12:32:10]MH_I2C_Read... [12:32:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:10]Read from MH i2c: E2 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 03 00 B9 17 00 90 00 44 [12:32:10]RAPDU: 90 00 [12:32:10]wFMCommunicate OK [12:32:10]wFMCommunicate request_size=4 [12:32:10]MH_SAM_APDU [12:32:10]CAPDU: 80 0D 03 02 [12:32:10]Write to MH i2c: E2 08 00 BA 17 80 0D 03 02 00 00 00 00 4C [12:32:10]Write i2c OK [12:32:10]MH_I2C_Read... [12:32:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:32:10]Read from MH i2c: E2 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 0B 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 0B 00 BA 17 00 26 AF D9 CE 6D 4E EE C4 90 00 36 [12:32:10]RAPDU: 26 AF D9 CE 6D 4E EE C4 90 00 [12:32:10]wFMCommunicate OK [12:32:10]SAM_PROTO_SignData done [12:32:10]FM_MakeSignedData done [12:32:10]CreateOFDProtocolMessage [12:32:10]wFMCommunicate request_size=4 [12:32:10]MH_SAM_APDU [12:32:10]CAPDU: 80 11 00 00 [12:32:10]Write to MH i2c: E2 08 00 BB 17 80 11 00 00 00 00 00 00 4C [12:32:10]Write i2c OK [12:32:10]MH_I2C_Read... [12:32:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:10]Read from MH i2c: E2 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 17 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: E2 17 00 BB 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 99 [12:32:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:32:10]wFMCommunicate OK [12:32:10]CreateOFDProtocolMessage done [12:32:10]OFDSenderStorePacket 24261 [12:32:10]StoreOFDPacket docnum=24261 [12:32:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2D 01 00 00 23 98 25 01 DD C7 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 4E F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C5 5E 00 00 35 04 06 00 2B 06 5D 44 B7 17 26 AF D9 CE 6D 4E EE C4 [12:32:10]CheckFolder [12:32:10]dirname=/storage/ofd_packets [12:32:10]CheckFolder done [12:32:10]ProducePacketName [12:32:10]name=ofd_packets/00024261 [12:32:10]NVStorageSaveData ofd_packets/00024261 [12:32:10]File name is /storage/ofd_packets/00024261 [12:32:10]Write 331 bytes [12:32:10]NVStorageSaveData done [12:32:10]OFDSenderStorePacket done [12:32:10]KKMCreateOFDPacket done [12:32:10]NVStorageSaveData kkm_last_timestamp [12:32:10]File name is /storage/kkm_last_timestamp [12:32:10]Write 4 bytes [12:32:10]NVStorageSaveData done [12:32:10]ExternCall_PrintAddStr [12:32:10]wPrintStart [12:32:10]Write to MH i2c: 01 00 00 BC 17 D3 [12:32:10]OFD Sender: Processing packet 24261 [packets to send 5, broken 4] [12:32:10]ProducePacketName [12:32:10]name=ofd_packets/00024261 [12:32:10]OFD Sender: To server: pG, [12:32:10]CommunicateWithHost lk.salyk.kg:30040 [12:32:10]ConnectInit lk.salyk.kg [12:32:10]Write i2c OK [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: 01 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: 01 07 00 [12:32:10]MH_I2C_Read... [12:32:10]Read from MH i2c: 01 07 00 BC 17 00 00 00 00 00 FF 0F E8 [12:32:10]RasterBufferAndPrint [12:32:10]line Счет N : (3)134786 [12:32:10]line ИНН: 02508201610067 [12:32:10]line Контрольно-Кассовый Чек [12:32:10]line ПРОДАЖА [12:32:10]line Товар: 4607065001445 [12:32:10]line Шок батончик Snickers 50,5г [12:32:10]line 1.000 * 59.00 [12:32:10]line = 59.00 [12:32:10]line НДС 12% НСП 1% [12:32:10]line > о реализуемом товаре [12:32:10]line ИТОГО: 59.00 [12:32:10]line НСП 1% : 0.52 [12:32:10]line НДС 12% : 6.26 [12:32:10]line Наличными: 59.00 [12:32:10]line Безнал.: 0.00 [12:32:10]line Место: АЗС № 85 "Партнер Нефть" [12:32:10]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:32:10]line СНО: Общий режим [12:32:10]line Чек 31 20.10.2024 12:32 [12:32:10]line Смена: 460 ФФД: 1.0 [12:32:10]line ЗНМ: 0300000166 [12:32:10]line РНМ: 0000000000098120 [12:32:10]line Версия ККМ: 001 [12:32:10]line ФМ: 0000000000965420 [12:32:10]line ФД: 24261 [12:32:10]line ФПД: 47306334582551 [12:32:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123214&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24261&fm=47306334582551&tin=02508201610067®Number=0000000000098120&sum=5900 [12:32:10]Connected sock=10 [12:32:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2D 01 00 00 23 98 25 01 DD C7 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 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 4E F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C5 5E 00 00 35 04 06 00 2B 06 5D 44 B7 17 26 AF D9 CE 6D 4E EE C4 [12:32:10]line 0 [12:32:10]written 0, free lines is 4095 [12:32:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AE 0B 47 00 EA EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C5 5E 00 00 F4 03 04 00 E6 A3 14 67 B6 04 01 00 00 B3 44 80 DD 98 05 41 A2 [12:32:11]CommunicateWithHost err = 0 [12:32:11]CheckOFDResponse [12:32:11]1017 (14) - 77093643461234 [12:32:11]1041 (16) - 0000000000965420 [12:32:11]1040 (4) - 24261 [12:32:11]1012 (4) - 20.10.2024 06:32 [12:32:11]1206 (1) - 0 [12:32:11]OFD Sender: Remove packet 24261 [12:32:11]ProducePacketName [12:32:11]name=ofd_packets/00024261 [12:32:11]NVStorageDeleteData [12:32:11]Write to MH i2c: 01 00 00 E4 17 FB [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 07 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 07 00 E4 17 00 00 00 00 00 2D 0D 3C [12:32:11]RasterBufferAndPrint [12:32:11]line [12:32:11]line [12:32:11]line [12:32:11]line [12:32:11]line [12:32:11]written 0, free lines is 3384 [12:32:11]process_action close_receipt done [12:32:11]requested_data is exist [12:32:11]produce_requested_data [12:32:11]requested_item fm.sn is exist - process it [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 11 00 00 [12:32:11]Write to MH i2c: E2 08 00 EB 17 80 11 00 00 00 00 00 00 7C [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 17 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 17 00 EB 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C9 [12:32:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:32:11]wFMCommunicate OK [12:32:11]requested_item fd.num is exist - process it [12:32:11]SAM_PROTO_GetFieldsCounters [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 13 00 00 [12:32:11]Write to MH i2c: E2 08 00 EC 17 80 13 00 00 00 00 00 00 7F [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 62 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 62 00 EC 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [12:32:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:32:11]wFMCommunicate OK [12:32:11]SAM_PROTO_GetFieldsCounters done [12:32:11]requested_item shift.num is exist - process it [12:32:11]requested_item shift.opened is exist - process it [12:32:11]req_shift_opened [12:32:11]FM_GetShiftState [12:32:11]SAM_PROTO_GetShiftState [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 13 01 00 [12:32:11]Write to MH i2c: E2 08 00 ED 17 80 13 01 00 00 00 00 00 81 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]OFD Sender: No OFD packet to send [12:32:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 0E 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 0E 00 ED 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 A2 [12:32:11]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:32:11]wFMCommunicate OK [12:32:11]SAM_PROTO_GetShiftState done [12:32:11]FM_GetShiftState done [12:32:11]req_shift_opened done [12:32:11]requested_item shift.open_date is exist - process it [12:32:11]req_shift_open_date [12:32:11]req_shift_open_date done [12:32:11]produce_requested_data done [12:32:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24261,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:32:11]process_action_free close_receipt [12:32:11]json_value_free [12:32:11]json_value_free done [12:32:11]process_json_proto returns [12:32:11]Send response to host [12:32:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24261,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:32:11]free response buf [12:32:11]execute_script done [12:32:11]execute_script returns [12:32:11]free content buf [12:32:11]Sock 9.Close socket [12:32:11]Sock 9.Thread stoped [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:35]accept exits with 7 [12:33:35]New connection [12:33:35]New thread 3067243876 created [12:33:35]Thread 3067100516 joined [12:33:35]Waiting for new connection... [12:33:35] Sock 7.Parse request [12:33:35]Sock 7.Check first char [12:33:35]Sock 7.First char is OK [12:33:35]request: POST /json_proto HTTP/1.0 [12:33:35]Method: POST [12:33:35]URL: /json_proto [12:33:35]Method is POST - this is cgi request [12:33:35]url: /json_proto [12:33:35]query_string will be loaded in cgi processing [12:33:35]execute_cgi json_proto POST (null) [12:33:35]execute_cgi path=json_proto method=POST [12:33:35]POST find Content-Length [12:33:35]Host: 172.17.50.4:8080 [12:33:35]Content-Length: 630 [12:33:35]Content-Type: application/json [12:33:35] [12:33:35]POST finish read [12:33:35]Found Content-Length = 630 [12:33:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134787", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:35]execute_script... [12:33:35]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134787", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:33:35]POST & json_proto [12:33:35]process_json_proto [12:33:35]json parsed OK: [12:33:35]protocol is kg_v1.0 [12:33:35]action value=close_receipt [12:33:35]process_action close_receipt [12:33:35]cmd_close_receipt [12:33:35]MH_GetDate [12:33:35]Write to MH i2c: F0 00 00 EE 17 F4 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: F0 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: F0 09 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: F0 09 00 EE 17 00 A5 F8 14 67 1D BB 13 67 67 [12:33:35]GetLastDocTimeStamp 1729427534 [12:33:35]current date 1729427621 [12:33:35]FM_GetShiftState [12:33:35]SAM_PROTO_GetShiftState [12:33:35]wFMCommunicate request_size=4 [12:33:35]MH_SAM_APDU [12:33:35]CAPDU: 80 13 01 00 [12:33:35]Write to MH i2c: E2 08 00 EF 17 80 13 01 00 00 00 00 00 83 [12:33:35]Write i2c OK [12:33:35]MH_I2C_Read... [12:33:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:35]Read from MH i2c: E2 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 0E 00 [12:33:35]MH_I2C_Read... [12:33:35]Read from MH i2c: E2 0E 00 EF 17 00 09 00 01 51 49 14 67 00 00 00 00 90 00 A4 [12:33:35]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:33:35]wFMCommunicate OK [12:33:35]SAM_PROTO_GetShiftState done [12:33:35]FM_GetShiftState done [12:33:35]opened in 1729382737 [12:33:35]opened+sec_in_day 1729469137 [12:33:35]quantity*price = 5000 [12:33:35]sum+1 = 5001 [12:33:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 32 20.10.2024 12:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24262 ФПД: 266493952789094 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123341&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24262&fm=266493952789094&tin=02508201610067®Number=0000000000098120&sum=5000 0 [12:33:36]StoreToDocumentArchive [12:33:36]shift 460 fd 24262 [12:33:36]save to /storage/0460/doc_00024262 [12:33:36]save last doc name /storage/0460/doc_00024262 to /storage/kkm_last_doc_name [12:33:36]save OK [12:33:36]Clear old archive folders... [12:33:36]ProcessDocumentItem done err = 0, tmpTLVsize=269 [12:33:36]tlvbuf is B6F9F940 [12:33:36]SAM_PROTO_ClearQueue [12:33:36]wFMCommunicate request_size=4 [12:33:36]MH_SAM_APDU [12:33:36]CAPDU: 80 09 00 00 [12:33:36]Write to MH i2c: E2 08 00 FC 17 80 09 00 00 00 00 00 00 85 [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:33:36]Read from MH i2c: E2 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: E2 03 00 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: E2 03 00 FC 17 00 90 00 87 [12:33:36]RAPDU: 90 00 [12:33:36]wFMCommunicate OK [12:33:36]SAM_PROTO_ClearQueue done [12:33:36]KKMCreateOFDPacket [12:33:36]OFDProtocolAddRootSTLVToBuf [12:33:36]FM_MakeSignedData [12:33:36]FM_MakeSignedData [12:33:36]SAM_PROTO_SignData [12:33:36]wFMCommunicate request_size=4 [12:33:36]MH_SAM_APDU [12:33:36]CAPDU: 80 0D 01 02 [12:33:36]Write to MH i2c: E2 08 00 FD 17 80 0D 01 02 00 00 00 00 8D [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:33:36]Read from MH i2c: E2 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: E2 03 00 [12:33:36]MH_I2C_Read... [12:33:36]Read from MH i2c: E2 03 00 FD 17 00 90 00 88 [12:33:36]RAPDU: 90 00 [12:33:36]wFMCommunicate OK [12:33:36]wFMCommunicate request_size=255 [12:33:36]MH_SAM_APDU [12:33:36]CAPDU: 80 0D 02 02 FA 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A5 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 [12:33:36]Write to MH i2c: E2 02 01 FE 17 80 0D 02 02 FA 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A5 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 00 00 A5 [12:33:36]Write i2c OK [12:33:36]MH_I2C_Read... [12:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:37]Read from MH i2c: E2 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 03 00 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 03 00 FE 17 00 90 00 89 [12:33:37]RAPDU: 90 00 [12:33:37]wFMCommunicate OK [12:33:37]wFMCommunicate request_size=28 [12:33:37]MH_SAM_APDU [12:33:37]CAPDU: 80 0D 02 02 17 36 35 34 32 30 10 04 04 00 C6 5E 00 00 35 04 06 00 F2 5F F5 64 0A 66 [12:33:37]Write to MH i2c: E2 1F 00 FF 17 80 0D 02 02 17 00 36 35 34 32 30 10 04 04 00 C6 5E 00 00 35 04 06 00 F2 5F F5 64 0A 66 00 00 54 [12:33:37]Write i2c OK [12:33:37]MH_I2C_Read... [12:33:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:33:37]Read from MH i2c: E2 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 03 00 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 03 00 FF 17 00 90 00 8A [12:33:37]RAPDU: 90 00 [12:33:37]wFMCommunicate OK [12:33:37]wFMCommunicate request_size=4 [12:33:37]MH_SAM_APDU [12:33:37]CAPDU: 80 0D 03 02 [12:33:37]Write to MH i2c: E2 08 00 00 18 80 0D 03 02 00 00 00 00 93 [12:33:37]Write i2c OK [12:33:37]MH_I2C_Read... [12:33:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:33:37]Read from MH i2c: E2 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 0B 00 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 0B 00 00 18 00 8F A1 90 A9 B4 A3 9D 37 90 00 28 [12:33:37]RAPDU: 8F A1 90 A9 B4 A3 9D 37 90 00 [12:33:37]wFMCommunicate OK [12:33:37]SAM_PROTO_SignData done [12:33:37]FM_MakeSignedData done [12:33:37]CreateOFDProtocolMessage [12:33:37]wFMCommunicate request_size=4 [12:33:37]MH_SAM_APDU [12:33:37]CAPDU: 80 11 00 00 [12:33:37]Write to MH i2c: E2 08 00 01 18 80 11 00 00 00 00 00 00 93 [12:33:37]Write i2c OK [12:33:37]MH_I2C_Read... [12:33:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:37]Read from MH i2c: E2 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 17 00 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: E2 17 00 01 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E0 [12:33:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:33:37]wFMCommunicate OK [12:33:37]CreateOFDProtocolMessage done [12:33:37]OFDSenderStorePacket 24262 [12:33:37]StoreOFDPacket docnum=24262 [12:33:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 21 01 00 00 72 99 19 01 C2 7C 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A5 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C6 5E 00 00 35 04 06 00 F2 5F F5 64 0A 66 8F A1 90 A9 B4 A3 9D 37 [12:33:37]CheckFolder [12:33:37]dirname=/storage/ofd_packets [12:33:37]CheckFolder done [12:33:37]ProducePacketName [12:33:37]name=ofd_packets/00024262 [12:33:37]NVStorageSaveData ofd_packets/00024262 [12:33:37]File name is /storage/ofd_packets/00024262 [12:33:37]Write 319 bytes [12:33:37]NVStorageSaveData done [12:33:37]OFDSenderStorePacket done [12:33:37]KKMCreateOFDPacket done [12:33:37]NVStorageSaveData kkm_last_timestamp [12:33:37]File name is /storage/kkm_last_timestamp [12:33:37]Write 4 bytes [12:33:37]NVStorageSaveData done [12:33:37]ExternCall_PrintAddStr [12:33:37]wPrintStart [12:33:37]Write to MH i2c: 01 00 00 02 18 1A [12:33:37]Write i2c OK [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: 01 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: 01 07 00 [12:33:37]MH_I2C_Read... [12:33:37]Read from MH i2c: 01 07 00 02 18 00 00 00 00 00 FF 0F 2F [12:33:37]RasterBufferAndPrint [12:33:37]line Счет N : (3)134787 [12:33:37]line ИНН: 02508201610067 [12:33:37]line Контрольно-Кассовый Чек [12:33:37]line ПРОДАЖА [12:33:37]line Товар: 4700000160358 [12:33:37]line Вода Легенда 1л [12:33:37]line 1.000 * 50.00 [12:33:37]line = 50.00 [12:33:37]line НДС 12% НСП 1% [12:33:37]line > о реализуемом товаре [12:33:37]line ИТОГО: 50.00 [12:33:37]line НСП 1% : 0.44 [12:33:37]line НДС 12% : 5.31 [12:33:37]line Наличными: 50.00 [12:33:37]line Безнал.: 0.00 [12:33:37]line Место: АЗС № 85 "Партнер Нефть" [12:33:37]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:33:37]line СНО: Общий режим [12:33:37]line Чек 32 20.10.2024 12:33 [12:33:37]line Смена: 460 ФФД: 1.0 [12:33:37]line ЗНМ: 0300000166 [12:33:37]line РНМ: 0000000000098120 [12:33:37]line Версия ККМ: 001 [12:33:37]line ФМ: 0000000000965420 [12:33:37]line ФД: 24262 [12:33:37]line ФПД: 266493952789094 [12:33:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123341&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24262&fm=266493952789094&tin=02508201610067®Number=0000000000098120&sum=5000 [12:33:37]OFD Sender: Processing packet 24262 [packets to send 5, broken 4] [12:33:37]ProducePacketName [12:33:37]name=ofd_packets/00024262 [12:33:37]OFD Sender: To server: pG, [12:33:37]CommunicateWithHost lk.salyk.kg:30040 [12:33:37]ConnectInit lk.salyk.kg [12:33:37]line 0 [12:33:37]written 0, free lines is 4095 [12:33:37]Connected sock=10 [12:33:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 21 01 00 00 72 99 19 01 C2 7C 5A 03 01 00 03 00 0D 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 A5 F8 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C6 5E 00 00 35 04 06 00 F2 5F F5 64 0A 66 8F A1 90 A9 B4 A3 9D 37 [12:33:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 F8 7A 47 00 A8 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 36 35 34 32 30 10 04 04 00 C6 5E 00 00 F4 03 04 00 3D A4 14 67 B6 04 01 00 00 DC 86 36 59 3A D7 19 5C [12:33:38]CommunicateWithHost err = 0 [12:33:38]CheckOFDResponse [12:33:38]1017 (14) - 77093643461234 [12:33:38]1041 (16) - 0000000000965420 [12:33:38]1040 (4) - 24262 [12:33:38]1012 (4) - 20.10.2024 06:33 [12:33:38]1206 (1) - 0 [12:33:38]OFD Sender: Remove packet 24262 [12:33:38]ProducePacketName [12:33:38]name=ofd_packets/00024262 [12:33:38]NVStorageDeleteData [12:33:38]Write to MH i2c: 01 00 00 2A 18 42 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: 01 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: 01 07 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: 01 07 00 2A 18 00 00 00 00 00 23 0D 79 [12:33:38]RasterBufferAndPrint [12:33:38]line [12:33:38]line [12:33:38]line [12:33:38]line [12:33:38]line [12:33:38]written 0, free lines is 3370 [12:33:38]process_action close_receipt done [12:33:38]requested_data is exist [12:33:38]produce_requested_data [12:33:38]requested_item fm.sn is exist - process it [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 11 00 00 [12:33:38]Write to MH i2c: E2 08 00 31 18 80 11 00 00 00 00 00 00 C3 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:33:38]Read from MH i2c: E2 17 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 17 00 31 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 10 [12:33:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:33:38]wFMCommunicate OK [12:33:38]requested_item fd.num is exist - process it [12:33:38]SAM_PROTO_GetFieldsCounters [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 13 00 00 [12:33:38]Write to MH i2c: E2 08 00 32 18 80 13 00 00 00 00 00 00 C6 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 62 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 62 00 32 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 2D [12:33:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:33:38]wFMCommunicate OK [12:33:38]SAM_PROTO_GetFieldsCounters done [12:33:38]requested_item shift.num is exist - process it [12:33:38]requested_item shift.opened is exist - process it [12:33:38]req_shift_opened [12:33:38]FM_GetShiftState [12:33:38]SAM_PROTO_GetShiftState [12:33:38]wFMCommunicate request_size=4 [12:33:38]MH_SAM_APDU [12:33:38]CAPDU: 80 13 01 00 [12:33:38]Write to MH i2c: E2 08 00 33 18 80 13 01 00 00 00 00 00 C8 [12:33:38]Write i2c OK [12:33:38]MH_I2C_Read... [12:33:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:33:38]Read from MH i2c: E2 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 0E 00 [12:33:38]MH_I2C_Read... [12:33:38]Read from MH i2c: E2 0E 00 33 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E9 [12:33:38]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:33:38]wFMCommunicate OK [12:33:38]SAM_PROTO_GetShiftState done [12:33:38]FM_GetShiftState done [12:33:38]req_shift_opened done [12:33:38]requested_item shift.open_date is exist - process it [12:33:38]req_shift_open_date [12:33:38]req_shift_open_date done [12:33:38]produce_requested_data done [12:33:38]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24262,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:33:38]process_action_free close_receipt [12:33:38]json_value_free [12:33:38]json_value_free done [12:33:38]process_json_proto returns [12:33:38]Send response to host [12:33:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24262,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:33:38]free response buf [12:33:38]execute_script done [12:33:38]execute_script returns [12:33:38]free content buf [12:33:38]Sock 7.Close socket [12:33:38]Sock 7.Thread stoped [12:33:38]OFD Sender: No OFD packet to send [12:33:43]OFD Sender: No OFD packet to send [12:33:48]OFD Sender: No OFD packet to send [12:33:53]OFD Sender: No OFD packet to send [12:33:58]OFD Sender: No OFD packet to send [12:34:03]OFD Sender: No OFD packet to send [12:34:08]OFD Sender: No OFD packet to send [12:34:13]OFD Sender: No OFD packet to send [12:34:18]OFD Sender: No OFD packet to send [12:34:23]OFD Sender: No OFD packet to send [12:34:28]OFD Sender: No OFD packet to send [12:34:33]OFD Sender: No OFD packet to send [12:34:38]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:22]accept exits with 9 [12:35:22]New connection [12:35:22]New thread 3067100516 created [12:35:22]Thread 3067243876 joined [12:35:22]Waiting for new connection... [12:35:22] Sock 9.Parse request [12:35:22]Sock 9.Check first char [12:35:22]Sock 9.First char is OK [12:35:22]request: POST /json_proto HTTP/1.0 [12:35:22]Method: POST [12:35:22]URL: /json_proto [12:35:22]Method is POST - this is cgi request [12:35:22]url: /json_proto [12:35:22]query_string will be loaded in cgi processing [12:35:22]execute_cgi json_proto POST (null) [12:35:22]execute_cgi path=json_proto method=POST [12:35:22]POST find Content-Length [12:35:22]Host: 172.17.50.4:8080 [12:35:22]Content-Length: 683 [12:35:22]Content-Type: application/json [12:35:22] [12:35:22]POST finish read [12:35:22]Found Content-Length = 683 [12:35:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134788", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:22]execute_script... [12:35: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)134788", "tax_sys" : 0, "items" : [ { "code": "4870202522015", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0413\u0440\u0443\u0448\u0435\u0432\u044B\u0439 1,2\u043B", "price" : 104.00, "quantity" : 1.000, "sum" : 104.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 104.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:35:22]POST & json_proto [12:35:22]process_json_proto [12:35:22]json parsed OK: [12:35:22]protocol is kg_v1.0 [12:35:22]action value=close_receipt [12:35:22]process_action close_receipt [12:35:22]cmd_close_receipt [12:35:22]MH_GetDate [12:35:22]Write to MH i2c: F0 00 00 34 18 3B [12:35:22]Write i2c OK [12:35:22]MH_I2C_Read... [12:35:22]Read from MH i2c: F0 [12:35:22]MH_I2C_Read... [12:35:22]Read from MH i2c: F0 09 00 [12:35:22]MH_I2C_Read... [12:35:22]Read from MH i2c: F0 09 00 34 18 00 10 F9 14 67 1D BB 13 67 1A [12:35:22]GetLastDocTimeStamp 1729427621 [12:35:22]current date 1729427728 [12:35:22]FM_GetShiftState [12:35:22]SAM_PROTO_GetShiftState [12:35:22]wFMCommunicate request_size=4 [12:35:22]MH_SAM_APDU [12:35:22]CAPDU: 80 13 01 00 [12:35:22]Write to MH i2c: E2 08 00 35 18 80 13 01 00 00 00 00 00 CA [12:35:22]Write i2c OK [12:35:22]MH_I2C_Read... [12:35:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:22]Read from MH i2c: E2 [12:35:22]MH_I2C_Read... [12:35:22]Read from MH i2c: E2 0E 00 [12:35:22]MH_I2C_Read... [12:35:22]Read from MH i2c: E2 0E 00 35 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 EB [12:35:22]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:35:22]wFMCommunicate OK [12:35:22]SAM_PROTO_GetShiftState done [12:35:22]FM_GetShiftState done [12:35:22]opened in 1729382737 [12:35:22]opened+sec_in_day 1729469137 [12:35:22]quantity*price = 10400 [12:35:22]sum+1 = 10401 [12:35:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 104.00 НСП 1% : 0.92 НДС 12% : 11.04 Наличными: 104.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 33 20.10.2024 12:35 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24263 ФПД: 233679337935748 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123528&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24263&fm=233679337935748&tin=02508201610067®Number=0000000000098120&sum=10400 0 [12:35:23]StoreToDocumentArchive [12:35:23]shift 460 fd 24263 [12:35:23]save to /storage/0460/doc_00024263 [12:35:23]save last doc name /storage/0460/doc_00024263 to /storage/kkm_last_doc_name [12:35:23]save OK [12:35:23]Clear old archive folders... [12:35:23]ProcessDocumentItem done err = 0, tmpTLVsize=291 [12:35:23]tlvbuf is B6F08790 [12:35:23]SAM_PROTO_ClearQueue [12:35:23]wFMCommunicate request_size=4 [12:35:23]MH_SAM_APDU [12:35:23]CAPDU: 80 09 00 00 [12:35:23]Write to MH i2c: E2 08 00 42 18 80 09 00 00 00 00 00 00 CC [12:35:23]Write i2c OK [12:35:23]MH_I2C_Read... [12:35:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:35:23]Read from MH i2c: E2 [12:35:23]MH_I2C_Read... [12:35:23]Read from MH i2c: E2 03 00 [12:35:23]MH_I2C_Read... [12:35:23]Read from MH i2c: E2 03 00 42 18 00 90 00 CE [12:35:23]RAPDU: 90 00 [12:35:23]wFMCommunicate OK [12:35:23]SAM_PROTO_ClearQueue done [12:35:23]KKMCreateOFDPacket [12:35:23]OFDProtocolAddRootSTLVToBuf [12:35:23]FM_MakeSignedData [12:35:23]FM_MakeSignedData [12:35:23]SAM_PROTO_SignData [12:35:23]wFMCommunicate request_size=4 [12:35:23]MH_SAM_APDU [12:35:23]CAPDU: 80 0D 01 02 [12:35:23]Write to MH i2c: E2 08 00 43 18 80 0D 01 02 00 00 00 00 D4 [12:35:23]Write i2c OK [12:35:23]MH_I2C_Read... [12:35:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:35:24]Read from MH i2c: E2 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 43 18 00 90 00 CF [12:35:24]RAPDU: 90 00 [12:35:24]wFMCommunicate OK [12:35:24]wFMCommunicate request_size=255 [12:35:24]MH_SAM_APDU [12:35:24]CAPDU: 80 0D 02 02 FA 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 10 F9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 [12:35:24]Write to MH i2c: E2 02 01 44 18 80 0D 02 02 FA 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 10 F9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 00 00 0C [12:35:24]Write i2c OK [12:35:24]MH_I2C_Read... [12:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:24]Read from MH i2c: E2 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 44 18 00 90 00 D0 [12:35:24]RAPDU: 90 00 [12:35:24]wFMCommunicate OK [12:35:24]wFMCommunicate request_size=50 [12:35:24]MH_SAM_APDU [12:35:24]CAPDU: 80 0D 02 02 2D 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C7 5E 00 00 35 04 06 00 D4 87 B5 ED D3 84 [12:35:24]Write to MH i2c: E2 35 00 45 18 80 0D 02 02 2D 00 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C7 5E 00 00 35 04 06 00 D4 87 B5 ED D3 84 00 00 A4 [12:35:24]Write i2c OK [12:35:24]MH_I2C_Read... [12:35:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:35:24]Read from MH i2c: E2 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 03 00 45 18 00 90 00 D1 [12:35:24]RAPDU: 90 00 [12:35:24]wFMCommunicate OK [12:35:24]wFMCommunicate request_size=4 [12:35:24]MH_SAM_APDU [12:35:24]CAPDU: 80 0D 03 02 [12:35:24]Write to MH i2c: E2 08 00 46 18 80 0D 03 02 00 00 00 00 D9 [12:35:24]Write i2c OK [12:35:24]MH_I2C_Read... [12:35:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:35:24]Read from MH i2c: E2 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 0B 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 0B 00 46 18 00 0F CC CE 53 B4 B7 50 79 90 00 0A [12:35:24]RAPDU: 0F CC CE 53 B4 B7 50 79 90 00 [12:35:24]wFMCommunicate OK [12:35:24]SAM_PROTO_SignData done [12:35:24]FM_MakeSignedData done [12:35:24]CreateOFDProtocolMessage [12:35:24]wFMCommunicate request_size=4 [12:35:24]MH_SAM_APDU [12:35:24]CAPDU: 80 11 00 00 [12:35:24]Write to MH i2c: E2 08 00 47 18 80 11 00 00 00 00 00 00 D9 [12:35:24]Write i2c OK [12:35:24]MH_I2C_Read... [12:35:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:24]Read from MH i2c: E2 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 17 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: E2 17 00 47 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 26 [12:35:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:35:24]wFMCommunicate OK [12:35:24]CreateOFDProtocolMessage done [12:35:24]OFDSenderStorePacket 24263 [12:35:24]StoreOFDPacket docnum=24263 [12:35:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 37 01 00 00 4A 66 2F 01 D8 25 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 10 F9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C7 5E 00 00 35 04 06 00 D4 87 B5 ED D3 84 0F CC CE 53 B4 B7 50 79 [12:35:24]CheckFolder [12:35:24]dirname=/storage/ofd_packets [12:35:24]CheckFolder done [12:35:24]ProducePacketName [12:35:24]name=ofd_packets/00024263 [12:35:24]NVStorageSaveData ofd_packets/00024263 [12:35:24]File name is /storage/ofd_packets/00024263 [12:35:24]Write 341 bytes [12:35:24]NVStorageSaveData done [12:35:24]OFDSenderStorePacket done [12:35:24]KKMCreateOFDPacket done [12:35:24]NVStorageSaveData kkm_last_timestamp [12:35:24]File name is /storage/kkm_last_timestamp [12:35:24]Write 4 bytes [12:35:24]NVStorageSaveData done [12:35:24]ExternCall_PrintAddStr [12:35:24]wPrintStart [12:35:24]Write to MH i2c: 01 00 00 48 18 60 [12:35:24]Write i2c OK [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: 01 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: 01 07 00 [12:35:24]MH_I2C_Read... [12:35:24]Read from MH i2c: 01 07 00 48 18 00 00 00 00 00 FF 0F 75 [12:35:24]RasterBufferAndPrint [12:35:24]line Счет N : (3)134788 [12:35:24]line ИНН: 02508201610067 [12:35:24]line Контрольно-Кассовый Чек [12:35:24]line ПРОДАЖА [12:35:24]line Товар: 4870202522015 [12:35:24]line Напиток Maxi Чай Грушевый 1,2л [12:35:24]line 1.000 * 104.00 [12:35:24]line = 104.00 [12:35:24]line НДС 12% НСП 1% [12:35:24]line > о реализуемом товаре [12:35:24]line ИТОГО: 104.00 [12:35:24]line НСП 1% : 0.92 [12:35:24]line НДС 12% : 11.04 [12:35:24]line Наличными: 104.00 [12:35:24]line Безнал.: 0.00 [12:35:24]line Место: АЗС № 85 "Партнер Нефть" [12:35:24]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:35:24]line СНО: Общий режим [12:35:24]line Чек 33 20.10.2024 12:35 [12:35:24]line Смена: 460 ФФД: 1.0 [12:35:24]line ЗНМ: 0300000166 [12:35:24]line РНМ: 0000000000098120 [12:35:24]line Версия ККМ: 001 [12:35:24]line ФМ: 0000000000965420 [12:35:24]line ФД: 24263 [12:35:24]line ФПД: 233679337935748 [12:35:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T123528&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24263&fm=233679337935748&tin=02508201610067®Number=0000000000098120&sum=10400 [12:35:24]OFD Sender: Processing packet 24263 [packets to send 5, broken 4] [12:35:24]ProducePacketName [12:35:24]name=ofd_packets/00024263 [12:35:24]OFD Sender: To server: pG, [12:35:24]CommunicateWithHost lk.salyk.kg:30040 [12:35:24]ConnectInit lk.salyk.kg [12:35:24]line 0 [12:35:24]written 0, free lines is 4095 [12:35:25]Connected sock=10 [12:35:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 37 01 00 00 4A 66 2F 01 D8 25 5A 03 01 00 03 00 23 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 30 31 35 06 04 31 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D0 93 D1 80 D1 83 D1 88 D0 B5 D0 B2 D1 8B D0 B9 20 31 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 28 00 00 00 00 13 04 06 00 A0 28 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 28 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 50 04 00 00 00 00 07 04 06 00 A0 28 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 10 F9 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C7 5E 00 00 35 04 06 00 D4 87 B5 ED D3 84 0F CC CE 53 B4 B7 50 79 [12:35:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 14 AA 47 00 39 DC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C7 5E 00 00 F4 03 04 00 A8 A4 14 67 B6 04 01 00 00 27 B3 CA 10 F6 F2 F8 B4 [12:35:25]CommunicateWithHost err = 0 [12:35:25]CheckOFDResponse [12:35:25]1017 (14) - 77093643461234 [12:35:25]1041 (16) - 0000000000965420 [12:35:25]1040 (4) - 24263 [12:35:25]1012 (4) - 20.10.2024 06:35 [12:35:25]1206 (1) - 0 [12:35:25]OFD Sender: Remove packet 24263 [12:35:25]ProducePacketName [12:35:25]name=ofd_packets/00024263 [12:35:25]NVStorageDeleteData [12:35:25]Write to MH i2c: 01 00 00 71 18 89 [12:35:25]Write i2c OK [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: 01 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: 01 07 00 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: 01 07 00 71 18 00 00 00 00 00 14 0D B1 [12:35:25]RasterBufferAndPrint [12:35:25]line [12:35:25]line [12:35:25]line [12:35:25]line [12:35:25]line [12:35:25]written 0, free lines is 3358 [12:35:25]process_action close_receipt done [12:35:25]requested_data is exist [12:35:25]produce_requested_data [12:35:25]requested_item fm.sn is exist - process it [12:35:25]wFMCommunicate request_size=4 [12:35:25]MH_SAM_APDU [12:35:25]CAPDU: 80 11 00 00 [12:35:25]Write to MH i2c: E2 08 00 78 18 80 11 00 00 00 00 00 00 0A [12:35:25]Write i2c OK [12:35:25]MH_I2C_Read... [12:35:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:35:25]Read from MH i2c: E2 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 17 00 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 17 00 78 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 57 [12:35:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:35:25]wFMCommunicate OK [12:35:25]requested_item fd.num is exist - process it [12:35:25]SAM_PROTO_GetFieldsCounters [12:35:25]wFMCommunicate request_size=4 [12:35:25]MH_SAM_APDU [12:35:25]CAPDU: 80 13 00 00 [12:35:25]Write to MH i2c: E2 08 00 79 18 80 13 00 00 00 00 00 00 0D [12:35:25]Write i2c OK [12:35:25]MH_I2C_Read... [12:35:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:35:25]Read from MH i2c: E2 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 62 00 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 62 00 79 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 78 [12:35:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:35:25]wFMCommunicate OK [12:35:25]SAM_PROTO_GetFieldsCounters done [12:35:25]requested_item shift.num is exist - process it [12:35:25]requested_item shift.opened is exist - process it [12:35:25]req_shift_opened [12:35:25]FM_GetShiftState [12:35:25]SAM_PROTO_GetShiftState [12:35:25]wFMCommunicate request_size=4 [12:35:25]MH_SAM_APDU [12:35:25]CAPDU: 80 13 01 00 [12:35:25]Write to MH i2c: E2 08 00 7A 18 80 13 01 00 00 00 00 00 0F [12:35:25]Write i2c OK [12:35:25]MH_I2C_Read... [12:35:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:35:25]Read from MH i2c: E2 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 0E 00 [12:35:25]MH_I2C_Read... [12:35:25]Read from MH i2c: E2 0E 00 7A 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 30 [12:35:25]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:35:25]wFMCommunicate OK [12:35:25]SAM_PROTO_GetShiftState done [12:35:25]FM_GetShiftState done [12:35:25]req_shift_opened done [12:35:25]requested_item shift.open_date is exist - process it [12:35:25]req_shift_open_date [12:35:25]req_shift_open_date done [12:35:25]produce_requested_data done [12:35:25]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24263,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:35:25]process_action_free close_receipt [12:35:25]json_value_free [12:35:25]json_value_free done [12:35:25]process_json_proto returns [12:35:25]Send response to host [12:35:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24263,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:35:25]free response buf [12:35:25]execute_script done [12:35:25]execute_script returns [12:35:25]free content buf [12:35:25]Sock 9.Close socket [12:35:25]Sock 9.Thread stoped [12:35:25]OFD Sender: No OFD packet to send [12:35:30]OFD Sender: No OFD packet to send [12:35:35]OFD Sender: No OFD packet to send [12:35:40]OFD Sender: No OFD packet to send [12:35:45]OFD Sender: No OFD packet to send [12:35:50]OFD Sender: No OFD packet to send [12:35:55]OFD Sender: No OFD packet to send [12:36:00]OFD Sender: No OFD packet to send [12:36:05]OFD Sender: No OFD packet to send [12:36:10]OFD Sender: No OFD packet to send [12:36:15]OFD Sender: No OFD packet to send [12:36:20]OFD Sender: No OFD packet to send [12:36:25]OFD Sender: No OFD packet to send [12:36:30]OFD Sender: No OFD packet to send [12:36:35]OFD Sender: No OFD packet to send [12:36:40]OFD Sender: No OFD packet to send [12:36:45]OFD Sender: No OFD packet to send [12:36:50]OFD Sender: No OFD packet to send [12:36:55]OFD Sender: No OFD packet to send [12:37:00]OFD Sender: No OFD packet to send [12:37:05]OFD Sender: No OFD packet to send [12:37:10]OFD Sender: No OFD packet to send [12:37:15]OFD Sender: No OFD packet to send [12:37:20]OFD Sender: No OFD packet to send [12:37:25]OFD Sender: No OFD packet to send [12:37:30]OFD Sender: No OFD packet to send [12:37:35]OFD Sender: No OFD packet to send [12:37:40]OFD Sender: No OFD packet to send [12:37:45]OFD Sender: No OFD packet to send [12:37:50]OFD Sender: No OFD packet to send [12:37:55]OFD Sender: No OFD packet to send [12:38:00]OFD Sender: No OFD packet to send [12:38:05]OFD Sender: No OFD packet to send [12:38:10]OFD Sender: No OFD packet to send [12:38:15]OFD Sender: No OFD packet to send [12:38:20]OFD Sender: No OFD packet to send [12:38:25]OFD Sender: No OFD packet to send [12:38:30]OFD Sender: No OFD packet to send [12:38:35]OFD Sender: No OFD packet to send [12:38:40]OFD Sender: No OFD packet to send [12:38:45]OFD Sender: No OFD packet to send [12:38:50]OFD Sender: No OFD packet to send [12:38:55]OFD Sender: No OFD packet to send [12:39:00]OFD Sender: No OFD packet to send [12:39:05]OFD Sender: No OFD packet to send [12:39:10]OFD Sender: No OFD packet to send [12:39:15]OFD Sender: No OFD packet to send [12:39:20]OFD Sender: No OFD packet to send [12:39:25]OFD Sender: No OFD packet to send [12:39:30]OFD Sender: No OFD packet to send [12:39:35]OFD Sender: No OFD packet to send [12:39:40]OFD Sender: No OFD packet to send [12:39:45]OFD Sender: No OFD packet to send [12:39:50]OFD Sender: No OFD packet to send [12:39:55]OFD Sender: No OFD packet to send [12:40:00]OFD Sender: No OFD packet to send [12:40:05]OFD Sender: No OFD packet to send [12:40:10]OFD Sender: No OFD packet to send [12:40:15]OFD Sender: No OFD packet to send [12:40:20]OFD Sender: No OFD packet to send [12:40:25]OFD Sender: No OFD packet to send [12:40:30]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:06]OFD Sender: No OFD packet to send [12:44:11]OFD Sender: No OFD packet to send [12:44:16]OFD Sender: No OFD packet to send [12:44:21]OFD Sender: No OFD packet to send [12:44:26]OFD Sender: No OFD packet to send [12:44:31]OFD Sender: No OFD packet to send [12:44:36]OFD Sender: No OFD packet to send [12:44:41]OFD Sender: No OFD packet to send [12:44:46]OFD Sender: No OFD packet to send [12:44:51]OFD Sender: No OFD packet to send [12:44:56]OFD Sender: No OFD packet to send [12:45:01]OFD Sender: No OFD packet to send [12:45:06]OFD Sender: No OFD packet to send [12:45:11]OFD Sender: No OFD packet to send [12:45:16]OFD Sender: No OFD packet to send [12:45:21]OFD Sender: No OFD packet to send [12:45:26]OFD Sender: No OFD packet to send [12:45:31]OFD Sender: No OFD packet to send [12:45:36]OFD Sender: No OFD packet to send [12:45:41]OFD Sender: No OFD packet to send [12:45:46]OFD Sender: No OFD packet to send [12:45:51]OFD Sender: No OFD packet to send [12:45:56]OFD Sender: No OFD packet to send [12:46:01]OFD Sender: No OFD packet to send [12:46:06]OFD Sender: No OFD packet to send [12:46:11]OFD Sender: No OFD packet to send [12:46:16]OFD Sender: No OFD packet to send [12:46:21]OFD Sender: No OFD packet to send [12:46:26]OFD Sender: No OFD packet to send [12:46:31]OFD Sender: No OFD packet to send [12:46:36]OFD Sender: No OFD packet to send [12:46:41]OFD Sender: No OFD packet to send [12:46:46]OFD Sender: No OFD packet to send [12:46:51]OFD Sender: No OFD packet to send [12:46:56]OFD Sender: No OFD packet to send [12:47:01]OFD Sender: No OFD packet to send [12:47:06]OFD Sender: No OFD packet to send [12:47:11]OFD Sender: No OFD packet to send [12:47:16]OFD Sender: No OFD packet to send [12:47:21]OFD Sender: No OFD packet to send [12:47:26]OFD Sender: No OFD packet to send [12:47:31]OFD Sender: No OFD packet to send [12:47:36]OFD Sender: No OFD packet to send [12:47:41]OFD Sender: No OFD packet to send [12:47:46]OFD Sender: No OFD packet to send [12:47:51]OFD Sender: No OFD packet to send [12:47:56]OFD Sender: No OFD packet to send [12:48:01]OFD Sender: No OFD packet to send [12:48:06]OFD Sender: No OFD packet to send [12:48:11]OFD Sender: No OFD packet to send [12:48:16]OFD Sender: No OFD packet to send [12:48:21]OFD Sender: No OFD packet to send [12:48:26]OFD Sender: No OFD packet to send [12:48:31]OFD Sender: No OFD packet to send [12:48:36]OFD Sender: No OFD packet to send [12:48:41]OFD Sender: No OFD packet to send [12:48:46]OFD Sender: No OFD packet to send [12:48:51]OFD Sender: No OFD packet to send [12:48:56]OFD Sender: No OFD packet to send [12:49:01]OFD Sender: No OFD packet to send [12:49:06]OFD Sender: No OFD packet to send [12:49:11]OFD Sender: No OFD packet to send [12:49:16]OFD Sender: No OFD packet to send [12:49:21]OFD Sender: No OFD packet to send [12:49:26]OFD Sender: No OFD packet to send [12:49:31]OFD Sender: No OFD packet to send [12:49:36]OFD Sender: No OFD packet to send [12:49:41]OFD Sender: No OFD packet to send [12:49:46]OFD Sender: No OFD packet to send [12:49:51]OFD Sender: No OFD packet to send [12:49:56]OFD Sender: No OFD packet to send [12:50:00]accept exits with 7 [12:50:00]New connection [12:50:00]New thread 3067243876 created [12:50:00]Thread 3067100516 joined [12:50:00]Waiting for new connection... [12:50:00] Sock 7.Parse request [12:50:00]Sock 7.Check first char [12:50:00]Sock 7.First char is OK [12:50:00]request: POST /json_proto HTTP/1.0 [12:50:00]Method: POST [12:50:00]URL: /json_proto [12:50:00]Method is POST - this is cgi request [12:50:00]url: /json_proto [12:50:00]query_string will be loaded in cgi processing [12:50:00]execute_cgi json_proto POST (null) [12:50:00]execute_cgi path=json_proto method=POST [12:50:00]POST find Content-Length [12:50:00]Host: 172.17.50.4:8080 [12:50:00]Content-Length: 648 [12:50:00]Content-Type: application/json [12:50:00] [12:50:00]POST finish read [12:50:00]Found Content-Length = 648 [12:50:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134789", "tax_sys" : 0, "items" : [ { "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:50:00]execute_script... [12:50:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134789", "tax_sys" : 0, "items" : [ { "code": "4860019001346", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u0441\u0442", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:50:00]POST & json_proto [12:50:00]process_json_proto [12:50:00]json parsed OK: [12:50:00]protocol is kg_v1.0 [12:50:00]action value=close_receipt [12:50:00]process_action close_receipt [12:50:00]cmd_close_receipt [12:50:00]MH_GetDate [12:50:00]Write to MH i2c: F0 00 00 7B 18 82 [12:50:00]Write i2c OK [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 09 00 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: F0 09 00 7B 18 00 7E FC 14 67 1D BB 13 67 D2 [12:50:00]GetLastDocTimeStamp 1729427728 [12:50:00]current date 1729428606 [12:50:00]FM_GetShiftState [12:50:00]SAM_PROTO_GetShiftState [12:50:00]wFMCommunicate request_size=4 [12:50:00]MH_SAM_APDU [12:50:00]CAPDU: 80 13 01 00 [12:50:00]Write to MH i2c: E2 08 00 7C 18 80 13 01 00 00 00 00 00 11 [12:50:00]Write i2c OK [12:50:00]MH_I2C_Read... [12:50:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:50:00]Read from MH i2c: E2 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: E2 0E 00 [12:50:00]MH_I2C_Read... [12:50:00]Read from MH i2c: E2 0E 00 7C 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 32 [12:50:00]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:50:00]wFMCommunicate OK [12:50:00]SAM_PROTO_GetShiftState done [12:50:00]FM_GetShiftState done [12:50:00]opened in 1729382737 [12:50:00]opened+sec_in_day 1729469137 [12:50:00]quantity*price = 13400 [12:50:00]sum+1 = 13401 [12:50:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 34 20.10.2024 12:50 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24264 ФПД: 280474488707800 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T125006&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24264&fm=280474488707800&tin=02508201610067®Number=0000000000098120&sum=13400 0 [12:50:01]StoreToDocumentArchive [12:50:01]shift 460 fd 24264 [12:50:01]save to /storage/0460/doc_00024264 [12:50:01]save last doc name /storage/0460/doc_00024264 to /storage/kkm_last_doc_name [12:50:01]save OK [12:50:01]Clear old archive folders... [12:50:01]ProcessDocumentItem done err = 0, tmpTLVsize=276 [12:50:01]tlvbuf is B6EEF5F0 [12:50:01]SAM_PROTO_ClearQueue [12:50:01]wFMCommunicate request_size=4 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 09 00 00 [12:50:01]Write to MH i2c: E2 08 00 89 18 80 09 00 00 00 00 00 00 13 [12:50:01]Write i2c OK [12:50:01]MH_I2C_Read... [12:50:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:50:01]Read from MH i2c: E2 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 89 18 00 90 00 15 [12:50:01]RAPDU: 90 00 [12:50:01]wFMCommunicate OK [12:50:01]SAM_PROTO_ClearQueue done [12:50:01]KKMCreateOFDPacket [12:50:01]OFDProtocolAddRootSTLVToBuf [12:50:01]FM_MakeSignedData [12:50:01]FM_MakeSignedData [12:50:01]SAM_PROTO_SignData [12:50:01]wFMCommunicate request_size=4 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 0D 01 02 [12:50:01]Write to MH i2c: E2 08 00 8A 18 80 0D 01 02 00 00 00 00 1B [12:50:01]Write i2c OK [12:50:01]MH_I2C_Read... [12:50:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:50:01]Read from MH i2c: E2 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 [12:50:01]MH_I2C_Read... [12:50:01]Read from MH i2c: E2 03 00 8A 18 00 90 00 16 [12:50:01]RAPDU: 90 00 [12:50:01]wFMCommunicate OK [12:50:01]wFMCommunicate request_size=255 [12:50:01]MH_SAM_APDU [12:50:01]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7E FC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 [12:50:01]Write to MH i2c: E2 02 01 8B 18 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7E FC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 00 00 68 [12:50:01]Write i2c OK [12:50:01]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 8B 18 00 90 00 17 [12:50:02]RAPDU: 90 00 [12:50:02]wFMCommunicate OK [12:50:02]wFMCommunicate request_size=35 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C8 5E 00 00 35 04 06 00 FF 17 0E 44 9A D8 [12:50:02]Write to MH i2c: E2 26 00 8C 18 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C8 5E 00 00 35 04 06 00 FF 17 0E 44 9A D8 00 00 0B [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 03 00 8C 18 00 90 00 18 [12:50:02]RAPDU: 90 00 [12:50:02]wFMCommunicate OK [12:50:02]wFMCommunicate request_size=4 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 0D 03 02 [12:50:02]Write to MH i2c: E2 08 00 8D 18 80 0D 03 02 00 00 00 00 20 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 0B 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 0B 00 8D 18 00 8A 75 C6 26 EF 1E 5E 63 90 00 DA [12:50:02]RAPDU: 8A 75 C6 26 EF 1E 5E 63 90 00 [12:50:02]wFMCommunicate OK [12:50:02]SAM_PROTO_SignData done [12:50:02]FM_MakeSignedData done [12:50:02]CreateOFDProtocolMessage [12:50:02]wFMCommunicate request_size=4 [12:50:02]MH_SAM_APDU [12:50:02]CAPDU: 80 11 00 00 [12:50:02]Write to MH i2c: E2 08 00 8E 18 80 11 00 00 00 00 00 00 20 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:50:02]Read from MH i2c: E2 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 17 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: E2 17 00 8E 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6D [12:50:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:50:02]wFMCommunicate OK [12:50:02]CreateOFDProtocolMessage done [12:50:02]OFDSenderStorePacket 24264 [12:50:02]StoreOFDPacket docnum=24264 [12:50:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 34 E3 20 01 E6 46 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7E FC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C8 5E 00 00 35 04 06 00 FF 17 0E 44 9A D8 8A 75 C6 26 EF 1E 5E 63 [12:50:02]CheckFolder [12:50:02]dirname=/storage/ofd_packets [12:50:02]CheckFolder done [12:50:02]ProducePacketName [12:50:02]name=ofd_packets/00024264 [12:50:02]NVStorageSaveData ofd_packets/00024264 [12:50:02]File name is /storage/ofd_packets/00024264 [12:50:02]Write 326 bytes [12:50:02]NVStorageSaveData done [12:50:02]OFDSenderStorePacket done [12:50:02]KKMCreateOFDPacket done [12:50:02]NVStorageSaveData kkm_last_timestamp [12:50:02]File name is /storage/kkm_last_timestamp [12:50:02]Write 4 bytes [12:50:02]NVStorageSaveData done [12:50:02]ExternCall_PrintAddStr [12:50:02]wPrintStart [12:50:02]Write to MH i2c: 01 00 00 8F 18 A7 [12:50:02]Write i2c OK [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 07 00 [12:50:02]MH_I2C_Read... [12:50:02]Read from MH i2c: 01 07 00 8F 18 00 00 00 00 00 FF 0F BC [12:50:02]RasterBufferAndPrint [12:50:02]line Счет N : (3)134789 [12:50:02]line ИНН: 02508201610067 [12:50:02]line Контрольно-Кассовый Чек [12:50:02]line ПРОДАЖА [12:50:02]line Товар: 4860019001346 [12:50:02]line Вода Боржоми 0,5л ст [12:50:02]line 1.000 * 134.00 [12:50:02]line = 134.00 [12:50:02]line НДС 12% НСП 1% [12:50:02]line > о реализуемом товаре [12:50:02]line ИТОГО: 134.00 [12:50:02]line НСП 1% : 1.19 [12:50:02]line НДС 12% : 14.23 [12:50:02]line Наличными: 134.00 [12:50:02]line Безнал.: 0.00 [12:50:02]line Место: АЗС № 85 "Партнер Нефть" [12:50:02]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:50:02]line СНО: Общий режим [12:50:02]line Чек 34 20.10.2024 12:50 [12:50:02]line Смена: 460 ФФД: 1.0 [12:50:02]line ЗНМ: 0300000166 [12:50:02]line РНМ: 0000000000098120 [12:50:02]line Версия ККМ: 001 [12:50:02]line ФМ: 0000000000965420 [12:50:02]line ФД: 24264 [12:50:02]line ФПД: 280474488707800 [12:50:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T125006&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24264&fm=280474488707800&tin=02508201610067®Number=0000000000098120&sum=13400 [12:50:02]line 0 [12:50:02]OFD Sender: Processing packet 24264 [packets to send 5, broken 4] [12:50:02]ProducePacketName [12:50:02]name=ofd_packets/00024264 [12:50:02]OFD Sender: To server: pG, [12:50:02]CommunicateWithHost lk.salyk.kg:30040 [12:50:02]ConnectInit lk.salyk.kg [12:50:02]written 0, free lines is 4095 [12:50:02]Connected sock=10 [12:50:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 34 E3 20 01 E6 46 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 34 36 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D1 80 D0 B6 D0 BE D0 BC D0 B8 20 30 2C 35 D0 BB 20 D1 81 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8F 05 00 00 00 00 07 04 06 00 58 34 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 7E FC 14 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C8 5E 00 00 35 04 06 00 FF 17 0E 44 9A D8 8A 75 C6 26 EF 1E 5E 63 [12:50:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 FB 75 47 00 C0 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C8 5E 00 00 F4 03 04 00 16 A8 14 67 B6 04 01 00 00 92 6D A3 79 1F BC 77 89 [12:50:03]CommunicateWithHost err = 0 [12:50:03]CheckOFDResponse [12:50:03]1017 (14) - 77093643461234 [12:50:03]1041 (16) - 0000000000965420 [12:50:03]1040 (4) - 24264 [12:50:03]1012 (4) - 20.10.2024 06:49 [12:50:03]1206 (1) - 0 [12:50:03]OFD Sender: Remove packet 24264 [12:50:03]ProducePacketName [12:50:03]name=ofd_packets/00024264 [12:50:03]NVStorageDeleteData [12:50:03]Write to MH i2c: 01 00 00 B7 18 CF [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 07 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: 01 07 00 B7 18 00 00 00 00 00 20 0D 03 [12:50:03]RasterBufferAndPrint [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]line [12:50:03]written 0, free lines is 3366 [12:50:03]process_action close_receipt done [12:50:03]requested_data is exist [12:50:03]produce_requested_data [12:50:03]requested_item fm.sn is exist - process it [12:50:03]wFMCommunicate request_size=4 [12:50:03]MH_SAM_APDU [12:50:03]CAPDU: 80 11 00 00 [12:50:03]Write to MH i2c: E2 08 00 BE 18 80 11 00 00 00 00 00 00 50 [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:50:03]Read from MH i2c: E2 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 17 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 17 00 BE 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9D [12:50:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:50:03]wFMCommunicate OK [12:50:03]requested_item fd.num is exist - process it [12:50:03]SAM_PROTO_GetFieldsCounters [12:50:03]wFMCommunicate request_size=4 [12:50:03]MH_SAM_APDU [12:50:03]CAPDU: 80 13 00 00 [12:50:03]Write to MH i2c: E2 08 00 BF 18 80 13 00 00 00 00 00 00 53 [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:50:03]Read from MH i2c: E2 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 62 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 62 00 BF 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 C2 [12:50:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:50:03]wFMCommunicate OK [12:50:03]SAM_PROTO_GetFieldsCounters done [12:50:03]requested_item shift.num is exist - process it [12:50:03]requested_item shift.opened is exist - process it [12:50:03]req_shift_opened [12:50:03]FM_GetShiftState [12:50:03]SAM_PROTO_GetShiftState [12:50:03]wFMCommunicate request_size=4 [12:50:03]MH_SAM_APDU [12:50:03]CAPDU: 80 13 01 00 [12:50:03]Write to MH i2c: E2 08 00 C0 18 80 13 01 00 00 00 00 00 55 [12:50:03]Write i2c OK [12:50:03]MH_I2C_Read... [12:50:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:50:03]Read from MH i2c: E2 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 0E 00 [12:50:03]MH_I2C_Read... [12:50:03]Read from MH i2c: E2 0E 00 C0 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 76 [12:50:03]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [12:50:03]wFMCommunicate OK [12:50:03]SAM_PROTO_GetShiftState done [12:50:03]FM_GetShiftState done [12:50:03]req_shift_opened done [12:50:03]requested_item shift.open_date is exist - process it [12:50:03]req_shift_open_date [12:50:03]req_shift_open_date done [12:50:03]produce_requested_data done [12:50:03]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24264,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [12:50:03]process_action_free close_receipt [12:50:03]json_value_free [12:50:03]json_value_free done [12:50:03]process_json_proto returns [12:50:03]Send response to host [12:50:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24264,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [12:50:03]free response buf [12:50:03]execute_script done [12:50:03]execute_script returns [12:50:03]free content buf [12:50:03]Sock 7.Close socket [12:50:03]Sock 7.Thread stoped [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:34]OFD Sender: No OFD packet to send [13:00:39]OFD Sender: No OFD packet to send [13:00:44]OFD Sender: No OFD packet to send [13:00:49]OFD Sender: No OFD packet to send [13:00:54]OFD Sender: No OFD packet to send [13:00:59]OFD Sender: No OFD packet to send [13:01:04]OFD Sender: No OFD packet to send [13:01:09]OFD Sender: No OFD packet to send [13:01:14]OFD Sender: No OFD packet to send [13:01:19]OFD Sender: No OFD packet to send [13:01:24]OFD Sender: No OFD packet to send [13:01:29]OFD Sender: No OFD packet to send [13:01:34]OFD Sender: No OFD packet to send [13:01:39]OFD Sender: No OFD packet to send [13:01:44]OFD Sender: No OFD packet to send [13:01:49]OFD Sender: No OFD packet to send [13:01:54]OFD Sender: No OFD packet to send [13:01:59]OFD Sender: No OFD packet to send [13:02:04]OFD Sender: No OFD packet to send [13:02:09]OFD Sender: No OFD packet to send [13:02:14]OFD Sender: No OFD packet to send [13:02:19]OFD Sender: No OFD packet to send [13:02:24]OFD Sender: No OFD packet to send [13:02:29]OFD Sender: No OFD packet to send [13:02:34]OFD Sender: No OFD packet to send [13:02:39]OFD Sender: No OFD packet to send [13:02:44]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:51]accept exits with 9 [13:13:51]New connection [13:13:51]New thread 3067100516 created [13:13:51]Thread 3067243876 joined [13:13:51]Waiting for new connection... [13:13:51] Sock 9.Parse request [13:13:51]Sock 9.Check first char [13:13:51]Sock 9.First char is OK [13:13:51]request: POST /json_proto HTTP/1.0 [13:13:51]Method: POST [13:13:51]URL: /json_proto [13:13:51]Method is POST - this is cgi request [13:13:51]url: /json_proto [13:13:51]query_string will be loaded in cgi processing [13:13:51]execute_cgi json_proto POST (null) [13:13:51]execute_cgi path=json_proto method=POST [13:13:51]POST find Content-Length [13:13:51]Host: 172.17.50.4:8080 [13:13:51]Content-Length: 632 [13:13:51]Content-Type: application/json [13:13:51] [13:13:51]POST finish read [13:13:51]Found Content-Length = 632 [13:13:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134790", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:51]execute_script... [13:13:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134790", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:13:51]POST & json_proto [13:13:51]process_json_proto [13:13:51]json parsed OK: [13:13:51]protocol is kg_v1.0 [13:13:51]action value=close_receipt [13:13:51]process_action close_receipt [13:13:51]cmd_close_receipt [13:13:51]MH_GetDate [13:13:51]Write to MH i2c: F0 00 00 C1 18 C8 [13:13:51]Write i2c OK [13:13:51]MH_I2C_Read... [13:13:51]Read from MH i2c: F0 [13:13:51]MH_I2C_Read... [13:13:51]Read from MH i2c: F0 09 00 [13:13:51]MH_I2C_Read... [13:13:51]Read from MH i2c: F0 09 00 C1 18 00 15 02 15 67 1D BB 13 67 B6 [13:13:51]GetLastDocTimeStamp 1729428606 [13:13:51]current date 1729430037 [13:13:51]FM_GetShiftState [13:13:51]SAM_PROTO_GetShiftState [13:13:51]wFMCommunicate request_size=4 [13:13:51]MH_SAM_APDU [13:13:51]CAPDU: 80 13 01 00 [13:13:51]Write to MH i2c: E2 08 00 C2 18 80 13 01 00 00 00 00 00 57 [13:13:51]Write i2c OK [13:13:51]MH_I2C_Read... [13:13:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:51]Read from MH i2c: E2 [13:13:51]MH_I2C_Read... [13:13:51]Read from MH i2c: E2 0E 00 [13:13:51]MH_I2C_Read... [13:13:51]Read from MH i2c: E2 0E 00 C2 18 00 09 00 01 51 49 14 67 00 00 00 00 90 00 78 [13:13:51]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:13:51]wFMCommunicate OK [13:13:51]SAM_PROTO_GetShiftState done [13:13:51]FM_GetShiftState done [13:13:51]opened in 1729382737 [13:13:51]opened+sec_in_day 1729469137 [13:13:51]quantity*price = 6000 [13:13:51]sum+1 = 6001 [13:13:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 35 20.10.2024 13:13 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24265 ФПД: 146310820793547 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T131357&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24265&fm=146310820793547&tin=02508201610067®Number=0000000000098120&sum=6000 0 [13:13:52]StoreToDocumentArchive [13:13:52]shift 460 fd 24265 [13:13:52]save to /storage/0460/doc_00024265 [13:13:52]save last doc name /storage/0460/doc_00024265 to /storage/kkm_last_doc_name [13:13:52]save OK [13:13:52]Clear old archive folders... [13:13:52]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:13:52]tlvbuf is 021F9530 [13:13:52]SAM_PROTO_ClearQueue [13:13:52]wFMCommunicate request_size=4 [13:13:52]MH_SAM_APDU [13:13:52]CAPDU: 80 09 00 00 [13:13:52]Write to MH i2c: E2 08 00 CF 18 80 09 00 00 00 00 00 00 59 [13:13:52]Write i2c OK [13:13:52]MH_I2C_Read... [13:13:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:13:52]Read from MH i2c: E2 [13:13:52]MH_I2C_Read... [13:13:52]Read from MH i2c: E2 03 00 [13:13:52]MH_I2C_Read... [13:13:52]Read from MH i2c: E2 03 00 CF 18 00 90 00 5B [13:13:52]RAPDU: 90 00 [13:13:52]wFMCommunicate OK [13:13:52]SAM_PROTO_ClearQueue done [13:13:52]KKMCreateOFDPacket [13:13:52]OFDProtocolAddRootSTLVToBuf [13:13:52]FM_MakeSignedData [13:13:52]FM_MakeSignedData [13:13:52]SAM_PROTO_SignData [13:13:52]wFMCommunicate request_size=4 [13:13:52]MH_SAM_APDU [13:13:52]CAPDU: 80 0D 01 02 [13:13:52]Write to MH i2c: E2 08 00 D0 18 80 0D 01 02 00 00 00 00 61 [13:13:52]Write i2c OK [13:13:52]MH_I2C_Read... [13:13:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:13:52]Read from MH i2c: E2 [13:13:52]MH_I2C_Read... [13:13:52]Read from MH i2c: E2 03 00 [13:13:52]MH_I2C_Read... [13:13:52]Read from MH i2c: E2 03 00 D0 18 00 90 00 5C [13:13:52]RAPDU: 90 00 [13:13:52]wFMCommunicate OK [13:13:52]wFMCommunicate request_size=255 [13:13:52]MH_SAM_APDU [13:13:52]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 15 02 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [13:13:52]Write to MH i2c: E2 02 01 D1 18 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 15 02 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 35 [13:13:52]Write i2c OK [13:13:52]MH_I2C_Read... [13:13:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:53]Read from MH i2c: E2 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 03 00 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 03 00 D1 18 00 90 00 5D [13:13:53]RAPDU: 90 00 [13:13:53]wFMCommunicate OK [13:13:53]wFMCommunicate request_size=30 [13:13:53]MH_SAM_APDU [13:13:53]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 C9 5E 00 00 35 04 06 00 85 11 A4 80 0C CB [13:13:53]Write to MH i2c: E2 21 00 D2 18 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 C9 5E 00 00 35 04 06 00 85 11 A4 80 0C CB 00 00 0F [13:13:53]Write i2c OK [13:13:53]MH_I2C_Read... [13:13:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:13:53]Read from MH i2c: E2 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 03 00 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 03 00 D2 18 00 90 00 5E [13:13:53]RAPDU: 90 00 [13:13:53]wFMCommunicate OK [13:13:53]wFMCommunicate request_size=4 [13:13:53]MH_SAM_APDU [13:13:53]CAPDU: 80 0D 03 02 [13:13:53]Write to MH i2c: E2 08 00 D3 18 80 0D 03 02 00 00 00 00 66 [13:13:53]Write i2c OK [13:13:53]MH_I2C_Read... [13:13:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:13:53]Read from MH i2c: E2 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 0B 00 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 0B 00 D3 18 00 01 F3 67 55 0C B9 8C EB 90 00 53 [13:13:53]RAPDU: 01 F3 67 55 0C B9 8C EB 90 00 [13:13:53]wFMCommunicate OK [13:13:53]SAM_PROTO_SignData done [13:13:53]FM_MakeSignedData done [13:13:53]CreateOFDProtocolMessage [13:13:53]wFMCommunicate request_size=4 [13:13:53]MH_SAM_APDU [13:13:53]CAPDU: 80 11 00 00 [13:13:53]Write to MH i2c: E2 08 00 D4 18 80 11 00 00 00 00 00 00 66 [13:13:53]Write i2c OK [13:13:53]MH_I2C_Read... [13:13:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:53]Read from MH i2c: E2 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 17 00 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: E2 17 00 D4 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B3 [13:13:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:13:53]wFMCommunicate OK [13:13:53]CreateOFDProtocolMessage done [13:13:53]OFDSenderStorePacket 24265 [13:13:53]StoreOFDPacket docnum=24265 [13:13:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 80 87 1B 01 51 E1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 15 02 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C9 5E 00 00 35 04 06 00 85 11 A4 80 0C CB 01 F3 67 55 0C B9 8C EB [13:13:53]CheckFolder [13:13:53]dirname=/storage/ofd_packets [13:13:53]CheckFolder done [13:13:53]ProducePacketName [13:13:53]name=ofd_packets/00024265 [13:13:53]NVStorageSaveData ofd_packets/00024265 [13:13:53]File name is /storage/ofd_packets/00024265 [13:13:53]Write 321 bytes [13:13:53]NVStorageSaveData done [13:13:53]OFDSenderStorePacket done [13:13:53]KKMCreateOFDPacket done [13:13:53]NVStorageSaveData kkm_last_timestamp [13:13:53]File name is /storage/kkm_last_timestamp [13:13:53]Write 4 bytes [13:13:53]NVStorageSaveData done [13:13:53]ExternCall_PrintAddStr [13:13:53]wPrintStart [13:13:53]Write to MH i2c: 01 00 00 D5 18 ED [13:13:53]Write i2c OK [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: 01 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: 01 07 00 [13:13:53]MH_I2C_Read... [13:13:53]Read from MH i2c: 01 07 00 D5 18 00 00 00 00 00 FF 0F 02 [13:13:53]RasterBufferAndPrint [13:13:53]line Счет N : (3)134790 [13:13:53]line ИНН: 02508201610067 [13:13:53]line Контрольно-Кассовый Чек [13:13:53]line ПРОДАЖА [13:13:53]line Товар: 4700025313937 [13:13:53]line ВОДКА МЯГКАЯ 0,1л [13:13:53]line 1.000 * 60.00 [13:13:53]line = 60.00 [13:13:53]line НДС 12% НСП 1% [13:13:53]line > о реализуемом товаре [13:13:53]line ИТОГО: 60.00 [13:13:53]line НСП 1% : 0.53 [13:13:53]line НДС 12% : 6.37 [13:13:53]line Наличными: 60.00 [13:13:53]line Безнал.: 0.00 [13:13:53]line Место: АЗС № 85 "Партнер Нефть" [13:13:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:13:53]line СНО: Общий режим [13:13:53]line Чек 35 20.10.2024 13:13 [13:13:53]line Смена: 460 ФФД: 1.0 [13:13:53]line ЗНМ: 0300000166 [13:13:53]line РНМ: 0000000000098120 [13:13:53]line Версия ККМ: 001 [13:13:53]line ФМ: 0000000000965420 [13:13:53]line ФД: 24265 [13:13:53]line ФПД: 146310820793547 [13:13:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T131357&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24265&fm=146310820793547&tin=02508201610067®Number=0000000000098120&sum=6000 [13:13:53]OFD Sender: Processing packet 24265 [packets to send 5, broken 4] [13:13:53]ProducePacketName [13:13:53]name=ofd_packets/00024265 [13:13:53]OFD Sender: To server: pG, [13:13:53]CommunicateWithHost lk.salyk.kg:30040 [13:13:53]ConnectInit lk.salyk.kg [13:13:53]line 0 [13:13:53]written 0, free lines is 4095 [13:13:53]Connected sock=10 [13:13:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 80 87 1B 01 51 E1 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 15 02 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C9 5E 00 00 35 04 06 00 85 11 A4 80 0C CB 01 F3 67 55 0C B9 8C EB [13:13:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 29 79 47 00 D6 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 C9 5E 00 00 F4 03 04 00 AD AD 14 67 B6 04 01 00 00 82 EB 60 46 EF C8 BB B0 [13:13:54]CommunicateWithHost err = 0 [13:13:54]CheckOFDResponse [13:13:54]1017 (14) - 77093643461234 [13:13:54]1041 (16) - 0000000000965420 [13:13:54]1040 (4) - 24265 [13:13:54]1012 (4) - 20.10.2024 07:13 [13:13:54]1206 (1) - 0 [13:13:54]OFD Sender: Remove packet 24265 [13:13:54]ProducePacketName [13:13:54]name=ofd_packets/00024265 [13:13:54]NVStorageDeleteData [13:13:54]Write to MH i2c: 01 00 00 FD 18 15 [13:13:54]Write i2c OK [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: 01 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: 01 07 00 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: 01 07 00 FD 18 00 00 00 00 00 24 0D 4D [13:13:54]RasterBufferAndPrint [13:13:54]line [13:13:54]line [13:13:54]line [13:13:54]line [13:13:54]line [13:13:54]written 0, free lines is 3370 [13:13:54]process_action close_receipt done [13:13:54]requested_data is exist [13:13:54]produce_requested_data [13:13:54]requested_item fm.sn is exist - process it [13:13:54]wFMCommunicate request_size=4 [13:13:54]MH_SAM_APDU [13:13:54]CAPDU: 80 11 00 00 [13:13:54]Write to MH i2c: E2 08 00 04 19 80 11 00 00 00 00 00 00 97 [13:13:54]Write i2c OK [13:13:54]MH_I2C_Read... [13:13:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:13:54]Read from MH i2c: E2 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 17 00 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 17 00 04 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E4 [13:13:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:13:54]wFMCommunicate OK [13:13:54]requested_item fd.num is exist - process it [13:13:54]SAM_PROTO_GetFieldsCounters [13:13:54]wFMCommunicate request_size=4 [13:13:54]MH_SAM_APDU [13:13:54]CAPDU: 80 13 00 00 [13:13:54]Write to MH i2c: E2 08 00 05 19 80 13 00 00 00 00 00 00 9A [13:13:54]Write i2c OK [13:13:54]MH_I2C_Read... [13:13:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:13:54]Read from MH i2c: E2 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 62 00 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 62 00 05 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 0D [13:13:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 C9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:13:54]wFMCommunicate OK [13:13:54]SAM_PROTO_GetFieldsCounters done [13:13:54]requested_item shift.num is exist - process it [13:13:54]requested_item shift.opened is exist - process it [13:13:54]req_shift_opened [13:13:54]FM_GetShiftState [13:13:54]SAM_PROTO_GetShiftState [13:13:54]wFMCommunicate request_size=4 [13:13:54]MH_SAM_APDU [13:13:54]CAPDU: 80 13 01 00 [13:13:54]Write to MH i2c: E2 08 00 06 19 80 13 01 00 00 00 00 00 9C [13:13:54]Write i2c OK [13:13:54]MH_I2C_Read... [13:13:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:13:54]Read from MH i2c: E2 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 0E 00 [13:13:54]MH_I2C_Read... [13:13:54]Read from MH i2c: E2 0E 00 06 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 BD [13:13:54]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:13:54]wFMCommunicate OK [13:13:54]SAM_PROTO_GetShiftState done [13:13:54]FM_GetShiftState done [13:13:54]req_shift_opened done [13:13:54]requested_item shift.open_date is exist - process it [13:13:54]req_shift_open_date [13:13:54]req_shift_open_date done [13:13:54]produce_requested_data done [13:13:54]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24265,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [13:13:54]process_action_free close_receipt [13:13:54]json_value_free [13:13:54]json_value_free done [13:13:54]process_json_proto returns [13:13:54]Send response to host [13:13:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24265,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [13:13:54]free response buf [13:13:54]execute_script done [13:13:54]execute_script returns [13:13:54]free content buf [13:13:54]Sock 9.Close socket [13:13:54]Sock 9.Thread stoped [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:59]OFD Sender: No OFD packet to send [13:17:04]OFD Sender: No OFD packet to send [13:17:09]OFD Sender: No OFD packet to send [13:17:14]OFD Sender: No OFD packet to send [13:17:19]OFD Sender: No OFD packet to send [13:17:24]OFD Sender: No OFD packet to send [13:17:29]OFD Sender: No OFD packet to send [13:17:34]OFD Sender: No OFD packet to send [13:17:39]OFD Sender: No OFD packet to send [13:17:44]OFD Sender: No OFD packet to send [13:17:49]OFD Sender: No OFD packet to send [13:17:54]OFD Sender: No OFD packet to send [13:17:59]OFD Sender: No OFD packet to send [13:18:04]OFD Sender: No OFD packet to send [13:18:09]OFD Sender: No OFD packet to send [13:18:14]OFD Sender: No OFD packet to send [13:18:19]OFD Sender: No OFD packet to send [13:18:24]OFD Sender: No OFD packet to send [13:18:29]OFD Sender: No OFD packet to send [13:18:34]OFD Sender: No OFD packet to send [13:18:39]OFD Sender: No OFD packet to send [13:18:44]OFD Sender: No OFD packet to send [13:18:49]OFD Sender: No OFD packet to send [13:18:54]OFD Sender: No OFD packet to send [13:18:59]OFD Sender: No OFD packet to send [13:19:04]OFD Sender: No OFD packet to send [13:19:09]OFD Sender: No OFD packet to send [13:19:14]OFD Sender: No OFD packet to send [13:19:19]OFD Sender: No OFD packet to send [13:19:24]OFD Sender: No OFD packet to send [13:19:29]OFD Sender: No OFD packet to send [13:19:34]OFD Sender: No OFD packet to send [13:19:39]OFD Sender: No OFD packet to send [13:19:44]OFD Sender: No OFD packet to send [13:19:49]OFD Sender: No OFD packet to send [13:19:54]OFD Sender: No OFD packet to send [13:19:59]OFD Sender: No OFD packet to send [13:20:04]OFD Sender: No OFD packet to send [13:20:09]OFD Sender: No OFD packet to send [13:20:14]OFD Sender: No OFD packet to send [13:20:19]OFD Sender: No OFD packet to send [13:20:24]OFD Sender: No OFD packet to send [13:20:29]OFD Sender: No OFD packet to send [13:20:34]OFD Sender: No OFD packet to send [13:20:39]OFD Sender: No OFD packet to send [13:20:44]OFD Sender: No OFD packet to send [13:20:49]OFD Sender: No OFD packet to send [13:20:54]OFD Sender: No OFD packet to send [13:20:59]OFD Sender: No OFD packet to send [13:21:04]OFD Sender: No OFD packet to send [13:21:09]OFD Sender: No OFD packet to send [13:21:14]OFD Sender: No OFD packet to send [13:21:19]OFD Sender: No OFD packet to send [13:21:24]OFD Sender: No OFD packet to send [13:21:29]OFD Sender: No OFD packet to send [13:21:34]OFD Sender: No OFD packet to send [13:21:39]OFD Sender: No OFD packet to send [13:21:44]OFD Sender: No OFD packet to send [13:21:49]OFD Sender: No OFD packet to send [13:21:54]OFD Sender: No OFD packet to send [13:21:59]OFD Sender: No OFD packet to send [13:22:04]OFD Sender: No OFD packet to send [13:22:09]OFD Sender: No OFD packet to send [13:22:14]OFD Sender: No OFD packet to send [13:22:19]OFD Sender: No OFD packet to send [13:22:24]OFD Sender: No OFD packet to send [13:22:29]OFD Sender: No OFD packet to send [13:22:34]OFD Sender: No OFD packet to send [13:22:39]OFD Sender: No OFD packet to send [13:22:44]OFD Sender: No OFD packet to send [13:22:49]OFD Sender: No OFD packet to send [13:22:54]OFD Sender: No OFD packet to send [13:22:59]OFD Sender: No OFD packet to send [13:23:04]OFD Sender: No OFD packet to send [13:23:09]OFD Sender: No OFD packet to send [13:23:14]OFD Sender: No OFD packet to send [13:23:19]OFD Sender: No OFD packet to send [13:23:24]OFD Sender: No OFD packet to send [13:23:29]OFD Sender: No OFD packet to send [13:23:34]OFD Sender: No OFD packet to send [13:23:39]OFD Sender: No OFD packet to send [13:23:44]OFD Sender: No OFD packet to send [13:23:49]OFD Sender: No OFD packet to send [13:23:54]OFD Sender: No OFD packet to send [13:23:59]OFD Sender: No OFD packet to send [13:24:04]OFD Sender: No OFD packet to send [13:24:09]OFD Sender: No OFD packet to send [13:24:14]OFD Sender: No OFD packet to send [13:24:19]OFD Sender: No OFD packet to send [13:24:24]OFD Sender: No OFD packet to send [13:24: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:10]OFD Sender: No OFD packet to send [13:25:15]OFD Sender: No OFD packet to send [13:25:20]OFD Sender: No OFD packet to send [13:25:25]OFD Sender: No OFD packet to send [13:25:30]OFD Sender: No OFD packet to send [13:25:35]OFD Sender: No OFD packet to send [13:25:40]OFD Sender: No OFD packet to send [13:25:45]OFD Sender: No OFD packet to send [13:25:50]OFD Sender: No OFD packet to send [13:25:55]OFD Sender: No OFD packet to send [13:26:00]OFD Sender: No OFD packet to send [13:26:05]OFD Sender: No OFD packet to send [13:26:10]OFD Sender: No OFD packet to send [13:26:15]OFD Sender: No OFD packet to send [13:26:20]OFD Sender: No OFD packet to send [13:26:25]OFD Sender: No OFD packet to send [13:26:30]OFD Sender: No OFD packet to send [13:26:35]OFD Sender: No OFD packet to send [13:26:40]OFD Sender: No OFD packet to send [13:26:45]OFD Sender: No OFD packet to send [13:26:50]OFD Sender: No OFD packet to send [13:26:55]OFD Sender: No OFD packet to send [13:27:00]OFD Sender: No OFD packet to send [13:27:05]OFD Sender: No OFD packet to send [13:27:10]OFD Sender: No OFD packet to send [13:27:15]OFD Sender: No OFD packet to send [13:27:20]OFD Sender: No OFD packet to send [13:27:25]OFD Sender: No OFD packet to send [13:27:30]OFD Sender: No OFD packet to send [13:27:35]OFD Sender: No OFD packet to send [13:27:40]OFD Sender: No OFD packet to send [13:27:45]OFD Sender: No OFD packet to send [13:27:50]OFD Sender: No OFD packet to send [13:27:55]OFD Sender: No OFD packet to send [13:28:00]OFD Sender: No OFD packet to send [13:28:05]OFD Sender: No OFD packet to send [13:28:10]OFD Sender: No OFD packet to send [13:28:15]OFD Sender: No OFD packet to send [13:28:20]OFD Sender: No OFD packet to send [13:28:25]OFD Sender: No OFD packet to send [13:28:30]OFD Sender: No OFD packet to send [13:28:35]OFD Sender: No OFD packet to send [13:28:40]OFD Sender: No OFD packet to send [13:28:45]OFD Sender: No OFD packet to send [13:28:50]OFD Sender: No OFD packet to send [13:28:55]OFD Sender: No OFD packet to send [13:29:00]OFD Sender: No OFD packet to send [13:29:05]OFD Sender: No OFD packet to send [13:29:10]OFD Sender: No OFD packet to send [13:29:15]OFD Sender: No OFD packet to send [13:29:20]OFD Sender: No OFD packet to send [13:29:25]OFD Sender: No OFD packet to send [13:29:30]OFD Sender: No OFD packet to send [13:29:35]OFD Sender: No OFD packet to send [13:29:40]OFD Sender: No OFD packet to send [13:29:45]OFD Sender: No OFD packet to send [13:29:50]OFD Sender: No OFD packet to send [13:29:55]OFD Sender: No OFD packet to send [13:30:00]OFD Sender: No OFD packet to send [13:30:05]OFD Sender: No OFD packet to send [13:30:10]OFD Sender: No OFD packet to send [13:30:15]OFD Sender: No OFD packet to send [13:30:20]OFD Sender: No OFD packet to send [13:30:25]OFD Sender: No OFD packet to send [13:30:30]OFD Sender: No OFD packet to send [13:30:35]OFD Sender: No OFD packet to send [13:30:40]OFD Sender: No OFD packet to send [13:30:45]OFD Sender: No OFD packet to send [13:30:50]OFD Sender: No OFD packet to send [13:30:55]OFD Sender: No OFD packet to send [13:31:00]OFD Sender: No OFD packet to send [13:31:05]OFD Sender: No OFD packet to send [13:31:10]OFD Sender: No OFD packet to send [13:31:15]OFD Sender: No OFD packet to send [13:31:20]OFD Sender: No OFD packet to send [13:31:25]OFD Sender: No OFD packet to send [13:31:30]OFD Sender: No OFD packet to send [13:31:35]OFD Sender: No OFD packet to send [13:31:40]OFD Sender: No OFD packet to send [13:31:45]OFD Sender: No OFD packet to send [13:31:50]OFD Sender: No OFD packet to send [13:31:55]OFD Sender: No OFD packet to send [13:32:00]OFD Sender: No OFD packet to send [13:32:05]OFD Sender: No OFD packet to send [13:32:10]OFD Sender: No OFD packet to send [13:32:15]OFD Sender: No OFD packet to send [13:32:20]OFD Sender: No OFD packet to send [13:32:25]OFD Sender: No OFD packet to send [13:32:30]OFD Sender: No OFD packet to send [13:32:35]OFD Sender: No OFD packet to send [13:32:40]OFD Sender: No OFD packet to send [13:32:45]OFD Sender: No OFD packet to send [13:32:50]OFD Sender: No OFD packet to send [13:32:55]OFD Sender: No OFD packet to send [13:33:00]OFD Sender: No OFD packet to send [13:33:05]OFD Sender: No OFD packet to send [13:33:10]OFD Sender: No OFD packet to send [13:33:15]OFD Sender: No OFD packet to send [13:33:20]OFD Sender: No OFD packet to send [13:33:25]OFD Sender: No OFD packet to send [13:33:30]OFD Sender: No OFD packet to send [13:33:35]OFD Sender: No OFD packet to send [13:33:40]OFD Sender: No OFD packet to send [13:33:45]OFD Sender: No OFD packet to send [13:33:50]OFD Sender: No OFD packet to send [13:33:55]OFD Sender: No OFD packet to send [13:34:00]OFD Sender: No OFD packet to send [13:34:05]OFD Sender: No OFD packet to send [13:34:10]OFD Sender: No OFD packet to send [13:34:15]OFD Sender: No OFD packet to send [13:34:20]OFD Sender: No OFD packet to send [13:34:25]OFD Sender: No OFD packet to send [13:34:30]OFD Sender: No OFD packet to send [13:34:35]OFD Sender: No OFD packet to send [13:34:40]OFD Sender: No OFD packet to send [13:34:45]OFD Sender: No OFD packet to send [13:34:50]OFD Sender: No OFD packet to send [13:34:55]OFD Sender: No OFD packet to send [13:35:00]OFD Sender: No OFD packet to send [13:35:05]OFD Sender: No OFD packet to send [13:35:10]OFD Sender: No OFD packet to send [13:35:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:25]OFD Sender: No OFD packet to send [13:38:30]OFD Sender: No OFD packet to send [13:38:35]OFD Sender: No OFD packet to send [13:38:40]OFD Sender: No OFD packet to send [13:38:45]OFD Sender: No OFD packet to send [13:38:50]OFD Sender: No OFD packet to send [13:38:55]OFD Sender: No OFD packet to send [13:39:00]OFD Sender: No OFD packet to send [13:39:05]OFD Sender: No OFD packet to send [13:39:10]OFD Sender: No OFD packet to send [13:39:15]OFD Sender: No OFD packet to send [13:39:20]OFD Sender: No OFD packet to send [13:39:25]OFD Sender: No OFD packet to send [13:39:30]OFD Sender: No OFD packet to send [13:39:35]OFD Sender: No OFD packet to send [13:39:40]OFD Sender: No OFD packet to send [13:39:45]OFD Sender: No OFD packet to send [13:39:50]OFD Sender: No OFD packet to send [13:39:55]OFD Sender: No OFD packet to send [13:40:00]OFD Sender: No OFD packet to send [13:40:05]OFD Sender: No OFD packet to send [13:40:10]OFD Sender: No OFD packet to send [13:40:15]OFD Sender: No OFD packet to send [13:40:20]OFD Sender: No OFD packet to send [13:40:25]OFD Sender: No OFD packet to send [13:40:30]OFD Sender: No OFD packet to send [13:40:35]OFD Sender: No OFD packet to send [13:40:40]OFD Sender: No OFD packet to send [13:40:45]OFD Sender: No OFD packet to send [13:40:50]OFD Sender: No OFD packet to send [13:40:55]OFD Sender: No OFD packet to send [13:41:00]OFD Sender: No OFD packet to send [13:41:05]OFD Sender: No OFD packet to send [13:41:10]OFD Sender: No OFD packet to send [13:41:10]accept exits with 7 [13:41:10]New connection [13:41:10]New thread 3067243876 created [13:41:10]Thread 3067100516 joined [13:41:10]Waiting for new connection... [13:41:10] Sock 7.Parse request [13:41:10]Sock 7.Check first char [13:41:10]Sock 7.First char is OK [13:41:10]request: POST /json_proto HTTP/1.0 [13:41:10]Method: POST [13:41:10]URL: /json_proto [13:41:10]Method is POST - this is cgi request [13:41:10]url: /json_proto [13:41:10]query_string will be loaded in cgi processing [13:41:10]execute_cgi json_proto POST (null) [13:41:10]execute_cgi path=json_proto method=POST [13:41:10]POST find Content-Length [13:41:10]Host: 172.17.50.4:8080 [13:41:10]Content-Length: 1059 [13:41:10]Content-Type: application/json [13:41:10] [13:41:10]POST finish read [13:41:10]Found Content-Length = 1059 [13:41:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134791", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130057735", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u041F\u043B\u043E\u043C\u0431\u0438\u0440 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:10]execute_script... [13:41: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)134791", "tax_sys" : 0, "items" : [ { "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8683130057735", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u041F\u043B\u043E\u043C\u0431\u0438\u0440 \u0441\u0442\u0430\u043A\u0430", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 194.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:41:10]POST & json_proto [13:41:10]process_json_proto [13:41:10]json parsed OK: [13:41:10]protocol is kg_v1.0 [13:41:10]action value=close_receipt [13:41:10]process_action close_receipt [13:41:10]cmd_close_receipt [13:41:10]MH_GetDate [13:41:10]Write to MH i2c: F0 00 00 07 19 0F [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: F0 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: F0 09 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: F0 09 00 07 19 00 7C 08 15 67 1D BB 13 67 6A [13:41:10]GetLastDocTimeStamp 1729430037 [13:41:10]current date 1729431676 [13:41:10]FM_GetShiftState [13:41:10]SAM_PROTO_GetShiftState [13:41:10]wFMCommunicate request_size=4 [13:41:10]MH_SAM_APDU [13:41:10]CAPDU: 80 13 01 00 [13:41:10]Write to MH i2c: E2 08 00 08 19 80 13 01 00 00 00 00 00 9E [13:41:10]Write i2c OK [13:41:10]MH_I2C_Read... [13:41:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:10]Read from MH i2c: E2 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 0E 00 [13:41:10]MH_I2C_Read... [13:41:10]Read from MH i2c: E2 0E 00 08 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 BF [13:41:10]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:41:10]wFMCommunicate OK [13:41:10]SAM_PROTO_GetShiftState done [13:41:10]FM_GetShiftState done [13:41:10]opened in 1729382737 [13:41:10]opened+sec_in_day 1729469137 [13:41:10]quantity*price = 9900 [13:41:10]sum+1 = 9901 [13:41:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8683130057735 Мороженое Золотой Стандарт Пломбир стака 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 194.00 НСП 1% : 1.72 НДС 12% : 20.60 Наличными: 194.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 36 20.10.2024 13:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24266 ФПД: 258309128890504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134116&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24266&fm=258309128890504&tin=02508201610067®Number=0000000000098120&sum=19400 0 [13:41:11]StoreToDocumentArchive [13:41:11]shift 460 fd 24266 [13:41:11]save to /storage/0460/doc_00024266 [13:41:11]save last doc name /storage/0460/doc_00024266 to /storage/kkm_last_doc_name [13:41:11]save OK [13:41:11]Clear old archive folders... [13:41:11]ProcessDocumentItem done err = 0, tmpTLVsize=441 [13:41:11]tlvbuf is B6F084D0 [13:41:11]SAM_PROTO_ClearQueue [13:41:11]wFMCommunicate request_size=4 [13:41:11]MH_SAM_APDU [13:41:11]CAPDU: 80 09 00 00 [13:41:11]Write to MH i2c: E2 08 00 15 19 80 09 00 00 00 00 00 00 A0 [13:41:11]Write i2c OK [13:41:11]MH_I2C_Read... [13:41:11]Read from MH i2c: E2 [13:41:11]MH_I2C_Read... [13:41:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:41:12]Read from MH i2c: E2 03 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 15 19 00 90 00 A2 [13:41:12]RAPDU: 90 00 [13:41:12]wFMCommunicate OK [13:41:12]SAM_PROTO_ClearQueue done [13:41:12]KKMCreateOFDPacket [13:41:12]OFDProtocolAddRootSTLVToBuf [13:41:12]FM_MakeSignedData [13:41:12]FM_MakeSignedData [13:41:12]SAM_PROTO_SignData [13:41:12]wFMCommunicate request_size=4 [13:41:12]MH_SAM_APDU [13:41:12]CAPDU: 80 0D 01 02 [13:41:12]Write to MH i2c: E2 08 00 16 19 80 0D 01 02 00 00 00 00 A8 [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:41:12]Read from MH i2c: E2 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 16 19 00 90 00 A3 [13:41:12]RAPDU: 90 00 [13:41:12]wFMCommunicate OK [13:41:12]wFMCommunicate request_size=255 [13:41:12]MH_SAM_APDU [13:41:12]CAPDU: 80 0D 02 02 FA 03 00 B9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C [13:41:12]Write to MH i2c: E2 02 01 17 19 80 0D 02 02 FA 00 03 00 B9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 00 00 D7 [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:12]Read from MH i2c: E2 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 17 19 00 90 00 A4 [13:41:12]RAPDU: 90 00 [13:41:12]wFMCommunicate OK [13:41:12]wFMCommunicate request_size=200 [13:41:12]MH_SAM_APDU [13:41:12]CAPDU: 80 0D 02 02 C3 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 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 7C 08 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CA 5E 00 00 35 04 06 00 EA EE 47 DE A8 88 [13:41:12]Write to MH i2c: E2 CB 00 18 19 80 0D 02 02 C3 00 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 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 7C 08 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CA 5E 00 00 35 04 06 00 EA EE 47 DE A8 88 00 00 CB [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:41:12]Read from MH i2c: E2 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 03 00 18 19 00 90 00 A5 [13:41:12]RAPDU: 90 00 [13:41:12]wFMCommunicate OK [13:41:12]wFMCommunicate request_size=4 [13:41:12]MH_SAM_APDU [13:41:12]CAPDU: 80 0D 03 02 [13:41:12]Write to MH i2c: E2 08 00 19 19 80 0D 03 02 00 00 00 00 AD [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:41:12]Read from MH i2c: E2 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 0B 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 0B 00 19 19 00 DD 57 A5 F6 50 0C 46 1F 90 00 3E [13:41:12]RAPDU: DD 57 A5 F6 50 0C 46 1F 90 00 [13:41:12]wFMCommunicate OK [13:41:12]SAM_PROTO_SignData done [13:41:12]FM_MakeSignedData done [13:41:12]CreateOFDProtocolMessage [13:41:12]wFMCommunicate request_size=4 [13:41:12]MH_SAM_APDU [13:41:12]CAPDU: 80 11 00 00 [13:41:12]Write to MH i2c: E2 08 00 1A 19 80 11 00 00 00 00 00 00 AD [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:12]Read from MH i2c: E2 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 17 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: E2 17 00 1A 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FA [13:41:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:41:12]wFMCommunicate OK [13:41:12]CreateOFDProtocolMessage done [13:41:12]OFDSenderStorePacket 24266 [13:41:12]StoreOFDPacket docnum=24266 [13:41:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 CD 01 00 00 65 3D C5 01 B5 16 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 7C 08 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CA 5E 00 00 35 04 06 00 EA EE 47 DE A8 88 DD 57 A5 F6 50 0C 46 1F [13:41:12]CheckFolder [13:41:12]dirname=/storage/ofd_packets [13:41:12]CheckFolder done [13:41:12]ProducePacketName [13:41:12]name=ofd_packets/00024266 [13:41:12]NVStorageSaveData ofd_packets/00024266 [13:41:12]File name is /storage/ofd_packets/00024266 [13:41:12]Write 491 bytes [13:41:12]NVStorageSaveData done [13:41:12]OFDSenderStorePacket done [13:41:12]KKMCreateOFDPacket done [13:41:12]NVStorageSaveData kkm_last_timestamp [13:41:12]File name is /storage/kkm_last_timestamp [13:41:12]Write 4 bytes [13:41:12]NVStorageSaveData done [13:41:12]ExternCall_PrintAddStr [13:41:12]wPrintStart [13:41:12]Write to MH i2c: 01 00 00 1B 19 34 [13:41:12]Write i2c OK [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: 01 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: 01 07 00 [13:41:12]MH_I2C_Read... [13:41:12]Read from MH i2c: 01 07 00 1B 19 00 00 00 00 00 FF 0F 49 [13:41:12]RasterBufferAndPrint [13:41:12]line Счет N : (3)134791 [13:41:12]line ИНН: 02508201610067 [13:41:12]line Контрольно-Кассовый Чек [13:41:12]line ПРОДАЖА [13:41:12]line Товар: 4870022003305 [13:41:12]line Напиток Gorilla эн нат ж/б 0,5/0,45л [13:41:12]line 1.000 * 99.00 [13:41:12]line = 99.00 [13:41:12]line НДС 12% НСП 1% [13:41:12]line > о реализуемом товаре [13:41:12]line Товар: 8683130057735 [13:41:12]line Мороженое Золотой Стандарт Пломбир стака [13:41:12]line 1.000 * 95.00 [13:41:12]line = 95.00 [13:41:12]line НДС 12% НСП 1% [13:41:12]line > о реализуемом товаре [13:41:12]line ИТОГО: 194.00 [13:41:12]line НСП 1% : 1.72 [13:41:12]line НДС 12% : 20.60 [13:41:12]line Наличными: 194.00 [13:41:12]line Безнал.: 0.00 [13:41:12]line Место: АЗС № 85 "Партнер Нефть" [13:41:12]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:41:12]line СНО: Общий режим [13:41:12]line Чек 36 20.10.2024 13:41 [13:41:12]line Смена: 460 ФФД: 1.0 [13:41:12]line ЗНМ: 0300000166 [13:41:12]line РНМ: 0000000000098120 [13:41:12]line Версия ККМ: 001 [13:41:12]line ФМ: 0000000000965420 [13:41:12]line ФД: 24266 [13:41:12]line ФПД: 258309128890504 [13:41:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134116&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24266&fm=258309128890504&tin=02508201610067®Number=0000000000098120&sum=19400 [13:41:12]line 0 [13:41:12]written 0, free lines is 4095 [13:41:13]OFD Sender: Processing packet 24266 [packets to send 5, broken 4] [13:41:13]ProducePacketName [13:41:13]name=ofd_packets/00024266 [13:41:13]OFD Sender: To server: pG, [13:41:13]CommunicateWithHost lk.salyk.kg:30040 [13:41:13]ConnectInit lk.salyk.kg [13:41:13]Connected sock=10 [13:41:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 CD 01 00 00 65 3D C5 01 B5 16 5A 03 01 00 03 00 B9 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 90 00 8A 04 0D 00 38 36 38 33 31 33 30 30 35 37 37 33 35 06 04 4C 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 9F D0 BB D0 BE D0 BC D0 B1 D0 B8 D1 80 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 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 C8 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 08 00 00 00 00 07 04 06 00 C8 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 7C 08 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CA 5E 00 00 35 04 06 00 EA EE 47 DE A8 88 DD 57 A5 F6 50 0C 46 1F [13:41:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 56 ED 47 00 A4 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CA 5E 00 00 F4 03 04 00 14 B4 14 67 B6 04 01 00 00 F5 6B B0 FB 74 85 DC 92 [13:41:13]CommunicateWithHost err = 0 [13:41:13]CheckOFDResponse [13:41:13]1017 (14) - 77093643461234 [13:41:13]1041 (16) - 0000000000965420 [13:41:13]1040 (4) - 24266 [13:41:13]1012 (4) - 20.10.2024 07:41 [13:41:13]1206 (1) - 0 [13:41:13]OFD Sender: Remove packet 24266 [13:41:13]ProducePacketName [13:41:13]name=ofd_packets/00024266 [13:41:13]NVStorageDeleteData [13:41:13]Write to MH i2c: 01 00 00 4B 19 64 [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: 01 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: 01 07 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: 01 07 00 4B 19 00 00 00 00 00 C7 0C 3E [13:41:13]RasterBufferAndPrint [13:41:13]line [13:41:13]line [13:41:13]line [13:41:13]line [13:41:13]line [13:41:13]written 0, free lines is 3277 [13:41:13]process_action close_receipt done [13:41:13]requested_data is exist [13:41:13]produce_requested_data [13:41:13]requested_item fm.sn is exist - process it [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 11 00 00 [13:41:13]Write to MH i2c: E2 08 00 52 19 80 11 00 00 00 00 00 00 E5 [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 17 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 17 00 52 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 32 [13:41:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:41:13]wFMCommunicate OK [13:41:13]requested_item fd.num is exist - process it [13:41:13]SAM_PROTO_GetFieldsCounters [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 13 00 00 [13:41:13]Write to MH i2c: E2 08 00 53 19 80 13 00 00 00 00 00 00 E8 [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 62 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 62 00 53 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 5F [13:41:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:41:13]wFMCommunicate OK [13:41:13]SAM_PROTO_GetFieldsCounters done [13:41:13]requested_item shift.num is exist - process it [13:41:13]requested_item shift.opened is exist - process it [13:41:13]req_shift_opened [13:41:13]FM_GetShiftState [13:41:13]SAM_PROTO_GetShiftState [13:41:13]wFMCommunicate request_size=4 [13:41:13]MH_SAM_APDU [13:41:13]CAPDU: 80 13 01 00 [13:41:13]Write to MH i2c: E2 08 00 54 19 80 13 01 00 00 00 00 00 EA [13:41:13]Write i2c OK [13:41:13]MH_I2C_Read... [13:41:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:41:13]Read from MH i2c: E2 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 0E 00 [13:41:13]MH_I2C_Read... [13:41:13]Read from MH i2c: E2 0E 00 54 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 0B [13:41:13]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:41:13]wFMCommunicate OK [13:41:13]SAM_PROTO_GetShiftState done [13:41:13]FM_GetShiftState done [13:41:13]req_shift_opened done [13:41:13]requested_item shift.open_date is exist - process it [13:41:13]req_shift_open_date [13:41:13]req_shift_open_date done [13:41:13]produce_requested_data done [13:41:13]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24266,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [13:41:13]process_action_free close_receipt [13:41:13]json_value_free [13:41:13]json_value_free done [13:41:13]process_json_proto returns [13:41:13]Send response to host [13:41:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24266,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [13:41:13]free response buf [13:41:13]execute_script done [13:41:13]execute_script returns [13:41:13]free content buf [13:41:13]Sock 7.Close socket [13:41:13]Sock 7.Thread stoped [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:08]OFD Sender: No OFD packet to send [13:45:13]OFD Sender: No OFD packet to send [13:45:19]OFD Sender: No OFD packet to send [13:45:24]OFD Sender: No OFD packet to send [13:45:29]OFD Sender: No OFD packet to send [13:45:34]OFD Sender: No OFD packet to send [13:45:39]OFD Sender: No OFD packet to send [13:45:44]OFD Sender: No OFD packet to send [13:45:47]accept exits with 9 [13:45:47]New connection [13:45:47]New thread 3067100516 created [13:45:47]Thread 3067243876 joined [13:45:47]Waiting for new connection... [13:45:47] Sock 9.Parse request [13:45:47]Sock 9.Check first char [13:45:47]Sock 9.First char is OK [13:45:47]request: POST /json_proto HTTP/1.0 [13:45:47]Method: POST [13:45:47]URL: /json_proto [13:45:47]Method is POST - this is cgi request [13:45:47]url: /json_proto [13:45:47]query_string will be loaded in cgi processing [13:45:47]execute_cgi json_proto POST (null) [13:45:47]execute_cgi path=json_proto method=POST [13:45:47]POST find Content-Length [13:45:47]Host: 172.17.50.4:8080 [13:45:47]Content-Length: 623 [13:45:47]Content-Type: application/json [13:45:47] [13:45:47]POST finish read [13:45:47]Found Content-Length = 623 [13:45:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134792", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:45:47]execute_script... [13:45: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)134792", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:45:47]POST & json_proto [13:45:47]process_json_proto [13:45:47]json parsed OK: [13:45:47]protocol is kg_v1.0 [13:45:47]action value=close_receipt [13:45:47]process_action close_receipt [13:45:47]cmd_close_receipt [13:45:47]MH_GetDate [13:45:47]Write to MH i2c: F0 00 00 55 19 5D [13:45:47]Write i2c OK [13:45:47]MH_I2C_Read... [13:45:47]Read from MH i2c: F0 [13:45:47]MH_I2C_Read... [13:45:47]Read from MH i2c: F0 09 00 [13:45:47]MH_I2C_Read... [13:45:47]Read from MH i2c: F0 09 00 55 19 00 91 09 15 67 1D BB 13 67 CE [13:45:47]GetLastDocTimeStamp 1729431676 [13:45:47]current date 1729431953 [13:45:47]FM_GetShiftState [13:45:47]SAM_PROTO_GetShiftState [13:45:47]wFMCommunicate request_size=4 [13:45:47]MH_SAM_APDU [13:45:47]CAPDU: 80 13 01 00 [13:45:47]Write to MH i2c: E2 08 00 56 19 80 13 01 00 00 00 00 00 EC [13:45:47]Write i2c OK [13:45:47]MH_I2C_Read... [13:45:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:47]Read from MH i2c: E2 [13:45:47]MH_I2C_Read... [13:45:47]Read from MH i2c: E2 0E 00 [13:45:47]MH_I2C_Read... [13:45:47]Read from MH i2c: E2 0E 00 56 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 0D [13:45:47]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:45:47]wFMCommunicate OK [13:45:47]SAM_PROTO_GetShiftState done [13:45:47]FM_GetShiftState done [13:45:47]opened in 1729382737 [13:45:47]opened+sec_in_day 1729469137 [13:45:47]quantity*price = 14400 [13:45:47]sum+1 = 14401 [13:45:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 37 20.10.2024 13:45 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24267 ФПД: 38873475840215 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134553&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24267&fm=38873475840215&tin=02508201610067®Number=0000000000098120&sum=14400 0 [13:45:48]StoreToDocumentArchive [13:45:48]shift 460 fd 24267 [13:45:48]save to /storage/0460/doc_00024267 [13:45:48]save last doc name /storage/0460/doc_00024267 to /storage/kkm_last_doc_name [13:45:48]save OK [13:45:48]Clear old archive folders... [13:45:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:45:48]tlvbuf is B6EEFA40 [13:45:48]SAM_PROTO_ClearQueue [13:45:48]wFMCommunicate request_size=4 [13:45:48]MH_SAM_APDU [13:45:48]CAPDU: 80 09 00 00 [13:45:48]Write to MH i2c: E2 08 00 63 19 80 09 00 00 00 00 00 00 EE [13:45:48]Write i2c OK [13:45:48]MH_I2C_Read... [13:45:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:45:48]Read from MH i2c: E2 [13:45:48]MH_I2C_Read... [13:45:48]Read from MH i2c: E2 03 00 [13:45:48]MH_I2C_Read... [13:45:48]Read from MH i2c: E2 03 00 63 19 00 90 00 F0 [13:45:48]RAPDU: 90 00 [13:45:48]wFMCommunicate OK [13:45:48]SAM_PROTO_ClearQueue done [13:45:48]KKMCreateOFDPacket [13:45:48]OFDProtocolAddRootSTLVToBuf [13:45:48]FM_MakeSignedData [13:45:48]FM_MakeSignedData [13:45:48]SAM_PROTO_SignData [13:45:48]wFMCommunicate request_size=4 [13:45:48]MH_SAM_APDU [13:45:48]CAPDU: 80 0D 01 02 [13:45:48]Write to MH i2c: E2 08 00 64 19 80 0D 01 02 00 00 00 00 F6 [13:45:48]Write i2c OK [13:45:48]MH_I2C_Read... [13:45:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:45:48]Read from MH i2c: E2 [13:45:48]MH_I2C_Read... [13:45:48]Read from MH i2c: E2 03 00 [13:45:48]MH_I2C_Read... [13:45:48]Read from MH i2c: E2 03 00 64 19 00 90 00 F1 [13:45:48]RAPDU: 90 00 [13:45:48]wFMCommunicate OK [13:45:48]wFMCommunicate request_size=255 [13:45:48]MH_SAM_APDU [13:45:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 91 09 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 [13:45:48]Write to MH i2c: E2 02 01 65 19 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 91 09 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 00 00 FE [13:45:48]Write i2c OK [13:45:48]MH_I2C_Read... [13:45:49]OFD Sender: No OFD packet to send [13:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:49]Read from MH i2c: E2 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 03 00 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 03 00 65 19 00 90 00 F2 [13:45:49]RAPDU: 90 00 [13:45:49]wFMCommunicate OK [13:45:49]wFMCommunicate request_size=34 [13:45:49]MH_SAM_APDU [13:45:49]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CB 5E 00 00 35 04 06 00 23 5A EF B7 F8 D7 [13:45:49]Write to MH i2c: E2 25 00 66 19 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CB 5E 00 00 35 04 06 00 23 5A EF B7 F8 D7 00 00 CF [13:45:49]Write i2c OK [13:45:49]MH_I2C_Read... [13:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:45:49]Read from MH i2c: E2 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 03 00 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 03 00 66 19 00 90 00 F3 [13:45:49]RAPDU: 90 00 [13:45:49]wFMCommunicate OK [13:45:49]wFMCommunicate request_size=4 [13:45:49]MH_SAM_APDU [13:45:49]CAPDU: 80 0D 03 02 [13:45:49]Write to MH i2c: E2 08 00 67 19 80 0D 03 02 00 00 00 00 FB [13:45:49]Write i2c OK [13:45:49]MH_I2C_Read... [13:45:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:45:49]Read from MH i2c: E2 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 0B 00 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 0B 00 67 19 00 24 5D 47 97 85 12 CE D0 90 00 90 [13:45:49]RAPDU: 24 5D 47 97 85 12 CE D0 90 00 [13:45:49]wFMCommunicate OK [13:45:49]SAM_PROTO_SignData done [13:45:49]FM_MakeSignedData done [13:45:49]CreateOFDProtocolMessage [13:45:49]wFMCommunicate request_size=4 [13:45:49]MH_SAM_APDU [13:45:49]CAPDU: 80 11 00 00 [13:45:49]Write to MH i2c: E2 08 00 68 19 80 11 00 00 00 00 00 00 FB [13:45:49]Write i2c OK [13:45:49]MH_I2C_Read... [13:45:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:49]Read from MH i2c: E2 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 17 00 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: E2 17 00 68 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 48 [13:45:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:45:49]wFMCommunicate OK [13:45:49]CreateOFDProtocolMessage done [13:45:49]OFDSenderStorePacket 24267 [13:45:49]StoreOFDPacket docnum=24267 [13:45:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 95 59 1F 01 06 7F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 91 09 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CB 5E 00 00 35 04 06 00 23 5A EF B7 F8 D7 24 5D 47 97 85 12 CE D0 [13:45:49]CheckFolder [13:45:49]dirname=/storage/ofd_packets [13:45:49]CheckFolder done [13:45:49]ProducePacketName [13:45:49]name=ofd_packets/00024267 [13:45:49]NVStorageSaveData ofd_packets/00024267 [13:45:49]File name is /storage/ofd_packets/00024267 [13:45:49]Write 325 bytes [13:45:49]NVStorageSaveData done [13:45:49]OFDSenderStorePacket done [13:45:49]KKMCreateOFDPacket done [13:45:49]NVStorageSaveData kkm_last_timestamp [13:45:49]File name is /storage/kkm_last_timestamp [13:45:49]Write 4 bytes [13:45:49]NVStorageSaveData done [13:45:49]ExternCall_PrintAddStr [13:45:49]wPrintStart [13:45:49]Write to MH i2c: 01 00 00 69 19 82 [13:45:49]Write i2c OK [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: 01 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: 01 07 00 [13:45:49]MH_I2C_Read... [13:45:49]Read from MH i2c: 01 07 00 69 19 00 00 00 00 00 FF 0F 97 [13:45:49]RasterBufferAndPrint [13:45:49]line Счет N : (3)134792 [13:45:49]line ИНН: 02508201610067 [13:45:49]line Контрольно-Кассовый Чек [13:45:49]line ПРОДАЖА [13:45:49]line Товар: 48743587 [13:45:49]line Сигареты Winston XStyle Silver [13:45:49]line 1.000 * 144.00 [13:45:49]line = 144.00 [13:45:49]line НДС 12% НСП 1% [13:45:49]line > о реализуемом товаре [13:45:49]line ИТОГО: 144.00 [13:45:49]line НСП 1% : 1.27 [13:45:49]line НДС 12% : 15.29 [13:45:49]line Наличными: 144.00 [13:45:49]line Безнал.: 0.00 [13:45:49]line Место: АЗС № 85 "Партнер Нефть" [13:45:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:45:49]line СНО: Общий режим [13:45:49]line Чек 37 20.10.2024 13:45 [13:45:49]line Смена: 460 ФФД: 1.0 [13:45:49]line ЗНМ: 0300000166 [13:45:49]line РНМ: 0000000000098120 [13:45:49]line Версия ККМ: 001 [13:45:49]line ФМ: 0000000000965420 [13:45:49]line ФД: 24267 [13:45:49]line ФПД: 38873475840215 [13:45:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T134553&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24267&fm=38873475840215&tin=02508201610067®Number=0000000000098120&sum=14400 [13:45:49]line 0 [13:45:49]OFD Sender: Processing packet 24267 [packets to send 5, broken 4] [13:45:49]ProducePacketName [13:45:49]name=ofd_packets/00024267 [13:45:49]OFD Sender: To server: pG, [13:45:49]CommunicateWithHost lk.salyk.kg:30040 [13:45:49]ConnectInit lk.salyk.kg [13:45:49]written 0, free lines is 4095 [13:45:49]Connected sock=10 [13:45:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 95 59 1F 01 06 7F 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 91 09 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CB 5E 00 00 35 04 06 00 23 5A EF B7 F8 D7 24 5D 47 97 85 12 CE D0 [13:45:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 FB 49 47 00 B7 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 36 35 34 32 30 10 04 04 00 CB 5E 00 00 F4 03 04 00 29 B5 14 67 B6 04 01 00 00 3C 83 79 60 1B 4E 01 DC [13:45:49]CommunicateWithHost err = 0 [13:45:49]CheckOFDResponse [13:45:49]1017 (14) - 77093643461234 [13:45:49]1041 (16) - 0000000000965420 [13:45:49]1040 (4) - 24267 [13:45:49]1012 (4) - 20.10.2024 07:45 [13:45:49]1206 (1) - 0 [13:45:49]OFD Sender: Remove packet 24267 [13:45:49]ProducePacketName [13:45:49]name=ofd_packets/00024267 [13:45:49]NVStorageDeleteData [13:45:50]Write to MH i2c: 01 00 00 92 19 AB [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: 01 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: 01 07 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: 01 07 00 92 19 00 00 00 00 00 02 0D C1 [13:45:50]RasterBufferAndPrint [13:45:50]line [13:45:50]line [13:45:50]line [13:45:50]line [13:45:50]line [13:45:50]written 0, free lines is 3336 [13:45:50]process_action close_receipt done [13:45:50]requested_data is exist [13:45:50]produce_requested_data [13:45:50]requested_item fm.sn is exist - process it [13:45:50]wFMCommunicate request_size=4 [13:45:50]MH_SAM_APDU [13:45:50]CAPDU: 80 11 00 00 [13:45:50]Write to MH i2c: E2 08 00 99 19 80 11 00 00 00 00 00 00 2C [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:45:50]Read from MH i2c: E2 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 17 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 17 00 99 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 79 [13:45:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:45:50]wFMCommunicate OK [13:45:50]requested_item fd.num is exist - process it [13:45:50]SAM_PROTO_GetFieldsCounters [13:45:50]wFMCommunicate request_size=4 [13:45:50]MH_SAM_APDU [13:45:50]CAPDU: 80 13 00 00 [13:45:50]Write to MH i2c: E2 08 00 9A 19 80 13 00 00 00 00 00 00 2F [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 [13:45:50]MH_I2C_Read... [13:45:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:45:50]Read from MH i2c: E2 62 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 62 00 9A 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 AA [13:45:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:45:50]wFMCommunicate OK [13:45:50]SAM_PROTO_GetFieldsCounters done [13:45:50]requested_item shift.num is exist - process it [13:45:50]requested_item shift.opened is exist - process it [13:45:50]req_shift_opened [13:45:50]FM_GetShiftState [13:45:50]SAM_PROTO_GetShiftState [13:45:50]wFMCommunicate request_size=4 [13:45:50]MH_SAM_APDU [13:45:50]CAPDU: 80 13 01 00 [13:45:50]Write to MH i2c: E2 08 00 9B 19 80 13 01 00 00 00 00 00 31 [13:45:50]Write i2c OK [13:45:50]MH_I2C_Read... [13:45:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:45:50]Read from MH i2c: E2 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 [13:45:50]MH_I2C_Read... [13:45:50]Read from MH i2c: E2 0E 00 9B 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 52 [13:45:50]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:45:50]wFMCommunicate OK [13:45:50]SAM_PROTO_GetShiftState done [13:45:50]FM_GetShiftState done [13:45:50]req_shift_opened done [13:45:50]requested_item shift.open_date is exist - process it [13:45:50]req_shift_open_date [13:45:50]req_shift_open_date done [13:45:50]produce_requested_data done [13:45:50]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24267,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [13:45:50]process_action_free close_receipt [13:45:50]json_value_free [13:45:50]json_value_free done [13:45:50]process_json_proto returns [13:45:50]Send response to host [13:45:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24267,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [13:45:50]free response buf [13:45:50]execute_script done [13:45:50]execute_script returns [13:45:50]free content buf [13:45:50]Sock 9.Close socket [13:45:50]Sock 9.Thread stoped [13:45:50]OFD Sender: No OFD packet to send [13:45:55]OFD Sender: No OFD packet to send [13:46:00]OFD Sender: No OFD packet to send [13:46:05]OFD Sender: No OFD packet to send [13:46:10]OFD Sender: No OFD packet to send [13:46:15]OFD Sender: No OFD packet to send [13:46:20]OFD Sender: No OFD packet to send [13:46:25]OFD Sender: No OFD packet to send [13:46:30]OFD Sender: No OFD packet to send [13:46:35]OFD Sender: No OFD packet to send [13:46:40]OFD Sender: No OFD packet to send [13:46:45]OFD Sender: No OFD packet to send [13:46:50]OFD Sender: No OFD packet to send [13:46:55]OFD Sender: No OFD packet to send [13:47:00]OFD Sender: No OFD packet to send [13:47:05]OFD Sender: No OFD packet to send [13:47:10]OFD Sender: No OFD packet to send [13:47:15]OFD Sender: No OFD packet to send [13:47:20]OFD Sender: No OFD packet to send [13:47:25]OFD Sender: No OFD packet to send [13:47:30]OFD Sender: No OFD packet to send [13:47:35]OFD Sender: No OFD packet to send [13:47:40]OFD Sender: No OFD packet to send [13:47:45]OFD Sender: No OFD packet to send [13:47:50]OFD Sender: No OFD packet to send [13:47:55]OFD Sender: No OFD packet to send [13:48:00]OFD Sender: No OFD packet to send [13:48:05]OFD Sender: No OFD packet to send [13:48:10]OFD Sender: No OFD packet to send [13:48:15]OFD Sender: No OFD packet to send [13:48:20]OFD Sender: No OFD packet to send [13:48:25]OFD Sender: No OFD packet to send [13:48:30]OFD Sender: No OFD packet to send [13:48:35]OFD Sender: No OFD packet to send [13:48:40]OFD Sender: No OFD packet to send [13:48:45]OFD Sender: No OFD packet to send [13:48:50]OFD Sender: No OFD packet to send [13:48:55]OFD Sender: No OFD packet to send [13:49:00]OFD Sender: No OFD packet to send [13:49:05]OFD Sender: No OFD packet to send [13:49:10]OFD Sender: No OFD packet to send [13:49:15]OFD Sender: No OFD packet to send [13:49:20]OFD Sender: No OFD packet to send [13:49:25]OFD Sender: No OFD packet to send [13:49:30]OFD Sender: No OFD packet to send [13:49:35]OFD Sender: No OFD packet to send [13:49:40]OFD Sender: No OFD packet to send [13:49:45]OFD Sender: No OFD packet to send [13:49:50]OFD Sender: No OFD packet to send [13:49:55]OFD Sender: No OFD packet to send [13:50:00]OFD Sender: No OFD packet to send [13:50:05]OFD Sender: No OFD packet to send [13:50:10]OFD Sender: No OFD packet to send [13:50:15]OFD Sender: No OFD packet to send [13:50:20]OFD Sender: No OFD packet to send [13:50:25]OFD Sender: No OFD packet to send [13:50:30]OFD Sender: No OFD packet to send [13:50:35]OFD Sender: No OFD packet to send [13:50:40]OFD Sender: No OFD packet to send [13:50:45]OFD Sender: No OFD packet to send [13:50:50]OFD Sender: No OFD packet to send [13:50:55]OFD Sender: No OFD packet to send [13:51:00]OFD Sender: No OFD packet to send [13:51:05]OFD Sender: No OFD packet to send [13:51:10]OFD Sender: No OFD packet to send [13:51:15]OFD Sender: No OFD packet to send [13:51:20]OFD Sender: No OFD packet to send [13:51:25]OFD Sender: No OFD packet to send [13:51:30]OFD Sender: No OFD packet to send [13:51:35]OFD Sender: No OFD packet to send [13:51:40]OFD Sender: No OFD packet to send [13:51:45]OFD Sender: No OFD packet to send [13:51:50]OFD Sender: No OFD packet to send [13:51:55]OFD Sender: No OFD packet to send [13:52:00]OFD Sender: No OFD packet to send [13:52:05]OFD Sender: No OFD packet to send [13:52:10]OFD Sender: No OFD packet to send [13:52:15]OFD Sender: No OFD packet to send [13:52:20]OFD Sender: No OFD packet to send [13:52:25]OFD Sender: No OFD packet to send [13:52:30]OFD Sender: No OFD packet to send [13:52:35]OFD Sender: No OFD packet to send [13:52:40]OFD Sender: No OFD packet to send [13:52:45]OFD Sender: No OFD packet to send [13:52:50]OFD Sender: No OFD packet to send [13:52:55]OFD Sender: No OFD packet to send [13:53:00]OFD Sender: No OFD packet to send [13:53:05]OFD Sender: No OFD packet to send [13:53:10]OFD Sender: No OFD packet to send [13:53:15]OFD Sender: No OFD packet to send [13:53:20]OFD Sender: No OFD packet to send [13:53:25]OFD Sender: No OFD packet to send [13:53:30]OFD Sender: No OFD packet to send [13:53:35]OFD Sender: No OFD packet to send [13:53:40]OFD Sender: No OFD packet to send [13:53:45]OFD Sender: No OFD packet to send [13:53:50]OFD Sender: No OFD packet to send [13:53:55]OFD Sender: No OFD packet to send [13:54:00]OFD Sender: No OFD packet to send [13:54:05]OFD Sender: No OFD packet to send [13:54:10]OFD Sender: No OFD packet to send [13:54:15]OFD Sender: No OFD packet to send [13:54:20]OFD Sender: No OFD packet to send [13:54:25]OFD Sender: No OFD packet to send [13:54:30]OFD Sender: No OFD packet to send [13:54:35]OFD Sender: No OFD packet to send [13:54:40]OFD Sender: No OFD packet to send [13:54:45]OFD Sender: No OFD packet to send [13:54:50]OFD Sender: No OFD packet to send [13:54:55]OFD Sender: No OFD packet to send [13:55:00]OFD Sender: No OFD packet to send [13:55:05]OFD Sender: No OFD packet to send [13:55:10]OFD Sender: No OFD packet to send [13:55:15]OFD Sender: No OFD packet to send [13:55:20]OFD Sender: No OFD packet to send [13:55:25]OFD Sender: No OFD packet to send [13:55:30]OFD Sender: No OFD packet to send [13:55:35]OFD Sender: No OFD packet to send [13:55:40]OFD Sender: No OFD packet to send [13:55:45]OFD Sender: No OFD packet to send [13:55:47]accept exits with 7 [13:55:47]New connection [13:55:47]New thread 3067243876 created [13:55:47]Thread 3067100516 joined [13:55:47]Waiting for new connection... [13:55:47] Sock 7.Parse request [13:55:47]Sock 7.Check first char [13:55:47]Sock 7.First char is OK [13:55:47]request: POST /json_proto HTTP/1.0 [13:55:47]Method: POST [13:55:47]URL: /json_proto [13:55:47]Method is POST - this is cgi request [13:55:47]url: /json_proto [13:55:47]query_string will be loaded in cgi processing [13:55:47]execute_cgi json_proto POST (null) [13:55:47]execute_cgi path=json_proto method=POST [13:55:47]POST find Content-Length [13:55:47]Host: 172.17.50.4:8080 [13:55:47]Content-Length: 772 [13:55:47]Content-Type: application/json [13:55:47] [13:55:47]POST finish read [13:55:47]Found Content-Length = 772 [13:55:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134793", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:47]execute_script... [13:55:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134793", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:55:47]POST & json_proto [13:55:47]process_json_proto [13:55:47]json parsed OK: [13:55:47]protocol is kg_v1.0 [13:55:47]action value=close_receipt [13:55:47]process_action close_receipt [13:55:47]cmd_close_receipt [13:55:47]MH_GetDate [13:55:47]Write to MH i2c: F0 00 00 9C 19 A4 [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: F0 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: F0 09 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: F0 09 00 9C 19 00 E9 0B 15 67 1D BB 13 67 6F [13:55:47]GetLastDocTimeStamp 1729431953 [13:55:47]current date 1729432553 [13:55:47]FM_GetShiftState [13:55:47]SAM_PROTO_GetShiftState [13:55:47]wFMCommunicate request_size=4 [13:55:47]MH_SAM_APDU [13:55:47]CAPDU: 80 13 01 00 [13:55:47]Write to MH i2c: E2 08 00 9D 19 80 13 01 00 00 00 00 00 33 [13:55:47]Write i2c OK [13:55:47]MH_I2C_Read... [13:55:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:47]Read from MH i2c: E2 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 0E 00 [13:55:47]MH_I2C_Read... [13:55:47]Read from MH i2c: E2 0E 00 9D 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 54 [13:55:47]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:55:47]wFMCommunicate OK [13:55:47]SAM_PROTO_GetShiftState done [13:55:47]FM_GetShiftState done [13:55:47]opened in 1729382737 [13:55:47]opened+sec_in_day 1729469137 [13:55:47]quantity*price = 6000 [13:55:47]sum+1 = 6001 [13:55:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 0.00 Безнал.: 60.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 38 20.10.2024 13:55 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24268 ФПД: 61771651150025 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135553&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24268&fm=61771651150025&tin=02508201610067®Number=0000000000098120&sum=6000 0 [13:55:48]StoreToDocumentArchive [13:55:48]shift 460 fd 24268 [13:55:48]save to /storage/0460/doc_00024268 [13:55:48]save last doc name /storage/0460/doc_00024268 to /storage/kkm_last_doc_name [13:55:48]save OK [13:55:48]Clear old archive folders... [13:55:48]ProcessDocumentItem done err = 0, tmpTLVsize=276 [13:55:48]tlvbuf is B6F08440 [13:55:48]SAM_PROTO_ClearQueue [13:55:48]wFMCommunicate request_size=4 [13:55:48]MH_SAM_APDU [13:55:48]CAPDU: 80 09 00 00 [13:55:48]Write to MH i2c: E2 08 00 AA 19 80 09 00 00 00 00 00 00 35 [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:55:48]Read from MH i2c: E2 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 AA 19 00 90 00 37 [13:55:48]RAPDU: 90 00 [13:55:48]wFMCommunicate OK [13:55:48]SAM_PROTO_ClearQueue done [13:55:48]KKMCreateOFDPacket [13:55:48]OFDProtocolAddRootSTLVToBuf [13:55:48]FM_MakeSignedData [13:55:48]FM_MakeSignedData [13:55:48]SAM_PROTO_SignData [13:55:48]wFMCommunicate request_size=4 [13:55:48]MH_SAM_APDU [13:55:48]CAPDU: 80 0D 01 02 [13:55:48]Write to MH i2c: E2 08 00 AB 19 80 0D 01 02 00 00 00 00 3D [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:55:48]Read from MH i2c: E2 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 AB 19 00 90 00 38 [13:55:48]RAPDU: 90 00 [13:55:48]wFMCommunicate OK [13:55:48]wFMCommunicate request_size=255 [13:55:48]MH_SAM_APDU [13:55:48]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 E9 0B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 [13:55:48]Write to MH i2c: E2 02 01 AC 19 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 E9 0B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 00 00 D6 [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:48]Read from MH i2c: E2 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 [13:55:48]MH_I2C_Read... [13:55:48]Read from MH i2c: E2 03 00 AC 19 00 90 00 39 [13:55:48]RAPDU: 90 00 [13:55:48]wFMCommunicate OK [13:55:48]wFMCommunicate request_size=35 [13:55:48]MH_SAM_APDU [13:55:48]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CC 5E 00 00 35 04 06 00 38 2E 55 52 F0 C9 [13:55:48]Write to MH i2c: E2 26 00 AD 19 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CC 5E 00 00 35 04 06 00 38 2E 55 52 F0 C9 00 00 1D [13:55:48]Write i2c OK [13:55:48]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 03 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 03 00 AD 19 00 90 00 3A [13:55:49]RAPDU: 90 00 [13:55:49]wFMCommunicate OK [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 0D 03 02 [13:55:49]Write to MH i2c: E2 08 00 AE 19 80 0D 03 02 00 00 00 00 42 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 0B 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 0B 00 AE 19 00 B8 53 A6 51 4F EF E5 A0 90 00 08 [13:55:49]RAPDU: B8 53 A6 51 4F EF E5 A0 90 00 [13:55:49]wFMCommunicate OK [13:55:49]SAM_PROTO_SignData done [13:55:49]FM_MakeSignedData done [13:55:49]CreateOFDProtocolMessage [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 11 00 00 [13:55:49]Write to MH i2c: E2 08 00 AF 19 80 11 00 00 00 00 00 00 42 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 AF 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8F [13:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:55:49]wFMCommunicate OK [13:55:49]CreateOFDProtocolMessage done [13:55:49]OFDSenderStorePacket 24268 [13:55:49]StoreOFDPacket docnum=24268 [13:55:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 CB 70 20 01 D9 34 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 E9 0B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CC 5E 00 00 35 04 06 00 38 2E 55 52 F0 C9 B8 53 A6 51 4F EF E5 A0 [13:55:49]CheckFolder [13:55:49]dirname=/storage/ofd_packets [13:55:49]CheckFolder done [13:55:49]ProducePacketName [13:55:49]name=ofd_packets/00024268 [13:55:49]NVStorageSaveData ofd_packets/00024268 [13:55:49]File name is /storage/ofd_packets/00024268 [13:55:49]Write 326 bytes [13:55:49]NVStorageSaveData done [13:55:49]OFDSenderStorePacket done [13:55:49]KKMCreateOFDPacket done [13:55:49]NVStorageSaveData kkm_last_timestamp [13:55:49]File name is /storage/kkm_last_timestamp [13:55:49]Write 4 bytes [13:55:49]NVStorageSaveData done [13:55:49]ExternCall_PrintAddStr [13:55:49]wPrintStart [13:55:49]Write to MH i2c: 01 00 00 B0 19 C9 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 07 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 07 00 B0 19 00 00 00 00 00 FF 0F DE [13:55:49]RasterBufferAndPrint [13:55:49]line Счет N : (3)134793 [13:55:49]line ИНН: 02508201610067 [13:55:49]line Контрольно-Кассовый Чек [13:55:49]line ПРОДАЖА [13:55:49]line Товар: 4700000310043 [13:55:49]line Вода Жалалабат 27 1л [13:55:49]line 1.000 * 60.00 [13:55:49]line = 60.00 [13:55:49]line НДС 12% НСП 1% [13:55:49]line > о реализуемом товаре [13:55:49]line ИТОГО: 60.00 [13:55:49]line НСП 1% : 0.53 [13:55:49]line НДС 12% : 6.37 [13:55:49]line Наличными: 0.00 [13:55:49]line Безнал.: 60.00 [13:55:49]line Место: АЗС № 85 "Партнер Нефть" [13:55:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:55:49]line СНО: Общий режим [13:55:49]line Чек 38 20.10.2024 13:55 [13:55:49]line Смена: 460 ФФД: 1.0 [13:55:49]line ЗНМ: 0300000166 [13:55:49]line РНМ: 0000000000098120 [13:55:49]line Версия ККМ: 001 [13:55:49]line Платежная система: Mbank [13:55:49]line ФМ: 0000000000965420 [13:55:49]line ФД: 24268 [13:55:49]line ФПД: 61771651150025 [13:55:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T135553&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24268&fm=61771651150025&tin=02508201610067®Number=0000000000098120&sum=6000 [13:55:49]line 0 [13:55:49]OFD Sender: Processing packet 24268 [packets to send 5, broken 4] [13:55:49]ProducePacketName [13:55:49]name=ofd_packets/00024268 [13:55:49]OFD Sender: To server: pG, [13:55:49]CommunicateWithHost lk.salyk.kg:30040 [13:55:49]ConnectInit lk.salyk.kg [13:55:49]written 0, free lines is 4095 [13:55:49]Connected sock=10 [13:55:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 CB 70 20 01 D9 34 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 70 17 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 E9 0B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CC 5E 00 00 35 04 06 00 38 2E 55 52 F0 C9 B8 53 A6 51 4F EF E5 A0 [13:55:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 69 3F 47 00 FC 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 36 35 34 32 30 10 04 04 00 CC 5E 00 00 F4 03 04 00 81 B7 14 67 B6 04 01 00 00 6F E5 32 6D 15 99 D5 5A [13:55:49]CommunicateWithHost err = 0 [13:55:49]CheckOFDResponse [13:55:49]1017 (14) - 77093643461234 [13:55:49]1041 (16) - 0000000000965420 [13:55:49]1040 (4) - 24268 [13:55:49]1012 (4) - 20.10.2024 07:55 [13:55:49]1206 (1) - 0 [13:55:49]OFD Sender: Remove packet 24268 [13:55:49]ProducePacketName [13:55:49]name=ofd_packets/00024268 [13:55:49]NVStorageDeleteData [13:55:49]Write to MH i2c: 01 00 00 D9 19 F2 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 07 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: 01 07 00 D9 19 00 00 00 00 00 0D 0D 13 [13:55:49]RasterBufferAndPrint [13:55:49]line [13:55:49]line [13:55:49]line [13:55:49]line [13:55:49]line [13:55:49]written 0, free lines is 3348 [13:55:49]process_action close_receipt done [13:55:49]requested_data is exist [13:55:49]produce_requested_data [13:55:49]requested_item fm.sn is exist - process it [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 11 00 00 [13:55:49]Write to MH i2c: E2 08 00 E0 19 80 11 00 00 00 00 00 00 73 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:55:49]Read from MH i2c: E2 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 [13:55:49]MH_I2C_Read... [13:55:49]Read from MH i2c: E2 17 00 E0 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C0 [13:55:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:55:49]wFMCommunicate OK [13:55:49]requested_item fd.num is exist - process it [13:55:49]SAM_PROTO_GetFieldsCounters [13:55:49]wFMCommunicate request_size=4 [13:55:49]MH_SAM_APDU [13:55:49]CAPDU: 80 13 00 00 [13:55:49]Write to MH i2c: E2 08 00 E1 19 80 13 00 00 00 00 00 00 76 [13:55:49]Write i2c OK [13:55:49]MH_I2C_Read... [13:55:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:55:50]Read from MH i2c: E2 [13:55:50]MH_I2C_Read... [13:55:50]Read from MH i2c: E2 62 00 [13:55:50]MH_I2C_Read... [13:55:50]Read from MH i2c: E2 62 00 E1 19 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [13:55:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:55:50]wFMCommunicate OK [13:55:50]SAM_PROTO_GetFieldsCounters done [13:55:50]requested_item shift.num is exist - process it [13:55:50]requested_item shift.opened is exist - process it [13:55:50]req_shift_opened [13:55:50]FM_GetShiftState [13:55:50]SAM_PROTO_GetShiftState [13:55:50]wFMCommunicate request_size=4 [13:55:50]MH_SAM_APDU [13:55:50]CAPDU: 80 13 01 00 [13:55:50]Write to MH i2c: E2 08 00 E2 19 80 13 01 00 00 00 00 00 78 [13:55:50]Write i2c OK [13:55:50]MH_I2C_Read... [13:55:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:55:50]Read from MH i2c: E2 [13:55:50]MH_I2C_Read... [13:55:50]Read from MH i2c: E2 0E 00 [13:55:50]MH_I2C_Read... [13:55:50]Read from MH i2c: E2 0E 00 E2 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 99 [13:55:50]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [13:55:50]wFMCommunicate OK [13:55:50]SAM_PROTO_GetShiftState done [13:55:50]FM_GetShiftState done [13:55:50]req_shift_opened done [13:55:50]requested_item shift.open_date is exist - process it [13:55:50]req_shift_open_date [13:55:50]req_shift_open_date done [13:55:50]produce_requested_data done [13:55:50]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24268,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [13:55:50]process_action_free close_receipt [13:55:50]json_value_free [13:55:50]json_value_free done [13:55:50]process_json_proto returns [13:55:50]Send response to host [13:55:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24268,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [13:55:50]free response buf [13:55:50]execute_script done [13:55:50]execute_script returns [13:55:50]free content buf [13:55:50]Sock 7.Close socket [13:55:50]Sock 7.Thread stoped [13:55:50]OFD Sender: No OFD packet to send [13:55:55]OFD Sender: No OFD packet to send [13:56:00]OFD Sender: No OFD packet to send [13:56:05]OFD Sender: No OFD packet to send [13:56:10]OFD Sender: No OFD packet to send [13:56:15]OFD Sender: No OFD packet to send [13:56:20]OFD Sender: No OFD packet to send [13:56:25]OFD Sender: No OFD packet to send [13:56:30]OFD Sender: No OFD packet to send [13:56:35]OFD Sender: No OFD packet to send [13:56:40]OFD Sender: No OFD packet to send [13:56:45]OFD Sender: No OFD packet to send [13:56:50]OFD Sender: No OFD packet to send [13:56:55]OFD Sender: No OFD packet to send [13:57:00]OFD Sender: No OFD packet to send [13:57:05]OFD Sender: No OFD packet to send [13:57:10]OFD Sender: No OFD packet to send [13:57:15]OFD Sender: No OFD packet to send [13:57:20]OFD Sender: No OFD packet to send [13:57:25]OFD Sender: No OFD packet to send [13:57:30]OFD Sender: No OFD packet to send [13:57:35]OFD Sender: No OFD packet to send [13:57:40]OFD Sender: No OFD packet to send [13:57:45]OFD Sender: No OFD packet to send [13:57:50]OFD Sender: No OFD packet to send [13:57:55]OFD Sender: No OFD packet to send [13:58:00]OFD Sender: No OFD packet to send [13:58:05]OFD Sender: No OFD packet to send [13:58:10]OFD Sender: No OFD packet to send [13:58:15]OFD Sender: No OFD packet to send [13:58:20]OFD Sender: No OFD packet to send [13:58:25]OFD Sender: No OFD packet to send [13:58:30]OFD Sender: No OFD packet to send [13:58:35]OFD Sender: No OFD packet to send [13:58:40]OFD Sender: No OFD packet to send [13:58:45]OFD Sender: No OFD packet to send [13:58:50]OFD Sender: No OFD packet to send [13:58:55]OFD Sender: No OFD packet to send [13:59:00]OFD Sender: No OFD packet to send [13:59:05]OFD Sender: No OFD packet to send [13:59:10]OFD Sender: No OFD packet to send [13:59:15]OFD Sender: No OFD packet to send [13:59:20]OFD Sender: No OFD packet to send [13:59:25]OFD Sender: No OFD packet to send [13:59:30]OFD Sender: No OFD packet to send [13:59:35]OFD Sender: No OFD packet to send [13:59:40]OFD Sender: No OFD packet to send [13:59:45]OFD Sender: No OFD packet to send [13:59:50]OFD Sender: No OFD packet to send [13:59:55]OFD Sender: No OFD packet to send [14:00:00]OFD Sender: No OFD packet to send [14:00:05]OFD Sender: No OFD packet to send [14:00:10]OFD Sender: No OFD packet to send [14:00:15]OFD Sender: No OFD packet to send [14:00:20]OFD Sender: No OFD packet to send [14:00:25]OFD Sender: No OFD packet to send [14:00:30]OFD Sender: No OFD packet to send [14:00:35]OFD Sender: No OFD packet to send [14:00:40]OFD Sender: No OFD packet to send [14:00:45]OFD Sender: No OFD packet to send [14:00:50]OFD Sender: No OFD packet to send [14:00:55]OFD Sender: No OFD packet to send [14:01:00]OFD Sender: No OFD packet to send [14:01:05]OFD Sender: No OFD packet to send [14:01:10]OFD Sender: No OFD packet to send [14:01:15]OFD Sender: No OFD packet to send [14:01:20]OFD Sender: No OFD packet to send [14:01:25]OFD Sender: No OFD packet to send [14:01:30]OFD Sender: No OFD packet to send [14:01:35]OFD Sender: No OFD packet to send [14:01:40]OFD Sender: No OFD packet to send [14:01:45]OFD Sender: No OFD packet to send [14:01:50]OFD Sender: No OFD packet to send [14:01:55]OFD Sender: No OFD packet to send [14:02:00]OFD Sender: No OFD packet to send [14:02:05]OFD Sender: No OFD packet to send [14:02:10]OFD Sender: No OFD packet to send [14:02:15]OFD Sender: No OFD packet to send [14:02:20]OFD Sender: No OFD packet to send [14:02:25]OFD Sender: No OFD packet to send [14:02:30]OFD Sender: No OFD packet to send [14:02:35]OFD Sender: No OFD packet to send [14:02:40]OFD Sender: No OFD packet to send [14:02:45]OFD Sender: No OFD packet to send [14:02:50]OFD Sender: No OFD packet to send [14:02:55]OFD Sender: No OFD packet to send [14:03:00]OFD Sender: No OFD packet to send [14:03:05]OFD Sender: No OFD packet to send [14:03:10]OFD Sender: No OFD packet to send [14:03:15]OFD Sender: No OFD packet to send [14:03:20]OFD Sender: No OFD packet to send [14:03:25]OFD Sender: No OFD packet to send [14:03:30]OFD Sender: No OFD packet to send [14:03:35]OFD Sender: No OFD packet to send [14:03:40]OFD Sender: No OFD packet to send [14:03:45]OFD Sender: No OFD packet to send [14:03:50]OFD Sender: No OFD packet to send [14:03:55]OFD Sender: No OFD packet to send [14:04:00]OFD Sender: No OFD packet to send [14:04:05]OFD Sender: No OFD packet to send [14:04:10]OFD Sender: No OFD packet to send [14:04:15]OFD Sender: No OFD packet to send [14:04:20]OFD Sender: No OFD packet to send [14:04:25]OFD Sender: No OFD packet to send [14:04:30]OFD Sender: No OFD packet to send [14:04:35]OFD Sender: No OFD packet to send [14:04:40]OFD Sender: No OFD packet to send [14:04:45]OFD Sender: No OFD packet to send [14:04:50]OFD Sender: No OFD packet to send [14:04:55]OFD Sender: No OFD packet to send [14:05:00]OFD Sender: No OFD packet to send [14:05:05]OFD Sender: No OFD packet to send [14:05:10]OFD Sender: No OFD packet to send [14:05:15]OFD Sender: No OFD packet to send [14:05:20]OFD Sender: No OFD packet to send [14:05:25]OFD Sender: No OFD packet to send [14:05:30]OFD Sender: No OFD packet to send [14:05:35]OFD Sender: No OFD packet to send [14:05:40]OFD Sender: No OFD packet to send [14:05:45]OFD Sender: No OFD packet to send [14:05:50]OFD Sender: No OFD packet to send [14:05:55]OFD Sender: No OFD packet to send [14:06:00]OFD Sender: No OFD packet to send [14:06:05]OFD Sender: No OFD packet to send [14:06:10]OFD Sender: No OFD packet to send [14:06:15]OFD Sender: No OFD packet to send [14:06:20]OFD Sender: No OFD packet to send [14:06:25]OFD Sender: No OFD packet to send [14:06:30]OFD Sender: No OFD packet to send [14:06:35]OFD Sender: No OFD packet to send [14:06:40]OFD Sender: No OFD packet to send [14:06:45]OFD Sender: No OFD packet to send [14:06:50]OFD Sender: No OFD packet to send [14:06:55]OFD Sender: No OFD packet to send [14:07:00]OFD Sender: No OFD packet to send [14:07:05]OFD Sender: No OFD packet to send [14:07:10]OFD Sender: No OFD packet to send [14:07:15]OFD Sender: No OFD packet to send [14:07:20]OFD Sender: No OFD packet to send [14:07:25]OFD Sender: No OFD packet to send [14:07:30]OFD Sender: No OFD packet to send [14:07:35]OFD Sender: No OFD packet to send [14:07:40]OFD Sender: No OFD packet to send [14:07:45]OFD Sender: No OFD packet to send [14:07:50]OFD Sender: No OFD packet to send [14:07:55]OFD Sender: No OFD packet to send [14:08:00]OFD Sender: No OFD packet to send [14:08:05]OFD Sender: No OFD packet to send [14:08:10]OFD Sender: No OFD packet to send [14:08:15]OFD Sender: No OFD packet to send [14:08:20]OFD Sender: No OFD packet to send [14:08:25]OFD Sender: No OFD packet to send [14:08:30]OFD Sender: No OFD packet to send [14:08:35]OFD Sender: No OFD packet to send [14:08:40]OFD Sender: No OFD packet to send [14:08:45]OFD Sender: No OFD packet to send [14:08:50]OFD Sender: No OFD packet to send [14:08:55]OFD Sender: No OFD packet to send [14:09:00]OFD Sender: No OFD packet to send [14:09:05]OFD Sender: No OFD packet to send [14:09:10]OFD Sender: No OFD packet to send [14:09:15]OFD Sender: No OFD packet to send [14:09:20]OFD Sender: No OFD packet to send [14:09:25]OFD Sender: No OFD packet to send [14:09:30]OFD Sender: No OFD packet to send [14:09:35]OFD Sender: No OFD packet to send [14:09:40]OFD Sender: No OFD packet to send [14:09:45]OFD Sender: No OFD packet to send [14:09:50]OFD Sender: No OFD packet to send [14:09:55]OFD Sender: No OFD packet to send [14:10:00]OFD Sender: No OFD packet to send [14:10:05]OFD Sender: No OFD packet to send [14:10:10]OFD Sender: No OFD packet to send [14:10:15]OFD Sender: No OFD packet to send [14:10:20]OFD Sender: No OFD packet to send [14:10:25]OFD Sender: No OFD packet to send [14:10:30]OFD Sender: No OFD packet to send [14:10:35]OFD Sender: No OFD packet to send [14:10:40]OFD Sender: No OFD packet to send [14:10:45]OFD Sender: No OFD packet to send [14:10:50]OFD Sender: No OFD packet to send [14:10:55]OFD Sender: No OFD packet to send [14:11:00]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:31]OFD Sender: No OFD packet to send [14:11:36]OFD Sender: No OFD packet to send [14:11:41]OFD Sender: No OFD packet to send [14:11:46]OFD Sender: No OFD packet to send [14:11:51]OFD Sender: No OFD packet to send [14:11:56]OFD Sender: No OFD packet to send [14:12:01]OFD Sender: No OFD packet to send [14:12:06]OFD Sender: No OFD packet to send [14:12:11]OFD Sender: No OFD packet to send [14:12:16]OFD Sender: No OFD packet to send [14:12:21]OFD Sender: No OFD packet to send [14:12:26]OFD Sender: No OFD packet to send [14:12:31]OFD Sender: No OFD packet to send [14:12:36]OFD Sender: No OFD packet to send [14:12:41]OFD Sender: No OFD packet to send [14:12:46]OFD Sender: No OFD packet to send [14:12:51]OFD Sender: No OFD packet to send [14:12:56]OFD Sender: No OFD packet to send [14:13:01]OFD Sender: No OFD packet to send [14:13:06]OFD Sender: No OFD packet to send [14:13:11]OFD Sender: No OFD packet to send [14:13:16]OFD Sender: No OFD packet to send [14:13:21]OFD Sender: No OFD packet to send [14:13:26]OFD Sender: No OFD packet to send [14:13:31]OFD Sender: No OFD packet to send [14:13:36]OFD Sender: No OFD packet to send [14:13:41]OFD Sender: No OFD packet to send [14:13:46]OFD Sender: No OFD packet to send [14:13:51]OFD Sender: No OFD packet to send [14:13:56]OFD Sender: No OFD packet to send [14:14:01]OFD Sender: No OFD packet to send [14:14:06]OFD Sender: No OFD packet to send [14:14:11]OFD Sender: No OFD packet to send [14:14:16]OFD Sender: No OFD packet to send [14:14:21]OFD Sender: No OFD packet to send [14:14:26]OFD Sender: No OFD packet to send [14:14:31]OFD Sender: No OFD packet to send [14:14:36]OFD Sender: No OFD packet to send [14:14:41]OFD Sender: No OFD packet to send [14:14:46]OFD Sender: No OFD packet to send [14:14:51]OFD Sender: No OFD packet to send [14:14:56]OFD Sender: No OFD packet to send [14:15:01]OFD Sender: No OFD packet to send [14:15:06]OFD Sender: No OFD packet to send [14:15:11]OFD Sender: No OFD packet to send [14:15:16]OFD Sender: No OFD packet to send [14:15:21]OFD Sender: No OFD packet to send [14:15:26]OFD Sender: No OFD packet to send [14:15:31]OFD Sender: No OFD packet to send [14:15:36]OFD Sender: No OFD packet to send [14:15:41]OFD Sender: No OFD packet to send [14:15:46]OFD Sender: No OFD packet to send [14:15:51]OFD Sender: No OFD packet to send [14:15:56]OFD Sender: No OFD packet to send [14:16:01]OFD Sender: No OFD packet to send [14:16:06]OFD Sender: No OFD packet to send [14:16:11]OFD Sender: No OFD packet to send [14:16:16]OFD Sender: No OFD packet to send [14:16:21]OFD Sender: No OFD packet to send [14:16:26]OFD Sender: No OFD packet to send [14:16:31]OFD Sender: No OFD packet to send [14:16:36]OFD Sender: No OFD packet to send [14:16:41]OFD Sender: No OFD packet to send [14:16:46]OFD Sender: No OFD packet to send [14:16:51]OFD Sender: No OFD packet to send [14:16:56]OFD Sender: No OFD packet to send [14:17:01]OFD Sender: No OFD packet to send [14:17:06]OFD Sender: No OFD packet to send [14:17:11]OFD Sender: No OFD packet to send [14:17:16]OFD Sender: No OFD packet to send [14:17:21]OFD Sender: No OFD packet to send [14:17:26]OFD Sender: No OFD packet to send [14:17:31]OFD Sender: No OFD packet to send [14:17:36]OFD Sender: No OFD packet to send [14:17:41]OFD Sender: No OFD packet to send [14:17:46]OFD Sender: No OFD packet to send [14:17:51]OFD Sender: No OFD packet to send [14:17:56]OFD Sender: No OFD packet to send [14:18:01]OFD Sender: No OFD packet to send [14:18:06]OFD Sender: No OFD packet to send [14:18:11]OFD Sender: No OFD packet to send [14:18:16]OFD Sender: No OFD packet to send [14:18:21]OFD Sender: No OFD packet to send [14:18:26]OFD Sender: No OFD packet to send [14:18:31]OFD Sender: No OFD packet to send [14:18:36]OFD Sender: No OFD packet to send [14:18:41]OFD Sender: No OFD packet to send [14:18:46]OFD Sender: No OFD packet to send [14:18:51]OFD Sender: No OFD packet to send [14:18:56]OFD Sender: No OFD packet to send [14:19:01]OFD Sender: No OFD packet to send [14:19:06]OFD Sender: No OFD packet to send [14:19:11]OFD Sender: No OFD packet to send [14:19:16]OFD Sender: No OFD packet to send [14:19:21]OFD Sender: No OFD packet to send [14:19:26]OFD Sender: No OFD packet to send [14:19:31]OFD Sender: No OFD packet to send [14:19:36]OFD Sender: No OFD packet to send [14:19:41]OFD Sender: No OFD packet to send [14:19:46]OFD Sender: No OFD packet to send [14:19:51]OFD Sender: No OFD packet to send [14:19:56]OFD Sender: No OFD packet to send [14:20:01]OFD Sender: No OFD packet to send [14:20:06]OFD Sender: No OFD packet to send [14:20:11]OFD Sender: No OFD packet to send [14:20:16]OFD Sender: No OFD packet to send [14:20:21]OFD Sender: No OFD packet to send [14:20:26]OFD Sender: No OFD packet to send [14:20:31]OFD Sender: No OFD packet to send [14:20:36]OFD Sender: No OFD packet to send [14:20:41]OFD Sender: No OFD packet to send [14:20:46]OFD Sender: No OFD packet to send [14:20:51]OFD Sender: No OFD packet to send [14:20:56]OFD Sender: No OFD packet to send [14:21:01]OFD Sender: No OFD packet to send [14:21:06]OFD Sender: No OFD packet to send [14:21:11]OFD Sender: No OFD packet to send [14:21:16]OFD Sender: No OFD packet to send [14:21:21]OFD Sender: No OFD packet to send [14:21:26]OFD Sender: No OFD packet to send [14:21:31]OFD Sender: No OFD packet to send [14:21:36]OFD Sender: No OFD packet to send [14:21:41]OFD Sender: No OFD packet to send [14:21:46]OFD Sender: No OFD packet to send [14:21:51]OFD Sender: No OFD packet to send [14:21:56]OFD Sender: No OFD packet to send [14:22:01]OFD Sender: No OFD packet to send [14:22:06]OFD Sender: No OFD packet to send [14:22:11]OFD Sender: No OFD packet to send [14:22:16]OFD Sender: No OFD packet to send [14:22:21]OFD Sender: No OFD packet to send [14:22:26]OFD Sender: No OFD packet to send [14:22:31]OFD Sender: No OFD packet to send [14:22:36]OFD Sender: No OFD packet to send [14:22:41]OFD Sender: No OFD packet to send [14:22:46]OFD Sender: No OFD packet to send [14:22:51]OFD Sender: No OFD packet to send [14:22:56]OFD Sender: No OFD packet to send [14:23:01]OFD Sender: No OFD packet to send [14:23:06]OFD Sender: No OFD packet to send [14:23:11]OFD Sender: No OFD packet to send [14:23:16]OFD Sender: No OFD packet to send [14:23:21]OFD Sender: No OFD packet to send [14:23:26]OFD Sender: No OFD packet to send [14:23:31]OFD Sender: No OFD packet to send [14:23:36]OFD Sender: No OFD packet to send [14:23:41]OFD Sender: No OFD packet to send [14:23:46]OFD Sender: No OFD packet to send [14:23:51]OFD Sender: No OFD packet to send [14:23:56]OFD Sender: No OFD packet to send [14:24:01]OFD Sender: No OFD packet to send [14:24:06]OFD Sender: No OFD packet to send [14:24:11]OFD Sender: No OFD packet to send [14:24:16]OFD Sender: No OFD packet to send [14:24:21]OFD Sender: No OFD packet to send [14:24:26]OFD Sender: No OFD packet to send [14:24:31]OFD Sender: No OFD packet to send [14:24:36]OFD Sender: No OFD packet to send [14:24:41]OFD Sender: No OFD packet to send [14:24:46]OFD Sender: No OFD packet to send [14:24:51]OFD Sender: No OFD packet to send [14:24:56]OFD Sender: No OFD packet to send [14:25:01]OFD Sender: No OFD packet to send [14:25:06]OFD Sender: No OFD packet to send [14:25:11]OFD Sender: No OFD packet to send [14:25:16]OFD Sender: No OFD packet to send [14:25:21]OFD Sender: No OFD packet to send [14:25:26]OFD Sender: No OFD packet to send [14:25:31]OFD Sender: No OFD packet to send [14:25:36]OFD Sender: No OFD packet to send [14:25:41]OFD Sender: No OFD packet to send [14:25:46]OFD Sender: No OFD packet to send [14:25:51]OFD Sender: No OFD packet to send [14:25:56]OFD Sender: No OFD packet to send [14:26:01]OFD Sender: No OFD packet to send [14:26:06]OFD Sender: No OFD packet to send [14:26:11]OFD Sender: No OFD packet to send [14:26:16]OFD Sender: No OFD packet to send [14:26:21]OFD Sender: No OFD packet to send [14:26:26]OFD Sender: No OFD packet to send [14:26:31]OFD Sender: No OFD packet to send [14:26:36]OFD Sender: No OFD packet to send [14:26:41]OFD Sender: No OFD packet to send [14:26:46]OFD Sender: No OFD packet to send [14:26:51]OFD Sender: No OFD packet to send [14:26:56]OFD Sender: No OFD packet to send [14:27:01]OFD Sender: No OFD packet to send [14:27:06]OFD Sender: No OFD packet to send [14:27:11]OFD Sender: No OFD packet to send [14:27:16]OFD Sender: No OFD packet to send [14:27:21]OFD Sender: No OFD packet to send [14:27:26]OFD Sender: No OFD packet to send [14:27:31]OFD Sender: No OFD packet to send [14:27:36]OFD Sender: No OFD packet to send [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:51]OFD Sender: No OFD packet to send [14:27:56]OFD Sender: No OFD packet to send [14:28:01]OFD Sender: No OFD packet to send [14:28:06]OFD Sender: No OFD packet to send [14:28:11]OFD Sender: No OFD packet to send [14:28:16]OFD Sender: No OFD packet to send [14:28:21]OFD Sender: No OFD packet to send [14:28:26]OFD Sender: No OFD packet to send [14:28:31]OFD Sender: No OFD packet to send [14:28:36]OFD Sender: No OFD packet to send [14:28:41]OFD Sender: No OFD packet to send [14:28:46]OFD Sender: No OFD packet to send [14:28:51]OFD Sender: No OFD packet to send [14:28:56]OFD Sender: No OFD packet to send [14:29:01]OFD Sender: No OFD packet to send [14:29:06]OFD Sender: No OFD packet to send [14:29:11]OFD Sender: No OFD packet to send [14:29:16]OFD Sender: No OFD packet to send [14:29:21]OFD Sender: No OFD packet to send [14:29:26]OFD Sender: No OFD packet to send [14:29:31]OFD Sender: No OFD packet to send [14:29:36]OFD Sender: No OFD packet to send [14:29:41]OFD Sender: No OFD packet to send [14:29:46]OFD Sender: No OFD packet to send [14:29:51]OFD Sender: No OFD packet to send [14:29:56]OFD Sender: No OFD packet to send [14:30:01]OFD Sender: No OFD packet to send [14:30:06]OFD Sender: No OFD packet to send [14:30:11]OFD Sender: No OFD packet to send [14:30:16]OFD Sender: No OFD packet to send [14:30:21]OFD Sender: No OFD packet to send [14:30:26]OFD Sender: No OFD packet to send [14:30:31]OFD Sender: No OFD packet to send [14:30:36]OFD Sender: No OFD packet to send [14:30:41]OFD Sender: No OFD packet to send [14:30:46]OFD Sender: No OFD packet to send [14:30:51]OFD Sender: No OFD packet to send [14:30:56]OFD Sender: No OFD packet to send [14:31:01]OFD Sender: No OFD packet to send [14:31:06]OFD Sender: No OFD packet to send [14:31:11]OFD Sender: No OFD packet to send [14:31:16]OFD Sender: No OFD packet to send [14:31:21]OFD Sender: No OFD packet to send [14:31:26]OFD Sender: No OFD packet to send [14:31:31]OFD Sender: No OFD packet to send [14:31:36]OFD Sender: No OFD packet to send [14:31:41]OFD Sender: No OFD packet to send [14:31:46]OFD Sender: No OFD packet to send [14:31:51]OFD Sender: No OFD packet to send [14:31:56]OFD Sender: No OFD packet to send [14:32:01]OFD Sender: No OFD packet to send [14:32:06]OFD Sender: No OFD packet to send [14:32:11]OFD Sender: No OFD packet to send [14:32:16]OFD Sender: No OFD packet to send [14:32:21]OFD Sender: No OFD packet to send [14:32:26]OFD Sender: No OFD packet to send [14:32:31]OFD Sender: No OFD packet to send [14:32:37]OFD Sender: No OFD packet to send [14:32:42]OFD Sender: No OFD packet to send [14:32:47]OFD Sender: No OFD packet to send [14:32:52]OFD Sender: No OFD packet to send [14:32:57]OFD Sender: No OFD packet to send [14:33:02]OFD Sender: No OFD packet to send [14:33:07]OFD Sender: No OFD packet to send [14:33:12]OFD Sender: No OFD packet to send [14:33:17]OFD Sender: No OFD packet to send [14:33:22]OFD Sender: No OFD packet to send [14:33:27]OFD Sender: No OFD packet to send [14:33:32]OFD Sender: No OFD packet to send [14:33:37]OFD Sender: No OFD packet to send [14:33:42]OFD Sender: No OFD packet to send [14:33:47]OFD Sender: No OFD packet to send [14:33:52]OFD Sender: No OFD packet to send [14:33:57]OFD Sender: No OFD packet to send [14:34:02]OFD Sender: No OFD packet to send [14:34:07]OFD Sender: No OFD packet to send [14:34:12]OFD Sender: No OFD packet to send [14:34:17]OFD Sender: No OFD packet to send [14:34:22]OFD Sender: No OFD packet to send [14:34:27]OFD Sender: No OFD packet to send [14:34:32]OFD Sender: No OFD packet to send [14:34:37]OFD Sender: No OFD packet to send [14:34:42]OFD Sender: No OFD packet to send [14:34:47]OFD Sender: No OFD packet to send [14:34:52]OFD Sender: No OFD packet to send [14:34:57]OFD Sender: No OFD packet to send [14:35:02]OFD Sender: No OFD packet to send [14:35:07]OFD Sender: No OFD packet to send [14:35:12]OFD Sender: No OFD packet to send [14:35:17]OFD Sender: No OFD packet to send [14:35:22]OFD Sender: No OFD packet to send [14:35:27]OFD Sender: No OFD packet to send [14:35:32]OFD Sender: No OFD packet to send [14:35:37]OFD Sender: No OFD packet to send [14:35:42]OFD Sender: No OFD packet to send [14:35:47]OFD Sender: No OFD packet to send [14:35:52]OFD Sender: No OFD packet to send [14:35:57]OFD Sender: No OFD packet to send [14:36:02]OFD Sender: No OFD packet to send [14:36:07]OFD Sender: No OFD packet to send [14:36:12]OFD Sender: No OFD packet to send [14:36:17]OFD Sender: No OFD packet to send [14:36:22]OFD Sender: No OFD packet to send [14:36:27]OFD Sender: No OFD packet to send [14:36:32]OFD Sender: No OFD packet to send [14:36:37]OFD Sender: No OFD packet to send [14:36:42]OFD Sender: No OFD packet to send [14:36:47]OFD Sender: No OFD packet to send [14:36:52]OFD Sender: No OFD packet to send [14:36:57]OFD Sender: No OFD packet to send [14:37:02]OFD Sender: No OFD packet to send [14:37:07]OFD Sender: No OFD packet to send [14:37:12]OFD Sender: No OFD packet to send [14:37:17]OFD Sender: No OFD packet to send [14:37:22]OFD Sender: No OFD packet to send [14:37:27]OFD Sender: No OFD packet to send [14:37:32]OFD Sender: No OFD packet to send [14:37:37]OFD Sender: No OFD packet to send [14:37:42]OFD Sender: No OFD packet to send [14:37:47]OFD Sender: No OFD packet to send [14:37:52]OFD Sender: No OFD packet to send [14:37:57]OFD Sender: No OFD packet to send [14:38:02]OFD Sender: No OFD packet to send [14:38:07]OFD Sender: No OFD packet to send [14:38:12]OFD Sender: No OFD packet to send [14:38:17]OFD Sender: No OFD packet to send [14:38:22]OFD Sender: No OFD packet to send [14:38:27]OFD Sender: No OFD packet to send [14:38:32]OFD Sender: No OFD packet to send [14:38:37]OFD Sender: No OFD packet to send [14:38:42]OFD Sender: No OFD packet to send [14:38:47]OFD Sender: No OFD packet to send [14:38:52]OFD Sender: No OFD packet to send [14:38:57]OFD Sender: No OFD packet to send [14:39:02]OFD Sender: No OFD packet to send [14:39:07]OFD Sender: No OFD packet to send [14:39:12]OFD Sender: No OFD packet to send [14:39:17]OFD Sender: No OFD packet to send [14:39:22]OFD Sender: No OFD packet to send [14:39:27]OFD Sender: No OFD packet to send [14:39:32]OFD Sender: No OFD packet to send [14:39:37]OFD Sender: No OFD packet to send [14:39:42]OFD Sender: No OFD packet to send [14:39:47]OFD Sender: No OFD packet to send [14:39:52]OFD Sender: No OFD packet to send [14:39:57]OFD Sender: No OFD packet to send [14:40:02]OFD Sender: No OFD packet to send [14:40:07]OFD Sender: No OFD packet to send [14:40:12]OFD Sender: No OFD packet to send [14:40:17]OFD Sender: No OFD packet to send [14:40:22]OFD Sender: No OFD packet to send [14:40:27]OFD Sender: No OFD packet to send [14:40:32]OFD Sender: No OFD packet to send [14:40:37]OFD Sender: No OFD packet to send [14:40:42]OFD Sender: No OFD packet to send [14:40:47]OFD Sender: No OFD packet to send [14:40:52]OFD Sender: No OFD packet to send [14:40:57]OFD Sender: No OFD packet to send [14:41:02]OFD Sender: No OFD packet to send [14:41:07]OFD Sender: No OFD packet to send [14:41:12]OFD Sender: No OFD packet to send [14:41:17]OFD Sender: No OFD packet to send [14:41:22]OFD Sender: No OFD packet to send [14:41:27]OFD Sender: No OFD packet to send [14:41:32]OFD Sender: No OFD packet to send [14:41:37]OFD Sender: No OFD packet to send [14:41:42]OFD Sender: No OFD packet to send [14:41:45]accept exits with 9 [14:41:45]New connection [14:41:45]New thread 3067100516 created [14:41:45]Thread 3067243876 joined [14:41:45]Waiting for new connection... [14:41:45] Sock 9.Parse request [14:41:45]Sock 9.Check first char [14:41:45]Sock 9.First char is OK [14:41:45]request: POST /json_proto HTTP/1.0 [14:41:45]Method: POST [14:41:45]URL: /json_proto [14:41:45]Method is POST - this is cgi request [14:41:45]url: /json_proto [14:41:45]query_string will be loaded in cgi processing [14:41:45]execute_cgi json_proto POST (null) [14:41:45]execute_cgi path=json_proto method=POST [14:41:45]POST find Content-Length [14:41:45]Host: 172.17.50.4:8080 [14:41:45]Content-Length: 621 [14:41:45]Content-Type: application/json [14:41:45] [14:41:45]POST finish read [14:41:45]Found Content-Length = 621 [14:41:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134794", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:45]execute_script... [14:41:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134794", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:41:45]POST & json_proto [14:41:45]process_json_proto [14:41:45]json parsed OK: [14:41:45]protocol is kg_v1.0 [14:41:45]action value=close_receipt [14:41:45]process_action close_receipt [14:41:45]cmd_close_receipt [14:41:45]MH_GetDate [14:41:45]Write to MH i2c: F0 00 00 E3 19 EB [14:41:45]Write i2c OK [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 09 00 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: F0 09 00 E3 19 00 AF 16 15 67 1D BB 13 67 87 [14:41:45]GetLastDocTimeStamp 1729432553 [14:41:45]current date 1729435311 [14:41:45]FM_GetShiftState [14:41:45]SAM_PROTO_GetShiftState [14:41:45]wFMCommunicate request_size=4 [14:41:45]MH_SAM_APDU [14:41:45]CAPDU: 80 13 01 00 [14:41:45]Write to MH i2c: E2 08 00 E4 19 80 13 01 00 00 00 00 00 7A [14:41:45]Write i2c OK [14:41:45]MH_I2C_Read... [14:41:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:45]Read from MH i2c: E2 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: E2 0E 00 [14:41:45]MH_I2C_Read... [14:41:45]Read from MH i2c: E2 0E 00 E4 19 00 09 00 01 51 49 14 67 00 00 00 00 90 00 9B [14:41:45]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [14:41:45]wFMCommunicate OK [14:41:45]SAM_PROTO_GetShiftState done [14:41:45]FM_GetShiftState done [14:41:45]opened in 1729382737 [14:41:45]opened+sec_in_day 1729469137 [14:41:45]quantity*price = 14400 [14:41:45]sum+1 = 14401 [14:41:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 39 20.10.2024 14:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24269 ФПД: 152667668502283 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T144151&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24269&fm=152667668502283&tin=02508201610067®Number=0000000000098120&sum=14400 0 [14:41:46]StoreToDocumentArchive [14:41:46]shift 460 fd 24269 [14:41:46]save to /storage/0460/doc_00024269 [14:41:46]save last doc name /storage/0460/doc_00024269 to /storage/kkm_last_doc_name [14:41:46]save OK [14:41:46]Clear old archive folders... [14:41:46]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:41:46]tlvbuf is B6EEF520 [14:41:46]SAM_PROTO_ClearQueue [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 09 00 00 [14:41:46]Write to MH i2c: E2 08 00 F1 19 80 09 00 00 00 00 00 00 7C [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 F1 19 00 90 00 7E [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]SAM_PROTO_ClearQueue done [14:41:46]KKMCreateOFDPacket [14:41:46]OFDProtocolAddRootSTLVToBuf [14:41:46]FM_MakeSignedData [14:41:46]FM_MakeSignedData [14:41:46]SAM_PROTO_SignData [14:41:46]wFMCommunicate request_size=4 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 0D 01 02 [14:41:46]Write to MH i2c: E2 08 00 F2 19 80 0D 01 02 00 00 00 00 84 [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:41:46]Read from MH i2c: E2 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 [14:41:46]MH_I2C_Read... [14:41:46]Read from MH i2c: E2 03 00 F2 19 00 90 00 7F [14:41:46]RAPDU: 90 00 [14:41:46]wFMCommunicate OK [14:41:46]wFMCommunicate request_size=255 [14:41:46]MH_SAM_APDU [14:41:46]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 AF 16 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [14:41:46]Write to MH i2c: E2 02 01 F3 19 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 AF 16 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 1E [14:41:46]Write i2c OK [14:41:46]MH_I2C_Read... [14:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:47]Read from MH i2c: E2 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 03 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 03 00 F3 19 00 90 00 80 [14:41:47]RAPDU: 90 00 [14:41:47]wFMCommunicate OK [14:41:47]wFMCommunicate request_size=32 [14:41:47]MH_SAM_APDU [14:41:47]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 CD 5E 00 00 35 04 06 00 8A D9 B6 26 57 0B [14:41:47]Write to MH i2c: E2 23 00 F4 19 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 CD 5E 00 00 35 04 06 00 8A D9 B6 26 57 0B 00 00 AA [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:41:47]Read from MH i2c: E2 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 03 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 03 00 F4 19 00 90 00 81 [14:41:47]RAPDU: 90 00 [14:41:47]wFMCommunicate OK [14:41:47]wFMCommunicate request_size=4 [14:41:47]MH_SAM_APDU [14:41:47]CAPDU: 80 0D 03 02 [14:41:47]Write to MH i2c: E2 08 00 F5 19 80 0D 03 02 00 00 00 00 89 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:41:47]Read from MH i2c: E2 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 0B 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 0B 00 F5 19 00 8E 16 BE EE BD D5 8E 18 90 00 12 [14:41:47]RAPDU: 8E 16 BE EE BD D5 8E 18 90 00 [14:41:47]wFMCommunicate OK [14:41:47]SAM_PROTO_SignData done [14:41:47]FM_MakeSignedData done [14:41:47]CreateOFDProtocolMessage [14:41:47]wFMCommunicate request_size=4 [14:41:47]MH_SAM_APDU [14:41:47]CAPDU: 80 11 00 00 [14:41:47]Write to MH i2c: E2 08 00 F6 19 80 11 00 00 00 00 00 00 89 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:47]Read from MH i2c: E2 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 17 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: E2 17 00 F6 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D6 [14:41:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:41:47]wFMCommunicate OK [14:41:47]CreateOFDProtocolMessage done [14:41:47]OFDSenderStorePacket 24269 [14:41:47]StoreOFDPacket docnum=24269 [14:41:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 1A 53 1D 01 65 E4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 AF 16 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CD 5E 00 00 35 04 06 00 8A D9 B6 26 57 0B 8E 16 BE EE BD D5 8E 18 [14:41:47]CheckFolder [14:41:47]dirname=/storage/ofd_packets [14:41:47]CheckFolder done [14:41:47]ProducePacketName [14:41:47]name=ofd_packets/00024269 [14:41:47]NVStorageSaveData ofd_packets/00024269 [14:41:47]File name is /storage/ofd_packets/00024269 [14:41:47]Write 323 bytes [14:41:47]NVStorageSaveData done [14:41:47]OFDSenderStorePacket done [14:41:47]KKMCreateOFDPacket done [14:41:47]NVStorageSaveData kkm_last_timestamp [14:41:47]File name is /storage/kkm_last_timestamp [14:41:47]Write 4 bytes [14:41:47]NVStorageSaveData done [14:41:47]ExternCall_PrintAddStr [14:41:47]wPrintStart [14:41:47]Write to MH i2c: 01 00 00 F7 19 10 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 F7 19 00 00 00 00 00 FF 0F 25 [14:41:47]RasterBufferAndPrint [14:41:47]line Счет N : (3)134794 [14:41:47]line ИНН: 02508201610067 [14:41:47]line Контрольно-Кассовый Чек [14:41:47]line ПРОДАЖА [14:41:47]line Товар: 48743570 [14:41:47]line Сигареты Winston XStyle Blue [14:41:47]line 1.000 * 144.00 [14:41:47]line = 144.00 [14:41:47]line НДС 12% НСП 1% [14:41:47]line > о реализуемом товаре [14:41:47]line ИТОГО: 144.00 [14:41:47]line НСП 1% : 1.27 [14:41:47]line НДС 12% : 15.29 [14:41:47]line Наличными: 144.00 [14:41:47]line Безнал.: 0.00 [14:41:47]line Место: АЗС № 85 "Партнер Нефть" [14:41:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:41:47]line СНО: Общий режим [14:41:47]line Чек 39 20.10.2024 14:41 [14:41:47]line Смена: 460 ФФД: 1.0 [14:41:47]line ЗНМ: 0300000166 [14:41:47]line РНМ: 0000000000098120 [14:41:47]line Версия ККМ: 001 [14:41:47]line ФМ: 0000000000965420 [14:41:47]line ФД: 24269 [14:41:47]line ФПД: 152667668502283 [14:41:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T144151&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24269&fm=152667668502283&tin=02508201610067®Number=0000000000098120&sum=14400 [14:41:47]line 0 [14:41:47]OFD Sender: Processing packet 24269 [packets to send 5, broken 4] [14:41:47]ProducePacketName [14:41:47]name=ofd_packets/00024269 [14:41:47]OFD Sender: To server: pG, [14:41:47]CommunicateWithHost lk.salyk.kg:30040 [14:41:47]ConnectInit lk.salyk.kg [14:41:47]written 0, free lines is 4095 [14:41:47]Connected sock=10 [14:41:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 1A 53 1D 01 65 E4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 AF 16 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CD 5E 00 00 35 04 06 00 8A D9 B6 26 57 0B 8E 16 BE EE BD D5 8E 18 [14:41:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C6 ED 47 00 59 D4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CD 5E 00 00 F4 03 04 00 47 C2 14 67 B6 04 01 00 00 BA 55 9F 75 95 E2 24 A6 [14:41:47]CommunicateWithHost err = 0 [14:41:47]CheckOFDResponse [14:41:47]1017 (14) - 77093643461234 [14:41:47]1041 (16) - 0000000000965420 [14:41:47]1040 (4) - 24269 [14:41:47]1012 (4) - 20.10.2024 08:41 [14:41:47]1206 (1) - 0 [14:41:47]OFD Sender: Remove packet 24269 [14:41:47]ProducePacketName [14:41:47]name=ofd_packets/00024269 [14:41:47]NVStorageDeleteData [14:41:47]Write to MH i2c: 01 00 00 1F 1A 39 [14:41:47]Write i2c OK [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 [14:41:47]MH_I2C_Read... [14:41:47]Read from MH i2c: 01 07 00 1F 1A 00 00 00 00 00 17 0D 64 [14:41:47]RasterBufferAndPrint [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]line [14:41:47]written 0, free lines is 3358 [14:41:48]process_action close_receipt done [14:41:48]requested_data is exist [14:41:48]produce_requested_data [14:41:48]requested_item fm.sn is exist - process it [14:41:48]wFMCommunicate request_size=4 [14:41:48]MH_SAM_APDU [14:41:48]CAPDU: 80 11 00 00 [14:41:48]Write to MH i2c: E2 08 00 26 1A 80 11 00 00 00 00 00 00 BA [14:41:48]Write i2c OK [14:41:48]MH_I2C_Read... [14:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:41:48]Read from MH i2c: E2 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 17 00 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 17 00 26 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 07 [14:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:41:48]wFMCommunicate OK [14:41:48]requested_item fd.num is exist - process it [14:41:48]SAM_PROTO_GetFieldsCounters [14:41:48]wFMCommunicate request_size=4 [14:41:48]MH_SAM_APDU [14:41:48]CAPDU: 80 13 00 00 [14:41:48]Write to MH i2c: E2 08 00 27 1A 80 13 00 00 00 00 00 00 BD [14:41:48]Write i2c OK [14:41:48]MH_I2C_Read... [14:41:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:41:48]Read from MH i2c: E2 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 62 00 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 62 00 27 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [14:41:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:41:48]wFMCommunicate OK [14:41:48]SAM_PROTO_GetFieldsCounters done [14:41:48]requested_item shift.num is exist - process it [14:41:48]requested_item shift.opened is exist - process it [14:41:48]req_shift_opened [14:41:48]FM_GetShiftState [14:41:48]SAM_PROTO_GetShiftState [14:41:48]wFMCommunicate request_size=4 [14:41:48]MH_SAM_APDU [14:41:48]CAPDU: 80 13 01 00 [14:41:48]Write to MH i2c: E2 08 00 28 1A 80 13 01 00 00 00 00 00 BF [14:41:48]Write i2c OK [14:41:48]MH_I2C_Read... [14:41:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:41:48]Read from MH i2c: E2 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 0E 00 [14:41:48]MH_I2C_Read... [14:41:48]Read from MH i2c: E2 0E 00 28 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E0 [14:41:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [14:41:48]wFMCommunicate OK [14:41:48]SAM_PROTO_GetShiftState done [14:41:48]FM_GetShiftState done [14:41:48]req_shift_opened done [14:41:48]requested_item shift.open_date is exist - process it [14:41:48]req_shift_open_date [14:41:48]req_shift_open_date done [14:41:48]produce_requested_data done [14:41:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24269,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [14:41:48]process_action_free close_receipt [14:41:48]json_value_free [14:41:48]json_value_free done [14:41:48]process_json_proto returns [14:41:48]Send response to host [14:41:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24269,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [14:41:48]free response buf [14:41:48]execute_script done [14:41:48]execute_script returns [14:41:48]free content buf [14:41:48]Sock 9.Close socket [14:41:48]Sock 9.Thread stoped [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:08]OFD Sender: No OFD packet to send [14:54:13]OFD Sender: No OFD packet to send [14:54:18]OFD Sender: No OFD packet to send [14:54:23]OFD Sender: No OFD packet to send [14:54:28]OFD Sender: No OFD packet to send [14:54:33]OFD Sender: No OFD packet to send [14:54:38]OFD Sender: No OFD packet to send [14:54:43]OFD Sender: No OFD packet to send [14:54:48]OFD Sender: No OFD packet to send [14:54:53]OFD Sender: No OFD packet to send [14:54:58]OFD Sender: No OFD packet to send [14:55:03]OFD Sender: No OFD packet to send [14:55:08]OFD Sender: No OFD packet to send [14:55: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:47]accept exits with 7 [15:10:47]New connection [15:10:47]New thread 3067243876 created [15:10:47]Thread 3067100516 joined [15:10:47]Waiting for new connection... [15:10:47] Sock 7.Parse request [15:10:47]Sock 7.Check first char [15:10:47]Sock 7.First char is OK [15:10:47]request: POST /json_proto HTTP/1.0 [15:10:47]Method: POST [15:10:47]URL: /json_proto [15:10:47]Method is POST - this is cgi request [15:10:47]url: /json_proto [15:10:47]query_string will be loaded in cgi processing [15:10:47]execute_cgi json_proto POST (null) [15:10:47]execute_cgi path=json_proto method=POST [15:10:47]POST find Content-Length [15:10:47]Host: 172.17.50.4:8080 [15:10:47]Content-Length: 623 [15:10:47]Content-Type: application/json [15:10:47] [15:10:47]POST finish read [15:10:47]Found Content-Length = 623 [15:10:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134795", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:47]execute_script... [15:10: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)134795", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:10:47]POST & json_proto [15:10:47]process_json_proto [15:10:47]json parsed OK: [15:10:47]protocol is kg_v1.0 [15:10:47]action value=close_receipt [15:10:47]process_action close_receipt [15:10:47]cmd_close_receipt [15:10:47]MH_GetDate [15:10:47]Write to MH i2c: F0 00 00 29 1A 32 [15:10:47]Write i2c OK [15:10:47]MH_I2C_Read... [15:10:47]Read from MH i2c: F0 [15:10:47]MH_I2C_Read... [15:10:47]Read from MH i2c: F0 09 00 [15:10:47]MH_I2C_Read... [15:10:47]Read from MH i2c: F0 09 00 29 1A 00 7D 1D 15 67 1D BB 13 67 A3 [15:10:47]GetLastDocTimeStamp 1729435311 [15:10:47]current date 1729437053 [15:10:47]FM_GetShiftState [15:10:47]SAM_PROTO_GetShiftState [15:10:47]wFMCommunicate request_size=4 [15:10:47]MH_SAM_APDU [15:10:47]CAPDU: 80 13 01 00 [15:10:47]Write to MH i2c: E2 08 00 2A 1A 80 13 01 00 00 00 00 00 C1 [15:10:47]Write i2c OK [15:10:47]MH_I2C_Read... [15:10:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:47]Read from MH i2c: E2 [15:10:47]MH_I2C_Read... [15:10:47]Read from MH i2c: E2 0E 00 [15:10:47]MH_I2C_Read... [15:10:47]Read from MH i2c: E2 0E 00 2A 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 E2 [15:10:47]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [15:10:47]wFMCommunicate OK [15:10:47]SAM_PROTO_GetShiftState done [15:10:47]FM_GetShiftState done [15:10:47]opened in 1729382737 [15:10:47]opened+sec_in_day 1729469137 [15:10:47]quantity*price = 14400 [15:10:47]sum+1 = 14401 [15:10:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 40 20.10.2024 15:10 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24270 ФПД: 275224649291199 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151053&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24270&fm=275224649291199&tin=02508201610067®Number=0000000000098120&sum=14400 0 [15:10:48]StoreToDocumentArchive [15:10:48]shift 460 fd 24270 [15:10:48]save to /storage/0460/doc_00024270 [15:10:48]save last doc name /storage/0460/doc_00024270 to /storage/kkm_last_doc_name [15:10:48]save OK [15:10:48]Clear old archive folders... [15:10:48]ProcessDocumentItem done err = 0, tmpTLVsize=275 [15:10:48]tlvbuf is B6EEF090 [15:10:48]SAM_PROTO_ClearQueue [15:10:48]wFMCommunicate request_size=4 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 09 00 00 [15:10:48]Write to MH i2c: E2 08 00 37 1A 80 09 00 00 00 00 00 00 C3 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 37 1A 00 90 00 C5 [15:10:48]RAPDU: 90 00 [15:10:48]wFMCommunicate OK [15:10:48]SAM_PROTO_ClearQueue done [15:10:48]KKMCreateOFDPacket [15:10:48]OFDProtocolAddRootSTLVToBuf [15:10:48]FM_MakeSignedData [15:10:48]FM_MakeSignedData [15:10:48]SAM_PROTO_SignData [15:10:48]wFMCommunicate request_size=4 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 0D 01 02 [15:10:48]Write to MH i2c: E2 08 00 38 1A 80 0D 01 02 00 00 00 00 CB [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 38 1A 00 90 00 C6 [15:10:48]RAPDU: 90 00 [15:10:48]wFMCommunicate OK [15:10:48]wFMCommunicate request_size=255 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 7D 1D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 [15:10:48]Write to MH i2c: E2 02 01 39 1A 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 7D 1D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 00 00 D6 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 39 1A 00 90 00 C7 [15:10:48]RAPDU: 90 00 [15:10:48]wFMCommunicate OK [15:10:48]wFMCommunicate request_size=34 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CE 5E 00 00 35 04 06 00 FA 50 BB 74 55 BF [15:10:48]Write to MH i2c: E2 25 00 3A 1A 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CE 5E 00 00 35 04 06 00 FA 50 BB 74 55 BF 00 00 42 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 03 00 3A 1A 00 90 00 C8 [15:10:48]RAPDU: 90 00 [15:10:48]wFMCommunicate OK [15:10:48]wFMCommunicate request_size=4 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 0D 03 02 [15:10:48]Write to MH i2c: E2 08 00 3B 1A 80 0D 03 02 00 00 00 00 D0 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 0B 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 0B 00 3B 1A 00 A9 8D 5F D5 94 92 16 EF 90 00 66 [15:10:48]RAPDU: A9 8D 5F D5 94 92 16 EF 90 00 [15:10:48]wFMCommunicate OK [15:10:48]SAM_PROTO_SignData done [15:10:48]FM_MakeSignedData done [15:10:48]CreateOFDProtocolMessage [15:10:48]wFMCommunicate request_size=4 [15:10:48]MH_SAM_APDU [15:10:48]CAPDU: 80 11 00 00 [15:10:48]Write to MH i2c: E2 08 00 3C 1A 80 11 00 00 00 00 00 00 D0 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:48]Read from MH i2c: E2 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 17 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: E2 17 00 3C 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1D [15:10:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:10:48]wFMCommunicate OK [15:10:48]CreateOFDProtocolMessage done [15:10:48]OFDSenderStorePacket 24270 [15:10:48]StoreOFDPacket docnum=24270 [15:10:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 58 4F 1F 01 F4 DE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 7D 1D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CE 5E 00 00 35 04 06 00 FA 50 BB 74 55 BF A9 8D 5F D5 94 92 16 EF [15:10:48]CheckFolder [15:10:48]dirname=/storage/ofd_packets [15:10:48]CheckFolder done [15:10:48]ProducePacketName [15:10:48]name=ofd_packets/00024270 [15:10:48]NVStorageSaveData ofd_packets/00024270 [15:10:48]File name is /storage/ofd_packets/00024270 [15:10:48]Write 325 bytes [15:10:48]NVStorageSaveData done [15:10:48]OFDSenderStorePacket done [15:10:48]KKMCreateOFDPacket done [15:10:48]NVStorageSaveData kkm_last_timestamp [15:10:48]File name is /storage/kkm_last_timestamp [15:10:48]Write 4 bytes [15:10:48]NVStorageSaveData done [15:10:48]ExternCall_PrintAddStr [15:10:48]wPrintStart [15:10:48]Write to MH i2c: 01 00 00 3D 1A 57 [15:10:48]Write i2c OK [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: 01 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: 01 07 00 [15:10:48]MH_I2C_Read... [15:10:48]Read from MH i2c: 01 07 00 3D 1A 00 00 00 00 00 FF 0F 6C [15:10:48]RasterBufferAndPrint [15:10:48]line Счет N : (3)134795 [15:10:48]line ИНН: 02508201610067 [15:10:48]line Контрольно-Кассовый Чек [15:10:48]line ПРОДАЖА [15:10:48]line Товар: 48743587 [15:10:48]line Сигареты Winston XStyle Silver [15:10:48]line 1.000 * 144.00 [15:10:48]line = 144.00 [15:10:49]line НДС 12% НСП 1% [15:10:49]line > о реализуемом товаре [15:10:49]line ИТОГО: 144.00 [15:10:49]line НСП 1% : 1.27 [15:10:49]line НДС 12% : 15.29 [15:10:49]line Наличными: 144.00 [15:10:49]line Безнал.: 0.00 [15:10:49]line Место: АЗС № 85 "Партнер Нефть" [15:10:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:10:49]line СНО: Общий режим [15:10:49]line Чек 40 20.10.2024 15:10 [15:10:49]line Смена: 460 ФФД: 1.0 [15:10:49]line ЗНМ: 0300000166 [15:10:49]line РНМ: 0000000000098120 [15:10:49]line Версия ККМ: 001 [15:10:49]line ФМ: 0000000000965420 [15:10:49]line ФД: 24270 [15:10:49]line ФПД: 275224649291199 [15:10:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151053&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24270&fm=275224649291199&tin=02508201610067®Number=0000000000098120&sum=14400 [15:10:49]line 0 [15:10:49]OFD Sender: Processing packet 24270 [packets to send 5, broken 4] [15:10:49]ProducePacketName [15:10:49]name=ofd_packets/00024270 [15:10:49]OFD Sender: To server: pG, [15:10:49]CommunicateWithHost lk.salyk.kg:30040 [15:10:49]ConnectInit lk.salyk.kg [15:10:49]written 0, free lines is 4095 [15:10:49]Connected sock=10 [15:10:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 58 4F 1F 01 F4 DE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 7D 1D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CE 5E 00 00 35 04 06 00 FA 50 BB 74 55 BF A9 8D 5F D5 94 92 16 EF [15:10:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 33 AA 47 00 FD 87 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CE 5E 00 00 F4 03 04 00 15 C9 14 67 B6 04 01 00 00 E3 29 69 E4 2D A9 0B 6C [15:10:49]CommunicateWithHost err = 0 [15:10:49]CheckOFDResponse [15:10:49]1017 (14) - 77093643461234 [15:10:49]1041 (16) - 0000000000965420 [15:10:49]1040 (4) - 24270 [15:10:49]1012 (4) - 20.10.2024 09:10 [15:10:49]1206 (1) - 0 [15:10:49]OFD Sender: Remove packet 24270 [15:10:49]ProducePacketName [15:10:49]name=ofd_packets/00024270 [15:10:49]NVStorageDeleteData [15:10:49]Write to MH i2c: 01 00 00 66 1A 80 [15:10:49]Write i2c OK [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: 01 [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: 01 07 00 [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: 01 07 00 66 1A 00 00 00 00 00 00 0D 94 [15:10:49]RasterBufferAndPrint [15:10:49]line [15:10:49]line [15:10:49]line [15:10:49]line [15:10:49]line [15:10:49]written 0, free lines is 3336 [15:10:49]process_action close_receipt done [15:10:49]requested_data is exist [15:10:49]produce_requested_data [15:10:49]requested_item fm.sn is exist - process it [15:10:49]wFMCommunicate request_size=4 [15:10:49]MH_SAM_APDU [15:10:49]CAPDU: 80 11 00 00 [15:10:49]Write to MH i2c: E2 08 00 6D 1A 80 11 00 00 00 00 00 00 01 [15:10:49]Write i2c OK [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: E2 [15:10:49]MH_I2C_Read... [15:10:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:10:49]Read from MH i2c: E2 17 00 [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: E2 17 00 6D 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4E [15:10:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:10:49]wFMCommunicate OK [15:10:49]requested_item fd.num is exist - process it [15:10:49]SAM_PROTO_GetFieldsCounters [15:10:49]wFMCommunicate request_size=4 [15:10:49]MH_SAM_APDU [15:10:49]CAPDU: 80 13 00 00 [15:10:49]Write to MH i2c: E2 08 00 6E 1A 80 13 00 00 00 00 00 00 04 [15:10:49]Write i2c OK [15:10:49]MH_I2C_Read... [15:10:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:10:49]Read from MH i2c: E2 [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: E2 62 00 [15:10:49]MH_I2C_Read... [15:10:49]Read from MH i2c: E2 62 00 6E 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [15:10:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:10:49]wFMCommunicate OK [15:10:49]SAM_PROTO_GetFieldsCounters done [15:10:49]requested_item shift.num is exist - process it [15:10:49]requested_item shift.opened is exist - process it [15:10:49]req_shift_opened [15:10:49]FM_GetShiftState [15:10:49]SAM_PROTO_GetShiftState [15:10:49]wFMCommunicate request_size=4 [15:10:49]MH_SAM_APDU [15:10:49]CAPDU: 80 13 01 00 [15:10:49]Write to MH i2c: E2 08 00 6F 1A 80 13 01 00 00 00 00 00 06 [15:10:50]Write i2c OK [15:10:50]MH_I2C_Read... [15:10:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:10:50]Read from MH i2c: E2 [15:10:50]MH_I2C_Read... [15:10:50]Read from MH i2c: E2 0E 00 [15:10:50]MH_I2C_Read... [15:10:50]Read from MH i2c: E2 0E 00 6F 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 27 [15:10:50]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [15:10:50]wFMCommunicate OK [15:10:50]SAM_PROTO_GetShiftState done [15:10:50]FM_GetShiftState done [15:10:50]req_shift_opened done [15:10:50]requested_item shift.open_date is exist - process it [15:10:50]req_shift_open_date [15:10:50]req_shift_open_date done [15:10:50]produce_requested_data done [15:10:50]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24270,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [15:10:50]process_action_free close_receipt [15:10:50]json_value_free [15:10:50]json_value_free done [15:10:50]process_json_proto returns [15:10:50]Send response to host [15:10:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24270,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [15:10:50]free response buf [15:10:50]execute_script done [15:10:50]execute_script returns [15:10:50]free content buf [15:10:50]Sock 7.Close socket [15:10:50]Sock 7.Thread stoped [15:10:50]OFD Sender: No OFD packet to send [15:10:55]OFD Sender: No OFD packet to send [15:11:00]OFD Sender: No OFD packet to send [15:11:05]OFD Sender: No OFD packet to send [15:11:10]OFD Sender: No OFD packet to send [15:11:15]OFD Sender: No OFD packet to send [15:11:20]OFD Sender: No OFD packet to send [15:11:25]OFD Sender: No OFD packet to send [15:11:30]OFD Sender: No OFD packet to send [15:11:35]OFD Sender: No OFD packet to send [15:11:40]OFD Sender: No OFD packet to send [15:11:45]OFD Sender: No OFD packet to send [15:11:50]OFD Sender: No OFD packet to send [15:11:55]OFD Sender: No OFD packet to send [15:12:00]OFD Sender: No OFD packet to send [15:12:05]OFD Sender: No OFD packet to send [15:12:10]OFD Sender: No OFD packet to send [15:12:15]OFD Sender: No OFD packet to send [15:12:20]OFD Sender: No OFD packet to send [15:12:25]OFD Sender: No OFD packet to send [15:12:30]OFD Sender: No OFD packet to send [15:12:35]OFD Sender: No OFD packet to send [15:12:40]OFD Sender: No OFD packet to send [15:12:45]OFD Sender: No OFD packet to send [15:12:50]OFD Sender: No OFD packet to send [15:12:55]OFD Sender: No OFD packet to send [15:13:00]OFD Sender: No OFD packet to send [15:13:05]OFD Sender: No OFD packet to send [15:13:10]OFD Sender: No OFD packet to send [15:13:15]OFD Sender: No OFD packet to send [15:13:20]OFD Sender: No OFD packet to send [15:13:25]OFD Sender: No OFD packet to send [15:13:30]OFD Sender: No OFD packet to send [15:13:35]OFD Sender: No OFD packet to send [15:13:40]OFD Sender: No OFD packet to send [15:13:45]OFD Sender: No OFD packet to send [15:13:50]OFD Sender: No OFD packet to send [15:13:55]OFD Sender: No OFD packet to send [15:13:59]accept exits with 9 [15:13:59]New connection [15:13:59]New thread 3067100516 created [15:13:59]Thread 3067243876 joined [15:13:59]Waiting for new connection... [15:13:59] Sock 9.Parse request [15:13:59]Sock 9.Check first char [15:13:59]Sock 9.First char is OK [15:13:59]request: POST /json_proto HTTP/1.0 [15:13:59]Method: POST [15:13:59]URL: /json_proto [15:13:59]Method is POST - this is cgi request [15:13:59]url: /json_proto [15:13:59]query_string will be loaded in cgi processing [15:13:59]execute_cgi json_proto POST (null) [15:13:59]execute_cgi path=json_proto method=POST [15:13:59]POST find Content-Length [15:13:59]Host: 172.17.50.4:8080 [15:13:59]Content-Length: 622 [15:13:59]Content-Type: application/json [15:13:59] [15:13:59]POST finish read [15:13:59]Found Content-Length = 622 [15:13:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134796", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:59]execute_script... [15:13:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134796", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:59]POST & json_proto [15:13:59]process_json_proto [15:13:59]json parsed OK: [15:13:59]protocol is kg_v1.0 [15:13:59]action value=close_receipt [15:13:59]process_action close_receipt [15:13:59]cmd_close_receipt [15:13:59]MH_GetDate [15:13:59]Write to MH i2c: F0 00 00 70 1A 79 [15:13:59]Write i2c OK [15:13:59]MH_I2C_Read... [15:13:59]Read from MH i2c: F0 [15:13:59]MH_I2C_Read... [15:13:59]Read from MH i2c: F0 09 00 [15:13:59]MH_I2C_Read... [15:13:59]Read from MH i2c: F0 09 00 70 1A 00 3D 1E 15 67 1D BB 13 67 AB [15:13:59]GetLastDocTimeStamp 1729437053 [15:13:59]current date 1729437245 [15:13:59]FM_GetShiftState [15:13:59]SAM_PROTO_GetShiftState [15:13:59]wFMCommunicate request_size=4 [15:13:59]MH_SAM_APDU [15:13:59]CAPDU: 80 13 01 00 [15:13:59]Write to MH i2c: E2 08 00 71 1A 80 13 01 00 00 00 00 00 08 [15:13:59]Write i2c OK [15:13:59]MH_I2C_Read... [15:13:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:13:59]Read from MH i2c: E2 [15:13:59]MH_I2C_Read... [15:13:59]Read from MH i2c: E2 0E 00 [15:13:59]MH_I2C_Read... [15:13:59]Read from MH i2c: E2 0E 00 71 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 29 [15:13:59]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [15:13:59]wFMCommunicate OK [15:13:59]SAM_PROTO_GetShiftState done [15:13:59]FM_GetShiftState done [15:13:59]opened in 1729382737 [15:13:59]opened+sec_in_day 1729469137 [15:13:59]quantity*price = 16000 [15:13:59]sum+1 = 16001 [15:13:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 41 20.10.2024 15:14 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24271 ФПД: 225778591362844 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151405&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24271&fm=225778591362844&tin=02508201610067®Number=0000000000098120&sum=16000 0 [15:14:00]StoreToDocumentArchive [15:14:00]shift 460 fd 24271 [15:14:00]save to /storage/0460/doc_00024271 [15:14:00]save last doc name /storage/0460/doc_00024271 to /storage/kkm_last_doc_name [15:14:00]save OK [15:14:00]Clear old archive folders... [15:14:00]ProcessDocumentItem done err = 0, tmpTLVsize=274 [15:14:00]tlvbuf is 020B4E20 [15:14:00]SAM_PROTO_ClearQueue [15:14:00]wFMCommunicate request_size=4 [15:14:00]MH_SAM_APDU [15:14:00]CAPDU: 80 09 00 00 [15:14:00]Write to MH i2c: E2 08 00 7E 1A 80 09 00 00 00 00 00 00 0A [15:14:00]Write i2c OK [15:14:00]MH_I2C_Read... [15:14:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:14:00]Read from MH i2c: E2 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 7E 1A 00 90 00 0C [15:14:00]RAPDU: 90 00 [15:14:00]wFMCommunicate OK [15:14:00]SAM_PROTO_ClearQueue done [15:14:00]KKMCreateOFDPacket [15:14:00]OFDProtocolAddRootSTLVToBuf [15:14:00]FM_MakeSignedData [15:14:00]FM_MakeSignedData [15:14:00]SAM_PROTO_SignData [15:14:00]wFMCommunicate request_size=4 [15:14:00]MH_SAM_APDU [15:14:00]CAPDU: 80 0D 01 02 [15:14:00]Write to MH i2c: E2 08 00 7F 1A 80 0D 01 02 00 00 00 00 12 [15:14:00]Write i2c OK [15:14:00]MH_I2C_Read... [15:14:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:14:00]Read from MH i2c: E2 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 7F 1A 00 90 00 0D [15:14:00]RAPDU: 90 00 [15:14:00]wFMCommunicate OK [15:14:00]wFMCommunicate request_size=255 [15:14:00]MH_SAM_APDU [15:14: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 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3D 1E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 [15:14:00]Write to MH i2c: E2 02 01 80 1A 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3D 1E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 00 00 2B [15:14:00]Write i2c OK [15:14:00]MH_I2C_Read... [15:14:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:14:00]Read from MH i2c: E2 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 [15:14:00]MH_I2C_Read... [15:14:00]Read from MH i2c: E2 03 00 80 1A 00 90 00 0E [15:14:00]RAPDU: 90 00 [15:14:00]wFMCommunicate OK [15:14:00]wFMCommunicate request_size=33 [15:14:00]MH_SAM_APDU [15:14:00]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CF 5E 00 00 35 04 06 00 CD 58 2C BC 6F 1C [15:14:00]Write to MH i2c: E2 24 00 81 1A 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CF 5E 00 00 35 04 06 00 CD 58 2C BC 6F 1C 00 00 63 [15:14:00]Write i2c OK [15:14:00]MH_I2C_Read... [15:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:14:01]Read from MH i2c: E2 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 03 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 03 00 81 1A 00 90 00 0F [15:14:01]RAPDU: 90 00 [15:14:01]wFMCommunicate OK [15:14:01]wFMCommunicate request_size=4 [15:14:01]MH_SAM_APDU [15:14:01]CAPDU: 80 0D 03 02 [15:14:01]Write to MH i2c: E2 08 00 82 1A 80 0D 03 02 00 00 00 00 17 [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:14:01]Read from MH i2c: E2 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 0B 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 0B 00 82 1A 00 C3 31 F1 D3 03 FC CA 68 90 00 01 [15:14:01]RAPDU: C3 31 F1 D3 03 FC CA 68 90 00 [15:14:01]wFMCommunicate OK [15:14:01]SAM_PROTO_SignData done [15:14:01]FM_MakeSignedData done [15:14:01]CreateOFDProtocolMessage [15:14:01]wFMCommunicate request_size=4 [15:14:01]MH_SAM_APDU [15:14:01]CAPDU: 80 11 00 00 [15:14:01]Write to MH i2c: E2 08 00 83 1A 80 11 00 00 00 00 00 00 17 [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:14:01]Read from MH i2c: E2 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 17 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 17 00 83 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 64 [15:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:14:01]wFMCommunicate OK [15:14:01]CreateOFDProtocolMessage done [15:14:01]OFDSenderStorePacket 24271 [15:14:01]StoreOFDPacket docnum=24271 [15:14:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 71 2C 1E 01 27 EF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3D 1E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CF 5E 00 00 35 04 06 00 CD 58 2C BC 6F 1C C3 31 F1 D3 03 FC CA 68 [15:14:01]CheckFolder [15:14:01]dirname=/storage/ofd_packets [15:14:01]CheckFolder done [15:14:01]ProducePacketName [15:14:01]name=ofd_packets/00024271 [15:14:01]NVStorageSaveData ofd_packets/00024271 [15:14:01]File name is /storage/ofd_packets/00024271 [15:14:01]Write 324 bytes [15:14:01]NVStorageSaveData done [15:14:01]OFDSenderStorePacket done [15:14:01]KKMCreateOFDPacket done [15:14:01]NVStorageSaveData kkm_last_timestamp [15:14:01]File name is /storage/kkm_last_timestamp [15:14:01]Write 4 bytes [15:14:01]NVStorageSaveData done [15:14:01]ExternCall_PrintAddStr [15:14:01]wPrintStart [15:14:01]Write to MH i2c: 01 00 00 84 1A 9E [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 07 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 07 00 84 1A 00 00 00 00 00 FF 0F B3 [15:14:01]RasterBufferAndPrint [15:14:01]line Счет N : (3)134796 [15:14:01]line ИНН: 02508201610067 [15:14:01]line Контрольно-Кассовый Чек [15:14:01]line ПРОДАЖА [15:14:01]line Товар: 48741958 [15:14:01]line Сигареты Parliament Aqua Blue [15:14:01]line 1.000 * 160.00 [15:14:01]line = 160.00 [15:14:01]line НДС 12% НСП 1% [15:14:01]line > о реализуемом товаре [15:14:01]line ИТОГО: 160.00 [15:14:01]line НСП 1% : 1.42 [15:14:01]line НДС 12% : 16.99 [15:14:01]line Наличными: 160.00 [15:14:01]line Безнал.: 0.00 [15:14:01]line Место: АЗС № 85 "Партнер Нефть" [15:14:01]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:14:01]line СНО: Общий режим [15:14:01]line Чек 41 20.10.2024 15:14 [15:14:01]line Смена: 460 ФФД: 1.0 [15:14:01]line ЗНМ: 0300000166 [15:14:01]line РНМ: 0000000000098120 [15:14:01]line Версия ККМ: 001 [15:14:01]line ФМ: 0000000000965420 [15:14:01]line ФД: 24271 [15:14:01]line ФПД: 225778591362844 [15:14:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T151405&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24271&fm=225778591362844&tin=02508201610067®Number=0000000000098120&sum=16000 [15:14:01]line 0 [15:14:01]OFD Sender: Processing packet 24271 [packets to send 5, broken 4] [15:14:01]ProducePacketName [15:14:01]name=ofd_packets/00024271 [15:14:01]OFD Sender: To server: pG, [15:14:01]CommunicateWithHost lk.salyk.kg:30040 [15:14:01]ConnectInit lk.salyk.kg [15:14:01]written 0, free lines is 4095 [15:14:01]Connected sock=10 [15:14:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 71 2C 1E 01 27 EF 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 29 00 00 00 F4 03 04 00 3D 1E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CF 5E 00 00 35 04 06 00 CD 58 2C BC 6F 1C C3 31 F1 D3 03 FC CA 68 [15:14:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AD CE 47 00 87 32 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 CF 5E 00 00 F4 03 04 00 D5 C9 14 67 B6 04 01 00 00 CD 22 64 9D BD B1 EA F6 [15:14:01]CommunicateWithHost err = 0 [15:14:01]CheckOFDResponse [15:14:01]1017 (14) - 77093643461234 [15:14:01]1041 (16) - 0000000000965420 [15:14:01]1040 (4) - 24271 [15:14:01]1012 (4) - 20.10.2024 09:13 [15:14:01]1206 (1) - 0 [15:14:01]OFD Sender: Remove packet 24271 [15:14:01]ProducePacketName [15:14:01]name=ofd_packets/00024271 [15:14:01]NVStorageDeleteData [15:14:01]Write to MH i2c: 01 00 00 AD 1A C7 [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 07 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: 01 07 00 AD 1A 00 00 00 00 00 01 0D DC [15:14:01]RasterBufferAndPrint [15:14:01]line [15:14:01]line [15:14:01]line [15:14:01]line [15:14:01]line [15:14:01]written 0, free lines is 3335 [15:14:01]process_action close_receipt done [15:14:01]requested_data is exist [15:14:01]produce_requested_data [15:14:01]requested_item fm.sn is exist - process it [15:14:01]wFMCommunicate request_size=4 [15:14:01]MH_SAM_APDU [15:14:01]CAPDU: 80 11 00 00 [15:14:01]Write to MH i2c: E2 08 00 B4 1A 80 11 00 00 00 00 00 00 48 [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 [15:14:01]MH_I2C_Read... [15:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:14:01]Read from MH i2c: E2 17 00 [15:14:01]MH_I2C_Read... [15:14:01]Read from MH i2c: E2 17 00 B4 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 95 [15:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:14:01]wFMCommunicate OK [15:14:01]requested_item fd.num is exist - process it [15:14:01]SAM_PROTO_GetFieldsCounters [15:14:01]wFMCommunicate request_size=4 [15:14:01]MH_SAM_APDU [15:14:01]CAPDU: 80 13 00 00 [15:14:01]Write to MH i2c: E2 08 00 B5 1A 80 13 00 00 00 00 00 00 4B [15:14:01]Write i2c OK [15:14:01]MH_I2C_Read... [15:14:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:14:02]Read from MH i2c: E2 [15:14:02]MH_I2C_Read... [15:14:02]Read from MH i2c: E2 62 00 [15:14:02]MH_I2C_Read... [15:14:02]Read from MH i2c: E2 62 00 B5 1A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [15:14:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 CF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:14:02]wFMCommunicate OK [15:14:02]SAM_PROTO_GetFieldsCounters done [15:14:02]requested_item shift.num is exist - process it [15:14:02]requested_item shift.opened is exist - process it [15:14:02]req_shift_opened [15:14:02]FM_GetShiftState [15:14:02]SAM_PROTO_GetShiftState [15:14:02]wFMCommunicate request_size=4 [15:14:02]MH_SAM_APDU [15:14:02]CAPDU: 80 13 01 00 [15:14:02]Write to MH i2c: E2 08 00 B6 1A 80 13 01 00 00 00 00 00 4D [15:14:02]Write i2c OK [15:14:02]MH_I2C_Read... [15:14:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:14:02]Read from MH i2c: E2 [15:14:02]MH_I2C_Read... [15:14:02]Read from MH i2c: E2 0E 00 [15:14:02]MH_I2C_Read... [15:14:02]Read from MH i2c: E2 0E 00 B6 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 6E [15:14:02]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [15:14:02]wFMCommunicate OK [15:14:02]SAM_PROTO_GetShiftState done [15:14:02]FM_GetShiftState done [15:14:02]req_shift_opened done [15:14:02]requested_item shift.open_date is exist - process it [15:14:02]req_shift_open_date [15:14:02]req_shift_open_date done [15:14:02]produce_requested_data done [15:14:02]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24271,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [15:14:02]process_action_free close_receipt [15:14:02]json_value_free [15:14:02]json_value_free done [15:14:02]process_json_proto returns [15:14:02]Send response to host [15:14:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24271,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [15:14:02]free response buf [15:14:02]execute_script done [15:14:02]execute_script returns [15:14:02]free content buf [15:14:02]Sock 9.Close socket [15:14:02]Sock 9.Thread stoped [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]OFD Sender: No OFD packet to send [15:15:42]OFD Sender: No OFD packet to send [15:15:47]OFD Sender: No OFD packet to send [15:15:52]OFD Sender: No OFD packet to send [15:15:57]OFD Sender: No OFD packet to send [15:16:02]OFD Sender: No OFD packet to send [15:16:07]OFD Sender: No OFD packet to send [15:16:12]OFD Sender: No OFD packet to send [15:16:17]OFD Sender: No OFD packet to send [15:16:22]OFD Sender: No OFD packet to send [15:16:27]OFD Sender: No OFD packet to send [15:16:32]OFD Sender: No OFD packet to send [15:16:37]OFD Sender: No OFD packet to send [15:16:42]OFD Sender: No OFD packet to send [15:16:47]OFD Sender: No OFD packet to send [15:16:52]OFD Sender: No OFD packet to send [15:16:57]OFD Sender: No OFD packet to send [15:17:02]OFD Sender: No OFD packet to send [15:17:07]OFD Sender: No OFD packet to send [15:17:12]OFD Sender: No OFD packet to send [15:17:17]OFD Sender: No OFD packet to send [15:17:22]OFD Sender: No OFD packet to send [15:17:27]OFD Sender: No OFD packet to send [15:17:32]OFD Sender: No OFD packet to send [15:17:37]OFD Sender: No OFD packet to send [15:17:42]OFD Sender: No OFD packet to send [15:17:47]OFD Sender: No OFD packet to send [15:17:52]OFD Sender: No OFD packet to send [15:17:57]OFD Sender: No OFD packet to send [15:18:02]OFD Sender: No OFD packet to send [15:18:07]OFD Sender: No OFD packet to send [15:18:12]OFD Sender: No OFD packet to send [15:18:17]OFD Sender: No OFD packet to send [15:18:22]OFD Sender: No OFD packet to send [15:18:27]OFD Sender: No OFD packet to send [15:18:32]OFD Sender: No OFD packet to send [15:18:37]OFD Sender: No OFD packet to send [15:18:42]OFD Sender: No OFD packet to send [15:18:47]OFD Sender: No OFD packet to send [15:18:52]OFD Sender: No OFD packet to send [15:18:57]OFD Sender: No OFD packet to send [15:19:02]OFD Sender: No OFD packet to send [15:19:07]OFD Sender: No OFD packet to send [15:19:12]OFD Sender: No OFD packet to send [15:19:17]OFD Sender: No OFD packet to send [15:19:22]OFD Sender: No OFD packet to send [15:19:27]OFD Sender: No OFD packet to send [15:19:32]OFD Sender: No OFD packet to send [15:19:37]OFD Sender: No OFD packet to send [15:19:42]OFD Sender: No OFD packet to send [15:19:47]OFD Sender: No OFD packet to send [15:19:52]OFD Sender: No OFD packet to send [15:19:57]OFD Sender: No OFD packet to send [15:20:02]OFD Sender: No OFD packet to send [15:20:07]OFD Sender: No OFD packet to send [15:20:12]OFD Sender: No OFD packet to send [15:20:17]OFD Sender: No OFD packet to send [15:20:22]OFD Sender: No OFD packet to send [15:20:27]OFD Sender: No OFD packet to send [15:20:32]OFD Sender: No OFD packet to send [15:20:37]OFD Sender: No OFD packet to send [15:20:42]OFD Sender: No OFD packet to send [15:20:47]OFD Sender: No OFD packet to send [15:20:52]OFD Sender: No OFD packet to send [15:20:57]OFD Sender: No OFD packet to send [15:21:02]OFD Sender: No OFD packet to send [15:21:07]OFD Sender: No OFD packet to send [15:21:12]OFD Sender: No OFD packet to send [15:21:17]OFD Sender: No OFD packet to send [15:21:22]OFD Sender: No OFD packet to send [15:21:27]OFD Sender: No OFD packet to send [15:21:32]OFD Sender: No OFD packet to send [15:21:37]OFD Sender: No OFD packet to send [15:21:42]OFD Sender: No OFD packet to send [15:21:47]OFD Sender: No OFD packet to send [15:21:52]OFD Sender: No OFD packet to send [15:21:57]OFD Sender: No OFD packet to send [15:22:02]OFD Sender: No OFD packet to send [15:22:07]OFD Sender: No OFD packet to send [15:22:12]OFD Sender: No OFD packet to send [15:22:17]OFD Sender: No OFD packet to send [15:22:22]OFD Sender: No OFD packet to send [15:22:27]OFD Sender: No OFD packet to send [15:22:32]OFD Sender: No OFD packet to send [15:22:37]OFD Sender: No OFD packet to send [15:22:42]OFD Sender: No OFD packet to send [15:22:47]OFD Sender: No OFD packet to send [15:22:52]OFD Sender: No OFD packet to send [15:22:57]OFD Sender: No OFD packet to send [15:23:02]OFD Sender: No OFD packet to send [15:23:07]OFD Sender: No OFD packet to send [15:23:12]OFD Sender: No OFD packet to send [15:23:17]OFD Sender: No OFD packet to send [15:23:22]OFD Sender: No OFD packet to send [15:23:27]OFD Sender: No OFD packet to send [15:23:32]OFD Sender: No OFD packet to send [15:23:37]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:23]OFD Sender: No OFD packet to send [15:29:28]OFD Sender: No OFD packet to send [15:29:33]OFD Sender: No OFD packet to send [15:29:38]OFD Sender: No OFD packet to send [15:29:43]OFD Sender: No OFD packet to send [15:29:48]OFD Sender: No OFD packet to send [15:29:53]OFD Sender: No OFD packet to send [15:29:58]OFD Sender: No OFD packet to send [15:30:03]OFD Sender: No OFD packet to send [15:30:08]OFD Sender: No OFD packet to send [15:30:13]OFD Sender: No OFD packet to send [15:30:18]OFD Sender: No OFD packet to send [15:30:23]OFD Sender: No OFD packet to send [15:30:28]OFD Sender: No OFD packet to send [15:30:33]OFD Sender: No OFD packet to send [15:30:38]OFD Sender: No OFD packet to send [15:30:43]OFD Sender: No OFD packet to send [15:30:48]OFD Sender: No OFD packet to send [15:30:53]OFD Sender: No OFD packet to send [15:30:58]OFD Sender: No OFD packet to send [15:31:03]OFD Sender: No OFD packet to send [15:31:08]OFD Sender: No OFD packet to send [15:31:13]OFD Sender: No OFD packet to send [15:31:18]OFD Sender: No OFD packet to send [15:31:23]OFD Sender: No OFD packet to send [15:31:28]OFD Sender: No OFD packet to send [15:31:33]OFD Sender: No OFD packet to send [15:31:38]OFD Sender: No OFD packet to send [15:31:43]OFD Sender: No OFD packet to send [15:31:48]OFD Sender: No OFD packet to send [15:31:53]OFD Sender: No OFD packet to send [15:31:58]OFD Sender: No OFD packet to send [15:32:03]OFD Sender: No OFD packet to send [15:32:08]OFD Sender: No OFD packet to send [15:32:13]OFD Sender: No OFD packet to send [15:32:18]OFD Sender: No OFD packet to send [15:32:23]OFD Sender: No OFD packet to send [15:32:28]OFD Sender: No OFD packet to send [15:32:33]OFD Sender: No OFD packet to send [15:32:38]OFD Sender: No OFD packet to send [15:32:43]OFD Sender: No OFD packet to send [15:32:48]OFD Sender: No OFD packet to send [15:32:53]OFD Sender: No OFD packet to send [15:32:58]OFD Sender: No OFD packet to send [15:33:03]OFD Sender: No OFD packet to send [15:33:08]OFD Sender: No OFD packet to send [15:33:13]OFD Sender: No OFD packet to send [15:33:18]OFD Sender: No OFD packet to send [15:33:23]OFD Sender: No OFD packet to send [15:33:28]OFD Sender: No OFD packet to send [15:33:33]OFD Sender: No OFD packet to send [15:33:38]OFD Sender: No OFD packet to send [15:33:43]OFD Sender: No OFD packet to send [15:33:48]OFD Sender: No OFD packet to send [15:33:53]OFD Sender: No OFD packet to send [15:33:58]OFD Sender: No OFD packet to send [15:34:03]OFD Sender: No OFD packet to send [15:34:08]OFD Sender: No OFD packet to send [15:34:13]OFD Sender: No OFD packet to send [15:34:18]OFD Sender: No OFD packet to send [15:34:23]OFD Sender: No OFD packet to send [15:34:28]OFD Sender: No OFD packet to send [15:34:33]OFD Sender: No OFD packet to send [15:34:38]OFD Sender: No OFD packet to send [15:34:43]OFD Sender: No OFD packet to send [15:34:48]OFD Sender: No OFD packet to send [15:34:53]OFD Sender: No OFD packet to send [15:34:58]OFD Sender: No OFD packet to send [15:35:03]OFD Sender: No OFD packet to send [15:35:08]OFD Sender: No OFD packet to send [15:35:13]OFD Sender: No OFD packet to send [15:35:18]OFD Sender: No OFD packet to send [15:35:23]OFD Sender: No OFD packet to send [15:35:28]OFD Sender: No OFD packet to send [15:35:33]OFD Sender: No OFD packet to send [15:35:38]OFD Sender: No OFD packet to send [15:35:43]OFD Sender: No OFD packet to send [15:35:48]OFD Sender: No OFD packet to send [15:35:53]OFD Sender: No OFD packet to send [15:35:58]OFD Sender: No OFD packet to send [15:36:03]OFD Sender: No OFD packet to send [15:36:08]OFD Sender: No OFD packet to send [15:36:13]OFD Sender: No OFD packet to send [15:36:18]OFD Sender: No OFD packet to send [15:36:23]OFD Sender: No OFD packet to send [15:36:28]OFD Sender: No OFD packet to send [15:36:33]OFD Sender: No OFD packet to send [15:36:38]OFD Sender: No OFD packet to send [15:36:43]OFD Sender: No OFD packet to send [15:36:48]OFD Sender: No OFD packet to send [15:36:53]OFD Sender: No OFD packet to send [15:36:58]OFD Sender: No OFD packet to send [15:37:03]OFD Sender: No OFD packet to send [15:37:08]OFD Sender: No OFD packet to send [15:37:13]OFD Sender: No OFD packet to send [15:37:18]OFD Sender: No OFD packet to send [15:37:23]OFD Sender: No OFD packet to send [15:37:28]OFD Sender: No OFD packet to send [15:37:33]OFD Sender: No OFD packet to send [15:37:38]OFD Sender: No OFD packet to send [15:37:43]OFD Sender: No OFD packet to send [15:37:48]OFD Sender: No OFD packet to send [15:37:53]OFD Sender: No OFD packet to send [15:37:58]OFD Sender: No OFD packet to send [15:38:03]OFD Sender: No OFD packet to send [15:38:08]OFD Sender: No OFD packet to send [15:38:13]OFD Sender: No OFD packet to send [15:38:18]OFD Sender: No OFD packet to send [15:38:23]OFD Sender: No OFD packet to send [15:38:28]OFD Sender: No OFD packet to send [15:38:33]OFD Sender: No OFD packet to send [15:38:38]OFD Sender: No OFD packet to send [15:38:43]OFD Sender: No OFD packet to send [15:38:48]OFD Sender: No OFD packet to send [15:38:53]OFD Sender: No OFD packet to send [15:38:58]OFD Sender: No OFD packet to send [15:39:03]OFD Sender: No OFD packet to send [15:39:08]OFD Sender: No OFD packet to send [15:39:13]OFD Sender: No OFD packet to send [15:39:18]OFD Sender: No OFD packet to send [15:39:23]OFD Sender: No OFD packet to send [15:39:28]OFD Sender: No OFD packet to send [15:39:33]OFD Sender: No OFD packet to send [15:39:38]OFD Sender: No OFD packet to send [15:39:43]OFD Sender: No OFD packet to send [15:39:48]OFD Sender: No OFD packet to send [15:39:53]OFD Sender: No OFD packet to send [15:39:58]OFD Sender: No OFD packet to send [15:40:03]OFD Sender: No OFD packet to send [15:40:08]OFD Sender: No OFD packet to send [15:40:13]OFD Sender: No OFD packet to send [15:40:18]OFD Sender: No OFD packet to send [15:40:23]OFD Sender: No OFD packet to send [15:40:28]OFD Sender: No OFD packet to send [15:40:33]OFD Sender: No OFD packet to send [15:40:38]OFD Sender: No OFD packet to send [15:40:43]OFD Sender: No OFD packet to send [15:40:48]OFD Sender: No OFD packet to send [15:40:53]OFD Sender: No OFD packet to send [15:40:58]OFD Sender: No OFD packet to send [15:41:03]OFD Sender: No OFD packet to send [15:41:08]OFD Sender: No OFD packet to send [15:41:13]OFD Sender: No OFD packet to send [15:41:18]OFD Sender: No OFD packet to send [15:41:23]OFD Sender: No OFD packet to send [15:41:28]OFD Sender: No OFD packet to send [15:41:33]OFD Sender: No OFD packet to send [15:41:38]OFD Sender: No OFD packet to send [15:41:43]OFD Sender: No OFD packet to send [15:41:48]OFD Sender: No OFD packet to send [15:41:53]OFD Sender: No OFD packet to send [15:41:58]OFD Sender: No OFD packet to send [15:42:03]OFD Sender: No OFD packet to send [15:42:08]OFD Sender: No OFD packet to send [15:42:13]OFD Sender: No OFD packet to send [15:42:18]OFD Sender: No OFD packet to send [15:42:23]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50:49]OFD Sender: No OFD packet to send [15:50:54]OFD Sender: No OFD packet to send [15:50:59]OFD Sender: No OFD packet to send [15:51:04]OFD Sender: No OFD packet to send [15:51:09]OFD Sender: No OFD packet to send [15:51:14]OFD Sender: No OFD packet to send [15:51:19]OFD Sender: No OFD packet to send [15:51:24]OFD Sender: No OFD packet to send [15:51:29]OFD Sender: No OFD packet to send [15:51:34]OFD Sender: No OFD packet to send [15:51:39]OFD Sender: No OFD packet to send [15:51:44]OFD Sender: No OFD packet to send [15:51:49]OFD Sender: No OFD packet to send [15:51:54]OFD Sender: No OFD packet to send [15:51:59]OFD Sender: No OFD packet to send [15:52:04]OFD Sender: No OFD packet to send [15:52:09]OFD Sender: No OFD packet to send [15:52:14]OFD Sender: No OFD packet to send [15:52:19]OFD Sender: No OFD packet to send [15:52:24]OFD Sender: No OFD packet to send [15:52:29]OFD Sender: No OFD packet to send [15:52:34]OFD Sender: No OFD packet to send [15:52:39]OFD Sender: No OFD packet to send [15:52:44]OFD Sender: No OFD packet to send [15:52:49]OFD Sender: No OFD packet to send [15:52:54]OFD Sender: No OFD packet to send [15:52:59]OFD Sender: No OFD packet to send [15:53:04]OFD Sender: No OFD packet to send [15:53:09]OFD Sender: No OFD packet to send [15:53:14]OFD Sender: No OFD packet to send [15:53:19]OFD Sender: No OFD packet to send [15:53:24]OFD Sender: No OFD packet to send [15:53:29]OFD Sender: No OFD packet to send [15:53:34]OFD Sender: No OFD packet to send [15:53:39]OFD Sender: No OFD packet to send [15:53:44]OFD Sender: No OFD packet to send [15:53:49]OFD Sender: No OFD packet to send [15:53:54]OFD Sender: No OFD packet to send [15:53:59]OFD Sender: No OFD packet to send [15:54:04]OFD Sender: No OFD packet to send [15:54:09]OFD Sender: No OFD packet to send [15:54:14]OFD Sender: No OFD packet to send [15:54:19]OFD Sender: No OFD packet to send [15:54:24]OFD Sender: No OFD packet to send [15:54:29]OFD Sender: No OFD packet to send [15:54:34]OFD Sender: No OFD packet to send [15:54:39]OFD Sender: No OFD packet to send [15:54:44]OFD Sender: No OFD packet to send [15:54:49]OFD Sender: No OFD packet to send [15:54:54]OFD Sender: No OFD packet to send [15:54:59]OFD Sender: No OFD packet to send [15:55:04]OFD Sender: No OFD packet to send [15:55:09]OFD Sender: No OFD packet to send [15:55:14]OFD Sender: No OFD packet to send [15:55:19]OFD Sender: No OFD packet to send [15:55:24]OFD Sender: No OFD packet to send [15:55:29]OFD Sender: No OFD packet to send [15:55:34]OFD Sender: No OFD packet to send [15:55:39]OFD Sender: No OFD packet to send [15:55:44]OFD Sender: No OFD packet to send [15:55:49]OFD Sender: No OFD packet to send [15:55:54]OFD Sender: No OFD packet to send [15:55:59]OFD Sender: No OFD packet to send [15:56:04]OFD Sender: No OFD packet to send [15:56:09]OFD Sender: No OFD packet to send [15:56:14]OFD Sender: No OFD packet to send [15:56:19]OFD Sender: No OFD packet to send [15:56:24]OFD Sender: No OFD packet to send [15:56:29]OFD Sender: No OFD packet to send [15:56:34]OFD Sender: No OFD packet to send [15:56:39]OFD Sender: No OFD packet to send [15:56:44]OFD Sender: No OFD packet to send [15:56:49]OFD Sender: No OFD packet to send [15:56:54]OFD Sender: No OFD packet to send [15:56:59]OFD Sender: No OFD packet to send [15:57:04]OFD Sender: No OFD packet to send [15:57:09]OFD Sender: No OFD packet to send [15:57:14]OFD Sender: No OFD packet to send [15:57:19]OFD Sender: No OFD packet to send [15:57:24]OFD Sender: No OFD packet to send [15:57:29]OFD Sender: No OFD packet to send [15:57:34]OFD Sender: No OFD packet to send [15:57:39]OFD Sender: No OFD packet to send [15:57:44]OFD Sender: No OFD packet to send [15:57:49]OFD Sender: No OFD packet to send [15:57:54]OFD Sender: No OFD packet to send [15:57:59]OFD Sender: No OFD packet to send [15:58:04]OFD Sender: No OFD packet to send [15:58:09]OFD Sender: No OFD packet to send [15:58:14]OFD Sender: No OFD packet to send [15:58:19]OFD Sender: No OFD packet to send [15:58:24]OFD Sender: No OFD packet to send [15:58:29]OFD Sender: No OFD packet to send [15:58:34]OFD Sender: No OFD packet to send [15:58:39]OFD Sender: No OFD packet to send [15:58:44]OFD Sender: No OFD packet to send [15:58:49]OFD Sender: No OFD packet to send [15:58:54]OFD Sender: No OFD packet to send [15:58:59]OFD Sender: No OFD packet to send [15:59:04]OFD Sender: No OFD packet to send [15:59:09]OFD Sender: No OFD packet to send [15:59:14]OFD Sender: No OFD packet to send [15:59:19]OFD Sender: No OFD packet to send [15:59:24]OFD Sender: No OFD packet to send [15:59:29]OFD Sender: No OFD packet to send [15:59:34]OFD Sender: No OFD packet to send [15:59:39]OFD Sender: No OFD packet to send [15:59:44]OFD Sender: No OFD packet to send [15:59:49]OFD Sender: No OFD packet to send [15:59:54]OFD Sender: No OFD packet to send [15:59:59]OFD Sender: No OFD packet to send [16:00:04]OFD Sender: No OFD packet to send [16:00:09]OFD Sender: No OFD packet to send [16:00:14]OFD Sender: No OFD packet to send [16:00:19]OFD Sender: No OFD packet to send [16:00:24]OFD Sender: No OFD packet to send [16:00:29]OFD Sender: No OFD packet to send [16:00:34]OFD Sender: No OFD packet to send [16:00:39]OFD Sender: No OFD packet to send [16:00:44]OFD Sender: No OFD packet to send [16:00:49]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:02]accept exits with 7 [16:03:02]New connection [16:03:02]New thread 3067243876 created [16:03:02]Thread 3067100516 joined [16:03:02]Waiting for new connection... [16:03:02] Sock 7.Parse request [16:03:02]Sock 7.Check first char [16:03:02]Sock 7.First char is OK [16:03:02]request: POST /json_proto HTTP/1.0 [16:03:02]Method: POST [16:03:02]URL: /json_proto [16:03:02]Method is POST - this is cgi request [16:03:02]url: /json_proto [16:03:02]query_string will be loaded in cgi processing [16:03:02]execute_cgi json_proto POST (null) [16:03:02]execute_cgi path=json_proto method=POST [16:03:02]POST find Content-Length [16:03:02]Host: 172.17.50.4:8080 [16:03:02]Content-Length: 608 [16:03:02]Content-Type: application/json [16:03:02] [16:03:02]POST finish read [16:03:02]Found Content-Length = 608 [16:03:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134797", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:02]execute_script... [16:03:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134797", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 3.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 30.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:02]POST & json_proto [16:03:02]process_json_proto [16:03:02]json parsed OK: [16:03:02]protocol is kg_v1.0 [16:03:02]action value=close_receipt [16:03:02]process_action close_receipt [16:03:02]cmd_close_receipt [16:03:02]MH_GetDate [16:03:02]Write to MH i2c: F0 00 00 B7 1A C0 [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: F0 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: F0 09 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: F0 09 00 B7 1A 00 BC 29 15 67 1D BB 13 67 7C [16:03:02]GetLastDocTimeStamp 1729437245 [16:03:02]current date 1729440188 [16:03:02]FM_GetShiftState [16:03:02]SAM_PROTO_GetShiftState [16:03:02]wFMCommunicate request_size=4 [16:03:02]MH_SAM_APDU [16:03:02]CAPDU: 80 13 01 00 [16:03:02]Write to MH i2c: E2 08 00 B8 1A 80 13 01 00 00 00 00 00 4F [16:03:02]Write i2c OK [16:03:02]MH_I2C_Read... [16:03:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:02]Read from MH i2c: E2 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 0E 00 [16:03:02]MH_I2C_Read... [16:03:02]Read from MH i2c: E2 0E 00 B8 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 70 [16:03:02]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:03:02]wFMCommunicate OK [16:03:02]SAM_PROTO_GetShiftState done [16:03:02]FM_GetShiftState done [16:03:02]opened in 1729382737 [16:03:02]opened+sec_in_day 1729469137 [16:03:02]quantity*price = 3000 [16:03:02]sum+1 = 3001 [16:03:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 42 20.10.2024 16:03 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24272 ФПД: 53935080435853 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T160308&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24272&fm=53935080435853&tin=02508201610067®Number=0000000000098120&sum=3000 0 [16:03:03]StoreToDocumentArchive [16:03:03]shift 460 fd 24272 [16:03:03]save to /storage/0460/doc_00024272 [16:03:03]save last doc name /storage/0460/doc_00024272 to /storage/kkm_last_doc_name [16:03:03]save OK [16:03:03]Clear old archive folders... [16:03:03]ProcessDocumentItem done err = 0, tmpTLVsize=267 [16:03:03]tlvbuf is 02078380 [16:03:03]SAM_PROTO_ClearQueue [16:03:03]wFMCommunicate request_size=4 [16:03:03]MH_SAM_APDU [16:03:03]CAPDU: 80 09 00 00 [16:03:03]Write to MH i2c: E2 08 00 C5 1A 80 09 00 00 00 00 00 00 51 [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:03:03]Read from MH i2c: E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 C5 1A 00 90 00 53 [16:03:03]RAPDU: 90 00 [16:03:03]wFMCommunicate OK [16:03:03]SAM_PROTO_ClearQueue done [16:03:03]KKMCreateOFDPacket [16:03:03]OFDProtocolAddRootSTLVToBuf [16:03:03]FM_MakeSignedData [16:03:03]FM_MakeSignedData [16:03:03]SAM_PROTO_SignData [16:03:03]wFMCommunicate request_size=4 [16:03:03]MH_SAM_APDU [16:03:03]CAPDU: 80 0D 01 02 [16:03:03]Write to MH i2c: E2 08 00 C6 1A 80 0D 01 02 00 00 00 00 59 [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: *** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:03:03]E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 C6 1A 00 90 00 54 [16:03:03]RAPDU: 90 00 [16:03:03]wFMCommunicate OK [16:03:03]wFMCommunicate request_size=255 [16:03:03]MH_SAM_APDU [16:03:03]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 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC 29 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [16:03:03]Write to MH i2c: E2 02 01 C7 1A 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 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC 29 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 8A [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:03]Read from MH i2c: E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 C7 1A 00 90 00 55 [16:03:03]RAPDU: 90 00 [16:03:03]wFMCommunicate OK [16:03:03]wFMCommunicate request_size=26 [16:03:03]MH_SAM_APDU [16:03:03]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 D0 5E 00 00 35 04 06 00 31 0D BD 4F 70 8D [16:03:03]Write to MH i2c: E2 1D 00 C8 1A 80 0D 02 02 15 00 34 32 30 10 04 04 00 D0 5E 00 00 35 04 06 00 31 0D BD 4F 70 8D 00 00 E8 [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:03]Read from MH i2c: E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 03 00 C8 1A 00 90 00 56 [16:03:03]RAPDU: 90 00 [16:03:03]wFMCommunicate OK [16:03:03]wFMCommunicate request_size=4 [16:03:03]MH_SAM_APDU [16:03:03]CAPDU: 80 0D 03 02 [16:03:03]Write to MH i2c: E2 08 00 C9 1A 80 0D 03 02 00 00 00 00 5E [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:03:03]Read from MH i2c: E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 0B 00 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 0B 00 C9 1A 00 B9 39 0C DA 21 83 78 EC 90 00 3F [16:03:03]RAPDU: B9 39 0C DA 21 83 78 EC 90 00 [16:03:03]wFMCommunicate OK [16:03:03]SAM_PROTO_SignData done [16:03:03]FM_MakeSignedData done [16:03:03]CreateOFDProtocolMessage [16:03:03]wFMCommunicate request_size=4 [16:03:03]MH_SAM_APDU [16:03:03]CAPDU: 80 11 00 00 [16:03:03]Write to MH i2c: E2 08 00 CA 1A 80 11 00 00 00 00 00 00 5E [16:03:03]Write i2c OK [16:03:03]MH_I2C_Read... [16:03:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:03]Read from MH i2c: E2 [16:03:03]MH_I2C_Read... [16:03:03]Read from MH i2c: E2 17 00 [16:03:03]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 17 00 CA 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AB [16:03:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:03:04]wFMCommunicate OK [16:03:04]CreateOFDProtocolMessage done [16:03:04]OFDSenderStorePacket 24272 [16:03:04]StoreOFDPacket docnum=24272 [16:03:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 35 57 17 01 38 87 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 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC 29 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D0 5E 00 00 35 04 06 00 31 0D BD 4F 70 8D B9 39 0C DA 21 83 78 EC [16:03:04]CheckFolder [16:03:04]dirname=/storage/ofd_packets [16:03:04]CheckFolder done [16:03:04]ProducePacketName [16:03:04]name=ofd_packets/00024272 [16:03:04]NVStorageSaveData ofd_packets/00024272 [16:03:04]File name is /storage/ofd_packets/00024272 [16:03:04]Write 317 bytes [16:03:04]NVStorageSaveData done [16:03:04]OFDSenderStorePacket done [16:03:04]KKMCreateOFDPacket done [16:03:04]NVStorageSaveData kkm_last_timestamp [16:03:04]File name is /storage/kkm_last_timestamp [16:03:04]Write 4 bytes [16:03:04]NVStorageSaveData done [16:03:04]ExternCall_PrintAddStr [16:03:04]wPrintStart [16:03:04]Write to MH i2c: 01 00 00 CB 1A E5 [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 07 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 07 00 CB 1A 00 00 00 00 00 FF 0F FA [16:03:04]RasterBufferAndPrint [16:03:04]line Счет N : (3)134797 [16:03:04]line ИНН: 02508201610067 [16:03:04]line Контрольно-Кассовый Чек [16:03:04]line ПРОДАЖА [16:03:04]line Товар: 46231529 [16:03:04]line Mentos ПФ Арбуз 6*100*2 [16:03:04]line 3.000 * 10.00 [16:03:04]line = 30.00 [16:03:04]line НДС 12% НСП 1% [16:03:04]line > о реализуемом товаре [16:03:04]line ИТОГО: 30.00 [16:03:04]line НСП 1% : 0.26 [16:03:04]line НДС 12% : 3.19 [16:03:04]line Наличными: 30.00 [16:03:04]line Безнал.: 0.00 [16:03:04]line Место: АЗС № 85 "Партнер Нефть" [16:03:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:03:04]line СНО: Общий режим [16:03:04]line Чек 42 20.10.2024 16:03 [16:03:04]line Смена: 460 ФФД: 1.0 [16:03:04]line ЗНМ: 0300000166 [16:03:04]line РНМ: 0000000000098120 [16:03:04]line Версия ККМ: 001 [16:03:04]line ФМ: 0000000000965420 [16:03:04]line ФД: 24272 [16:03:04]line ФПД: 53935080435853 [16:03:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T160308&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24272&fm=53935080435853&tin=02508201610067®Number=0000000000098120&sum=3000 [16:03:04]line 0 [16:03:04]OFD Sender: Processing packet 24272 [packets to send 5, broken 4] [16:03:04]ProducePacketName [16:03:04]name=ofd_packets/00024272 [16:03:04]OFD Sender: To server: pG, [16:03:04]CommunicateWithHost lk.salyk.kg:30040 [16:03:04]ConnectInit lk.salyk.kg [16:03:04]written 0, free lines is 4095 [16:03:04]Connected sock=10 [16:03:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 35 57 17 01 38 87 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 B8 0B 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 B8 0B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 0B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 01 00 00 00 00 07 04 06 00 B8 0B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2A 00 00 00 F4 03 04 00 BC 29 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D0 5E 00 00 35 04 06 00 31 0D BD 4F 70 8D B9 39 0C DA 21 83 78 EC [16:03:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 58 C2 47 00 13 DB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D0 5E 00 00 F4 03 04 00 54 D5 14 67 B6 04 01 00 00 C2 44 C4 E7 27 BA A6 6E [16:03:04]CommunicateWithHost err = 0 [16:03:04]CheckOFDResponse [16:03:04]1017 (14) - 77093643461234 [16:03:04]1041 (16) - 0000000000965420 [16:03:04]1040 (4) - 24272 [16:03:04]1012 (4) - 20.10.2024 10:03 [16:03:04]1206 (1) - 0 [16:03:04]OFD Sender: Remove packet 24272 [16:03:04]ProducePacketName [16:03:04]name=ofd_packets/00024272 [16:03:04]NVStorageDeleteData [16:03:04]Write to MH i2c: 01 00 00 F3 1A 0D [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 07 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: 01 07 00 F3 1A 00 00 00 00 00 1E 0D 3F [16:03:04]RasterBufferAndPrint [16:03:04]line [16:03:04]line [16:03:04]line [16:03:04]line [16:03:04]line [16:03:04]written 0, free lines is 3364 [16:03:04]process_action close_receipt done [16:03:04]requested_data is exist [16:03:04]produce_requested_data [16:03:04]requested_item fm.sn is exist - process it [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 11 00 00 [16:03:04]Write to MH i2c: E2 08 00 FA 1A 80 11 00 00 00 00 00 00 8E [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:04]Read from MH i2c: E2 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 17 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 17 00 FA 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DB [16:03:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:03:04]wFMCommunicate OK [16:03:04]requested_item fd.num is exist - process it [16:03:04]SAM_PROTO_GetFieldsCounters [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 13 00 00 [16:03:04]Write to MH i2c: E2 08 00 FB 1A 80 13 00 00 00 00 00 00 91 [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:03:04]Read from MH i2c: E2 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 62 00 [16:03:04]MH_I2C_Read... [16:03:04]Read from MH i2c: E2 62 00 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 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [16:03:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:03:04]wFMCommunicate OK [16:03:04]SAM_PROTO_GetFieldsCounters done [16:03:04]requested_item shift.num is exist - process it [16:03:04]requested_item shift.opened is exist - process it [16:03:04]req_shift_opened [16:03:04]FM_GetShiftState [16:03:04]SAM_PROTO_GetShiftState [16:03:04]wFMCommunicate request_size=4 [16:03:04]MH_SAM_APDU [16:03:04]CAPDU: 80 13 01 00 [16:03:04]Write to MH i2c: E2 08 00 FC 1A 80 13 01 00 00 00 00 00 93 [16:03:04]Write i2c OK [16:03:04]MH_I2C_Read... [16:03:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:05]Read from MH i2c: E2 [16:03:05]MH_I2C_Read... [16:03:05]Read from MH i2c: E2 0E 00 [16:03:05]MH_I2C_Read... [16:03:05]Read from MH i2c: E2 0E 00 FC 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B4 [16:03:05]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:03:05]wFMCommunicate OK [16:03:05]SAM_PROTO_GetShiftState done [16:03:05]FM_GetShiftState done [16:03:05]req_shift_opened done [16:03:05]requested_item shift.open_date is exist - process it [16:03:05]req_shift_open_date [16:03:05]req_shift_open_date done [16:03:05]produce_requested_data done [16:03:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24272,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [16:03:05]process_action_free close_receipt [16:03:05]json_value_free [16:03:05]json_value_free done [16:03:05]process_json_proto returns [16:03:05]Send response to host [16:03:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24272,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [16:03:05]free response buf [16:03:05]execute_script done [16:03:05]execute_script returns [16:03:05]free content buf [16:03:05]Sock 7.Close socket [16:03:05]Sock 7.Thread stoped [16:03:05]OFD Sender: No OFD packet to send [16:03:10]OFD Sender: No OFD packet to send [16:03:15]OFD Sender: No OFD packet to send [16:03:20]OFD Sender: No OFD packet to send [16:03:25]OFD Sender: No OFD packet to send [16:03:30]OFD Sender: No OFD packet to send [16:03:35]OFD Sender: No OFD packet to send [16:03:40]OFD Sender: No OFD packet to send [16:03:45]OFD Sender: No OFD packet to send [16:03:50]OFD Sender: No OFD packet to send [16:03:55]OFD Sender: No OFD packet to send [16:04:00]OFD Sender: No OFD packet to send [16:04:05]OFD Sender: No OFD packet to send [16:04:10]OFD Sender: No OFD packet to send [16:04:15]OFD Sender: No OFD packet to send [16:04:20]OFD Sender: No OFD packet to send [16:04:25]OFD Sender: No OFD packet to send [16:04:30]OFD Sender: No OFD packet to send [16:04:35]OFD Sender: No OFD packet to send [16:04:40]OFD Sender: No OFD packet to send [16:04:45]OFD Sender: No OFD packet to send [16:04:50]OFD Sender: No OFD packet to send [16:04:55]OFD Sender: No OFD packet to send [16:05:00]OFD Sender: No OFD packet to send [16:05:05]OFD Sender: No OFD packet to send [16:05:10]OFD Sender: No OFD packet to send [16:05:15]OFD Sender: No OFD packet to send [16:05:20]OFD Sender: No OFD packet to send [16:05:25]OFD Sender: No OFD packet to send [16:05:30]OFD Sender: No OFD packet to send [16:05:35]OFD Sender: No OFD packet to send [16:05:40]OFD Sender: No OFD packet to send [16:05:45]OFD Sender: No OFD packet to send [16:05:50]OFD Sender: No OFD packet to send [16:05:55]OFD Sender: No OFD packet to send [16:06:00]OFD Sender: No OFD packet to send [16:06:05]OFD Sender: No OFD packet to send [16:06:10]OFD Sender: No OFD packet to send [16:06:15]OFD Sender: No OFD packet to send [16:06:20]OFD Sender: No OFD packet to send [16:06:25]OFD Sender: No OFD packet to send [16:06:30]OFD Sender: No OFD packet to send [16:06:35]OFD Sender: No OFD packet to send [16:06:40]OFD Sender: No OFD packet to send [16:06:45]OFD Sender: No OFD packet to send [16:06:50]OFD Sender: No OFD packet to send [16:06:55]OFD Sender: No OFD packet to send [16:07:00]OFD Sender: No OFD packet to send [16:07:05]OFD Sender: No OFD packet to send [16:07:10]OFD Sender: No OFD packet to send [16:07:15]OFD Sender: No OFD packet to send [16:07:20]OFD Sender: No OFD packet to send [16:07:25]OFD Sender: No OFD packet to send [16:07:30]OFD Sender: No OFD packet to send [16:07:35]OFD Sender: No OFD packet to send [16:07:40]OFD Sender: No OFD packet to send [16:07:45]OFD Sender: No OFD packet to send [16:07:50]OFD Sender: No OFD packet to send [16:07:55]OFD Sender: No OFD packet to send [16:08:00]OFD Sender: No OFD packet to send [16:08:05]OFD Sender: No OFD packet to send [16:08:10]OFD Sender: No OFD packet to send [16:08:15]OFD Sender: No OFD packet to send [16:08:20]OFD Sender: No OFD packet to send [16:08:25]OFD Sender: No OFD packet to send [16:08:30]OFD Sender: No OFD packet to send [16:08:35]OFD Sender: No OFD packet to send [16:08:40]OFD Sender: No OFD packet to send [16:08:45]OFD Sender: No OFD packet to send [16:08:50]OFD Sender: No OFD packet to send [16:08:55]OFD Sender: No OFD packet to send [16:09:00]OFD Sender: No OFD packet to send [16:09:05]OFD Sender: No OFD packet to send [16:09:10]OFD Sender: No OFD packet to send [16:09:15]OFD Sender: No OFD packet to send [16:09:20]OFD Sender: No OFD packet to send [16:09:25]OFD Sender: No OFD packet to send [16:09:30]OFD Sender: No OFD packet to send [16:09:35]OFD Sender: No OFD packet to send [16:09:40]OFD Sender: No OFD packet to send [16:09:45]OFD Sender: No OFD packet to send [16:09:50]OFD Sender: No OFD packet to send [16:09:55]OFD Sender: No OFD packet to send [16:10:00]OFD Sender: No OFD packet to send [16:10:05]OFD Sender: No OFD packet to send [16:10:10]OFD Sender: No OFD packet to send [16:10:15]OFD Sender: No OFD packet to send [16:10:20]OFD Sender: No OFD packet to send [16:10:25]OFD Sender: No OFD packet to send [16:10:30]OFD Sender: No OFD packet to send [16:10:35]OFD Sender: No OFD packet to send [16:10:40]OFD Sender: No OFD packet to send [16:10:45]OFD Sender: No OFD packet to send [16:10:50]OFD Sender: No OFD packet to send [16:10:55]OFD Sender: No OFD packet to send [16:11:00]OFD Sender: No OFD packet to send [16:11:05]OFD Sender: No OFD packet to send [16:11:10]OFD Sender: No OFD packet to send [16:11:15]OFD Sender: No OFD packet to send [16:11:20]OFD Sender: No OFD packet to send [16:11:25]OFD Sender: No OFD packet to send [16:11:30]OFD Sender: No OFD packet to send [16:11:35]OFD Sender: No OFD packet to send [16:11:40]OFD Sender: No OFD packet to send [16:11:45]OFD Sender: No OFD packet to send [16:11:50]OFD Sender: No OFD packet to send [16:11:55]OFD Sender: No OFD packet to send [16:12:00]OFD Sender: No OFD packet to send [16:12:05]OFD Sender: No OFD packet to send [16:12:10]OFD Sender: No OFD packet to send [16:12:15]OFD Sender: No OFD packet to send [16:12:20]OFD Sender: No OFD packet to send [16:12:25]OFD Sender: No OFD packet to send [16:12:30]OFD Sender: No OFD packet to send [16:12:35]OFD Sender: No OFD packet to send [16:12:40]OFD Sender: No OFD packet to send [16:12:45]OFD Sender: No OFD packet to send [16:12:50]OFD Sender: No OFD packet to send [16:12:55]OFD Sender: No OFD packet to send [16:13:00]OFD Sender: No OFD packet to send [16:13:05]OFD Sender: No OFD packet to send [16:13:10]OFD Sender: No OFD packet to send [16:13:15]OFD Sender: No OFD packet to send [16:13:20]OFD Sender: No OFD packet to send [16:13:25]OFD Sender: No OFD packet to send [16:13:30]OFD Sender: No OFD packet to send [16:13:35]OFD Sender: No OFD packet to send [16:13:40]OFD Sender: No OFD packet to send [16:13:45]OFD Sender: No OFD packet to send [16:13:50]OFD Sender: No OFD packet to send [16:13:55]OFD Sender: No OFD packet to send [16:14:00]OFD Sender: No OFD packet to send [16:14:05]OFD Sender: No OFD packet to send [16:14:10]OFD Sender: No OFD packet to send [16:14:15]OFD Sender: No OFD packet to send [16:14:20]OFD Sender: No OFD packet to send [16:14:25]OFD Sender: No OFD packet to send [16:14:30]OFD Sender: No OFD packet to send [16:14:35]OFD Sender: No OFD packet to send [16:14:40]OFD Sender: No OFD packet to send [16:14:45]OFD Sender: No OFD packet to send [16:14:50]OFD Sender: No OFD packet to send [16:14:55]OFD Sender: No OFD packet to send [16:15:00]OFD Sender: No OFD packet to send [16:15:05]OFD Sender: No OFD packet to send [16:15:10]OFD Sender: No OFD packet to send [16:15:15]OFD Sender: No OFD packet to send [16:15:20]OFD Sender: No OFD packet to send [16:15:25]OFD Sender: No OFD packet to send [16:15:30]OFD Sender: No OFD packet to send [16:15:35]OFD Sender: No OFD packet to send [16:15:40]OFD Sender: No OFD packet to send [16:15:45]OFD Sender: No OFD packet to send [16:15:50]OFD Sender: No OFD packet to send [16:15:55]OFD Sender: No OFD packet to send [16:16:00]OFD Sender: No OFD packet to send [16:16:05]OFD Sender: No OFD packet to send [16:16:10]OFD Sender: No OFD packet to send [16:16:15]OFD Sender: No OFD packet to send [16:16:20]OFD Sender: No OFD packet to send [16:16:25]OFD Sender: No OFD packet to send [16:16:30]OFD Sender: No OFD packet to send [16:16:35]OFD Sender: No OFD packet to send [16:16:40]OFD Sender: No OFD packet to send [16:16:45]OFD Sender: No OFD packet to send [16:16:50]OFD Sender: No OFD packet to send [16:16:55]OFD Sender: No OFD packet to send [16:17:00]OFD Sender: No OFD packet to send [16:17:05]OFD Sender: No OFD packet to send [16:17:10]OFD Sender: No OFD packet to send [16:17:13]accept exits with 9 [16:17:13]New connection [16:17:13]New thread 3067100516 created [16:17:13]Thread 3067243876 joined [16:17:13]Waiting for new connection... [16:17:13] Sock 9.Parse request [16:17:13]Sock 9.Check first char [16:17:13]Sock 9.First char is OK [16:17:13]request: POST /json_proto HTTP/1.0 [16:17:13]Method: POST [16:17:13]URL: /json_proto [16:17:13]Method is POST - this is cgi request [16:17:13]url: /json_proto [16:17:13]query_string will be loaded in cgi processing [16:17:13]execute_cgi json_proto POST (null) [16:17:13]execute_cgi path=json_proto method=POST [16:17:13]POST find Content-Length [16:17:13]Host: 172.17.50.4:8080 [16:17:13]Content-Length: 626 [16:17:13]Content-Type: application/json [16:17:13] [16:17:13]POST finish read [16:17:13]Found Content-Length = 626 [16:17:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134798", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:17:13]execute_script... [16:17:13]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134798", "tax_sys" : 0, "items" : [ { "code": "48741224", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Super Slims Blue", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:17:13]POST & json_proto [16:17:13]process_json_proto [16:17:13]json parsed OK: [16:17:13]protocol is kg_v1.0 [16:17:13]action value=close_receipt [16:17:13]process_action close_receipt [16:17:13]cmd_close_receipt [16:17:13]MH_GetDate [16:17:13]Write to MH i2c: F0 00 00 FD 1A 06 [16:17:13]Write i2c OK [16:17:13]MH_I2C_Read... [16:17:13]Read from MH i2c: F0 [16:17:13]MH_I2C_Read... [16:17:13]Read from MH i2c: F0 09 00 [16:17:13]MH_I2C_Read... [16:17:13]Read from MH i2c: F0 09 00 FD 1A 00 0F 2D 15 67 1D BB 13 67 19 [16:17:13]GetLastDocTimeStamp 1729440188 [16:17:13]current date 1729441039 [16:17:13]FM_GetShiftState [16:17:13]SAM_PROTO_GetShiftState [16:17:13]wFMCommunicate request_size=4 [16:17:13]MH_SAM_APDU [16:17:13]CAPDU: 80 13 01 00 [16:17:13]Write to MH i2c: E2 08 00 FE 1A 80 13 01 00 00 00 00 00 95 [16:17:13]Write i2c OK [16:17:13]MH_I2C_Read... [16:17:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:17:13]Read from MH i2c: E2 [16:17:13]MH_I2C_Read... [16:17:13]Read from MH i2c: E2 0E 00 [16:17:13]MH_I2C_Read... [16:17:13]Read from MH i2c: E2 0E 00 FE 1A 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B6 [16:17:13]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:17:13]wFMCommunicate OK [16:17:13]SAM_PROTO_GetShiftState done [16:17:13]FM_GetShiftState done [16:17:13]opened in 1729382737 [16:17:13]opened+sec_in_day 1729469137 [16:17:13]quantity*price = 13900 [16:17:13]sum+1 = 13901 [16:17:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 43 20.10.2024 16:17 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24273 ФПД: 160476030008929 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161719&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24273&fm=160476030008929&tin=02508201610067®Number=0000000000098120&sum=13900 0 [16:17:14]StoreToDocumentArchive [16:17:14]shift 460 fd 24273 [16:17:14]save to /storage/0460/doc_00024273 [16:17:14]save last doc name /storage/0460/doc_00024273 to /storage/kkm_last_doc_name [16:17:14]save OK [16:17:14]Clear old archive folders... [16:17:14]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:17:14]tlvbuf is 0217A270 [16:17:14]SAM_PROTO_ClearQueue [16:17:14]wFMCommunicate request_size=4 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 09 00 00 [16:17:14]Write to MH i2c: E2 08 00 0B 1B 80 09 00 00 00 00 00 00 98 [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:17:14]Read from MH i2c: E2 03 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 0B 1B 00 90 00 9A [16:17:14]RAPDU: 90 00 [16:17:14]wFMCommunicate OK [16:17:14]SAM_PROTO_ClearQueue done [16:17:14]KKMCreateOFDPacket [16:17:14]OFDProtocolAddRootSTLVToBuf [16:17:14]FM_MakeSignedData [16:17:14]FM_MakeSignedData [16:17:14]SAM_PROTO_SignData [16:17:14]wFMCommunicate request_size=4 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 0D 01 02 [16:17:14]Write to MH i2c: E2 08 00 0C 1B 80 0D 01 02 00 00 00 00 A0 [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 0C 1B 00 90 00 9B [16:17:14]RAPDU: 90 00 [16:17:14]wFMCommunicate OK [16:17:14]wFMCommunicate request_size=255 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0F 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 [16:17:14]Write to MH i2c: E2 02 01 0D 1B 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0F 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 00 00 8B [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 0D 1B 00 90 00 9C [16:17:14]RAPDU: 90 00 [16:17:14]wFMCommunicate OK [16:17:14]wFMCommunicate request_size=37 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D1 5E 00 00 35 04 06 00 91 F3 BC C3 7E 61 [16:17:14]Write to MH i2c: E2 28 00 0E 1B 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D1 5E 00 00 35 04 06 00 91 F3 BC C3 7E 61 00 00 05 [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 03 00 0E 1B 00 90 00 9D [16:17:14]RAPDU: 90 00 [16:17:14]wFMCommunicate OK [16:17:14]wFMCommunicate request_size=4 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 0D 03 02 [16:17:14]Write to MH i2c: E2 08 00 0F 1B 80 0D 03 02 00 00 00 00 A5 [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 0B 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 0B 00 0F 1B 00 06 7F CF BB 89 72 01 08 90 00 B9 [16:17:14]RAPDU: 06 7F CF BB 89 72 01 08 90 00 [16:17:14]wFMCommunicate OK [16:17:14]SAM_PROTO_SignData done [16:17:14]FM_MakeSignedData done [16:17:14]CreateOFDProtocolMessage [16:17:14]wFMCommunicate request_size=4 [16:17:14]MH_SAM_APDU [16:17:14]CAPDU: 80 11 00 00 [16:17:14]Write to MH i2c: E2 08 00 10 1B 80 11 00 00 00 00 00 00 A5 [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:17:14]Read from MH i2c: E2 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: E2 17 00 [16:17:14]MH_I2C_Read... [16:17:14]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 36 35 34 32 30 90 00 F2 [16:17:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:17:14]wFMCommunicate OK [16:17:14]CreateOFDProtocolMessage done [16:17:14]OFDSenderStorePacket 24273 [16:17:14]StoreOFDPacket docnum=24273 [16:17:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 25 35 22 01 AB B0 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0F 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D1 5E 00 00 35 04 06 00 91 F3 BC C3 7E 61 06 7F CF BB 89 72 01 08 [16:17:14]CheckFolder [16:17:14]dirname=/storage/ofd_packets [16:17:14]CheckFolder done [16:17:14]ProducePacketName [16:17:14]name=ofd_packets/00024273 [16:17:14]NVStorageSaveData ofd_packets/00024273 [16:17:14]File name is /storage/ofd_packets/00024273 [16:17:14]Write 328 bytes [16:17:14]NVStorageSaveData done [16:17:14]OFDSenderStorePacket done [16:17:14]KKMCreateOFDPacket done [16:17:14]NVStorageSaveData kkm_last_timestamp [16:17:14]File name is /storage/kkm_last_timestamp [16:17:14]Write 4 bytes [16:17:14]NVStorageSaveData done [16:17:14]ExternCall_PrintAddStr [16:17:14]wPrintStart [16:17:14]Write to MH i2c: 01 00 00 11 1B 2C [16:17:14]Write i2c OK [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: 01 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: 01 07 00 [16:17:14]MH_I2C_Read... [16:17:14]Read from MH i2c: 01 07 00 11 1B 00 00 00 00 00 FF 0F 41 [16:17:14]RasterBufferAndPrint [16:17:14]line Счет N : (3)134798 [16:17:14]line ИНН: 02508201610067 [16:17:14]line Контрольно-Кассовый Чек [16:17:14]line ПРОДАЖА [16:17:14]line Товар: 48741224 [16:17:14]line Сигареты Winston Super Slims Blue [16:17:14]line 1.000 * 139.00 [16:17:14]line = 139.00 [16:17:14]line НДС 12% НСП 1% [16:17:14]line > о реализуемом товаре [16:17:14]line ИТОГО: 139.00 [16:17:14]line НСП 1% : 1.23 [16:17:14]line НДС 12% : 14.76 [16:17:14]line Наличными: 139.00 [16:17:14]line Безнал.: 0.00 [16:17:14]line Место: АЗС № 85 "Партнер Нефть" [16:17:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:17:14]line СНО: Общий режим [16:17:14]line Чек 43 20.10.2024 16:17 [16:17:15]line Смена: 460 ФФД: 1.0 [16:17:15]line ЗНМ: 0300000166 [16:17:15]line РНМ: 0000000000098120 [16:17:15]line Версия ККМ: 001 [16:17:15]line ФМ: 0000000000965420 [16:17:15]line ФД: 24273 [16:17:15]line ФПД: 160476030008929 [16:17:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161719&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24273&fm=160476030008929&tin=02508201610067®Number=0000000000098120&sum=13900 [16:17:15]line 0 [16:17:15]OFD Sender: Processing packet 24273 [packets to send 5, broken 4] [16:17:15]ProducePacketName [16:17:15]name=ofd_packets/00024273 [16:17:15]OFD Sender: To server: pG, [16:17:15]CommunicateWithHost lk.salyk.kg:30040 [16:17:15]ConnectInit lk.salyk.kg [16:17:15]written 0, free lines is 4095 [16:17:15]Connected sock=10 [16:17:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 25 35 22 01 AB B0 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 08 00 34 38 37 34 31 32 32 34 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 53 75 70 65 72 20 53 6C 69 6D 73 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 0F 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D1 5E 00 00 35 04 06 00 91 F3 BC C3 7E 61 06 7F CF BB 89 72 01 08 [16:17:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 B4 F0 47 00 FE C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D1 5E 00 00 F4 03 04 00 A7 D8 14 67 B6 04 01 00 00 29 B6 9C 95 7A F1 D8 A8 [16:17:15]CommunicateWithHost err = 0 [16:17:15]CheckOFDResponse [16:17:15]1017 (14) - 77093643461234 [16:17:15]1041 (16) - 0000000000965420 [16:17:15]1040 (4) - 24273 [16:17:15]1012 (4) - 20.10.2024 10:17 [16:17:15]1206 (1) - 0 [16:17:15]OFD Sender: Remove packet 24273 [16:17:15]ProducePacketName [16:17:15]name=ofd_packets/00024273 [16:17:15]NVStorageDeleteData [16:17:15]Write to MH i2c: 01 00 00 3A 1B 55 [16:17:15]Write i2c OK [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: 01 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: 01 07 00 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: 01 07 00 3A 1B 00 00 00 00 00 FA 0C 62 [16:17:15]RasterBufferAndPrint [16:17:15]line [16:17:15]line [16:17:15]line [16:17:15]line [16:17:15]line [16:17:15]written 0, free lines is 3329 [16:17:15]process_action close_receipt done [16:17:15]requested_data is exist [16:17:15]produce_requested_data [16:17:15]requested_item fm.sn is exist - process it [16:17:15]wFMCommunicate request_size=4 [16:17:15]MH_SAM_APDU [16:17:15]CAPDU: 80 11 00 00 [16:17:15]Write to MH i2c: E2 08 00 41 1B 80 11 00 00 00 00 00 00 D6 [16:17:15]Write i2c OK [16:17:15]MH_I2C_Read... [16:17:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:17:15]Read from MH i2c: E2 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 17 00 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 17 00 41 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [16:17:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:17:15]wFMCommunicate OK [16:17:15]requested_item fd.num is exist - process it [16:17:15]SAM_PROTO_GetFieldsCounters [16:17:15]wFMCommunicate request_size=4 [16:17:15]MH_SAM_APDU [16:17:15]CAPDU: 80 13 00 00 [16:17:15]Write to MH i2c: E2 08 00 42 1B 80 13 00 00 00 00 00 00 D9 [16:17:15]Write i2c OK [16:17:15]MH_I2C_Read... [16:17:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:17:15]Read from MH i2c: E2 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 62 00 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 62 00 42 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [16:17:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:17:15]wFMCommunicate OK [16:17:15]SAM_PROTO_GetFieldsCounters done [16:17:15]requested_item shift.num is exist - process it [16:17:15]requested_item shift.opened is exist - process it [16:17:15]req_shift_opened [16:17:15]FM_GetShiftState [16:17:15]SAM_PROTO_GetShiftState [16:17:15]wFMCommunicate request_size=4 [16:17:15]MH_SAM_APDU [16:17:15]CAPDU: 80 13 01 00 [16:17:15]Write to MH i2c: E2 08 00 43 1B 80 13 01 00 00 00 00 00 DB [16:17:15]Write i2c OK [16:17:15]MH_I2C_Read... [16:17:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:17:15]Read from MH i2c: E2 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 0E 00 [16:17:15]MH_I2C_Read... [16:17:15]Read from MH i2c: E2 0E 00 43 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FC [16:17:15]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:17:15]wFMCommunicate OK [16:17:15]SAM_PROTO_GetShiftState done [16:17:15]FM_GetShiftState done [16:17:15]req_shift_opened done [16:17:15]requested_item shift.open_date is exist - process it [16:17:15]req_shift_open_date [16:17:15]req_shift_open_date done [16:17:15]produce_requested_data done [16:17:15]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24273,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [16:17:15]process_action_free close_receipt [16:17:15]json_value_free [16:17:15]json_value_free done [16:17:15]process_json_proto returns [16:17:15]Send response to host [16:17:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24273,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [16:17:15]free response buf [16:17:15]execute_script done [16:17:15]execute_script returns [16:17:15]free content buf [16:17:15]Sock 9.Close socket [16:17:15]Sock 9.Thread stoped [16:17:15]OFD Sender: No OFD packet to send [16:17:20]OFD Sender: No OFD packet to send [16:17:25]OFD Sender: No OFD packet to send [16:17:30]OFD Sender: No OFD packet to send [16:17:35]OFD Sender: No OFD packet to send [16:17:40]OFD Sender: No OFD packet to send [16:17:45]OFD Sender: No OFD packet to send [16:17:50]OFD Sender: No OFD packet to send [16:17:55]OFD Sender: No OFD packet to send [16:18:00]OFD Sender: No OFD packet to send [16:18:05]OFD Sender: No OFD packet to send [16:18:10]OFD Sender: No OFD packet to send [16:18:15]OFD Sender: No OFD packet to send [16:18:20]OFD Sender: No OFD packet to send [16:18:25]OFD Sender: No OFD packet to send [16:18:31]OFD Sender: No OFD packet to send [16:18:36]OFD Sender: No OFD packet to send [16:18:41]OFD Sender: No OFD packet to send [16:18:46]OFD Sender: No OFD packet to send [16:18:51]OFD Sender: No OFD packet to send [16:18:56]OFD Sender: No OFD packet to send [16:19:01]OFD Sender: No OFD packet to send [16:19:06]OFD Sender: No OFD packet to send [16:19:11]OFD Sender: No OFD packet to send [16:19:16]OFD Sender: No OFD packet to send [16:19:18]accept exits with 7 [16:19:18]New connection [16:19:18]New thread 3067243876 created [16:19:18]Thread 3067100516 joined [16:19:18]Waiting for new connection... [16:19:18] Sock 7.Parse request [16:19:18]Sock 7.Check first char [16:19:18]Sock 7.First char is OK [16:19:18]request: POST /json_proto HTTP/1.0 [16:19:18]Method: POST [16:19:18]URL: /json_proto [16:19:18]Method is POST - this is cgi request [16:19:18]url: /json_proto [16:19:18]query_string will be loaded in cgi processing [16:19:18]execute_cgi json_proto POST (null) [16:19:18]execute_cgi path=json_proto method=POST [16:19:18]POST find Content-Length [16:19:18]Host: 172.17.50.4:8080 [16:19:18]Content-Length: 624 [16:19:18]Content-Type: application/json [16:19:18] [16:19:18]POST finish read [16:19:18]Found Content-Length = 624 [16:19:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134799", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:19:18]execute_script... [16:19:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134799", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:19:18]POST & json_proto [16:19:18]process_json_proto [16:19:18]json parsed OK: [16:19:18]protocol is kg_v1.0 [16:19:18]action value=close_receipt [16:19:18]process_action close_receipt [16:19:18]cmd_close_receipt [16:19:18]MH_GetDate [16:19:18]Write to MH i2c: F0 00 00 44 1B 4E [16:19:18]Write i2c OK [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: F0 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: F0 09 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: F0 09 00 44 1B 00 8C 2D 15 67 1D BB 13 67 DE [16:19:18]GetLastDocTimeStamp 1729441039 [16:19:18]current date 1729441164 [16:19:18]FM_GetShiftState [16:19:18]SAM_PROTO_GetShiftState [16:19:18]wFMCommunicate request_size=4 [16:19:18]MH_SAM_APDU [16:19:18]CAPDU: 80 13 01 00 [16:19:18]Write to MH i2c: E2 08 00 45 1B 80 13 01 00 00 00 00 00 DD [16:19:18]Write i2c OK [16:19:18]MH_I2C_Read... [16:19:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:19:18]Read from MH i2c: E2 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 0E 00 [16:19:18]MH_I2C_Read... [16:19:18]Read from MH i2c: E2 0E 00 45 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FE [16:19:18]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:19:18]wFMCommunicate OK [16:19:18]SAM_PROTO_GetShiftState done [16:19:18]FM_GetShiftState done [16:19:18]opened in 1729382737 [16:19:18]opened+sec_in_day 1729469137 [16:19:18]quantity*price = 14700 [16:19:18]sum+1 = 14701 [16:19:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 44 20.10.2024 16:19 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24274 ФПД: 10636188442833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161924&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24274&fm=10636188442833&tin=02508201610067®Number=0000000000098120&sum=14700 0 [16:19:19]StoreToDocumentArchive [16:19:19]shift 460 fd 24274 [16:19:19]save to /storage/0460/doc_00024274 [16:19:19]save last doc name /storage/0460/doc_00024274 to /storage/kkm_last_doc_name [16:19:19]save OK [16:19:19]Clear old archive folders... [16:19:19]ProcessDocumentItem done err = 0, tmpTLVsize=276 [16:19:19]tlvbuf is 02179E70 [16:19:19]SAM_PROTO_ClearQueue [16:19:19]wFMCommunicate request_size=4 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 09 00 00 [16:19:19]Write to MH i2c: E2 08 00 52 1B 80 09 00 00 00 00 00 00 DF [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 52 1B 00 90 00 E1 [16:19:19]RAPDU: 90 00 [16:19:19]wFMCommunicate OK [16:19:19]SAM_PROTO_ClearQueue done [16:19:19]KKMCreateOFDPacket [16:19:19]OFDProtocolAddRootSTLVToBuf [16:19:19]FM_MakeSignedData [16:19:19]FM_MakeSignedData [16:19:19]SAM_PROTO_SignData [16:19:19]wFMCommunicate request_size=4 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 0D 01 02 [16:19:19]Write to MH i2c: E2 08 00 53 1B 80 0D 01 02 00 00 00 00 E7 [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 53 1B 00 90 00 E2 [16:19:19]RAPDU: 90 00 [16:19:19]wFMCommunicate OK [16:19:19]wFMCommunicate request_size=255 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8C 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 [16:19:19]Write to MH i2c: E2 02 01 54 1B 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8C 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 00 00 D6 [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 54 1B 00 90 00 E3 [16:19:19]RAPDU: 90 00 [16:19:19]wFMCommunicate OK [16:19:19]wFMCommunicate request_size=35 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D2 5E 00 00 35 04 06 00 09 AC 6E 3B E0 D1 [16:19:19]Write to MH i2c: E2 26 00 55 1B 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D2 5E 00 00 35 04 06 00 09 AC 6E 3B E0 D1 00 00 16 [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 03 00 55 1B 00 90 00 E4 [16:19:19]RAPDU: 90 00 [16:19:19]wFMCommunicate OK [16:19:19]wFMCommunicate request_size=4 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 0D 03 02 [16:19:19]Write to MH i2c: E2 08 00 56 1B 80 0D 03 02 00 00 00 00 EC [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 0B 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 0B 00 56 1B 00 F9 DC 32 F6 BB 2B D5 40 90 00 E5 [16:19:19]RAPDU: F9 DC 32 F6 BB 2B D5 40 90 00 [16:19:19]wFMCommunicate OK [16:19:19]SAM_PROTO_SignData done [16:19:19]FM_MakeSignedData done [16:19:19]CreateOFDProtocolMessage [16:19:19]wFMCommunicate request_size=4 [16:19:19]MH_SAM_APDU [16:19:19]CAPDU: 80 11 00 00 [16:19:19]Write to MH i2c: E2 08 00 57 1B 80 11 00 00 00 00 00 00 EC [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:19:19]Read from MH i2c: E2 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 17 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: E2 17 00 57 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 39 [16:19:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:19:19]wFMCommunicate OK [16:19:19]CreateOFDProtocolMessage done [16:19:19]OFDSenderStorePacket 24274 [16:19:19]StoreOFDPacket docnum=24274 [16:19:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 4A A8 20 01 62 78 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8C 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D2 5E 00 00 35 04 06 00 09 AC 6E 3B E0 D1 F9 DC 32 F6 BB 2B D5 40 [16:19:19]CheckFolder [16:19:19]dirname=/storage/ofd_packets [16:19:19]CheckFolder done [16:19:19]ProducePacketName [16:19:19]name=ofd_packets/00024274 [16:19:19]NVStorageSaveData ofd_packets/00024274 [16:19:19]File name is /storage/ofd_packets/00024274 [16:19:19]Write 326 bytes [16:19:19]NVStorageSaveData done [16:19:19]OFDSenderStorePacket done [16:19:19]KKMCreateOFDPacket done [16:19:19]NVStorageSaveData kkm_last_timestamp [16:19:19]File name is /storage/kkm_last_timestamp [16:19:19]Write 4 bytes [16:19:19]NVStorageSaveData done [16:19:19]ExternCall_PrintAddStr [16:19:19]wPrintStart [16:19:19]Write to MH i2c: 01 00 00 58 1B 73 [16:19:19]Write i2c OK [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: 01 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: 01 07 00 [16:19:19]MH_I2C_Read... [16:19:19]Read from MH i2c: 01 07 00 58 1B 00 00 00 00 00 FF 0F 88 [16:19:19]RasterBufferAndPrint [16:19:19]line Счет N : (3)134799 [16:19:19]line ИНН: 02508201610067 [16:19:19]line Контрольно-Кассовый Чек [16:19:19]line ПРОДАЖА [16:19:19]line Товар: 48744683 [16:19:19]line Сигареты Winston XStyle Caster+ [16:19:19]line 1.000 * 147.00 [16:19:19]line = 147.00 [16:19:19]line НДС 12% НСП 1% [16:19:19]line > о реализуемом товаре [16:19:19]line ИТОГО: 147.00 [16:19:19]line НСП 1% : 1.30 [16:19:19]line НДС 12% : 15.61 [16:19:19]line Наличными: 147.00 [16:19:19]line Безнал.: 0.00 [16:19:19]line Место: АЗС № 85 "Партнер Нефть" [16:19:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:19:19]line СНО: Общий режим [16:19:19]line Чек 44 20.10.2024 16:19 [16:19:19]line Смена: 460 ФФД: 1.0 [16:19:19]line ЗНМ: 0300000166 [16:19:19]line РНМ: 0000000000098120 [16:19:19]line Версия ККМ: 001 [16:19:19]line ФМ: 0000000000965420 [16:19:19]line ФД: 24274 [16:19:19]line ФПД: 10636188442833 [16:19:20]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T161924&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24274&fm=10636188442833&tin=02508201610067®Number=0000000000098120&sum=14700 [16:19:20]line 0 [16:19:20]OFD Sender: Processing packet 24274 [packets to send 5, broken 4] [16:19:20]ProducePacketName [16:19:20]name=ofd_packets/00024274 [16:19:20]OFD Sender: To server: pG, [16:19:20]CommunicateWithHost lk.salyk.kg:30040 [16:19:20]ConnectInit lk.salyk.kg [16:19:20]written 0, free lines is 4095 [16:19:20]Connected sock=10 [16:19:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 4A A8 20 01 62 78 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 8C 2D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D2 5E 00 00 35 04 06 00 09 AC 6E 3B E0 D1 F9 DC 32 F6 BB 2B D5 40 [16:19:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 E8 FA 47 00 7F 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D2 5E 00 00 F4 03 04 00 24 D9 14 67 B6 04 01 00 00 5A 9A 3C 3A D2 8E CE 1C [16:19:20]CommunicateWithHost err = 0 [16:19:20]CheckOFDResponse [16:19:20]1017 (14) - 77093643461234 [16:19:20]1041 (16) - 0000000000965420 [16:19:20]1040 (4) - 24274 [16:19:20]1012 (4) - 20.10.2024 10:19 [16:19:20]1206 (1) - 0 [16:19:20]OFD Sender: Remove packet 24274 [16:19:20]ProducePacketName [16:19:20]name=ofd_packets/00024274 [16:19:20]NVStorageDeleteData [16:19:20]Write to MH i2c: 01 00 00 81 1B 9C [16:19:20]Write i2c OK [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: 01 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: 01 07 00 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: 01 07 00 81 1B 00 00 00 00 00 FE 0C AD [16:19:20]RasterBufferAndPrint [16:19:20]line [16:19:20]line [16:19:20]line [16:19:20]line [16:19:20]line [16:19:20]written 0, free lines is 3332 [16:19:20]process_action close_receipt done [16:19:20]requested_data is exist [16:19:20]produce_requested_data [16:19:20]requested_item fm.sn is exist - process it [16:19:20]wFMCommunicate request_size=4 [16:19:20]MH_SAM_APDU [16:19:20]CAPDU: 80 11 00 00 [16:19:20]Write to MH i2c: E2 08 00 88 1B 80 11 00 00 00 00 00 00 1D [16:19:20]Write i2c OK [16:19:20]MH_I2C_Read... [16:19:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:19:20]Read from MH i2c: E2 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: E2 17 00 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: E2 17 00 88 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [16:19:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:19:20]wFMCommunicate OK [16:19:20]requested_item fd.num is exist - process it [16:19:20]SAM_PROTO_GetFieldsCounters [16:19:20]wFMCommunicate request_size=4 [16:19:20]MH_SAM_APDU [16:19:20]CAPDU: 80 13 00 00 [16:19:20]Write to MH i2c: E2 08 00 89 1B 80 13 00 00 00 00 00 00 20 [16:19:20]Write i2c OK [16:19:20]MH_I2C_Read... [16:19:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:19:20]Read from MH i2c: E2 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: E2 62 00 [16:19:20]MH_I2C_Read... [16:19:20]Read from MH i2c: E2 62 00 89 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 B7 [16:19:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:19:20]wFMCommunicate OK [16:19:20]SAM_PROTO_GetFieldsCounters done [16:19:20]requested_item shift.num is exist - process it [16:19:20]requested_item shift.opened is exist - process it [16:19:20]req_shift_opened [16:19:20]FM_GetShiftState [16:19:20]SAM_PROTO_GetShiftState [16:19:20]wFMCommunicate request_size=4 [16:19:20]MH_SAM_APDU [16:19:20]CAPDU: 80 13 01 00 [16:19:20]Write to MH i2c: E2 08 00 8A 1B 80 13 01 00 00 00 00 00 22 [16:19:20]Write i2c OK [16:19:20]MH_I2C_Read... [16:19:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:19:21]Read from MH i2c: E2 [16:19:21]MH_I2C_Read... [16:19:21]Read from MH i2c: E2 0E 00 [16:19:21]MH_I2C_Read... [16:19:21]Read from MH i2c: E2 0E 00 8A 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 43 [16:19:21]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:19:21]wFMCommunicate OK [16:19:21]SAM_PROTO_GetShiftState done [16:19:21]FM_GetShiftState done [16:19:21]req_shift_opened done [16:19:21]requested_item shift.open_date is exist - process it [16:19:21]req_shift_open_date [16:19:21]req_shift_open_date done [16:19:21]produce_requested_data done [16:19:21]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24274,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [16:19:21]process_action_free close_receipt [16:19:21]json_value_free [16:19:21]json_value_free done [16:19:21]process_json_proto returns [16:19:21]Send response to host [16:19:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24274,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [16:19:21]free response buf [16:19:21]execute_script done [16:19:21]execute_script returns [16:19:21]free content buf [16:19:21]Sock 7.Close socket [16:19:21]Sock 7.Thread stoped [16:19:21]OFD Sender: No OFD packet to send [16:19:26]OFD Sender: No OFD packet to send [16:19:31]OFD Sender: No OFD packet to send [16:19:36]OFD Sender: No OFD packet to send [16:19:41]OFD Sender: No OFD packet to send [16:19:46]OFD Sender: No OFD packet to send [16:19:51]OFD Sender: No OFD packet to send [16:19:56]OFD Sender: No OFD packet to send [16:20:01]OFD Sender: No OFD packet to send [16:20:06]OFD Sender: No OFD packet to send [16:20:11]OFD Sender: No OFD packet to send [16:20:16]OFD Sender: No OFD packet to send [16:20:21]OFD Sender: No OFD packet to send [16:20:26]OFD Sender: No OFD packet to send [16:20:31]OFD Sender: No OFD packet to send [16:20:36]OFD Sender: No OFD packet to send [16:20:41]OFD Sender: No OFD packet to send [16:20:46]OFD Sender: No OFD packet to send [16:20:51]OFD Sender: No OFD packet to send [16:20:56]OFD Sender: No OFD packet to send [16:21:01]OFD Sender: No OFD packet to send [16:21:06]OFD Sender: No OFD packet to send [16:21:11]OFD Sender: No OFD packet to send [16:21:16]OFD Sender: No OFD packet to send [16:21:21]OFD Sender: No OFD packet to send [16:21:26]OFD Sender: No OFD packet to send [16:21:31]OFD Sender: No OFD packet to send [16:21:36]OFD Sender: No OFD packet to send [16:21:41]OFD Sender: No OFD packet to send [16:21:46]OFD Sender: No OFD packet to send [16:21:51]OFD Sender: No OFD packet to send [16:21:56]OFD Sender: No OFD packet to send [16:22:01]OFD Sender: No OFD packet to send [16:22:06]OFD Sender: No OFD packet to send [16:22:11]OFD Sender: No OFD packet to send [16:22:16]OFD Sender: No OFD packet to send [16:22:21]OFD Sender: No OFD packet to send [16:22:26]OFD Sender: No OFD packet to send [16:22:31]OFD Sender: No OFD packet to send [16:22:36]OFD Sender: No OFD packet to send [16:22:41]OFD Sender: No OFD packet to send [16:22:46]OFD Sender: No OFD packet to send [16:22:51]OFD Sender: No OFD packet to send [16:22:56]OFD Sender: No OFD packet to send [16:23:01]OFD Sender: No OFD packet to send [16:23:06]OFD Sender: No OFD packet to send [16:23:11]OFD Sender: No OFD packet to send [16:23:16]OFD Sender: No OFD packet to send [16:23:21]OFD Sender: No OFD packet to send [16:23:26]OFD Sender: No OFD packet to send [16:23:31]OFD Sender: No OFD packet to send [16:23:36]OFD Sender: No OFD packet to send [16:23:41]OFD Sender: No OFD packet to send [16:23:46]OFD Sender: No OFD packet to send [16:23:51]OFD Sender: No OFD packet to send [16:23:56]OFD Sender: No OFD packet to send [16:24:01]OFD Sender: No OFD packet to send [16:24:06]OFD Sender: No OFD packet to send [16:24:11]OFD Sender: No OFD packet to send [16:24:16]OFD Sender: No OFD packet to send [16:24:21]OFD Sender: No OFD packet to send [16:24:26]OFD Sender: No OFD packet to send [16:24:31]OFD Sender: No OFD packet to send [16:24:36]OFD Sender: No OFD packet to send [16:24:41]OFD Sender: No OFD packet to send [16:24:46]OFD Sender: No OFD packet to send [16:24:51]OFD Sender: No OFD packet to send [16:24:56]OFD Sender: No OFD packet to send [16:25:01]OFD Sender: No OFD packet to send [16:25:06]OFD Sender: No OFD packet to send [16:25:11]OFD Sender: No OFD packet to send [16:25:16]OFD Sender: No OFD packet to send [16:25:21]OFD Sender: No OFD packet to send [16:25:26]OFD Sender: No OFD packet to send [16:25:31]OFD Sender: No OFD packet to send [16:25:36]OFD Sender: No OFD packet to send [16:25:41]OFD Sender: No OFD packet to send [16:25:46]OFD Sender: No OFD packet to send [16:25:51]OFD Sender: No OFD packet to send [16:25:56]OFD Sender: No OFD packet to send [16:26:01]OFD Sender: No OFD packet to send [16:26:06]OFD Sender: No OFD packet to send [16:26:11]OFD Sender: No OFD packet to send [16:26:16]OFD Sender: No OFD packet to send [16:26:21]OFD Sender: No OFD packet to send [16:26:26]OFD Sender: No OFD packet to send [16:26:31]OFD Sender: No OFD packet to send [16:26:36]OFD Sender: No OFD packet to send [16:26:41]OFD Sender: No OFD packet to send [16:26:46]OFD Sender: No OFD packet to send [16:26:51]OFD Sender: No OFD packet to send [16:26:56]OFD Sender: No OFD packet to send [16:27:01]OFD Sender: No OFD packet to send [16:27:06]OFD Sender: No OFD packet to send [16:27:11]OFD Sender: No OFD packet to send [16:27:16]OFD Sender: No OFD packet to send [16:27:21]OFD Sender: No OFD packet to send [16:27:26]OFD Sender: No OFD packet to send [16:27:31]OFD Sender: No OFD packet to send [16:27:36]OFD Sender: No OFD packet to send [16:27:41]OFD Sender: No OFD packet to send [16:27:46]OFD Sender: No OFD packet to send [16:27:51]OFD Sender: No OFD packet to send [16:27:56]OFD Sender: No OFD packet to send [16:28:01]OFD Sender: No OFD packet to send [16:28:06]OFD Sender: No OFD packet to send [16:28:11]OFD Sender: No OFD packet to send [16:28:16]OFD Sender: No OFD packet to send [16:28:21]OFD Sender: No OFD packet to send [16:28:26]OFD Sender: No OFD packet to send [16:28:31]OFD Sender: No OFD packet to send [16:28:36]OFD Sender: No OFD packet to send [16:28:41]OFD Sender: No OFD packet to send [16:28:46]OFD Sender: No OFD packet to send [16:28:51]OFD Sender: No OFD packet to send [16:28:56]OFD Sender: No OFD packet to send [16:29:01]OFD Sender: No OFD packet to send [16:29:06]OFD Sender: No OFD packet to send [16:29:11]OFD Sender: No OFD packet to send [16:29:16]OFD Sender: No OFD packet to send [16:29:21]OFD Sender: No OFD packet to send [16:29:26]OFD Sender: No OFD packet to send [16:29:31]OFD Sender: No OFD packet to send [16:29:36]OFD Sender: No OFD packet to send [16:29:41]OFD Sender: No OFD packet to send [16:29:46]OFD Sender: No OFD packet to send [16:29:51]OFD Sender: No OFD packet to send [16:29:56]OFD Sender: No OFD packet to send [16:30:01]OFD Sender: No OFD packet to send [16:30:06]OFD Sender: No OFD packet to send [16:30:11]OFD Sender: No OFD packet to send [16:30:16]OFD Sender: No OFD packet to send [16:30:21]OFD Sender: No OFD packet to send [16:30:26]OFD Sender: No OFD packet to send [16:30:31]OFD Sender: No OFD packet to send [16:30:36]OFD Sender: No OFD packet to send [16:30:41]OFD Sender: No OFD packet to send [16:30:46]OFD Sender: No OFD packet to send [16:30:51]OFD Sender: No OFD packet to send [16:30:56]OFD Sender: No OFD packet to send [16:31:01]OFD Sender: No OFD packet to send [16:31:06]OFD Sender: No OFD packet to send [16:31:11]OFD Sender: No OFD packet to send [16:31:16]OFD Sender: No OFD packet to send [16:31:21]OFD Sender: No OFD packet to send [16:31:26]OFD Sender: No OFD packet to send [16:31:31]OFD Sender: No OFD packet to send [16:31:36]OFD Sender: No OFD packet to send [16:31:41]OFD Sender: No OFD packet to send [16:31:46]OFD Sender: No OFD packet to send [16:31:51]OFD Sender: No OFD packet to send [16:31:56]OFD Sender: No OFD packet to send [16:32:01]OFD Sender: No OFD packet to send [16:32:06]OFD Sender: No OFD packet to send [16:32:11]OFD Sender: No OFD packet to send [16:32:16]OFD Sender: No OFD packet to send [16:32:21]OFD Sender: No OFD packet to send [16:32:26]OFD Sender: No OFD packet to send [16:32:31]OFD Sender: No OFD packet to send [16:32:36]OFD Sender: No OFD packet to send [16:32:41]OFD Sender: No OFD packet to send [16:32:46]OFD Sender: No OFD packet to send [16:32:51]OFD Sender: No OFD packet to send [16:32:56]OFD Sender: No OFD packet to send [16:33:01]OFD Sender: No OFD packet to send [16:33:06]OFD Sender: No OFD packet to send [16:33:11]OFD Sender: No OFD packet to send [16:33:16]OFD Sender: No OFD packet to send [16:33:21]OFD Sender: No OFD packet to send [16:33:26]OFD Sender: No OFD packet to send [16:33:31]OFD Sender: No OFD packet to send [16:33:36]OFD Sender: No OFD packet to send [16:33:41]OFD Sender: No OFD packet to send [16:33:46]OFD Sender: No OFD packet to send [16:33:51]OFD Sender: No OFD packet to send [16:33:56]OFD Sender: No OFD packet to send [16:34:01]OFD Sender: No OFD packet to send [16:34:06]OFD Sender: No OFD packet to send [16:34:11]OFD Sender: No OFD packet to send [16:34:16]OFD Sender: No OFD packet to send [16:34:21]OFD Sender: No OFD packet to send [16:34:26]OFD Sender: No OFD packet to send [16:34:31]OFD Sender: No OFD packet to send [16:34:36]OFD Sender: No OFD packet to send [16:34:41]OFD Sender: No OFD packet to send [16:34:46]OFD Sender: No OFD packet to send [16:34:51]OFD Sender: No OFD packet to send [16:34:56]OFD Sender: No OFD packet to send [16:35:01]OFD Sender: No OFD packet to send [16:35:06]OFD Sender: No OFD packet to send [16:35:11]OFD Sender: No OFD packet to send [16:35:16]OFD Sender: No OFD packet to send [16:35:21]OFD Sender: No OFD packet to send [16:35:26]OFD Sender: No OFD packet to send [16:35:31]OFD Sender: No OFD packet to send [16:35:36]OFD Sender: No OFD packet to send [16:35:41]OFD Sender: No OFD packet to send [16:35:46]OFD Sender: No OFD packet to send [16:35:51]OFD Sender: No OFD packet to send [16:35:56]OFD Sender: No OFD packet to send [16:36:01]OFD Sender: No OFD packet to send [16:36:06]OFD Sender: No OFD packet to send [16:36:11]OFD Sender: No OFD packet to send [16:36:16]OFD Sender: No OFD packet to send [16:36:21]OFD Sender: No OFD packet to send [16:36:26]OFD Sender: No OFD packet to send [16:36:31]OFD Sender: No OFD packet to send [16:36:36]OFD Sender: No OFD packet to send [16:36:41]OFD Sender: No OFD packet to send [16:36:46]OFD Sender: No OFD packet to send [16:36:51]OFD Sender: No OFD packet to send [16:36:56]OFD Sender: No OFD packet to send [16:37:01]OFD Sender: No OFD packet to send [16:37:06]OFD Sender: No OFD packet to send [16:37:11]OFD Sender: No OFD packet to send [16:37:16]OFD Sender: No OFD packet to send [16:37:21]OFD Sender: No OFD packet to send [16:37:26]OFD Sender: No OFD packet to send [16:37:31]OFD Sender: No OFD packet to send [16:37:36]OFD Sender: No OFD packet to send [16:37:41]OFD Sender: No OFD packet to send [16:37:46]OFD Sender: No OFD packet to send [16:37:51]OFD Sender: No OFD packet to send [16:37:56]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:40]accept exits with 9 [16:39:40]New connection [16:39:40]New thread 3067100516 created [16:39:40]Thread 3067243876 joined [16:39:40]Waiting for new connection... [16:39:40] Sock 9.Parse request [16:39:40]Sock 9.Check first char [16:39:40]Sock 9.First char is OK [16:39:40]request: POST /json_proto HTTP/1.0 [16:39:40]Method: POST [16:39:40]URL: /json_proto [16:39:40]Method is POST - this is cgi request [16:39:40]url: /json_proto [16:39:40]query_string will be loaded in cgi processing [16:39:40]execute_cgi json_proto POST (null) [16:39:40]execute_cgi path=json_proto method=POST [16:39:40]POST find Content-Length [16:39:40]Host: 172.17.50.4:8080 [16:39:40]Content-Length: 634 [16:39:40]Content-Type: application/json [16:39:40] [16:39:40]POST finish read [16:39:40]Found Content-Length = 634 [16:39:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134800", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:40]execute_script... [16:39: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)134800", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 2.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:39:40]POST & json_proto [16:39:40]process_json_proto [16:39:40]json parsed OK: [16:39:40]protocol is kg_v1.0 [16:39:40]action value=close_receipt [16:39:40]process_action close_receipt [16:39:40]cmd_close_receipt [16:39:40]MH_GetDate [16:39:40]Write to MH i2c: F0 00 00 8B 1B 95 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: F0 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: F0 09 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: F0 09 00 8B 1B 00 52 32 15 67 1D BB 13 67 F0 [16:39:40]GetLastDocTimeStamp 1729441164 [16:39:40]current date 1729442386 [16:39:40]FM_GetShiftState [16:39:40]SAM_PROTO_GetShiftState [16:39:40]wFMCommunicate request_size=4 [16:39:40]MH_SAM_APDU [16:39:40]CAPDU: 80 13 01 00 [16:39:40]Write to MH i2c: E2 08 00 8C 1B 80 13 01 00 00 00 00 00 24 [16:39:40]Write i2c OK [16:39:40]MH_I2C_Read... [16:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:40]Read from MH i2c: E2 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 0E 00 [16:39:40]MH_I2C_Read... [16:39:40]Read from MH i2c: E2 0E 00 8C 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 45 [16:39:40]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:39:40]wFMCommunicate OK [16:39:40]SAM_PROTO_GetShiftState done [16:39:40]FM_GetShiftState done [16:39:40]opened in 1729382737 [16:39:40]opened+sec_in_day 1729469137 [16:39:40]quantity*price = 12000 [16:39:40]sum+1 = 12001 [16:39:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 45 20.10.2024 16:39 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24275 ФПД: 106935363112337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163946&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24275&fm=106935363112337&tin=02508201610067®Number=0000000000098120&sum=12000 0 [16:39:41]StoreToDocumentArchive [16:39:41]shift 460 fd 24275 [16:39:41]save to /storage/0460/doc_00024275 [16:39:41]save last doc name /storage/0460/doc_00024275 to /storage/kkm_last_doc_name [16:39:41]save OK [16:39:41]Clear old archive folders... [16:39:41]ProcessDocumentItem done err = 0, tmpTLVsize=271 [16:39:41]tlvbuf is B6F08140 [16:39:41]SAM_PROTO_ClearQueue [16:39:41]wFMCommunicate request_size=4 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 09 00 00 [16:39:41]Write to MH i2c: E2 08 00 99 1B 80 09 00 00 00 00 00 00 26 [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 99 1B 00 90 00 28 [16:39:41]RAPDU: 90 00 [16:39:41]wFMCommunicate OK [16:39:41]SAM_PROTO_ClearQueue done [16:39:41]KKMCreateOFDPacket [16:39:41]OFDProtocolAddRootSTLVToBuf [16:39:41]FM_MakeSignedData [16:39:41]FM_MakeSignedData [16:39:41]SAM_PROTO_SignData [16:39:41]wFMCommunicate request_size=4 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 0D 01 02 [16:39:41]Write to MH i2c: E2 08 00 9A 1B 80 0D 01 02 00 00 00 00 2E [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 9A 1B 00 90 00 29 [16:39:41]RAPDU: 90 00 [16:39:41]wFMCommunicate OK [16:39:41]wFMCommunicate request_size=255 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 52 32 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [16:39:41]Write to MH i2c: E2 02 01 9B 1B 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 52 32 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 AE [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 9B 1B 00 90 00 2A [16:39:41]RAPDU: 90 00 [16:39:41]wFMCommunicate OK [16:39:41]wFMCommunicate request_size=30 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 D3 5E 00 00 35 04 06 00 61 41 D4 55 0D 91 [16:39:41]Write to MH i2c: E2 21 00 9C 1B 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 D3 5E 00 00 35 04 06 00 61 41 D4 55 0D 91 00 00 BE [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 03 00 9C 1B 00 90 00 2B [16:39:41]RAPDU: 90 00 [16:39:41]wFMCommunicate OK [16:39:41]wFMCommunicate request_size=4 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 0D 03 02 [16:39:41]Write to MH i2c: E2 08 00 9D 1B 80 0D 03 02 00 00 00 00 33 [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 0B 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 0B 00 9D 1B 00 34 6E 9F D3 50 5F 1F 74 90 00 8A [16:39:41]RAPDU: 34 6E 9F D3 50 5F 1F 74 90 00 [16:39:41]wFMCommunicate OK [16:39:41]SAM_PROTO_SignData done [16:39:41]FM_MakeSignedData done [16:39:41]CreateOFDProtocolMessage [16:39:41]wFMCommunicate request_size=4 [16:39:41]MH_SAM_APDU [16:39:41]CAPDU: 80 11 00 00 [16:39:41]Write to MH i2c: E2 08 00 9E 1B 80 11 00 00 00 00 00 00 33 [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:41]Read from MH i2c: E2 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 17 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: E2 17 00 9E 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 80 [16:39:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:39:41]wFMCommunicate OK [16:39:41]CreateOFDProtocolMessage done [16:39:41]OFDSenderStorePacket 24275 [16:39:41]StoreOFDPacket docnum=24275 [16:39:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 59 29 1B 01 13 20 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 52 32 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D3 5E 00 00 35 04 06 00 61 41 D4 55 0D 91 34 6E 9F D3 50 5F 1F 74 [16:39:41]CheckFolder [16:39:41]dirname=/storage/ofd_packets [16:39:41]CheckFolder done [16:39:41]ProducePacketName [16:39:41]name=ofd_packets/00024275 [16:39:41]NVStorageSaveData ofd_packets/00024275 [16:39:41]File name is /storage/ofd_packets/00024275 [16:39:41]Write 321 bytes [16:39:41]NVStorageSaveData done [16:39:41]OFDSenderStorePacket done [16:39:41]KKMCreateOFDPacket done [16:39:41]NVStorageSaveData kkm_last_timestamp [16:39:41]File name is /storage/kkm_last_timestamp [16:39:41]Write 4 bytes [16:39:41]NVStorageSaveData done [16:39:41]ExternCall_PrintAddStr [16:39:41]wPrintStart [16:39:41]Write to MH i2c: 01 00 00 9F 1B BA [16:39:41]Write i2c OK [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 07 00 [16:39:41]MH_I2C_Read... [16:39:41]Read from MH i2c: 01 07 00 9F 1B 00 00 00 00 00 FF 0F CF [16:39:41]RasterBufferAndPrint [16:39:41]line Счет N : (3)134800 [16:39:41]line ИНН: 02508201610067 [16:39:41]line Контрольно-Кассовый Чек [16:39:41]line ПРОДАЖА [16:39:41]line Товар: 4700025313937 [16:39:41]line ВОДКА МЯГКАЯ 0,1л [16:39:41]line 2.000 * 60.00 [16:39:41]line = 120.00 [16:39:41]line НДС 12% НСП 1% [16:39:41]line > о реализуемом товаре [16:39:41]line ИТОГО: 120.00 [16:39:41]line НСП 1% : 1.06 [16:39:41]line НДС 12% : 12.74 [16:39:41]line Наличными: 120.00 [16:39:41]line Безнал.: 0.00 [16:39:41]line Место: АЗС № 85 "Партнер Нефть" [16:39:41]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [16:39:41]line СНО: Общий режим [16:39:41]line Чек 45 20.10.2024 16:39 [16:39:41]line Смена: 460 ФФД: 1.0 [16:39:41]line ЗНМ: 0300000166 [16:39:41]line РНМ: 0000000000098120 [16:39:41]line Версия ККМ: 001 [16:39:41]line ФМ: 0000000000965420 [16:39:41]line ФД: 24275 [16:39:41]line ФПД: 106935363112337 [16:39:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T163946&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24275&fm=106935363112337&tin=02508201610067®Number=0000000000098120&sum=12000 [16:39:41]line 0 [16:39:41]written 0, free lines is 4095 [16:39:41]OFD Sender: Processing packet 24275 [packets to send 5, broken 4] [16:39:41]ProducePacketName [16:39:41]name=ofd_packets/00024275 [16:39:41]OFD Sender: To server: pG, [16:39:41]CommunicateWithHost lk.salyk.kg:30040 [16:39:41]ConnectInit lk.salyk.kg [16:39:42]Connected sock=10 [16:39:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 59 29 1B 01 13 20 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB 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 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 52 32 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D3 5E 00 00 35 04 06 00 61 41 D4 55 0D 91 34 6E 9F D3 50 5F 1F 74 [16:39:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 BC 07 47 00 E2 F3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D3 5E 00 00 F4 03 04 00 EA DD 14 67 B6 04 01 00 00 C6 D7 88 AD 53 3D E0 83 [16:39:42]CommunicateWithHost err = 0 [16:39:42]CheckOFDResponse [16:39:42]1017 (14) - 77093643461234 [16:39:42]1041 (16) - 0000000000965420 [16:39:42]1040 (4) - 24275 [16:39:42]1012 (4) - 20.10.2024 10:39 [16:39:42]1206 (1) - 0 [16:39:42]OFD Sender: Remove packet 24275 [16:39:42]ProducePacketName [16:39:42]name=ofd_packets/00024275 [16:39:42]NVStorageDeleteData [16:39:42]Write to MH i2c: 01 00 00 C7 1B E2 [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: 01 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: 01 07 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: 01 07 00 C7 1B 00 00 00 00 00 2F 0D 25 [16:39:42]RasterBufferAndPrint [16:39:42]line [16:39:42]line [16:39:42]line [16:39:42]line [16:39:42]line [16:39:42]written 0, free lines is 3383 [16:39:42]process_action close_receipt done [16:39:42]requested_data is exist [16:39:42]produce_requested_data [16:39:42]requested_item fm.sn is exist - process it [16:39:42]wFMCommunicate request_size=4 [16:39:42]MH_SAM_APDU [16:39:42]CAPDU: 80 11 00 00 [16:39:42]Write to MH i2c: E2 08 00 CE 1B 80 11 00 00 00 00 00 00 63 [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:39:42]Read from MH i2c: E2 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 17 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 17 00 CE 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B0 [16:39:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [16:39:42]wFMCommunicate OK [16:39:42]requested_item fd.num is exist - process it [16:39:42]SAM_PROTO_GetFieldsCounters [16:39:42]wFMCommunicate request_size=4 [16:39:42]MH_SAM_APDU [16:39:42]CAPDU: 80 13 00 00 [16:39:42]Write to MH i2c: E2 08 00 CF 1B 80 13 00 00 00 00 00 00 66 [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:39:42]Read from MH i2c: E2 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 62 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 62 00 CF 1B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 01 [16:39:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:39:42]wFMCommunicate OK [16:39:42]SAM_PROTO_GetFieldsCounters done [16:39:42]requested_item shift.num is exist - process it [16:39:42]requested_item shift.opened is exist - process it [16:39:42]req_shift_opened [16:39:42]FM_GetShiftState [16:39:42]SAM_PROTO_GetShiftState [16:39:42]wFMCommunicate request_size=4 [16:39:42]MH_SAM_APDU [16:39:42]CAPDU: 80 13 01 00 [16:39:42]Write to MH i2c: E2 08 00 D0 1B 80 13 01 00 00 00 00 00 68 [16:39:42]Write i2c OK [16:39:42]MH_I2C_Read... [16:39:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:39:42]Read from MH i2c: E2 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 0E 00 [16:39:42]MH_I2C_Read... [16:39:42]Read from MH i2c: E2 0E 00 D0 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 89 [16:39:42]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [16:39:42]wFMCommunicate OK [16:39:42]SAM_PROTO_GetShiftState done [16:39:42]FM_GetShiftState done [16:39:42]req_shift_opened done [16:39:42]requested_item shift.open_date is exist - process it [16:39:42]req_shift_open_date [16:39:42]req_shift_open_date done [16:39:42]produce_requested_data done [16:39:42]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24275,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [16:39:42]process_action_free close_receipt [16:39:42]json_value_free [16:39:42]json_value_free done [16:39:42]process_json_proto returns [16:39:42]Send response to host [16:39:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24275,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [16:39:42]free response buf [16:39:42]execute_script done [16:39:42]execute_script returns [16:39:42]free content buf [16:39:42]Sock 9.Close socket [16:39:42]Sock 9.Thread stoped [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:43]OFD Sender: No OFD packet to send [16:45:48]OFD Sender: No OFD packet to send [16:45:53]OFD Sender: No OFD packet to send [16:45:58]OFD Sender: No OFD packet to send [16:46:03]OFD Sender: No OFD packet to send [16:46:08]OFD Sender: No OFD packet to send [16:46:13]OFD Sender: No OFD packet to send [16:46:18]OFD Sender: No OFD packet to send [16:46:23]OFD Sender: No OFD packet to send [16:46:28]OFD Sender: No OFD packet to send [16:46:33]OFD Sender: No OFD packet to send [16:46:38]OFD Sender: No OFD packet to send [16:46:43]OFD Sender: No OFD packet to send [16:46:48]OFD Sender: No OFD packet to send [16:46:53]OFD Sender: No OFD packet to send [16:46:58]OFD Sender: No OFD packet to send [16:47:03]OFD Sender: No OFD packet to send [16:47:08]OFD Sender: No OFD packet to send [16:47:13]OFD Sender: No OFD packet to send [16:47:18]OFD Sender: No OFD packet to send [16:47:23]OFD Sender: No OFD packet to send [16:47:28]OFD Sender: No OFD packet to send [16:47:33]OFD Sender: No OFD packet to send [16:47:38]OFD Sender: No OFD packet to send [16:47:43]OFD Sender: No OFD packet to send [16:47:48]OFD Sender: No OFD packet to send [16:47:53]OFD Sender: No OFD packet to send [16:47:58]OFD Sender: No OFD packet to send [16:48:03]OFD Sender: No OFD packet to send [16:48:08]OFD Sender: No OFD packet to send [16:48:13]OFD Sender: No OFD packet to send [16:48:18]OFD Sender: No OFD packet to send [16:48:23]OFD Sender: No OFD packet to send [16:48:28]OFD Sender: No OFD packet to send [16:48:33]OFD Sender: No OFD packet to send [16:48:38]OFD Sender: No OFD packet to send [16:48:43]OFD Sender: No OFD packet to send [16:48:48]OFD Sender: No OFD packet to send [16:48:53]OFD Sender: No OFD packet to send [16:48:58]OFD Sender: No OFD packet to send [16:49:03]OFD Sender: No OFD packet to send [16:49:08]OFD Sender: No OFD packet to send [16:49:13]OFD Sender: No OFD packet to send [16:49:18]OFD Sender: No OFD packet to send [16:49:23]OFD Sender: No OFD packet to send [16:49:28]OFD Sender: No OFD packet to send [16:49:33]OFD Sender: No OFD packet to send [16:49:38]OFD Sender: No OFD packet to send [16:49:43]OFD Sender: No OFD packet to send [16:49:48]OFD Sender: No OFD packet to send [16:49:53]OFD Sender: No OFD packet to send [16:49:58]OFD Sender: No OFD packet to send [16:50:03]OFD Sender: No OFD packet to send [16:50:08]OFD Sender: No OFD packet to send [16:50:13]OFD Sender: No OFD packet to send [16:50:18]OFD Sender: No OFD packet to send [16:50:23]OFD Sender: No OFD packet to send [16:50:28]OFD Sender: No OFD packet to send [16:50:33]OFD Sender: No OFD packet to send [16:50:38]OFD Sender: No OFD packet to send [16:50:43]OFD Sender: No OFD packet to send [16:50:48]OFD Sender: No OFD packet to send [16:50:53]OFD Sender: No OFD packet to send [16:50:58]OFD Sender: No OFD packet to send [16:51:03]OFD Sender: No OFD packet to send [16:51:08]OFD Sender: No OFD packet to send [16:51:13]OFD Sender: No OFD packet to send [16:51:18]OFD Sender: No OFD packet to send [16:51:23]OFD Sender: No OFD packet to send [16:51:28]OFD Sender: No OFD packet to send [16:51:33]OFD Sender: No OFD packet to send [16:51:38]OFD Sender: No OFD packet to send [16:51:43]OFD Sender: No OFD packet to send [16:51:48]OFD Sender: No OFD packet to send [16:51:53]OFD Sender: No OFD packet to send [16:51:58]OFD Sender: No OFD packet to send [16:52:03]OFD Sender: No OFD packet to send [16:52:08]OFD Sender: No OFD packet to send [16:52:13]OFD Sender: No OFD packet to send [16:52:18]OFD Sender: No OFD packet to send [16:52:23]OFD Sender: No OFD packet to send [16:52:28]OFD Sender: No OFD packet to send [16:52:33]OFD Sender: No OFD packet to send [16:52:38]OFD Sender: No OFD packet to send [16:52:43]OFD Sender: No OFD packet to send [16:52:48]OFD Sender: No OFD packet to send [16:52:53]OFD Sender: No OFD packet to send [16:52:58]OFD Sender: No OFD packet to send [16:53:03]OFD Sender: No OFD packet to send [16:53:08]OFD Sender: No OFD packet to send [16:53:13]OFD Sender: No OFD packet to send [16:53:18]OFD Sender: No OFD packet to send [16:53:23]OFD Sender: No OFD packet to send [16:53:28]OFD Sender: No OFD packet to send [16:53:33]OFD Sender: No OFD packet to send [16:53:38]OFD Sender: No OFD packet to send [16:53:43]OFD Sender: No OFD packet to send [16:53:48]OFD Sender: No OFD packet to send [16:53:53]OFD Sender: No OFD packet to send [16:53:58]OFD Sender: No OFD packet to send [16:54:03]OFD Sender: No OFD packet to send [16:54:08]OFD Sender: No OFD packet to send [16:54:13]OFD Sender: No OFD packet to send [16:54:18]OFD Sender: No OFD packet to send [16:54:23]OFD Sender: No OFD packet to send [16:54:28]OFD Sender: No OFD packet to send [16:54:33]OFD Sender: No OFD packet to send [16:54:38]OFD Sender: No OFD packet to send [16:54:43]OFD Sender: No OFD packet to send [16:54:48]OFD Sender: No OFD packet to send [16:54:53]OFD Sender: No OFD packet to send [16:54:58]OFD Sender: No OFD packet to send [16:55:03]OFD Sender: No OFD packet to send [16:55:08]OFD Sender: No OFD packet to send [16:55:13]OFD Sender: No OFD packet to send [16:55:18]OFD Sender: No OFD packet to send [16:55:23]OFD Sender: No OFD packet to send [16:55:28]OFD Sender: No OFD packet to send [16:55:33]OFD Sender: No OFD packet to send [16:55:38]OFD Sender: No OFD packet to send [16:55:43]OFD Sender: No OFD packet to send [16:55:48]OFD Sender: No OFD packet to send [16:55:53]OFD Sender: No OFD packet to send [16:55:58]OFD Sender: No OFD packet to send [16:56:03]OFD Sender: No OFD packet to send [16:56:08]OFD Sender: No OFD packet to send [16:56:13]OFD Sender: No OFD packet to send [16:56:18]OFD Sender: No OFD packet to send [16:56:23]OFD Sender: No OFD packet to send [16:56:28]OFD Sender: No OFD packet to send [16:56:33]OFD Sender: No OFD packet to send [16:56:38]OFD Sender: No OFD packet to send [16:56:43]OFD Sender: No OFD packet to send [16:56:48]OFD Sender: No OFD packet to send [16:56:53]OFD Sender: No OFD packet to send [16:56:58]OFD Sender: No OFD packet to send [16:57:03]OFD Sender: No OFD packet to send [16:57:08]OFD Sender: No OFD packet to send [16:57:13]OFD Sender: No OFD packet to send [16:57:18]OFD Sender: No OFD packet to send [16:57:23]OFD Sender: No OFD packet to send [16:57:28]OFD Sender: No OFD packet to send [16:57:33]OFD Sender: No OFD packet to send [16:57:38]OFD Sender: No OFD packet to send [16:57:43]OFD Sender: No OFD packet to send [16:57:48]OFD Sender: No OFD packet to send [16:57:53]OFD Sender: No OFD packet to send [16:57:58]OFD Sender: No OFD packet to send [16:58: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:52]accept exits with 7 [17:05:52]New connection [17:05:52]New thread 3067243876 created [17:05:52]Thread 3067100516 joined [17:05:52]Waiting for new connection... [17:05:52] Sock 7.Parse request [17:05:52]Sock 7.Check first char [17:05:52]Sock 7.First char is OK [17:05:52]request: POST /json_proto HTTP/1.0 [17:05:52]Method: POST [17:05:52]URL: /json_proto [17:05:52]Method is POST - this is cgi request [17:05:52]url: /json_proto [17:05:52]query_string will be loaded in cgi processing [17:05:52]execute_cgi json_proto POST (null) [17:05:52]execute_cgi path=json_proto method=POST [17:05:52]POST find Content-Length [17:05:52]Host: 172.17.50.4:8080 [17:05:52]Content-Length: 946 [17:05:52]Content-Type: application/json [17:05:52] [17:05:52]POST finish read [17:05:52]Found Content-Length = 946 [17:05:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134801", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:05:52]execute_script... [17: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)134801", "tax_sys" : 0, "items" : [ { "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.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" : 215.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:05:52]POST & json_proto [17:05:52]process_json_proto [17:05:52]json parsed OK: [17:05:52]protocol is kg_v1.0 [17:05:52]action value=close_receipt [17:05:52]process_action close_receipt [17:05:52]cmd_close_receipt [17:05:52]MH_GetDate [17:05:52]Write to MH i2c: F0 00 00 D1 1B DB [17:05:52]Write i2c OK [17:05:52]MH_I2C_Read... [17:05:52]Read from MH i2c: F0 [17:05:52]MH_I2C_Read... [17:05:52]Read from MH i2c: F0 09 00 [17:05:52]MH_I2C_Read... [17:05:52]Read from MH i2c: F0 09 00 D1 1B 00 77 38 15 67 1D BB 13 67 61 [17:05:52]GetLastDocTimeStamp 1729442386 [17:05:52]current date 1729443959 [17:05:52]FM_GetShiftState [17:05:52]SAM_PROTO_GetShiftState [17:05:52]wFMCommunicate request_size=4 [17:05:52]MH_SAM_APDU [17:05:52]CAPDU: 80 13 01 00 [17:05:52]Write to MH i2c: E2 08 00 D2 1B 80 13 01 00 00 00 00 00 6A [17:05:52]Write i2c OK [17:05:52]MH_I2C_Read... [17:05:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:05:52]Read from MH i2c: E2 [17:05:52]MH_I2C_Read... [17:05:52]Read from MH i2c: E2 0E 00 [17:05:52]MH_I2C_Read... [17:05:52]Read from MH i2c: E2 0E 00 D2 1B 00 09 00 01 51 49 14 67 00 00 00 00 90 00 8B [17:05:52]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:05:52]wFMCommunicate OK [17:05:52]SAM_PROTO_GetShiftState done [17:05:52]FM_GetShiftState done [17:05:52]opened in 1729382737 [17:05:52]opened+sec_in_day 1729469137 [17:05:52]quantity*price = 12000 [17:05:52]sum+1 = 12001 [17:05:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480050 Напиток Nitro Energy эн green ж/б 0,45л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 215.00 НСП 1% : 1.90 НДС 12% : 22.83 Наличными: 215.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 46 20.10.2024 17:05 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24276 ФПД: 262819219234754 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170559&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24276&fm=262819219234754&tin=02508201610067®Number=0000000000098120&sum=21500 0 [17:05:53]StoreToDocumentArchive [17:05:53]shift 460 fd 24276 [17:05:53]save to /storage/0460/doc_00024276 [17:05:53]save last doc name /storage/0460/doc_00024276 to /storage/kkm_last_doc_name [17:05:53]save OK [17:05:53]Clear old archive folders... [17:05:53]ProcessDocumentItem done err = 0, tmpTLVsize=410 [17:05:53]tlvbuf is 020CF700 [17:05:53]SAM_PROTO_ClearQueue [17:05:53]wFMCommunicate request_size=4 [17:05:53]MH_SAM_APDU [17:05:53]CAPDU: 80 09 00 00 [17:05:53]Write to MH i2c: E2 08 00 DF 1B 80 09 00 00 00 00 00 00 6C [17:05:53]Write i2c OK [17:05:53]MH_I2C_Read... [17:05:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:05:53]Read from MH i2c: E2 [17:05:53]MH_I2C_Read... [17:05:53]Read from MH i2c: E2 03 00 [17:05:53]MH_I2C_Read... [17:05:53]Read from MH i2c: E2 03 00 DF 1B 00 90 00 6E [17:05:53]RAPDU: 90 00 [17:05:53]wFMCommunicate OK [17:05:53]SAM_PROTO_ClearQueue done [17:05:53]KKMCreateOFDPacket [17:05:53]OFDProtocolAddRootSTLVToBuf [17:05:53]FM_MakeSignedData [17:05:53]FM_MakeSignedData [17:05:53]SAM_PROTO_SignData [17:05:53]wFMCommunicate request_size=4 [17:05:53]MH_SAM_APDU [17:05:53]CAPDU: 80 0D 01 02 [17:05:53]Write to MH i2c: E2 08 00 E0 1B 80 0D 01 02 00 00 00 00 74 [17:05:53]Write i2c OK [17:05:53]MH_I2C_Read... [17:05:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:05:53]Read from MH i2c: E2 [17:05:53]MH_I2C_Read... [17:05:53]Read from MH i2c: E2 03 00 [17:05:53]MH_I2C_Read... [17:05:53]Read from MH i2c: E2 03 00 E0 1B 00 90 00 6F [17:05:53]RAPDU: 90 00 [17:05:53]wFMCommunicate OK [17:05:53]wFMCommunicate request_size=255 [17:05:53]MH_SAM_APDU [17:05:53]CAPDU: 80 0D 02 02 FA 03 00 9A 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [17:05:53]Write to MH i2c: E2 02 01 E1 1B 80 0D 02 02 FA 00 03 00 9A 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 19 [17:05:53]Write i2c OK [17:05:53]MH_I2C_Read... [17:05:53]OFD Sender: No OFD packet to send [17:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:05:54]Read from MH i2c: E2 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 03 00 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 03 00 E1 1B 00 90 00 70 [17:05:54]RAPDU: 90 00 [17:05:54]wFMCommunicate OK [17:05:54]wFMCommunicate request_size=169 [17:05:54]MH_SAM_APDU [17:05:54]CAPDU: 80 0D 02 02 A4 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 38 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D4 5E 00 00 35 04 06 00 EF 08 5E 33 DF C2 [17:05:54]Write to MH i2c: E2 AC 00 E2 1B 80 0D 02 02 A4 00 03 06 00 FC 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 38 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D4 5E 00 00 35 04 06 00 EF 08 5E 33 DF C2 00 00 CA [17:05:54]Write i2c OK [17:05:54]MH_I2C_Read... [17:05:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:05:54]Read from MH i2c: E2 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 03 00 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 03 00 E2 1B 00 90 00 71 [17:05:54]RAPDU: 90 00 [17:05:54]wFMCommunicate OK [17:05:54]wFMCommunicate request_size=4 [17:05:54]MH_SAM_APDU [17:05:54]CAPDU: 80 0D 03 02 [17:05:54]Write to MH i2c: E2 08 00 E3 1B 80 0D 03 02 00 00 00 00 79 [17:05:54]Write i2c OK [17:05:54]MH_I2C_Read... [17:05:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:05:54]Read from MH i2c: E2 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 0B 00 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 0B 00 E3 1B 00 6A 0B 9F 3E 4F 30 4C D4 90 00 6B [17:05:54]RAPDU: 6A 0B 9F 3E 4F 30 4C D4 90 00 [17:05:54]wFMCommunicate OK [17:05:54]SAM_PROTO_SignData done [17:05:54]FM_MakeSignedData done [17:05:54]CreateOFDProtocolMessage [17:05:54]wFMCommunicate request_size=4 [17:05:54]MH_SAM_APDU [17:05:54]CAPDU: 80 11 00 00 [17:05:54]Write to MH i2c: E2 08 00 E4 1B 80 11 00 00 00 00 00 00 79 [17:05:54]Write i2c OK [17:05:54]MH_I2C_Read... [17:05:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:05:54]Read from MH i2c: E2 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 17 00 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: E2 17 00 E4 1B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C6 [17:05:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:05:54]wFMCommunicate OK [17:05:54]CreateOFDProtocolMessage done [17:05:54]OFDSenderStorePacket 24276 [17:05:54]StoreOFDPacket docnum=24276 [17:05:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 AE 01 00 00 14 38 A6 01 26 96 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 38 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D4 5E 00 00 35 04 06 00 EF 08 5E 33 DF C2 6A 0B 9F 3E 4F 30 4C D4 [17:05:54]CheckFolder [17:05:54]dirname=/storage/ofd_packets [17:05:54]CheckFolder done [17:05:54]ProducePacketName [17:05:54]name=ofd_packets/00024276 [17:05:54]NVStorageSaveData ofd_packets/00024276 [17:05:54]File name is /storage/ofd_packets/00024276 [17:05:54]Write 460 bytes [17:05:54]NVStorageSaveData done [17:05:54]OFDSenderStorePacket done [17:05:54]KKMCreateOFDPacket done [17:05:54]NVStorageSaveData kkm_last_timestamp [17:05:54]File name is /storage/kkm_last_timestamp [17:05:54]Write 4 bytes [17:05:54]NVStorageSaveData done [17:05:54]ExternCall_PrintAddStr [17:05:54]wPrintStart [17:05:54]Write to MH i2c: 01 00 00 E5 1B 00 [17:05:54]Write i2c OK [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: 01 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: 01 07 00 [17:05:54]MH_I2C_Read... [17:05:54]Read from MH i2c: 01 07 00 E5 1B 00 00 00 00 00 FF 0F 15 [17:05:54]RasterBufferAndPrint [17:05:54]line Счет N : (3)134801 [17:05:54]line ИНН: 02508201610067 [17:05:54]line Контрольно-Кассовый Чек [17:05:54]line ПРОДАЖА [17:05:54]line Товар: 5449000189332 [17:05:54]line Холодный чай Fuse персик 1л [17:05:54]line 1.000 * 120.00 [17:05:54]line = 120.00 [17:05:54]line НДС 12% НСП 1% [17:05:54]line > о реализуемом товаре [17:05:54]line Товар: 4700000480050 [17:05:54]line Напиток Nitro Energy эн green ж/б 0,45л [17:05:54]line 1.000 * 95.00 [17:05:54]line = 95.00 [17:05:54]line НДС 12% НСП 1% [17:05:54]line > о реализуемом товаре [17:05:54]line ИТОГО: 215.00 [17:05:54]line НСП 1% : 1.90 [17:05:54]line НДС 12% : 22.83 [17:05:54]line Наличными: 215.00 [17:05:54]line Безнал.: 0.00 [17:05:54]line Место: АЗС № 85 "Партнер Нефть" [17:05:54]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:05:54]line СНО: Общий режим [17:05:54]line Чек 46 20.10.2024 17:05 [17:05:54]line Смена: 460 ФФД: 1.0 [17:05:54]line ЗНМ: 0300000166 [17:05:54]line РНМ: 0000000000098120 [17:05:54]line Версия ККМ: 001 [17:05:54]line ФМ: 0000000000965420 [17:05:54]line ФД: 24276 [17:05:54]line ФПД: 262819219234754 [17:05:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T170559&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24276&fm=262819219234754&tin=02508201610067®Number=0000000000098120&sum=21500 [17:05:54]line 0 [17:05:54]OFD Sender: Processing packet 24276 [packets to send 5, broken 4] [17:05:54]ProducePacketName [17:05:54]name=ofd_packets/00024276 [17:05:54]OFD Sender: To server: pG, [17:05:54]CommunicateWithHost lk.salyk.kg:30040 [17:05:54]ConnectInit lk.salyk.kg [17:05:54]written 0, free lines is 4095 [17:05:54]Connected sock=10 [17:05:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 AE 01 00 00 14 38 A6 01 26 96 5A 03 01 00 03 00 9A 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 53 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EB 08 00 00 00 00 07 04 06 00 FC 53 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 77 38 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D4 5E 00 00 35 04 06 00 EF 08 5E 33 DF C2 6A 0B 9F 3E 4F 30 4C D4 [17:05:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 AC 59 47 00 3E 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D4 5E 00 00 F4 03 04 00 0E E4 14 67 B6 04 01 00 00 08 3A 5F 9D 5B DF B8 BE [17:05:54]CommunicateWithHost err = 0 [17:05:54]CheckOFDResponse [17:05:54]1017 (14) - 77093643461234 [17:05:54]1041 (16) - 0000000000965420 [17:05:54]1040 (4) - 24276 [17:05:54]1012 (4) - 20.10.2024 11:05 [17:05:54]1206 (1) - 0 [17:05:54]OFD Sender: Remove packet 24276 [17:05:54]ProducePacketName [17:05:54]name=ofd_packets/00024276 [17:05:54]NVStorageDeleteData [17:05:55]Write to MH i2c: 01 00 00 14 1C 30 [17:05:55]Write i2c OK [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: 01 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: 01 07 00 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: 01 07 00 14 1C 00 00 00 00 00 C3 0C 06 [17:05:55]RasterBufferAndPrint [17:05:55]line [17:05:55]line [17:05:55]line [17:05:55]line [17:05:55]line [17:05:55]written 0, free lines is 3273 [17:05:55]process_action close_receipt done [17:05:55]requested_data is exist [17:05:55]produce_requested_data [17:05:55]requested_item fm.sn is exist - process it [17:05:55]wFMCommunicate request_size=4 [17:05:55]MH_SAM_APDU [17:05:55]CAPDU: 80 11 00 00 [17:05:55]Write to MH i2c: E2 08 00 1B 1C 80 11 00 00 00 00 00 00 B1 [17:05:55]Write i2c OK [17:05:55]MH_I2C_Read... [17:05:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:05:55]Read from MH i2c: E2 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 17 00 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 17 00 1B 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FE [17:05:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:05:55]wFMCommunicate OK [17:05:55]requested_item fd.num is exist - process it [17:05:55]SAM_PROTO_GetFieldsCounters [17:05:55]wFMCommunicate request_size=4 [17:05:55]MH_SAM_APDU [17:05:55]CAPDU: 80 13 00 00 [17:05:55]Write to MH i2c: E2 08 00 1C 1C 80 13 00 00 00 00 00 00 B4 [17:05:55]Write i2c OK [17:05:55]MH_I2C_Read... [17:05:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:05:55]Read from MH i2c: E2 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 62 00 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 62 00 1C 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 53 [17:05:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:05:55]wFMCommunicate OK [17:05:55]SAM_PROTO_GetFieldsCounters done [17:05:55]requested_item shift.num is exist - process it [17:05:55]requested_item shift.opened is exist - process it [17:05:55]req_shift_opened [17:05:55]FM_GetShiftState [17:05:55]SAM_PROTO_GetShiftState [17:05:55]wFMCommunicate request_size=4 [17:05:55]MH_SAM_APDU [17:05:55]CAPDU: 80 13 01 00 [17:05:55]Write to MH i2c: E2 08 00 1D 1C 80 13 01 00 00 00 00 00 B6 [17:05:55]Write i2c OK [17:05:55]MH_I2C_Read... [17:05:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:05:55]Read from MH i2c: E2 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 0E 00 [17:05:55]MH_I2C_Read... [17:05:55]Read from MH i2c: E2 0E 00 1D 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 D7 [17:05:55]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:05:55]wFMCommunicate OK [17:05:55]SAM_PROTO_GetShiftState done [17:05:55]FM_GetShiftState done [17:05:55]req_shift_opened done [17:05:55]requested_item shift.open_date is exist - process it [17:05:55]req_shift_open_date [17:05:55]req_shift_open_date done [17:05:55]produce_requested_data done [17:05:55]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24276,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [17:05:55]process_action_free close_receipt [17:05:55]json_value_free [17:05:55]json_value_free done [17:05:55]process_json_proto returns [17:05:55]Send response to host [17:05:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24276,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [17:05:55]free response buf [17:05:55]execute_script done [17:05:55]execute_script returns [17:05:55]free content buf [17:05:55]Sock 7.Close socket [17:05:55]Sock 7.Thread stoped [17:05:55]OFD Sender: No OFD packet to send [17:06:00]OFD Sender: No OFD packet to send [17:06:05]OFD Sender: No OFD packet to send [17:06:10]OFD Sender: No OFD packet to send [17:06:15]OFD Sender: No OFD packet to send [17:06:20]OFD Sender: No OFD packet to send [17:06:25]OFD Sender: No OFD packet to send [17:06:30]OFD Sender: No OFD packet to send [17:06:35]OFD Sender: No OFD packet to send [17:06:40]OFD Sender: No OFD packet to send [17:06:45]OFD Sender: No OFD packet to send [17:06:50]OFD Sender: No OFD packet to send [17:06:55]OFD Sender: No OFD packet to send [17:07:00]OFD Sender: No OFD packet to send [17:07:05]OFD Sender: No OFD packet to send [17:07:10]OFD Sender: No OFD packet to send [17:07:15]OFD Sender: No OFD packet to send [17:07:20]OFD Sender: No OFD packet to send [17:07:25]OFD Sender: No OFD packet to send [17:07:30]OFD Sender: No OFD packet to send [17:07:35]OFD Sender: No OFD packet to send [17:07:40]OFD Sender: No OFD packet to send [17:07:45]OFD Sender: No OFD packet to send [17:07:50]OFD Sender: No OFD packet to send [17:07:55]OFD Sender: No OFD packet to send [17:08:00]OFD Sender: No OFD packet to send [17:08:05]OFD Sender: No OFD packet to send [17:08:10]OFD Sender: No OFD packet to send [17:08:15]OFD Sender: No OFD packet to send [17:08:20]OFD Sender: No OFD packet to send [17:08:25]OFD Sender: No OFD packet to send [17:08:30]OFD Sender: No OFD packet to send [17:08:35]OFD Sender: No OFD packet to send [17:08:40]OFD Sender: No OFD packet to send [17:08:45]OFD Sender: No OFD packet to send [17:08:50]OFD Sender: No OFD packet to send [17:08:55]OFD Sender: No OFD packet to send [17:09:00]OFD Sender: No OFD packet to send [17:09:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:20]OFD Sender: No OFD packet to send [17:10:25]OFD Sender: No OFD packet to send [17:10:30]OFD Sender: No OFD packet to send [17:10:35]OFD Sender: No OFD packet to send [17:10:40]OFD Sender: No OFD packet to send [17:10:45]OFD Sender: No OFD packet to send [17:10:50]OFD Sender: No OFD packet to send [17:10:55]OFD Sender: No OFD packet to send [17:11:00]OFD Sender: No OFD packet to send [17:11:05]OFD Sender: No OFD packet to send [17:11:10]OFD Sender: No OFD packet to send [17:11:15]OFD Sender: No OFD packet to send [17:11:20]OFD Sender: No OFD packet to send [17:11:25]OFD Sender: No OFD packet to send [17:11:30]OFD Sender: No OFD packet to send [17:11:35]OFD Sender: No OFD packet to send [17:11:40]OFD Sender: No OFD packet to send [17:11:45]OFD Sender: No OFD packet to send [17:11:50]OFD Sender: No OFD packet to send [17:11:55]OFD Sender: No OFD packet to send [17:12:00]OFD Sender: No OFD packet to send [17:12:05]OFD Sender: No OFD packet to send [17:12:10]OFD Sender: No OFD packet to send [17:12:15]OFD Sender: No OFD packet to send [17:12:20]OFD Sender: No OFD packet to send [17:12:25]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:10]OFD Sender: No OFD packet to send [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:35]OFD Sender: No OFD packet to send [17:15:40]OFD Sender: No OFD packet to send [17:15:45]OFD Sender: No OFD packet to send [17:15:50]OFD Sender: No OFD packet to send [17:15:55]OFD Sender: No OFD packet to send [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:10]OFD Sender: No OFD packet to send [17:16:15]OFD Sender: No OFD packet to send [17:16:20]OFD Sender: No OFD packet to send [17:16:25]OFD Sender: No OFD packet to send [17:16:30]OFD Sender: No OFD packet to send [17:16:35]OFD Sender: No OFD packet to send [17:16:40]OFD Sender: No OFD packet to send [17:16:45]OFD Sender: No OFD packet to send [17:16:50]OFD Sender: No OFD packet to send [17:16:55]OFD Sender: No OFD packet to send [17:17:00]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:21]OFD Sender: No OFD packet to send [17:17:26]OFD Sender: No OFD packet to send [17:17:31]OFD Sender: No OFD packet to send [17:17:36]OFD Sender: No OFD packet to send [17:17:41]OFD Sender: No OFD packet to send [17:17:46]OFD Sender: No OFD packet to send [17:17:51]OFD Sender: No OFD packet to send [17:17:56]OFD Sender: No OFD packet to send [17:18:01]OFD Sender: No OFD packet to send [17:18:06]OFD Sender: No OFD packet to send [17:18:11]OFD Sender: No OFD packet to send [17:18:16]OFD Sender: No OFD packet to send [17:18:21]OFD Sender: No OFD packet to send [17:18:26]OFD Sender: No OFD packet to send [17:18:31]OFD Sender: No OFD packet to send [17:18:36]OFD Sender: No OFD packet to send [17:18:41]OFD Sender: No OFD packet to send [17:18:46]OFD Sender: No OFD packet to send [17:18:51]OFD Sender: No OFD packet to send [17:18:56]OFD Sender: No OFD packet to send [17:19:01]OFD Sender: No OFD packet to send [17:19:06]OFD Sender: No OFD packet to send [17:19:11]OFD Sender: No OFD packet to send [17:19:16]OFD Sender: No OFD packet to send [17:19:21]OFD Sender: No OFD packet to send [17:19:26]OFD Sender: No OFD packet to send [17:19:31]OFD Sender: No OFD packet to send [17:19:36]OFD Sender: No OFD packet to send [17:19:41]OFD Sender: No OFD packet to send [17:19:46]OFD Sender: No OFD packet to send [17:19:51]OFD Sender: No OFD packet to send [17:19:56]OFD Sender: No OFD packet to send [17:20:01]OFD Sender: No OFD packet to send [17:20:06]OFD Sender: No OFD packet to send [17:20:11]OFD Sender: No OFD packet to send [17:20:16]OFD Sender: No OFD packet to send [17:20:21]OFD Sender: No OFD packet to send [17:20:26]OFD Sender: No OFD packet to send [17:20:31]OFD Sender: No OFD packet to send [17:20:36]OFD Sender: No OFD packet to send [17:20:41]OFD Sender: No OFD packet to send [17:20:46]accept exits with 9 [17:20:46]New connection [17:20:46]New thread 3067100516 created [17:20:46]Thread 3067243876 joined [17:20:46]Waiting for new connection... [17:20:46] Sock 9.Parse request [17:20:46]Sock 9.Check first char [17:20:46]Sock 9.First char is OK [17:20:46]request: POST /json_proto HTTP/1.0 [17:20:46]Method: POST [17:20:46]URL: /json_proto [17:20:46]Method is POST - this is cgi request [17:20:46]url: /json_proto [17:20:46]query_string will be loaded in cgi processing [17:20:46]execute_cgi json_proto POST (null) [17:20:46]execute_cgi path=json_proto method=POST [17:20:46]POST find Content-Length [17:20:46]Host: 172.17.50.4:8080 [17:20:46]Content-Length: 624 [17:20:46]Content-Type: application/json [17:20:46] [17:20:46]POST finish read [17:20:46]Found Content-Length = 624 [17:20:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134802", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:46]execute_script... [17:20: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)134802", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 147.00, "quantity" : 1.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:20:46]POST & json_proto [17:20:46]process_json_proto [17:20:46]json parsed OK: [17:20:46]protocol is kg_v1.0 [17:20:46]action value=close_receipt [17:20:46]process_action close_receipt [17:20:46]cmd_close_receipt [17:20:46]MH_GetDate [17:20:46]Write to MH i2c: F0 00 00 1E 1C 29 [17:20:46]Write i2c OK [17:20:46]MH_I2C_Read... [17:20:46]Read from MH i2c: F0 [17:20:46]MH_I2C_Read... [17:20:46]Read from MH i2c: F0 09 00 [17:20:46]MH_I2C_Read... [17:20:46]Read from MH i2c: F0 09 00 1E 1C 00 F4 3B 15 67 1D BB 13 67 2F [17:20:46]GetLastDocTimeStamp 1729443959 [17:20:46]current date 1729444852 [17:20:46]FM_GetShiftState [17:20:46]SAM_PROTO_GetShiftState [17:20:46]wFMCommunicate request_size=4 [17:20:46]MH_SAM_APDU [17:20:46]CAPDU: 80 13 01 00 [17:20:46]Write to MH i2c: E2 08 00 1F 1C 80 13 01 00 00 00 00 00 B8 [17:20:46]Write i2c OK [17:20:46]MH_I2C_Read... [17:20:46]OFD Sender: No OFD packet to send [17:20:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:46]Read from MH i2c: E2 [17:20:46]MH_I2C_Read... [17:20:46]Read from MH i2c: E2 0E 00 [17:20:46]MH_I2C_Read... [17:20:46]Read from MH i2c: E2 0E 00 1F 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 D9 [17:20:46]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:20:46]wFMCommunicate OK [17:20:46]SAM_PROTO_GetShiftState done [17:20:46]FM_GetShiftState done [17:20:46]opened in 1729382737 [17:20:46]opened+sec_in_day 1729469137 [17:20:46]quantity*price = 14700 [17:20:46]sum+1 = 14701 [17:20:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 47 20.10.2024 17:20 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24277 ФПД: 219603603298200 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172052&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24277&fm=219603603298200&tin=02508201610067®Number=0000000000098120&sum=14700 0 [17:20:47]StoreToDocumentArchive [17:20:47]shift 460 fd 24277 [17:20:47]save to /storage/0460/doc_00024277 [17:20:47]save last doc name /storage/0460/doc_00024277 to /storage/kkm_last_doc_name [17:20:47]save OK [17:20:47]Clear old archive folders... [17:20:47]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:20:47]tlvbuf is 02082DC0 [17:20:47]SAM_PROTO_ClearQueue [17:20:47]wFMCommunicate request_size=4 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 09 00 00 [17:20:47]Write to MH i2c: E2 08 00 2C 1C 80 09 00 00 00 00 00 00 BA [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2C 1C 00 90 00 BC [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]SAM_PROTO_ClearQueue done [17:20:47]KKMCreateOFDPacket [17:20:47]OFDProtocolAddRootSTLVToBuf [17:20:47]FM_MakeSignedData [17:20:47]FM_MakeSignedData [17:20:47]SAM_PROTO_SignData [17:20:47]wFMCommunicate request_size=4 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 0D 01 02 [17:20:47]Write to MH i2c: E2 08 00 2D 1C 80 0D 01 02 00 00 00 00 C2 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2D 1C 00 90 00 BD [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=255 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 0D 02 02 FA 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F4 3B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 [17:20:47]Write to MH i2c: E2 02 01 2E 1C 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F4 3B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 00 00 2A [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2E 1C 00 90 00 BE [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=35 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D5 5E 00 00 35 04 06 00 C7 BA 72 C4 17 98 [17:20:47]Write to MH i2c: E2 26 00 2F 1C 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D5 5E 00 00 35 04 06 00 C7 BA 72 C4 17 98 00 00 4B [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 03 00 2F 1C 00 90 00 BF [17:20:47]RAPDU: 90 00 [17:20:47]wFMCommunicate OK [17:20:47]wFMCommunicate request_size=4 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 0D 03 02 [17:20:47]Write to MH i2c: E2 08 00 30 1C 80 0D 03 02 00 00 00 00 C7 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 0B 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 0B 00 30 1C 00 54 74 66 DF 3D 7E 6E 22 90 00 20 [17:20:47]RAPDU: 54 74 66 DF 3D 7E 6E 22 90 00 [17:20:47]wFMCommunicate OK [17:20:47]SAM_PROTO_SignData done [17:20:47]FM_MakeSignedData done [17:20:47]CreateOFDProtocolMessage [17:20:47]wFMCommunicate request_size=4 [17:20:47]MH_SAM_APDU [17:20:47]CAPDU: 80 11 00 00 [17:20:47]Write to MH i2c: E2 08 00 31 1C 80 11 00 00 00 00 00 00 C7 [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:47]Read from MH i2c: E2 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 17 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: E2 17 00 31 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 14 [17:20:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:20:47]wFMCommunicate OK [17:20:47]CreateOFDProtocolMessage done [17:20:47]OFDSenderStorePacket 24277 [17:20:47]StoreOFDPacket docnum=24277 [17:20:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 92 E9 20 01 9B 9D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F4 3B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D5 5E 00 00 35 04 06 00 C7 BA 72 C4 17 98 54 74 66 DF 3D 7E 6E 22 [17:20:47]CheckFolder [17:20:47]dirname=/storage/ofd_packets [17:20:47]CheckFolder done [17:20:47]ProducePacketName [17:20:47]name=ofd_packets/00024277 [17:20:47]NVStorageSaveData ofd_packets/00024277 [17:20:47]File name is /storage/ofd_packets/00024277 [17:20:47]Write 326 bytes [17:20:47]NVStorageSaveData done [17:20:47]OFDSenderStorePacket done [17:20:47]KKMCreateOFDPacket done [17:20:47]NVStorageSaveData kkm_last_timestamp [17:20:47]File name is /storage/kkm_last_timestamp [17:20:47]Write 4 bytes [17:20:47]NVStorageSaveData done [17:20:47]ExternCall_PrintAddStr [17:20:47]wPrintStart [17:20:47]Write to MH i2c: 01 00 00 32 1C 4E [17:20:47]Write i2c OK [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: 01 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: 01 07 00 [17:20:47]MH_I2C_Read... [17:20:47]Read from MH i2c: 01 07 00 32 1C 00 00 00 00 00 FF 0F 63 [17:20:47]RasterBufferAndPrint [17:20:47]line Счет N : (3)134802 [17:20:47]line ИНН: 02508201610067 [17:20:47]line Контрольно-Кассовый Чек [17:20:47]line ПРОДАЖА [17:20:47]line Товар: 48744683 [17:20:47]line Сигареты Winston XStyle Caster+ [17:20:47]line 1.000 * 147.00 [17:20:47]line = 147.00 [17:20:47]line НДС 12% НСП 1% [17:20:47]line > о реализуемом товаре [17:20:47]line ИТОГО: 147.00 [17:20:47]line НСП 1% : 1.30 [17:20:47]line НДС 12% : 15.61 [17:20:47]line Наличными: 147.00 [17:20:47]line Безнал.: 0.00 [17:20:47]line Место: АЗС № 85 "Партнер Нефть" [17:20:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:20:47]line СНО: Общий режим [17:20:47]line Чек 47 20.10.2024 17:20 [17:20:47]line Смена: 460 ФФД: 1.0 [17:20:48]line ЗНМ: 0300000166 [17:20:48]line РНМ: 0000000000098120 [17:20:48]line Версия ККМ: 001 [17:20:48]line ФМ: 0000000000965420 [17:20:48]line ФД: 24277 [17:20:48]line ФПД: 219603603298200 [17:20:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172052&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24277&fm=219603603298200&tin=02508201610067®Number=0000000000098120&sum=14700 [17:20:48]line 0 [17:20:48]OFD Sender: Processing packet 24277 [packets to send 5, broken 4] [17:20:48]ProducePacketName [17:20:48]name=ofd_packets/00024277 [17:20:48]OFD Sender: To server: pG, [17:20:48]CommunicateWithHost lk.salyk.kg:30040 [17:20:48]ConnectInit lk.salyk.kg [17:20:48]written 0, free lines is 4095 [17:20:48]Connected sock=10 [17:20:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 28 01 00 00 92 E9 20 01 9B 9D 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 08 00 34 38 37 34 34 36 38 33 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 43 61 73 74 65 72 2B FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 6C 39 00 00 00 00 13 04 06 00 6C 39 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 39 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 82 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 19 06 00 00 00 00 07 04 06 00 6C 39 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 F4 3B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D5 5E 00 00 35 04 06 00 C7 BA 72 C4 17 98 54 74 66 DF 3D 7E 6E 22 [17:20:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 68 0E 47 00 E6 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 36 35 34 32 30 10 04 04 00 D5 5E 00 00 F4 03 04 00 8C E7 14 67 B6 04 01 00 00 99 8D A2 29 CF 0E 77 6F [17:20:48]CommunicateWithHost err = 0 [17:20:48]CheckOFDResponse [17:20:48]1017 (14) - 77093643461234 [17:20:48]1041 (16) - 0000000000965420 [17:20:48]1040 (4) - 24277 [17:20:48]1012 (4) - 20.10.2024 11:20 [17:20:48]1206 (1) - 0 [17:20:48]OFD Sender: Remove packet 24277 [17:20:48]ProducePacketName [17:20:48]name=ofd_packets/00024277 [17:20:48]NVStorageDeleteData [17:20:48]Write to MH i2c: 01 00 00 5B 1C 77 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 07 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: 01 07 00 5B 1C 00 00 00 00 00 07 0D 92 [17:20:48]RasterBufferAndPrint [17:20:48]line [17:20:48]line [17:20:48]line [17:20:48]line [17:20:48]line [17:20:48]written 0, free lines is 3341 [17:20:48]process_action close_receipt done [17:20:48]requested_data is exist [17:20:48]produce_requested_data [17:20:48]requested_item fm.sn is exist - process it [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 11 00 00 [17:20:48]Write to MH i2c: E2 08 00 62 1C 80 11 00 00 00 00 00 00 F8 [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 17 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 17 00 62 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 45 [17:20:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:20:48]wFMCommunicate OK [17:20:48]requested_item fd.num is exist - process it [17:20:48]SAM_PROTO_GetFieldsCounters [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 13 00 00 [17:20:48]Write to MH i2c: E2 08 00 63 1C 80 13 00 00 00 00 00 00 FB [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 62 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 62 00 63 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [17:20:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:20:48]wFMCommunicate OK [17:20:48]SAM_PROTO_GetFieldsCounters done [17:20:48]requested_item shift.num is exist - process it [17:20:48]requested_item shift.opened is exist - process it [17:20:48]req_shift_opened [17:20:48]FM_GetShiftState [17:20:48]SAM_PROTO_GetShiftState [17:20:48]wFMCommunicate request_size=4 [17:20:48]MH_SAM_APDU [17:20:48]CAPDU: 80 13 01 00 [17:20:48]Write to MH i2c: E2 08 00 64 1C 80 13 01 00 00 00 00 00 FD [17:20:48]Write i2c OK [17:20:48]MH_I2C_Read... [17:20:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:20:48]Read from MH i2c: E2 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 0E 00 [17:20:48]MH_I2C_Read... [17:20:48]Read from MH i2c: E2 0E 00 64 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 1E [17:20:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:20:48]wFMCommunicate OK [17:20:48]SAM_PROTO_GetShiftState done [17:20:48]FM_GetShiftState done [17:20:48]req_shift_opened done [17:20:48]requested_item shift.open_date is exist - process it [17:20:48]req_shift_open_date [17:20:48]req_shift_open_date done [17:20:48]produce_requested_data done [17:20:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24277,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [17:20:48]process_action_free close_receipt [17:20:48]json_value_free [17:20:48]json_value_free done [17:20:48]process_json_proto returns [17:20:48]Send response to host [17:20:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24277,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [17:20:48]free response buf [17:20:48]execute_script done [17:20:48]execute_script returns [17:20:48]free content buf [17:20:48]Sock 9.Close socket [17:20:48]Sock 9.Thread stoped [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:09]OFD Sender: No OFD packet to send [17:23:14]OFD Sender: No OFD packet to send [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:25]accept exits with 7 [17:27:25]New connection [17:27:25]New thread 3067243876 created [17:27:25]Thread 3067100516 joined [17:27:25]Waiting for new connection... [17:27:25] Sock 7.Parse request [17:27:25]Sock 7.Check first char [17:27:25]Sock 7.First char is OK [17:27:25]request: POST /json_proto HTTP/1.0 [17:27:25]Method: POST [17:27:25]URL: /json_proto [17:27:25]Method is POST - this is cgi request [17:27:25]url: /json_proto [17:27:25]query_string will be loaded in cgi processing [17:27:25]execute_cgi json_proto POST (null) [17:27:25]execute_cgi path=json_proto method=POST [17:27:25]POST find Content-Length [17:27:25]Host: 172.17.50.4:8080 [17:27:25]Content-Length: 623 [17:27:25]Content-Type: application/json [17:27:25] [17:27:25]POST finish read [17:27:25]Found Content-Length = 623 [17:27:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134803", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:25]execute_script... [17:27: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)134803", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:27:25]POST & json_proto [17:27:25]process_json_proto [17:27:25]json parsed OK: [17:27:25]protocol is kg_v1.0 [17:27:25]action value=close_receipt [17:27:25]process_action close_receipt [17:27:25]cmd_close_receipt [17:27:25]MH_GetDate [17:27:25]Write to MH i2c: F0 00 00 65 1C 70 [17:27:25]Write i2c OK [17:27:25]MH_I2C_Read... [17:27:25]Read from MH i2c: F0 [17:27:25]MH_I2C_Read... [17:27:25]Read from MH i2c: F0 09 00 [17:27:25]MH_I2C_Read... [17:27:25]Read from MH i2c: F0 09 00 65 1C 00 83 3D 15 67 1D BB 13 67 07 [17:27:25]GetLastDocTimeStamp 1729444852 [17:27:25]current date 1729445251 [17:27:25]FM_GetShiftState [17:27:25]SAM_PROTO_GetShiftState [17:27:25]wFMCommunicate request_size=4 [17:27:25]MH_SAM_APDU [17:27:25]CAPDU: 80 13 01 00 [17:27:25]Write to MH i2c: E2 08 00 66 1C 80 13 01 00 00 00 00 00 FF [17:27:25]Write i2c OK [17:27:25]MH_I2C_Read... [17:27:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:25]Read from MH i2c: E2 [17:27:25]MH_I2C_Read... [17:27:25]Read from MH i2c: E2 0E 00 [17:27:25]MH_I2C_Read... [17:27:25]Read from MH i2c: E2 0E 00 66 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 20 [17:27:25]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:27:25]wFMCommunicate OK [17:27:25]SAM_PROTO_GetShiftState done [17:27:25]FM_GetShiftState done [17:27:25]opened in 1729382737 [17:27:25]opened+sec_in_day 1729469137 [17:27:25]quantity*price = 14400 [17:27:25]sum+1 = 14401 [17:27:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 48 20.10.2024 17:27 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24278 ФПД: 213360639270064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172731&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24278&fm=213360639270064&tin=02508201610067®Number=0000000000098120&sum=14400 0 [17:27:26]StoreToDocumentArchive [17:27:26]shift 460 fd 24278 [17:27:26]save to /storage/0460/doc_00024278 [17:27:26]save last doc name /storage/0460/doc_00024278 to /storage/kkm_last_doc_name [17:27:26]save OK [17:27:26]Clear old archive folders... [17:27:26]ProcessDocumentItem done err = 0, tmpTLVsize=275 [17:27:26]tlvbuf is 02078020 [17:27:26]SAM_PROTO_ClearQueue [17:27:26]wFMCommunicate request_size=4 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 09 00 00 [17:27:26]Write to MH i2c: E2 08 00 73 1C 80 09 00 00 00 00 00 00 01 [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 73 1C 00 90 00 03 [17:27:26]RAPDU: 90 00 [17:27:26]wFMCommunicate OK [17:27:26]SAM_PROTO_ClearQueue done [17:27:26]KKMCreateOFDPacket [17:27:26]OFDProtocolAddRootSTLVToBuf [17:27:26]FM_MakeSignedData [17:27:26]FM_MakeSignedData [17:27:26]SAM_PROTO_SignData [17:27:26]wFMCommunicate request_size=4 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 0D 01 02 [17:27:26]Write to MH i2c: E2 08 00 74 1C 80 0D 01 02 00 00 00 00 09 [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 74 1C 00 90 00 04 [17:27:26]RAPDU: 90 00 [17:27:26]wFMCommunicate OK [17:27:26]wFMCommunicate request_size=255 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 83 3D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 [17:27:26]Write to MH i2c: E2 02 01 75 1C 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 83 3D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 00 00 42 [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 75 1C 00 90 00 05 [17:27:26]RAPDU: 90 00 [17:27:26]wFMCommunicate OK [17:27:26]wFMCommunicate request_size=34 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D6 5E 00 00 35 04 06 00 C2 0C E5 1C DC B0 [17:27:26]Write to MH i2c: E2 25 00 76 1C 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D6 5E 00 00 35 04 06 00 C2 0C E5 1C DC B0 00 00 56 [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 03 00 76 1C 00 90 00 06 [17:27:26]RAPDU: 90 00 [17:27:26]wFMCommunicate OK [17:27:26]wFMCommunicate request_size=4 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 0D 03 02 [17:27:26]Write to MH i2c: E2 08 00 77 1C 80 0D 03 02 00 00 00 00 0E [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 0B 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 0B 00 77 1C 00 D4 E5 9E 16 FB C3 60 8C 90 00 26 [17:27:26]RAPDU: D4 E5 9E 16 FB C3 60 8C 90 00 [17:27:26]wFMCommunicate OK [17:27:26]SAM_PROTO_SignData done [17:27:26]FM_MakeSignedData done [17:27:26]CreateOFDProtocolMessage [17:27:26]wFMCommunicate request_size=4 [17:27:26]MH_SAM_APDU [17:27:26]CAPDU: 80 11 00 00 [17:27:26]Write to MH i2c: E2 08 00 78 1C 80 11 00 00 00 00 00 00 0E [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:26]Read from MH i2c: E2 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 17 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: E2 17 00 78 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5B [17:27:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:27:26]wFMCommunicate OK [17:27:26]CreateOFDProtocolMessage done [17:27:26]OFDSenderStorePacket 24278 [17:27:26]StoreOFDPacket docnum=24278 [17:27:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 06 B1 1F 01 F4 A0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 83 3D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D6 5E 00 00 35 04 06 00 C2 0C E5 1C DC B0 D4 E5 9E 16 FB C3 60 8C [17:27:26]CheckFolder [17:27:26]dirname=/storage/ofd_packets [17:27:26]CheckFolder done [17:27:26]ProducePacketName [17:27:26]name=ofd_packets/00024278 [17:27:26]NVStorageSaveData ofd_packets/00024278 [17:27:26]File name is /storage/ofd_packets/00024278 [17:27:26]Write 325 bytes [17:27:26]NVStorageSaveData done [17:27:26]OFDSenderStorePacket done [17:27:26]KKMCreateOFDPacket done [17:27:26]NVStorageSaveData kkm_last_timestamp [17:27:26]File name is /storage/kkm_last_timestamp [17:27:26]Write 4 bytes [17:27:26]NVStorageSaveData done [17:27:26]ExternCall_PrintAddStr [17:27:26]wPrintStart [17:27:26]Write to MH i2c: 01 00 00 79 1C 95 [17:27:26]Write i2c OK [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: 01 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: 01 07 00 [17:27:26]MH_I2C_Read... [17:27:26]Read from MH i2c: 01 07 00 79 1C 00 00 00 00 00 FF 0F AA [17:27:26]RasterBufferAndPrint [17:27:26]line Счет N : (3)134803 [17:27:26]line ИНН: 02508201610067 [17:27:26]line Контрольно-Кассовый Чек [17:27:26]line ПРОДАЖА [17:27:26]line Товар: 48743587 [17:27:26]line Сигареты Winston XStyle Silver [17:27:26]line 1.000 * 144.00 [17:27:26]line = 144.00 [17:27:26]line НДС 12% НСП 1% [17:27:26]line > о реализуемом товаре [17:27:26]line ИТОГО: 144.00 [17:27:26]line НСП 1% : 1.27 [17:27:26]line НДС 12% : 15.29 [17:27:26]line Наличными: 144.00 [17:27:26]line Безнал.: 0.00 [17:27:26]line Место: АЗС № 85 "Партнер Нефть" [17:27:26]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:27:26]line СНО: Общий режим [17:27:26]line Чек 48 20.10.2024 17:27 [17:27:26]line Смена: 460 ФФД: 1.0 [17:27:26]line ЗНМ: 0300000166 [17:27:26]line РНМ: 0000000000098120 [17:27:26]line Версия ККМ: 001 [17:27:26]line ФМ: 0000000000965420 [17:27:26]line ФД: 24278 [17:27:26]line ФПД: 213360639270064 [17:27:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T172731&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24278&fm=213360639270064&tin=02508201610067®Number=0000000000098120&sum=14400 [17:27:27]line 0 [17:27:27]OFD Sender: Processing packet 24278 [packets to send 5, broken 4] [17:27:27]ProducePacketName [17:27:27]name=ofd_packets/00024278 [17:27:27]OFD Sender: To server: pG, [17:27:27]CommunicateWithHost lk.salyk.kg:30040 [17:27:27]ConnectInit lk.salyk.kg [17:27:27]written 0, free lines is 4095 [17:27:27]Connected sock=10 [17:27:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 06 B1 1F 01 F4 A0 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 83 3D 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D6 5E 00 00 35 04 06 00 C2 0C E5 1C DC B0 D4 E5 9E 16 FB C3 60 8C [17:27:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 78 03 47 00 3C 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D6 5E 00 00 F4 03 04 00 1B E9 14 67 B6 04 01 00 00 67 3A EE 2C 26 A6 72 E5 [17:27:27]CommunicateWithHost err = 0 [17:27:27]CheckOFDResponse [17:27:27]1017 (14) - 77093643461234 [17:27:27]1041 (16) - 0000000000965420 [17:27:27]1040 (4) - 24278 [17:27:27]1012 (4) - 20.10.2024 11:27 [17:27:27]1206 (1) - 0 [17:27:27]OFD Sender: Remove packet 24278 [17:27:27]ProducePacketName [17:27:27]name=ofd_packets/00024278 [17:27:27]NVStorageDeleteData [17:27:27]Write to MH i2c: 01 00 00 A2 1C BE [17:27:27]Write i2c OK [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: 01 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: 01 07 00 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: 01 07 00 A2 1C 00 00 00 00 00 0E 0D E0 [17:27:27]RasterBufferAndPrint [17:27:27]line [17:27:27]line [17:27:27]line [17:27:27]line [17:27:27]line [17:27:27]written 0, free lines is 3351 [17:27:27]process_action close_receipt done [17:27:27]requested_data is exist [17:27:27]produce_requested_data [17:27:27]requested_item fm.sn is exist - process it [17:27:27]wFMCommunicate request_size=4 [17:27:27]MH_SAM_APDU [17:27:27]CAPDU: 80 11 00 00 [17:27:27]Write to MH i2c: E2 08 00 A9 1C 80 11 00 00 00 00 00 00 3F [17:27:27]Write i2c OK [17:27:27]MH_I2C_Read... [17:27:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:27:27]Read from MH i2c: E2 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 17 00 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 17 00 A9 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8C [17:27:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:27:27]wFMCommunicate OK [17:27:27]requested_item fd.num is exist - process it [17:27:27]SAM_PROTO_GetFieldsCounters [17:27:27]wFMCommunicate request_size=4 [17:27:27]MH_SAM_APDU [17:27:27]CAPDU: 80 13 00 00 [17:27:27]Write to MH i2c: E2 08 00 AA 1C 80 13 00 00 00 00 00 00 42 [17:27:27]Write i2c OK [17:27:27]MH_I2C_Read... [17:27:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:27:27]Read from MH i2c: E2 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 62 00 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 62 00 AA 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 E9 [17:27:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:27:27]wFMCommunicate OK [17:27:27]SAM_PROTO_GetFieldsCounters done [17:27:27]requested_item shift.num is exist - process it [17:27:27]requested_item shift.opened is exist - process it [17:27:27]req_shift_opened [17:27:27]FM_GetShiftState [17:27:27]SAM_PROTO_GetShiftState [17:27:27]wFMCommunicate request_size=4 [17:27:27]MH_SAM_APDU [17:27:27]CAPDU: 80 13 01 00 [17:27:27]Write to MH i2c: E2 08 00 AB 1C 80 13 01 00 00 00 00 00 44 [17:27:27]Write i2c OK [17:27:27]MH_I2C_Read... [17:27:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:27:27]Read from MH i2c: E2 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 0E 00 [17:27:27]MH_I2C_Read... [17:27:27]Read from MH i2c: E2 0E 00 AB 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 65 [17:27:27]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:27:27]wFMCommunicate OK [17:27:27]SAM_PROTO_GetShiftState done [17:27:27]FM_GetShiftState done [17:27:27]req_shift_opened done [17:27:27]requested_item shift.open_date is exist - process it [17:27:27]req_shift_open_date [17:27:27]req_shift_open_date done [17:27:27]produce_requested_data done [17:27:27]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24278,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [17:27:27]process_action_free close_receipt [17:27:27]json_value_free [17:27:27]json_value_free done [17:27:27]process_json_proto returns [17:27:27]Send response to host [17:27:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24278,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [17:27:27]free response buf [17:27:27]execute_script done [17:27:27]execute_script returns [17:27:27]free content buf [17:27:27]Sock 7.Close socket [17:27:27]Sock 7.Thread stoped [17:27:27]OFD Sender: No OFD packet to send [17:27:32]OFD Sender: No OFD packet to send [17:27:37]OFD Sender: No OFD packet to send [17:27:43]OFD Sender: No OFD packet to send [17:27:48]OFD Sender: No OFD packet to send [17:27:53]OFD Sender: No OFD packet to send [17:27:58]OFD Sender: No OFD packet to send [17:28:03]OFD Sender: No OFD packet to send [17:28:08]OFD Sender: No OFD packet to send [17:28:13]OFD Sender: No OFD packet to send [17:28:18]OFD Sender: No OFD packet to send [17:28:23]OFD Sender: No OFD packet to send [17:28:28]OFD Sender: No OFD packet to send [17:28:33]OFD Sender: No OFD packet to send [17:28:38]OFD Sender: No OFD packet to send [17:28:43]OFD Sender: No OFD packet to send [17:28:48]OFD Sender: No OFD packet to send [17:28:53]OFD Sender: No OFD packet to send [17:28:58]OFD Sender: No OFD packet to send [17:29:03]OFD Sender: No OFD packet to send [17:29:08]OFD Sender: No OFD packet to send [17:29:13]OFD Sender: No OFD packet to send [17:29:18]OFD Sender: No OFD packet to send [17:29:23]OFD Sender: No OFD packet to send [17:29:28]OFD Sender: No OFD packet to send [17:29:33]OFD Sender: No OFD packet to send [17:29:38]OFD Sender: No OFD packet to send [17:29:43]OFD Sender: No OFD packet to send [17:29:48]OFD Sender: No OFD packet to send [17:29:53]OFD Sender: No OFD packet to send [17:29:58]OFD Sender: No OFD packet to send [17:30:03]OFD Sender: No OFD packet to send [17:30:08]OFD Sender: No OFD packet to send [17:30:13]OFD Sender: No OFD packet to send [17:30:18]OFD Sender: No OFD packet to send [17:30:23]OFD Sender: No OFD packet to send [17:30:28]OFD Sender: No OFD packet to send [17:30:33]OFD Sender: No OFD packet to send [17:30:38]OFD Sender: No OFD packet to send [17:30:43]OFD Sender: No OFD packet to send [17:30:48]OFD Sender: No OFD packet to send [17:30:53]OFD Sender: No OFD packet to send [17:30:58]OFD Sender: No OFD packet to send [17:31:03]OFD Sender: No OFD packet to send [17:31:08]OFD Sender: No OFD packet to send [17:31:13]OFD Sender: No OFD packet to send [17:31:18]OFD Sender: No OFD packet to send [17:31:23]OFD Sender: No OFD packet to send [17:31:28]OFD Sender: No OFD packet to send [17:31:33]OFD Sender: No OFD packet to send [17:31:38]OFD Sender: No OFD packet to send [17:31:43]OFD Sender: No OFD packet to send [17:31:48]OFD Sender: No OFD packet to send [17:31:53]OFD Sender: No OFD packet to send [17:31:58]OFD Sender: No OFD packet to send [17:32:03]OFD Sender: No OFD packet to send [17:32:08]OFD Sender: No OFD packet to send [17:32:13]OFD Sender: No OFD packet to send [17:32:18]OFD Sender: No OFD packet to send [17:32:23]OFD Sender: No OFD packet to send [17:32:28]OFD Sender: No OFD packet to send [17:32:33]OFD Sender: No OFD packet to send [17:32:38]OFD Sender: No OFD packet to send [17:32:43]OFD Sender: No OFD packet to send [17:32:48]OFD Sender: No OFD packet to send [17:32:53]OFD Sender: No OFD packet to send [17:32:58]OFD Sender: No OFD packet to send [17:33:03]OFD Sender: No OFD packet to send [17:33:08]OFD Sender: No OFD packet to send [17:33:13]OFD Sender: No OFD packet to send [17:33:18]OFD Sender: No OFD packet to send [17:33:23]OFD Sender: No OFD packet to send [17:33:28]OFD Sender: No OFD packet to send [17:33:33]OFD Sender: No OFD packet to send [17:33:38]OFD Sender: No OFD packet to send [17:33:43]OFD Sender: No OFD packet to send [17:33:48]OFD Sender: No OFD packet to send [17:33:53]OFD Sender: No OFD packet to send [17:33:58]OFD Sender: No OFD packet to send [17:34:03]OFD Sender: No OFD packet to send [17:34:08]OFD Sender: No OFD packet to send [17:34:13]OFD Sender: No OFD packet to send [17:34:18]OFD Sender: No OFD packet to send [17:34:23]OFD Sender: No OFD packet to send [17:34:28]OFD Sender: No OFD packet to send [17:34:33]OFD Sender: No OFD packet to send [17:34:38]OFD Sender: No OFD packet to send [17:34:43]OFD Sender: No OFD packet to send [17:34:48]OFD Sender: No OFD packet to send [17:34:53]OFD Sender: No OFD packet to send [17:34:58]OFD Sender: No OFD packet to send [17:35:03]OFD Sender: No OFD packet to send [17:35:08]OFD Sender: No OFD packet to send [17:35:13]OFD Sender: No OFD packet to send [17:35:18]OFD Sender: No OFD packet to send [17:35:23]OFD Sender: No OFD packet to send [17:35:28]OFD Sender: No OFD packet to send [17:35:33]OFD Sender: No OFD packet to send [17:35:38]OFD Sender: No OFD packet to send [17:35:43]OFD Sender: No OFD packet to send [17:35:48]OFD Sender: No OFD packet to send [17:35:53]OFD Sender: No OFD packet to send [17:35:58]OFD Sender: No OFD packet to send [17:36:03]OFD Sender: No OFD packet to send [17:36:08]OFD Sender: No OFD packet to send [17:36:13]OFD Sender: No OFD packet to send [17:36:18]OFD Sender: No OFD packet to send [17:36:23]OFD Sender: No OFD packet to send [17:36:28]OFD Sender: No OFD packet to send [17:36:33]OFD Sender: No OFD packet to send [17:36:38]OFD Sender: No OFD packet to send [17:36:43]OFD Sender: No OFD packet to send [17:36:48]OFD Sender: No OFD packet to send [17:36:53]OFD Sender: No OFD packet to send [17:36:58]OFD Sender: No OFD packet to send [17:37:03]OFD Sender: No OFD packet to send [17:37:08]OFD Sender: No OFD packet to send [17:37:13]OFD Sender: No OFD packet to send [17:37:18]OFD Sender: No OFD packet to send [17:37:23]OFD Sender: No OFD packet to send [17:37:28]OFD Sender: No OFD packet to send [17:37:33]OFD Sender: No OFD packet to send [17:37:38]OFD Sender: No OFD packet to send [17:37:43]OFD Sender: No OFD packet to send [17:37:48]OFD Sender: No OFD packet to send [17:37:53]OFD Sender: No OFD packet to send [17:37:58]OFD Sender: No OFD packet to send [17:38:03]OFD Sender: No OFD packet to send [17:38:08]OFD Sender: No OFD packet to send [17:38:13]OFD Sender: No OFD packet to send [17:38:18]OFD Sender: No OFD packet to send [17:38:23]OFD Sender: No OFD packet to send [17:38:28]OFD Sender: No OFD packet to send [17:38:33]OFD Sender: No OFD packet to send [17:38:38]OFD Sender: No OFD packet to send [17:38:43]OFD Sender: No OFD packet to send [17:38:48]OFD Sender: No OFD packet to send [17:38:53]OFD Sender: No OFD packet to send [17:38:58]OFD Sender: No OFD packet to send [17:39:03]OFD Sender: No OFD packet to send [17:39:08]OFD Sender: No OFD packet to send [17:39:13]OFD Sender: No OFD packet to send [17:39:18]OFD Sender: No OFD packet to send [17:39:23]OFD Sender: No OFD packet to send [17:39:28]OFD Sender: No OFD packet to send [17:39:33]OFD Sender: No OFD packet to send [17:39:38]OFD Sender: No OFD packet to send [17:39:43]OFD Sender: No OFD packet to send [17:39:48]OFD Sender: No OFD packet to send [17:39:53]OFD Sender: No OFD packet to send [17:39:58]OFD Sender: No OFD packet to send [17:40:03]OFD Sender: No OFD packet to send [17:40:08]OFD Sender: No OFD packet to send [17:40:13]OFD Sender: No OFD packet to send [17:40:18]OFD Sender: No OFD packet to send [17:40:23]OFD Sender: No OFD packet to send [17:40:28]OFD Sender: No OFD packet to send [17:40:33]OFD Sender: No OFD packet to send [17:40:38]OFD Sender: No OFD packet to send [17:40:43]OFD Sender: No OFD packet to send [17:40:48]OFD Sender: No OFD packet to send [17:40:53]OFD Sender: No OFD packet to send [17:40:58]OFD Sender: No OFD packet to send [17:41:03]OFD Sender: No OFD packet to send [17:41:08]OFD Sender: No OFD packet to send [17:41:13]OFD Sender: No OFD packet to send [17:41:18]OFD Sender: No OFD packet to send [17:41:23]OFD Sender: No OFD packet to send [17:41:28]OFD Sender: No OFD packet to send [17:41:33]OFD Sender: No OFD packet to send [17:41:38]OFD Sender: No OFD packet to send [17:41:43]OFD Sender: No OFD packet to send [17:41:48]OFD Sender: No OFD packet to send [17:41:53]OFD Sender: No OFD packet to send [17:41:58]OFD Sender: No OFD packet to send [17:42:03]OFD Sender: No OFD packet to send [17:42:08]OFD Sender: No OFD packet to send [17:42:13]OFD Sender: No OFD packet to send [17:42:18]OFD Sender: No OFD packet to send [17:42:23]OFD Sender: No OFD packet to send [17:42:28]OFD Sender: No OFD packet to send [17:42:33]OFD Sender: No OFD packet to send [17:42:38]OFD Sender: No OFD packet to send [17:42:43]OFD Sender: No OFD packet to send [17:42:48]OFD Sender: No OFD packet to send [17:42:53]OFD Sender: No OFD packet to send [17:42:58]OFD Sender: No OFD packet to send [17:43:03]OFD Sender: No OFD packet to send [17:43:08]OFD Sender: No OFD packet to send [17:43:11]accept exits with 9 [17:43:11]New connection [17:43:11]New thread 3067100516 created [17:43:11]Thread 3067243876 joined [17:43:11]Waiting for new connection... [17:43:11] Sock 9.Parse request [17:43:11]Sock 9.Check first char [17:43:11]Sock 9.First char is OK [17:43:11]request: POST /json_proto HTTP/1.0 [17:43:11]Method: POST [17:43:11]URL: /json_proto [17:43:11]Method is POST - this is cgi request [17:43:11]url: /json_proto [17:43:11]query_string will be loaded in cgi processing [17:43:11]execute_cgi json_proto POST (null) [17:43:11]execute_cgi path=json_proto method=POST [17:43:11]POST find Content-Length [17:43:11]Host: 172.17.50.4:8080 [17:43:11]Content-Length: 748 [17:43:11]Content-Type: application/json [17:43:11] [17:43:11]POST finish read [17:43:11]Found Content-Length = 748 [17:43:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134804", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:43:11]execute_script... [17:43: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)134804", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:43:11]POST & json_proto [17:43:11]process_json_proto [17:43:11]json parsed OK: [17:43:11]protocol is kg_v1.0 [17:43:11]action value=close_receipt [17:43:11]process_action close_receipt [17:43:11]cmd_close_receipt [17:43:11]MH_GetDate [17:43:11]Write to MH i2c: F0 00 00 AC 1C B7 [17:43:11]Write i2c OK [17:43:11]MH_I2C_Read... [17:43:11]Read from MH i2c: F0 [17:43:11]MH_I2C_Read... [17:43:11]Read from MH i2c: F0 09 00 [17:43:11]MH_I2C_Read... [17:43:11]Read from MH i2c: F0 09 00 AC 1C 00 35 41 15 67 1D BB 13 67 04 [17:43:11]GetLastDocTimeStamp 1729445251 [17:43:11]current date 1729446197 [17:43:11]FM_GetShiftState [17:43:11]SAM_PROTO_GetShiftState [17:43:11]wFMCommunicate request_size=4 [17:43:11]MH_SAM_APDU [17:43:11]CAPDU: 80 13 01 00 [17:43:11]Write to MH i2c: E2 08 00 AD 1C 80 13 01 00 00 00 00 00 46 [17:43:11]Write i2c OK [17:43:11]MH_I2C_Read... [17:43:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:43:11]Read from MH i2c: E2 [17:43:11]MH_I2C_Read... [17:43:11]Read from MH i2c: E2 0E 00 [17:43:11]MH_I2C_Read... [17:43:11]Read from MH i2c: E2 0E 00 AD 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 67 [17:43:11]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:43:11]wFMCommunicate OK [17:43:11]SAM_PROTO_GetShiftState done [17:43:11]FM_GetShiftState done [17:43:11]opened in 1729382737 [17:43:11]opened+sec_in_day 1729469137 [17:43:11]quantity*price = 28800 [17:43:11]sum+1 = 28801 [17:43:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 0.00 Безнал.: 288.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 49 20.10.2024 17:43 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24279 ФПД: 268814052014524 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T174317&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24279&fm=268814052014524&tin=02508201610067®Number=0000000000098120&sum=28800 0 [17:43:12]StoreToDocumentArchive [17:43:12]shift 460 fd 24279 [17:43:12]save to /storage/0460/doc_00024279 [17:43:12]save last doc name /storage/0460/doc_00024279 to /storage/kkm_last_doc_name [17:43:12]save OK [17:43:12]Clear old archive folders... [17:43:12]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:43:12]tlvbuf is B6F9FAE0 [17:43:12]SAM_PROTO_ClearQueue [17:43:12]wFMCommunicate request_size=4 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 09 00 00 [17:43:12]Write to MH i2c: E2 08 00 BA 1C 80 09 00 00 00 00 00 00 48 [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 BA 1C 00 90 00 4A [17:43:12]RAPDU: 90 00 [17:43:12]wFMCommunicate OK [17:43:12]SAM_PROTO_ClearQueue done [17:43:12]KKMCreateOFDPacket [17:43:12]OFDProtocolAddRootSTLVToBuf [17:43:12]FM_MakeSignedData [17:43:12]FM_MakeSignedData [17:43:12]SAM_PROTO_SignData [17:43:12]wFMCommunicate request_size=4 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 0D 01 02 [17:43:12]Write to MH i2c: E2 08 00 BB 1C 80 0D 01 02 00 00 00 00 50 [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 BB 1C 00 90 00 4B [17:43:12]RAPDU: 90 00 [17:43:12]wFMCommunicate OK [17:43:12]wFMCommunicate request_size=255 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 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 31 00 00 00 F4 03 04 00 35 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [17:43:12]Write to MH i2c: E2 02 01 BC 1C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 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 31 00 00 00 F4 03 04 00 35 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 78 [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 BC 1C 00 90 00 4C [17:43:12]RAPDU: 90 00 [17:43:12]wFMCommunicate OK [17:43:12]wFMCommunicate request_size=32 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 D7 5E 00 00 35 04 06 00 F4 7C 26 14 B9 BC [17:43:12]Write to MH i2c: E2 23 00 BD 1C 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 D7 5E 00 00 35 04 06 00 F4 7C 26 14 B9 BC 00 00 FE [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 03 00 BD 1C 00 90 00 4D [17:43:12]RAPDU: 90 00 [17:43:12]wFMCommunicate OK [17:43:12]wFMCommunicate request_size=4 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 0D 03 02 [17:43:12]Write to MH i2c: E2 08 00 BE 1C 80 0D 03 02 00 00 00 00 55 [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 0B 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 0B 00 BE 1C 00 3B 57 7E CF CC 38 35 AC 90 00 1A [17:43:12]RAPDU: 3B 57 7E CF CC 38 35 AC 90 00 [17:43:12]wFMCommunicate OK [17:43:12]SAM_PROTO_SignData done [17:43:12]FM_MakeSignedData done [17:43:12]CreateOFDProtocolMessage [17:43:12]wFMCommunicate request_size=4 [17:43:12]MH_SAM_APDU [17:43:12]CAPDU: 80 11 00 00 [17:43:12]Write to MH i2c: E2 08 00 BF 1C 80 11 00 00 00 00 00 00 55 [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:43:12]Read from MH i2c: E2 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 17 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: E2 17 00 BF 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A2 [17:43:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:43:12]wFMCommunicate OK [17:43:12]CreateOFDProtocolMessage done [17:43:12]OFDSenderStorePacket 24279 [17:43:12]StoreOFDPacket docnum=24279 [17:43:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 19 E1 1D 01 F0 D4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 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 31 00 00 00 F4 03 04 00 35 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D7 5E 00 00 35 04 06 00 F4 7C 26 14 B9 BC 3B 57 7E CF CC 38 35 AC [17:43:12]CheckFolder [17:43:12]dirname=/storage/ofd_packets [17:43:12]CheckFolder done [17:43:12]ProducePacketName [17:43:12]name=ofd_packets/00024279 [17:43:12]NVStorageSaveData ofd_packets/00024279 [17:43:12]File name is /storage/ofd_packets/00024279 [17:43:12]Write 323 bytes [17:43:12]NVStorageSaveData done [17:43:12]OFDSenderStorePacket done [17:43:12]KKMCreateOFDPacket done [17:43:12]NVStorageSaveData kkm_last_timestamp [17:43:12]File name is /storage/kkm_last_timestamp [17:43:12]Write 4 bytes [17:43:12]NVStorageSaveData done [17:43:12]ExternCall_PrintAddStr [17:43:12]wPrintStart [17:43:12]Write to MH i2c: 01 00 00 C0 1C DC [17:43:12]Write i2c OK [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: 01 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: 01 07 00 [17:43:12]MH_I2C_Read... [17:43:12]Read from MH i2c: 01 07 00 C0 1C 00 00 00 00 00 FF 0F F1 [17:43:12]RasterBufferAndPrint [17:43:12]line Счет N : (3)134804 [17:43:12]line ИНН: 02508201610067 [17:43:12]line Контрольно-Кассовый Чек [17:43:12]line ПРОДАЖА [17:43:12]line Товар: 48743570 [17:43:12]line Сигареты Winston XStyle Blue [17:43:12]line 2.000 * 144.00 [17:43:12]line = 288.00 [17:43:12]line НДС 12% НСП 1% [17:43:12]line > о реализуемом товаре [17:43:12]line ИТОГО: 288.00 [17:43:12]line НСП 1% : 2.55 [17:43:12]line НДС 12% : 30.58 [17:43:12]line Наличными: 0.00 [17:43:12]line Безнал.: 288.00 [17:43:12]line Место: АЗС № 85 "Партнер Нефть" [17:43:12]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:43:12]line СНО: Общий режим [17:43:12]line Чек 49 20.10.2024 17:43 [17:43:12]line Смена: 460 ФФД: 1.0 [17:43:12]line ЗНМ: 0300000166 [17:43:12]line РНМ: 0000000000098120 [17:43:12]line Версия ККМ: 001 [17:43:12]line Платежная система: Mbank [17:43:12]line ФМ: 0000000000965420 [17:43:12]line ФД: 24279 [17:43:12]line ФПД: 268814052014524 [17:43:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T174317&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24279&fm=268814052014524&tin=02508201610067®Number=0000000000098120&sum=28800 [17:43:13]OFD Sender: Processing packet 24279 [packets to send 5, broken 4] [17:43:13]ProducePacketName [17:43:13]name=ofd_packets/00024279 [17:43:13]OFD Sender: To server: pG, [17:43:13]CommunicateWithHost lk.salyk.kg:30040 [17:43:13]ConnectInit lk.salyk.kg [17:43:13]line 0 [17:43:13]written 0, free lines is 4095 [17:43:13]Connected sock=10 [17:43:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 19 E1 1D 01 F0 D4 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 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 31 00 00 00 F4 03 04 00 35 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D7 5E 00 00 35 04 06 00 F4 7C 26 14 B9 BC 3B 57 7E CF CC 38 35 AC [17:43:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 84 44 47 00 C6 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D7 5E 00 00 F4 03 04 00 CD EC 14 67 B6 04 01 00 00 7F A4 16 29 4F 0D 25 B4 [17:43:13]CommunicateWithHost err = 0 [17:43:13]CheckOFDResponse [17:43:13]1017 (14) - 77093643461234 [17:43:13]1041 (16) - 0000000000965420 [17:43:13]1040 (4) - 24279 [17:43:13]1012 (4) - 20.10.2024 11:43 [17:43:13]1206 (1) - 0 [17:43:13]OFD Sender: Remove packet 24279 [17:43:13]ProducePacketName [17:43:13]name=ofd_packets/00024279 [17:43:13]NVStorageDeleteData [17:43:13]Write to MH i2c: 01 00 00 E9 1C 05 [17:43:13]Write i2c OK [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: 01 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: 01 07 00 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: 01 07 00 E9 1C 00 00 00 00 00 14 0D 2D [17:43:13]RasterBufferAndPrint [17:43:13]line [17:43:13]line [17:43:13]line [17:43:13]line [17:43:13]line [17:43:13]written 0, free lines is 3358 [17:43:13]process_action close_receipt done [17:43:13]requested_data is exist [17:43:13]produce_requested_data [17:43:13]requested_item fm.sn is exist - process it [17:43:13]wFMCommunicate request_size=4 [17:43:13]MH_SAM_APDU [17:43:13]CAPDU: 80 11 00 00 [17:43:13]Write to MH i2c: E2 08 00 F0 1C 80 11 00 00 00 00 00 00 86 [17:43:13]Write i2c OK [17:43:13]MH_I2C_Read... [17:43:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:43:13]Read from MH i2c: E2 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 17 00 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 17 00 F0 1C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D3 [17:43:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:43:13]wFMCommunicate OK [17:43:13]requested_item fd.num is exist - process it [17:43:13]SAM_PROTO_GetFieldsCounters [17:43:13]wFMCommunicate request_size=4 [17:43:13]MH_SAM_APDU [17:43:13]CAPDU: 80 13 00 00 [17:43:13]Write to MH i2c: E2 08 00 F1 1C 80 13 00 00 00 00 00 00 89 [17:43:13]Write i2c OK [17:43:13]MH_I2C_Read... [17:43:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:43:13]Read from MH i2c: E2 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 62 00 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 62 00 F1 1C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 34 [17:43:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:43:13]wFMCommunicate OK [17:43:13]SAM_PROTO_GetFieldsCounters done [17:43:13]requested_item shift.num is exist - process it [17:43:13]requested_item shift.opened is exist - process it [17:43:13]req_shift_opened [17:43:13]FM_GetShiftState [17:43:13]SAM_PROTO_GetShiftState [17:43:13]wFMCommunicate request_size=4 [17:43:13]MH_SAM_APDU [17:43:13]CAPDU: 80 13 01 00 [17:43:13]Write to MH i2c: E2 08 00 F2 1C 80 13 01 00 00 00 00 00 8B [17:43:13]Write i2c OK [17:43:13]MH_I2C_Read... [17:43:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:43:13]Read from MH i2c: E2 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 0E 00 [17:43:13]MH_I2C_Read... [17:43:13]Read from MH i2c: E2 0E 00 F2 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 AC [17:43:13]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:43:13]wFMCommunicate OK [17:43:13]SAM_PROTO_GetShiftState done [17:43:13]FM_GetShiftState done [17:43:13]req_shift_opened done [17:43:13]requested_item shift.open_date is exist - process it [17:43:13]req_shift_open_date [17:43:13]req_shift_open_date done [17:43:13]produce_requested_data done [17:43:13]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24279,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [17:43:13]process_action_free close_receipt [17:43:13]json_value_free [17:43:13]json_value_free done [17:43:13]process_json_proto returns [17:43:13]Send response to host [17:43:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24279,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [17:43:13]free response buf [17:43:13]execute_script done [17:43:13]execute_script returns [17:43:13]free content buf [17:43:13]Sock 9.Close socket [17:43:13]Sock 9.Thread stoped [17:43:13]OFD Sender: No OFD packet to send [17:43:18]OFD Sender: No OFD packet to send [17:43:23]OFD Sender: No OFD packet to send [17:43:28]OFD Sender: No OFD packet to send [17:43:33]OFD Sender: No OFD packet to send [17:43:38]OFD Sender: No OFD packet to send [17:43:43]OFD Sender: No OFD packet to send [17:43:48]OFD Sender: No OFD packet to send [17:43:53]OFD Sender: No OFD packet to send [17:43:58]OFD Sender: No OFD packet to send [17:44:03]OFD Sender: No OFD packet to send [17:44:07]accept exits with 7 [17:44:07]New connection [17:44:07]New thread 3067243876 created [17:44:07]Thread 3067100516 joined [17:44:07]Waiting for new connection... [17:44:07] Sock 7.Parse request [17:44:07]Sock 7.Check first char [17:44:07]Sock 7.First char is OK [17:44:07]request: POST /json_proto HTTP/1.0 [17:44:07]Method: POST [17:44:07]URL: /json_proto [17:44:07]Method is POST - this is cgi request [17:44:07]url: /json_proto [17:44:07]query_string will be loaded in cgi processing [17:44:07]execute_cgi json_proto POST (null) [17:44:07]execute_cgi path=json_proto method=POST [17:44:07]POST find Content-Length [17:44:07]Host: 172.17.50.4:8080 [17:44:07]Content-Length: 785 [17:44:07]Content-Type: application/json [17:44:07] [17:44:07]POST finish read [17:44:07]Found Content-Length = 785 [17:44:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134805", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:07]execute_script... [17:44: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)134805", "tax_sys" : 0, "items" : [ { "code": "5449000054227", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:44:07]POST & json_proto [17:44:07]process_json_proto [17:44:07]json parsed OK: [17:44:07]protocol is kg_v1.0 [17:44:07]action value=close_receipt [17:44:07]process_action close_receipt [17:44:07]cmd_close_receipt [17:44:07]MH_GetDate [17:44:07]Write to MH i2c: F0 00 00 F3 1C FE [17:44:07]Write i2c OK [17:44:07]MH_I2C_Read... [17:44:07]Read from MH i2c: F0 [17:44:07]MH_I2C_Read... [17:44:07]Read from MH i2c: F0 09 00 [17:44:07]MH_I2C_Read... [17:44:07]Read from MH i2c: F0 09 00 F3 1C 00 6E 41 15 67 1D BB 13 67 84 [17:44:07]GetLastDocTimeStamp 1729446197 [17:44:07]current date 1729446254 [17:44:07]FM_GetShiftState [17:44:07]SAM_PROTO_GetShiftState [17:44:07]wFMCommunicate request_size=4 [17:44:07]MH_SAM_APDU [17:44:07]CAPDU: 80 13 01 00 [17:44:07]Write to MH i2c: E2 08 00 F4 1C 80 13 01 00 00 00 00 00 8D [17:44:07]Write i2c OK [17:44:07]MH_I2C_Read... [17:44:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:08]Read from MH i2c: E2 [17:44:08]MH_I2C_Read... [17:44:08]Read from MH i2c: E2 0E 00 [17:44:08]MH_I2C_Read... [17:44:08]Read from MH i2c: E2 0E 00 F4 1C 00 09 00 01 51 49 14 67 00 00 00 00 90 00 AE [17:44:08]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:44:08]wFMCommunicate OK [17:44:08]SAM_PROTO_GetShiftState done [17:44:08]FM_GetShiftState done [17:44:08]opened in 1729382737 [17:44:08]opened+sec_in_day 1729469137 [17:44:08]quantity*price = 12500 [17:44:08]sum+1 = 12501 [17:44:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 50 20.10.2024 17:44 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24280 ФПД: 136253070567640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T174414&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24280&fm=136253070567640&tin=02508201610067®Number=0000000000098120&sum=12500 0 [17:44:09]StoreToDocumentArchive [17:44:09]shift 460 fd 24280 [17:44:09]save to /storage/0460/doc_00024280 [17:44:09]save last doc name /storage/0460/doc_00024280 to /storage/kkm_last_doc_name [17:44:09]save OK [17:44:09]Clear old archive folders... [17:44:09]ProcessDocumentItem done err = 0, tmpTLVsize=278 [17:44:09]tlvbuf is B6F087A0 [17:44:09]SAM_PROTO_ClearQueue [17:44:09]wFMCommunicate request_size=4 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 09 00 00 [17:44:09]Write to MH i2c: E2 08 00 01 1D 80 09 00 00 00 00 00 00 90 [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 01 1D 00 90 00 92 [17:44:09]RAPDU: 90 00 [17:44:09]wFMCommunicate OK [17:44:09]SAM_PROTO_ClearQueue done [17:44:09]KKMCreateOFDPacket [17:44:09]OFDProtocolAddRootSTLVToBuf [17:44:09]FM_MakeSignedData [17:44:09]FM_MakeSignedData [17:44:09]SAM_PROTO_SignData [17:44:09]wFMCommunicate request_size=4 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 0D 01 02 [17:44:09]Write to MH i2c: E2 08 00 02 1D 80 0D 01 02 00 00 00 00 98 [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 02 1D 00 90 00 93 [17:44:09]RAPDU: 90 00 [17:44:09]wFMCommunicate OK [17:44:09]wFMCommunicate request_size=255 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 6E 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 [17:44:09]Write to MH i2c: E2 02 01 03 1D 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 6E 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 00 00 69 [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 03 1D 00 90 00 94 [17:44:09]RAPDU: 90 00 [17:44:09]wFMCommunicate OK [17:44:09]wFMCommunicate request_size=37 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D8 5E 00 00 35 04 06 00 7B EB E3 DE E8 D8 [17:44:09]Write to MH i2c: E2 28 00 04 1D 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D8 5E 00 00 35 04 06 00 7B EB E3 DE E8 D8 00 00 09 [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 03 00 04 1D 00 90 00 95 [17:44:09]RAPDU: 90 00 [17:44:09]wFMCommunicate OK [17:44:09]wFMCommunicate request_size=4 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 0D 03 02 [17:44:09]Write to MH i2c: E2 08 00 05 1D 80 0D 03 02 00 00 00 00 9D [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 0B 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 0B 00 05 1D 00 29 FD 7D E8 11 EE 20 B9 90 00 01 [17:44:09]RAPDU: 29 FD 7D E8 11 EE 20 B9 90 00 [17:44:09]wFMCommunicate OK [17:44:09]SAM_PROTO_SignData done [17:44:09]FM_MakeSignedData done [17:44:09]CreateOFDProtocolMessage [17:44:09]wFMCommunicate request_size=4 [17:44:09]MH_SAM_APDU [17:44:09]CAPDU: 80 11 00 00 [17:44:09]Write to MH i2c: E2 08 00 06 1D 80 11 00 00 00 00 00 00 9D [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:09]Read from MH i2c: E2 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 17 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: E2 17 00 06 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 EA [17:44:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:44:09]wFMCommunicate OK [17:44:09]CreateOFDProtocolMessage done [17:44:09]OFDSenderStorePacket 24280 [17:44:09]StoreOFDPacket docnum=24280 [17:44:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 93 A7 22 01 21 54 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 6E 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D8 5E 00 00 35 04 06 00 7B EB E3 DE E8 D8 29 FD 7D E8 11 EE 20 B9 [17:44:09]CheckFolder [17:44:09]dirname=/storage/ofd_packets [17:44:09]CheckFolder done [17:44:09]ProducePacketName [17:44:09]name=ofd_packets/00024280 [17:44:09]NVStorageSaveData ofd_packets/00024280 [17:44:09]File name is /storage/ofd_packets/00024280 [17:44:09]Write 328 bytes [17:44:09]NVStorageSaveData done [17:44:09]OFDSenderStorePacket done [17:44:09]KKMCreateOFDPacket done [17:44:09]NVStorageSaveData kkm_last_timestamp [17:44:09]File name is /storage/kkm_last_timestamp [17:44:09]Write 4 bytes [17:44:09]NVStorageSaveData done [17:44:09]ExternCall_PrintAddStr [17:44:09]wPrintStart [17:44:09]Write to MH i2c: 01 00 00 07 1D 24 [17:44:09]Write i2c OK [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: 01 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: 01 07 00 [17:44:09]MH_I2C_Read... [17:44:09]Read from MH i2c: 01 07 00 07 1D 00 00 00 00 00 FF 0F 39 [17:44:09]RasterBufferAndPrint [17:44:09]line Счет N : (3)134805 [17:44:09]line ИНН: 02508201610067 [17:44:09]line Контрольно-Кассовый Чек [17:44:09]line ПРОДАЖА [17:44:09]line Товар: 5449000054227 [17:44:09]line Напиток Кока-Кола 1л [17:44:09]line 1.000 * 125.00 [17:44:09]line = 125.00 [17:44:09]line НДС 12% НСП 1% [17:44:09]line > о реализуемом товаре [17:44:09]line ИТОГО: 125.00 [17:44:09]line НСП 1% : 1.11 [17:44:09]line НДС 12% : 13.27 [17:44:09]line Наличными: 0.00 [17:44:09]line Безнал.: 125.00 [17:44:09]line Место: АЗС № 85 "Партнер Нефть" [17:44:09]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:44:09]line СНО: Общий режим [17:44:09]line Чек 50 20.10.2024 17:44 [17:44:09]line Смена: 460 ФФД: 1.0 [17:44:09]line ЗНМ: 0300000166 [17:44:09]line РНМ: 0000000000098120 [17:44:09]line Версия ККМ: 001 [17:44:09]line Платежная система: Mbank [17:44:09]line ФМ: 0000000000965420 [17:44:09]line ФД: 24280 [17:44:09]line ФПД: 136253070567640 [17:44:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T174414&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24280&fm=136253070567640&tin=02508201610067®Number=0000000000098120&sum=12500 [17:44:10]OFD Sender: Processing packet 24280 [packets to send 5, broken 4] [17:44:10]ProducePacketName [17:44:10]name=ofd_packets/00024280 [17:44:10]OFD Sender: To server: pG, [17:44:10]CommunicateWithHost lk.salyk.kg:30040 [17:44:10]ConnectInit lk.salyk.kg [17:44:10]line 0 [17:44:10]written 0, free lines is 4095 [17:44:10]Connected sock=10 [17:44:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 2A 01 00 00 93 A7 22 01 21 54 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 35 34 34 39 30 30 30 30 35 34 32 32 37 06 04 24 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 6E 41 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D8 5E 00 00 35 04 06 00 7B EB E3 DE E8 D8 29 FD 7D E8 11 EE 20 B9 [17:44:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 5D C8 47 00 2F 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D8 5E 00 00 F4 03 04 00 06 ED 14 67 B6 04 01 00 00 5F 70 CC 59 71 88 2A BB [17:44:10]CommunicateWithHost err = 0 [17:44:10]CheckOFDResponse [17:44:10]1017 (14) - 77093643461234 [17:44:10]1041 (16) - 0000000000965420 [17:44:10]1040 (4) - 24280 [17:44:10]1012 (4) - 20.10.2024 11:44 [17:44:10]1206 (1) - 0 [17:44:10]OFD Sender: Remove packet 24280 [17:44:10]ProducePacketName [17:44:10]name=ofd_packets/00024280 [17:44:10]NVStorageDeleteData [17:44:10]Write to MH i2c: 01 00 00 30 1D 4D [17:44:10]Write i2c OK [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: 01 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: 01 07 00 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: 01 07 00 30 1D 00 00 00 00 00 21 0D 82 [17:44:10]RasterBufferAndPrint [17:44:10]line [17:44:10]line [17:44:10]line [17:44:10]line [17:44:10]line [17:44:10]written 0, free lines is 3370 [17:44:10]process_action close_receipt done [17:44:10]requested_data is exist [17:44:10]produce_requested_data [17:44:10]requested_item fm.sn is exist - process it [17:44:10]wFMCommunicate request_size=4 [17:44:10]MH_SAM_APDU [17:44:10]CAPDU: 80 11 00 00 [17:44:10]Write to MH i2c: E2 08 00 37 1D 80 11 00 00 00 00 00 00 CE [17:44:10]Write i2c OK [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: E2 [17:44:10]MH_I2C_Read... [17:44:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:44:10]Read from MH i2c: E2 17 00 [17:44:10]MH_I2C_Read... [17:44:10]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 36 35 34 32 30 90 00 1B [17:44:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:44:10]wFMCommunicate OK [17:44:10]requested_item fd.num is exist - process it [17:44:10]SAM_PROTO_GetFieldsCounters [17:44:10]wFMCommunicate request_size=4 [17:44:10]MH_SAM_APDU [17:44:10]CAPDU: 80 13 00 00 [17:44:10]Write to MH i2c: E2 08 00 38 1D 80 13 00 00 00 00 00 00 D1 [17:44:10]Write i2c OK [17:44:10]MH_I2C_Read... [17:44:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:44:10]Read from MH i2c: E2 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: E2 62 00 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: E2 62 00 38 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [17:44:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D8 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:44:10]wFMCommunicate OK [17:44:10]SAM_PROTO_GetFieldsCounters done [17:44:10]requested_item shift.num is exist - process it [17:44:10]requested_item shift.opened is exist - process it [17:44:10]req_shift_opened [17:44:10]FM_GetShiftState [17:44:10]SAM_PROTO_GetShiftState [17:44:10]wFMCommunicate request_size=4 [17:44:10]MH_SAM_APDU [17:44:10]CAPDU: 80 13 01 00 [17:44:10]Write to MH i2c: E2 08 00 39 1D 80 13 01 00 00 00 00 00 D3 [17:44:10]Write i2c OK [17:44:10]MH_I2C_Read... [17:44:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:44:10]Read from MH i2c: E2 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: E2 0E 00 [17:44:10]MH_I2C_Read... [17:44:10]Read from MH i2c: E2 0E 00 39 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 F4 [17:44:10]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [17:44:10]wFMCommunicate OK [17:44:10]SAM_PROTO_GetShiftState done [17:44:10]FM_GetShiftState done [17:44:10]req_shift_opened done [17:44:10]requested_item shift.open_date is exist - process it [17:44:10]req_shift_open_date [17:44:10]req_shift_open_date done [17:44:10]produce_requested_data done [17:44:10]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24280,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [17:44:10]process_action_free close_receipt [17:44:10]json_value_free [17:44:10]json_value_free done [17:44:10]process_json_proto returns [17:44:10]Send response to host [17:44:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24280,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [17:44:10]free response buf [17:44:10]execute_script done [17:44:10]execute_script returns [17:44:10]free content buf [17:44:10]Sock 7.Close socket [17:44:10]Sock 7.Thread stoped [17:44:10]OFD Sender: No OFD packet to send [17:44:15]OFD Sender: No OFD packet to send [17:44:20]OFD Sender: No OFD packet to send [17:44:25]OFD Sender: No OFD packet to send [17:44:30]OFD Sender: No OFD packet to send [17:44:35]OFD Sender: No OFD packet to send [17:44:40]OFD Sender: No OFD packet to send [17:44:45]OFD Sender: No OFD packet to send [17:44:50]OFD Sender: No OFD packet to send [17:44:55]OFD Sender: No OFD packet to send [17:45:00]OFD Sender: No OFD packet to send [17:45:05]OFD Sender: No OFD packet to send [17:45:10]OFD Sender: No OFD packet to send [17:45:15]OFD Sender: No OFD packet to send [17:45:20]OFD Sender: No OFD packet to send [17:45:25]OFD Sender: No OFD packet to send [17:45:30]OFD Sender: No OFD packet to send [17:45:35]OFD Sender: No OFD packet to send [17:45:40]OFD Sender: No OFD packet to send [17:45:45]OFD Sender: No OFD packet to send [17:45:50]OFD Sender: No OFD packet to send [17:45:55]OFD Sender: No OFD packet to send [17:46:00]OFD Sender: No OFD packet to send [17:46:05]OFD Sender: No OFD packet to send [17:46:10]OFD Sender: No OFD packet to send [17:46:15]OFD Sender: No OFD packet to send [17:46:20]OFD Sender: No OFD packet to send [17:46:25]OFD Sender: No OFD packet to send [17:46:30]OFD Sender: No OFD packet to send [17:46:35]OFD Sender: No OFD packet to send [17:46:40]OFD Sender: No OFD packet to send [17:46:45]OFD Sender: No OFD packet to send [17:46:50]OFD Sender: No OFD packet to send [17:46:55]OFD Sender: No OFD packet to send [17:47:00]OFD Sender: No OFD packet to send [17:47:05]OFD Sender: No OFD packet to send [17:47:10]OFD Sender: No OFD packet to send [17:47:15]OFD Sender: No OFD packet to send [17:47:20]OFD Sender: No OFD packet to send [17:47:25]OFD Sender: No OFD packet to send [17:47:30]OFD Sender: No OFD packet to send [17:47:35]OFD Sender: No OFD packet to send [17:47:41]OFD Sender: No OFD packet to send [17:47:46]OFD Sender: No OFD packet to send [17:47:51]OFD Sender: No OFD packet to send [17:47:56]OFD Sender: No OFD packet to send [17:48:01]OFD Sender: No OFD packet to send [17:48:06]OFD Sender: No OFD packet to send [17:48:11]OFD Sender: No OFD packet to send [17:48:16]OFD Sender: No OFD packet to send [17:48:21]OFD Sender: No OFD packet to send [17:48:26]OFD Sender: No OFD packet to send [17:48:31]OFD Sender: No OFD packet to send [17:48:36]OFD Sender: No OFD packet to send [17:48:41]OFD Sender: No OFD packet to send [17:48:46]OFD Sender: No OFD packet to send [17:48:51]OFD Sender: No OFD packet to send [17:48:56]OFD Sender: No OFD packet to send [17:49:01]OFD Sender: No OFD packet to send [17:49:06]OFD Sender: No OFD packet to send [17:49:11]OFD Sender: No OFD packet to send [17:49:16]OFD Sender: No OFD packet to send [17:49:21]OFD Sender: No OFD packet to send [17:49:26]OFD Sender: No OFD packet to send [17:49:31]OFD Sender: No OFD packet to send [17:49:36]OFD Sender: No OFD packet to send [17:49:41]OFD Sender: No OFD packet to send [17:49:46]OFD Sender: No OFD packet to send [17:49:51]OFD Sender: No OFD packet to send [17:49:56]OFD Sender: No OFD packet to send [17:50:01]OFD Sender: No OFD packet to send [17:50:06]OFD Sender: No OFD packet to send [17:50:11]OFD Sender: No OFD packet to send [17:50:16]OFD Sender: No OFD packet to send [17:50:21]OFD Sender: No OFD packet to send [17:50:26]OFD Sender: No OFD packet to send [17:50:31]OFD Sender: No OFD packet to send [17:50:36]OFD Sender: No OFD packet to send [17:50:41]OFD Sender: No OFD packet to send [17:50:46]OFD Sender: No OFD packet to send [17:50:51]OFD Sender: No OFD packet to send [17:50:56]OFD Sender: No OFD packet to send [17:51:01]OFD Sender: No OFD packet to send [17:51:06]OFD Sender: No OFD packet to send [17:51:11]OFD Sender: No OFD packet to send [17:51:16]OFD Sender: No OFD packet to send [17:51:21]OFD Sender: No OFD packet to send [17:51:26]OFD Sender: No OFD packet to send [17:51:31]OFD Sender: No OFD packet to send [17:51:36]OFD Sender: No OFD packet to send [17:51:41]OFD Sender: No OFD packet to send [17:51:46]OFD Sender: No OFD packet to send [17:51:51]OFD Sender: No OFD packet to send [17:51:56]OFD Sender: No OFD packet to send [17:52:01]OFD Sender: No OFD packet to send [17:52:06]OFD Sender: No OFD packet to send [17:52:11]OFD Sender: No OFD packet to send [17:52:16]OFD Sender: No OFD packet to send [17:52:21]OFD Sender: No OFD packet to send [17:52:26]OFD Sender: No OFD packet to send [17:52:31]OFD Sender: No OFD packet to send [17:52:36]OFD Sender: No OFD packet to send [17:52:41]OFD Sender: No OFD packet to send [17:52:46]OFD Sender: No OFD packet to send [17:52:51]OFD Sender: No OFD packet to send [17:52:56]OFD Sender: No OFD packet to send [17:53:01]OFD Sender: No OFD packet to send [17:53:06]OFD Sender: No OFD packet to send [17:53:11]OFD Sender: No OFD packet to send [17:53:16]OFD Sender: No OFD packet to send [17:53:21]OFD Sender: No OFD packet to send [17:53:26]OFD Sender: No OFD packet to send [17:53:31]OFD Sender: No OFD packet to send [17:53:36]OFD Sender: No OFD packet to send [17:53:41]OFD Sender: No OFD packet to send [17:53:46]OFD Sender: No OFD packet to send [17:53:51]OFD Sender: No OFD packet to send [17:53:56]OFD Sender: No OFD packet to send [17:54:01]OFD Sender: No OFD packet to send [17:54:06]OFD Sender: No OFD packet to send [17:54:11]OFD Sender: No OFD packet to send [17:54:16]OFD Sender: No OFD packet to send [17:54:21]OFD Sender: No OFD packet to send [17:54:26]OFD Sender: No OFD packet to send [17:54:31]OFD Sender: No OFD packet to send [17:54:36]OFD Sender: No OFD packet to send [17:54:41]OFD Sender: No OFD packet to send [17:54:46]OFD Sender: No OFD packet to send [17:54:51]OFD Sender: No OFD packet to send [17:54:56]OFD Sender: No OFD packet to send [17:55:01]OFD Sender: No OFD packet to send [17:55:06]OFD Sender: No OFD packet to send [17:55:11]OFD Sender: No OFD packet to send [17:55:16]OFD Sender: No OFD packet to send [17:55:21]OFD Sender: No OFD packet to send [17:55:26]OFD Sender: No OFD packet to send [17:55:31]OFD Sender: No OFD packet to send [17:55:36]OFD Sender: No OFD packet to send [17:55:41]OFD Sender: No OFD packet to send [17:55:46]OFD Sender: No OFD packet to send [17:55:51]OFD Sender: No OFD packet to send [17:55:56]OFD Sender: No OFD packet to send [17:56:01]OFD Sender: No OFD packet to send [17:56:06]OFD Sender: No OFD packet to send [17:56:11]OFD Sender: No OFD packet to send [17:56:16]OFD Sender: No OFD packet to send [17:56:21]OFD Sender: No OFD packet to send [17:56:26]OFD Sender: No OFD packet to send [17:56:31]OFD Sender: No OFD packet to send [17:56:36]OFD Sender: No OFD packet to send [17:56:41]OFD Sender: No OFD packet to send [17:56:46]OFD Sender: No OFD packet to send [17:56:51]OFD Sender: No OFD packet to send [17:56:56]OFD Sender: No OFD packet to send [17:57:01]OFD Sender: No OFD packet to send [17:57:06]OFD Sender: No OFD packet to send [17:57:11]OFD Sender: No OFD packet to send [17:57:16]OFD Sender: No OFD packet to send [17:57:21]OFD Sender: No OFD packet to send [17:57:26]OFD Sender: No OFD packet to send [17:57:31]OFD Sender: No OFD packet to send [17:57:36]OFD Sender: No OFD packet to send [17:57:41]OFD Sender: No OFD packet to send [17:57:46]OFD Sender: No OFD packet to send [17:57:51]OFD Sender: No OFD packet to send [17:57:56]OFD Sender: No OFD packet to send [17:58:01]OFD Sender: No OFD packet to send [17:58:06]OFD Sender: No OFD packet to send [17:58:11]OFD Sender: No OFD packet to send [17:58:16]OFD Sender: No OFD packet to send [17:58:21]OFD Sender: No OFD packet to send [17:58:26]OFD Sender: No OFD packet to send [17:58:31]OFD Sender: No OFD packet to send [17:58:36]OFD Sender: No OFD packet to send [17:58:41]OFD Sender: No OFD packet to send [17:58:46]OFD Sender: No OFD packet to send [17:58:51]OFD Sender: No OFD packet to send [17:58:56]OFD Sender: No OFD packet to send [17:59:01]OFD Sender: No OFD packet to send [17:59:06]OFD Sender: No OFD packet to send [17:59:11]OFD Sender: No OFD packet to send [17:59:16]OFD Sender: No OFD packet to send [17:59:21]OFD Sender: No OFD packet to send [17:59:26]OFD Sender: No OFD packet to send [17:59:31]OFD Sender: No OFD packet to send [17:59:36]OFD Sender: No OFD packet to send [17:59:41]OFD Sender: No OFD packet to send [17:59:46]OFD Sender: No OFD packet to send [17:59:51]OFD Sender: No OFD packet to send [17:59:56]OFD Sender: No OFD packet to send [18:00:01]OFD Sender: No OFD packet to send [18:00:06]OFD Sender: No OFD packet to send [18:00:11]OFD Sender: No OFD packet to send [18:00:16]OFD Sender: No OFD packet to send [18:00:21]OFD Sender: No OFD packet to send [18:00:26]OFD Sender: No OFD packet to send [18:00:31]OFD Sender: No OFD packet to send [18:00:36]OFD Sender: No OFD packet to send [18:00:41]OFD Sender: No OFD packet to send [18:00:46]OFD Sender: No OFD packet to send [18:00:51]OFD Sender: No OFD packet to send [18:00:56]OFD Sender: No OFD packet to send [18:01:01]OFD Sender: No OFD packet to send [18:01:06]OFD Sender: No OFD packet to send [18:01:11]OFD Sender: No OFD packet to send [18:01:16]OFD Sender: No OFD packet to send [18:01:21]OFD Sender: No OFD packet to send [18:01:26]OFD Sender: No OFD packet to send [18:01:31]OFD Sender: No OFD packet to send [18:01:36]OFD Sender: No OFD packet to send [18:01:41]OFD Sender: No OFD packet to send [18:01:46]OFD Sender: No OFD packet to send [18:01:51]OFD Sender: No OFD packet to send [18:01:56]OFD Sender: No OFD packet to send [18:02:01]OFD Sender: No OFD packet to send [18:02:06]OFD Sender: No OFD packet to send [18:02:11]OFD Sender: No OFD packet to send [18:02:16]OFD Sender: No OFD packet to send [18:02:21]OFD Sender: No OFD packet to send [18:02:26]OFD Sender: No OFD packet to send [18:02:31]OFD Sender: No OFD packet to send [18:02:36]OFD Sender: No OFD packet to send [18:02:41]OFD Sender: No OFD packet to send [18:02:46]OFD Sender: No OFD packet to send [18:02:51]OFD Sender: No OFD packet to send [18:02:56]OFD Sender: No OFD packet to send [18:03:01]OFD Sender: No OFD packet to send [18:03:06]OFD Sender: No OFD packet to send [18:03:11]OFD Sender: No OFD packet to send [18:03:16]OFD Sender: No OFD packet to send [18:03:21]OFD Sender: No OFD packet to send [18:03:26]OFD Sender: No OFD packet to send [18:03:31]OFD Sender: No OFD packet to send [18:03:36]OFD Sender: No OFD packet to send [18:03:41]OFD Sender: No OFD packet to send [18:03:46]OFD Sender: No OFD packet to send [18:03:51]OFD Sender: No OFD packet to send [18:03:56]OFD Sender: No OFD packet to send [18:04:01]OFD Sender: No OFD packet to send [18:04:06]OFD Sender: No OFD packet to send [18:04:11]OFD Sender: No OFD packet to send [18:04:16]OFD Sender: No OFD packet to send [18:04:21]OFD Sender: No OFD packet to send [18:04:26]OFD Sender: No OFD packet to send [18:04:31]OFD Sender: No OFD packet to send [18:04:36]OFD Sender: No OFD packet to send [18:04:41]OFD Sender: No OFD packet to send [18:04:46]OFD Sender: No OFD packet to send [18:04:51]OFD Sender: No OFD packet to send [18:04:56]OFD Sender: No OFD packet to send [18:05:01]OFD Sender: No OFD packet to send [18:05:06]OFD Sender: No OFD packet to send [18:05:11]OFD Sender: No OFD packet to send [18:05:16]OFD Sender: No OFD packet to send [18:05:21]OFD Sender: No OFD packet to send [18:05:26]OFD Sender: No OFD packet to send [18:05:31]OFD Sender: No OFD packet to send [18:05:36]OFD Sender: No OFD packet to send [18:05:41]OFD Sender: No OFD packet to send [18:05:46]OFD Sender: No OFD packet to send [18:05:51]OFD Sender: No OFD packet to send [18:05:56]OFD Sender: No OFD packet to send [18:06:01]OFD Sender: No OFD packet to send [18:06:06]OFD Sender: No OFD packet to send [18:06:11]OFD Sender: No OFD packet to send [18:06:16]OFD Sender: No OFD packet to send [18:06:21]OFD Sender: No OFD packet to send [18:06:26]OFD Sender: No OFD packet to send [18:06:31]OFD Sender: No OFD packet to send [18:06:36]OFD Sender: No OFD packet to send [18:06:41]OFD Sender: No OFD packet to send [18:06:46]OFD Sender: No OFD packet to send [18:06:51]OFD Sender: No OFD packet to send [18:06:56]OFD Sender: No OFD packet to send [18:07:01]OFD Sender: No OFD packet to send [18:07:06]OFD Sender: No OFD packet to send [18:07:11]OFD Sender: No OFD packet to send [18:07:16]OFD Sender: No OFD packet to send [18:07:21]OFD Sender: No OFD packet to send [18:07:26]OFD Sender: No OFD packet to send [18:07:31]OFD Sender: No OFD packet to send [18:07:36]OFD Sender: No OFD packet to send [18:07:39]accept exits with 9 [18:07:39]New connection [18:07:39]New thread 3067100516 created [18:07:39]Thread 3067243876 joined [18:07:39]Waiting for new connection... [18:07:39] Sock 9.Parse request [18:07:39]Sock 9.Check first char [18:07:39]Sock 9.First char is OK [18:07:39]request: POST /json_proto HTTP/1.0 [18:07:39]Method: POST [18:07:39]URL: /json_proto [18:07:39]Method is POST - this is cgi request [18:07:39]url: /json_proto [18:07:39]query_string will be loaded in cgi processing [18:07:39]execute_cgi json_proto POST (null) [18:07:39]execute_cgi path=json_proto method=POST [18:07:39]POST find Content-Length [18:07:39]Host: 172.17.50.4:8080 [18:07:39]Content-Length: 622 [18:07:39]Content-Type: application/json [18:07:39] [18:07:39]POST finish read [18:07:39]Found Content-Length = 622 [18:07:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134806", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [18:07:39]execute_script... [18:07: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)134806", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "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" ] } } [18:07:39]POST & json_proto [18:07:39]process_json_proto [18:07:39]json parsed OK: [18:07:39]protocol is kg_v1.0 [18:07:39]action value=close_receipt [18:07:39]process_action close_receipt [18:07:39]cmd_close_receipt [18:07:39]MH_GetDate [18:07:39]Write to MH i2c: F0 00 00 3A 1D 46 [18:07:39]Write i2c OK [18:07:39]MH_I2C_Read... [18:07:39]Read from MH i2c: F0 [18:07:39]MH_I2C_Read... [18:07:39]Read from MH i2c: F0 09 00 [18:07:39]MH_I2C_Read... [18:07:39]Read from MH i2c: F0 09 00 3A 1D 00 F1 46 15 67 1D BB 13 67 54 [18:07:39]GetLastDocTimeStamp 1729446254 [18:07:39]current date 1729447665 [18:07:39]FM_GetShiftState [18:07:39]SAM_PROTO_GetShiftState [18:07:39]wFMCommunicate request_size=4 [18:07:39]MH_SAM_APDU [18:07:39]CAPDU: 80 13 01 00 [18:07:39]Write to MH i2c: E2 08 00 3B 1D 80 13 01 00 00 00 00 00 D5 [18:07:39]Write i2c OK [18:07:39]MH_I2C_Read... [18:07:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:39]Read from MH i2c: E2 [18:07:39]MH_I2C_Read... [18:07:39]Read from MH i2c: E2 0E 00 [18:07:39]MH_I2C_Read... [18:07:39]Read from MH i2c: E2 0E 00 3B 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 F6 [18:07:39]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:07:39]wFMCommunicate OK [18:07:39]SAM_PROTO_GetShiftState done [18:07:39]FM_GetShiftState done [18:07:39]opened in 1729382737 [18:07:39]opened+sec_in_day 1729469137 [18:07:39]quantity*price = 15000 [18:07:39]sum+1 = 15001 [18:07:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.33 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 51 20.10.2024 18:07 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24281 ФПД: 106208652122625 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180745&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24281&fm=106208652122625&tin=02508201610067®Number=0000000000098120&sum=15000 0 [18:07:40]StoreToDocumentArchive [18:07:40]shift 460 fd 24281 [18:07:40]save to /storage/0460/doc_00024281 [18:07:40]save last doc name /storage/0460/doc_00024281 to /storage/kkm_last_doc_name [18:07:40]save OK [18:07:40]Clear old archive folders... [18:07:40]ProcessDocumentItem done err = 0, tmpTLVsize=274 [18:07:40]tlvbuf is 020CF110 [18:07:40]SAM_PROTO_ClearQueue [18:07:40]wFMCommunicate request_size=4 [18:07:40]MH_SAM_APDU [18:07:40]CAPDU: 80 09 00 00 [18:07:40]Write to MH i2c: E2 08 00 48 1D 80 09 00 00 00 00 00 00 D7 [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 48 1D 00 90 00 D9 [18:07:40]RAPDU: 90 00 [18:07:40]wFMCommunicate OK [18:07:40]SAM_PROTO_ClearQueue done [18:07:40]KKMCreateOFDPacket [18:07:40]OFDProtocolAddRootSTLVToBuf [18:07:40]FM_MakeSignedData [18:07:40]FM_MakeSignedData [18:07:40]SAM_PROTO_SignData [18:07:40]wFMCommunicate request_size=4 [18:07:40]MH_SAM_APDU [18:07:40]CAPDU: 80 0D 01 02 [18:07:40]Write to MH i2c: E2 08 00 49 1D 80 0D 01 02 00 00 00 00 DF [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 49 1D 00 90 00 DA [18:07:40]RAPDU: 90 00 [18:07:40]wFMCommunicate OK [18:07:40]wFMCommunicate request_size=255 [18:07:40]MH_SAM_APDU [18:07:40]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 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 F1 46 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 [18:07:40]Write to MH i2c: E2 02 01 4A 1D 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 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 F1 46 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 00 00 2A [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 4A 1D 00 90 00 DB [18:07:40]RAPDU: 90 00 [18:07:40]wFMCommunicate OK [18:07:40]wFMCommunicate request_size=33 [18:07:40]MH_SAM_APDU [18:07:40]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D9 5E 00 00 35 04 06 00 60 98 A0 FB 5A 01 [18:07:40]Write to MH i2c: E2 24 00 4B 1D 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D9 5E 00 00 35 04 06 00 60 98 A0 FB 5A 01 00 00 90 [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 03 00 4B 1D 00 90 00 DC [18:07:40]RAPDU: 90 00 [18:07:40]wFMCommunicate OK [18:07:40]wFMCommunicate request_size=4 [18:07:40]MH_SAM_APDU [18:07:40]CAPDU: 80 0D 03 02 [18:07:40]Write to MH i2c: E2 08 00 4C 1D 80 0D 03 02 00 00 00 00 E4 [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 0B 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 0B 00 4C 1D 00 46 94 79 43 8C 72 35 40 90 00 EE [18:07:40]RAPDU: 46 94 79 43 8C 72 35 40 90 00 [18:07:40]wFMCommunicate OK [18:07:40]SAM_PROTO_SignData done [18:07:40]FM_MakeSignedData done [18:07:40]CreateOFDProtocolMessage [18:07:40]wFMCommunicate request_size=4 [18:07:40]MH_SAM_APDU [18:07:40]CAPDU: 80 11 00 00 [18:07:40]Write to MH i2c: E2 08 00 4D 1D 80 11 00 00 00 00 00 00 E4 [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:40]Read from MH i2c: E2 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 17 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: E2 17 00 4D 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 31 [18:07:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:07:40]wFMCommunicate OK [18:07:40]CreateOFDProtocolMessage done [18:07:40]OFDSenderStorePacket 24281 [18:07:40]StoreOFDPacket docnum=24281 [18:07:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 95 D9 1E 01 3A 85 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 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 F1 46 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D9 5E 00 00 35 04 06 00 60 98 A0 FB 5A 01 46 94 79 43 8C 72 35 40 [18:07:40]CheckFolder [18:07:40]dirname=/storage/ofd_packets [18:07:40]CheckFolder done [18:07:40]ProducePacketName [18:07:40]name=ofd_packets/00024281 [18:07:40]NVStorageSaveData ofd_packets/00024281 [18:07:40]File name is /storage/ofd_packets/00024281 [18:07:40]Write 324 bytes [18:07:40]NVStorageSaveData done [18:07:40]OFDSenderStorePacket done [18:07:40]KKMCreateOFDPacket done [18:07:40]NVStorageSaveData kkm_last_timestamp [18:07:40]File name is /storage/kkm_last_timestamp [18:07:40]Write 4 bytes [18:07:40]NVStorageSaveData done [18:07:40]ExternCall_PrintAddStr [18:07:40]wPrintStart [18:07:40]Write to MH i2c: 01 00 00 4E 1D 6B [18:07:40]OFD Sender: Processing packet 24281 [packets to send 5, broken 4] [18:07:40]ProducePacketName [18:07:40]name=ofd_packets/00024281 [18:07:40]OFD Sender: To server: pG, [18:07:40]CommunicateWithHost lk.salyk.kg:30040 [18:07:40]ConnectInit lk.salyk.kg [18:07:40]Write i2c OK [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: 01 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: 01 07 00 [18:07:40]MH_I2C_Read... [18:07:40]Read from MH i2c: 01 07 00 4E 1D 00 00 00 00 00 FF 0F 80 [18:07:40]RasterBufferAndPrint [18:07:40]line Счет N : (3)134806 [18:07:40]line ИНН: 02508201610067 [18:07:40]line Контрольно-Кассовый Чек [18:07:40]line ПРОДАЖА [18:07:40]line Товар: 4640030091645 [18:07:40]line Сигареты ESSE Exchange M [18:07:40]line 1.000 * 150.00 [18:07:40]line = 150.00 [18:07:40]line НДС 12% НСП 1% [18:07:40]line > о реализуемом товаре [18:07:40]line ИТОГО: 150.00 [18:07:40]line НСП 1% : 1.33 [18:07:40]line НДС 12% : 15.93 [18:07:40]line Наличными: 150.00 [18:07:40]line Безнал.: 0.00 [18:07:40]line Место: АЗС № 85 "Партнер Нефть" [18:07:40]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:07:40]line СНО: Общий режим [18:07:40]line Чек 51 20.10.2024 18:07 [18:07:40]line Смена: 460 ФФД: 1.0 [18:07:40]line ЗНМ: 0300000166 [18:07:40]line РНМ: 0000000000098120 [18:07:40]line Версия ККМ: 001 [18:07:40]line ФМ: 0000000000965420 [18:07:40]line ФД: 24281 [18:07:40]line ФПД: 106208652122625 [18:07:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T180745&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24281&fm=106208652122625&tin=02508201610067®Number=0000000000098120&sum=15000 [18:07:40]line 0 [18:07:40]written 0, free lines is 4095 [18:07:40]Connected sock=10 [18:07:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 95 D9 1E 01 3A 85 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 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 F1 46 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D9 5E 00 00 35 04 06 00 60 98 A0 FB 5A 01 46 94 79 43 8C 72 35 40 [18:07:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 17 82 47 00 E4 7A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 D9 5E 00 00 F4 03 04 00 89 F2 14 67 B6 04 01 00 00 F7 92 46 2E 16 67 9E 95 [18:07:41]CommunicateWithHost err = 0 [18:07:41]CheckOFDResponse [18:07:41]1017 (14) - 77093643461234 [18:07:41]1041 (16) - 0000000000965420 [18:07:41]1040 (4) - 24281 [18:07:41]1012 (4) - 20.10.2024 12:07 [18:07:41]1206 (1) - 0 [18:07:41]OFD Sender: Remove packet 24281 [18:07:41]ProducePacketName [18:07:41]name=ofd_packets/00024281 [18:07:41]NVStorageDeleteData [18:07:41]Write to MH i2c: 01 00 00 76 1D 93 [18:07:41]Write i2c OK [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: 01 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: 01 07 00 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: 01 07 00 76 1D 00 00 00 00 00 17 0D BE [18:07:41]RasterBufferAndPrint [18:07:41]line [18:07:41]line [18:07:41]line [18:07:41]line [18:07:41]line [18:07:41]written 0, free lines is 3361 [18:07:41]process_action close_receipt done [18:07:41]requested_data is exist [18:07:41]produce_requested_data [18:07:41]requested_item fm.sn is exist - process it [18:07:41]wFMCommunicate request_size=4 [18:07:41]MH_SAM_APDU [18:07:41]CAPDU: 80 11 00 00 [18:07:41]Write to MH i2c: E2 08 00 7D 1D 80 11 00 00 00 00 00 00 14 [18:07:41]Write i2c OK [18:07:41]MH_I2C_Read... [18:07:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:07:41]Read from MH i2c: E2 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 17 00 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 17 00 7D 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 61 [18:07:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:07:41]wFMCommunicate OK [18:07:41]requested_item fd.num is exist - process it [18:07:41]SAM_PROTO_GetFieldsCounters [18:07:41]wFMCommunicate request_size=4 [18:07:41]MH_SAM_APDU [18:07:41]CAPDU: 80 13 00 00 [18:07:41]Write to MH i2c: E2 08 00 7E 1D 80 13 00 00 00 00 00 00 17 [18:07:41]Write i2c OK [18:07:41]MH_I2C_Read... [18:07:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:07:41]Read from MH i2c: E2 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 62 00 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 62 00 7E 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 CA [18:07:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 D9 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:07:41]wFMCommunicate OK [18:07:41]SAM_PROTO_GetFieldsCounters done [18:07:41]requested_item shift.num is exist - process it [18:07:41]requested_item shift.opened is exist - process it [18:07:41]req_shift_opened [18:07:41]FM_GetShiftState [18:07:41]SAM_PROTO_GetShiftState [18:07:41]wFMCommunicate request_size=4 [18:07:41]MH_SAM_APDU [18:07:41]CAPDU: 80 13 01 00 [18:07:41]Write to MH i2c: E2 08 00 7F 1D 80 13 01 00 00 00 00 00 19 [18:07:41]Write i2c OK [18:07:41]MH_I2C_Read... [18:07:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:07:41]Read from MH i2c: E2 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 0E 00 [18:07:41]MH_I2C_Read... [18:07:41]Read from MH i2c: E2 0E 00 7F 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 3A [18:07:41]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:07:41]wFMCommunicate OK [18:07:41]SAM_PROTO_GetShiftState done [18:07:41]FM_GetShiftState done [18:07:41]req_shift_opened done [18:07:41]requested_item shift.open_date is exist - process it [18:07:41]req_shift_open_date [18:07:41]req_shift_open_date done [18:07:41]produce_requested_data done [18:07:41]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24281,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [18:07:41]process_action_free close_receipt [18:07:41]json_value_free [18:07:41]json_value_free done [18:07:41]process_json_proto returns [18:07:41]Send response to host [18:07:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24281,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [18:07:41]free response buf [18:07:41]execute_script done [18:07:41]execute_script returns [18:07:41]free content buf [18:07:41]Sock 9.Close socket [18:07:41]Sock 9.Thread stoped [18:07:41]OFD Sender: No OFD packet to send [18:07:46]OFD Sender: No OFD packet to send [18:07:51]OFD Sender: No OFD packet to send [18:07:56]OFD Sender: No OFD packet to send [18:08:01]OFD Sender: No OFD packet to send [18:08:06]OFD Sender: No OFD packet to send [18:08:11]OFD Sender: No OFD packet to send [18:08:16]OFD Sender: No OFD packet to send [18:08:21]OFD Sender: No OFD packet to send [18:08:26]OFD Sender: No OFD packet to send [18:08:31]OFD Sender: No OFD packet to send [18:08:36]OFD Sender: No OFD packet to send [18:08:41]OFD Sender: No OFD packet to send [18:08:46]OFD Sender: No OFD packet to send [18:08:51]OFD Sender: No OFD packet to send [18:08:56]OFD Sender: No OFD packet to send [18:09:01]OFD Sender: No OFD packet to send [18:09:06]OFD Sender: No OFD packet to send [18:09:11]OFD Sender: No OFD packet to send [18:09:16]OFD Sender: No OFD packet to send [18:09:21]OFD Sender: No OFD packet to send [18:09:26]OFD Sender: No OFD packet to send [18:09:31]OFD Sender: No OFD packet to send [18:09:36]OFD Sender: No OFD packet to send [18:09:41]OFD Sender: No OFD packet to send [18:09:46]OFD Sender: No OFD packet to send [18:09:51]OFD Sender: No OFD packet to send [18:09:56]OFD Sender: No OFD packet to send [18:10:01]OFD Sender: No OFD packet to send [18:10:06]OFD Sender: No OFD packet to send [18:10:11]OFD Sender: No OFD packet to send [18:10:16]OFD Sender: No OFD packet to send [18:10:21]OFD Sender: No OFD packet to send [18:10:26]OFD Sender: No OFD packet to send [18:10:31]OFD Sender: No OFD packet to send [18:10:36]OFD Sender: No OFD packet to send [18:10:41]OFD Sender: No OFD packet to send [18:10:46]OFD Sender: No OFD packet to send [18:10:51]OFD Sender: No OFD packet to send [18:10:56]OFD Sender: No OFD packet to send [18:11:01]OFD Sender: No OFD packet to send [18:11:06]OFD Sender: No OFD packet to send [18:11:11]OFD Sender: No OFD packet to send [18:11:16]OFD Sender: No OFD packet to send [18:11:21]OFD Sender: No OFD packet to send [18:11:26]OFD Sender: No OFD packet to send [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:47]OFD Sender: No OFD packet to send [18:16:52]OFD Sender: No OFD packet to send [18:16:57]OFD Sender: No OFD packet to send [18:17:02]OFD Sender: No OFD packet to send [18:17:07]OFD Sender: No OFD packet to send [18:17:12]OFD Sender: No OFD packet to send [18:17:17]OFD Sender: No OFD packet to send [18:17:22]OFD Sender: No OFD packet to send [18:17:27]OFD Sender: No OFD packet to send [18:17:32]OFD Sender: No OFD packet to send [18:17:37]OFD Sender: No OFD packet to send [18:17:42]OFD Sender: No OFD packet to send [18:17:47]OFD Sender: No OFD packet to send [18:17:52]OFD Sender: No OFD packet to send [18:17:57]OFD Sender: No OFD packet to send [18:18:02]OFD Sender: No OFD packet to send [18:18:07]OFD Sender: No OFD packet to send [18:18:12]OFD Sender: No OFD packet to send [18:18:17]OFD Sender: No OFD packet to send [18:18:22]OFD Sender: No OFD packet to send [18:18:27]OFD Sender: No OFD packet to send [18:18:32]OFD Sender: No OFD packet to send [18:18:37]OFD Sender: No OFD packet to send [18:18:42]OFD Sender: No OFD packet to send [18:18:47]OFD Sender: No OFD packet to send [18:18:52]OFD Sender: No OFD packet to send [18:18:57]OFD Sender: No OFD packet to send [18:19:02]OFD Sender: No OFD packet to send [18:19:07]OFD Sender: No OFD packet to send [18:19:12]OFD Sender: No OFD packet to send [18:19:17]OFD Sender: No OFD packet to send [18:19:22]OFD Sender: No OFD packet to send [18:19:27]OFD Sender: No OFD packet to send [18:19:32]OFD Sender: No OFD packet to send [18:19:37]OFD Sender: No OFD packet to send [18:19:42]OFD Sender: No OFD packet to send [18:19:47]OFD Sender: No OFD packet to send [18:19:52]OFD Sender: No OFD packet to send [18:19:57]OFD Sender: No OFD packet to send [18:20:02]OFD Sender: No OFD packet to send [18:20:07]OFD Sender: No OFD packet to send [18:20:12]OFD Sender: No OFD packet to send [18:20:17]OFD Sender: No OFD packet to send [18:20:22]OFD Sender: No OFD packet to send [18:20:27]OFD Sender: No OFD packet to send [18:20:32]OFD Sender: No OFD packet to send [18:20:37]OFD Sender: No OFD packet to send [18:20:42]OFD Sender: No OFD packet to send [18:20:47]OFD Sender: No OFD packet to send [18:20:52]OFD Sender: No OFD packet to send [18:20:57]OFD Sender: No OFD packet to send [18:21:02]OFD Sender: No OFD packet to send [18:21:07]OFD Sender: No OFD packet to send [18:21:12]OFD Sender: No OFD packet to send [18:21:17]OFD Sender: No OFD packet to send [18:21:22]OFD Sender: No OFD packet to send [18:21:27]OFD Sender: No OFD packet to send [18:21:32]OFD Sender: No OFD packet to send [18:21:37]OFD Sender: No OFD packet to send [18:21:42]OFD Sender: No OFD packet to send [18:21:47]OFD Sender: No OFD packet to send [18:21:52]OFD Sender: No OFD packet to send [18:21:57]OFD Sender: No OFD packet to send [18:22:02]OFD Sender: No OFD packet to send [18:22:07]OFD Sender: No OFD packet to send [18:22:12]OFD Sender: No OFD packet to send [18:22:17]OFD Sender: No OFD packet to send [18:22:22]OFD Sender: No OFD packet to send [18:22:27]OFD Sender: No OFD packet to send [18:22:32]OFD Sender: No OFD packet to send [18:22:37]OFD Sender: No OFD packet to send [18:22:42]OFD Sender: No OFD packet to send [18:22:47]OFD Sender: No OFD packet to send [18:22:52]OFD Sender: No OFD packet to send [18:22:57]OFD Sender: No OFD packet to send [18:23:02]OFD Sender: No OFD packet to send [18:23:07]OFD Sender: No OFD packet to send [18:23:12]OFD Sender: No OFD packet to send [18:23:17]OFD Sender: No OFD packet to send [18:23:22]OFD Sender: No OFD packet to send [18:23:27]OFD Sender: No OFD packet to send [18:23:32]OFD Sender: No OFD packet to send [18:23:37]OFD Sender: No OFD packet to send [18:23:42]OFD Sender: No OFD packet to send [18:23:47]OFD Sender: No OFD packet to send [18:23:52]OFD Sender: No OFD packet to send [18:23:57]OFD Sender: No OFD packet to send [18:24:02]OFD Sender: No OFD packet to send [18:24:07]OFD Sender: No OFD packet to send [18:24:12]OFD Sender: No OFD packet to send [18:24:17]OFD Sender: No OFD packet to send [18:24:22]OFD Sender: No OFD packet to send [18:24: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:57]OFD Sender: No OFD packet to send [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:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:38]accept exits with 7 [18:40:38]New connection [18:40:38]New thread 3067243876 created [18:40:38]Thread 3067100516 joined [18:40:38]Waiting for new connection... [18:40:38] Sock 7.Parse request [18:40:38]Sock 7.Check first char [18:40:38]Sock 7.First char is OK [18:40:38]request: POST /json_proto HTTP/1.0 [18:40:38]Method: POST [18:40:38]URL: /json_proto [18:40:38]Method is POST - this is cgi request [18:40:38]url: /json_proto [18:40:38]query_string will be loaded in cgi processing [18:40:38]execute_cgi json_proto POST (null) [18:40:38]execute_cgi path=json_proto method=POST [18:40:38]POST find Content-Length [18:40:38]Host: 172.17.50.4:8080 [18:40:38]Content-Length: 621 [18:40:38]Content-Type: application/json [18:40:38] [18:40:38]POST finish read [18:40:38]Found Content-Length = 621 [18:40:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134807", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:40:38]execute_script... [18:40:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134807", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:40:38]POST & json_proto [18:40:38]process_json_proto [18:40:38]json parsed OK: [18:40:38]protocol is kg_v1.0 [18:40:38]action value=close_receipt [18:40:38]process_action close_receipt [18:40:38]cmd_close_receipt [18:40:38]MH_GetDate [18:40:38]Write to MH i2c: F0 00 00 80 1D 8C [18:40:38]Write i2c OK [18:40:38]MH_I2C_Read... [18:40:38]Read from MH i2c: F0 [18:40:38]MH_I2C_Read... [18:40:38]Read from MH i2c: F0 09 00 [18:40:38]MH_I2C_Read... [18:40:38]Read from MH i2c: F0 09 00 80 1D 00 AD 4E 15 67 1D BB 13 67 5E [18:40:38]GetLastDocTimeStamp 1729447665 [18:40:38]current date 1729449645 [18:40:38]FM_GetShiftState [18:40:38]SAM_PROTO_GetShiftState [18:40:38]wFMCommunicate request_size=4 [18:40:38]MH_SAM_APDU [18:40:38]CAPDU: 80 13 01 00 [18:40:38]Write to MH i2c: E2 08 00 81 1D 80 13 01 00 00 00 00 00 1B [18:40:38]Write i2c OK [18:40:38]MH_I2C_Read... [18:40:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:40:38]Read from MH i2c: E2 [18:40:38]MH_I2C_Read... [18:40:38]Read from MH i2c: E2 0E 00 [18:40:38]MH_I2C_Read... [18:40:38]Read from MH i2c: E2 0E 00 81 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 3C [18:40:38]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:40:38]wFMCommunicate OK [18:40:38]SAM_PROTO_GetShiftState done [18:40:38]FM_GetShiftState done [18:40:38]opened in 1729382737 [18:40:38]opened+sec_in_day 1729469137 [18:40:38]quantity*price = 14400 [18:40:38]sum+1 = 14401 [18:40:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 52 20.10.2024 18:40 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24282 ФПД: 187409197380217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184045&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24282&fm=187409197380217&tin=02508201610067®Number=0000000000098120&sum=14400 0 [18:40:40]StoreToDocumentArchive [18:40:40]shift 460 fd 24282 [18:40:40]save to /storage/0460/doc_00024282 [18:40:40]save last doc name /storage/0460/doc_00024282 to /storage/kkm_last_doc_name [18:40:40]save OK [18:40:40]Clear old archive folders... [18:40:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:40:40]tlvbuf is 020CF240 [18:40:40]SAM_PROTO_ClearQueue [18:40:40]wFMCommunicate request_size=4 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 09 00 00 [18:40:40]Write to MH i2c: E2 08 00 8E 1D 80 09 00 00 00 00 00 00 1D [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 8E 1D 00 90 00 1F [18:40:40]RAPDU: 90 00 [18:40:40]wFMCommunicate OK [18:40:40]SAM_PROTO_ClearQueue done [18:40:40]KKMCreateOFDPacket [18:40:40]OFDProtocolAddRootSTLVToBuf [18:40:40]FM_MakeSignedData [18:40:40]FM_MakeSignedData [18:40:40]SAM_PROTO_SignData [18:40:40]wFMCommunicate request_size=4 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 0D 01 02 [18:40:40]Write to MH i2c: E2 08 00 8F 1D 80 0D 01 02 00 00 00 00 25 [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 8F 1D 00 90 00 20 [18:40:40]RAPDU: 90 00 [18:40:40]wFMCommunicate OK [18:40:40]wFMCommunicate request_size=255 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 AD 4E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [18:40:40]Write to MH i2c: E2 02 01 90 1D 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 AD 4E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 02 [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 90 1D 00 90 00 21 [18:40:40]RAPDU: 90 00 [18:40:40]wFMCommunicate OK [18:40:40]wFMCommunicate request_size=32 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 DA 5E 00 00 35 04 06 00 AA 72 9A A3 32 79 [18:40:40]Write to MH i2c: E2 23 00 91 1D 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 DA 5E 00 00 35 04 06 00 AA 72 9A A3 32 79 00 00 BB [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 03 00 91 1D 00 90 00 22 [18:40:40]RAPDU: 90 00 [18:40:40]wFMCommunicate OK [18:40:40]wFMCommunicate request_size=4 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 0D 03 02 [18:40:40]Write to MH i2c: E2 08 00 92 1D 80 0D 03 02 00 00 00 00 2A [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 0B 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 0B 00 92 1D 00 4E 34 96 AE ED AF A4 0D 90 00 3E [18:40:40]RAPDU: 4E 34 96 AE ED AF A4 0D 90 00 [18:40:40]wFMCommunicate OK [18:40:40]SAM_PROTO_SignData done [18:40:40]FM_MakeSignedData done [18:40:40]CreateOFDProtocolMessage [18:40:40]wFMCommunicate request_size=4 [18:40:40]MH_SAM_APDU [18:40:40]CAPDU: 80 11 00 00 [18:40:40]Write to MH i2c: E2 08 00 93 1D 80 11 00 00 00 00 00 00 2A [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:40:40]Read from MH i2c: E2 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 17 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: E2 17 00 93 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 77 [18:40:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:40:40]wFMCommunicate OK [18:40:40]CreateOFDProtocolMessage done [18:40:40]OFDSenderStorePacket 24282 [18:40:40]StoreOFDPacket docnum=24282 [18:40:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 85 82 1D 01 23 9F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 AD 4E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DA 5E 00 00 35 04 06 00 AA 72 9A A3 32 79 4E 34 96 AE ED AF A4 0D [18:40:40]CheckFolder [18:40:40]dirname=/storage/ofd_packets [18:40:40]CheckFolder done [18:40:40]ProducePacketName [18:40:40]name=ofd_packets/00024282 [18:40:40]NVStorageSaveData ofd_packets/00024282 [18:40:40]File name is /storage/ofd_packets/00024282 [18:40:40]Write 323 bytes [18:40:40]NVStorageSaveData done [18:40:40]OFDSenderStorePacket done [18:40:40]KKMCreateOFDPacket done [18:40:40]NVStorageSaveData kkm_last_timestamp [18:40:40]File name is /storage/kkm_last_timestamp [18:40:40]Write 4 bytes [18:40:40]NVStorageSaveData done [18:40:40]ExternCall_PrintAddStr [18:40:40]wPrintStart [18:40:40]Write to MH i2c: 01 00 00 94 1D B1 [18:40:40]OFD Sender: Processing packet 24282 [packets to send 5, broken 4] [18:40:40]ProducePacketName [18:40:40]name=ofd_packets/00024282 [18:40:40]OFD Sender: To server: pG, [18:40:40]CommunicateWithHost lk.salyk.kg:30040 [18:40:40]ConnectInit lk.salyk.kg [18:40:40]Write i2c OK [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: 01 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: 01 07 00 [18:40:40]MH_I2C_Read... [18:40:40]Read from MH i2c: 01 07 00 94 1D 00 00 00 00 00 FF 0F C6 [18:40:40]RasterBufferAndPrint [18:40:40]line Счет N : (3)134807 [18:40:40]line ИНН: 02508201610067 [18:40:40]line Контрольно-Кассовый Чек [18:40:40]line ПРОДАЖА [18:40:40]line Товар: 48743570 [18:40:40]line Сигареты Winston XStyle Blue [18:40:40]line 1.000 * 144.00 [18:40:40]line = 144.00 [18:40:40]line НДС 12% НСП 1% [18:40:40]line > о реализуемом товаре [18:40:40]line ИТОГО: 144.00 [18:40:40]line НСП 1% : 1.27 [18:40:40]line НДС 12% : 15.29 [18:40:40]line Наличными: 144.00 [18:40:40]line Безнал.: 0.00 [18:40:40]line Место: АЗС № 85 "Партнер Нефть" [18:40:40]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:40:40]line СНО: Общий режим [18:40:40]line Чек 52 20.10.2024 18:40 [18:40:40]line Смена: 460 ФФД: 1.0 [18:40:40]line ЗНМ: 0300000166 [18:40:40]line РНМ: 0000000000098120 [18:40:40]line Версия ККМ: 001 [18:40:40]line ФМ: 0000000000965420 [18:40:40]line ФД: 24282 [18:40:40]line ФПД: 187409197380217 [18:40:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184045&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24282&fm=187409197380217&tin=02508201610067®Number=0000000000098120&sum=14400 [18:40:41]Connected sock=10 [18:40:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 85 82 1D 01 23 9F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 AD 4E 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DA 5E 00 00 35 04 06 00 AA 72 9A A3 32 79 4E 34 96 AE ED AF A4 0D [18:40:41]line 0 [18:40:41]written 0, free lines is 4095 [18:40:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 48 90 47 00 D4 04 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DA 5E 00 00 F4 03 04 00 45 FA 14 67 B6 04 01 00 00 11 40 BA 31 53 63 1F 9B [18:40:41]CommunicateWithHost err = 0 [18:40:41]CheckOFDResponse [18:40:41]1017 (14) - 77093643461234 [18:40:41]1041 (16) - 0000000000965420 [18:40:41]1040 (4) - 24282 [18:40:41]1012 (4) - 20.10.2024 12:40 [18:40:41]1206 (1) - 0 [18:40:41]OFD Sender: Remove packet 24282 [18:40:41]ProducePacketName [18:40:41]name=ofd_packets/00024282 [18:40:41]NVStorageDeleteData [18:40:41]Write to MH i2c: 01 00 00 BC 1D D9 [18:40:41]Write i2c OK [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: 01 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: 01 07 00 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: 01 07 00 BC 1D 00 00 00 00 00 15 0D 02 [18:40:41]RasterBufferAndPrint [18:40:41]line [18:40:41]line [18:40:41]line [18:40:41]line [18:40:41]line [18:40:41]written 0, free lines is 3359 [18:40:41]process_action close_receipt done [18:40:41]requested_data is exist [18:40:41]produce_requested_data [18:40:41]requested_item fm.sn is exist - process it [18:40:41]wFMCommunicate request_size=4 [18:40:41]MH_SAM_APDU [18:40:41]CAPDU: 80 11 00 00 [18:40:41]Write to MH i2c: E2 08 00 C3 1D 80 11 00 00 00 00 00 00 5A [18:40:41]Write i2c OK [18:40:41]MH_I2C_Read... [18:40:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:40:41]Read from MH i2c: E2 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 17 00 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 17 00 C3 1D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A7 [18:40:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:40:41]wFMCommunicate OK [18:40:41]requested_item fd.num is exist - process it [18:40:41]SAM_PROTO_GetFieldsCounters [18:40:41]wFMCommunicate request_size=4 [18:40:41]MH_SAM_APDU [18:40:41]CAPDU: 80 13 00 00 [18:40:41]Write to MH i2c: E2 08 00 C4 1D 80 13 00 00 00 00 00 00 5D [18:40:41]Write i2c OK [18:40:41]MH_I2C_Read... [18:40:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:40:41]Read from MH i2c: E2 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 62 00 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 62 00 C4 1D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 14 [18: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 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DA 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:40:41]wFMCommunicate OK [18:40:41]SAM_PROTO_GetFieldsCounters done [18:40:41]requested_item shift.num is exist - process it [18:40:41]requested_item shift.opened is exist - process it [18:40:41]req_shift_opened [18:40:41]FM_GetShiftState [18:40:41]SAM_PROTO_GetShiftState [18:40:41]wFMCommunicate request_size=4 [18:40:41]MH_SAM_APDU [18:40:41]CAPDU: 80 13 01 00 [18:40:41]Write to MH i2c: E2 08 00 C5 1D 80 13 01 00 00 00 00 00 5F [18:40:41]Write i2c OK [18:40:41]MH_I2C_Read... [18:40:41]OFD Sender: No OFD packet to send [18:40:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:40:41]Read from MH i2c: E2 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 0E 00 [18:40:41]MH_I2C_Read... [18:40:41]Read from MH i2c: E2 0E 00 C5 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 80 [18:40:41]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:40:41]wFMCommunicate OK [18:40:41]SAM_PROTO_GetShiftState done [18:40:41]FM_GetShiftState done [18:40:41]req_shift_opened done [18:40:41]requested_item shift.open_date is exist - process it [18:40:41]req_shift_open_date [18:40:41]req_shift_open_date done [18:40:41]produce_requested_data done [18:40:41]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24282,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [18:40:41]process_action_free close_receipt [18:40:41]json_value_free [18:40:41]json_value_free done [18:40:41]process_json_proto returns [18:40:41]Send response to host [18:40:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24282,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [18:40:41]free response buf [18:40:41]execute_script done [18:40:41]execute_script returns [18:40:41]free content buf [18:40:41]Sock 7.Close socket [18:40:41]Sock 7.Thread stoped [18:40:46]OFD Sender: No OFD packet to send [18:40:51]OFD Sender: No OFD packet to send [18:40:56]OFD Sender: No OFD packet to send [18:41:01]OFD Sender: No OFD packet to send [18:41:06]OFD Sender: No OFD packet to send [18:41:11]OFD Sender: No OFD packet to send [18:41:16]OFD Sender: No OFD packet to send [18:41:21]OFD Sender: No OFD packet to send [18:41:26]OFD Sender: No OFD packet to send [18:41:31]OFD Sender: No OFD packet to send [18:41:36]OFD Sender: No OFD packet to send [18:41:41]OFD Sender: No OFD packet to send [18:41:46]OFD Sender: No OFD packet to send [18:41:51]OFD Sender: No OFD packet to send [18:41:56]OFD Sender: No OFD packet to send [18:42:01]OFD Sender: No OFD packet to send [18:42:06]OFD Sender: No OFD packet to send [18:42:11]OFD Sender: No OFD packet to send [18:42:16]OFD Sender: No OFD packet to send [18:42:21]OFD Sender: No OFD packet to send [18:42:26]OFD Sender: No OFD packet to send [18:42:31]OFD Sender: No OFD packet to send [18:42:36]OFD Sender: No OFD packet to send [18:42:41]OFD Sender: No OFD packet to send [18:42:46]OFD Sender: No OFD packet to send [18:42:51]OFD Sender: No OFD packet to send [18:42:56]OFD Sender: No OFD packet to send [18:43:01]OFD Sender: No OFD packet to send [18:43:06]OFD Sender: No OFD packet to send [18:43:11]OFD Sender: No OFD packet to send [18:43:16]OFD Sender: No OFD packet to send [18:43:21]OFD Sender: No OFD packet to send [18:43:26]OFD Sender: No OFD packet to send [18:43:31]OFD Sender: No OFD packet to send [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:57]OFD Sender: No OFD packet to send [18:47:02]OFD Sender: No OFD packet to send [18:47:07]OFD Sender: No OFD packet to send [18:47:12]OFD Sender: No OFD packet to send [18:47:17]OFD Sender: No OFD packet to send [18:47:22]OFD Sender: No OFD packet to send [18:47:27]OFD Sender: No OFD packet to send [18:47:32]OFD Sender: No OFD packet to send [18:47:37]OFD Sender: No OFD packet to send [18:47:42]OFD Sender: No OFD packet to send [18:47:43]accept exits with 9 [18:47:43]New connection [18:47:43]New thread 3067100516 created [18:47:43]Thread 3067243876 joined [18:47:43]Waiting for new connection... [18:47:43] Sock 9.Parse request [18:47:43]Sock 9.Check first char [18:47:43]Sock 9.First char is OK [18:47:43]request: POST /json_proto HTTP/1.0 [18:47:43]Method: POST [18:47:43]URL: /json_proto [18:47:43]Method is POST - this is cgi request [18:47:43]url: /json_proto [18:47:43]query_string will be loaded in cgi processing [18:47:43]execute_cgi json_proto POST (null) [18:47:43]execute_cgi path=json_proto method=POST [18:47:43]POST find Content-Length [18:47:43]Host: 172.17.50.4:8080 [18:47:43]Content-Length: 750 [18:47:43]Content-Type: application/json [18:47:43] [18:47:43]POST finish read [18:47:43]Found Content-Length = 750 [18:47:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134808", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:43]execute_script... [18:47: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)134808", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:47:43]POST & json_proto [18:47:43]process_json_proto [18:47:43]json parsed OK: [18:47:43]protocol is kg_v1.0 [18:47:43]action value=close_receipt [18:47:43]process_action close_receipt [18:47:43]cmd_close_receipt [18:47:43]MH_GetDate [18:47:43]Write to MH i2c: F0 00 00 C6 1D D2 [18:47:43]Write i2c OK [18:47:43]MH_I2C_Read... [18:47:43]Read from MH i2c: F0 [18:47:43]MH_I2C_Read... [18:47:43]Read from MH i2c: F0 09 00 [18:47:43]MH_I2C_Read... [18:47:43]Read from MH i2c: F0 09 00 C6 1D 00 56 50 15 67 1D BB 13 67 4F [18:47:43]GetLastDocTimeStamp 1729449645 [18:47:43]current date 1729450070 [18:47:43]FM_GetShiftState [18:47:43]SAM_PROTO_GetShiftState [18:47:43]wFMCommunicate request_size=4 [18:47:43]MH_SAM_APDU [18:47:43]CAPDU: 80 13 01 00 [18:47:43]Write to MH i2c: E2 08 00 C7 1D 80 13 01 00 00 00 00 00 61 [18:47:43]Write i2c OK [18:47:43]MH_I2C_Read... [18:47:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:43]Read from MH i2c: E2 [18:47:43]MH_I2C_Read... [18:47:43]Read from MH i2c: E2 0E 00 [18:47:43]MH_I2C_Read... [18:47:43]Read from MH i2c: E2 0E 00 C7 1D 00 09 00 01 51 49 14 67 00 00 00 00 90 00 82 [18:47:43]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:47:43]wFMCommunicate OK [18:47:43]SAM_PROTO_GetShiftState done [18:47:43]FM_GetShiftState done [18:47:43]opened in 1729382737 [18:47:43]opened+sec_in_day 1729469137 [18:47:43]quantity*price = 14400 [18:47:43]sum+1 = 14401 [18:47:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 53 20.10.2024 18:47 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24283 ФПД: 138038951388414 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184750&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24283&fm=138038951388414&tin=02508201610067®Number=0000000000098120&sum=14400 0 [18:47:45]StoreToDocumentArchive [18:47:45]shift 460 fd 24283 [18:47:45]save to /storage/0460/doc_00024283 [18:47:45]save last doc name /storage/0460/doc_00024283 to /storage/kkm_last_doc_name [18:47:45]save OK [18:47:45]Clear old archive folders... [18:47:45]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:47:45]tlvbuf is 02082E40 [18:47:45]SAM_PROTO_ClearQueue [18:47:45]wFMCommunicate request_size=4 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 09 00 00 [18:47:45]Write to MH i2c: E2 08 00 D4 1D 80 09 00 00 00 00 00 00 63 [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:47:45]Read from MH i2c: E2 03 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 D4 1D 00 90 00 65 [18:47:45]RAPDU: 90 00 [18:47:45]wFMCommunicate OK [18:47:45]SAM_PROTO_ClearQueue done [18:47:45]KKMCreateOFDPacket [18:47:45]OFDProtocolAddRootSTLVToBuf [18:47:45]FM_MakeSignedData [18:47:45]FM_MakeSignedData [18:47:45]SAM_PROTO_SignData [18:47:45]wFMCommunicate request_size=4 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 0D 01 02 [18:47:45]Write to MH i2c: E2 08 00 D5 1D 80 0D 01 02 00 00 00 00 6B [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 D5 1D 00 90 00 66 [18:47:45]RAPDU: 90 00 [18:47:45]wFMCommunicate OK [18:47:45]wFMCommunicate request_size=255 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 50 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 [18:47:45]Write to MH i2c: E2 02 01 D6 1D 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 50 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 00 00 8F [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 D6 1D 00 90 00 67 [18:47:45]RAPDU: 90 00 [18:47:45]wFMCommunicate OK [18:47:45]wFMCommunicate request_size=34 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DB 5E 00 00 35 04 06 00 7D 8B B2 A9 A4 FE [18:47:45]Write to MH i2c: E2 25 00 D7 1D 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DB 5E 00 00 35 04 06 00 7D 8B B2 A9 A4 FE 00 00 67 [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 03 00 D7 1D 00 90 00 68 [18:47:45]RAPDU: 90 00 [18:47:45]wFMCommunicate OK [18:47:45]wFMCommunicate request_size=4 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 0D 03 02 [18:47:45]Write to MH i2c: E2 08 00 D8 1D 80 0D 03 02 00 00 00 00 70 [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 0B 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 0B 00 D8 1D 00 61 18 6B 57 FD 6F DB 12 90 00 05 [18:47:45]RAPDU: 61 18 6B 57 FD 6F DB 12 90 00 [18:47:45]wFMCommunicate OK [18:47:45]SAM_PROTO_SignData done [18:47:45]FM_MakeSignedData done [18:47:45]CreateOFDProtocolMessage [18:47:45]wFMCommunicate request_size=4 [18:47:45]MH_SAM_APDU [18:47:45]CAPDU: 80 11 00 00 [18:47:45]Write to MH i2c: E2 08 00 D9 1D 80 11 00 00 00 00 00 00 70 [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:45]Read from MH i2c: E2 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: E2 17 00 [18:47:45]MH_I2C_Read... [18:47:45]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 36 35 34 32 30 90 00 BD [18:47:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:47:45]wFMCommunicate OK [18:47:45]CreateOFDProtocolMessage done [18:47:45]OFDSenderStorePacket 24283 [18:47:45]StoreOFDPacket docnum=24283 [18:47:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 C3 D8 1F 01 B0 64 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 50 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DB 5E 00 00 35 04 06 00 7D 8B B2 A9 A4 FE 61 18 6B 57 FD 6F DB 12 [18:47:45]CheckFolder [18:47:45]dirname=/storage/ofd_packets [18:47:45]CheckFolder done [18:47:45]ProducePacketName [18:47:45]name=ofd_packets/00024283 [18:47:45]NVStorageSaveData ofd_packets/00024283 [18:47:45]File name is /storage/ofd_packets/00024283 [18:47:45]Write 325 bytes [18:47:45]NVStorageSaveData done [18:47:45]OFDSenderStorePacket done [18:47:45]KKMCreateOFDPacket done [18:47:45]NVStorageSaveData kkm_last_timestamp [18:47:45]File name is /storage/kkm_last_timestamp [18:47:45]Write 4 bytes [18:47:45]NVStorageSaveData done [18:47:45]ExternCall_PrintAddStr [18:47:45]wPrintStart [18:47:45]Write to MH i2c: 01 00 00 DA 1D F7 [18:47:45]Write i2c OK [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: 01 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: 01 07 00 [18:47:45]MH_I2C_Read... [18:47:45]Read from MH i2c: 01 07 00 DA 1D 00 00 00 00 00 FF 0F 0C [18:47:45]RasterBufferAndPrint [18:47:45]line Счет N : (3)134808 [18:47:45]line ИНН: 02508201610067 [18:47:45]line Контрольно-Кассовый Чек [18:47:45]line ПРОДАЖА [18:47:45]line Товар: 48743587 [18:47:45]line Сигареты Winston XStyle Silver [18:47:45]line 1.000 * 144.00 [18:47:45]line = 144.00 [18:47:45]line НДС 12% НСП 1% [18:47:45]line > о реализуемом товаре [18:47:45]line ИТОГО: 144.00 [18:47:45]line НСП 1% : 1.27 [18:47:45]line НДС 12% : 15.29 [18:47:45]line Наличными: 0.00 [18:47:45]line Безнал.: 144.00 [18:47:45]line Место: АЗС № 85 "Партнер Нефть" [18:47:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:47:45]line СНО: Общий режим [18:47:45]line Чек 53 20.10.2024 18:47 [18:47:45]line Смена: 460 ФФД: 1.0 [18:47:45]line ЗНМ: 0300000166 [18:47:45]line РНМ: 0000000000098120 [18:47:45]line Версия ККМ: 001 [18:47:45]line Платежная система: Mbank [18:47:45]line ФМ: 0000000000965420 [18:47:45]line ФД: 24283 [18:47:45]line ФПД: 138038951388414 [18:47:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T184750&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24283&fm=138038951388414&tin=02508201610067®Number=0000000000098120&sum=14400 [18:47:45]line 0 [18:47:45]OFD Sender: Processing packet 24283 [packets to send 5, broken 4] [18:47:45]ProducePacketName [18:47:45]name=ofd_packets/00024283 [18:47:45]OFD Sender: To server: pG, [18:47:45]CommunicateWithHost lk.salyk.kg:30040 [18:47:45]ConnectInit lk.salyk.kg [18:47:45]written 0, free lines is 4095 [18:47:46]Connected sock=10 [18:47:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 27 01 00 00 C3 D8 1F 01 B0 64 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 56 50 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DB 5E 00 00 35 04 06 00 7D 8B B2 A9 A4 FE 61 18 6B 57 FD 6F DB 12 [18:47:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 68 49 47 00 A8 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 36 35 34 32 30 10 04 04 00 DB 5E 00 00 F4 03 04 00 EE FB 14 67 B6 04 01 00 00 F5 CC 45 20 D2 5F C9 90 [18:47:46]CommunicateWithHost err = 0 [18:47:46]CheckOFDResponse [18:47:46]1017 (14) - 77093643461234 [18:47:46]1041 (16) - 0000000000965420 [18:47:46]1040 (4) - 24283 [18:47:46]1012 (4) - 20.10.2024 12:47 [18:47:46]1206 (1) - 0 [18:47:46]OFD Sender: Remove packet 24283 [18:47:46]ProducePacketName [18:47:46]name=ofd_packets/00024283 [18:47:46]NVStorageDeleteData [18:47:46]Write to MH i2c: 01 00 00 04 1E 22 [18:47:46]Write i2c OK [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: 01 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: 01 07 00 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: 01 07 00 04 1E 00 00 00 00 00 F5 0C 2A [18:47:46]RasterBufferAndPrint [18:47:46]line [18:47:46]line [18:47:46]line [18:47:46]line [18:47:46]line [18:47:46]written 0, free lines is 3324 [18:47:46]process_action close_receipt done [18:47:46]requested_data is exist [18:47:46]produce_requested_data [18:47:46]requested_item fm.sn is exist - process it [18:47:46]wFMCommunicate request_size=4 [18:47:46]MH_SAM_APDU [18:47:46]CAPDU: 80 11 00 00 [18:47:46]Write to MH i2c: E2 08 00 0B 1E 80 11 00 00 00 00 00 00 A3 [18:47:46]Write i2c OK [18:47:46]MH_I2C_Read... [18:47:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:47:46]Read from MH i2c: E2 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 17 00 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 17 00 0B 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F0 [18:47:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:47:46]wFMCommunicate OK [18:47:46]requested_item fd.num is exist - process it [18:47:46]SAM_PROTO_GetFieldsCounters [18:47:46]wFMCommunicate request_size=4 [18:47:46]MH_SAM_APDU [18:47:46]CAPDU: 80 13 00 00 [18:47:46]Write to MH i2c: E2 08 00 0C 1E 80 13 00 00 00 00 00 00 A6 [18:47:46]Write i2c OK [18:47:46]MH_I2C_Read... [18:47:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:47:46]Read from MH i2c: E2 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 62 00 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 62 00 0C 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 61 [18:47:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DB 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:47:46]wFMCommunicate OK [18:47:46]SAM_PROTO_GetFieldsCounters done [18:47:46]requested_item shift.num is exist - process it [18:47:46]requested_item shift.opened is exist - process it [18:47:46]req_shift_opened [18:47:46]FM_GetShiftState [18:47:46]SAM_PROTO_GetShiftState [18:47:46]wFMCommunicate request_size=4 [18:47:46]MH_SAM_APDU [18:47:46]CAPDU: 80 13 01 00 [18:47:46]Write to MH i2c: E2 08 00 0D 1E 80 13 01 00 00 00 00 00 A8 [18:47:46]Write i2c OK [18:47:46]MH_I2C_Read... [18:47:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:47:46]Read from MH i2c: E2 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 0E 00 [18:47:46]MH_I2C_Read... [18:47:46]Read from MH i2c: E2 0E 00 0D 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 C9 [18:47:46]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [18:47:46]wFMCommunicate OK [18:47:46]SAM_PROTO_GetShiftState done [18:47:46]FM_GetShiftState done [18:47:46]req_shift_opened done [18:47:46]requested_item shift.open_date is exist - process it [18:47:46]req_shift_open_date [18:47:46]req_shift_open_date done [18:47:46]produce_requested_data done [18:47:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24283,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [18:47:46]process_action_free close_receipt [18:47:46]json_value_free [18:47:46]json_value_free done [18:47:46]process_json_proto returns [18:47:46]Send response to host [18:47:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24283,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [18:47:46]free response buf [18:47:46]execute_script done [18:47:46]execute_script returns [18:47:46]free content buf [18:47:46]Sock 9.Close socket [18:47:46]Sock 9.Thread stoped [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:22]OFD Sender: No OFD packet to send [18:53:27]OFD Sender: No OFD packet to send [18:53:32]OFD Sender: No OFD packet to send [18:53:37]OFD Sender: No OFD packet to send [18:53:42]OFD Sender: No OFD packet to send [18:53:47]OFD Sender: No OFD packet to send [18:53:52]OFD Sender: No OFD packet to send [18:53:57]OFD Sender: No OFD packet to send [18:54:02]OFD Sender: No OFD packet to send [18:54:07]OFD Sender: No OFD packet to send [18:54:12]OFD Sender: No OFD packet to send [18:54:17]OFD Sender: No OFD packet to send [18:54:22]OFD Sender: No OFD packet to send [18:54:27]OFD Sender: No OFD packet to send [18:54:32]OFD Sender: No OFD packet to send [18:54:37]OFD Sender: No OFD packet to send [18:54:42]OFD Sender: No OFD packet to send [18:54:47]OFD Sender: No OFD packet to send [18:54:52]OFD Sender: No OFD packet to send [18:54:57]OFD Sender: No OFD packet to send [18:55:02]OFD Sender: No OFD packet to send [18:55:07]OFD Sender: No OFD packet to send [18:55:12]OFD Sender: No OFD packet to send [18:55:17]OFD Sender: No OFD packet to send [18:55:22]OFD Sender: No OFD packet to send [18:55:27]OFD Sender: No OFD packet to send [18:55:32]OFD Sender: No OFD packet to send [18:55:37]OFD Sender: No OFD packet to send [18:55:42]OFD Sender: No OFD packet to send [18:55:47]OFD Sender: No OFD packet to send [18:55:52]OFD Sender: No OFD packet to send [18:55:57]OFD Sender: No OFD packet to send [18:56:02]OFD Sender: No OFD packet to send [18:56:07]OFD Sender: No OFD packet to send [18:56:12]OFD Sender: No OFD packet to send [18:56:17]OFD Sender: No OFD packet to send [18:56:22]OFD Sender: No OFD packet to send [18:56:27]OFD Sender: No OFD packet to send [18:56:32]OFD Sender: No OFD packet to send [18:56:37]OFD Sender: No OFD packet to send [18:56:42]OFD Sender: No OFD packet to send [18:56:47]OFD Sender: No OFD packet to send [18:56:52]OFD Sender: No OFD packet to send [18:56:57]OFD Sender: No OFD packet to send [18:57:02]OFD Sender: No OFD packet to send [18:57:07]OFD Sender: No OFD packet to send [18:57:12]OFD Sender: No OFD packet to send [18:57:17]OFD Sender: No OFD packet to send [18:57:22]OFD Sender: No OFD packet to send [18:57:27]OFD Sender: No OFD packet to send [18:57:32]OFD Sender: No OFD packet to send [18:57:37]OFD Sender: No OFD packet to send [18:57:42]OFD Sender: No OFD packet to send [18:57:47]OFD Sender: No OFD packet to send [18:57:52]OFD Sender: No OFD packet to send [18:57:57]OFD Sender: No OFD packet to send [18:58:02]OFD Sender: No OFD packet to send [18:58:07]OFD Sender: No OFD packet to send [18:58:12]OFD Sender: No OFD packet to send [18:58:17]OFD Sender: No OFD packet to send [18:58:22]OFD Sender: No OFD packet to send [18:58:27]OFD Sender: No OFD packet to send [18:58:32]OFD Sender: No OFD packet to send [18:58:37]OFD Sender: No OFD packet to send [18:58:42]OFD Sender: No OFD packet to send [18:58:47]OFD Sender: No OFD packet to send [18:58:52]OFD Sender: No OFD packet to send [18:58:57]OFD Sender: No OFD packet to send [18:59:02]OFD Sender: No OFD packet to send [18:59:07]OFD Sender: No OFD packet to send [18:59:12]OFD Sender: No OFD packet to send [18:59:17]OFD Sender: No OFD packet to send [18:59:22]OFD Sender: No OFD packet to send [18:59:27]OFD Sender: No OFD packet to send [18:59:32]OFD Sender: No OFD packet to send [18:59:37]OFD Sender: No OFD packet to send [18:59:42]OFD Sender: No OFD packet to send [18:59:47]OFD Sender: No OFD packet to send [18:59:52]OFD Sender: No OFD packet to send [18:59:57]OFD Sender: No OFD packet to send [19:00:02]OFD Sender: No OFD packet to send [19:00:07]OFD Sender: No OFD packet to send [19:00:12]OFD Sender: No OFD packet to send [19:00:17]OFD Sender: No OFD packet to send [19:00:22]OFD Sender: No OFD packet to send [19:00:27]OFD Sender: No OFD packet to send [19:00:32]OFD Sender: No OFD packet to send [19:00:37]OFD Sender: No OFD packet to send [19:00:42]OFD Sender: No OFD packet to send [19:00:47]OFD Sender: No OFD packet to send [19:00:52]OFD Sender: No OFD packet to send [19:00:57]OFD Sender: No OFD packet to send [19:01:02]OFD Sender: No OFD packet to send [19:01:07]OFD Sender: No OFD packet to send [19:01:12]OFD Sender: No OFD packet to send [19:01:17]OFD Sender: No OFD packet to send [19:01:22]OFD Sender: No OFD packet to send [19:01:27]OFD Sender: No OFD packet to send [19:01:32]OFD Sender: No OFD packet to send [19:01:37]OFD Sender: No OFD packet to send [19:01:42]OFD Sender: No OFD packet to send [19:01:47]OFD Sender: No OFD packet to send [19:01:52]OFD Sender: No OFD packet to send [19:01:57]OFD Sender: No OFD packet to send [19:02:02]OFD Sender: No OFD packet to send [19:02:07]OFD Sender: No OFD packet to send [19:02:12]OFD Sender: No OFD packet to send [19:02:17]OFD Sender: No OFD packet to send [19:02:22]OFD Sender: No OFD packet to send [19:02:27]OFD Sender: No OFD packet to send [19:02:32]OFD Sender: No OFD packet to send [19:02:37]OFD Sender: No OFD packet to send [19:02:42]OFD Sender: No OFD packet to send [19:02:47]OFD Sender: No OFD packet to send [19:02:52]OFD Sender: No OFD packet to send [19:02:57]OFD Sender: No OFD packet to send [19:03:02]OFD Sender: No OFD packet to send [19:03:07]OFD Sender: No OFD packet to send [19:03:12]OFD Sender: No OFD packet to send [19:03:17]OFD Sender: No OFD packet to send [19:03:22]OFD Sender: No OFD packet to send [19:03:27]OFD Sender: No OFD packet to send [19:03:32]OFD Sender: No OFD packet to send [19:03:37]OFD Sender: No OFD packet to send [19:03:42]OFD Sender: No OFD packet to send [19:03:47]OFD Sender: No OFD packet to send [19:03:52]OFD Sender: No OFD packet to send [19:03:57]OFD Sender: No OFD packet to send [19:04:02]OFD Sender: No OFD packet to send [19:04:07]OFD Sender: No OFD packet to send [19:04:12]OFD Sender: No OFD packet to send [19:04:17]OFD Sender: No OFD packet to send [19:04:22]OFD Sender: No OFD packet to send [19:04:27]OFD Sender: No OFD packet to send [19:04:32]OFD Sender: No OFD packet to send [19:04:37]OFD Sender: No OFD packet to send [19:04:42]OFD Sender: No OFD packet to send [19:04:47]OFD Sender: No OFD packet to send [19:04:52]OFD Sender: No OFD packet to send [19:04:57]OFD Sender: No OFD packet to send [19:05:02]OFD Sender: No OFD packet to send [19:05:07]OFD Sender: No OFD packet to send [19:05:12]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:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:20]accept exits with 7 [19:22:20]New connection [19:22:20]New thread 3067243876 created [19:22:20]Thread 3067100516 joined [19:22:20]Waiting for new connection... [19:22:20] Sock 7.Parse request [19:22:20]Sock 7.Check first char [19:22:20]Sock 7.First char is OK [19:22:20]request: POST /json_proto HTTP/1.0 [19:22:20]Method: POST [19:22:20]URL: /json_proto [19:22:20]Method is POST - this is cgi request [19:22:20]url: /json_proto [19:22:20]query_string will be loaded in cgi processing [19:22:20]execute_cgi json_proto POST (null) [19:22:20]execute_cgi path=json_proto method=POST [19:22:20]POST find Content-Length [19:22:20]Host: 172.17.50.4:8080 [19:22:20]Content-Length: 632 [19:22:20]Content-Type: application/json [19:22:20] [19:22:20]POST finish read [19:22:20]Found Content-Length = 632 [19:22:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134809", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:22:20]execute_script... [19:22: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)134809", "tax_sys" : 0, "items" : [ { "code": "4700025313937", "name": "\u0412\u041E\u0414\u041A\u0410 \u041C\u042F\u0413\u041A\u0410\u042F 0,1\u043B", "price" : 60.00, "quantity" : 1.000, "sum" : 60.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 60.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:22:20]POST & json_proto [19:22:20]process_json_proto [19:22:20]json parsed OK: [19:22:20]protocol is kg_v1.0 [19:22:20]action value=close_receipt [19:22:20]process_action close_receipt [19:22:20]cmd_close_receipt [19:22:20]MH_GetDate [19:22:20]Write to MH i2c: F0 00 00 0E 1E 1B [19:22:20]Write i2c OK [19:22:20]MH_I2C_Read... [19:22:20]Read from MH i2c: F0 [19:22:20]MH_I2C_Read... [19:22:20]Read from MH i2c: F0 09 00 [19:22:20]MH_I2C_Read... [19:22:20]Read from MH i2c: F0 09 00 0E 1E 00 73 58 15 67 1D BB 13 67 BD [19:22:20]GetLastDocTimeStamp 1729450070 [19:22:20]current date 1729452147 [19:22:20]FM_GetShiftState [19:22:20]SAM_PROTO_GetShiftState [19:22:20]wFMCommunicate request_size=4 [19:22:20]MH_SAM_APDU [19:22:20]CAPDU: 80 13 01 00 [19:22:20]Write to MH i2c: E2 08 00 0F 1E 80 13 01 00 00 00 00 00 AA [19:22:20]Write i2c OK [19:22:20]MH_I2C_Read... [19:22:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:22:20]Read from MH i2c: E2 [19:22:20]MH_I2C_Read... [19:22:20]Read from MH i2c: E2 0E 00 [19:22:20]MH_I2C_Read... [19:22:20]Read from MH i2c: E2 0E 00 0F 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 CB [19:22:20]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [19:22:20]wFMCommunicate OK [19:22:20]SAM_PROTO_GetShiftState done [19:22:20]FM_GetShiftState done [19:22:20]opened in 1729382737 [19:22:20]opened+sec_in_day 1729469137 [19:22:20]quantity*price = 6000 [19:22:20]sum+1 = 6001 [19:22:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 54 20.10.2024 19:22 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24284 ФПД: 44132317157339 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T192228&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24284&fm=44132317157339&tin=02508201610067®Number=0000000000098120&sum=6000 0 [19:22:21]StoreToDocumentArchive [19:22:21]shift 460 fd 24284 [19:22:21]save to /storage/0460/doc_00024284 [19:22:21]save last doc name /storage/0460/doc_00024284 to /storage/kkm_last_doc_name [19:22:21]save OK [19:22:21]Clear old archive folders... [19:22:22]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:22:22]tlvbuf is 020CF0D0 [19:22:22]SAM_PROTO_ClearQueue [19:22:22]wFMCommunicate request_size=4 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 09 00 00 [19:22:22]Write to MH i2c: E2 08 00 1C 1E 80 09 00 00 00 00 00 00 AC [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 1C 1E 00 90 00 AE [19:22:22]RAPDU: 90 00 [19:22:22]wFMCommunicate OK [19:22:22]SAM_PROTO_ClearQueue done [19:22:22]KKMCreateOFDPacket [19:22:22]OFDProtocolAddRootSTLVToBuf [19:22:22]FM_MakeSignedData [19:22:22]FM_MakeSignedData [19:22:22]SAM_PROTO_SignData [19:22:22]wFMCommunicate request_size=4 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 0D 01 02 [19:22:22]Write to MH i2c: E2 08 00 1D 1E 80 0D 01 02 00 00 00 00 B4 [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 1D 1E 00 90 00 AF [19:22:22]RAPDU: 90 00 [19:22:22]wFMCommunicate OK [19:22:22]wFMCommunicate request_size=255 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 74 58 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 [19:22:22]Write to MH i2c: E2 02 01 1E 1E 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 74 58 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 50 [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 1E 1E 00 90 00 B0 [19:22:22]RAPDU: 90 00 [19:22:22]wFMCommunicate OK [19:22:22]wFMCommunicate request_size=30 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 DC 5E 00 00 35 04 06 00 28 23 5B 16 57 DB [19:22:22]Write to MH i2c: E2 21 00 1F 1E 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 DC 5E 00 00 35 04 06 00 28 23 5B 16 57 DB 00 00 D2 [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 03 00 1F 1E 00 90 00 B1 [19:22:22]RAPDU: 90 00 [19:22:22]wFMCommunicate OK [19:22:22]wFMCommunicate request_size=4 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 0D 03 02 [19:22:22]Write to MH i2c: E2 08 00 20 1E 80 0D 03 02 00 00 00 00 B9 [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 0B 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 0B 00 20 1E 00 1F 60 F5 4D D4 62 39 55 90 00 3F [19:22:22]RAPDU: 1F 60 F5 4D D4 62 39 55 90 00 [19:22:22]wFMCommunicate OK [19:22:22]SAM_PROTO_SignData done [19:22:22]FM_MakeSignedData done [19:22:22]CreateOFDProtocolMessage [19:22:22]wFMCommunicate request_size=4 [19:22:22]MH_SAM_APDU [19:22:22]CAPDU: 80 11 00 00 [19:22:22]Write to MH i2c: E2 08 00 21 1E 80 11 00 00 00 00 00 00 B9 [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:22:22]Read from MH i2c: E2 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 17 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: E2 17 00 21 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 06 [19:22:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:22:22]wFMCommunicate OK [19:22:22]CreateOFDProtocolMessage done [19:22:22]OFDSenderStorePacket 24284 [19:22:22]StoreOFDPacket docnum=24284 [19:22:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 75 E8 1B 01 58 4C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 74 58 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DC 5E 00 00 35 04 06 00 28 23 5B 16 57 DB 1F 60 F5 4D D4 62 39 55 [19:22:22]CheckFolder [19:22:22]dirname=/storage/ofd_packets [19:22:22]CheckFolder done [19:22:22]ProducePacketName [19:22:22]name=ofd_packets/00024284 [19:22:22]NVStorageSaveData ofd_packets/00024284 [19:22:22]File name is /storage/ofd_packets/00024284 [19:22:22]Write 321 bytes [19:22:22]NVStorageSaveData done [19:22:22]OFDSenderStorePacket done [19:22:22]KKMCreateOFDPacket done [19:22:22]NVStorageSaveData kkm_last_timestamp [19:22:22]File name is /storage/kkm_last_timestamp [19:22:22]Write 4 bytes [19:22:22]NVStorageSaveData done [19:22:22]ExternCall_PrintAddStr [19:22:22]wPrintStart [19:22:22]Write to MH i2c: 01 00 00 22 1E 40 [19:22:22]OFD Sender: Processing packet 24284 [packets to send 5, broken 4] [19:22:22]ProducePacketName [19:22:22]name=ofd_packets/00024284 [19:22:22]OFD Sender: To server: pG, [19:22:22]CommunicateWithHost lk.salyk.kg:30040 [19:22:22]ConnectInit lk.salyk.kg [19:22:22]Write i2c OK [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: 01 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: 01 07 00 [19:22:22]MH_I2C_Read... [19:22:22]Read from MH i2c: 01 07 00 22 1E 00 00 00 00 00 FF 0F 55 [19:22:22]RasterBufferAndPrint [19:22:22]line Счет N : (3)134809 [19:22:22]line ИНН: 02508201610067 [19:22:22]line Контрольно-Кассовый Чек [19:22:22]line ПРОДАЖА [19:22:22]line Товар: 4700025313937 [19:22:22]line ВОДКА МЯГКАЯ 0,1л [19:22:22]line 1.000 * 60.00 [19:22:22]line = 60.00 [19:22:22]line НДС 12% НСП 1% [19:22:22]line > о реализуемом товаре [19:22:22]line ИТОГО: 60.00 [19:22:22]line НСП 1% : 0.53 [19:22:22]line НДС 12% : 6.37 [19:22:22]line Наличными: 60.00 [19:22:22]line Безнал.: 0.00 [19:22:22]line Место: АЗС № 85 "Партнер Нефть" [19:22:22]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:22:22]line СНО: Общий режим [19:22:22]line Чек 54 20.10.2024 19:22 [19:22:22]line Смена: 460 ФФД: 1.0 [19:22:22]line ЗНМ: 0300000166 [19:22:22]line РНМ: 0000000000098120 [19:22:22]line Версия ККМ: 001 [19:22:22]line ФМ: 0000000000965420 [19:22:22]line ФД: 24284 [19:22:22]line ФПД: 44132317157339 [19:22:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T192228&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24284&fm=44132317157339&tin=02508201610067®Number=0000000000098120&sum=6000 [19:22:22]line 0 [19:22:22]written 0, free lines is 4095 [19:22:22]Connected sock=9 [19:22:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 23 01 00 00 75 E8 1B 01 58 4C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 32 35 33 31 33 39 33 37 06 04 1D 00 D0 92 D0 9E D0 94 D0 9A D0 90 20 D0 9C D0 AF D0 93 D0 9A D0 90 D0 AF 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 70 17 00 00 00 00 13 04 06 00 70 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 35 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 02 00 00 00 00 07 04 06 00 70 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 74 58 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DC 5E 00 00 35 04 06 00 28 23 5B 16 57 DB 1F 60 F5 4D D4 62 39 55 [19:22:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 F5 35 47 00 63 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DC 5E 00 00 F4 03 04 00 0B 04 15 67 B6 04 01 00 00 9D 2E 5D 5F 1B FA F6 FA [19:22:22]CommunicateWithHost err = 0 [19:22:22]CheckOFDResponse [19:22:22]1017 (14) - 77093643461234 [19:22:22]1041 (16) - 0000000000965420 [19:22:22]1040 (4) - 24284 [19:22:22]1012 (4) - 20.10.2024 13:22 [19:22:22]1206 (1) - 0 [19:22:22]OFD Sender: Remove packet 24284 [19:22:22]ProducePacketName [19:22:22]name=ofd_packets/00024284 [19:22:22]NVStorageDeleteData [19:22:23]Write to MH i2c: 01 00 00 4A 1E 68 [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 07 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: 01 07 00 4A 1E 00 00 00 00 00 0F 0D 8B [19:22:23]RasterBufferAndPrint [19:22:23]line [19:22:23]line [19:22:23]line [19:22:23]line [19:22:23]line [19:22:23]written 0, free lines is 3352 [19:22:23]process_action close_receipt done [19:22:23]requested_data is exist [19:22:23]produce_requested_data [19:22:23]requested_item fm.sn is exist - process it [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 11 00 00 [19:22:23]Write to MH i2c: E2 08 00 51 1E 80 11 00 00 00 00 00 00 E9 [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 17 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 17 00 51 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 36 [19:22:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:22:23]wFMCommunicate OK [19:22:23]requested_item fd.num is exist - process it [19:22:23]SAM_PROTO_GetFieldsCounters [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 13 00 00 [19:22:23]Write to MH i2c: E2 08 00 52 1E 80 13 00 00 00 00 00 00 EC [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 62 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 62 00 52 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 AB [19:22:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DC 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:22:23]wFMCommunicate OK [19:22:23]SAM_PROTO_GetFieldsCounters done [19:22:23]requested_item shift.num is exist - process it [19:22:23]requested_item shift.opened is exist - process it [19:22:23]req_shift_opened [19:22:23]FM_GetShiftState [19:22:23]SAM_PROTO_GetShiftState [19:22:23]wFMCommunicate request_size=4 [19:22:23]MH_SAM_APDU [19:22:23]CAPDU: 80 13 01 00 [19:22:23]Write to MH i2c: E2 08 00 53 1E 80 13 01 00 00 00 00 00 EE [19:22:23]Write i2c OK [19:22:23]MH_I2C_Read... [19:22:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:22:23]Read from MH i2c: E2 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 0E 00 [19:22:23]MH_I2C_Read... [19:22:23]Read from MH i2c: E2 0E 00 53 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 0F [19:22:23]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [19:22:23]wFMCommunicate OK [19:22:23]SAM_PROTO_GetShiftState done [19:22:23]FM_GetShiftState done [19:22:23]req_shift_opened done [19:22:23]requested_item shift.open_date is exist - process it [19:22:23]req_shift_open_date [19:22:23]req_shift_open_date done [19:22:23]produce_requested_data done [19:22:23]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24284,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [19:22:23]process_action_free close_receipt [19:22:23]json_value_free [19:22:23]json_value_free done [19:22:23]process_json_proto returns [19:22:23]Send response to host [19:22:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24284,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [19:22:23]free response buf [19:22:23]execute_script done [19:22:23]execute_script returns [19:22:23]free content buf [19:22:23]Sock 7.Close socket [19:22:23]Sock 7.Thread stoped [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]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:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:19]OFD Sender: No OFD packet to send [19:46:24]OFD Sender: No OFD packet to send [19:46:29]OFD Sender: No OFD packet to send [19:46:34]OFD Sender: No OFD packet to send [19:46:39]OFD Sender: No OFD packet to send [19:46:44]OFD Sender: No OFD packet to send [19:46:49]OFD Sender: No OFD packet to send [19:46:54]OFD Sender: No OFD packet to send [19:46:59]OFD Sender: No OFD packet to send [19:47:04]OFD Sender: No OFD packet to send [19:47:09]OFD Sender: No OFD packet to send [19:47:14]OFD Sender: No OFD packet to send [19:47:19]OFD Sender: No OFD packet to send [19:47:24]OFD Sender: No OFD packet to send [19:47:29]OFD Sender: No OFD packet to send [19:47:34]OFD Sender: No OFD packet to send [19:47:39]OFD Sender: No OFD packet to send [19:47:44]OFD Sender: No OFD packet to send [19:47:49]OFD Sender: No OFD packet to send [19:47:54]OFD Sender: No OFD packet to send [19:47:59]OFD Sender: No OFD packet to send [19:48:04]OFD Sender: No OFD packet to send [19:48:09]OFD Sender: No OFD packet to send [19:48:14]OFD Sender: No OFD packet to send [19:48:19]OFD Sender: No OFD packet to send [19:48:24]OFD Sender: No OFD packet to send [19:48:29]OFD Sender: No OFD packet to send [19:48:34]OFD Sender: No OFD packet to send [19:48:39]OFD Sender: No OFD packet to send [19:48:44]OFD Sender: No OFD packet to send [19:48:49]OFD Sender: No OFD packet to send [19:48:54]OFD Sender: No OFD packet to send [19:48:59]OFD Sender: No OFD packet to send [19:49:04]OFD Sender: No OFD packet to send [19:49:09]OFD Sender: No OFD packet to send [19:49:14]OFD Sender: No OFD packet to send [19:49:19]OFD Sender: No OFD packet to send [19:49:24]OFD Sender: No OFD packet to send [19:49:29]OFD Sender: No OFD packet to send [19:49:34]OFD Sender: No OFD packet to send [19:49:39]OFD Sender: No OFD packet to send [19:49:44]OFD Sender: No OFD packet to send [19:49:49]OFD Sender: No OFD packet to send [19:49:54]OFD Sender: No OFD packet to send [19:49:59]OFD Sender: No OFD packet to send [19:50:04]OFD Sender: No OFD packet to send [19:50:09]OFD Sender: No OFD packet to send [19:50:14]OFD Sender: No OFD packet to send [19:50:19]OFD Sender: No OFD packet to send [19:50:24]OFD Sender: No OFD packet to send [19:50:29]OFD Sender: No OFD packet to send [19:50:34]OFD Sender: No OFD packet to send [19:50:39]OFD Sender: No OFD packet to send [19:50:44]OFD Sender: No OFD packet to send [19:50:49]OFD Sender: No OFD packet to send [19:50:54]OFD Sender: No OFD packet to send [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:05]OFD Sender: No OFD packet to send [20:03:10]OFD Sender: No OFD packet to send [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:50]OFD Sender: No OFD packet to send [20:15:55]OFD Sender: No OFD packet to send [20:16:00]OFD Sender: No OFD packet to send [20:16:05]OFD Sender: No OFD packet to send [20:16:10]OFD Sender: No OFD packet to send [20:16:15]OFD Sender: No OFD packet to send [20:16:20]OFD Sender: No OFD packet to send [20:16:25]OFD Sender: No OFD packet to send [20:16:30]OFD Sender: No OFD packet to send [20:16:35]OFD Sender: No OFD packet to send [20:16:40]OFD Sender: No OFD packet to send [20:16:45]OFD Sender: No OFD packet to send [20:16:50]OFD Sender: No OFD packet to send [20:16:55]OFD Sender: No OFD packet to send [20:17:00]OFD Sender: No OFD packet to send [20:17:05]OFD Sender: No OFD packet to send [20:17:10]OFD Sender: No OFD packet to send [20:17:15]OFD Sender: No OFD packet to send [20:17:16]accept exits with 10 [20:17:16]New connection [20:17:16]New thread 3067100516 created [20:17:16]Thread 3067243876 joined [20:17:16]Waiting for new connection... [20:17:16] Sock 10.Parse request [20:17:16]Sock 10.Check first char [20:17:16]Sock 10.First char is OK [20:17:16]request: POST /json_proto HTTP/1.0 [20:17:16]Method: POST [20:17:16]URL: /json_proto [20:17:16]Method is POST - this is cgi request [20:17:16]url: /json_proto [20:17:16]query_string will be loaded in cgi processing [20:17:16]execute_cgi json_proto POST (null) [20:17:16]execute_cgi path=json_proto method=POST [20:17:16]POST find Content-Length [20:17:16]Host: 172.17.50.4:8080 [20:17:16]Content-Length: 1944 [20:17:16]Content-Type: application/json [20:17:16] [20:17:16]POST finish read [20:17:16]Found Content-Length = 1944 [20:17:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134810", "tax_sys" : 0, "items" : [ { "code": "8691216090439", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Mishki 80\u0433\u0440 ", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870202522695", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 0,450", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 393.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:16]execute_script... [20:17: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)134810", "tax_sys" : 0, "items" : [ { "code": "8691216090439", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Mishki 80\u0433\u0440 ", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4870202522695", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Maxi \u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 \u041C\u0430\u043B\u0438\u043D\u0430 0,450", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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": "4650243871224", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u0436/\u0431 0,45\u043B (\u041F\u0418\u0422\u0410\u0419\u042F \u0410\u041D\u0410\u041D\u0410\u0421", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 393.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:17:16]POST & json_proto [20:17:16]process_json_proto [20:17:16]json parsed OK: [20:17:16]protocol is kg_v1.0 [20:17:16]action value=close_receipt [20:17:16]process_action close_receipt [20:17:16]cmd_close_receipt [20:17:16]MH_GetDate [20:17:16]Write to MH i2c: F0 00 00 54 1E 61 [20:17:16]Write i2c OK [20:17:16]MH_I2C_Read... [20:17:16]Read from MH i2c: F0 [20:17:16]MH_I2C_Read... [20:17:16]Read from MH i2c: F0 09 00 [20:17:16]MH_I2C_Read... [20:17:16]Read from MH i2c: F0 09 00 54 1E 00 54 65 15 67 1D BB 13 67 F1 [20:17:16]GetLastDocTimeStamp 1729452148 [20:17:16]current date 1729455444 [20:17:16]FM_GetShiftState [20:17:16]SAM_PROTO_GetShiftState [20:17:16]wFMCommunicate request_size=4 [20:17:16]MH_SAM_APDU [20:17:16]CAPDU: 80 13 01 00 [20:17:16]Write to MH i2c: E2 08 00 55 1E 80 13 01 00 00 00 00 00 F0 [20:17:16]Write i2c OK [20:17:16]MH_I2C_Read... [20:17:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:16]Read from MH i2c: E2 [20:17:16]MH_I2C_Read... [20:17:16]Read from MH i2c: E2 0E 00 [20:17:16]MH_I2C_Read... [20:17:16]Read from MH i2c: E2 0E 00 55 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 11 [20:17:16]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:17:16]wFMCommunicate OK [20:17:16]SAM_PROTO_GetShiftState done [20:17:16]FM_GetShiftState done [20:17:16]opened in 1729382737 [20:17:16]opened+sec_in_day 1729469137 [20:17:16]quantity*price = 8400 [20:17:16]sum+1 = 8401 [20:17:16]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202522695 Напиток Maxi Чай черный Малина 0,450 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4620016307540 Салфетки Absolut Nat FITOGUARD алоэ 20 ш 1.000 * 65.00 = 65.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4650243871224 Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 393.00 НСП 1% : 3.47 НДС 12% : 41.72 Наличными: 393.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 55 20.10.2024 20:17 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24285 ФПД: 257690356792332 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201724&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24285&fm=257690356792332&tin=02508201610067®Number=0000000000098120&sum=39300 0 [20:17:17]StoreToDocumentArchive [20:17:17]shift 460 fd 24285 [20:17:17]save to /storage/0460/doc_00024285 [20:17:17]save last doc name /storage/0460/doc_00024285 to /storage/kkm_last_doc_name [20:17:17]save OK [20:17:17]Clear old archive folders... [20:17:17]ProcessDocumentItem done err = 0, tmpTLVsize=826 [20:17:17]tlvbuf is 02144170 [20:17:17]SAM_PROTO_ClearQueue [20:17:17]wFMCommunicate request_size=4 [20:17:17]MH_SAM_APDU [20:17:17]CAPDU: 80 09 00 00 [20:17:17]Write to MH i2c: E2 08 00 62 1E 80 09 00 00 00 00 00 00 F2 [20:17:17]Write i2c OK [20:17:17]MH_I2C_Read... [20:17:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:17:17]Read from MH i2c: E2 [20:17:17]MH_I2C_Read... [20:17:17]Read from MH i2c: E2 03 00 [20:17:17]MH_I2C_Read... [20:17:17]Read from MH i2c: E2 03 00 62 1E 00 90 00 F4 [20:17:17]RAPDU: 90 00 [20:17:17]wFMCommunicate OK [20:17:17]SAM_PROTO_ClearQueue done [20:17:17]KKMCreateOFDPacket [20:17:17]OFDProtocolAddRootSTLVToBuf [20:17:17]FM_MakeSignedData [20:17:17]FM_MakeSignedData [20:17:17]SAM_PROTO_SignData [20:17:17]wFMCommunicate request_size=4 [20:17:17]MH_SAM_APDU [20:17:17]CAPDU: 80 0D 01 02 [20:17:17]Write to MH i2c: E2 08 00 63 1E 80 0D 01 02 00 00 00 00 FA [20:17:17]Write i2c OK [20:17:17]MH_I2C_Read... [20:17:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:17:18]Read from MH i2c: E2 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 63 1E 00 90 00 F5 [20:17:18]RAPDU: 90 00 [20:17:18]wFMCommunicate OK [20:17:18]wFMCommunicate request_size=255 [20:17:18]MH_SAM_APDU [20:17:18]CAPDU: 80 0D 02 02 FA 03 00 3A 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 33 39 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4D 69 73 68 6B 69 20 38 30 D0 B3 D1 80 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [20:17:18]Write to MH i2c: E2 02 01 64 1E 80 0D 02 02 FA 00 03 00 3A 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 33 39 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4D 69 73 68 6B 69 20 38 30 D0 B3 D1 80 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 21 [20:17:18]Write i2c OK [20:17:18]MH_I2C_Read... [20:17:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:18]Read from MH i2c: E2 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 64 1E 00 90 00 F6 [20:17:18]RAPDU: 90 00 [20:17:18]wFMCommunicate OK [20:17:18]wFMCommunicate request_size=255 [20:17:18]MH_SAM_APDU [20:17:18]CAPDU: 80 0D 02 02 FA 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [20:17:18]Write to MH i2c: E2 02 01 65 1E 80 0D 02 02 FA 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 1B [20:17:18]Write i2c OK [20:17:18]MH_I2C_Read... [20:17:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:18]Read from MH i2c: E2 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 [20:17:18]MH_I2C_Read... [20:17:18]Read from MH i2c: E2 03 00 65 1E 00 90 00 F7 [20:17:18]RAPDU: 90 00 [20:17:18]wFMCommunicate OK [20:17:18]wFMCommunicate request_size=255 [20:17:18]MH_SAM_APDU [20:17:18]CAPDU: 80 0D 02 02 FA 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 10 00 00 00 00 07 04 06 00 84 99 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 [20:17:18]Write to MH i2c: E2 02 01 66 1E 80 0D 02 02 FA 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 10 00 00 00 00 07 04 06 00 84 99 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 00 E0 [20:17:18]Write i2c OK [20:17:18]MH_I2C_Read... [20:17:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:19]Read from MH i2c: E2 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 03 00 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 03 00 66 1E 00 90 00 F8 [20:17:19]RAPDU: 90 00 [20:17:19]wFMCommunicate OK [20:17:19]wFMCommunicate request_size=85 [20:17:19]MH_SAM_APDU [20:17:19]CAPDU: 80 0D 02 02 50 00 F4 03 04 00 54 65 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DD 5E 00 00 35 04 06 00 EA 5E 36 2D BC 0C [20:17:19]Write to MH i2c: E2 58 00 67 1E 80 0D 02 02 50 00 00 F4 03 04 00 54 65 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DD 5E 00 00 35 04 06 00 EA 5E 36 2D BC 0C 00 00 EA [20:17:19]Write i2c OK [20:17:19]MH_I2C_Read... [20:17:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:17:19]Read from MH i2c: E2 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 03 00 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 03 00 67 1E 00 90 00 F9 [20:17:19]RAPDU: 90 00 [20:17:19]wFMCommunicate OK [20:17:19]wFMCommunicate request_size=4 [20:17:19]MH_SAM_APDU [20:17:19]CAPDU: 80 0D 03 02 [20:17:19]Write to MH i2c: E2 08 00 68 1E 80 0D 03 02 00 00 00 00 01 [20:17:19]Write i2c OK [20:17:19]MH_I2C_Read... [20:17:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:17:19]Read from MH i2c: E2 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 0B 00 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 0B 00 68 1E 00 09 34 D2 9C E1 8F 0F F1 90 00 1D [20:17:19]RAPDU: 09 34 D2 9C E1 8F 0F F1 90 00 [20:17:19]wFMCommunicate OK [20:17:19]SAM_PROTO_SignData done [20:17:19]FM_MakeSignedData done [20:17:19]CreateOFDProtocolMessage [20:17:19]wFMCommunicate request_size=4 [20:17:19]MH_SAM_APDU [20:17:19]CAPDU: 80 11 00 00 [20:17:19]Write to MH i2c: E2 08 00 69 1E 80 11 00 00 00 00 00 00 01 [20:17:19]Write i2c OK [20:17:19]MH_I2C_Read... [20:17:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:19]Read from MH i2c: E2 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 17 00 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: E2 17 00 69 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4E [20:17:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:17:19]wFMCommunicate OK [20:17:19]CreateOFDProtocolMessage done [20:17:19]OFDSenderStorePacket 24285 [20:17:19]StoreOFDPacket docnum=24285 [20:17:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4E 03 00 00 F7 18 46 03 27 73 5A 03 01 00 03 00 3A 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 33 39 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4D 69 73 68 6B 69 20 38 30 D0 B3 D1 80 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 10 00 00 00 00 07 04 06 00 84 99 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 54 65 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DD 5E 00 00 35 04 06 00 EA 5E 36 2D BC 0C 09 34 D2 9C E1 8F 0F F1 [20:17:19]CheckFolder [20:17:19]dirname=/storage/ofd_packets [20:17:19]CheckFolder done [20:17:19]ProducePacketName [20:17:19]name=ofd_packets/00024285 [20:17:19]NVStorageSaveData ofd_packets/00024285 [20:17:19]File name is /storage/ofd_packets/00024285 [20:17:19]Write 876 bytes [20:17:19]NVStorageSaveData done [20:17:19]OFDSenderStorePacket done [20:17:19]KKMCreateOFDPacket done [20:17:19]NVStorageSaveData kkm_last_timestamp [20:17:19]File name is /storage/kkm_last_timestamp [20:17:19]Write 4 bytes [20:17:19]NVStorageSaveData done [20:17:19]ExternCall_PrintAddStr [20:17:19]wPrintStart [20:17:19]Write to MH i2c: 01 00 00 6A 1E 88 [20:17:19]Write i2c OK [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: 01 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: 01 07 00 [20:17:19]MH_I2C_Read... [20:17:19]Read from MH i2c: 01 07 00 6A 1E 00 00 00 00 00 FF 0F 9D [20:17:19]RasterBufferAndPrint [20:17:19]line Счет N : (3)134810 [20:17:19]line ИНН: 02508201610067 [20:17:19]line Контрольно-Кассовый Чек [20:17:19]line ПРОДАЖА [20:17:19]line Товар: 8691216090439 [20:17:19]line Жевательный мармелад HARIBO Mishki 80гр [20:17:19]line 1.000 * 84.00 [20:17:19]line = 84.00 [20:17:19]line НДС 12% НСП 1% [20:17:19]line > о реализуемом товаре [20:17:19]line Товар: 4870112003956 [20:17:19]line Шок батончик ALBENI SUPER Альбени Супер [20:17:19]line 1.000 * 75.00 [20:17:19]line = 75.00 [20:17:19]line НДС 12% НСП 1% [20:17:19]line > о реализуемом товаре [20:17:19]line Товар: 4870202522695 [20:17:19]line Напиток Maxi Чай черный Малина 0,450 [20:17:19]line 1.000 * 70.00 [20:17:19]line = 70.00 [20:17:19]line НДС 12% НСП 1% [20:17:19]line > о реализуемом товаре [20:17:19]line Товар: 4620016307540 [20:17:19]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [20:17:19]line 1.000 * 65.00 [20:17:19]line = 65.00 [20:17:19]line НДС 12% НСП 1% [20:17:19]line > о реализуемом товаре [20:17:19]line Товар: 4650243871224 [20:17:19]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [20:17:19]line 1.000 * 99.00 [20:17:19]line = 99.00 [20:17:19]line НДС 12% НСП 1% [20:17:19]line > о реализуемом товаре [20:17:19]line ИТОГО: 393.00 [20:17:19]line НСП 1% : 3.47 [20:17:19]line НДС 12% : 41.72 [20:17:19]line Наличными: 393.00 [20:17:19]line Безнал.: 0.00 [20:17:19]line Место: АЗС № 85 "Партнер Нефть" [20:17:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:17:19]line СНО: Общий режим [20:17:19]line Чек 55 20.10.2024 20:17 [20:17:19]line Смена: 460 ФФД: 1.0 [20:17:19]line ЗНМ: 0300000166 [20:17:19]line РНМ: 0000000000098120 [20:17:19]line Версия ККМ: 001 [20:17:19]line ФМ: 0000000000965420 [20:17:19]line ФД: 24285 [20:17:19]line ФПД: 257690356792332 [20:17:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T201724&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24285&fm=257690356792332&tin=02508201610067®Number=0000000000098120&sum=39300 [20:17:19]OFD Sender: Processing packet 24285 [packets to send 5, broken 4] [20:17:19]ProducePacketName [20:17:19]name=ofd_packets/00024285 [20:17:19]OFD Sender: To server: pG, [20:17:19]CommunicateWithHost lk.salyk.kg:30040 [20:17:19]ConnectInit lk.salyk.kg [20:17:19]line 0 [20:17:19]written 0, free lines is 4095 [20:17:19]Connected sock=9 [20:17:19]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4E 03 00 00 F7 18 46 03 27 73 5A 03 01 00 03 00 3A 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 33 39 06 04 3D 00 D0 96 D0 B5 D0 B2 D0 B0 D1 82 D0 B5 D0 BB D1 8C D0 BD D1 8B D0 B9 20 D0 BC D0 B0 D1 80 D0 BC D0 B5 D0 BB D0 B0 D0 B4 20 48 41 52 49 42 4F 20 4D 69 73 68 6B 69 20 38 30 D0 B3 D1 80 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 7E 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 32 36 39 35 06 04 3A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4D 61 78 69 20 D0 A7 D0 B0 D0 B9 20 D1 87 D0 B5 D1 80 D0 BD D1 8B D0 B9 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 34 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 82 00 8A 04 0D 00 34 36 35 30 32 34 33 38 37 31 32 32 34 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB 20 28 D0 9F D0 98 D0 A2 D0 90 D0 99 D0 AF 20 D0 90 D0 9D D0 90 D0 9D D0 90 D0 A1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 99 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 10 00 00 00 00 07 04 06 00 84 99 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 54 65 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DD 5E 00 00 35 04 06 00 EA 5E 36 2D BC 0C 09 34 D2 9C E1 8F 0F F1 [20:17:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 A2 F8 47 00 53 7C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DD 5E 00 00 F4 03 04 00 EC 10 15 67 B6 04 01 00 00 77 A9 8D D2 32 09 71 1A [20:17:20]CommunicateWithHost err = 0 [20:17:20]CheckOFDResponse [20:17:20]1017 (14) - 77093643461234 [20:17:20]1041 (16) - 0000000000965420 [20:17:20]1040 (4) - 24285 [20:17:20]1012 (4) - 20.10.2024 14:17 [20:17:20]1206 (1) - 0 [20:17:20]OFD Sender: Remove packet 24285 [20:17:20]ProducePacketName [20:17:20]name=ofd_packets/00024285 [20:17:20]NVStorageDeleteData [20:17:20]Write to MH i2c: 01 00 00 AF 1E CD [20:17:20]Write i2c OK [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: 01 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: 01 07 00 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: 01 07 00 AF 1E 00 00 00 00 00 A7 0B 86 [20:17:20]RasterBufferAndPrint [20:17:20]line [20:17:20]line [20:17:20]line [20:17:20]line [20:17:20]line [20:17:20]written 0, free lines is 2998 [20:17:20]process_action close_receipt done [20:17:20]requested_data is exist [20:17:20]produce_requested_data [20:17:20]requested_item fm.sn is exist - process it [20:17:20]wFMCommunicate request_size=4 [20:17:20]MH_SAM_APDU [20:17:20]CAPDU: 80 11 00 00 [20:17:20]Write to MH i2c: E2 08 00 B6 1E 80 11 00 00 00 00 00 00 4E [20:17:20]Write i2c OK [20:17:20]MH_I2C_Read... [20:17:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:17:20]Read from MH i2c: E2 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 17 00 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 17 00 B6 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9B [20:17:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:17:20]wFMCommunicate OK [20:17:20]requested_item fd.num is exist - process it [20:17:20]SAM_PROTO_GetFieldsCounters [20:17:20]wFMCommunicate request_size=4 [20:17:20]MH_SAM_APDU [20:17:20]CAPDU: 80 13 00 00 [20:17:20]Write to MH i2c: E2 08 00 B7 1E 80 13 00 00 00 00 00 00 51 [20:17:20]Write i2c OK [20:17:20]MH_I2C_Read... [20:17:20]OFD Sender: No OFD packet to send [20:17:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:17:20]Read from MH i2c: E2 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 62 00 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 62 00 B7 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 14 [20:17:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DD 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:17:20]wFMCommunicate OK [20:17:20]SAM_PROTO_GetFieldsCounters done [20:17:20]requested_item shift.num is exist - process it [20:17:20]requested_item shift.opened is exist - process it [20:17:20]req_shift_opened [20:17:20]FM_GetShiftState [20:17:20]SAM_PROTO_GetShiftState [20:17:20]wFMCommunicate request_size=4 [20:17:20]MH_SAM_APDU [20:17:20]CAPDU: 80 13 01 00 [20:17:20]Write to MH i2c: E2 08 00 B8 1E 80 13 01 00 00 00 00 00 53 [20:17:20]Write i2c OK [20:17:20]MH_I2C_Read... [20:17:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:17:20]Read from MH i2c: E2 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 0E 00 [20:17:20]MH_I2C_Read... [20:17:20]Read from MH i2c: E2 0E 00 B8 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 74 [20:17:20]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:17:20]wFMCommunicate OK [20:17:20]SAM_PROTO_GetShiftState done [20:17:20]FM_GetShiftState done [20:17:20]req_shift_opened done [20:17:20]requested_item shift.open_date is exist - process it [20:17:20]req_shift_open_date [20:17:20]req_shift_open_date done [20:17:20]produce_requested_data done [20:17:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24285,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [20:17:20]process_action_free close_receipt [20:17:20]json_value_free [20:17:20]json_value_free done [20:17:20]process_json_proto returns [20:17:20]Send response to host [20:17:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24285,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [20:17:20]free response buf [20:17:20]execute_script done [20:17:20]execute_script returns [20:17:20]free content buf [20:17:20]Sock 10.Close socket [20:17:20]Sock 10.Thread stoped [20:17:25]OFD Sender: No OFD packet to send [20:17:30]OFD Sender: No OFD packet to send [20:17:35]OFD Sender: No OFD packet to send [20:17:40]OFD Sender: No OFD packet to send [20:17:45]OFD Sender: No OFD packet to send [20:17:50]OFD Sender: No OFD packet to send [20:17:55]OFD Sender: No OFD packet to send [20:18:00]OFD Sender: No OFD packet to send [20:18:05]OFD Sender: No OFD packet to send [20:18:10]OFD Sender: No OFD packet to send [20:18:15]OFD Sender: No OFD packet to send [20:18:20]OFD Sender: No OFD packet to send [20:18:25]OFD Sender: No OFD packet to send [20:18:30]OFD Sender: No OFD packet to send [20:18:35]OFD Sender: No OFD packet to send [20:18:40]OFD Sender: No OFD packet to send [20:18:45]OFD Sender: No OFD packet to send [20:18:50]OFD Sender: No OFD packet to send [20:18:55]OFD Sender: No OFD packet to send [20:19:00]OFD Sender: No OFD packet to send [20:19:05]OFD Sender: No OFD packet to send [20:19:10]OFD Sender: No OFD packet to send [20:19:15]OFD Sender: No OFD packet to send [20:19:20]OFD Sender: No OFD packet to send [20:19:25]OFD Sender: No OFD packet to send [20:19:30]OFD Sender: No OFD packet to send [20:19:35]OFD Sender: No OFD packet to send [20:19:40]OFD Sender: No OFD packet to send [20:19:45]OFD Sender: No OFD packet to send [20:19:50]OFD Sender: No OFD packet to send [20:19:55]OFD Sender: No OFD packet to send [20:20:00]OFD Sender: No OFD packet to send [20:20:05]OFD Sender: No OFD packet to send [20:20:10]OFD Sender: No OFD packet to send [20:20:15]OFD Sender: No OFD packet to send [20:20:20]OFD Sender: No OFD packet to send [20:20:25]OFD Sender: No OFD packet to send [20:20:30]OFD Sender: No OFD packet to send [20:20:35]OFD Sender: No OFD packet to send [20:20:40]OFD Sender: No OFD packet to send [20:20:45]OFD Sender: No OFD packet to send [20:20:50]OFD Sender: No OFD packet to send [20:20:55]OFD Sender: No OFD packet to send [20:21:00]OFD Sender: No OFD packet to send [20:21:05]OFD Sender: No OFD packet to send [20:21:10]OFD Sender: No OFD packet to send [20:21:15]OFD Sender: No OFD packet to send [20:21:20]OFD Sender: No OFD packet to send [20:21:25]OFD Sender: No OFD packet to send [20:21:30]OFD Sender: No OFD packet to send [20:21:35]OFD Sender: No OFD packet to send [20:21:40]OFD Sender: No OFD packet to send [20:21:45]OFD Sender: No OFD packet to send [20:21:50]OFD Sender: No OFD packet to send [20:21:55]OFD Sender: No OFD packet to send [20:22:00]OFD Sender: No OFD packet to send [20:22:05]OFD Sender: No OFD packet to send [20:22:10]OFD Sender: No OFD packet to send [20:22:15]OFD Sender: No OFD packet to send [20:22:20]OFD Sender: No OFD packet to send [20:22:25]OFD Sender: No OFD packet to send [20:22:30]OFD Sender: No OFD packet to send [20:22:35]OFD Sender: No OFD packet to send [20:22:40]OFD Sender: No OFD packet to send [20:22:45]OFD Sender: No OFD packet to send [20:22:50]OFD Sender: No OFD packet to send [20:22:55]OFD Sender: No OFD packet to send [20:23:00]OFD Sender: No OFD packet to send [20:23:05]OFD Sender: No OFD packet to send [20:23:10]OFD Sender: No OFD packet to send [20:23:15]OFD Sender: No OFD packet to send [20:23:20]OFD Sender: No OFD packet to send [20:23:25]OFD Sender: No OFD packet to send [20:23:30]OFD Sender: No OFD packet to send [20:23:35]OFD Sender: No OFD packet to send [20:23:40]OFD Sender: No OFD packet to send [20:23:45]OFD Sender: No OFD packet to send [20:23:50]OFD Sender: No OFD packet to send [20:23:55]OFD Sender: No OFD packet to send [20:24:00]OFD Sender: No OFD packet to send [20:24:05]OFD Sender: No OFD packet to send [20:24:10]OFD Sender: No OFD packet to send [20:24:15]OFD Sender: No OFD packet to send [20:24:20]OFD Sender: No OFD packet to send [20:24:25]OFD Sender: No OFD packet to send [20:24:30]OFD Sender: No OFD packet to send [20:24:35]OFD Sender: No OFD packet to send [20:24:40]OFD Sender: No OFD packet to send [20:24:45]OFD Sender: No OFD packet to send [20:24:50]OFD Sender: No OFD packet to send [20:24:55]OFD Sender: No OFD packet to send [20:25:00]OFD Sender: No OFD packet to send [20:25:05]OFD Sender: No OFD packet to send [20:25:10]OFD Sender: No OFD packet to send [20:25:16]OFD Sender: No OFD packet to send [20:25:21]OFD Sender: No OFD packet to send [20:25:26]OFD Sender: No OFD packet to send [20:25:31]OFD Sender: No OFD packet to send [20:25:36]OFD Sender: No OFD packet to send [20:25:41]OFD Sender: No OFD packet to send [20:25:46]OFD Sender: No OFD packet to send [20:25:51]OFD Sender: No OFD packet to send [20:25:56]OFD Sender: No OFD packet to send [20:26:01]OFD Sender: No OFD packet to send [20:26:06]OFD Sender: No OFD packet to send [20:26:11]OFD Sender: No OFD packet to send [20:26:16]OFD Sender: No OFD packet to send [20:26:21]OFD Sender: No OFD packet to send [20:26:26]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:46]OFD Sender: No OFD packet to send [20:26:51]OFD Sender: No OFD packet to send [20:26:56]OFD Sender: No OFD packet to send [20:27:01]OFD Sender: No OFD packet to send [20:27:06]OFD Sender: No OFD packet to send [20:27:11]OFD Sender: No OFD packet to send [20:27:16]OFD Sender: No OFD packet to send [20:27:21]OFD Sender: No OFD packet to send [20:27:26]OFD Sender: No OFD packet to send [20:27:31]OFD Sender: No OFD packet to send [20:27:36]OFD Sender: No OFD packet to send [20:27:41]OFD Sender: No OFD packet to send [20:27:46]OFD Sender: No OFD packet to send [20:27:51]OFD Sender: No OFD packet to send [20:27:56]OFD Sender: No OFD packet to send [20:28:01]OFD Sender: No OFD packet to send [20:28:06]OFD Sender: No OFD packet to send [20:28:11]OFD Sender: No OFD packet to send [20:28:16]OFD Sender: No OFD packet to send [20:28:21]OFD Sender: No OFD packet to send [20:28:26]OFD Sender: No OFD packet to send [20:28:31]OFD Sender: No OFD packet to send [20:28:36]OFD Sender: No OFD packet to send [20:28:41]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:32:56]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:41]OFD Sender: No OFD packet to send [20:34:46]OFD Sender: No OFD packet to send [20:34:51]OFD Sender: No OFD packet to send [20:34:56]OFD Sender: No OFD packet to send [20:35:01]OFD Sender: No OFD packet to send [20:35:06]OFD Sender: No OFD packet to send [20:35:11]OFD Sender: No OFD packet to send [20:35:16]OFD Sender: No OFD packet to send [20:35:21]OFD Sender: No OFD packet to send [20:35:26]OFD Sender: No OFD packet to send [20:35:31]OFD Sender: No OFD packet to send [20:35:36]OFD Sender: No OFD packet to send [20:35:41]OFD Sender: No OFD packet to send [20:35:46]OFD Sender: No OFD packet to send [20:35:51]OFD Sender: No OFD packet to send [20:35:56]OFD Sender: No OFD packet to send [20:36:01]OFD Sender: No OFD packet to send [20:36:06]OFD Sender: No OFD packet to send [20:36:11]OFD Sender: No OFD packet to send [20:36:16]OFD Sender: No OFD packet to send [20:36:21]OFD Sender: No OFD packet to send [20:36:26]OFD Sender: No OFD packet to send [20:36:31]OFD Sender: No OFD packet to send [20:36:36]OFD Sender: No OFD packet to send [20:36:41]OFD Sender: No OFD packet to send [20:36:46]OFD Sender: No OFD packet to send [20:36:51]OFD Sender: No OFD packet to send [20:36:56]OFD Sender: No OFD packet to send [20:37:01]OFD Sender: No OFD packet to send [20:37:06]OFD Sender: No OFD packet to send [20:37:11]OFD Sender: No OFD packet to send [20:37:16]OFD Sender: No OFD packet to send [20:37:21]OFD Sender: No OFD packet to send [20:37:26]OFD Sender: No OFD packet to send [20:37:31]OFD Sender: No OFD packet to send [20:37:36]OFD Sender: No OFD packet to send [20:37:41]OFD Sender: No OFD packet to send [20:37:46]OFD Sender: No OFD packet to send [20:37:51]OFD Sender: No OFD packet to send [20:37:56]OFD Sender: No OFD packet to send [20:38:01]OFD Sender: No OFD packet to send [20:38:06]OFD Sender: No OFD packet to send [20:38:11]OFD Sender: No OFD packet to send [20:38:16]OFD Sender: No OFD packet to send [20:38:21]OFD Sender: No OFD packet to send [20:38:26]OFD Sender: No OFD packet to send [20:38:31]OFD Sender: No OFD packet to send [20:38:36]OFD Sender: No OFD packet to send [20:38:41]OFD Sender: No OFD packet to send [20:38:46]OFD Sender: No OFD packet to send [20:38:51]OFD Sender: No OFD packet to send [20:38:56]OFD Sender: No OFD packet to send [20:39:01]OFD Sender: No OFD packet to send [20:39:06]OFD Sender: No OFD packet to send [20:39:11]OFD Sender: No OFD packet to send [20:39:16]OFD Sender: No OFD packet to send [20:39:21]OFD Sender: No OFD packet to send [20:39:26]OFD Sender: No OFD packet to send [20:39:31]OFD Sender: No OFD packet to send [20:39:36]OFD Sender: No OFD packet to send [20:39:41]OFD Sender: No OFD packet to send [20:39:46]OFD Sender: No OFD packet to send [20:39:51]OFD Sender: No OFD packet to send [20:39:56]OFD Sender: No OFD packet to send [20:40:01]OFD Sender: No OFD packet to send [20:40:06]OFD Sender: No OFD packet to send [20:40:11]OFD Sender: No OFD packet to send [20:40:16]OFD Sender: No OFD packet to send [20:40:21]OFD Sender: No OFD packet to send [20:40:26]OFD Sender: No OFD packet to send [20:40:31]OFD Sender: No OFD packet to send [20:40:36]OFD Sender: No OFD packet to send [20:40:41]OFD Sender: No OFD packet to send [20:40:46]OFD Sender: No OFD packet to send [20:40:51]OFD Sender: No OFD packet to send [20:40:56]OFD Sender: No OFD packet to send [20:41:01]OFD Sender: No OFD packet to send [20:41:06]OFD Sender: No OFD packet to send [20:41:11]OFD Sender: No OFD packet to send [20:41:16]OFD Sender: No OFD packet to send [20:41:21]OFD Sender: No OFD packet to send [20:41:26]OFD Sender: No OFD packet to send [20:41:31]OFD Sender: No OFD packet to send [20:41:36]OFD Sender: No OFD packet to send [20:41:41]OFD Sender: No OFD packet to send [20:41:46]OFD Sender: No OFD packet to send [20:41:51]OFD Sender: No OFD packet to send [20:41:56]OFD Sender: No OFD packet to send [20:42:01]OFD Sender: No OFD packet to send [20:42:06]OFD Sender: No OFD packet to send [20:42:11]OFD Sender: No OFD packet to send [20:42:16]OFD Sender: No OFD packet to send [20:42:21]OFD Sender: No OFD packet to send [20:42:26]OFD Sender: No OFD packet to send [20:42:31]OFD Sender: No OFD packet to send [20:42:36]OFD Sender: No OFD packet to send [20:42:41]OFD Sender: No OFD packet to send [20:42:46]OFD Sender: No OFD packet to send [20:42:51]OFD Sender: No OFD packet to send [20:42:56]OFD Sender: No OFD packet to send [20:43:01]OFD Sender: No OFD packet to send [20:43:06]OFD Sender: No OFD packet to send [20:43:11]OFD Sender: No OFD packet to send [20:43:16]OFD Sender: No OFD packet to send [20:43:21]OFD Sender: No OFD packet to send [20:43:26]OFD Sender: No OFD packet to send [20:43:31]OFD Sender: No OFD packet to send [20:43:36]OFD Sender: No OFD packet to send [20:43:41]OFD Sender: No OFD packet to send [20:43:46]OFD Sender: No OFD packet to send [20:43:51]OFD Sender: No OFD packet to send [20:43:56]OFD Sender: No OFD packet to send [20:44:01]OFD Sender: No OFD packet to send [20:44:06]OFD Sender: No OFD packet to send [20:44:11]OFD Sender: No OFD packet to send [20:44:16]OFD Sender: No OFD packet to send [20:44:21]OFD Sender: No OFD packet to send [20:44:26]OFD Sender: No OFD packet to send [20:44:31]OFD Sender: No OFD packet to send [20:44:36]OFD Sender: No OFD packet to send [20:44:41]OFD Sender: No OFD packet to send [20:44:46]OFD Sender: No OFD packet to send [20:44:51]OFD Sender: No OFD packet to send [20:44:56]OFD Sender: No OFD packet to send [20:45:01]OFD Sender: No OFD packet to send [20:45:06]OFD Sender: No OFD packet to send [20:45:11]OFD Sender: No OFD packet to send [20:45:16]OFD Sender: No OFD packet to send [20:45:21]OFD Sender: No OFD packet to send [20:45:26]OFD Sender: No OFD packet to send [20:45:31]OFD Sender: No OFD packet to send [20:45:36]OFD Sender: No OFD packet to send [20:45:41]OFD Sender: No OFD packet to send [20:45:46]OFD Sender: No OFD packet to send [20:45:51]OFD Sender: No OFD packet to send [20:45:56]OFD Sender: No OFD packet to send [20:46:01]OFD Sender: No OFD packet to send [20:46:06]OFD Sender: No OFD packet to send [20:46:11]OFD Sender: No OFD packet to send [20:46:16]OFD Sender: No OFD packet to send [20:46:19]accept exits with 7 [20:46:19]New connection [20:46:19]New thread 3067243876 created [20:46:19]Thread 3067100516 joined [20:46:19]Waiting for new connection... [20:46:19] Sock 7.Parse request [20:46:19]Sock 7.Check first char [20:46:19]Sock 7.First char is OK [20:46:19]request: POST /json_proto HTTP/1.0 [20:46:19]Method: POST [20:46:19]URL: /json_proto [20:46:19]Method is POST - this is cgi request [20:46:19]url: /json_proto [20:46:19]query_string will be loaded in cgi processing [20:46:19]execute_cgi json_proto POST (null) [20:46:19]execute_cgi path=json_proto method=POST [20:46:19]POST find Content-Length [20:46:19]Host: 172.17.50.4:8080 [20:46:19]Content-Length: 608 [20:46:19]Content-Type: application/json [20:46:19] [20:46:19]POST finish read [20:46:19]Found Content-Length = 608 [20:46:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134811", "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" ] } } [20:46:19]execute_script... [20:46: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)134811", "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" ] } } [20:46:19]POST & json_proto [20:46:19]process_json_proto [20:46:19]json parsed OK: [20:46:19]protocol is kg_v1.0 [20:46:19]action value=close_receipt [20:46:19]process_action close_receipt [20:46:19]cmd_close_receipt [20:46:19]MH_GetDate [20:46:19]Write to MH i2c: F0 00 00 B9 1E C6 [20:46:19]Write i2c OK [20:46:19]MH_I2C_Read... [20:46:19]Read from MH i2c: F0 [20:46:19]MH_I2C_Read... [20:46:19]Read from MH i2c: F0 09 00 [20:46:19]MH_I2C_Read... [20:46:19]Read from MH i2c: F0 09 00 B9 1E 00 23 6C 15 67 1D BB 13 67 2C [20:46:19]GetLastDocTimeStamp 1729455444 [20:46:19]current date 1729457187 [20:46:19]FM_GetShiftState [20:46:19]SAM_PROTO_GetShiftState [20:46:19]wFMCommunicate request_size=4 [20:46:19]MH_SAM_APDU [20:46:19]CAPDU: 80 13 01 00 [20:46:19]Write to MH i2c: E2 08 00 BA 1E 80 13 01 00 00 00 00 00 55 [20:46:19]Write i2c OK [20:46:19]MH_I2C_Read... [20:46:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:19]Read from MH i2c: E2 [20:46:19]MH_I2C_Read... [20:46:19]Read from MH i2c: E2 0E 00 [20:46:19]MH_I2C_Read... [20:46:19]Read from MH i2c: E2 0E 00 BA 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 76 [20:46:19]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:46:19]wFMCommunicate OK [20:46:19]SAM_PROTO_GetShiftState done [20:46:19]FM_GetShiftState done [20:46:19]opened in 1729382737 [20:46:19]opened+sec_in_day 1729469137 [20:46:19]quantity*price = 2000 [20:46:19]sum+1 = 2001 [20:46:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 56 20.10.2024 20:46 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24286 ФПД: 180259113449221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T204627&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24286&fm=180259113449221&tin=02508201610067®Number=0000000000098120&sum=2000 0 [20:46:20]StoreToDocumentArchive [20:46:20]shift 460 fd 24286 [20:46:20]save to /storage/0460/doc_00024286 [20:46:20]save last doc name /storage/0460/doc_00024286 to /storage/kkm_last_doc_name [20:46:20]save OK [20:46:20]Clear old archive folders... [20:46:20]ProcessDocumentItem done err = 0, tmpTLVsize=267 [20:46:20]tlvbuf is 02063C10 [20:46:20]SAM_PROTO_ClearQueue [20:46:20]wFMCommunicate request_size=4 [20:46:20]MH_SAM_APDU [20:46:20]CAPDU: 80 09 00 00 [20:46:20]Write to MH i2c: E2 08 00 C7 1E 80 09 00 00 00 00 00 00 57 [20:46:20]Write i2c OK [20:46:20]MH_I2C_Read... [20:46:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:46:20]Read from MH i2c: E2 [20:46:20]MH_I2C_Read... [20:46:20]Read from MH i2c: E2 03 00 [20:46:20]MH_I2C_Read... [20:46:20]Read from MH i2c: E2 03 00 C7 1E 00 90 00 59 [20:46:20]RAPDU: 90 00 [20:46:20]wFMCommunicate OK [20:46:20]SAM_PROTO_ClearQueue done [20:46:20]KKMCreateOFDPacket [20:46:20]OFDProtocolAddRootSTLVToBuf [20:46:20]FM_MakeSignedData [20:46:20]FM_MakeSignedData [20:46:20]SAM_PROTO_SignData [20:46:20]wFMCommunicate request_size=4 [20:46:20]MH_SAM_APDU [20:46:20]CAPDU: 80 0D 01 02 [20:46:20]Write to MH i2c: E2 08 00 C8 1E 80 0D 01 02 00 00 00 00 5F [20:46:20]Write i2c OK [20:46:20]MH_I2C_Read... [20:46:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:46:20]Read from MH i2c: E2 [20:46:20]MH_I2C_Read... [20:46:20]Read from MH i2c: E2 03 00 [20:46:20]MH_I2C_Read... [20:46:20]Read from MH i2c: E2 03 00 C8 1E 00 90 00 5A [20:46:20]RAPDU: 90 00 [20:46:20]wFMCommunicate OK [20:46:20]wFMCommunicate request_size=255 [20:46:20]MH_SAM_APDU [20:46:20]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 38 00 00 00 F4 03 04 00 23 6C 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [20:46:20]Write to MH i2c: E2 02 01 C9 1E 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 38 00 00 00 F4 03 04 00 23 6C 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 24 [20:46:20]Write i2c OK [20:46:20]MH_I2C_Read... [20:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:21]Read from MH i2c: E2 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 03 00 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 03 00 C9 1E 00 90 00 5B [20:46:21]RAPDU: 90 00 [20:46:21]wFMCommunicate OK [20:46:21]wFMCommunicate request_size=26 [20:46:21]MH_SAM_APDU [20:46:21]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 DE 5E 00 00 35 04 06 00 A3 F1 D8 6C B7 05 [20:46:21]Write to MH i2c: E2 1D 00 CA 1E 80 0D 02 02 15 00 34 32 30 10 04 04 00 DE 5E 00 00 35 04 06 00 A3 F1 D8 6C B7 05 00 00 49 [20:46:21]Write i2c OK [20:46:21]MH_I2C_Read... [20:46:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:21]Read from MH i2c: E2 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 03 00 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 03 00 CA 1E 00 90 00 5C [20:46:21]RAPDU: 90 00 [20:46:21]wFMCommunicate OK [20:46:21]wFMCommunicate request_size=4 [20:46:21]MH_SAM_APDU [20:46:21]CAPDU: 80 0D 03 02 [20:46:21]Write to MH i2c: E2 08 00 CB 1E 80 0D 03 02 00 00 00 00 64 [20:46:21]Write i2c OK [20:46:21]MH_I2C_Read... [20:46:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:46:21]Read from MH i2c: E2 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 0B 00 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 0B 00 CB 1E 00 E6 92 7E 48 0E BC 84 A2 90 00 93 [20:46:21]RAPDU: E6 92 7E 48 0E BC 84 A2 90 00 [20:46:21]wFMCommunicate OK [20:46:21]SAM_PROTO_SignData done [20:46:21]FM_MakeSignedData done [20:46:21]CreateOFDProtocolMessage [20:46:21]wFMCommunicate request_size=4 [20:46:21]MH_SAM_APDU [20:46:21]CAPDU: 80 11 00 00 [20:46:21]Write to MH i2c: E2 08 00 CC 1E 80 11 00 00 00 00 00 00 64 [20:46:21]Write i2c OK [20:46:21]MH_I2C_Read... [20:46:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:46:21]Read from MH i2c: E2 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 17 00 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: E2 17 00 CC 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [20:46:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:46:21]wFMCommunicate OK [20:46:21]CreateOFDProtocolMessage done [20:46:21]OFDSenderStorePacket 24286 [20:46:21]StoreOFDPacket docnum=24286 [20:46:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 2C 8D 17 01 61 3F 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 38 00 00 00 F4 03 04 00 23 6C 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DE 5E 00 00 35 04 06 00 A3 F1 D8 6C B7 05 E6 92 7E 48 0E BC 84 A2 [20:46:21]CheckFolder [20:46:21]dirname=/storage/ofd_packets [20:46:21]CheckFolder done [20:46:21]ProducePacketName [20:46:21]name=ofd_packets/00024286 [20:46:21]NVStorageSaveData ofd_packets/00024286 [20:46:21]File name is /storage/ofd_packets/00024286 [20:46:21]Write 317 bytes [20:46:21]NVStorageSaveData done [20:46:21]OFDSenderStorePacket done [20:46:21]KKMCreateOFDPacket done [20:46:21]NVStorageSaveData kkm_last_timestamp [20:46:21]File name is /storage/kkm_last_timestamp [20:46:21]Write 4 bytes [20:46:21]NVStorageSaveData done [20:46:21]ExternCall_PrintAddStr [20:46:21]wPrintStart [20:46:21]Write to MH i2c: 01 00 00 CD 1E EB [20:46:21]Write i2c OK [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: 01 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: 01 07 00 [20:46:21]MH_I2C_Read... [20:46:21]Read from MH i2c: 01 07 00 CD 1E 00 00 00 00 00 FF 0F 00 [20:46:21]RasterBufferAndPrint [20:46:21]line Счет N : (3)134811 [20:46:21]line ИНН: 02508201610067 [20:46:21]line Контрольно-Кассовый Чек [20:46:21]line ПРОДАЖА [20:46:21]line Товар: 46231529 [20:46:21]line Mentos ПФ Арбуз 6*100*2 [20:46:21]line 2.000 * 10.00 [20:46:21]line = 20.00 [20:46:21]line НДС 12% НСП 1% [20:46:21]line > о реализуемом товаре [20:46:21]line ИТОГО: 20.00 [20:46:21]line НСП 1% : 0.18 [20:46:21]line НДС 12% : 2.12 [20:46:21]line Наличными: 20.00 [20:46:21]line Безнал.: 0.00 [20:46:21]line Место: АЗС № 85 "Партнер Нефть" [20:46:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:46:21]line СНО: Общий режим [20:46:21]line Чек 56 20.10.2024 20:46 [20:46:21]line Смена: 460 ФФД: 1.0 [20:46:21]line ЗНМ: 0300000166 [20:46:21]line РНМ: 0000000000098120 [20:46:21]line Версия ККМ: 001 [20:46:21]line ФМ: 0000000000965420 [20:46:21]line ФД: 24286 [20:46:21]line ФПД: 180259113449221 [20:46:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T204627&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24286&fm=180259113449221&tin=02508201610067®Number=0000000000098120&sum=2000 [20:46:21]OFD Sender: Processing packet 24286 [packets to send 5, broken 4] [20:46:21]ProducePacketName [20:46:21]name=ofd_packets/00024286 [20:46:21]OFD Sender: To server: pG, [20:46:21]CommunicateWithHost lk.salyk.kg:30040 [20:46:21]ConnectInit lk.salyk.kg [20:46:21]line 0 [20:46:21]written 0, free lines is 4095 [20:46:21]Connected sock=10 [20:46:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 2C 8D 17 01 61 3F 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 38 00 00 00 F4 03 04 00 23 6C 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DE 5E 00 00 35 04 06 00 A3 F1 D8 6C B7 05 E6 92 7E 48 0E BC 84 A2 [20:46:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 7B F9 47 00 B7 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DE 5E 00 00 F4 03 04 00 BA 17 15 67 B6 04 01 00 00 3D F4 09 2B 53 64 11 5C [20:46:22]CommunicateWithHost err = 0 [20:46:22]CheckOFDResponse [20:46:22]1017 (14) - 77093643461234 [20:46:22]1041 (16) - 0000000000965420 [20:46:22]1040 (4) - 24286 [20:46:22]1012 (4) - 20.10.2024 14:46 [20:46:22]1206 (1) - 0 [20:46:22]OFD Sender: Remove packet 24286 [20:46:22]ProducePacketName [20:46:22]name=ofd_packets/00024286 [20:46:22]NVStorageDeleteData [20:46:22]Write to MH i2c: 01 00 00 F5 1E 13 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: 01 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: 01 07 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: 01 07 00 F5 1E 00 00 00 00 00 29 0D 50 [20:46:22]RasterBufferAndPrint [20:46:22]line [20:46:22]line [20:46:22]line [20:46:22]line [20:46:22]line [20:46:22]written 0, free lines is 3378 [20:46:22]process_action close_receipt done [20:46:22]requested_data is exist [20:46:22]produce_requested_data [20:46:22]requested_item fm.sn is exist - process it [20:46:22]wFMCommunicate request_size=4 [20:46:22]MH_SAM_APDU [20:46:22]CAPDU: 80 11 00 00 [20:46:22]Write to MH i2c: E2 08 00 FC 1E 80 11 00 00 00 00 00 00 94 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:46:22]Read from MH i2c: E2 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 17 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 17 00 FC 1E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E1 [20:46:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:46:22]wFMCommunicate OK [20:46:22]requested_item fd.num is exist - process it [20:46:22]SAM_PROTO_GetFieldsCounters [20:46:22]wFMCommunicate request_size=4 [20:46:22]MH_SAM_APDU [20:46:22]CAPDU: 80 13 00 00 [20:46:22]Write to MH i2c: E2 08 00 FD 1E 80 13 00 00 00 00 00 00 97 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:46:22]Read from MH i2c: E2 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 62 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 62 00 FD 1E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [20:46:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DE 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:46:22]wFMCommunicate OK [20:46:22]SAM_PROTO_GetFieldsCounters done [20:46:22]requested_item shift.num is exist - process it [20:46:22]requested_item shift.opened is exist - process it [20:46:22]req_shift_opened [20:46:22]FM_GetShiftState [20:46:22]SAM_PROTO_GetShiftState [20:46:22]wFMCommunicate request_size=4 [20:46:22]MH_SAM_APDU [20:46:22]CAPDU: 80 13 01 00 [20:46:22]Write to MH i2c: E2 08 00 FE 1E 80 13 01 00 00 00 00 00 99 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:22]Read from MH i2c: E2 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 0E 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 0E 00 FE 1E 00 09 00 01 51 49 14 67 00 00 00 00 90 00 BA [20:46:22]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:46:22]wFMCommunicate OK [20:46:22]SAM_PROTO_GetShiftState done [20:46:22]FM_GetShiftState done [20:46:22]req_shift_opened done [20:46:22]requested_item shift.open_date is exist - process it [20:46:22]req_shift_open_date [20:46:22]req_shift_open_date done [20:46:22]produce_requested_data done [20:46:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24286,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [20:46:22]process_action_free close_receipt [20:46:22]json_value_free [20:46:22]json_value_free done [20:46:22]process_json_proto returns [20:46:22]Send response to host [20:46:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24286,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [20:46:22]free response buf [20:46:22]execute_script done [20:46:22]execute_script returns [20:46:22]free content buf [20:46:22]Sock 7.Close socket [20:46:22]Sock 7.Thread stoped [20:46:22]OFD Sender: No OFD packet to send [20:46:27]OFD Sender: No OFD packet to send [20:46:32]OFD Sender: No OFD packet to send [20:46:37]OFD Sender: No OFD packet to send [20:46:42]OFD Sender: No OFD packet to send [20:46:47]OFD Sender: No OFD packet to send [20:46:52]OFD Sender: No OFD packet to send [20:46:57]OFD Sender: No OFD packet to send [20:47:02]OFD Sender: No OFD packet to send [20:47:07]OFD Sender: No OFD packet to send [20:47:12]OFD Sender: No OFD packet to send [20:47:17]OFD Sender: No OFD packet to send [20:47:22]OFD Sender: No OFD packet to send [20:47:27]OFD Sender: No OFD packet to send [20:47:32]OFD Sender: No OFD packet to send [20:47:37]OFD Sender: No OFD packet to send [20:47:42]OFD Sender: No OFD packet to send [20:47:47]OFD Sender: No OFD packet to send [20:47:52]OFD Sender: No OFD packet to send [20:47:57]OFD Sender: No OFD packet to send [20:48:02]OFD Sender: No OFD packet to send [20:48:07]OFD Sender: No OFD packet to send [20:48:12]OFD Sender: No OFD packet to send [20:48:17]OFD Sender: No OFD packet to send [20:48:22]OFD Sender: No OFD packet to send [20:48:27]OFD Sender: No OFD packet to send [20:48:32]OFD Sender: No OFD packet to send [20:48:37]OFD Sender: No OFD packet to send [20:48:42]OFD Sender: No OFD packet to send [20:48:47]OFD Sender: No OFD packet to send [20:48:52]OFD Sender: No OFD packet to send [20:48:57]OFD Sender: No OFD packet to send [20:49:02]OFD Sender: No OFD packet to send [20:49:07]OFD Sender: No OFD packet to send [20:49:12]OFD Sender: No OFD packet to send [20:49:17]OFD Sender: No OFD packet to send [20:49:22]OFD Sender: No OFD packet to send [20:49:27]OFD Sender: No OFD packet to send [20:49:32]OFD Sender: No OFD packet to send [20:49:37]OFD Sender: No OFD packet to send [20:49:42]OFD Sender: No OFD packet to send [20:49:47]OFD Sender: No OFD packet to send [20:49:52]OFD Sender: No OFD packet to send [20:49:57]OFD Sender: No OFD packet to send [20:50:02]OFD Sender: No OFD packet to send [20:50:07]OFD Sender: No OFD packet to send [20:50:12]OFD Sender: No OFD packet to send [20:50:17]OFD Sender: No OFD packet to send [20:50:22]OFD Sender: No OFD packet to send [20:50:27]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53:42]OFD Sender: No OFD packet to send [20:53:47]OFD Sender: No OFD packet to send [20:53:52]OFD Sender: No OFD packet to send [20:53:57]OFD Sender: No OFD packet to send [20:54:02]OFD Sender: No OFD packet to send [20:54:07]OFD Sender: No OFD packet to send [20:54:12]OFD Sender: No OFD packet to send [20:54:17]OFD Sender: No OFD packet to send [20:54:22]OFD Sender: No OFD packet to send [20:54:27]OFD Sender: No OFD packet to send [20:54:32]OFD Sender: No OFD packet to send [20:54:37]OFD Sender: No OFD packet to send [20:54:42]OFD Sender: No OFD packet to send [20:54:47]OFD Sender: No OFD packet to send [20:54:52]OFD Sender: No OFD packet to send [20:54:57]OFD Sender: No OFD packet to send [20:55:02]OFD Sender: No OFD packet to send [20:55:07]OFD Sender: No OFD packet to send [20:55:12]OFD Sender: No OFD packet to send [20:55:17]OFD Sender: No OFD packet to send [20:55:22]OFD Sender: No OFD packet to send [20:55:27]OFD Sender: No OFD packet to send [20:55:32]OFD Sender: No OFD packet to send [20:55:37]OFD Sender: No OFD packet to send [20:55:42]OFD Sender: No OFD packet to send [20:55:47]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:08]accept exits with 9 [20:59:08]New connection [20:59:08]New thread 3067100516 created [20:59:08]Thread 3067243876 joined [20:59:08]Waiting for new connection... [20:59:08] Sock 9.Parse request [20:59:08]Sock 9.Check first char [20:59:08]Sock 9.First char is OK [20:59:08]request: POST /json_proto HTTP/1.0 [20:59:08]Method: POST [20:59:08]URL: /json_proto [20:59:08]Method is POST - this is cgi request [20:59:08]url: /json_proto [20:59:08]query_string will be loaded in cgi processing [20:59:08]execute_cgi json_proto POST (null) [20:59:08]execute_cgi path=json_proto method=POST [20:59:08]POST find Content-Length [20:59:08]Host: 172.17.50.4:8080 [20:59:08]Content-Length: 608 [20:59:08]Content-Type: application/json [20:59:08] [20:59:08]POST finish read [20:59:08]Found Content-Length = 608 [20:59:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134812", "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" ] } } [20:59:08]execute_script... [20:59: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)134812", "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" ] } } [20:59:08]POST & json_proto [20:59:08]process_json_proto [20:59:08]json parsed OK: [20:59:08]protocol is kg_v1.0 [20:59:08]action value=close_receipt [20:59:08]process_action close_receipt [20:59:08]cmd_close_receipt [20:59:08]MH_GetDate [20:59:08]Write to MH i2c: F0 00 00 FF 1E 0C [20:59:08]Write i2c OK [20:59:08]MH_I2C_Read... [20:59:08]Read from MH i2c: F0 [20:59:08]MH_I2C_Read... [20:59:08]Read from MH i2c: F0 09 00 [20:59:08]MH_I2C_Read... [20:59:08]Read from MH i2c: F0 09 00 FF 1E 00 24 6F 15 67 1D BB 13 67 76 [20:59:08]GetLastDocTimeStamp 1729457187 [20:59:08]current date 1729457956 [20:59:08]FM_GetShiftState [20:59:08]SAM_PROTO_GetShiftState [20:59:08]wFMCommunicate request_size=4 [20:59:08]MH_SAM_APDU [20:59:08]CAPDU: 80 13 01 00 [20:59:08]Write to MH i2c: E2 08 00 00 1F 80 13 01 00 00 00 00 00 9C [20:59:08]Write i2c OK [20:59:08]MH_I2C_Read... [20:59:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:08]Read from MH i2c: E2 [20:59:08]MH_I2C_Read... [20:59:08]Read from MH i2c: E2 0E 00 [20:59:08]MH_I2C_Read... [20:59:08]Read from MH i2c: E2 0E 00 00 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 BD [20:59:08]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:59:08]wFMCommunicate OK [20:59:08]SAM_PROTO_GetShiftState done [20:59:08]FM_GetShiftState done [20:59:08]opened in 1729382737 [20:59:08]opened+sec_in_day 1729469137 [20:59:08]quantity*price = 2000 [20:59:08]sum+1 = 2001 [20:59:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 57 20.10.2024 20:59 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24287 ФПД: 218608174838002 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205916&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24287&fm=218608174838002&tin=02508201610067®Number=0000000000098120&sum=2000 0 [20:59:09]StoreToDocumentArchive [20:59:09]shift 460 fd 24287 [20:59:09]save to /storage/0460/doc_00024287 [20:59:09]save last doc name /storage/0460/doc_00024287 to /storage/kkm_last_doc_name [20:59:09]save OK [20:59:09]Clear old archive folders... [20:59:09]ProcessDocumentItem done err = 0, tmpTLVsize=267 [20:59:09]tlvbuf is B6F21630 [20:59:09]SAM_PROTO_ClearQueue [20:59:09]wFMCommunicate request_size=4 [20:59:09]MH_SAM_APDU [20:59:09]CAPDU: 80 09 00 00 [20:59:09]Write to MH i2c: E2 08 00 0D 1F 80 09 00 00 00 00 00 00 9E [20:59:09]Write i2c OK [20:59:09]MH_I2C_Read... [20:59:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:59:09]Read from MH i2c: E2 [20:59:09]MH_I2C_Read... [20:59:09]Read from MH i2c: E2 03 00 [20:59:09]MH_I2C_Read... [20:59:09]Read from MH i2c: E2 03 00 0D 1F 00 90 00 A0 [20:59:09]RAPDU: 90 00 [20:59:09]wFMCommunicate OK [20:59:09]SAM_PROTO_ClearQueue done [20:59:09]KKMCreateOFDPacket [20:59:09]OFDProtocolAddRootSTLVToBuf [20:59:09]FM_MakeSignedData [20:59:09]FM_MakeSignedData [20:59:09]SAM_PROTO_SignData [20:59:09]wFMCommunicate request_size=4 [20:59:09]MH_SAM_APDU [20:59:09]CAPDU: 80 0D 01 02 [20:59:09]Write to MH i2c: E2 08 00 0E 1F 80 0D 01 02 00 00 00 00 A6 [20:59:09]Write i2c OK [20:59:09]MH_I2C_Read... [20:59:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:59:09]Read from MH i2c: E2 [20:59:09]MH_I2C_Read... [20:59:09]Read from MH i2c: E2 03 00 [20:59:09]MH_I2C_Read... [20:59:09]Read from MH i2c: E2 03 00 0E 1F 00 90 00 A1 [20:59:09]RAPDU: 90 00 [20:59:09]wFMCommunicate OK [20:59:09]wFMCommunicate request_size=255 [20:59:09]MH_SAM_APDU [20:59:09]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 39 00 00 00 F4 03 04 00 24 6F 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [20:59:09]Write to MH i2c: E2 02 01 0F 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 39 00 00 00 F4 03 04 00 24 6F 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 70 [20:59:09]Write i2c OK [20:59:09]MH_I2C_Read... [20:59:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:10]Read from MH i2c: E2 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 03 00 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 03 00 0F 1F 00 90 00 A2 [20:59:10]RAPDU: 90 00 [20:59:10]wFMCommunicate OK [20:59:10]wFMCommunicate request_size=26 [20:59:10]MH_SAM_APDU [20:59:10]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 DF 5E 00 00 35 04 06 00 C6 D2 AE 9B 30 F2 [20:59:10]Write to MH i2c: E2 1D 00 10 1F 80 0D 02 02 15 00 34 32 30 10 04 04 00 DF 5E 00 00 35 04 06 00 C6 D2 AE 9B 30 F2 00 00 00 [20:59:10]Write i2c OK [20:59:10]MH_I2C_Read... [20:59:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:59:10]Read from MH i2c: E2 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 03 00 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 03 00 10 1F 00 90 00 A3 [20:59:10]RAPDU: 90 00 [20:59:10]wFMCommunicate OK [20:59:10]wFMCommunicate request_size=4 [20:59:10]MH_SAM_APDU [20:59:10]CAPDU: 80 0D 03 02 [20:59:10]Write to MH i2c: E2 08 00 11 1F 80 0D 03 02 00 00 00 00 AB [20:59:10]Write i2c OK [20:59:10]MH_I2C_Read... [20:59:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:59:10]Read from MH i2c: E2 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 0B 00 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 0B 00 11 1F 00 5D 62 64 CA 5A BC 11 59 90 00 19 [20:59:10]RAPDU: 5D 62 64 CA 5A BC 11 59 90 00 [20:59:10]wFMCommunicate OK [20:59:10]SAM_PROTO_SignData done [20:59:10]FM_MakeSignedData done [20:59:10]CreateOFDProtocolMessage [20:59:10]wFMCommunicate request_size=4 [20:59:10]MH_SAM_APDU [20:59:10]CAPDU: 80 11 00 00 [20:59:10]Write to MH i2c: E2 08 00 12 1F 80 11 00 00 00 00 00 00 AB [20:59:10]Write i2c OK [20:59:10]MH_I2C_Read... [20:59:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:10]Read from MH i2c: E2 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 17 00 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: E2 17 00 12 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F8 [20:59:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:59:10]wFMCommunicate OK [20:59:10]CreateOFDProtocolMessage done [20:59:10]OFDSenderStorePacket 24287 [20:59:10]StoreOFDPacket docnum=24287 [20:59:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 FC F4 17 01 8C 9C 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 39 00 00 00 F4 03 04 00 24 6F 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DF 5E 00 00 35 04 06 00 C6 D2 AE 9B 30 F2 5D 62 64 CA 5A BC 11 59 [20:59:10]CheckFolder [20:59:10]dirname=/storage/ofd_packets [20:59:10]CheckFolder done [20:59:10]ProducePacketName [20:59:10]name=ofd_packets/00024287 [20:59:10]NVStorageSaveData ofd_packets/00024287 [20:59:10]File name is /storage/ofd_packets/00024287 [20:59:10]Write 317 bytes [20:59:10]NVStorageSaveData done [20:59:10]OFDSenderStorePacket done [20:59:10]KKMCreateOFDPacket done [20:59:10]NVStorageSaveData kkm_last_timestamp [20:59:10]File name is /storage/kkm_last_timestamp [20:59:10]Write 4 bytes [20:59:10]NVStorageSaveData done [20:59:10]ExternCall_PrintAddStr [20:59:10]wPrintStart [20:59:10]Write to MH i2c: 01 00 00 13 1F 32 [20:59:10]Write i2c OK [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: 01 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: 01 07 00 [20:59:10]MH_I2C_Read... [20:59:10]Read from MH i2c: 01 07 00 13 1F 00 00 00 00 00 FF 0F 47 [20:59:10]RasterBufferAndPrint [20:59:10]line Счет N : (3)134812 [20:59:10]line ИНН: 02508201610067 [20:59:10]line Контрольно-Кассовый Чек [20:59:10]line ПРОДАЖА [20:59:10]line Товар: 46231529 [20:59:10]line Mentos ПФ Арбуз 6*100*2 [20:59:10]line 2.000 * 10.00 [20:59:10]line = 20.00 [20:59:10]line НДС 12% НСП 1% [20:59:10]line > о реализуемом товаре [20:59:10]line ИТОГО: 20.00 [20:59:10]line НСП 1% : 0.18 [20:59:10]line НДС 12% : 2.12 [20:59:10]line Наличными: 20.00 [20:59:10]line Безнал.: 0.00 [20:59:10]line Место: АЗС № 85 "Партнер Нефть" [20:59:10]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:59:10]line СНО: Общий режим [20:59:10]line Чек 57 20.10.2024 20:59 [20:59:10]line Смена: 460 ФФД: 1.0 [20:59:10]line ЗНМ: 0300000166 [20:59:10]line РНМ: 0000000000098120 [20:59:10]line Версия ККМ: 001 [20:59:10]line ФМ: 0000000000965420 [20:59:10]line ФД: 24287 [20:59:10]line ФПД: 218608174838002 [20:59:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T205916&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24287&fm=218608174838002&tin=02508201610067®Number=0000000000098120&sum=2000 [20:59:10]line 0 [20:59:10]OFD Sender: Processing packet 24287 [packets to send 5, broken 4] [20:59:10]ProducePacketName [20:59:10]name=ofd_packets/00024287 [20:59:10]OFD Sender: To server: pG, [20:59:10]CommunicateWithHost lk.salyk.kg:30040 [20:59:10]ConnectInit lk.salyk.kg [20:59:10]written 0, free lines is 4095 [20:59:10]Connected sock=10 [20:59:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 FC F4 17 01 8C 9C 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 39 00 00 00 F4 03 04 00 24 6F 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DF 5E 00 00 35 04 06 00 C6 D2 AE 9B 30 F2 5D 62 64 CA 5A BC 11 59 [20:59:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 39 60 47 00 67 D3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 DF 5E 00 00 F4 03 04 00 BB 1A 15 67 B6 04 01 00 00 FF C0 8A FB B7 73 74 8D [20:59:10]CommunicateWithHost err = 0 [20:59:10]CheckOFDResponse [20:59:10]1017 (14) - 77093643461234 [20:59:10]1041 (16) - 0000000000965420 [20:59:10]1040 (4) - 24287 [20:59:10]1012 (4) - 20.10.2024 14:59 [20:59:10]1206 (1) - 0 [20:59:10]OFD Sender: Remove packet 24287 [20:59:10]ProducePacketName [20:59:10]name=ofd_packets/00024287 [20:59:10]NVStorageDeleteData [20:59:11]Write to MH i2c: 01 00 00 3B 1F 5A [20:59:11]Write i2c OK [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: 01 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: 01 07 00 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: 01 07 00 3B 1F 00 00 00 00 00 2C 0D 9A [20:59:11]RasterBufferAndPrint [20:59:11]line [20:59:11]line [20:59:11]line [20:59:11]line [20:59:11]line [20:59:11]written 0, free lines is 3378 [20:59:11]process_action close_receipt done [20:59:11]requested_data is exist [20:59:11]produce_requested_data [20:59:11]requested_item fm.sn is exist - process it [20:59:11]wFMCommunicate request_size=4 [20:59:11]MH_SAM_APDU [20:59:11]CAPDU: 80 11 00 00 [20:59:11]Write to MH i2c: E2 08 00 42 1F 80 11 00 00 00 00 00 00 DB [20:59:11]Write i2c OK [20:59:11]MH_I2C_Read... [20:59:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:59:11]Read from MH i2c: E2 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 17 00 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 17 00 42 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 28 [20:59:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:59:11]wFMCommunicate OK [20:59:11]requested_item fd.num is exist - process it [20:59:11]SAM_PROTO_GetFieldsCounters [20:59:11]wFMCommunicate request_size=4 [20:59:11]MH_SAM_APDU [20:59:11]CAPDU: 80 13 00 00 [20:59:11]Write to MH i2c: E2 08 00 43 1F 80 13 00 00 00 00 00 00 DE [20:59:11]Write i2c OK [20:59:11]MH_I2C_Read... [20:59:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:59:11]Read from MH i2c: E2 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 62 00 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 62 00 43 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 A9 [20:59:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 DF 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:59:11]wFMCommunicate OK [20:59:11]SAM_PROTO_GetFieldsCounters done [20:59:11]requested_item shift.num is exist - process it [20:59:11]requested_item shift.opened is exist - process it [20:59:11]req_shift_opened [20:59:11]FM_GetShiftState [20:59:11]SAM_PROTO_GetShiftState [20:59:11]wFMCommunicate request_size=4 [20:59:11]MH_SAM_APDU [20:59:11]CAPDU: 80 13 01 00 [20:59:11]Write to MH i2c: E2 08 00 44 1F 80 13 01 00 00 00 00 00 E0 [20:59:11]Write i2c OK [20:59:11]MH_I2C_Read... [20:59:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:59:11]Read from MH i2c: E2 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 0E 00 [20:59:11]MH_I2C_Read... [20:59:11]Read from MH i2c: E2 0E 00 44 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 01 [20:59:11]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [20:59:11]wFMCommunicate OK [20:59:11]SAM_PROTO_GetShiftState done [20:59:11]FM_GetShiftState done [20:59:11]req_shift_opened done [20:59:11]requested_item shift.open_date is exist - process it [20:59:11]req_shift_open_date [20:59:11]req_shift_open_date done [20:59:11]produce_requested_data done [20:59:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24287,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [20:59:11]process_action_free close_receipt [20:59:11]json_value_free [20:59:11]json_value_free done [20:59:11]process_json_proto returns [20:59:11]Send response to host [20:59:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24287,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [20:59:11]free response buf [20:59:11]execute_script done [20:59:11]execute_script returns [20:59:11]free content buf [20:59:11]Sock 9.Close socket [20:59:11]Sock 9.Thread stoped [20:59:11]OFD Sender: No OFD packet to send [20:59:16]OFD Sender: No OFD packet to send [20:59:21]OFD Sender: No OFD packet to send [20:59:26]OFD Sender: No OFD packet to send [20:59:31]OFD Sender: No OFD packet to send [20:59:36]OFD Sender: No OFD packet to send [20:59:41]OFD Sender: No OFD packet to send [20:59:46]OFD Sender: No OFD packet to send [20:59:51]OFD Sender: No OFD packet to send [20:59:56]OFD Sender: No OFD packet to send [21:00:01]OFD Sender: No OFD packet to send [21:00:06]OFD Sender: No OFD packet to send [21:00:11]OFD Sender: No OFD packet to send [21:00:16]OFD Sender: No OFD packet to send [21:00:21]OFD Sender: No OFD packet to send [21:00:26]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [21:02:16]OFD Sender: No OFD packet to send [21:02:21]OFD Sender: No OFD packet to send [21:02:26]OFD Sender: No OFD packet to send [21:02:31]OFD Sender: No OFD packet to send [21:02:36]OFD Sender: No OFD packet to send [21:02:41]OFD Sender: No OFD packet to send [21:02:46]OFD Sender: No OFD packet to send [21:02:51]OFD Sender: No OFD packet to send [21:02:56]OFD Sender: No OFD packet to send [21:03:01]OFD Sender: No OFD packet to send [21:03:06]OFD Sender: No OFD packet to send [21:03:11]OFD Sender: No OFD packet to send [21:03:16]OFD Sender: No OFD packet to send [21:03:21]OFD Sender: No OFD packet to send [21:03:26]OFD Sender: No OFD packet to send [21:03:31]OFD Sender: No OFD packet to send [21:03:36]OFD Sender: No OFD packet to send [21:03:41]OFD Sender: No OFD packet to send [21:03:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:16]OFD Sender: No OFD packet to send [21:06:21]OFD Sender: No OFD packet to send [21:06:26]OFD Sender: No OFD packet to send [21:06:31]OFD Sender: No OFD packet to send [21:06:36]OFD Sender: No OFD packet to send [21:06:41]OFD Sender: No OFD packet to send [21:06:46]OFD Sender: No OFD packet to send [21:06:51]OFD Sender: No OFD packet to send [21:06:56]OFD Sender: No OFD packet to send [21:07:01]OFD Sender: No OFD packet to send [21:07:06]OFD Sender: No OFD packet to send [21:07:11]OFD Sender: No OFD packet to send [21:07:16]OFD Sender: No OFD packet to send [21:07:21]OFD Sender: No OFD packet to send [21:07:26]OFD Sender: No OFD packet to send [21:07:31]OFD Sender: No OFD packet to send [21:07:36]OFD Sender: No OFD packet to send [21:07:41]OFD Sender: No OFD packet to send [21:07:46]OFD Sender: No OFD packet to send [21:07:51]OFD Sender: No OFD packet to send [21:07:56]OFD Sender: No OFD packet to send [21:08:01]OFD Sender: No OFD packet to send [21:08:06]OFD Sender: No OFD packet to send [21:08:11]OFD Sender: No OFD packet to send [21:08:16]OFD Sender: No OFD packet to send [21:08:21]OFD Sender: No OFD packet to send [21:08:26]OFD Sender: No OFD packet to send [21:08:31]OFD Sender: No OFD packet to send [21:08:36]OFD Sender: No OFD packet to send [21:08:41]OFD Sender: No OFD packet to send [21:08:46]OFD Sender: No OFD packet to send [21:08:51]OFD Sender: No OFD packet to send [21:08:56]OFD Sender: No OFD packet to send [21:09:01]OFD Sender: No OFD packet to send [21:09:06]OFD Sender: No OFD packet to send [21:09:11]OFD Sender: No OFD packet to send [21:09:16]OFD Sender: No OFD packet to send [21:09:21]OFD Sender: No OFD packet to send [21:09:26]OFD Sender: No OFD packet to send [21:09:31]OFD Sender: No OFD packet to send [21:09:36]OFD Sender: No OFD packet to send [21:09:41]OFD Sender: No OFD packet to send [21:09:46]OFD Sender: No OFD packet to send [21:09:51]OFD Sender: No OFD packet to send [21:09:56]OFD Sender: No OFD packet to send [21:10:01]OFD Sender: No OFD packet to send [21:10:06]OFD Sender: No OFD packet to send [21:10:11]OFD Sender: No OFD packet to send [21:10:16]OFD Sender: No OFD packet to send [21:10:21]OFD Sender: No OFD packet to send [21:10:26]OFD Sender: No OFD packet to send [21:10:31]OFD Sender: No OFD packet to send [21:10:36]OFD Sender: No OFD packet to send [21:10:41]OFD Sender: No OFD packet to send [21:10:47]OFD Sender: No OFD packet to send [21:10:52]OFD Sender: No OFD packet to send [21:10:57]OFD Sender: No OFD packet to send [21:11:02]OFD Sender: No OFD packet to send [21:11:07]OFD Sender: No OFD packet to send [21:11:12]OFD Sender: No OFD packet to send [21:11:17]OFD Sender: No OFD packet to send [21:11:22]OFD Sender: No OFD packet to send [21:11:27]OFD Sender: No OFD packet to send [21:11:32]OFD Sender: No OFD packet to send [21:11:37]OFD Sender: No OFD packet to send [21:11:42]OFD Sender: No OFD packet to send [21:11:47]OFD Sender: No OFD packet to send [21:11:52]OFD Sender: No OFD packet to send [21:11:57]OFD Sender: No OFD packet to send [21:12:02]OFD Sender: No OFD packet to send [21:12:07]OFD Sender: No OFD packet to send [21:12:12]OFD Sender: No OFD packet to send [21:12:17]OFD Sender: No OFD packet to send [21:12:22]OFD Sender: No OFD packet to send [21:12:27]OFD Sender: No OFD packet to send [21:12:32]OFD Sender: No OFD packet to send [21:12:37]OFD Sender: No OFD packet to send [21:12:42]OFD Sender: No OFD packet to send [21:12:47]OFD Sender: No OFD packet to send [21:12:52]OFD Sender: No OFD packet to send [21:12:57]OFD Sender: No OFD packet to send [21:13:02]OFD Sender: No OFD packet to send [21:13:07]OFD Sender: No OFD packet to send [21:13:12]OFD Sender: No OFD packet to send [21:13:17]OFD Sender: No OFD packet to send [21:13:22]OFD Sender: No OFD packet to send [21:13:27]OFD Sender: No OFD packet to send [21:13:32]OFD Sender: No OFD packet to send [21:13:37]OFD Sender: No OFD packet to send [21:13:42]OFD Sender: No OFD packet to send [21:13:47]OFD Sender: No OFD packet to send [21:13:52]OFD Sender: No OFD packet to send [21:13:57]OFD Sender: No OFD packet to send [21:14:02]OFD Sender: No OFD packet to send [21:14:07]OFD Sender: No OFD packet to send [21:14:12]OFD Sender: No OFD packet to send [21:14:17]OFD Sender: No OFD packet to send [21:14:22]OFD Sender: No OFD packet to send [21:14:27]OFD Sender: No OFD packet to send [21:14:32]OFD Sender: No OFD packet to send [21:14:37]OFD Sender: No OFD packet to send [21:14:42]OFD Sender: No OFD packet to send [21:14:47]OFD Sender: No OFD packet to send [21:14:52]OFD Sender: No OFD packet to send [21:14:57]OFD Sender: No OFD packet to send [21:15:02]OFD Sender: No OFD packet to send [21:15:07]OFD Sender: No OFD packet to send [21:15:12]OFD Sender: No OFD packet to send [21:15:17]OFD Sender: No OFD packet to send [21:15:22]OFD Sender: No OFD packet to send [21:15:27]OFD Sender: No OFD packet to send [21:15:32]OFD Sender: No OFD packet to send [21:15:37]OFD Sender: No OFD packet to send [21:15:42]OFD Sender: No OFD packet to send [21:15:47]OFD Sender: No OFD packet to send [21:15:52]OFD Sender: No OFD packet to send [21:15:57]OFD Sender: No OFD packet to send [21:16:02]OFD Sender: No OFD packet to send [21:16:07]OFD Sender: No OFD packet to send [21:16:12]OFD Sender: No OFD packet to send [21:16:17]OFD Sender: No OFD packet to send [21:16:22]OFD Sender: No OFD packet to send [21:16:27]OFD Sender: No OFD packet to send [21:16:32]OFD Sender: No OFD packet to send [21:16:37]OFD Sender: No OFD packet to send [21:16:42]OFD Sender: No OFD packet to send [21:16:47]OFD Sender: No OFD packet to send [21:16:52]OFD Sender: No OFD packet to send [21:16:57]OFD Sender: No OFD packet to send [21:17:02]OFD Sender: No OFD packet to send [21:17:07]OFD Sender: No OFD packet to send [21:17:12]OFD Sender: No OFD packet to send [21:17:17]OFD Sender: No OFD packet to send [21:17:22]OFD Sender: No OFD packet to send [21:17:27]OFD Sender: No OFD packet to send [21:17:32]OFD Sender: No OFD packet to send [21:17:37]OFD Sender: No OFD packet to send [21:17:42]OFD Sender: No OFD packet to send [21:17:47]OFD Sender: No OFD packet to send [21:17:52]OFD Sender: No OFD packet to send [21:17:57]OFD Sender: No OFD packet to send [21:18:02]OFD Sender: No OFD packet to send [21:18:07]OFD Sender: No OFD packet to send [21:18:12]OFD Sender: No OFD packet to send [21:18:17]OFD Sender: No OFD packet to send [21:18:22]OFD Sender: No OFD packet to send [21:18:27]OFD Sender: No OFD packet to send [21:18:32]OFD Sender: No OFD packet to send [21:18:37]OFD Sender: No OFD packet to send [21:18:42]OFD Sender: No OFD packet to send [21:18:47]OFD Sender: No OFD packet to send [21:18:52]OFD Sender: No OFD packet to send [21:18:57]OFD Sender: No OFD packet to send [21:19:02]OFD Sender: No OFD packet to send [21:19:07]OFD Sender: No OFD packet to send [21:19:12]OFD Sender: No OFD packet to send [21:19:17]OFD Sender: No OFD packet to send [21:19:22]OFD Sender: No OFD packet to send [21:19:27]OFD Sender: No OFD packet to send [21:19:32]OFD Sender: No OFD packet to send [21:19:37]OFD Sender: No OFD packet to send [21:19:42]OFD Sender: No OFD packet to send [21:19:47]OFD Sender: No OFD packet to send [21:19:52]OFD Sender: No OFD packet to send [21:19:57]OFD Sender: No OFD packet to send [21:20:02]OFD Sender: No OFD packet to send [21:20:07]OFD Sender: No OFD packet to send [21:20:12]OFD Sender: No OFD packet to send [21:20:17]OFD Sender: No OFD packet to send [21:20:22]OFD Sender: No OFD packet to send [21:20:27]OFD Sender: No OFD packet to send [21:20:32]OFD Sender: No OFD packet to send [21:20:37]OFD Sender: No OFD packet to send [21:20:42]OFD Sender: No OFD packet to send [21:20:47]OFD Sender: No OFD packet to send [21:20:52]OFD Sender: No OFD packet to send [21:20:57]OFD Sender: No OFD packet to send [21:21:02]OFD Sender: No OFD packet to send [21:21:07]OFD Sender: No OFD packet to send [21:21:12]OFD Sender: No OFD packet to send [21:21:17]OFD Sender: No OFD packet to send [21:21:22]OFD Sender: No OFD packet to send [21:21:27]OFD Sender: No OFD packet to send [21:21:32]OFD Sender: No OFD packet to send [21:21:37]OFD Sender: No OFD packet to send [21:21:42]OFD Sender: No OFD packet to send [21:21:47]OFD Sender: No OFD packet to send [21:21:52]OFD Sender: No OFD packet to send [21:21:57]OFD Sender: No OFD packet to send [21:22:02]OFD Sender: No OFD packet to send [21:22:07]OFD Sender: No OFD packet to send [21:22:12]OFD Sender: No OFD packet to send [21:22:17]OFD Sender: No OFD packet to send [21:22:22]OFD Sender: No OFD packet to send [21:22:27]OFD Sender: No OFD packet to send [21:22:32]OFD Sender: No OFD packet to send [21:22:37]OFD Sender: No OFD packet to send [21:22:42]OFD Sender: No OFD packet to send [21:22:47]OFD Sender: No OFD packet to send [21:22:52]OFD Sender: No OFD packet to send [21:22:57]OFD Sender: No OFD packet to send [21:23:02]OFD Sender: No OFD packet to send [21:23:07]OFD Sender: No OFD packet to send [21:23:12]OFD Sender: No OFD packet to send [21:23:17]OFD Sender: No OFD packet to send [21:23:22]OFD Sender: No OFD packet to send [21:23:27]OFD Sender: No OFD packet to send [21:23:32]OFD Sender: No OFD packet to send [21:23:37]OFD Sender: No OFD packet to send [21:23:42]OFD Sender: No OFD packet to send [21:23:47]OFD Sender: No OFD packet to send [21:23:52]OFD Sender: No OFD packet to send [21:23:57]OFD Sender: No OFD packet to send [21:24:02]OFD Sender: No OFD packet to send [21:24:07]OFD Sender: No OFD packet to send [21:24:12]OFD Sender: No OFD packet to send [21:24:17]OFD Sender: No OFD packet to send [21:24:22]OFD Sender: No OFD packet to send [21:24:27]OFD Sender: No OFD packet to send [21:24:32]OFD Sender: No OFD packet to send [21:24:37]OFD Sender: No OFD packet to send [21:24:42]OFD Sender: No OFD packet to send [21:24:47]OFD Sender: No OFD packet to send [21:24:52]OFD Sender: No OFD packet to send [21:24:57]OFD Sender: No OFD packet to send [21:25:02]OFD Sender: No OFD packet to send [21:25:07]OFD Sender: No OFD packet to send [21:25:12]OFD Sender: No OFD packet to send [21:25:17]OFD Sender: No OFD packet to send [21:25:22]OFD Sender: No OFD packet to send [21:25:27]OFD Sender: No OFD packet to send [21:25:32]OFD Sender: No OFD packet to send [21:25:37]OFD Sender: No OFD packet to send [21:25:42]OFD Sender: No OFD packet to send [21:25:47]OFD Sender: No OFD packet to send [21:25:52]OFD Sender: No OFD packet to send [21:25:57]OFD Sender: No OFD packet to send [21:26:02]OFD Sender: No OFD packet to send [21:26:07]OFD Sender: No OFD packet to send [21:26:12]OFD Sender: No OFD packet to send [21:26:17]OFD Sender: No OFD packet to send [21:26:22]OFD Sender: No OFD packet to send [21:26:27]OFD Sender: No OFD packet to send [21:26:32]OFD Sender: No OFD packet to send [21:26:37]OFD Sender: No OFD packet to send [21:26:42]OFD Sender: No OFD packet to send [21:26:47]OFD Sender: No OFD packet to send [21:26:52]OFD Sender: No OFD packet to send [21:26:57]OFD Sender: No OFD packet to send [21:27:02]OFD Sender: No OFD packet to send [21:27:07]OFD Sender: No OFD packet to send [21:27:12]OFD Sender: No OFD packet to send [21:27:17]OFD Sender: No OFD packet to send [21:27:22]OFD Sender: No OFD packet to send [21:27:27]OFD Sender: No OFD packet to send [21:27:32]OFD Sender: No OFD packet to send [21:27:37]OFD Sender: No OFD packet to send [21:27:42]OFD Sender: No OFD packet to send [21:27:47]OFD Sender: No OFD packet to send [21:27:52]OFD Sender: No OFD packet to send [21:27:57]OFD Sender: No OFD packet to send [21:28:02]OFD Sender: No OFD packet to send [21:28:07]OFD Sender: No OFD packet to send [21:28:12]OFD Sender: No OFD packet to send [21:28:17]OFD Sender: No OFD packet to send [21:28:22]OFD Sender: No OFD packet to send [21:28:27]OFD Sender: No OFD packet to send [21:28:32]OFD Sender: No OFD packet to send [21:28:37]OFD Sender: No OFD packet to send [21:28:42]OFD Sender: No OFD packet to send [21:28:47]OFD Sender: No OFD packet to send [21:28:52]OFD Sender: No OFD packet to send [21:28:57]OFD Sender: No OFD packet to send [21:29:02]OFD Sender: No OFD packet to send [21:29:07]OFD Sender: No OFD packet to send [21:29:12]OFD Sender: No OFD packet to send [21:29:17]OFD Sender: No OFD packet to send [21:29:22]OFD Sender: No OFD packet to send [21:29:27]OFD Sender: No OFD packet to send [21:29:32]OFD Sender: No OFD packet to send [21:29:37]OFD Sender: No OFD packet to send [21:29:42]OFD Sender: No OFD packet to send [21:29:47]OFD Sender: No OFD packet to send [21:29:52]OFD Sender: No OFD packet to send [21:29:57]OFD Sender: No OFD packet to send [21:30:02]OFD Sender: No OFD packet to send [21:30:07]OFD Sender: No OFD packet to send [21:30:12]OFD Sender: No OFD packet to send [21:30:17]OFD Sender: No OFD packet to send [21:30:22]OFD Sender: No OFD packet to send [21:30:27]OFD Sender: No OFD packet to send [21:30:32]OFD Sender: No OFD packet to send [21:30:37]OFD Sender: No OFD packet to send [21:30:42]OFD Sender: No OFD packet to send [21:30:47]OFD Sender: No OFD packet to send [21:30:52]OFD Sender: No OFD packet to send [21:30:57]OFD Sender: No OFD packet to send [21:31:02]OFD Sender: No OFD packet to send [21:31:07]OFD Sender: No OFD packet to send [21:31:12]OFD Sender: No OFD packet to send [21:31:17]OFD Sender: No OFD packet to send [21:31:22]OFD Sender: No OFD packet to send [21:31:27]OFD Sender: No OFD packet to send [21:31:32]OFD Sender: No OFD packet to send [21:31:37]OFD Sender: No OFD packet to send [21:31:42]OFD Sender: No OFD packet to send [21:31:47]OFD Sender: No OFD packet to send [21:31:52]OFD Sender: No OFD packet to send [21:31:57]OFD Sender: No OFD packet to send [21:32:02]OFD Sender: No OFD packet to send [21:32:07]OFD Sender: No OFD packet to send [21:32:12]OFD Sender: No OFD packet to send [21:32:17]OFD Sender: No OFD packet to send [21:32:23]OFD Sender: No OFD packet to send [21:32:28]OFD Sender: No OFD packet to send [21:32:33]OFD Sender: No OFD packet to send [21:32:38]OFD Sender: No OFD packet to send [21:32:43]OFD Sender: No OFD packet to send [21:32:48]OFD Sender: No OFD packet to send [21:32:53]OFD Sender: No OFD packet to send [21:32:58]OFD Sender: No OFD packet to send [21:33:03]OFD Sender: No OFD packet to send [21:33:08]OFD Sender: No OFD packet to send [21:33:13]OFD Sender: No OFD packet to send [21:33:18]OFD Sender: No OFD packet to send [21:33:23]OFD Sender: No OFD packet to send [21:33:28]OFD Sender: No OFD packet to send [21:33:33]OFD Sender: No OFD packet to send [21:33:38]OFD Sender: No OFD packet to send [21:33:43]OFD Sender: No OFD packet to send [21:33:48]OFD Sender: No OFD packet to send [21:33:53]OFD Sender: No OFD packet to send [21:33:58]OFD Sender: No OFD packet to send [21:34:03]OFD Sender: No OFD packet to send [21:34:08]OFD Sender: No OFD packet to send [21:34:13]OFD Sender: No OFD packet to send [21:34:18]OFD Sender: No OFD packet to send [21:34:23]OFD Sender: No OFD packet to send [21:34:28]OFD Sender: No OFD packet to send [21:34:33]OFD Sender: No OFD packet to send [21:34:38]OFD Sender: No OFD packet to send [21:34:43]OFD Sender: No OFD packet to send [21:34:48]OFD Sender: No OFD packet to send [21:34:53]OFD Sender: No OFD packet to send [21:34:58]OFD Sender: No OFD packet to send [21:35:03]OFD Sender: No OFD packet to send [21:35:08]OFD Sender: No OFD packet to send [21:35:13]OFD Sender: No OFD packet to send [21:35:18]OFD Sender: No OFD packet to send [21:35:23]OFD Sender: No OFD packet to send [21:35:28]OFD Sender: No OFD packet to send [21:35:33]OFD Sender: No OFD packet to send [21:35:38]OFD Sender: No OFD packet to send [21:35:43]OFD Sender: No OFD packet to send [21:35:48]OFD Sender: No OFD packet to send [21:35:53]OFD Sender: No OFD packet to send [21:35:58]OFD Sender: No OFD packet to send [21:36:03]OFD Sender: No OFD packet to send [21:36:08]OFD Sender: No OFD packet to send [21:36:13]OFD Sender: No OFD packet to send [21:36:18]OFD Sender: No OFD packet to send [21:36:23]OFD Sender: No OFD packet to send [21:36:28]OFD Sender: No OFD packet to send [21:36:33]OFD Sender: No OFD packet to send [21:36:38]OFD Sender: No OFD packet to send [21:36:43]OFD Sender: No OFD packet to send [21:36:48]OFD Sender: No OFD packet to send [21:36:53]OFD Sender: No OFD packet to send [21:36:58]OFD Sender: No OFD packet to send [21:37:03]OFD Sender: No OFD packet to send [21:37:08]OFD Sender: No OFD packet to send [21:37:13]OFD Sender: No OFD packet to send [21:37:18]OFD Sender: No OFD packet to send [21:37:23]OFD Sender: No OFD packet to send [21:37:28]OFD Sender: No OFD packet to send [21:37:33]OFD Sender: No OFD packet to send [21:37:38]OFD Sender: No OFD packet to send [21:37:43]OFD Sender: No OFD packet to send [21:37:48]OFD Sender: No OFD packet to send [21:37:53]OFD Sender: No OFD packet to send [21:37:58]OFD Sender: No OFD packet to send [21:38:03]OFD Sender: No OFD packet to send [21:38:08]OFD Sender: No OFD packet to send [21:38:13]OFD Sender: No OFD packet to send [21:38:18]OFD Sender: No OFD packet to send [21:38:23]OFD Sender: No OFD packet to send [21:38:28]OFD Sender: No OFD packet to send [21:38:33]OFD Sender: No OFD packet to send [21:38:38]OFD Sender: No OFD packet to send [21:38:43]OFD Sender: No OFD packet to send [21:38:45]accept exits with 7 [21:38:45]New connection [21:38:45]New thread 3067243876 created [21:38:45]Thread 3067100516 joined [21:38:45]Waiting for new connection... [21:38:45] Sock 7.Parse request [21:38:45]Sock 7.Check first char [21:38:45]Sock 7.First char is OK [21:38:45]request: POST /json_proto HTTP/1.0 [21:38:45]Method: POST [21:38:45]URL: /json_proto [21:38:45]Method is POST - this is cgi request [21:38:45]url: /json_proto [21:38:45]query_string will be loaded in cgi processing [21:38:45]execute_cgi json_proto POST (null) [21:38:45]execute_cgi path=json_proto method=POST [21:38:45]POST find Content-Length [21:38:45]Host: 172.17.50.4:8080 [21:38:45]Content-Length: 748 [21:38:45]Content-Type: application/json [21:38:45] [21:38:45]POST finish read [21:38:45]Found Content-Length = 748 [21:38:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134813", "tax_sys" : 0, "items" : [ { "code": "8683130065723", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 Algida \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0421\u044D\u043D\u0434\u0432\u0438", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:45]execute_script... [21:38:45]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134813", "tax_sys" : 0, "items" : [ { "code": "8683130065723", "name": "\u041C\u043E\u0440\u043E\u0436\u0435\u043D\u043E\u0435 Algida \u0417\u043E\u043B\u043E\u0442\u043E\u0439 \u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442 \u0421\u044D\u043D\u0434\u0432\u0438", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:38:45]POST & json_proto [21:38:45]process_json_proto [21:38:45]json parsed OK: [21:38:45]protocol is kg_v1.0 [21:38:45]action value=close_receipt [21:38:45]process_action close_receipt [21:38:45]cmd_close_receipt [21:38:45]MH_GetDate [21:38:45]Write to MH i2c: F0 00 00 45 1F 53 [21:38:45]Write i2c OK [21:38:45]MH_I2C_Read... [21:38:45]Read from MH i2c: F0 [21:38:45]MH_I2C_Read... [21:38:45]Read from MH i2c: F0 09 00 [21:38:45]MH_I2C_Read... [21:38:45]Read from MH i2c: F0 09 00 45 1F 00 6D 78 15 67 1D BB 13 67 0F [21:38:45]GetLastDocTimeStamp 1729457956 [21:38:45]current date 1729460333 [21:38:45]FM_GetShiftState [21:38:45]SAM_PROTO_GetShiftState [21:38:45]wFMCommunicate request_size=4 [21:38:45]MH_SAM_APDU [21:38:45]CAPDU: 80 13 01 00 [21:38:45]Write to MH i2c: E2 08 00 46 1F 80 13 01 00 00 00 00 00 E2 [21:38:45]Write i2c OK [21:38:45]MH_I2C_Read... [21:38:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:45]Read from MH i2c: E2 [21:38:45]MH_I2C_Read... [21:38:45]Read from MH i2c: E2 0E 00 [21:38:45]MH_I2C_Read... [21:38:45]Read from MH i2c: E2 0E 00 46 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 03 [21:38:45]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:38:45]wFMCommunicate OK [21:38:45]SAM_PROTO_GetShiftState done [21:38:45]FM_GetShiftState done [21:38:45]opened in 1729382737 [21:38:45]opened+sec_in_day 1729469137 [21:38:45]quantity*price = 10500 [21:38:45]sum+1 = 10501 [21:38:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 58 20.10.2024 21:38 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24288 ФПД: 75744685989116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T213853&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24288&fm=75744685989116&tin=02508201610067®Number=0000000000098120&sum=10500 0 [21:38:46]StoreToDocumentArchive [21:38:46]shift 460 fd 24288 [21:38:46]save to /storage/0460/doc_00024288 [21:38:46]save last doc name /storage/0460/doc_00024288 to /storage/kkm_last_doc_name [21:38:46]save OK [21:38:46]Clear old archive folders... [21:38:46]ProcessDocumentItem done err = 0, tmpTLVsize=312 [21:38:46]tlvbuf is 02179B70 [21:38:46]SAM_PROTO_ClearQueue [21:38:46]wFMCommunicate request_size=4 [21:38:46]MH_SAM_APDU [21:38:46]CAPDU: 80 09 00 00 [21:38:46]Write to MH i2c: E2 08 00 53 1F 80 09 00 00 00 00 00 00 E4 [21:38:46]Write i2c OK [21:38:46]MH_I2C_Read... [21:38:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:38:46]Read from MH i2c: E2 [21:38:46]MH_I2C_Read... [21:38:46]Read from MH i2c: E2 03 00 [21:38:46]MH_I2C_Read... [21:38:46]Read from MH i2c: E2 03 00 53 1F 00 90 00 E6 [21:38:46]RAPDU: 90 00 [21:38:46]wFMCommunicate OK [21:38:46]SAM_PROTO_ClearQueue done [21:38:46]KKMCreateOFDPacket [21:38:46]OFDProtocolAddRootSTLVToBuf [21:38:46]FM_MakeSignedData [21:38:46]FM_MakeSignedData [21:38:46]SAM_PROTO_SignData [21:38:46]wFMCommunicate request_size=4 [21:38:46]MH_SAM_APDU [21:38:46]CAPDU: 80 0D 01 02 [21:38:46]Write to MH i2c: E2 08 00 54 1F 80 0D 01 02 00 00 00 00 EC [21:38:46]Write i2c OK [21:38:46]MH_I2C_Read... [21:38:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:38:46]Read from MH i2c: E2 [21:38:46]MH_I2C_Read... [21:38:46]Read from MH i2c: E2 03 00 [21:38:46]MH_I2C_Read... [21:38:46]Read from MH i2c: E2 03 00 54 1F 00 90 00 E7 [21:38:46]RAPDU: 90 00 [21:38:46]wFMCommunicate OK [21:38:46]wFMCommunicate request_size=255 [21:38:46]MH_SAM_APDU [21:38:46]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 35 37 32 33 06 04 46 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 41 6C 67 69 64 61 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D 78 15 67 0E 04 04 00 CC [21:38:46]Write to MH i2c: E2 02 01 55 1F 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 35 37 32 33 06 04 46 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 41 6C 67 69 64 61 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D 78 15 67 0E 04 04 00 CC 00 00 32 [21:38:46]Write i2c OK [21:38:46]MH_I2C_Read... [21:38:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:47]Read from MH i2c: E2 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 03 00 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 03 00 55 1F 00 90 00 E8 [21:38:47]RAPDU: 90 00 [21:38:47]wFMCommunicate OK [21:38:47]wFMCommunicate request_size=71 [21:38:47]MH_SAM_APDU [21:38:47]CAPDU: 80 0D 02 02 42 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E0 5E 00 00 35 04 06 00 44 E3 AF 1A 1C FC [21:38:47]Write to MH i2c: E2 4A 00 56 1F 80 0D 02 02 42 00 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E0 5E 00 00 35 04 06 00 44 E3 AF 1A 1C FC 00 00 44 [21:38:47]Write i2c OK [21:38:47]MH_I2C_Read... [21:38:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:38:47]Read from MH i2c: E2 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 03 00 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 03 00 56 1F 00 90 00 E9 [21:38:47]RAPDU: 90 00 [21:38:47]wFMCommunicate OK [21:38:47]wFMCommunicate request_size=4 [21:38:47]MH_SAM_APDU [21:38:47]CAPDU: 80 0D 03 02 [21:38:47]Write to MH i2c: E2 08 00 57 1F 80 0D 03 02 00 00 00 00 F1 [21:38:47]Write i2c OK [21:38:47]MH_I2C_Read... [21:38:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:38:47]Read from MH i2c: E2 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 0B 00 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 0B 00 57 1F 00 88 A9 77 94 27 8A 60 21 90 00 60 [21:38:47]RAPDU: 88 A9 77 94 27 8A 60 21 90 00 [21:38:47]wFMCommunicate OK [21:38:47]SAM_PROTO_SignData done [21:38:47]FM_MakeSignedData done [21:38:47]CreateOFDProtocolMessage [21:38:47]wFMCommunicate request_size=4 [21:38:47]MH_SAM_APDU [21:38:47]CAPDU: 80 11 00 00 [21:38:47]Write to MH i2c: E2 08 00 58 1F 80 11 00 00 00 00 00 00 F1 [21:38:47]Write i2c OK [21:38:47]MH_I2C_Read... [21:38:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:47]Read from MH i2c: E2 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 17 00 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: E2 17 00 58 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3E [21:38:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:38:47]wFMCommunicate OK [21:38:47]CreateOFDProtocolMessage done [21:38:47]OFDSenderStorePacket 24288 [21:38:47]StoreOFDPacket docnum=24288 [21:38:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4C 01 00 00 F5 43 44 01 A9 28 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 35 37 32 33 06 04 46 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 41 6C 67 69 64 61 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E0 5E 00 00 35 04 06 00 44 E3 AF 1A 1C FC 88 A9 77 94 27 8A 60 21 [21:38:47]CheckFolder [21:38:47]dirname=/storage/ofd_packets [21:38:47]CheckFolder done [21:38:47]ProducePacketName [21:38:47]name=ofd_packets/00024288 [21:38:47]NVStorageSaveData ofd_packets/00024288 [21:38:47]File name is /storage/ofd_packets/00024288 [21:38:47]Write 362 bytes [21:38:47]NVStorageSaveData done [21:38:47]OFDSenderStorePacket done [21:38:47]KKMCreateOFDPacket done [21:38:47]NVStorageSaveData kkm_last_timestamp [21:38:47]File name is /storage/kkm_last_timestamp [21:38:47]Write 4 bytes [21:38:47]NVStorageSaveData done [21:38:47]ExternCall_PrintAddStr [21:38:47]wPrintStart [21:38:47]Write to MH i2c: 01 00 00 59 1F 78 [21:38:47]Write i2c OK [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: 01 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: 01 07 00 [21:38:47]MH_I2C_Read... [21:38:47]Read from MH i2c: 01 07 00 59 1F 00 00 00 00 00 FF 0F 8D [21:38:47]RasterBufferAndPrint [21:38:47]line Счет N : (3)134813 [21:38:47]line ИНН: 02508201610067 [21:38:47]line Контрольно-Кассовый Чек [21:38:47]line ПРОДАЖА [21:38:47]line Товар: 8683130065723 [21:38:47]line Мороженое Algida Золотой Стандарт Сэндви [21:38:47]line 1.000 * 105.00 [21:38:47]line = 105.00 [21:38:47]line НДС 12% НСП 1% [21:38:47]line > о реализуемом товаре [21:38:47]line ИТОГО: 105.00 [21:38:47]line НСП 1% : 0.93 [21:38:47]line НДС 12% : 11.15 [21:38:47]line Наличными: 105.00 [21:38:47]line Безнал.: 0.00 [21:38:47]line Место: АЗС № 85 "Партнер Нефть" [21:38:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:38:47]line СНО: Общий режим [21:38:47]line Чек 58 20.10.2024 21:38 [21:38:47]line Смена: 460 ФФД: 1.0 [21:38:47]line ЗНМ: 0300000166 [21:38:47]line РНМ: 0000000000098120 [21:38:47]line Версия ККМ: 001 [21:38:47]line ФМ: 0000000000965420 [21:38:47]line ФД: 24288 [21:38:47]line ФПД: 75744685989116 [21:38:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T213853&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24288&fm=75744685989116&tin=02508201610067®Number=0000000000098120&sum=10500 [21:38:47]line 0 [21:38:47]OFD Sender: Processing packet 24288 [packets to send 5, broken 4] [21:38:47]ProducePacketName [21:38:47]name=ofd_packets/00024288 [21:38:47]OFD Sender: To server: pG, [21:38:47]CommunicateWithHost lk.salyk.kg:30040 [21:38:47]ConnectInit lk.salyk.kg [21:38:47]written 0, free lines is 4095 [21:38:47]Connected sock=10 [21:38:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4C 01 00 00 F5 43 44 01 A9 28 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 38 36 38 33 31 33 30 30 36 35 37 32 33 06 04 46 00 D0 9C D0 BE D1 80 D0 BE D0 B6 D0 B5 D0 BD D0 BE D0 B5 20 41 6C 67 69 64 61 20 D0 97 D0 BE D0 BB D0 BE D1 82 D0 BE D0 B9 20 D0 A1 D1 82 D0 B0 D0 BD D0 B4 D0 B0 D1 80 D1 82 20 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 6D 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E0 5E 00 00 35 04 06 00 44 E3 AF 1A 1C FC 88 A9 77 94 27 8A 60 21 [21:38:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 CB DA 47 00 3A 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 36 35 34 32 30 10 04 04 00 E0 5E 00 00 F4 03 04 00 04 24 15 67 B6 04 01 00 00 E1 10 78 42 FA 5D 1A 8B [21:38:48]CommunicateWithHost err = 0 [21:38:48]CheckOFDResponse [21:38:48]1017 (14) - 77093643461234 [21:38:48]1041 (16) - 0000000000965420 [21:38:48]1040 (4) - 24288 [21:38:48]1012 (4) - 20.10.2024 15:38 [21:38:48]1206 (1) - 0 [21:38:48]OFD Sender: Remove packet 24288 [21:38:48]ProducePacketName [21:38:48]name=ofd_packets/00024288 [21:38:48]NVStorageDeleteData [21:38:48]Write to MH i2c: 01 00 00 82 1F A1 [21:38:48]Write i2c OK [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: 01 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: 01 07 00 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: 01 07 00 82 1F 00 00 00 00 00 16 0D CB [21:38:48]RasterBufferAndPrint [21:38:48]line [21:38:48]line [21:38:48]line [21:38:48]line [21:38:48]line [21:38:48]written 0, free lines is 3357 [21:38:48]process_action close_receipt done [21:38:48]requested_data is exist [21:38:48]produce_requested_data [21:38:48]requested_item fm.sn is exist - process it [21:38:48]wFMCommunicate request_size=4 [21:38:48]MH_SAM_APDU [21:38:48]CAPDU: 80 11 00 00 [21:38:48]Write to MH i2c: E2 08 00 89 1F 80 11 00 00 00 00 00 00 22 [21:38:48]Write i2c OK [21:38:48]MH_I2C_Read... [21:38:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:38:48]Read from MH i2c: E2 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 17 00 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 17 00 89 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6F [21:38:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:38:48]wFMCommunicate OK [21:38:48]requested_item fd.num is exist - process it [21:38:48]SAM_PROTO_GetFieldsCounters [21:38:48]wFMCommunicate request_size=4 [21:38:48]MH_SAM_APDU [21:38:48]CAPDU: 80 13 00 00 [21:38:48]Write to MH i2c: E2 08 00 8A 1F 80 13 00 00 00 00 00 00 25 [21:38:48]Write i2c OK [21:38:48]MH_I2C_Read... [21:38:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:38:48]Read from MH i2c: E2 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 62 00 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 62 00 8A 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 F4 [21:38:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E0 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:38:48]wFMCommunicate OK [21:38:48]SAM_PROTO_GetFieldsCounters done [21:38:48]requested_item shift.num is exist - process it [21:38:48]requested_item shift.opened is exist - process it [21:38:48]req_shift_opened [21:38:48]FM_GetShiftState [21:38:48]SAM_PROTO_GetShiftState [21:38:48]wFMCommunicate request_size=4 [21:38:48]MH_SAM_APDU [21:38:48]CAPDU: 80 13 01 00 [21:38:48]Write to MH i2c: E2 08 00 8B 1F 80 13 01 00 00 00 00 00 27 [21:38:48]Write i2c OK [21:38:48]MH_I2C_Read... [21:38:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:38:48]Read from MH i2c: E2 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 0E 00 [21:38:48]MH_I2C_Read... [21:38:48]Read from MH i2c: E2 0E 00 8B 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 48 [21:38:48]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:38:48]wFMCommunicate OK [21:38:48]SAM_PROTO_GetShiftState done [21:38:48]FM_GetShiftState done [21:38:48]req_shift_opened done [21:38:48]requested_item shift.open_date is exist - process it [21:38:48]req_shift_open_date [21:38:48]req_shift_open_date done [21:38:48]produce_requested_data done [21:38:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24288,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [21:38:48]process_action_free close_receipt [21:38:48]json_value_free [21:38:48]json_value_free done [21:38:48]process_json_proto returns [21:38:48]Send response to host [21:38:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24288,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [21:38:48]free response buf [21:38:48]execute_script done [21:38:48]execute_script returns [21:38:48]free content buf [21:38:48]Sock 7.Close socket [21:38:48]Sock 7.Thread stoped [21:38:48]OFD Sender: No OFD packet to send [21:38:53]OFD Sender: No OFD packet to send [21:38:58]OFD Sender: No OFD packet to send [21:39:03]OFD Sender: No OFD packet to send [21:39:08]OFD Sender: No OFD packet to send [21:39:13]OFD Sender: No OFD packet to send [21:39:18]OFD Sender: No OFD packet to send [21:39:23]OFD Sender: No OFD packet to send [21:39:28]OFD Sender: No OFD packet to send [21:39:33]OFD Sender: No OFD packet to send [21:39:38]OFD Sender: No OFD packet to send [21:39:43]OFD Sender: No OFD packet to send [21:39:48]OFD Sender: No OFD packet to send [21:39:53]OFD Sender: No OFD packet to send [21:39:58]OFD Sender: No OFD packet to send [21:40:03]OFD Sender: No OFD packet to send [21:40:08]OFD Sender: No OFD packet to send [21:40:13]OFD Sender: No OFD packet to send [21:40:18]OFD Sender: No OFD packet to send [21:40:23]OFD Sender: No OFD packet to send [21:40:26]accept exits with 9 [21:40:26]New connection [21:40:26]New thread 3067100516 created [21:40:26]Thread 3067243876 joined [21:40:26]Waiting for new connection... [21:40:26] Sock 9.Parse request [21:40:26]Sock 9.Check first char [21:40:26]Sock 9.First char is OK [21:40:26]request: POST /json_proto HTTP/1.0 [21:40:26]Method: POST [21:40:26]URL: /json_proto [21:40:26]Method is POST - this is cgi request [21:40:26]url: /json_proto [21:40:26]query_string will be loaded in cgi processing [21:40:26]execute_cgi json_proto POST (null) [21:40:26]execute_cgi path=json_proto method=POST [21:40:26]POST find Content-Length [21:40:26]Host: 172.17.50.4:8080 [21:40:26]Content-Length: 621 [21:40:26]Content-Type: application/json [21:40:26] [21:40:26]POST finish read [21:40:26]Found Content-Length = 621 [21:40:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134814", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:40:26]execute_script... [21:40: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)134814", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:40:26]POST & json_proto [21:40:26]process_json_proto [21:40:26]json parsed OK: [21:40:26]protocol is kg_v1.0 [21:40:26]action value=close_receipt [21:40:26]process_action close_receipt [21:40:26]cmd_close_receipt [21:40:26]MH_GetDate [21:40:26]Write to MH i2c: F0 00 00 8C 1F 9A [21:40:26]Write i2c OK [21:40:26]MH_I2C_Read... [21:40:26]Read from MH i2c: F0 [21:40:26]MH_I2C_Read... [21:40:26]Read from MH i2c: F0 09 00 [21:40:26]MH_I2C_Read... [21:40:26]Read from MH i2c: F0 09 00 8C 1F 00 D2 78 15 67 1D BB 13 67 BB [21:40:26]GetLastDocTimeStamp 1729460333 [21:40:26]current date 1729460434 [21:40:26]FM_GetShiftState [21:40:26]SAM_PROTO_GetShiftState [21:40:26]wFMCommunicate request_size=4 [21:40:26]MH_SAM_APDU [21:40:26]CAPDU: 80 13 01 00 [21:40:26]Write to MH i2c: E2 08 00 8D 1F 80 13 01 00 00 00 00 00 29 [21:40:26]Write i2c OK [21:40:26]MH_I2C_Read... [21:40:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:26]Read from MH i2c: E2 [21:40:26]MH_I2C_Read... [21:40:26]Read from MH i2c: E2 0E 00 [21:40:26]MH_I2C_Read... [21:40:26]Read from MH i2c: E2 0E 00 8D 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 4A [21:40:26]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:40:26]wFMCommunicate OK [21:40:26]SAM_PROTO_GetShiftState done [21:40:26]FM_GetShiftState done [21:40:26]opened in 1729382737 [21:40:26]opened+sec_in_day 1729469137 [21:40:26]quantity*price = 14400 [21:40:26]sum+1 = 14401 [21:40:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 59 20.10.2024 21:40 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24289 ФПД: 27210060628264 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214034&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24289&fm=27210060628264&tin=02508201610067®Number=0000000000098120&sum=14400 0 [21:40:27]StoreToDocumentArchive [21:40:27]shift 460 fd 24289 [21:40:27]save to /storage/0460/doc_00024289 [21:40:27]save last doc name /storage/0460/doc_00024289 to /storage/kkm_last_doc_name [21:40:27]save OK [21:40:27]Clear old archive folders... [21:40:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:40:27]tlvbuf is B6F08310 [21:40:27]SAM_PROTO_ClearQueue [21:40:27]wFMCommunicate request_size=4 [21:40:27]MH_SAM_APDU [21:40:27]CAPDU: 80 09 00 00 [21:40:27]Write to MH i2c: E2 08 00 9A 1F 80 09 00 00 00 00 00 00 2B [21:40:27]Write i2c OK [21:40:27]MH_I2C_Read... [21:40:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:40:27]Read from MH i2c: E2 [21:40:27]MH_I2C_Read... [21:40:27]Read from MH i2c: E2 03 00 [21:40:27]MH_I2C_Read... [21:40:27]Read from MH i2c: E2 03 00 9A 1F 00 90 00 2D [21:40:27]RAPDU: 90 00 [21:40:27]wFMCommunicate OK [21:40:27]SAM_PROTO_ClearQueue done [21:40:27]KKMCreateOFDPacket [21:40:27]OFDProtocolAddRootSTLVToBuf [21:40:27]FM_MakeSignedData [21:40:27]FM_MakeSignedData [21:40:27]SAM_PROTO_SignData [21:40:27]wFMCommunicate request_size=4 [21:40:27]MH_SAM_APDU [21:40:27]CAPDU: 80 0D 01 02 [21:40:27]Write to MH i2c: E2 08 00 9B 1F 80 0D 01 02 00 00 00 00 33 [21:40:27]Write i2c OK [21:40:27]MH_I2C_Read... [21:40:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:40:27]Read from MH i2c: E2 [21:40:27]MH_I2C_Read... [21:40:27]Read from MH i2c: E2 03 00 [21:40:27]MH_I2C_Read... [21:40:27]Read from MH i2c: E2 03 00 9B 1F 00 90 00 2E [21:40:27]RAPDU: 90 00 [21:40:27]wFMCommunicate OK [21:40:27]wFMCommunicate request_size=255 [21:40:27]MH_SAM_APDU [21:40:27]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D2 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [21:40:27]Write to MH i2c: E2 02 01 9C 1F 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D2 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 66 [21:40:27]Write i2c OK [21:40:27]MH_I2C_Read... [21:40:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:28]Read from MH i2c: E2 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 03 00 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 03 00 9C 1F 00 90 00 2F [21:40:28]RAPDU: 90 00 [21:40:28]wFMCommunicate OK [21:40:28]wFMCommunicate request_size=32 [21:40:28]MH_SAM_APDU [21:40:28]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 E1 5E 00 00 35 04 06 00 18 BF 55 FF 81 28 [21:40:28]Write to MH i2c: E2 23 00 9D 1F 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 E1 5E 00 00 35 04 06 00 18 BF 55 FF 81 28 00 00 A0 [21:40:28]Write i2c OK [21:40:28]MH_I2C_Read... [21:40:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:40:28]Read from MH i2c: E2 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 03 00 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 03 00 9D 1F 00 90 00 30 [21:40:28]RAPDU: 90 00 [21:40:28]wFMCommunicate OK [21:40:28]wFMCommunicate request_size=4 [21:40:28]MH_SAM_APDU [21:40:28]CAPDU: 80 0D 03 02 [21:40:28]Write to MH i2c: E2 08 00 9E 1F 80 0D 03 02 00 00 00 00 38 [21:40:28]Write i2c OK [21:40:28]MH_I2C_Read... [21:40:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:40:28]Read from MH i2c: E2 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 0B 00 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 0B 00 9E 1F 00 FB F5 AC D5 8E C2 89 C7 90 00 4A [21:40:28]RAPDU: FB F5 AC D5 8E C2 89 C7 90 00 [21:40:28]wFMCommunicate OK [21:40:28]SAM_PROTO_SignData done [21:40:28]FM_MakeSignedData done [21:40:28]CreateOFDProtocolMessage [21:40:28]wFMCommunicate request_size=4 [21:40:28]MH_SAM_APDU [21:40:28]CAPDU: 80 11 00 00 [21:40:28]Write to MH i2c: E2 08 00 9F 1F 80 11 00 00 00 00 00 00 38 [21:40:28]Write i2c OK [21:40:28]MH_I2C_Read... [21:40:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:28]Read from MH i2c: E2 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 17 00 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: E2 17 00 9F 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 85 [21:40:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:40:28]wFMCommunicate OK [21:40:28]CreateOFDProtocolMessage done [21:40:28]OFDSenderStorePacket 24289 [21:40:28]StoreOFDPacket docnum=24289 [21:40:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 84 0B 1D 01 5E AF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D2 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E1 5E 00 00 35 04 06 00 18 BF 55 FF 81 28 FB F5 AC D5 8E C2 89 C7 [21:40:28]CheckFolder [21:40:28]dirname=/storage/ofd_packets [21:40:28]CheckFolder done [21:40:28]ProducePacketName [21:40:28]name=ofd_packets/00024289 [21:40:28]NVStorageSaveData ofd_packets/00024289 [21:40:28]File name is /storage/ofd_packets/00024289 [21:40:28]Write 323 bytes [21:40:28]NVStorageSaveData done [21:40:28]OFDSenderStorePacket done [21:40:28]KKMCreateOFDPacket done [21:40:28]NVStorageSaveData kkm_last_timestamp [21:40:28]File name is /storage/kkm_last_timestamp [21:40:28]Write 4 bytes [21:40:28]NVStorageSaveData done [21:40:28]ExternCall_PrintAddStr [21:40:28]wPrintStart [21:40:28]Write to MH i2c: 01 00 00 A0 1F BF [21:40:28]Write i2c OK [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: 01 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: 01 07 00 [21:40:28]MH_I2C_Read... [21:40:28]Read from MH i2c: 01 07 00 A0 1F 00 00 00 00 00 FF 0F D4 [21:40:28]RasterBufferAndPrint [21:40:28]line Счет N : (3)134814 [21:40:28]line ИНН: 02508201610067 [21:40:28]line Контрольно-Кассовый Чек [21:40:28]line ПРОДАЖА [21:40:28]line Товар: 48743570 [21:40:28]line Сигареты Winston XStyle Blue [21:40:28]line 1.000 * 144.00 [21:40:28]line = 144.00 [21:40:28]line НДС 12% НСП 1% [21:40:28]line > о реализуемом товаре [21:40:28]line ИТОГО: 144.00 [21:40:28]line НСП 1% : 1.27 [21:40:28]line НДС 12% : 15.29 [21:40:28]line Наличными: 144.00 [21:40:28]line Безнал.: 0.00 [21:40:28]line Место: АЗС № 85 "Партнер Нефть" [21:40:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:40:28]line СНО: Общий режим [21:40:28]line Чек 59 20.10.2024 21:40 [21:40:28]line Смена: 460 ФФД: 1.0 [21:40:28]line ЗНМ: 0300000166 [21:40:28]line РНМ: 0000000000098120 [21:40:28]line Версия ККМ: 001 [21:40:28]line ФМ: 0000000000965420 [21:40:28]line ФД: 24289 [21:40:28]line ФПД: 27210060628264 [21:40:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214034&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24289&fm=27210060628264&tin=02508201610067®Number=0000000000098120&sum=14400 [21:40:28]line 0 [21:40:28]written 0, free lines is 4095 [21:40:28]OFD Sender: Processing packet 24289 [packets to send 5, broken 4] [21:40:28]ProducePacketName [21:40:28]name=ofd_packets/00024289 [21:40:28]OFD Sender: To server: pG, [21:40:28]CommunicateWithHost lk.salyk.kg:30040 [21:40:28]ConnectInit lk.salyk.kg [21:40:28]Connected sock=10 [21:40:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 84 0B 1D 01 5E AF 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 D2 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E1 5E 00 00 35 04 06 00 18 BF 55 FF 81 28 FB F5 AC D5 8E C2 89 C7 [21:40:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 D2 8B 47 00 57 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 36 35 34 32 30 10 04 04 00 E1 5E 00 00 F4 03 04 00 69 24 15 67 B6 04 01 00 00 CF 96 DE EB 6C 69 51 8F [21:40:28]CommunicateWithHost err = 0 [21:40:28]CheckOFDResponse [21:40:28]1017 (14) - 77093643461234 [21:40:28]1041 (16) - 0000000000965420 [21:40:28]1040 (4) - 24289 [21:40:28]1012 (4) - 20.10.2024 15:40 [21:40:28]1206 (1) - 0 [21:40:28]OFD Sender: Remove packet 24289 [21:40:28]ProducePacketName [21:40:28]name=ofd_packets/00024289 [21:40:28]NVStorageDeleteData [21:40:29]Write to MH i2c: 01 00 00 C8 1F E7 [21:40:29]Write i2c OK [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: 01 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: 01 07 00 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: 01 07 00 C8 1F 00 00 00 00 00 1D 0D 18 [21:40:29]RasterBufferAndPrint [21:40:29]line [21:40:29]line [21:40:29]line [21:40:29]line [21:40:29]line [21:40:29]written 0, free lines is 3365 [21:40:29]process_action close_receipt done [21:40:29]requested_data is exist [21:40:29]produce_requested_data [21:40:29]requested_item fm.sn is exist - process it [21:40:29]wFMCommunicate request_size=4 [21:40:29]MH_SAM_APDU [21:40:29]CAPDU: 80 11 00 00 [21:40:29]Write to MH i2c: E2 08 00 CF 1F 80 11 00 00 00 00 00 00 68 [21:40:29]Write i2c OK [21:40:29]MH_I2C_Read... [21:40:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:40:29]Read from MH i2c: E2 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 17 00 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 17 00 CF 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B5 [21:40:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:40:29]wFMCommunicate OK [21:40:29]requested_item fd.num is exist - process it [21:40:29]SAM_PROTO_GetFieldsCounters [21:40:29]wFMCommunicate request_size=4 [21:40:29]MH_SAM_APDU [21:40:29]CAPDU: 80 13 00 00 [21:40:29]Write to MH i2c: E2 08 00 D0 1F 80 13 00 00 00 00 00 00 6B [21:40:29]Write i2c OK [21:40:29]MH_I2C_Read... [21:40:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:40:29]Read from MH i2c: E2 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 62 00 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 62 00 D0 1F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [21:40:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E1 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:40:29]wFMCommunicate OK [21:40:29]SAM_PROTO_GetFieldsCounters done [21:40:29]requested_item shift.num is exist - process it [21:40:29]requested_item shift.opened is exist - process it [21:40:29]req_shift_opened [21:40:29]FM_GetShiftState [21:40:29]SAM_PROTO_GetShiftState [21:40:29]wFMCommunicate request_size=4 [21:40:29]MH_SAM_APDU [21:40:29]CAPDU: 80 13 01 00 [21:40:29]Write to MH i2c: E2 08 00 D1 1F 80 13 01 00 00 00 00 00 6D [21:40:29]Write i2c OK [21:40:29]MH_I2C_Read... [21:40:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:40:29]Read from MH i2c: E2 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 0E 00 [21:40:29]MH_I2C_Read... [21:40:29]Read from MH i2c: E2 0E 00 D1 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 8E [21:40:29]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:40:29]wFMCommunicate OK [21:40:29]SAM_PROTO_GetShiftState done [21:40:29]FM_GetShiftState done [21:40:29]req_shift_opened done [21:40:29]requested_item shift.open_date is exist - process it [21:40:29]req_shift_open_date [21:40:29]req_shift_open_date done [21:40:29]produce_requested_data done [21:40:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24289,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [21:40:29]process_action_free close_receipt [21:40:29]json_value_free [21:40:29]json_value_free done [21:40:29]process_json_proto returns [21:40:29]Send response to host [21:40:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24289,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [21:40:29]free response buf [21:40:29]execute_script done [21:40:29]execute_script returns [21:40:29]free content buf [21:40:29]Sock 9.Close socket [21:40:29]Sock 9.Thread stoped [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:07]accept exits with 7 [21:41:07]New connection [21:41:07]New thread 3067243876 created [21:41:07]Thread 3067100516 joined [21:41:07]Waiting for new connection... [21:41:07] Sock 7.Parse request [21:41:07]Sock 7.Check first char [21:41:07]Sock 7.First char is OK [21:41:07]request: POST /json_proto HTTP/1.0 [21:41:07]Method: POST [21:41:07]URL: /json_proto [21:41:07]Method is POST - this is cgi request [21:41:07]url: /json_proto [21:41:07]query_string will be loaded in cgi processing [21:41:07]execute_cgi json_proto POST (null) [21:41:07]execute_cgi path=json_proto method=POST [21:41:07]POST find Content-Length [21:41:07]Host: 172.17.50.4:8080 [21:41:07]Content-Length: 608 [21:41:07]Content-Type: application/json [21:41:07] [21:41:07]POST finish read [21:41:07]Found Content-Length = 608 [21:41:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134815", "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" ] } } [21:41:07]execute_script... [21:41: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)134815", "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" ] } } [21:41:07]POST & json_proto [21:41:07]process_json_proto [21:41:07]json parsed OK: [21:41:07]protocol is kg_v1.0 [21:41:07]action value=close_receipt [21:41:07]process_action close_receipt [21:41:07]cmd_close_receipt [21:41:07]MH_GetDate [21:41:07]Write to MH i2c: F0 00 00 D2 1F E0 [21:41:07]Write i2c OK [21:41:07]MH_I2C_Read... [21:41:07]Read from MH i2c: F0 [21:41:07]MH_I2C_Read... [21:41:07]Read from MH i2c: F0 09 00 [21:41:07]MH_I2C_Read... [21:41:07]Read from MH i2c: F0 09 00 D2 1F 00 FB 78 15 67 1D BB 13 67 2A [21:41:07]GetLastDocTimeStamp 1729460434 [21:41:07]current date 1729460475 [21:41:07]FM_GetShiftState [21:41:07]SAM_PROTO_GetShiftState [21:41:07]wFMCommunicate request_size=4 [21:41:07]MH_SAM_APDU [21:41:07]CAPDU: 80 13 01 00 [21:41:07]Write to MH i2c: E2 08 00 D3 1F 80 13 01 00 00 00 00 00 6F [21:41:07]Write i2c OK [21:41:07]MH_I2C_Read... [21:41:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:08]Read from MH i2c: E2 [21:41:08]MH_I2C_Read... [21:41:08]Read from MH i2c: E2 0E 00 [21:41:08]MH_I2C_Read... [21:41:08]Read from MH i2c: E2 0E 00 D3 1F 00 09 00 01 51 49 14 67 00 00 00 00 90 00 90 [21:41:08]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:41:08]wFMCommunicate OK [21:41:08]SAM_PROTO_GetShiftState done [21:41:08]FM_GetShiftState done [21:41:08]opened in 1729382737 [21:41:08]opened+sec_in_day 1729469137 [21:41:08]quantity*price = 1000 [21:41:08]sum+1 = 1001 [21:41:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 60 20.10.2024 21:41 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24290 ФПД: 37084088254142 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214115&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24290&fm=37084088254142&tin=02508201610067®Number=0000000000098120&sum=1000 0 [21:41:09]StoreToDocumentArchive [21:41:09]shift 460 fd 24290 [21:41:09]save to /storage/0460/doc_00024290 [21:41:09]save last doc name /storage/0460/doc_00024290 to /storage/kkm_last_doc_name [21:41:09]save OK [21:41:09]Clear old archive folders... [21:41:09]ProcessDocumentItem done err = 0, tmpTLVsize=267 [21:41:09]tlvbuf is B6F9CCB0 [21:41:09]SAM_PROTO_ClearQueue [21:41:09]wFMCommunicate request_size=4 [21:41:09]MH_SAM_APDU [21:41:09]CAPDU: 80 09 00 00 [21:41:09]Write to MH i2c: E2 08 00 E0 1F 80 09 00 00 00 00 00 00 71 [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 E0 1F 00 90 00 73 [21:41:09]RAPDU: 90 00 [21:41:09]wFMCommunicate OK [21:41:09]SAM_PROTO_ClearQueue done [21:41:09]KKMCreateOFDPacket [21:41:09]OFDProtocolAddRootSTLVToBuf [21:41:09]FM_MakeSignedData [21:41:09]FM_MakeSignedData [21:41:09]SAM_PROTO_SignData [21:41:09]wFMCommunicate request_size=4 [21:41:09]MH_SAM_APDU [21:41:09]CAPDU: 80 0D 01 02 [21:41:09]Write to MH i2c: E2 08 00 E1 1F 80 0D 01 02 00 00 00 00 79 [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 E1 1F 00 90 00 74 [21:41:09]RAPDU: 90 00 [21:41:09]wFMCommunicate OK [21:41:09]wFMCommunicate request_size=255 [21:41:09]MH_SAM_APDU [21:41:09]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 3C 00 00 00 F4 03 04 00 FB 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 [21:41:09]Write to MH i2c: E2 02 01 E2 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 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 3C 00 00 00 F4 03 04 00 FB 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 00 00 03 [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 E2 1F 00 90 00 75 [21:41:09]RAPDU: 90 00 [21:41:09]wFMCommunicate OK [21:41:09]wFMCommunicate request_size=26 [21:41:09]MH_SAM_APDU [21:41:09]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 E2 5E 00 00 35 04 06 00 21 BA 4F E8 3E BE [21:41:09]Write to MH i2c: E2 1D 00 E3 1F 80 0D 02 02 15 00 34 32 30 10 04 04 00 E2 5E 00 00 35 04 06 00 21 BA 4F E8 3E BE 00 00 E1 [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]OFD Sender: No OFD packet to send [21:41:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 03 00 E3 1F 00 90 00 76 [21:41:09]RAPDU: 90 00 [21:41:09]wFMCommunicate OK [21:41:09]wFMCommunicate request_size=4 [21:41:09]MH_SAM_APDU [21:41:09]CAPDU: 80 0D 03 02 [21:41:09]Write to MH i2c: E2 08 00 E4 1F 80 0D 03 02 00 00 00 00 7E [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 0B 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 0B 00 E4 1F 00 72 A8 35 68 3F C6 C9 2F 90 00 33 [21:41:09]RAPDU: 72 A8 35 68 3F C6 C9 2F 90 00 [21:41:09]wFMCommunicate OK [21:41:09]SAM_PROTO_SignData done [21:41:09]FM_MakeSignedData done [21:41:09]CreateOFDProtocolMessage [21:41:09]wFMCommunicate request_size=4 [21:41:09]MH_SAM_APDU [21:41:09]CAPDU: 80 11 00 00 [21:41:09]Write to MH i2c: E2 08 00 E5 1F 80 11 00 00 00 00 00 00 7E [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:09]Read from MH i2c: E2 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 17 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: E2 17 00 E5 1F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CB [21:41:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:41:09]wFMCommunicate OK [21:41:09]CreateOFDProtocolMessage done [21:41:09]OFDSenderStorePacket 24290 [21:41:09]StoreOFDPacket docnum=24290 [21:41:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 DF 21 17 01 E0 2A 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 3C 00 00 00 F4 03 04 00 FB 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E2 5E 00 00 35 04 06 00 21 BA 4F E8 3E BE 72 A8 35 68 3F C6 C9 2F [21:41:09]CheckFolder [21:41:09]dirname=/storage/ofd_packets [21:41:09]CheckFolder done [21:41:09]ProducePacketName [21:41:09]name=ofd_packets/00024290 [21:41:09]NVStorageSaveData ofd_packets/00024290 [21:41:09]File name is /storage/ofd_packets/00024290 [21:41:09]Write 317 bytes [21:41:09]NVStorageSaveData done [21:41:09]OFDSenderStorePacket done [21:41:09]KKMCreateOFDPacket done [21:41:09]NVStorageSaveData kkm_last_timestamp [21:41:09]File name is /storage/kkm_last_timestamp [21:41:09]Write 4 bytes [21:41:09]NVStorageSaveData done [21:41:09]ExternCall_PrintAddStr [21:41:09]wPrintStart [21:41:09]Write to MH i2c: 01 00 00 E6 1F 05 [21:41:09]Write i2c OK [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: 01 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: 01 07 00 [21:41:09]MH_I2C_Read... [21:41:09]Read from MH i2c: 01 07 00 E6 1F 00 00 00 00 00 FF 0F 1A [21:41:09]RasterBufferAndPrint [21:41:09]line Счет N : (3)134815 [21:41:09]line ИНН: 02508201610067 [21:41:09]line Контрольно-Кассовый Чек [21:41:09]line ПРОДАЖА [21:41:09]line Товар: 46231529 [21:41:09]line Mentos ПФ Арбуз 6*100*2 [21:41:09]line 1.000 * 10.00 [21:41:09]line = 10.00 [21:41:09]line НДС 12% НСП 1% [21:41:09]line > о реализуемом товаре [21:41:09]line ИТОГО: 10.00 [21:41:09]line НСП 1% : 0.09 [21:41:09]line НДС 12% : 1.06 [21:41:09]line Наличными: 10.00 [21:41:09]line Безнал.: 0.00 [21:41:09]line Место: АЗС № 85 "Партнер Нефть" [21:41:09]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:41:09]line СНО: Общий режим [21:41:09]line Чек 60 20.10.2024 21:41 [21:41:09]line Смена: 460 ФФД: 1.0 [21:41:09]line ЗНМ: 0300000166 [21:41:09]line РНМ: 0000000000098120 [21:41:09]line Версия ККМ: 001 [21:41:09]line ФМ: 0000000000965420 [21:41:09]line ФД: 24290 [21:41:09]line ФПД: 37084088254142 [21:41:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214115&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24290&fm=37084088254142&tin=02508201610067®Number=0000000000098120&sum=1000 [21:41:09]line 0 [21:41:09]OFD Sender: Processing packet 24290 [packets to send 5, broken 4] [21:41:09]ProducePacketName [21:41:10]name=ofd_packets/00024290 [21:41:10]OFD Sender: To server: pG, [21:41:10]CommunicateWithHost lk.salyk.kg:30040 [21:41:10]ConnectInit lk.salyk.kg [21:41:10]written 0, free lines is 4095 [21:41:10]Connected sock=10 [21:41:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 1F 01 00 00 DF 21 17 01 E0 2A 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 3C 00 00 00 F4 03 04 00 FB 78 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E2 5E 00 00 35 04 06 00 21 BA 4F E8 3E BE 72 A8 35 68 3F C6 C9 2F [21:41:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 45 02 47 00 A6 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E2 5E 00 00 F4 03 04 00 92 24 15 67 B6 04 01 00 00 13 41 FE 5F 72 C1 E1 35 [21:41:10]CommunicateWithHost err = 0 [21:41:10]CheckOFDResponse [21:41:10]1017 (14) - 77093643461234 [21:41:10]1041 (16) - 0000000000965420 [21:41:10]1040 (4) - 24290 [21:41:10]1012 (4) - 20.10.2024 15:41 [21:41:10]1206 (1) - 0 [21:41:10]OFD Sender: Remove packet 24290 [21:41:10]ProducePacketName [21:41:10]name=ofd_packets/00024290 [21:41:10]NVStorageDeleteData [21:41:10]Write to MH i2c: 01 00 00 0E 20 2E [21:41:10]Write i2c OK [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: 01 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: 01 07 00 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: 01 07 00 0E 20 00 00 00 00 00 1D 0D 5F [21:41:10]RasterBufferAndPrint [21:41:10]line [21:41:10]line [21:41:10]line [21:41:10]line [21:41:10]line [21:41:10]written 0, free lines is 3363 [21:41:10]process_action close_receipt done [21:41:10]requested_data is exist [21:41:10]produce_requested_data [21:41:10]requested_item fm.sn is exist - process it [21:41:10]wFMCommunicate request_size=4 [21:41:10]MH_SAM_APDU [21:41:10]CAPDU: 80 11 00 00 [21:41:10]Write to MH i2c: E2 08 00 15 20 80 11 00 00 00 00 00 00 AF [21:41:10]Write i2c OK [21:41:10]MH_I2C_Read... [21:41:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:41:10]Read from MH i2c: E2 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 17 00 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 17 00 15 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FC [21:41:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:41:10]wFMCommunicate OK [21:41:10]requested_item fd.num is exist - process it [21:41:10]SAM_PROTO_GetFieldsCounters [21:41:10]wFMCommunicate request_size=4 [21:41:10]MH_SAM_APDU [21:41:10]CAPDU: 80 13 00 00 [21:41:10]Write to MH i2c: E2 08 00 16 20 80 13 00 00 00 00 00 00 B2 [21:41:10]Write i2c OK [21:41:10]MH_I2C_Read... [21:41:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:41:10]Read from MH i2c: E2 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 62 00 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 62 00 16 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 89 [21:41:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E2 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:41:10]wFMCommunicate OK [21:41:10]SAM_PROTO_GetFieldsCounters done [21:41:10]requested_item shift.num is exist - process it [21:41:10]requested_item shift.opened is exist - process it [21:41:10]req_shift_opened [21:41:10]FM_GetShiftState [21:41:10]SAM_PROTO_GetShiftState [21:41:10]wFMCommunicate request_size=4 [21:41:10]MH_SAM_APDU [21:41:10]CAPDU: 80 13 01 00 [21:41:10]Write to MH i2c: E2 08 00 17 20 80 13 01 00 00 00 00 00 B4 [21:41:10]Write i2c OK [21:41:10]MH_I2C_Read... [21:41:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:41:10]Read from MH i2c: E2 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 0E 00 [21:41:10]MH_I2C_Read... [21:41:10]Read from MH i2c: E2 0E 00 17 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 D5 [21:41:10]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:41:10]wFMCommunicate OK [21:41:10]SAM_PROTO_GetShiftState done [21:41:10]FM_GetShiftState done [21:41:10]req_shift_opened done [21:41:10]requested_item shift.open_date is exist - process it [21:41:10]req_shift_open_date [21:41:10]req_shift_open_date done [21:41:10]produce_requested_data done [21:41:10]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24290,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [21:41:10]process_action_free close_receipt [21:41:10]json_value_free [21:41:10]json_value_free done [21:41:10]process_json_proto returns [21:41:10]Send response to host [21:41:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24290,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [21:41:10]free response buf [21:41:10]execute_script done [21:41:10]execute_script returns [21:41:10]free content buf [21:41:10]Sock 7.Close socket [21:41:10]Sock 7.Thread stoped [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]accept exits with 9 [21:42:00]New connection [21:42:00]New thread 3067100516 created [21:42:00]Thread 3067243876 joined [21:42:00]Waiting for new connection... [21:42:00] Sock 9.Parse request [21:42:00]Sock 9.Check first char [21:42:00]Sock 9.First char is OK [21:42:00]request: POST /json_proto HTTP/1.0 [21:42:00]Method: POST [21:42:00]URL: /json_proto [21:42:00]Method is POST - this is cgi request [21:42:00]url: /json_proto [21:42:00]query_string will be loaded in cgi processing [21:42:00]execute_cgi json_proto POST (null) [21:42:00]execute_cgi path=json_proto method=POST [21:42:00]POST find Content-Length [21:42:00]Host: 172.17.50.4:8080 [21:42:00]Content-Length: 675 [21:42:00]Content-Type: application/json [21:42:00] [21:42:00]POST finish read [21:42:00]Found Content-Length = 675 [21:42:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134816", "tax_sys" : 0, "items" : [ { "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" : 6.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 42.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:00]execute_script... [21:42:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134816", "tax_sys" : 0, "items" : [ { "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" : 6.000, "sum" : 42.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 42.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:00]POST & json_proto [21:42:00]process_json_proto [21:42:00]json parsed OK: [21:42:00]protocol is kg_v1.0 [21:42:00]action value=close_receipt [21:42:00]process_action close_receipt [21:42:00]cmd_close_receipt [21:42:00]MH_GetDate [21:42:00]Write to MH i2c: F0 00 00 18 20 27 [21:42:00]Write i2c OK [21:42:00]MH_I2C_Read... [21:42:00]Read from MH i2c: F0 [21:42:00]MH_I2C_Read... [21:42:00]Read from MH i2c: F0 09 00 [21:42:00]MH_I2C_Read... [21:42:00]Read from MH i2c: F0 09 00 18 20 00 30 79 15 67 1D BB 13 67 A7 [21:42:00]GetLastDocTimeStamp 1729460475 [21:42:00]current date 1729460528 [21:42:00]FM_GetShiftState [21:42:00]SAM_PROTO_GetShiftState [21:42:00]wFMCommunicate request_size=4 [21:42:00]MH_SAM_APDU [21:42:00]CAPDU: 80 13 01 00 [21:42:00]Write to MH i2c: E2 08 00 19 20 80 13 01 00 00 00 00 00 B6 [21:42:00]Write i2c OK [21:42:00]MH_I2C_Read... [21:42:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:00]Read from MH i2c: E2 [21:42:00]MH_I2C_Read... [21:42:00]Read from MH i2c: E2 0E 00 [21:42:00]MH_I2C_Read... [21:42:00]Read from MH i2c: E2 0E 00 19 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 D7 [21:42:00]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:42:00]wFMCommunicate OK [21:42:00]SAM_PROTO_GetShiftState done [21:42:00]FM_GetShiftState done [21:42:00]opened in 1729382737 [21:42:00]opened+sec_in_day 1729469137 [21:42:00]quantity*price = 4200 [21:42:00]sum+1 = 4201 [21:42:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 42.00 НСП 1% : 0.37 НДС 12% : 4.46 Наличными: 42.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 61 20.10.2024 21:42 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24291 ФПД: 126967679135353 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214208&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24291&fm=126967679135353&tin=02508201610067®Number=0000000000098120&sum=4200 0 [21:42:01]StoreToDocumentArchive [21:42:01]shift 460 fd 24291 [21:42:01]save to /storage/0460/doc_00024291 [21:42:01]save last doc name /storage/0460/doc_00024291 to /storage/kkm_last_doc_name [21:42:01]save OK [21:42:01]Clear old archive folders... [21:42:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [21:42:01]tlvbuf is 020B4F70 [21:42:01]SAM_PROTO_ClearQueue [21:42:01]wFMCommunicate request_size=4 [21:42:01]MH_SAM_APDU [21:42:01]CAPDU: 80 09 00 00 [21:42:01]Write to MH i2c: E2 08 00 26 20 80 09 00 00 00 00 00 00 B8 [21:42:01]Write i2c OK [21:42:01]MH_I2C_Read... [21:42:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:42:01]Read from MH i2c: E2 [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 03 00 [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 03 00 26 20 00 90 00 BA [21:42:01]RAPDU: 90 00 [21:42:01]wFMCommunicate OK [21:42:01]SAM_PROTO_ClearQueue done [21:42:01]KKMCreateOFDPacket [21:42:01]OFDProtocolAddRootSTLVToBuf [21:42:01]FM_MakeSignedData [21:42:01]FM_MakeSignedData [21:42:01]SAM_PROTO_SignData [21:42:01]wFMCommunicate request_size=4 [21:42:01]MH_SAM_APDU [21:42:01]CAPDU: 80 0D 01 02 [21:42:01]Write to MH i2c: E2 08 00 27 20 80 0D 01 02 00 00 00 00 C0 [21:42:01]Write i2c OK [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 [21:42:01]MH_I2C_Read... [21:42:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:42:01]Read from MH i2c: E2 03 00 [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 03 00 27 20 00 90 00 BB [21:42:01]RAPDU: 90 00 [21:42:01]wFMCommunicate OK [21:42:01]wFMCommunicate request_size=255 [21:42:01]MH_SAM_APDU [21:42:01]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 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 70 17 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 30 79 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 [21:42:01]Write to MH i2c: E2 02 01 28 20 80 0D 02 02 FA 00 03 00 1F 01 1E 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 70 17 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 30 79 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 00 00 8F [21:42:01]Write i2c OK [21:42:01]MH_I2C_Read... [21:42:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:01]Read from MH i2c: E2 [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 03 00 [21:42:01]MH_I2C_Read... [21:42:01]Read from MH i2c: E2 03 00 28 20 00 90 00 BC [21:42:01]RAPDU: 90 00 [21:42:01]wFMCommunicate OK [21:42:01]wFMCommunicate request_size=46 [21:42:01]MH_SAM_APDU [21:42:01]CAPDU: 80 0D 02 02 29 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E3 5E 00 00 35 04 06 00 73 79 F7 69 AE 79 [21:42:01]Write to MH i2c: E2 31 00 29 20 80 0D 02 02 29 00 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E3 5E 00 00 35 04 06 00 73 79 F7 69 AE 79 00 00 F2 [21:42:01]Write i2c OK [21:42:01]MH_I2C_Read... [21:42:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:02]Read from MH i2c: E2 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 03 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 03 00 29 20 00 90 00 BD [21:42:02]RAPDU: 90 00 [21:42:02]wFMCommunicate OK [21:42:02]wFMCommunicate request_size=4 [21:42:02]MH_SAM_APDU [21:42:02]CAPDU: 80 0D 03 02 [21:42:02]Write to MH i2c: E2 08 00 2A 20 80 0D 03 02 00 00 00 00 C5 [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:42:02]Read from MH i2c: E2 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 0B 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 0B 00 2A 20 00 78 6F 3D 2B 4A D4 F5 EA 90 00 12 [21:42:02]RAPDU: 78 6F 3D 2B 4A D4 F5 EA 90 00 [21:42:02]wFMCommunicate OK [21:42:02]SAM_PROTO_SignData done [21:42:02]FM_MakeSignedData done [21:42:02]CreateOFDProtocolMessage [21:42:02]wFMCommunicate request_size=4 [21:42:02]MH_SAM_APDU [21:42:02]CAPDU: 80 11 00 00 [21:42:02]Write to MH i2c: E2 08 00 2B 20 80 11 00 00 00 00 00 00 C5 [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:02]Read from MH i2c: E2 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 17 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 17 00 2B 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 12 [21:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:42:02]wFMCommunicate OK [21:42:02]CreateOFDProtocolMessage done [21:42:02]OFDSenderStorePacket 24291 [21:42:02]StoreOFDPacket docnum=24291 [21:42:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 33 01 00 00 44 14 2B 01 60 9E 5A 03 01 00 03 00 1F 01 1E 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 70 17 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 30 79 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E3 5E 00 00 35 04 06 00 73 79 F7 69 AE 79 78 6F 3D 2B 4A D4 F5 EA [21:42:02]CheckFolder [21:42:02]dirname=/storage/ofd_packets [21:42:02]CheckFolder done [21:42:02]ProducePacketName [21:42:02]name=ofd_packets/00024291 [21:42:02]NVStorageSaveData ofd_packets/00024291 [21:42:02]File name is /storage/ofd_packets/00024291 [21:42:02]Write 337 bytes [21:42:02]NVStorageSaveData done [21:42:02]OFDSenderStorePacket done [21:42:02]KKMCreateOFDPacket done [21:42:02]NVStorageSaveData kkm_last_timestamp [21:42:02]File name is /storage/kkm_last_timestamp [21:42:02]Write 4 bytes [21:42:02]NVStorageSaveData done [21:42:02]ExternCall_PrintAddStr [21:42:02]wPrintStart [21:42:02]Write to MH i2c: 01 00 00 2C 20 4C [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 07 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 07 00 2C 20 00 00 00 00 00 FF 0F 61 [21:42:02]RasterBufferAndPrint [21:42:02]line Счет N : (3)134816 [21:42:02]line ИНН: 02508201610067 [21:42:02]line Контрольно-Кассовый Чек [21:42:02]line ПРОДАЖА [21:42:02]line Товар: 2000053020015 [21:42:02]line Бумажные стаканы 250мл 1шт [21:42:02]line 6.000 * 7.00 [21:42:02]line = 42.00 [21:42:02]line НДС 12% НСП 1% [21:42:02]line > о реализуемом товаре [21:42:02]line ИТОГО: 42.00 [21:42:02]line НСП 1% : 0.37 [21:42:02]line НДС 12% : 4.46 [21:42:02]line Наличными: 42.00 [21:42:02]line Безнал.: 0.00 [21:42:02]line Место: АЗС № 85 "Партнер Нефть" [21:42:02]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:42:02]line СНО: Общий режим [21:42:02]line Чек 61 20.10.2024 21:42 [21:42:02]line Смена: 460 ФФД: 1.0 [21:42:02]line ЗНМ: 0300000166 [21:42:02]line РНМ: 0000000000098120 [21:42:02]line Версия ККМ: 001 [21:42:02]line ФМ: 0000000000965420 [21:42:02]line ФД: 24291 [21:42:02]line ФПД: 126967679135353 [21:42:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T214208&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24291&fm=126967679135353&tin=02508201610067®Number=0000000000098120&sum=4200 [21:42:02]line 0 [21:42:02]OFD Sender: Processing packet 24291 [packets to send 5, broken 4] [21:42:02]ProducePacketName [21:42:02]name=ofd_packets/00024291 [21:42:02]OFD Sender: To server: pG, [21:42:02]CommunicateWithHost lk.salyk.kg:30040 [21:42:02]ConnectInit lk.salyk.kg [21:42:02]written 0, free lines is 4095 [21:42:02]Connected sock=10 [21:42:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 33 01 00 00 44 14 2B 01 60 9E 5A 03 01 00 03 00 1F 01 1E 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 70 17 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 68 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 10 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BE 01 00 00 00 00 07 04 06 00 68 10 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 30 79 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E3 5E 00 00 35 04 06 00 73 79 F7 69 AE 79 78 6F 3D 2B 4A D4 F5 EA [21:42:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 56 B2 47 00 FF 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E3 5E 00 00 F4 03 04 00 C7 24 15 67 B6 04 01 00 00 03 BD F1 CE BB 01 E4 7D [21:42:02]CommunicateWithHost err = 0 [21:42:02]CheckOFDResponse [21:42:02]1017 (14) - 77093643461234 [21:42:02]1041 (16) - 0000000000965420 [21:42:02]1040 (4) - 24291 [21:42:02]1012 (4) - 20.10.2024 15:41 [21:42:02]1206 (1) - 0 [21:42:02]OFD Sender: Remove packet 24291 [21:42:02]ProducePacketName [21:42:02]name=ofd_packets/00024291 [21:42:02]NVStorageDeleteData [21:42:02]Write to MH i2c: 01 00 00 55 20 75 [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 07 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: 01 07 00 55 20 00 00 00 00 00 08 0D 91 [21:42:02]RasterBufferAndPrint [21:42:02]line [21:42:02]line [21:42:02]line [21:42:02]line [21:42:02]line [21:42:02]written 0, free lines is 3342 [21:42:02]process_action close_receipt done [21:42:02]requested_data is exist [21:42:02]produce_requested_data [21:42:02]requested_item fm.sn is exist - process it [21:42:02]wFMCommunicate request_size=4 [21:42:02]MH_SAM_APDU [21:42:02]CAPDU: 80 11 00 00 [21:42:02]Write to MH i2c: E2 08 00 5C 20 80 11 00 00 00 00 00 00 F6 [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:02]Read from MH i2c: E2 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 17 00 [21:42:02]MH_I2C_Read... [21:42:02]Read from MH i2c: E2 17 00 5C 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 43 [21:42:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:42:02]wFMCommunicate OK [21:42:02]requested_item fd.num is exist - process it [21:42:02]SAM_PROTO_GetFieldsCounters [21:42:02]wFMCommunicate request_size=4 [21:42:02]MH_SAM_APDU [21:42:02]CAPDU: 80 13 00 00 [21:42:02]Write to MH i2c: E2 08 00 5D 20 80 13 00 00 00 00 00 00 F9 [21:42:02]Write i2c OK [21:42:02]MH_I2C_Read... [21:42:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:42:03]Read from MH i2c: E2 [21:42:03]MH_I2C_Read... [21:42:03]Read from MH i2c: E2 62 00 [21:42:03]MH_I2C_Read... [21:42:03]Read from MH i2c: E2 62 00 5D 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [21:42:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E3 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:42:03]wFMCommunicate OK [21:42:03]SAM_PROTO_GetFieldsCounters done [21:42:03]requested_item shift.num is exist - process it [21:42:03]requested_item shift.opened is exist - process it [21:42:03]req_shift_opened [21:42:03]FM_GetShiftState [21:42:03]SAM_PROTO_GetShiftState [21:42:03]wFMCommunicate request_size=4 [21:42:03]MH_SAM_APDU [21:42:03]CAPDU: 80 13 01 00 [21:42:03]Write to MH i2c: E2 08 00 5E 20 80 13 01 00 00 00 00 00 FB [21:42:03]Write i2c OK [21:42:03]MH_I2C_Read... [21:42:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:03]Read from MH i2c: E2 [21:42:03]MH_I2C_Read... [21:42:03]Read from MH i2c: E2 0E 00 [21:42:03]MH_I2C_Read... [21:42:03]Read from MH i2c: E2 0E 00 5E 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 1C [21:42:03]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:42:03]wFMCommunicate OK [21:42:03]SAM_PROTO_GetShiftState done [21:42:03]FM_GetShiftState done [21:42:03]req_shift_opened done [21:42:03]requested_item shift.open_date is exist - process it [21:42:03]req_shift_open_date [21:42:03]req_shift_open_date done [21:42:03]produce_requested_data done [21:42:03]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24291,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [21:42:03]process_action_free close_receipt [21:42:03]json_value_free [21:42:03]json_value_free done [21:42:03]process_json_proto returns [21:42:03]Send response to host [21:42:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24291,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [21:42:03]free response buf [21:42:03]execute_script done [21:42:03]execute_script returns [21:42:03]free content buf [21:42:03]Sock 9.Close socket [21:42:03]Sock 9.Thread stoped [21:42:03]OFD Sender: No OFD packet to send [21:42:08]OFD Sender: No OFD packet to send [21:42:13]OFD Sender: No OFD packet to send [21:42:18]OFD Sender: No OFD packet to send [21:42:23]OFD Sender: No OFD packet to send [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47:33]OFD Sender: No OFD packet to send [21:47:38]OFD Sender: No OFD packet to send [21:47:43]OFD Sender: No OFD packet to send [21:47:48]OFD Sender: No OFD packet to send [21:47:53]OFD Sender: No OFD packet to send [21:47:58]OFD Sender: No OFD packet to send [21:48:03]OFD Sender: No OFD packet to send [21:48:08]OFD Sender: No OFD packet to send [21:48:13]OFD Sender: No OFD packet to send [21:48:18]OFD Sender: No OFD packet to send [21:48:21]int [21:48:21]Write to MH i2c: 01 00 00 5F 20 7F [21:48:21]*** FLAG_PRN_KEY set [21:48:21]Write i2c OK [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 5F 20 00 08 00 00 00 FF 0F 9C [21:48:21]state=0 [21:48:21]Key pressed [21:48:21]Feed [21:48:21]Write to MH i2c: D8 00 00 60 20 57 [21:48:21]Write i2c OK [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: D8 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: D8 01 00 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: D8 01 00 60 20 00 58 [21:48:21]int [21:48:21]Write to MH i2c: 01 00 00 61 20 81 [21:48:21]Write i2c OK [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 61 20 00 48 00 00 00 3D 00 0D [21:48:21]state=2 [21:48:21]Key pressed [21:48:21]int [21:48:21]Write to MH i2c: 01 00 00 62 20 82 [21:48:21]*** FLAG_PRN_KEY reset [21:48:21]Write i2c OK [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 [21:48:21]MH_I2C_Read... [21:48:21]Read from MH i2c: 01 07 00 62 20 00 00 00 00 00 FF 0F 97 [21:48:21]state=2 [21:48:21]Stop feed [21:48:23]OFD Sender: No OFD packet to send [21:48:28]OFD Sender: No OFD packet to send [21:48:33]OFD Sender: No OFD packet to send [21:48:38]OFD Sender: No OFD packet to send [21:48:43]OFD Sender: No OFD packet to send [21:48:48]OFD Sender: No OFD packet to send [21:48:53]OFD Sender: No OFD packet to send [21:48:58]OFD Sender: No OFD packet to send [21:49:03]OFD Sender: No OFD packet to send [21:49:08]OFD Sender: No OFD packet to send [21:49:13]OFD Sender: No OFD packet to send [21:49:18]OFD Sender: No OFD packet to send [21:49:23]OFD Sender: No OFD packet to send [21:49:28]OFD Sender: No OFD packet to send [21:49:33]OFD Sender: No OFD packet to send [21:49:38]OFD Sender: No OFD packet to send [21:49:43]OFD Sender: No OFD packet to send [21:49:48]OFD Sender: No OFD packet to send [21:49:53]OFD Sender: No OFD packet to send [21:49:58]OFD Sender: No OFD packet to send [21:50:02]accept exits with 7 [21:50:02]New connection [21:50:02]New thread 3067243876 created [21:50:02]Thread 3067100516 joined [21:50:02]Waiting for new connection... [21:50:02] Sock 7.Parse request [21:50:02]Sock 7.Check first char [21:50:02]Sock 7.First char is OK [21:50:02]request: POST /json_proto HTTP/1.0 [21:50:02]Method: POST [21:50:02]URL: /json_proto [21:50:02]Method is POST - this is cgi request [21:50:02]url: /json_proto [21:50:02]query_string will be loaded in cgi processing [21:50:02]execute_cgi json_proto POST (null) [21:50:02]execute_cgi path=json_proto method=POST [21:50:02]POST find Content-Length [21:50:02]Host: 172.17.50.4:8080 [21:50:02]Content-Length: 1016 [21:50:02]Content-Type: application/json [21:50:02] [21:50:02]POST finish read [21:50:02]Found Content-Length = 1016 [21:50:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134817", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870227272957", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 229.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:02]execute_script... [21:50:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134817", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870227272957", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u0422\u0430\u0440\u0445\u0443\u043D 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 229.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:50:02]POST & json_proto [21:50:02]process_json_proto [21:50:02]json parsed OK: [21:50:02]protocol is kg_v1.0 [21:50:02]action value=close_receipt [21:50:02]process_action close_receipt [21:50:02]cmd_close_receipt [21:50:02]MH_GetDate [21:50:02]Write to MH i2c: F0 00 00 63 20 72 [21:50:02]Write i2c OK [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 09 00 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: F0 09 00 63 20 00 12 7B 15 67 1D BB 13 67 D6 [21:50:02]GetLastDocTimeStamp 1729460528 [21:50:02]current date 1729461010 [21:50:02]FM_GetShiftState [21:50:02]SAM_PROTO_GetShiftState [21:50:02]wFMCommunicate request_size=4 [21:50:02]MH_SAM_APDU [21:50:02]CAPDU: 80 13 01 00 [21:50:02]Write to MH i2c: E2 08 00 64 20 80 13 01 00 00 00 00 00 01 [21:50:02]Write i2c OK [21:50:02]MH_I2C_Read... [21:50:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:02]Read from MH i2c: E2 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: E2 0E 00 [21:50:02]MH_I2C_Read... [21:50:02]Read from MH i2c: E2 0E 00 64 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 22 [21:50:02]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:50:02]wFMCommunicate OK [21:50:02]SAM_PROTO_GetShiftState done [21:50:02]FM_GetShiftState done [21:50:02]opened in 1729382737 [21:50:02]opened+sec_in_day 1729469137 [21:50:02]quantity*price = 14400 [21:50:02]sum+1 = 14401 [21:50:02]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870227272957 Лимонад Sunbel Тархун 1л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 229.00 НСП 1% : 2.02 НДС 12% : 24.32 Наличными: 0.00 Безнал.: 229.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 62 20.10.2024 21:50 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24292 ФПД: 131259859336494 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T215010&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24292&fm=131259859336494&tin=02508201610067®Number=0000000000098120&sum=22900 0 [21:50:03]StoreToDocumentArchive [21:50:03]shift 460 fd 24292 [21:50:03]save to /storage/0460/doc_00024292 [21:50:03]save last doc name /storage/0460/doc_00024292 to /storage/kkm_last_doc_name [21:50:03]save OK [21:50:03]Clear old archive folders... [21:50:03]ProcessDocumentItem done err = 0, tmpTLVsize=385 [21:50:03]tlvbuf is B6F9F830 [21:50:03]SAM_PROTO_ClearQueue [21:50:03]wFMCommunicate request_size=4 [21:50:03]MH_SAM_APDU [21:50:03]CAPDU: 80 09 00 00 [21:50:03]Write to MH i2c: E2 08 00 71 20 80 09 00 00 00 00 00 00 03 [21:50:03]Write i2c OK [21:50:03]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 71 20 00 90 00 05 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]SAM_PROTO_ClearQueue done [21:50:04]KKMCreateOFDPacket [21:50:04]OFDProtocolAddRootSTLVToBuf [21:50:04]FM_MakeSignedData [21:50:04]FM_MakeSignedData [21:50:04]SAM_PROTO_SignData [21:50:04]wFMCommunicate request_size=4 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 01 02 [21:50:04]Write to MH i2c: E2 08 00 72 20 80 0D 01 02 00 00 00 00 0B [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 72 20 00 90 00 06 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]wFMCommunicate request_size=255 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 02 02 FA 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 [21:50:04]Write to MH i2c: E2 02 01 73 20 80 0D 02 02 FA 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 93 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 73 20 00 90 00 07 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]wFMCommunicate request_size=144 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 02 02 8B 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 7B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E4 5E 00 00 35 04 06 00 77 61 51 49 FD 2E [21:50:04]Write to MH i2c: E2 93 00 74 20 80 0D 02 02 8B 00 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 7B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E4 5E 00 00 35 04 06 00 77 61 51 49 FD 2E 00 00 59 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 03 00 74 20 00 90 00 08 [21:50:04]RAPDU: 90 00 [21:50:04]wFMCommunicate OK [21:50:04]wFMCommunicate request_size=4 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 0D 03 02 [21:50:04]Write to MH i2c: E2 08 00 75 20 80 0D 03 02 00 00 00 00 10 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 0B 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 0B 00 75 20 00 36 DD 38 13 D3 7A 6B DD 90 00 04 [21:50:04]RAPDU: 36 DD 38 13 D3 7A 6B DD 90 00 [21:50:04]wFMCommunicate OK [21:50:04]SAM_PROTO_SignData done [21:50:04]FM_MakeSignedData done [21:50:04]CreateOFDProtocolMessage [21:50:04]wFMCommunicate request_size=4 [21:50:04]MH_SAM_APDU [21:50:04]CAPDU: 80 11 00 00 [21:50:04]Write to MH i2c: E2 08 00 76 20 80 11 00 00 00 00 00 00 10 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:04]Read from MH i2c: E2 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 17 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: E2 17 00 76 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5D [21:50:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:50:04]wFMCommunicate OK [21:50:04]CreateOFDProtocolMessage done [21:50:04]OFDSenderStorePacket 24292 [21:50:04]StoreOFDPacket docnum=24292 [21:50:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 95 01 00 00 6D 61 8D 01 67 BE 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 7B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E4 5E 00 00 35 04 06 00 77 61 51 49 FD 2E 36 DD 38 13 D3 7A 6B DD [21:50:04]CheckFolder [21:50:04]dirname=/storage/ofd_packets [21:50:04]CheckFolder done [21:50:04]ProducePacketName [21:50:04]name=ofd_packets/00024292 [21:50:04]NVStorageSaveData ofd_packets/00024292 [21:50:04]File name is /storage/ofd_packets/00024292 [21:50:04]Write 435 bytes [21:50:04]NVStorageSaveData done [21:50:04]OFDSenderStorePacket done [21:50:04]KKMCreateOFDPacket done [21:50:04]NVStorageSaveData kkm_last_timestamp [21:50:04]File name is /storage/kkm_last_timestamp [21:50:04]Write 4 bytes [21:50:04]NVStorageSaveData done [21:50:04]ExternCall_PrintAddStr [21:50:04]wPrintStart [21:50:04]Write to MH i2c: 01 00 00 77 20 97 [21:50:04]Write i2c OK [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 07 00 [21:50:04]MH_I2C_Read... [21:50:04]Read from MH i2c: 01 07 00 77 20 00 00 00 00 00 FF 0F AC [21:50:04]RasterBufferAndPrint [21:50:04]line Счет N : (3)134817 [21:50:04]line ИНН: 02508201610067 [21:50:04]line Контрольно-Кассовый Чек [21:50:04]line ПРОДАЖА [21:50:04]line Товар: 48743587 [21:50:04]line Сигареты Winston XStyle Silver [21:50:04]line 1.000 * 144.00 [21:50:04]line = 144.00 [21:50:04]line НДС 12% НСП 1% [21:50:04]line > о реализуемом товаре [21:50:04]line Товар: 4870227272957 [21:50:04]line Лимонад Sunbel Тархун 1л [21:50:04]line 1.000 * 85.00 [21:50:04]line = 85.00 [21:50:04]line НДС 12% НСП 1% [21:50:04]line > о реализуемом товаре [21:50:04]line ИТОГО: 229.00 [21:50:04]line НСП 1% : 2.02 [21:50:04]line НДС 12% : 24.32 [21:50:04]line Наличными: 0.00 [21:50:04]line Безнал.: 229.00 [21:50:04]line Место: АЗС № 85 "Партнер Нефть" [21:50:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:50:04]line СНО: Общий режим [21:50:04]line Чек 62 20.10.2024 21:50 [21:50:04]line Смена: 460 ФФД: 1.0 [21:50:04]line ЗНМ: 0300000166 [21:50:04]line РНМ: 0000000000098120 [21:50:04]line Версия ККМ: 001 [21:50:04]line Платежная система: Mbank [21:50:04]line ФМ: 0000000000965420 [21:50:04]line ФД: 24292 [21:50:04]line ФПД: 131259859336494 [21:50:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T215010&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24292&fm=131259859336494&tin=02508201610067®Number=0000000000098120&sum=22900 [21:50:04]line 0 [21:50:04]OFD Sender: Processing packet 24292 [packets to send 5, broken 4] [21:50:04]ProducePacketName [21:50:04]name=ofd_packets/00024292 [21:50:04]OFD Sender: To server: pG, [21:50:04]CommunicateWithHost lk.salyk.kg:30040 [21:50:04]ConnectInit lk.salyk.kg [21:50:04]written 0, free lines is 4095 [21:50:05]Connected sock=10 [21:50:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 95 01 00 00 6D 61 8D 01 67 BE 5A 03 01 00 03 00 81 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 32 39 35 37 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 A2 D0 B0 D1 80 D1 85 D1 83 D0 BD 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 74 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 80 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 74 59 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 12 7B 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E4 5E 00 00 35 04 06 00 77 61 51 49 FD 2E 36 DD 38 13 D3 7A 6B DD [21:50:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 70 94 47 00 DB 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E4 5E 00 00 F4 03 04 00 A9 26 15 67 B6 04 01 00 00 21 44 A2 90 B9 27 A9 A0 [21:50:05]CommunicateWithHost err = 0 [21:50:05]CheckOFDResponse [21:50:05]1017 (14) - 77093643461234 [21:50:05]1041 (16) - 0000000000965420 [21:50:05]1040 (4) - 24292 [21:50:05]1012 (4) - 20.10.2024 15:50 [21:50:05]1206 (1) - 0 [21:50:05]OFD Sender: Remove packet 24292 [21:50:05]ProducePacketName [21:50:05]name=ofd_packets/00024292 [21:50:05]NVStorageDeleteData [21:50:05]Write to MH i2c: 01 00 00 A7 20 C7 [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 07 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: 01 07 00 A7 20 00 00 00 00 00 D5 0C AF [21:50:05]RasterBufferAndPrint [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]line [21:50:05]written 0, free lines is 3295 [21:50:05]process_action close_receipt done [21:50:05]requested_data is exist [21:50:05]produce_requested_data [21:50:05]requested_item fm.sn is exist - process it [21:50:05]wFMCommunicate request_size=4 [21:50:05]MH_SAM_APDU [21:50:05]CAPDU: 80 11 00 00 [21:50:05]Write to MH i2c: E2 08 00 AE 20 80 11 00 00 00 00 00 00 48 [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:50:05]Read from MH i2c: E2 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 17 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 17 00 AE 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 95 [21:50:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:50:05]wFMCommunicate OK [21:50:05]requested_item fd.num is exist - process it [21:50:05]SAM_PROTO_GetFieldsCounters [21:50:05]wFMCommunicate request_size=4 [21:50:05]MH_SAM_APDU [21:50:05]CAPDU: 80 13 00 00 [21:50:05]Write to MH i2c: E2 08 00 AF 20 80 13 00 00 00 00 00 00 4B [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:50:05]Read from MH i2c: E2 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 62 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 62 00 AF 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 2A [21:50:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E4 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:50:05]wFMCommunicate OK [21:50:05]SAM_PROTO_GetFieldsCounters done [21:50:05]requested_item shift.num is exist - process it [21:50:05]requested_item shift.opened is exist - process it [21:50:05]req_shift_opened [21:50:05]FM_GetShiftState [21:50:05]SAM_PROTO_GetShiftState [21:50:05]wFMCommunicate request_size=4 [21:50:05]MH_SAM_APDU [21:50:05]CAPDU: 80 13 01 00 [21:50:05]Write to MH i2c: E2 08 00 B0 20 80 13 01 00 00 00 00 00 4D [21:50:05]Write i2c OK [21:50:05]MH_I2C_Read... [21:50:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:50:05]Read from MH i2c: E2 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 0E 00 [21:50:05]MH_I2C_Read... [21:50:05]Read from MH i2c: E2 0E 00 B0 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 6E [21:50:05]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [21:50:05]wFMCommunicate OK [21:50:05]SAM_PROTO_GetShiftState done [21:50:05]FM_GetShiftState done [21:50:05]req_shift_opened done [21:50:05]requested_item shift.open_date is exist - process it [21:50:05]req_shift_open_date [21:50:05]req_shift_open_date done [21:50:05]produce_requested_data done [21:50:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24292,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [21:50:05]process_action_free close_receipt [21:50:05]json_value_free [21:50:05]json_value_free done [21:50:05]process_json_proto returns [21:50:05]Send response to host [21:50:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24292,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [21:50:05]free response buf [21:50:05]execute_script done [21:50:05]execute_script returns [21:50:05]free content buf [21:50:05]Sock 7.Close socket [21:50:05]Sock 7.Thread stoped [21:50:05]OFD Sender: No OFD packet to send [21:50:10]OFD Sender: No OFD packet to send [21:50:15]OFD Sender: No OFD packet to send [21:50:20]OFD Sender: No OFD packet to send [21:50:25]OFD Sender: No OFD packet to send [21:50:30]OFD Sender: No OFD packet to send [21:50:35]OFD Sender: No OFD packet to send [21:50:40]OFD Sender: No OFD packet to send [21:50:45]OFD Sender: No OFD packet to send [21:50:50]OFD Sender: No OFD packet to send [21:50:55]OFD Sender: No OFD packet to send [21:51:00]OFD Sender: No OFD packet to send [21:51:05]OFD Sender: No OFD packet to send [21:51:10]OFD Sender: No OFD packet to send [21:51:15]OFD Sender: No OFD packet to send [21:51:20]OFD Sender: No OFD packet to send [21:51:25]OFD Sender: No OFD packet to send [21:51:30]OFD Sender: No OFD packet to send [21:51:35]OFD Sender: No OFD packet to send [21:51:40]OFD Sender: No OFD packet to send [21:51:45]OFD Sender: No OFD packet to send [21:51:50]OFD Sender: No OFD packet to send [21:51:55]OFD Sender: No OFD packet to send [21:52:00]OFD Sender: No OFD packet to send [21:52:05]OFD Sender: No OFD packet to send [21:52:10]OFD Sender: No OFD packet to send [21:52:15]OFD Sender: No OFD packet to send [21:52:20]OFD Sender: No OFD packet to send [21:52:25]OFD Sender: No OFD packet to send [21:52:30]OFD Sender: No OFD packet to send [21:52:35]OFD Sender: No OFD packet to send [21:52:40]OFD Sender: No OFD packet to send [21:52:45]OFD Sender: No OFD packet to send [21:52:50]OFD Sender: No OFD packet to send [21:52:55]OFD Sender: No OFD packet to send [21:53:00]OFD Sender: No OFD packet to send [21:53:05]OFD Sender: No OFD packet to send [21:53:10]OFD Sender: No OFD packet to send [21:53:15]OFD Sender: No OFD packet to send [21:53:20]OFD Sender: No OFD packet to send [21:53:25]OFD Sender: No OFD packet to send [21:53:30]OFD Sender: No OFD packet to send [21:53:35]OFD Sender: No OFD packet to send [21:53:40]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:16]OFD Sender: No OFD packet to send [21:54:21]OFD Sender: No OFD packet to send [21:54:26]OFD Sender: No OFD packet to send [21:54:31]OFD Sender: No OFD packet to send [21:54:36]OFD Sender: No OFD packet to send [21:54:41]OFD Sender: No OFD packet to send [21:54:46]OFD Sender: No OFD packet to send [21:54:51]OFD Sender: No OFD packet to send [21:54:56]OFD Sender: No OFD packet to send [21:55:01]OFD Sender: No OFD packet to send [21:55:06]OFD Sender: No OFD packet to send [21:55:11]OFD Sender: No OFD packet to send [21:55:16]OFD Sender: No OFD packet to send [21:55:21]OFD Sender: No OFD packet to send [21:55:26]OFD Sender: No OFD packet to send [21:55:31]OFD Sender: No OFD packet to send [21:55:36]OFD Sender: No OFD packet to send [21:55:41]OFD Sender: No OFD packet to send [21:55:46]OFD Sender: No OFD packet to send [21:55:51]OFD Sender: No OFD packet to send [21:55:56]OFD Sender: No OFD packet to send [21:56:01]OFD Sender: No OFD packet to send [21:56:06]OFD Sender: No OFD packet to send [21:56:11]OFD Sender: No OFD packet to send [21:56:16]OFD Sender: No OFD packet to send [21:56:21]OFD Sender: No OFD packet to send [21:56:26]OFD Sender: No OFD packet to send [21:56:31]OFD Sender: No OFD packet to send [21:56:36]OFD Sender: No OFD packet to send [21:56:41]OFD Sender: No OFD packet to send [21:56:46]OFD Sender: No OFD packet to send [21:56:51]OFD Sender: No OFD packet to send [21:56:56]OFD Sender: No OFD packet to send [21:57:01]OFD Sender: No OFD packet to send [21:57:06]OFD Sender: No OFD packet to send [21:57:11]OFD Sender: No OFD packet to send [21:57:16]OFD Sender: No OFD packet to send [21:57:21]OFD Sender: No OFD packet to send [21:57:26]OFD Sender: No OFD packet to send [21:57:31]OFD Sender: No OFD packet to send [21:57:36]OFD Sender: No OFD packet to send [21:57:41]OFD Sender: No OFD packet to send [21:57:46]OFD Sender: No OFD packet to send [21:57:51]OFD Sender: No OFD packet to send [21:57:56]OFD Sender: No OFD packet to send [21:58:01]OFD Sender: No OFD packet to send [21:58:06]OFD Sender: No OFD packet to send [21:58:11]OFD Sender: No OFD packet to send [21:58:16]OFD Sender: No OFD packet to send [21:58:21]OFD Sender: No OFD packet to send [21:58:26]OFD Sender: No OFD packet to send [21:58:31]OFD Sender: No OFD packet to send [21:58:36]OFD Sender: No OFD packet to send [21:58:41]OFD Sender: No OFD packet to send [21:58:46]OFD Sender: No OFD packet to send [21:58:51]OFD Sender: No OFD packet to send [21:58:56]OFD Sender: No OFD packet to send [21:59:01]OFD Sender: No OFD packet to send [21:59:06]OFD Sender: No OFD packet to send [21:59:11]OFD Sender: No OFD packet to send [21:59:16]OFD Sender: No OFD packet to send [21:59:21]OFD Sender: No OFD packet to send [21:59:26]OFD Sender: No OFD packet to send [21:59:31]OFD Sender: No OFD packet to send [21:59:36]OFD Sender: No OFD packet to send [21:59:41]OFD Sender: No OFD packet to send [21:59:46]OFD Sender: No OFD packet to send [21:59:51]OFD Sender: No OFD packet to send [21:59:56]OFD Sender: No OFD packet to send [22:00:01]OFD Sender: No OFD packet to send [22:00:06]OFD Sender: No OFD packet to send [22:00:11]OFD Sender: No OFD packet to send [22:00:16]OFD Sender: No OFD packet to send [22:00:21]OFD Sender: No OFD packet to send [22:00:26]OFD Sender: No OFD packet to send [22:00:31]OFD Sender: No OFD packet to send [22:00:36]OFD Sender: No OFD packet to send [22:00:41]OFD Sender: No OFD packet to send [22:00:46]OFD Sender: No OFD packet to send [22:00:51]OFD Sender: No OFD packet to send [22:00:56]OFD Sender: No OFD packet to send [22:01:01]OFD Sender: No OFD packet to send [22:01:06]OFD Sender: No OFD packet to send [22:01:11]OFD Sender: No OFD packet to send [22:01:16]OFD Sender: No OFD packet to send [22:01:21]OFD Sender: No OFD packet to send [22:01:26]OFD Sender: No OFD packet to send [22:01:31]OFD Sender: No OFD packet to send [22:01:36]OFD Sender: No OFD packet to send [22:01:41]OFD Sender: No OFD packet to send [22:01:46]OFD Sender: No OFD packet to send [22:01:51]OFD Sender: No OFD packet to send [22:01:56]OFD Sender: No OFD packet to send [22:02:01]OFD Sender: No OFD packet to send [22:02:06]OFD Sender: No OFD packet to send [22:02:11]OFD Sender: No OFD packet to send [22:02:16]OFD Sender: No OFD packet to send [22:02:21]OFD Sender: No OFD packet to send [22:02:26]OFD Sender: No OFD packet to send [22:02:31]OFD Sender: No OFD packet to send [22:02:36]OFD Sender: No OFD packet to send [22:02:41]OFD Sender: No OFD packet to send [22:02:46]OFD Sender: No OFD packet to send [22:02:51]OFD Sender: No OFD packet to send [22:02:56]OFD Sender: No OFD packet to send [22:03:01]OFD Sender: No OFD packet to send [22:03:06]OFD Sender: No OFD packet to send [22:03:11]OFD Sender: No OFD packet to send [22:03:16]OFD Sender: No OFD packet to send [22:03:21]OFD Sender: No OFD packet to send [22:03:26]OFD Sender: No OFD packet to send [22:03:31]OFD Sender: No OFD packet to send [22:03:36]OFD Sender: No OFD packet to send [22:03:41]OFD Sender: No OFD packet to send [22:03:46]OFD Sender: No OFD packet to send [22:03:51]OFD Sender: No OFD packet to send [22:03:56]OFD Sender: No OFD packet to send [22:04:01]OFD Sender: No OFD packet to send [22:04:06]OFD Sender: No OFD packet to send [22:04:11]OFD Sender: No OFD packet to send [22:04:16]OFD Sender: No OFD packet to send [22:04:21]OFD Sender: No OFD packet to send [22:04:26]OFD Sender: No OFD packet to send [22:04:31]OFD Sender: No OFD packet to send [22:04:36]OFD Sender: No OFD packet to send [22:04:41]OFD Sender: No OFD packet to send [22:04:46]OFD Sender: No OFD packet to send [22:04:51]OFD Sender: No OFD packet to send [22:04:56]OFD Sender: No OFD packet to send [22:05:01]OFD Sender: No OFD packet to send [22:05:06]OFD Sender: No OFD packet to send [22:05:11]OFD Sender: No OFD packet to send [22:05:16]OFD Sender: No OFD packet to send [22:05:21]OFD Sender: No OFD packet to send [22:05:26]OFD Sender: No OFD packet to send [22:05:31]OFD Sender: No OFD packet to send [22:05:36]OFD Sender: No OFD packet to send [22:05:41]OFD Sender: No OFD packet to send [22:05:46]OFD Sender: No OFD packet to send [22:05:51]OFD Sender: No OFD packet to send [22:05:56]OFD Sender: No OFD packet to send [22:06:01]OFD Sender: No OFD packet to send [22:06:06]OFD Sender: No OFD packet to send [22:06:11]OFD Sender: No OFD packet to send [22:06:16]OFD Sender: No OFD packet to send [22:06:21]OFD Sender: No OFD packet to send [22:06:26]OFD Sender: No OFD packet to send [22:06:31]OFD Sender: No OFD packet to send [22:06:36]OFD Sender: No OFD packet to send [22:06:41]OFD Sender: No OFD packet to send [22:06:46]OFD Sender: No OFD packet to send [22:06:51]OFD Sender: No OFD packet to send [22:06:56]OFD Sender: No OFD packet to send [22:07:01]OFD Sender: No OFD packet to send [22:07:06]OFD Sender: No OFD packet to send [22:07:11]OFD Sender: No OFD packet to send [22:07:16]OFD Sender: No OFD packet to send [22:07:21]OFD Sender: No OFD packet to send [22:07:26]OFD Sender: No OFD packet to send [22:07:31]OFD Sender: No OFD packet to send [22:07:36]OFD Sender: No OFD packet to send [22:07:41]OFD Sender: No OFD packet to send [22:07:46]OFD Sender: No OFD packet to send [22:07:51]OFD Sender: No OFD packet to send [22:07:56]OFD Sender: No OFD packet to send [22:08:01]OFD Sender: No OFD packet to send [22:08:06]OFD Sender: No OFD packet to send [22:08:11]OFD Sender: No OFD packet to send [22:08:16]OFD Sender: No OFD packet to send [22:08:21]OFD Sender: No OFD packet to send [22:08:26]OFD Sender: No OFD packet to send [22:08:31]OFD Sender: No OFD packet to send [22:08:36]OFD Sender: No OFD packet to send [22:08:41]OFD Sender: No OFD packet to send [22:08:46]OFD Sender: No OFD packet to send [22:08:51]OFD Sender: No OFD packet to send [22:08:56]OFD Sender: No OFD packet to send [22:09:01]OFD Sender: No OFD packet to send [22:09:06]OFD Sender: No OFD packet to send [22:09:11]OFD Sender: No OFD packet to send [22:09:16]OFD Sender: No OFD packet to send [22:09:21]OFD Sender: No OFD packet to send [22:09:26]OFD Sender: No OFD packet to send [22:09:31]OFD Sender: No OFD packet to send [22:09:36]OFD Sender: No OFD packet to send [22:09:41]OFD Sender: No OFD packet to send [22:09:46]OFD Sender: No OFD packet to send [22:09:51]OFD Sender: No OFD packet to send [22:09:56]OFD Sender: No OFD packet to send [22:10:01]OFD Sender: No OFD packet to send [22:10:06]OFD Sender: No OFD packet to send [22:10:11]OFD Sender: No OFD packet to send [22:10:16]OFD Sender: No OFD packet to send [22:10:21]OFD Sender: No OFD packet to send [22:10:26]OFD Sender: No OFD packet to send [22:10:31]OFD Sender: No OFD packet to send [22:10:36]OFD Sender: No OFD packet to send [22:10:41]OFD Sender: No OFD packet to send [22:10:46]OFD Sender: No OFD packet to send [22:10:51]OFD Sender: No OFD packet to send [22:10:56]OFD Sender: No OFD packet to send [22:11:01]OFD Sender: No OFD packet to send [22:11:06]OFD Sender: No OFD packet to send [22:11:11]OFD Sender: No OFD packet to send [22:11:16]OFD Sender: No OFD packet to send [22:11:21]OFD Sender: No OFD packet to send [22:11:26]OFD Sender: No OFD packet to send [22:11:31]OFD Sender: No OFD packet to send [22:11:36]OFD Sender: No OFD packet to send [22:11:41]OFD Sender: No OFD packet to send [22:11:46]OFD Sender: No OFD packet to send [22:11:51]OFD Sender: No OFD packet to send [22:11:56]OFD Sender: No OFD packet to send [22:12:01]OFD Sender: No OFD packet to send [22:12:06]OFD Sender: No OFD packet to send [22:12:11]OFD Sender: No OFD packet to send [22:12:16]OFD Sender: No OFD packet to send [22:12:21]OFD Sender: No OFD packet to send [22:12:26]OFD Sender: No OFD packet to send [22:12:31]OFD Sender: No OFD packet to send [22:12:36]OFD Sender: No OFD packet to send [22:12:41]OFD Sender: No OFD packet to send [22:12:46]OFD Sender: No OFD packet to send [22:12:51]OFD Sender: No OFD packet to send [22:12:56]OFD Sender: No OFD packet to send [22:13:01]OFD Sender: No OFD packet to send [22:13:06]OFD Sender: No OFD packet to send [22:13:11]OFD Sender: No OFD packet to send [22:13:16]OFD Sender: No OFD packet to send [22:13:21]OFD Sender: No OFD packet to send [22:13:26]OFD Sender: No OFD packet to send [22:13:31]OFD Sender: No OFD packet to send [22:13:36]OFD Sender: No OFD packet to send [22:13:41]OFD Sender: No OFD packet to send [22:13:46]OFD Sender: No OFD packet to send [22:13:51]OFD Sender: No OFD packet to send [22:13:56]OFD Sender: No OFD packet to send [22:14:01]OFD Sender: No OFD packet to send [22:14:06]OFD Sender: No OFD packet to send [22:14:11]OFD Sender: No OFD packet to send [22:14:16]OFD Sender: No OFD packet to send [22:14:21]OFD Sender: No OFD packet to send [22:14:26]OFD Sender: No OFD packet to send [22:14:31]OFD Sender: No OFD packet to send [22:14:36]OFD Sender: No OFD packet to send [22:14:41]OFD Sender: No OFD packet to send [22:14:46]OFD Sender: No OFD packet to send [22:14:51]OFD Sender: No OFD packet to send [22:14:56]OFD Sender: No OFD packet to send [22:15:01]OFD Sender: No OFD packet to send [22:15:06]OFD Sender: No OFD packet to send [22:15:11]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:02]OFD Sender: No OFD packet to send [22:21:07]OFD Sender: No OFD packet to send [22:21:12]OFD Sender: No OFD packet to send [22:21:17]OFD Sender: No OFD packet to send [22:21:22]OFD Sender: No OFD packet to send [22:21:27]OFD Sender: No OFD packet to send [22:21:32]OFD Sender: No OFD packet to send [22:21:37]OFD Sender: No OFD packet to send [22:21:42]OFD Sender: No OFD packet to send [22:21:47]OFD Sender: No OFD packet to send [22:21:52]OFD Sender: No OFD packet to send [22:21:57]OFD Sender: No OFD packet to send [22:22:02]OFD Sender: No OFD packet to send [22:22:07]OFD Sender: No OFD packet to send [22:22:12]OFD Sender: No OFD packet to send [22:22:17]OFD Sender: No OFD packet to send [22:22:22]OFD Sender: No OFD packet to send [22:22:27]OFD Sender: No OFD packet to send [22:22:32]OFD Sender: No OFD packet to send [22:22:37]OFD Sender: No OFD packet to send [22:22:42]OFD Sender: No OFD packet to send [22:22:47]OFD Sender: No OFD packet to send [22:22:52]OFD Sender: No OFD packet to send [22:22:57]OFD Sender: No OFD packet to send [22:23:02]OFD Sender: No OFD packet to send [22:23:07]OFD Sender: No OFD packet to send [22:23:12]OFD Sender: No OFD packet to send [22:23:17]OFD Sender: No OFD packet to send [22:23:22]OFD Sender: No OFD packet to send [22:23:27]OFD Sender: No OFD packet to send [22:23:32]OFD Sender: No OFD packet to send [22:23:37]OFD Sender: No OFD packet to send [22:23:42]OFD Sender: No OFD packet to send [22:23:47]OFD Sender: No OFD packet to send [22:23:52]OFD Sender: No OFD packet to send [22:23:57]OFD Sender: No OFD packet to send [22:24:02]OFD Sender: No OFD packet to send [22:24:07]OFD Sender: No OFD packet to send [22:24:12]OFD Sender: No OFD packet to send [22:24:17]OFD Sender: No OFD packet to send [22:24:22]OFD Sender: No OFD packet to send [22:24:27]OFD Sender: No OFD packet to send [22:24:32]OFD Sender: No OFD packet to send [22:24:37]OFD Sender: No OFD packet to send [22:24:42]OFD Sender: No OFD packet to send [22:24:47]OFD Sender: No OFD packet to send [22:24:52]OFD Sender: No OFD packet to send [22:24:57]OFD Sender: No OFD packet to send [22:25:02]OFD Sender: No OFD packet to send [22:25:07]OFD Sender: No OFD packet to send [22:25:12]OFD Sender: No OFD packet to send [22:25:17]OFD Sender: No OFD packet to send [22:25:22]OFD Sender: No OFD packet to send [22:25:27]OFD Sender: No OFD packet to send [22:25:32]OFD Sender: No OFD packet to send [22:25:37]OFD Sender: No OFD packet to send [22:25:42]OFD Sender: No OFD packet to send [22:25:47]OFD Sender: No OFD packet to send [22:25:52]OFD Sender: No OFD packet to send [22:25:57]OFD Sender: No OFD packet to send [22:26:02]OFD Sender: No OFD packet to send [22:26:07]OFD Sender: No OFD packet to send [22:26:12]OFD Sender: No OFD packet to send [22:26:17]OFD Sender: No OFD packet to send [22:26:22]OFD Sender: No OFD packet to send [22:26:27]OFD Sender: No OFD packet to send [22:26:32]OFD Sender: No OFD packet to send [22:26:37]OFD Sender: No OFD packet to send [22:26:42]OFD Sender: No OFD packet to send [22:26:47]OFD Sender: No OFD packet to send [22:26:52]OFD Sender: No OFD packet to send [22:26:57]OFD Sender: No OFD packet to send [22:27:02]OFD Sender: No OFD packet to send [22:27:07]OFD Sender: No OFD packet to send [22:27:12]OFD Sender: No OFD packet to send [22:27:17]OFD Sender: No OFD packet to send [22:27:22]OFD Sender: No OFD packet to send [22:27:27]OFD Sender: No OFD packet to send [22:27:32]OFD Sender: No OFD packet to send [22:27:37]OFD Sender: No OFD packet to send [22:27:42]OFD Sender: No OFD packet to send [22:27:47]OFD Sender: No OFD packet to send [22:27:52]OFD Sender: No OFD packet to send [22:27:57]OFD Sender: No OFD packet to send [22:28:02]OFD Sender: No OFD packet to send [22:28:07]OFD Sender: No OFD packet to send [22:28:12]OFD Sender: No OFD packet to send [22:28:17]OFD Sender: No OFD packet to send [22:28:22]OFD Sender: No OFD packet to send [22:28:27]OFD Sender: No OFD packet to send [22:28:32]OFD Sender: No OFD packet to send [22:28:37]OFD Sender: No OFD packet to send [22:28:42]OFD Sender: No OFD packet to send [22:28:47]OFD Sender: No OFD packet to send [22:28:52]OFD Sender: No OFD packet to send [22:28:57]OFD Sender: No OFD packet to send [22:29:02]OFD Sender: No OFD packet to send [22:29:07]OFD Sender: No OFD packet to send [22:29:12]OFD Sender: No OFD packet to send [22:29:17]OFD Sender: No OFD packet to send [22:29:22]OFD Sender: No OFD packet to send [22:29:27]OFD Sender: No OFD packet to send [22:29:32]OFD Sender: No OFD packet to send [22:29:37]OFD Sender: No OFD packet to send [22:29:42]OFD Sender: No OFD packet to send [22:29:47]OFD Sender: No OFD packet to send [22:29:52]OFD Sender: No OFD packet to send [22:29:57]OFD Sender: No OFD packet to send [22:30:02]OFD Sender: No OFD packet to send [22:30:07]OFD Sender: No OFD packet to send [22:30:12]OFD Sender: No OFD packet to send [22:30:17]OFD Sender: No OFD packet to send [22:30:22]OFD Sender: No OFD packet to send [22:30:27]OFD Sender: No OFD packet to send [22:30:32]OFD Sender: No OFD packet to send [22:30:37]OFD Sender: No OFD packet to send [22:30:42]OFD Sender: No OFD packet to send [22:30:47]OFD Sender: No OFD packet to send [22:30:52]OFD Sender: No OFD packet to send [22:30:57]OFD Sender: No OFD packet to send [22:31:02]OFD Sender: No OFD packet to send [22:31:07]OFD Sender: No OFD packet to send [22:31:12]OFD Sender: No OFD packet to send [22:31:17]OFD Sender: No OFD packet to send [22:31:22]OFD Sender: No OFD packet to send [22:31:27]OFD Sender: No OFD packet to send [22:31:32]OFD Sender: No OFD packet to send [22:31:37]OFD Sender: No OFD packet to send [22:31:42]OFD Sender: No OFD packet to send [22:31:47]OFD Sender: No OFD packet to send [22:31:52]OFD Sender: No OFD packet to send [22:31:57]OFD Sender: No OFD packet to send [22:32:02]OFD Sender: No OFD packet to send [22:32:07]OFD Sender: No OFD packet to send [22:32:12]OFD Sender: No OFD packet to send [22:32:17]OFD Sender: No OFD packet to send [22:32:22]OFD Sender: No OFD packet to send [22:32:27]OFD Sender: No OFD packet to send [22:32:32]OFD Sender: No OFD packet to send [22:32:37]OFD Sender: No OFD packet to send [22:32:42]OFD Sender: No OFD packet to send [22:32:47]OFD Sender: No OFD packet to send [22:32:52]OFD Sender: No OFD packet to send [22:32:57]OFD Sender: No OFD packet to send [22:33:02]OFD Sender: No OFD packet to send [22:33:07]OFD Sender: No OFD packet to send [22:33:12]OFD Sender: No OFD packet to send [22:33:17]OFD Sender: No OFD packet to send [22:33:22]OFD Sender: No OFD packet to send [22:33:27]OFD Sender: No OFD packet to send [22:33:32]OFD Sender: No OFD packet to send [22:33:37]OFD Sender: No OFD packet to send [22:33:42]OFD Sender: No OFD packet to send [22:33:47]OFD Sender: No OFD packet to send [22:33:52]OFD Sender: No OFD packet to send [22:33:57]OFD Sender: No OFD packet to send [22:34:02]OFD Sender: No OFD packet to send [22:34:07]OFD Sender: No OFD packet to send [22:34:12]OFD Sender: No OFD packet to send [22:34:17]OFD Sender: No OFD packet to send [22:34:22]OFD Sender: No OFD packet to send [22:34:27]OFD Sender: No OFD packet to send [22:34:32]OFD Sender: No OFD packet to send [22:34:37]OFD Sender: No OFD packet to send [22:34:42]OFD Sender: No OFD packet to send [22:34:47]OFD Sender: No OFD packet to send [22:34:52]OFD Sender: No OFD packet to send [22:34:57]OFD Sender: No OFD packet to send [22:35:02]OFD Sender: No OFD packet to send [22:35:07]OFD Sender: No OFD packet to send [22:35:12]OFD Sender: No OFD packet to send [22:35:17]OFD Sender: No OFD packet to send [22:35:22]OFD Sender: No OFD packet to send [22:35:27]OFD Sender: No OFD packet to send [22:35:32]OFD Sender: No OFD packet to send [22:35:37]OFD Sender: No OFD packet to send [22:35:42]OFD Sender: No OFD packet to send [22:35:47]OFD Sender: No OFD packet to send [22:35:52]OFD Sender: No OFD packet to send [22:35:57]OFD Sender: No OFD packet to send [22:36:02]OFD Sender: No OFD packet to send [22:36:07]OFD Sender: No OFD packet to send [22:36:12]OFD Sender: No OFD packet to send [22:36:17]OFD Sender: No OFD packet to send [22:36:22]OFD Sender: No OFD packet to send [22:36:27]OFD Sender: No OFD packet to send [22:36:32]OFD Sender: No OFD packet to send [22:36:37]OFD Sender: No OFD packet to send [22:36:42]OFD Sender: No OFD packet to send [22:36:47]OFD Sender: No OFD packet to send [22:36:52]OFD Sender: No OFD packet to send [22:36:57]OFD Sender: No OFD packet to send [22:37:02]OFD Sender: No OFD packet to send [22:37:07]OFD Sender: No OFD packet to send [22:37:12]OFD Sender: No OFD packet to send [22:37:18]OFD Sender: No OFD packet to send [22:37:23]OFD Sender: No OFD packet to send [22:37:28]OFD Sender: No OFD packet to send [22:37:33]OFD Sender: No OFD packet to send [22:37:38]OFD Sender: No OFD packet to send [22:37:43]OFD Sender: No OFD packet to send [22:37:48]OFD Sender: No OFD packet to send [22:37:53]OFD Sender: No OFD packet to send [22:37:58]OFD Sender: No OFD packet to send [22:38:03]OFD Sender: No OFD packet to send [22:38:08]OFD Sender: No OFD packet to send [22:38:13]OFD Sender: No OFD packet to send [22:38:18]OFD Sender: No OFD packet to send [22:38:23]OFD Sender: No OFD packet to send [22:38:28]OFD Sender: No OFD packet to send [22:38:33]OFD Sender: No OFD packet to send [22:38:38]OFD Sender: No OFD packet to send [22:38:43]OFD Sender: No OFD packet to send [22:38:48]OFD Sender: No OFD packet to send [22:38:53]OFD Sender: No OFD packet to send [22:38:58]OFD Sender: No OFD packet to send [22:39:03]OFD Sender: No OFD packet to send [22:39:08]OFD Sender: No OFD packet to send [22:39:13]OFD Sender: No OFD packet to send [22:39:18]OFD Sender: No OFD packet to send [22:39:23]OFD Sender: No OFD packet to send [22:39:28]OFD Sender: No OFD packet to send [22:39:33]OFD Sender: No OFD packet to send [22:39:38]OFD Sender: No OFD packet to send [22:39:43]OFD Sender: No OFD packet to send [22:39:48]OFD Sender: No OFD packet to send [22:39:53]OFD Sender: No OFD packet to send [22:39:58]OFD Sender: No OFD packet to send [22:40:03]OFD Sender: No OFD packet to send [22:40:08]OFD Sender: No OFD packet to send [22:40:13]OFD Sender: No OFD packet to send [22:40:18]OFD Sender: No OFD packet to send [22:40:23]OFD Sender: No OFD packet to send [22:40:28]OFD Sender: No OFD packet to send [22:40:33]OFD Sender: No OFD packet to send [22:40:38]OFD Sender: No OFD packet to send [22:40:43]OFD Sender: No OFD packet to send [22:40:48]OFD Sender: No OFD packet to send [22:40:53]OFD Sender: No OFD packet to send [22:40:58]OFD Sender: No OFD packet to send [22:41:03]OFD Sender: No OFD packet to send [22:41:08]OFD Sender: No OFD packet to send [22:41:13]OFD Sender: No OFD packet to send [22:41:18]OFD Sender: No OFD packet to send [22:41:23]OFD Sender: No OFD packet to send [22:41:28]OFD Sender: No OFD packet to send [22:41:33]OFD Sender: No OFD packet to send [22:41:38]OFD Sender: No OFD packet to send [22:41:43]OFD Sender: No OFD packet to send [22:41:48]OFD Sender: No OFD packet to send [22:41:53]OFD Sender: No OFD packet to send [22:41:58]OFD Sender: No OFD packet to send [22:42:03]OFD Sender: No OFD packet to send [22:42:08]OFD Sender: No OFD packet to send [22:42:13]OFD Sender: No OFD packet to send [22:42:18]OFD Sender: No OFD packet to send [22:42:23]OFD Sender: No OFD packet to send [22:42:28]OFD Sender: No OFD packet to send [22:42:33]OFD Sender: No OFD packet to send [22:42:38]OFD Sender: No OFD packet to send [22:42:43]OFD Sender: No OFD packet to send [22:42:48]OFD Sender: No OFD packet to send [22:42:53]OFD Sender: No OFD packet to send [22:42:58]OFD Sender: No OFD packet to send [22:43:03]OFD Sender: No OFD packet to send [22:43:08]OFD Sender: No OFD packet to send [22:43:13]OFD Sender: No OFD packet to send [22:43:18]OFD Sender: No OFD packet to send [22:43:23]OFD Sender: No OFD packet to send [22:43:28]OFD Sender: No OFD packet to send [22:43:33]OFD Sender: No OFD packet to send [22:43:38]OFD Sender: No OFD packet to send [22:43:43]OFD Sender: No OFD packet to send [22:43:48]OFD Sender: No OFD packet to send [22:43:53]OFD Sender: No OFD packet to send [22:43:58]OFD Sender: No OFD packet to send [22:44:03]OFD Sender: No OFD packet to send [22:44:08]OFD Sender: No OFD packet to send [22:44:13]OFD Sender: No OFD packet to send [22:44:18]OFD Sender: No OFD packet to send [22:44:23]OFD Sender: No OFD packet to send [22:44:28]OFD Sender: No OFD packet to send [22:44:33]OFD Sender: No OFD packet to send [22:44:38]OFD Sender: No OFD packet to send [22:44:43]OFD Sender: No OFD packet to send [22:44:48]OFD Sender: No OFD packet to send [22:44:53]OFD Sender: No OFD packet to send [22:44:58]OFD Sender: No OFD packet to send [22:45:03]OFD Sender: No OFD packet to send [22:45:08]OFD Sender: No OFD packet to send [22:45:13]OFD Sender: No OFD packet to send [22:45:18]OFD Sender: No OFD packet to send [22:45:23]OFD Sender: No OFD packet to send [22:45:28]OFD Sender: No OFD packet to send [22:45:33]OFD Sender: No OFD packet to send [22:45:38]OFD Sender: No OFD packet to send [22:45:43]OFD Sender: No OFD packet to send [22:45:48]OFD Sender: No OFD packet to send [22:45:53]OFD Sender: No OFD packet to send [22:45:58]OFD Sender: No OFD packet to send [22:46:03]OFD Sender: No OFD packet to send [22:46:08]OFD Sender: No OFD packet to send [22:46:13]OFD Sender: No OFD packet to send [22:46:18]OFD Sender: No OFD packet to send [22:46:23]OFD Sender: No OFD packet to send [22:46:28]OFD Sender: No OFD packet to send [22:46:33]OFD Sender: No OFD packet to send [22:46:38]OFD Sender: No OFD packet to send [22:46:43]OFD Sender: No OFD packet to send [22:46:48]OFD Sender: No OFD packet to send [22:46:53]OFD Sender: No OFD packet to send [22:46:58]OFD Sender: No OFD packet to send [22:47:03]OFD Sender: No OFD packet to send [22:47:08]OFD Sender: No OFD packet to send [22:47:13]OFD Sender: No OFD packet to send [22:47:18]OFD Sender: No OFD packet to send [22:47:23]OFD Sender: No OFD packet to send [22:47:28]OFD Sender: No OFD packet to send [22:47:33]OFD Sender: No OFD packet to send [22:47:38]OFD Sender: No OFD packet to send [22:47:43]OFD Sender: No OFD packet to send [22:47:48]OFD Sender: No OFD packet to send [22:47:53]OFD Sender: No OFD packet to send [22:47:58]OFD Sender: No OFD packet to send [22:48:03]OFD Sender: No OFD packet to send [22:48:08]OFD Sender: No OFD packet to send [22:48:13]OFD Sender: No OFD packet to send [22:48:18]OFD Sender: No OFD packet to send [22:48:23]OFD Sender: No OFD packet to send [22:48:28]OFD Sender: No OFD packet to send [22:48:33]OFD Sender: No OFD packet to send [22:48:38]OFD Sender: No OFD packet to send [22:48:43]OFD Sender: No OFD packet to send [22:48:48]OFD Sender: No OFD packet to send [22:48:53]OFD Sender: No OFD packet to send [22:48:58]OFD Sender: No OFD packet to send [22:49:03]OFD Sender: No OFD packet to send [22:49:08]OFD Sender: No OFD packet to send [22:49:13]OFD Sender: No OFD packet to send [22:49:18]OFD Sender: No OFD packet to send [22:49:23]OFD Sender: No OFD packet to send [22:49:28]OFD Sender: No OFD packet to send [22:49:33]OFD Sender: No OFD packet to send [22:49:38]OFD Sender: No OFD packet to send [22:49:43]OFD Sender: No OFD packet to send [22:49:48]OFD Sender: No OFD packet to send [22:49:53]OFD Sender: No OFD packet to send [22:49:58]OFD Sender: No OFD packet to send [22:50:03]OFD Sender: No OFD packet to send [22:50:08]OFD Sender: No OFD packet to send [22:50:13]OFD Sender: No OFD packet to send [22:50:18]OFD Sender: No OFD packet to send [22:50:23]OFD Sender: No OFD packet to send [22:50:28]OFD Sender: No OFD packet to send [22:50:33]OFD Sender: No OFD packet to send [22:50:38]OFD Sender: No OFD packet to send [22:50:43]OFD Sender: No OFD packet to send [22:50:48]OFD Sender: No OFD packet to send [22:50:53]OFD Sender: No OFD packet to send [22:50:58]OFD Sender: No OFD packet to send [22:51:03]OFD Sender: No OFD packet to send [22:51:08]OFD Sender: No OFD packet to send [22:51:13]OFD Sender: No OFD packet to send [22:51:18]OFD Sender: No OFD packet to send [22:51:23]OFD Sender: No OFD packet to send [22:51:28]OFD Sender: No OFD packet to send [22:51:33]OFD Sender: No OFD packet to send [22:51:38]OFD Sender: No OFD packet to send [22:51:43]OFD Sender: No OFD packet to send [22:51:48]OFD Sender: No OFD packet to send [22:51:53]OFD Sender: No OFD packet to send [22:51:58]OFD Sender: No OFD packet to send [22:52:03]OFD Sender: No OFD packet to send [22:52:08]OFD Sender: No OFD packet to send [22:52:13]OFD Sender: No OFD packet to send [22:52:18]OFD Sender: No OFD packet to send [22:52:23]OFD Sender: No OFD packet to send [22:52:28]OFD Sender: No OFD packet to send [22:52:33]OFD Sender: No OFD packet to send [22:52:38]OFD Sender: No OFD packet to send [22:52:43]OFD Sender: No OFD packet to send [22:52:48]OFD Sender: No OFD packet to send [22:52:53]OFD Sender: No OFD packet to send [22:52:58]OFD Sender: No OFD packet to send [22:53:03]OFD Sender: No OFD packet to send [22:53:08]OFD Sender: No OFD packet to send [22:53:13]OFD Sender: No OFD packet to send [22:53:18]OFD Sender: No OFD packet to send [22:53:23]OFD Sender: No OFD packet to send [22:53:28]OFD Sender: No OFD packet to send [22:53:33]OFD Sender: No OFD packet to send [22:53:38]OFD Sender: No OFD packet to send [22:53:43]OFD Sender: No OFD packet to send [22:53:48]OFD Sender: No OFD packet to send [22:53:53]OFD Sender: No OFD packet to send [22:53:58]OFD Sender: No OFD packet to send [22:54:03]OFD Sender: No OFD packet to send [22:54:08]OFD Sender: No OFD packet to send [22:54:13]OFD Sender: No OFD packet to send [22:54:18]OFD Sender: No OFD packet to send [22:54:23]OFD Sender: No OFD packet to send [22:54:28]OFD Sender: No OFD packet to send [22:54:33]OFD Sender: No OFD packet to send [22:54:38]OFD Sender: No OFD packet to send [22:54:43]OFD Sender: No OFD packet to send [22:54:48]OFD Sender: No OFD packet to send [22:54:53]OFD Sender: No OFD packet to send [22:54:58]OFD Sender: No OFD packet to send [22:55:03]OFD Sender: No OFD packet to send [22:55:08]OFD Sender: No OFD packet to send [22:55:13]OFD Sender: No OFD packet to send [22:55:18]OFD Sender: No OFD packet to send [22:55:23]OFD Sender: No OFD packet to send [22:55:28]OFD Sender: No OFD packet to send [22:55:33]OFD Sender: No OFD packet to send [22:55:38]OFD Sender: No OFD packet to send [22:55:43]OFD Sender: No OFD packet to send [22:55:48]OFD Sender: No OFD packet to send [22:55:53]OFD Sender: No OFD packet to send [22:55:58]OFD Sender: No OFD packet to send [22:56:03]OFD Sender: No OFD packet to send [22:56:08]OFD Sender: No OFD packet to send [22:56:13]OFD Sender: No OFD packet to send [22:56:18]OFD Sender: No OFD packet to send [22:56:23]OFD Sender: No OFD packet to send [22:56:28]OFD Sender: No OFD packet to send [22:56:33]OFD Sender: No OFD packet to send [22:56:38]OFD Sender: No OFD packet to send [22:56:43]OFD Sender: No OFD packet to send [22:56:48]OFD Sender: No OFD packet to send [22:56:53]OFD Sender: No OFD packet to send [22:56:58]OFD Sender: No OFD packet to send [22:57:03]OFD Sender: No OFD packet to send [22:57:08]OFD Sender: No OFD packet to send [22:57:13]OFD Sender: No OFD packet to send [22:57:18]OFD Sender: No OFD packet to send [22:57:23]OFD Sender: No OFD packet to send [22:57:28]OFD Sender: No OFD packet to send [22:57:33]OFD Sender: No OFD packet to send [22:57:38]OFD Sender: No OFD packet to send [22:57:43]OFD Sender: No OFD packet to send [22:57:48]OFD Sender: No OFD packet to send [22:57:53]OFD Sender: No OFD packet to send [22:57:58]OFD Sender: No OFD packet to send [22:58:03]OFD Sender: No OFD packet to send [22:58:08]OFD Sender: No OFD packet to send [22:58:13]OFD Sender: No OFD packet to send [22:58:18]OFD Sender: No OFD packet to send [22:58:23]OFD Sender: No OFD packet to send [22:58:28]OFD Sender: No OFD packet to send [22:58:33]OFD Sender: No OFD packet to send [22:58:39]OFD Sender: No OFD packet to send [22:58:44]OFD Sender: No OFD packet to send [22:58:49]OFD Sender: No OFD packet to send [22:58:54]OFD Sender: No OFD packet to send [22:58:59]OFD Sender: No OFD packet to send [22:59:04]OFD Sender: No OFD packet to send [22:59:09]OFD Sender: No OFD packet to send [22:59:14]OFD Sender: No OFD packet to send [22:59:19]OFD Sender: No OFD packet to send [22:59:24]OFD Sender: No OFD packet to send [22:59:29]OFD Sender: No OFD packet to send [22:59:34]OFD Sender: No OFD packet to send [22:59:39]OFD Sender: No OFD packet to send [22:59:44]OFD Sender: No OFD packet to send [22:59:49]OFD Sender: No OFD packet to send [22:59:54]OFD Sender: No OFD packet to send [22:59:59]OFD Sender: No OFD packet to send [23:00:04]OFD Sender: No OFD packet to send [23:00:09]OFD Sender: No OFD packet to send [23:00:14]OFD Sender: No OFD packet to send [23:00:19]OFD Sender: No OFD packet to send [23:00:24]OFD Sender: No OFD packet to send [23:00:29]OFD Sender: No OFD packet to send [23:00:34]OFD Sender: No OFD packet to send [23:00:39]OFD Sender: No OFD packet to send [23:00:44]OFD Sender: No OFD packet to send [23:00:49]OFD Sender: No OFD packet to send [23:00:54]OFD Sender: No OFD packet to send [23:00:59]OFD Sender: No OFD packet to send [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:19]OFD Sender: No OFD packet to send [23:04:24]OFD Sender: No OFD packet to send [23:04:29]OFD Sender: No OFD packet to send [23:04:34]OFD Sender: No OFD packet to send [23:04:39]OFD Sender: No OFD packet to send [23:04:44]OFD Sender: No OFD packet to send [23:04:49]OFD Sender: No OFD packet to send [23:04:54]OFD Sender: No OFD packet to send [23:04:59]OFD Sender: No OFD packet to send [23:05:04]OFD Sender: No OFD packet to send [23:05:09]OFD Sender: No OFD packet to send [23:05:14]OFD Sender: No OFD packet to send [23:05:19]OFD Sender: No OFD packet to send [23:05:24]OFD Sender: No OFD packet to send [23:05:29]OFD Sender: No OFD packet to send [23:05:34]OFD Sender: No OFD packet to send [23:05:39]OFD Sender: No OFD packet to send [23:05:44]OFD Sender: No OFD packet to send [23:05:49]OFD Sender: No OFD packet to send [23:05:54]OFD Sender: No OFD packet to send [23:05:59]OFD Sender: No OFD packet to send [23:06:04]OFD Sender: No OFD packet to send [23:06:09]OFD Sender: No OFD packet to send [23:06:14]OFD Sender: No OFD packet to send [23:06:19]OFD Sender: No OFD packet to send [23:06:24]OFD Sender: No OFD packet to send [23:06:29]OFD Sender: No OFD packet to send [23:06:34]OFD Sender: No OFD packet to send [23:06:39]OFD Sender: No OFD packet to send [23:06:44]OFD Sender: No OFD packet to send [23:06:49]OFD Sender: No OFD packet to send [23:06:54]OFD Sender: No OFD packet to send [23:06:59]OFD Sender: No OFD packet to send [23:07:04]OFD Sender: No OFD packet to send [23:07:09]OFD Sender: No OFD packet to send [23:07:14]OFD Sender: No OFD packet to send [23:07:19]OFD Sender: No OFD packet to send [23:07:24]OFD Sender: No OFD packet to send [23:07:29]OFD Sender: No OFD packet to send [23:07:34]OFD Sender: No OFD packet to send [23:07:39]OFD Sender: No OFD packet to send [23:07:44]OFD Sender: No OFD packet to send [23:07:49]OFD Sender: No OFD packet to send [23:07:54]OFD Sender: No OFD packet to send [23:07:59]OFD Sender: No OFD packet to send [23:08:04]OFD Sender: No OFD packet to send [23:08:09]OFD Sender: No OFD packet to send [23:08:14]OFD Sender: No OFD packet to send [23:08:19]OFD Sender: No OFD packet to send [23:08:24]OFD Sender: No OFD packet to send [23:08:29]OFD Sender: No OFD packet to send [23:08:34]OFD Sender: No OFD packet to send [23:08:39]OFD Sender: No OFD packet to send [23:08:44]OFD Sender: No OFD packet to send [23:08:49]OFD Sender: No OFD packet to send [23:08:54]OFD Sender: No OFD packet to send [23:08:59]OFD Sender: No OFD packet to send [23:09:04]OFD Sender: No OFD packet to send [23:09:09]OFD Sender: No OFD packet to send [23:09:14]OFD Sender: No OFD packet to send [23:09:19]OFD Sender: No OFD packet to send [23:09:24]OFD Sender: No OFD packet to send [23:09:29]OFD Sender: No OFD packet to send [23:09:34]OFD Sender: No OFD packet to send [23:09:39]OFD Sender: No OFD packet to send [23:09:44]OFD Sender: No OFD packet to send [23:09:49]OFD Sender: No OFD packet to send [23:09:54]OFD Sender: No OFD packet to send [23:09:59]OFD Sender: No OFD packet to send [23:10:04]OFD Sender: No OFD packet to send [23:10:09]OFD Sender: No OFD packet to send [23:10:14]OFD Sender: No OFD packet to send [23:10:19]OFD Sender: No OFD packet to send [23:10:24]OFD Sender: No OFD packet to send [23:10:29]OFD Sender: No OFD packet to send [23:10:34]OFD Sender: No OFD packet to send [23:10:39]OFD Sender: No OFD packet to send [23:10:44]OFD Sender: No OFD packet to send [23:10:49]OFD Sender: No OFD packet to send [23:10:54]OFD Sender: No OFD packet to send [23:10:59]OFD Sender: No OFD packet to send [23:11:04]OFD Sender: No OFD packet to send [23:11:09]OFD Sender: No OFD packet to send [23:11:14]OFD Sender: No OFD packet to send [23:11:19]OFD Sender: No OFD packet to send [23:11:24]OFD Sender: No OFD packet to send [23:11:29]OFD Sender: No OFD packet to send [23:11:34]OFD Sender: No OFD packet to send [23:11:39]OFD Sender: No OFD packet to send [23:11:44]OFD Sender: No OFD packet to send [23:11:49]OFD Sender: No OFD packet to send [23:11:54]OFD Sender: No OFD packet to send [23:11:59]OFD Sender: No OFD packet to send [23:12:04]OFD Sender: No OFD packet to send [23:12:09]OFD Sender: No OFD packet to send [23:12:14]OFD Sender: No OFD packet to send [23:12:19]OFD Sender: No OFD packet to send [23:12:24]OFD Sender: No OFD packet to send [23:12:29]OFD Sender: No OFD packet to send [23:12:34]OFD Sender: No OFD packet to send [23:12:39]OFD Sender: No OFD packet to send [23:12:44]OFD Sender: No OFD packet to send [23:12:49]OFD Sender: No OFD packet to send [23:12:54]OFD Sender: No OFD packet to send [23:12:59]OFD Sender: No OFD packet to send [23:13:04]OFD Sender: No OFD packet to send [23:13:09]OFD Sender: No OFD packet to send [23:13:14]OFD Sender: No OFD packet to send [23:13:19]OFD Sender: No OFD packet to send [23:13:24]OFD Sender: No OFD packet to send [23:13:29]OFD Sender: No OFD packet to send [23:13:34]OFD Sender: No OFD packet to send [23:13:39]OFD Sender: No OFD packet to send [23:13:44]OFD Sender: No OFD packet to send [23:13:49]OFD Sender: No OFD packet to send [23:13:54]OFD Sender: No OFD packet to send [23:13:59]OFD Sender: No OFD packet to send [23:14:04]OFD Sender: No OFD packet to send [23:14:09]OFD Sender: No OFD packet to send [23:14:14]OFD Sender: No OFD packet to send [23:14:19]OFD Sender: No OFD packet to send [23:14:24]OFD Sender: No OFD packet to send [23:14:29]OFD Sender: No OFD packet to send [23:14:34]OFD Sender: No OFD packet to send [23:14:39]OFD Sender: No OFD packet to send [23:14:44]OFD Sender: No OFD packet to send [23:14:49]OFD Sender: No OFD packet to send [23:14:54]OFD Sender: No OFD packet to send [23:14:59]OFD Sender: No OFD packet to send [23:15:04]OFD Sender: No OFD packet to send [23:15:09]OFD Sender: No OFD packet to send [23:15:14]OFD Sender: No OFD packet to send [23:15:19]OFD Sender: No OFD packet to send [23:15:24]OFD Sender: No OFD packet to send [23:15:29]OFD Sender: No OFD packet to send [23:15:34]OFD Sender: No OFD packet to send [23:15:39]OFD Sender: No OFD packet to send [23:15:44]OFD Sender: No OFD packet to send [23:15:49]OFD Sender: No OFD packet to send [23:15:54]OFD Sender: No OFD packet to send [23:15:59]OFD Sender: No OFD packet to send [23:16:04]OFD Sender: No OFD packet to send [23:16:09]OFD Sender: No OFD packet to send [23:16:14]OFD Sender: No OFD packet to send [23:16:19]OFD Sender: No OFD packet to send [23:16:24]OFD Sender: No OFD packet to send [23:16:29]OFD Sender: No OFD packet to send [23:16:34]OFD Sender: No OFD packet to send [23:16:39]OFD Sender: No OFD packet to send [23:16:44]OFD Sender: No OFD packet to send [23:16:49]OFD Sender: No OFD packet to send [23:16:54]OFD Sender: No OFD packet to send [23:16:59]OFD Sender: No OFD packet to send [23:17:04]OFD Sender: No OFD packet to send [23:17:09]OFD Sender: No OFD packet to send [23:17:14]OFD Sender: No OFD packet to send [23:17:19]OFD Sender: No OFD packet to send [23:17:24]OFD Sender: No OFD packet to send [23:17:29]OFD Sender: No OFD packet to send [23:17:34]OFD Sender: No OFD packet to send [23:17:39]OFD Sender: No OFD packet to send [23:17:44]OFD Sender: No OFD packet to send [23:17:49]OFD Sender: No OFD packet to send [23:17:54]OFD Sender: No OFD packet to send [23:17:59]OFD Sender: No OFD packet to send [23:18:04]OFD Sender: No OFD packet to send [23:18:09]OFD Sender: No OFD packet to send [23:18:14]OFD Sender: No OFD packet to send [23:18:19]OFD Sender: No OFD packet to send [23:18:24]OFD Sender: No OFD packet to send [23:18:29]OFD Sender: No OFD packet to send [23:18:34]OFD Sender: No OFD packet to send [23:18:39]OFD Sender: No OFD packet to send [23:18:44]OFD Sender: No OFD packet to send [23:18:49]OFD Sender: No OFD packet to send [23:18:54]OFD Sender: No OFD packet to send [23:18:59]OFD Sender: No OFD packet to send [23:19:04]OFD Sender: No OFD packet to send [23:19:09]OFD Sender: No OFD packet to send [23:19:14]OFD Sender: No OFD packet to send [23:19:19]OFD Sender: No OFD packet to send [23:19:24]OFD Sender: No OFD packet to send [23:19:29]OFD Sender: No OFD packet to send [23:19:34]OFD Sender: No OFD packet to send [23:19:39]OFD Sender: No OFD packet to send [23:19:44]OFD Sender: No OFD packet to send [23:19:49]OFD Sender: No OFD packet to send [23:19:54]OFD Sender: No OFD packet to send [23:19:59]OFD Sender: No OFD packet to send [23:20:04]OFD Sender: No OFD packet to send [23:20:10]OFD Sender: No OFD packet to send [23:20:15]OFD Sender: No OFD packet to send [23:20:20]OFD Sender: No OFD packet to send [23:20:25]OFD Sender: No OFD packet to send [23:20:30]OFD Sender: No OFD packet to send [23:20:35]OFD Sender: No OFD packet to send [23:20:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:00]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:15]OFD Sender: No OFD packet to send [23:23:20]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:39]accept exits with 9 [23:23:39]New connection [23:23:39]New thread 3067100516 created [23:23:39]Thread 3067243876 joined [23:23:39]Waiting for new connection... [23:23:39] Sock 9.Parse request [23:23:39]Sock 9.Check first char [23:23:39]Sock 9.First char is OK [23:23:39]request: POST /json_proto HTTP/1.0 [23:23:39]Method: POST [23:23:39]URL: /json_proto [23:23:39]Method is POST - this is cgi request [23:23:39]url: /json_proto [23:23:39]query_string will be loaded in cgi processing [23:23:39]execute_cgi json_proto POST (null) [23:23:39]execute_cgi path=json_proto method=POST [23:23:39]POST find Content-Length [23:23:39]Host: 172.17.50.4:8080 [23:23:39]Content-Length: 718 [23:23:39]Content-Type: application/json [23:23:39] [23:23:39]POST finish read [23:23:39]Found Content-Length = 718 [23:23:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134818", "tax_sys" : 0, "items" : [ { "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:23:39]execute_script... [23:23: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)134818", "tax_sys" : 0, "items" : [ { "code": "4630007400242", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 \u0436\u0430\u0440\u0435\u043D \u041A\u0430\u0440\u0430\u0432\u0430\u043D \u043E\u0440\u0435\u0445\u043E\u0432 50 \u0433\u0440", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 55.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:23:39]POST & json_proto [23:23:39]process_json_proto [23:23:39]json parsed OK: [23:23:39]protocol is kg_v1.0 [23:23:39]action value=close_receipt [23:23:39]process_action close_receipt [23:23:39]cmd_close_receipt [23:23:39]MH_GetDate [23:23:39]Write to MH i2c: F0 00 00 B1 20 C0 [23:23:39]Write i2c OK [23:23:39]MH_I2C_Read... [23:23:39]Read from MH i2c: F0 [23:23:39]MH_I2C_Read... [23:23:39]Read from MH i2c: F0 09 00 [23:23:39]MH_I2C_Read... [23:23:39]Read from MH i2c: F0 09 00 B1 20 00 03 91 15 67 1D BB 13 67 2B [23:23:39]GetLastDocTimeStamp 1729461010 [23:23:39]current date 1729466627 [23:23:39]FM_GetShiftState [23:23:39]SAM_PROTO_GetShiftState [23:23:39]wFMCommunicate request_size=4 [23:23:39]MH_SAM_APDU [23:23:39]CAPDU: 80 13 01 00 [23:23:39]Write to MH i2c: E2 08 00 B2 20 80 13 01 00 00 00 00 00 4F [23:23:39]Write i2c OK [23:23:39]MH_I2C_Read... [23:23:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:39]Read from MH i2c: E2 [23:23:39]MH_I2C_Read... [23:23:39]Read from MH i2c: E2 0E 00 [23:23:39]MH_I2C_Read... [23:23:39]Read from MH i2c: E2 0E 00 B2 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 70 [23:23:39]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:23:39]wFMCommunicate OK [23:23:39]SAM_PROTO_GetShiftState done [23:23:39]FM_GetShiftState done [23:23:39]opened in 1729382737 [23:23:39]opened+sec_in_day 1729469137 [23:23:39]quantity*price = 5500 [23:23:39]sum+1 = 5501 [23:23:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 63 20.10.2024 23:23 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24293 ФПД: 60745868543503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T232347&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24293&fm=60745868543503&tin=02508201610067®Number=0000000000098120&sum=5500 0 [23:23:40]StoreToDocumentArchive [23:23:40]shift 460 fd 24293 [23:23:40]save to /storage/0460/doc_00024293 [23:23:40]save last doc name /storage/0460/doc_00024293 to /storage/kkm_last_doc_name [23:23:40]save OK [23:23:40]Clear old archive folders... [23:23:40]ProcessDocumentItem done err = 0, tmpTLVsize=301 [23:23:40]tlvbuf is B6F9C800 [23:23:40]SAM_PROTO_ClearQueue [23:23:40]wFMCommunicate request_size=4 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 09 00 00 [23:23:40]Write to MH i2c: E2 08 00 BF 20 80 09 00 00 00 00 00 00 51 [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 BF 20 00 90 00 53 [23:23:40]RAPDU: 90 00 [23:23:40]wFMCommunicate OK [23:23:40]SAM_PROTO_ClearQueue done [23:23:40]KKMCreateOFDPacket [23:23:40]OFDProtocolAddRootSTLVToBuf [23:23:40]FM_MakeSignedData [23:23:40]FM_MakeSignedData [23:23:40]SAM_PROTO_SignData [23:23:40]wFMCommunicate request_size=4 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 0D 01 02 [23:23:40]Write to MH i2c: E2 08 00 C0 20 80 0D 01 02 00 00 00 00 59 [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 C0 20 00 90 00 54 [23:23:40]RAPDU: 90 00 [23:23:40]wFMCommunicate OK [23:23:40]wFMCommunicate request_size=255 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 0D 02 02 FA 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 03 91 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 [23:23:40]Write to MH i2c: E2 02 01 C1 20 80 0D 02 02 FA 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 03 91 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 00 E4 [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 C1 20 00 90 00 55 [23:23:40]RAPDU: 90 00 [23:23:40]wFMCommunicate OK [23:23:40]wFMCommunicate request_size=60 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 0D 02 02 37 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E5 5E 00 00 35 04 06 00 37 3F 7F EA 86 0F [23:23:40]Write to MH i2c: E2 3F 00 C2 20 80 0D 02 02 37 00 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E5 5E 00 00 35 04 06 00 37 3F 7F EA 86 0F 00 00 2B [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 03 00 C2 20 00 90 00 56 [23:23:40]RAPDU: 90 00 [23:23:40]wFMCommunicate OK [23:23:40]wFMCommunicate request_size=4 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 0D 03 02 [23:23:40]Write to MH i2c: E2 08 00 C3 20 80 0D 03 02 00 00 00 00 5E [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 0B 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 0B 00 C3 20 00 B9 F9 DB 8A A1 34 A8 17 90 00 0A [23:23:40]RAPDU: B9 F9 DB 8A A1 34 A8 17 90 00 [23:23:40]wFMCommunicate OK [23:23:40]SAM_PROTO_SignData done [23:23:40]FM_MakeSignedData done [23:23:40]CreateOFDProtocolMessage [23:23:40]wFMCommunicate request_size=4 [23:23:40]MH_SAM_APDU [23:23:40]CAPDU: 80 11 00 00 [23:23:40]Write to MH i2c: E2 08 00 C4 20 80 11 00 00 00 00 00 00 5E [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:40]Read from MH i2c: E2 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 17 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: E2 17 00 C4 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AB [23:23:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:23:40]wFMCommunicate OK [23:23:40]CreateOFDProtocolMessage done [23:23:40]OFDSenderStorePacket 24293 [23:23:40]StoreOFDPacket docnum=24293 [23:23:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 41 01 00 00 E9 1F 39 01 33 35 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 03 91 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E5 5E 00 00 35 04 06 00 37 3F 7F EA 86 0F B9 F9 DB 8A A1 34 A8 17 [23:23:40]CheckFolder [23:23:40]dirname=/storage/ofd_packets [23:23:40]CheckFolder done [23:23:40]ProducePacketName [23:23:40]name=ofd_packets/00024293 [23:23:40]NVStorageSaveData ofd_packets/00024293 [23:23:40]File name is /storage/ofd_packets/00024293 [23:23:40]Write 351 bytes [23:23:40]NVStorageSaveData done [23:23:40]OFDSenderStorePacket done [23:23:40]KKMCreateOFDPacket done [23:23:40]NVStorageSaveData kkm_last_timestamp [23:23:40]File name is /storage/kkm_last_timestamp [23:23:40]Write 4 bytes [23:23:40]NVStorageSaveData done [23:23:40]ExternCall_PrintAddStr [23:23:40]wPrintStart [23:23:40]Write to MH i2c: 01 00 00 C5 20 E5 [23:23:40]Write i2c OK [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: 01 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: 01 07 00 [23:23:40]MH_I2C_Read... [23:23:40]Read from MH i2c: 01 07 00 C5 20 00 00 00 00 00 FF 0F FA [23:23:40]RasterBufferAndPrint [23:23:40]line Счет N : (3)134818 [23:23:40]line ИНН: 02508201610067 [23:23:40]line Контрольно-Кассовый Чек [23:23:40]line ПРОДАЖА [23:23:40]line Товар: 4630007400242 [23:23:40]line Арахис жарен Караван орехов 50 гр [23:23:40]line 1.000 * 55.00 [23:23:40]line = 55.00 [23:23:40]line НДС 12% НСП 1% [23:23:40]line > о реализуемом товаре [23:23:40]line ИТОГО: 55.00 [23:23:40]line НСП 1% : 0.49 [23:23:40]line НДС 12% : 5.84 [23:23:40]line Наличными: 55.00 [23:23:40]line Безнал.: 0.00 [23:23:40]line Место: АЗС № 85 "Партнер Нефть" [23:23:40]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:23:40]line СНО: Общий режим [23:23:40]line Чек 63 20.10.2024 23:23 [23:23:40]line Смена: 460 ФФД: 1.0 [23:23:40]line ЗНМ: 0300000166 [23:23:40]line РНМ: 0000000000098120 [23:23:40]line Версия ККМ: 001 [23:23:40]line ФМ: 0000000000965420 [23:23:40]line ФД: 24293 [23:23:40]line ФПД: 60745868543503 [23:23:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T232347&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24293&fm=60745868543503&tin=02508201610067®Number=0000000000098120&sum=5500 [23:23:41]line 0 [23:23:41]OFD Sender: Processing packet 24293 [packets to send 5, broken 4] [23:23:41]ProducePacketName [23:23:41]name=ofd_packets/00024293 [23:23:41]OFD Sender: To server: pG, [23:23:41]CommunicateWithHost lk.salyk.kg:30040 [23:23:41]ConnectInit lk.salyk.kg [23:23:41]written 0, free lines is 4095 [23:23:41]Connected sock=10 [23:23:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 41 01 00 00 E9 1F 39 01 33 35 5A 03 01 00 03 00 2D 01 1E 04 01 00 01 23 04 7F 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 32 34 32 06 04 3B 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 D0 B6 D0 B0 D1 80 D0 B5 D0 BD 20 D0 9A D0 B0 D1 80 D0 B0 D0 B2 D0 B0 D0 BD 20 D0 BE D1 80 D0 B5 D1 85 D0 BE D0 B2 20 35 30 20 D0 B3 D1 80 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 7C 15 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 31 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 48 02 00 00 00 00 07 04 06 00 7C 15 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 03 91 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E5 5E 00 00 35 04 06 00 37 3F 7F EA 86 0F B9 F9 DB 8A A1 34 A8 17 [23:23:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 76 68 47 00 31 EF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E5 5E 00 00 F4 03 04 00 9A 3C 15 67 B6 04 01 00 00 88 35 75 28 64 6D 80 24 [23:23:41]CommunicateWithHost err = 0 [23:23:41]CheckOFDResponse [23:23:41]1017 (14) - 77093643461234 [23:23:41]1041 (16) - 0000000000965420 [23:23:41]1040 (4) - 24293 [23:23:41]1012 (4) - 20.10.2024 17:23 [23:23:41]1206 (1) - 0 [23:23:41]OFD Sender: Remove packet 24293 [23:23:41]ProducePacketName [23:23:41]name=ofd_packets/00024293 [23:23:41]NVStorageDeleteData [23:23:41]Write to MH i2c: 01 00 00 EE 20 0E [23:23:41]Write i2c OK [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: 01 [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: 01 07 00 [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: 01 07 00 EE 20 00 00 00 00 00 04 0D 26 [23:23:41]RasterBufferAndPrint [23:23:41]line [23:23:41]line [23:23:41]line [23:23:41]line [23:23:41]line [23:23:41]written 0, free lines is 3341 [23:23:41]process_action close_receipt done [23:23:41]requested_data is exist [23:23:41]produce_requested_data [23:23:41]requested_item fm.sn is exist - process it [23:23:41]wFMCommunicate request_size=4 [23:23:41]MH_SAM_APDU [23:23:41]CAPDU: 80 11 00 00 [23:23:41]Write to MH i2c: E2 08 00 F5 20 80 11 00 00 00 00 00 00 8F [23:23:41]Write i2c OK [23:23:41]MH_I2C_Read... [23:23:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:23:41]Read from MH i2c: E2 [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: E2 17 00 [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: E2 17 00 F5 20 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DC [23:23:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:23:41]wFMCommunicate OK [23:23:41]requested_item fd.num is exist - process it [23:23:41]SAM_PROTO_GetFieldsCounters [23:23:41]wFMCommunicate request_size=4 [23:23:41]MH_SAM_APDU [23:23:41]CAPDU: 80 13 00 00 [23:23:41]Write to MH i2c: E2 08 00 F6 20 80 13 00 00 00 00 00 00 92 [23:23:41]Write i2c OK [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: E2 [23:23:41]MH_I2C_Read... [23:23:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:23:41]Read from MH i2c: E2 62 00 [23:23:41]MH_I2C_Read... [23:23:41]Read from MH i2c: E2 62 00 F6 20 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 75 [23:23:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E5 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:23:41]wFMCommunicate OK [23:23:41]SAM_PROTO_GetFieldsCounters done [23:23:41]requested_item shift.num is exist - process it [23:23:41]requested_item shift.opened is exist - process it [23:23:41]req_shift_opened [23:23:41]FM_GetShiftState [23:23:41]SAM_PROTO_GetShiftState [23:23:41]wFMCommunicate request_size=4 [23:23:41]MH_SAM_APDU [23:23:41]CAPDU: 80 13 01 00 [23:23:41]Write to MH i2c: E2 08 00 F7 20 80 13 01 00 00 00 00 00 94 [23:23:41]Write i2c OK [23:23:41]MH_I2C_Read... [23:23:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:23:42]Read from MH i2c: E2 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: E2 0E 00 [23:23:42]MH_I2C_Read... [23:23:42]Read from MH i2c: E2 0E 00 F7 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B5 [23:23:42]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:23:42]wFMCommunicate OK [23:23:42]SAM_PROTO_GetShiftState done [23:23:42]FM_GetShiftState done [23:23:42]req_shift_opened done [23:23:42]requested_item shift.open_date is exist - process it [23:23:42]req_shift_open_date [23:23:42]req_shift_open_date done [23:23:42]produce_requested_data done [23:23:42]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24293,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [23:23:42]process_action_free close_receipt [23:23:42]json_value_free [23:23:42]json_value_free done [23:23:42]process_json_proto returns [23:23:42]Send response to host [23:23:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24293,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [23:23:42]free response buf [23:23:42]execute_script done [23:23:42]execute_script returns [23:23:42]free content buf [23:23:42]Sock 9.Close socket [23:23:42]Sock 9.Thread stoped [23:23:42]OFD Sender: No OFD packet to send [23:23:47]OFD Sender: No OFD packet to send [23:23:52]OFD Sender: No OFD packet to send [23:23:57]OFD Sender: No OFD packet to send [23:24:02]OFD Sender: No OFD packet to send [23:24:07]OFD Sender: No OFD packet to send [23:24:12]OFD Sender: No OFD packet to send [23:24:17]OFD Sender: No OFD packet to send [23:24:22]OFD Sender: No OFD packet to send [23:24:27]OFD Sender: No OFD packet to send [23:24:32]OFD Sender: No OFD packet to send [23:24:37]OFD Sender: No OFD packet to send [23:24:42]OFD Sender: No OFD packet to send [23:24:47]OFD Sender: No OFD packet to send [23:24:52]OFD Sender: No OFD packet to send [23:24:57]OFD Sender: No OFD packet to send [23:25:02]OFD Sender: No OFD packet to send [23:25:07]OFD Sender: No OFD packet to send [23:25:12]OFD Sender: No OFD packet to send [23:25:17]OFD Sender: No OFD packet to send [23:25:22]OFD Sender: No OFD packet to send [23:25:27]OFD Sender: No OFD packet to send [23:25:32]OFD Sender: No OFD packet to send [23:25:37]OFD Sender: No OFD packet to send [23:25:42]OFD Sender: No OFD packet to send [23:25:47]OFD Sender: No OFD packet to send [23:25:52]OFD Sender: No OFD packet to send [23:25:57]OFD Sender: No OFD packet to send [23:26:02]OFD Sender: No OFD packet to send [23:26:07]OFD Sender: No OFD packet to send [23:26:12]OFD Sender: No OFD packet to send [23:26:17]OFD Sender: No OFD packet to send [23:26:22]OFD Sender: No OFD packet to send [23:26:27]OFD Sender: No OFD packet to send [23:26:32]OFD Sender: No OFD packet to send [23:26:37]OFD Sender: No OFD packet to send [23:26:42]OFD Sender: No OFD packet to send [23:26:47]OFD Sender: No OFD packet to send [23:26:52]OFD Sender: No OFD packet to send [23:26:57]OFD Sender: No OFD packet to send [23:27:02]OFD Sender: No OFD packet to send [23:27:07]OFD Sender: No OFD packet to send [23:27:12]OFD Sender: No OFD packet to send [23:27:17]OFD Sender: No OFD packet to send [23:27:22]OFD Sender: No OFD packet to send [23:27:27]OFD Sender: No OFD packet to send [23:27:32]OFD Sender: No OFD packet to send [23:27:37]OFD Sender: No OFD packet to send [23:27:42]OFD Sender: No OFD packet to send [23:27:47]OFD Sender: No OFD packet to send [23:27:52]OFD Sender: No OFD packet to send [23:27:57]OFD Sender: No OFD packet to send [23:28:02]OFD Sender: No OFD packet to send [23:28:07]OFD Sender: No OFD packet to send [23:28:12]OFD Sender: No OFD packet to send [23:28:17]OFD Sender: No OFD packet to send [23:28:22]OFD Sender: No OFD packet to send [23:28:27]OFD Sender: No OFD packet to send [23:28:32]OFD Sender: No OFD packet to send [23:28:37]OFD Sender: No OFD packet to send [23:28:42]OFD Sender: No OFD packet to send [23:28:47]OFD Sender: No OFD packet to send [23:28:52]OFD Sender: No OFD packet to send [23:28:57]OFD Sender: No OFD packet to send [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:32]OFD Sender: No OFD packet to send [23:29:37]OFD Sender: No OFD packet to send [23:29:42]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]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]accept exits with 7 [23:33:27]New connection [23:33:27]New thread 3067243876 created [23:33:27]Thread 3067100516 joined [23:33:27]Waiting for new connection... [23:33:27] Sock 7.Parse request [23:33:27]Sock 7.Check first char [23:33:27]Sock 7.First char is OK [23:33:27]request: POST /json_proto HTTP/1.0 [23:33:27]Method: POST [23:33:27]URL: /json_proto [23:33:27]Method is POST - this is cgi request [23:33:27]url: /json_proto [23:33:27]query_string will be loaded in cgi processing [23:33:27]execute_cgi json_proto POST (null) [23:33:27]execute_cgi path=json_proto method=POST [23:33:27]POST find Content-Length [23:33:27]Host: 172.17.50.4:8080 [23:33:27]Content-Length: 621 [23:33:27]Content-Type: application/json [23:33:27] [23:33:27]POST finish read [23:33:27]Found Content-Length = 621 [23:33:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134819", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:27]execute_script... [23:33:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134819", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:33:27]POST & json_proto [23:33:27]process_json_proto [23:33:27]json parsed OK: [23:33:27]protocol is kg_v1.0 [23:33:27]action value=close_receipt [23:33:27]process_action close_receipt [23:33:27]cmd_close_receipt [23:33:27]MH_GetDate [23:33:27]Write to MH i2c: F0 00 00 F8 20 07 [23:33:27]Write i2c OK [23:33:27]MH_I2C_Read... [23:33:27]Read from MH i2c: F0 [23:33:27]MH_I2C_Read... [23:33:27]Read from MH i2c: F0 09 00 [23:33:27]MH_I2C_Read... [23:33:27]Read from MH i2c: F0 09 00 F8 20 00 4F 93 15 67 1D BB 13 67 C0 [23:33:27]GetLastDocTimeStamp 1729466627 [23:33:27]current date 1729467215 [23:33:27]FM_GetShiftState [23:33:27]SAM_PROTO_GetShiftState [23:33:27]wFMCommunicate request_size=4 [23:33:27]MH_SAM_APDU [23:33:27]CAPDU: 80 13 01 00 [23:33:27]Write to MH i2c: E2 08 00 F9 20 80 13 01 00 00 00 00 00 96 [23:33:27]Write i2c OK [23:33:27]MH_I2C_Read... [23:33:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:27]Read from MH i2c: E2 [23:33:27]MH_I2C_Read... [23:33:27]Read from MH i2c: E2 0E 00 [23:33:27]MH_I2C_Read... [23:33:27]Read from MH i2c: E2 0E 00 F9 20 00 09 00 01 51 49 14 67 00 00 00 00 90 00 B7 [23:33:27]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:33:27]wFMCommunicate OK [23:33:27]SAM_PROTO_GetShiftState done [23:33:27]FM_GetShiftState done [23:33:27]opened in 1729382737 [23:33:27]opened+sec_in_day 1729469137 [23:33:27]quantity*price = 14400 [23:33:27]sum+1 = 14401 [23:33:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 64 20.10.2024 23:33 Смена: 460 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24294 ФПД: 279412810735943 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T233335&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24294&fm=279412810735943&tin=02508201610067®Number=0000000000098120&sum=14400 0 [23:33:28]StoreToDocumentArchive [23:33:28]shift 460 fd 24294 [23:33:28]save to /storage/0460/doc_00024294 [23:33:28]save last doc name /storage/0460/doc_00024294 to /storage/kkm_last_doc_name [23:33:28]save OK [23:33:28]Clear old archive folders... [23:33:28]ProcessDocumentItem done err = 0, tmpTLVsize=273 [23:33:28]tlvbuf is B6EEF710 [23:33:28]SAM_PROTO_ClearQueue [23:33:28]wFMCommunicate request_size=4 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 09 00 00 [23:33:28]Write to MH i2c: E2 08 00 06 21 80 09 00 00 00 00 00 00 99 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 06 21 00 90 00 9B [23:33:28]RAPDU: 90 00 [23:33:28]wFMCommunicate OK [23:33:28]SAM_PROTO_ClearQueue done [23:33:28]KKMCreateOFDPacket [23:33:28]OFDProtocolAddRootSTLVToBuf [23:33:28]FM_MakeSignedData [23:33:28]FM_MakeSignedData [23:33:28]SAM_PROTO_SignData [23:33:28]wFMCommunicate request_size=4 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 0D 01 02 [23:33:28]Write to MH i2c: E2 08 00 07 21 80 0D 01 02 00 00 00 00 A1 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 07 21 00 90 00 9C [23:33:28]RAPDU: 90 00 [23:33:28]wFMCommunicate OK [23:33:28]wFMCommunicate request_size=255 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 4F 93 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 [23:33:28]Write to MH i2c: E2 02 01 08 21 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 4F 93 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 00 00 71 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 08 21 00 90 00 9D [23:33:28]RAPDU: 90 00 [23:33:28]wFMCommunicate OK [23:33:28]wFMCommunicate request_size=32 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 E6 5E 00 00 35 04 06 00 FE 1F DD 54 61 47 [23:33:28]Write to MH i2c: E2 23 00 09 21 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 E6 5E 00 00 35 04 06 00 FE 1F DD 54 61 47 00 00 35 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 03 00 09 21 00 90 00 9E [23:33:28]RAPDU: 90 00 [23:33:28]wFMCommunicate OK [23:33:28]wFMCommunicate request_size=4 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 0D 03 02 [23:33:28]Write to MH i2c: E2 08 00 0A 21 80 0D 03 02 00 00 00 00 A6 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 0B 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 0B 00 0A 21 00 44 24 1B 78 EA 3B 6B 34 90 00 66 [23:33:28]RAPDU: 44 24 1B 78 EA 3B 6B 34 90 00 [23:33:28]wFMCommunicate OK [23:33:28]SAM_PROTO_SignData done [23:33:28]FM_MakeSignedData done [23:33:28]CreateOFDProtocolMessage [23:33:28]wFMCommunicate request_size=4 [23:33:28]MH_SAM_APDU [23:33:28]CAPDU: 80 11 00 00 [23:33:28]Write to MH i2c: E2 08 00 0B 21 80 11 00 00 00 00 00 00 A6 [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:28]Read from MH i2c: E2 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 17 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: E2 17 00 0B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [23:33:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:33:28]wFMCommunicate OK [23:33:28]CreateOFDProtocolMessage done [23:33:28]OFDSenderStorePacket 24294 [23:33:28]StoreOFDPacket docnum=24294 [23:33:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 19 B4 1D 01 D8 4F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 4F 93 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E6 5E 00 00 35 04 06 00 FE 1F DD 54 61 47 44 24 1B 78 EA 3B 6B 34 [23:33:28]CheckFolder [23:33:28]dirname=/storage/ofd_packets [23:33:28]CheckFolder done [23:33:28]ProducePacketName [23:33:28]name=ofd_packets/00024294 [23:33:28]NVStorageSaveData ofd_packets/00024294 [23:33:28]File name is /storage/ofd_packets/00024294 [23:33:28]Write 323 bytes [23:33:28]NVStorageSaveData done [23:33:28]OFDSenderStorePacket done [23:33:28]KKMCreateOFDPacket done [23:33:28]NVStorageSaveData kkm_last_timestamp [23:33:28]File name is /storage/kkm_last_timestamp [23:33:28]Write 4 bytes [23:33:28]NVStorageSaveData done [23:33:28]ExternCall_PrintAddStr [23:33:28]wPrintStart [23:33:28]Write to MH i2c: 01 00 00 0C 21 2D [23:33:28]OFD Sender: Processing packet 24294 [packets to send 5, broken 4] [23:33:28]ProducePacketName [23:33:28]name=ofd_packets/00024294 [23:33:28]OFD Sender: To server: pG, [23:33:28]CommunicateWithHost lk.salyk.kg:30040 [23:33:28]ConnectInit lk.salyk.kg [23:33:28]Write i2c OK [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: 01 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: 01 07 00 [23:33:28]MH_I2C_Read... [23:33:28]Read from MH i2c: 01 07 00 0C 21 00 00 00 00 00 FF 0F 42 [23:33:28]RasterBufferAndPrint [23:33:28]line Счет N : (3)134819 [23:33:28]line ИНН: 02508201610067 [23:33:28]line Контрольно-Кассовый Чек [23:33:28]line ПРОДАЖА [23:33:28]line Товар: 48743570 [23:33:28]line Сигареты Winston XStyle Blue [23:33:28]line 1.000 * 144.00 [23:33:28]line = 144.00 [23:33:28]line НДС 12% НСП 1% [23:33:28]line > о реализуемом товаре [23:33:28]line ИТОГО: 144.00 [23:33:28]line НСП 1% : 1.27 [23:33:28]line НДС 12% : 15.29 [23:33:28]line Наличными: 144.00 [23:33:28]line Безнал.: 0.00 [23:33:28]line Место: АЗС № 85 "Партнер Нефть" [23:33:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:33:28]line СНО: Общий режим [23:33:28]line Чек 64 20.10.2024 23:33 [23:33:28]line Смена: 460 ФФД: 1.0 [23:33:28]line ЗНМ: 0300000166 [23:33:28]line РНМ: 0000000000098120 [23:33:28]line Версия ККМ: 001 [23:33:28]line ФМ: 0000000000965420 [23:33:28]line ФД: 24294 [23:33:28]line ФПД: 279412810735943 [23:33:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241020T233335&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24294&fm=279412810735943&tin=02508201610067®Number=0000000000098120&sum=14400 [23:33:29]Connected sock=10 [23:33:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 25 01 00 00 19 B4 1D 01 D8 4F 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 4F 93 15 67 0E 04 04 00 CC 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E6 5E 00 00 35 04 06 00 FE 1F DD 54 61 47 44 24 1B 78 EA 3B 6B 34 [23:33:29]line 0 [23:33:29]written 0, free lines is 4095 [23:33:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 D6 E3 47 00 54 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E6 5E 00 00 F4 03 04 00 E5 3E 15 67 B6 04 01 00 00 8A 52 88 22 C3 91 D3 EC [23:33:29]CommunicateWithHost err = 0 [23:33:29]CheckOFDResponse [23:33:29]1017 (14) - 77093643461234 [23:33:29]1041 (16) - 0000000000965420 [23:33:29]1040 (4) - 24294 [23:33:29]1012 (4) - 20.10.2024 17:33 [23:33:29]1206 (1) - 0 [23:33:29]OFD Sender: Remove packet 24294 [23:33:29]ProducePacketName [23:33:29]name=ofd_packets/00024294 [23:33:29]NVStorageDeleteData [23:33:29]Write to MH i2c: 01 00 00 34 21 55 [23:33:29]Write i2c OK [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: 01 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: 01 07 00 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: 01 07 00 34 21 00 00 00 00 00 13 0D 7C [23:33:29]RasterBufferAndPrint [23:33:29]line [23:33:29]line [23:33:29]line [23:33:29]line [23:33:29]line [23:33:29]written 0, free lines is 3354 [23:33:29]process_action close_receipt done [23:33:29]requested_data is exist [23:33:29]produce_requested_data [23:33:29]requested_item fm.sn is exist - process it [23:33:29]wFMCommunicate request_size=4 [23:33:29]MH_SAM_APDU [23:33:29]CAPDU: 80 11 00 00 [23:33:29]Write to MH i2c: E2 08 00 3B 21 80 11 00 00 00 00 00 00 D6 [23:33:29]Write i2c OK [23:33:29]MH_I2C_Read... [23:33:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:33:29]Read from MH i2c: E2 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 17 00 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 17 00 3B 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [23:33:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:33:29]wFMCommunicate OK [23:33:29]requested_item fd.num is exist - process it [23:33:29]SAM_PROTO_GetFieldsCounters [23:33:29]wFMCommunicate request_size=4 [23:33:29]MH_SAM_APDU [23:33:29]CAPDU: 80 13 00 00 [23:33:29]Write to MH i2c: E2 08 00 3C 21 80 13 00 00 00 00 00 00 D9 [23:33:29]Write i2c OK [23:33:29]MH_I2C_Read... [23:33:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:33:29]Read from MH i2c: E2 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 62 00 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 62 00 3C 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 C0 [23:33:29]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:33:29]wFMCommunicate OK [23:33:29]SAM_PROTO_GetFieldsCounters done [23:33:29]requested_item shift.num is exist - process it [23:33:29]requested_item shift.opened is exist - process it [23:33:29]req_shift_opened [23:33:29]FM_GetShiftState [23:33:29]SAM_PROTO_GetShiftState [23:33:29]wFMCommunicate request_size=4 [23:33:29]MH_SAM_APDU [23:33:29]CAPDU: 80 13 01 00 [23:33:29]Write to MH i2c: E2 08 00 3D 21 80 13 01 00 00 00 00 00 DB [23:33:29]Write i2c OK [23:33:29]MH_I2C_Read... [23:33:29]OFD Sender: No OFD packet to send [23:33:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:33:29]Read from MH i2c: E2 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 0E 00 [23:33:29]MH_I2C_Read... [23:33:29]Read from MH i2c: E2 0E 00 3D 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FC [23:33:29]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:33:29]wFMCommunicate OK [23:33:29]SAM_PROTO_GetShiftState done [23:33:29]FM_GetShiftState done [23:33:29]req_shift_opened done [23:33:29]requested_item shift.open_date is exist - process it [23:33:29]req_shift_open_date [23:33:29]req_shift_open_date done [23:33:29]produce_requested_data done [23:33:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [23:33:29]process_action_free close_receipt [23:33:29]json_value_free [23:33:29]json_value_free done [23:33:29]process_json_proto returns [23:33:29]Send response to host [23:33:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [23:33:29]free response buf [23:33:29]execute_script done [23:33:29]execute_script returns [23:33:29]free content buf [23:33:29]Sock 7.Close socket [23:33:29]Sock 7.Thread stoped [23:33:34]OFD Sender: No OFD packet to send [23:33:39]OFD Sender: No OFD packet to send [23:33:44]OFD Sender: No OFD packet to send [23:33:49]OFD Sender: No OFD packet to send [23:33:54]OFD Sender: No OFD packet to send [23:33:59]OFD Sender: No OFD packet to send [23:34:04]OFD Sender: No OFD packet to send [23:34:09]OFD Sender: No OFD packet to send [23:34:14]OFD Sender: No OFD packet to send [23:34:19]OFD Sender: No OFD packet to send [23:34:24]OFD Sender: No OFD packet to send [23:34:29]OFD Sender: No OFD packet to send [23:34:34]OFD Sender: No OFD packet to send [23:34:39]OFD Sender: No OFD packet to send [23:34:44]OFD Sender: No OFD packet to send [23:34:49]OFD Sender: No OFD packet to send [23:34:54]OFD Sender: No OFD packet to send [23:34:59]OFD Sender: No OFD packet to send [23:35:04]OFD Sender: No OFD packet to send [23:35:09]OFD Sender: No OFD packet to send [23:35:14]OFD Sender: No OFD packet to send [23:35:19]OFD Sender: No OFD packet to send [23:35:24]OFD Sender: No OFD packet to send [23:35:29]OFD Sender: No OFD packet to send [23:35:34]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:50]OFD Sender: No OFD packet to send [23:40:55]OFD Sender: No OFD packet to send [23:41:00]OFD Sender: No OFD packet to send [23:41:05]OFD Sender: No OFD packet to send [23:41:10]OFD Sender: No OFD packet to send [23:41:15]OFD Sender: No OFD packet to send [23:41:20]OFD Sender: No OFD packet to send [23:41:25]OFD Sender: No OFD packet to send [23:41:30]OFD Sender: No OFD packet to send [23:41:35]OFD Sender: No OFD packet to send [23:41:40]OFD Sender: No OFD packet to send [23:41:45]OFD Sender: No OFD packet to send [23:41:50]OFD Sender: No OFD packet to send [23:41:55]OFD Sender: No OFD packet to send [23:42:00]OFD Sender: No OFD packet to send [23:42:05]OFD Sender: No OFD packet to send [23:42:10]OFD Sender: No OFD packet to send [23:42:15]OFD Sender: No OFD packet to send [23:42:20]OFD Sender: No OFD packet to send [23:42:25]OFD Sender: No OFD packet to send [23:42:30]OFD Sender: No OFD packet to send [23:42:35]OFD Sender: No OFD packet to send [23:42:40]OFD Sender: No OFD packet to send [23:42:45]OFD Sender: No OFD packet to send [23:42:50]OFD Sender: No OFD packet to send [23:42:55]OFD Sender: No OFD packet to send [23:43:00]OFD Sender: No OFD packet to send [23:43:05]OFD Sender: No OFD packet to send [23:43:10]OFD Sender: No OFD packet to send [23:43:15]OFD Sender: No OFD packet to send [23:43:20]OFD Sender: No OFD packet to send [23:43:25]OFD Sender: No OFD packet to send [23:43:30]OFD Sender: No OFD packet to send [23:43:35]OFD Sender: No OFD packet to send [23:43:40]OFD Sender: No OFD packet to send [23:43:45]OFD Sender: No OFD packet to send [23:43:50]OFD Sender: No OFD packet to send [23:43:55]OFD Sender: No OFD packet to send [23:44:00]OFD Sender: No OFD packet to send [23:44:05]OFD Sender: No OFD packet to send [23:44:10]OFD Sender: No OFD packet to send [23:44:15]OFD Sender: No OFD packet to send [23:44:20]OFD Sender: No OFD packet to send [23:44:25]OFD Sender: No OFD packet to send [23:44:30]OFD Sender: No OFD packet to send [23:44:35]OFD Sender: No OFD packet to send [23:44:40]OFD Sender: No OFD packet to send [23:44:45]OFD Sender: No OFD packet to send [23:44:50]OFD Sender: No OFD packet to send [23:44:55]OFD Sender: No OFD packet to send [23:45:00]OFD Sender: No OFD packet to send [23:45:05]OFD Sender: No OFD packet to send [23:45:10]OFD Sender: No OFD packet to send [23:45:15]OFD Sender: No OFD packet to send [23:45:20]OFD Sender: No OFD packet to send [23:45:25]OFD Sender: No OFD packet to send [23:45:30]OFD Sender: No OFD packet to send [23:45:35]OFD Sender: No OFD packet to send [23:45:40]OFD Sender: No OFD packet to send [23:45:45]OFD Sender: No OFD packet to send [23:45:50]OFD Sender: No OFD packet to send [23:45:55]OFD Sender: No OFD packet to send [23:46:00]OFD Sender: No OFD packet to send [23:46:05]OFD Sender: No OFD packet to send [23:46:10]OFD Sender: No OFD packet to send [23:46:15]OFD Sender: No OFD packet to send [23:46:20]OFD Sender: No OFD packet to send [23:46:25]OFD Sender: No OFD packet to send [23:46:30]OFD Sender: No OFD packet to send [23:46:35]OFD Sender: No OFD packet to send [23:46:40]OFD Sender: No OFD packet to send [23:46:45]OFD Sender: No OFD packet to send [23:46:50]OFD Sender: No OFD packet to send [23:46:55]OFD Sender: No OFD packet to send [23:47:00]OFD Sender: No OFD packet to send [23:47:05]OFD Sender: No OFD packet to send [23:47:10]OFD Sender: No OFD packet to send [23:47:15]OFD Sender: No OFD packet to send [23:47:20]OFD Sender: No OFD packet to send [23:47:25]OFD Sender: No OFD packet to send [23:47:30]OFD Sender: No OFD packet to send [23:47:35]OFD Sender: No OFD packet to send [23:47:40]OFD Sender: No OFD packet to send [23:47:45]OFD Sender: No OFD packet to send [23:47:50]OFD Sender: No OFD packet to send [23:47:55]OFD Sender: No OFD packet to send [23:48:00]OFD Sender: No OFD packet to send [23:48:05]OFD Sender: No OFD packet to send [23:48:10]OFD Sender: No OFD packet to send [23:48:15]OFD Sender: No OFD packet to send [23:48:20]OFD Sender: No OFD packet to send [23:48:25]OFD Sender: No OFD packet to send [23:48:30]OFD Sender: No OFD packet to send [23:48:35]OFD Sender: No OFD packet to send [23:48:40]OFD Sender: No OFD packet to send [23:48:45]OFD Sender: No OFD packet to send [23:48:50]OFD Sender: No OFD packet to send [23:48:55]OFD Sender: No OFD packet to send [23:49:00]OFD Sender: No OFD packet to send [23:49:05]OFD Sender: No OFD packet to send [23:49:10]OFD Sender: No OFD packet to send [23:49:15]OFD Sender: No OFD packet to send [23:49:20]OFD Sender: No OFD packet to send [23:49:25]OFD Sender: No OFD packet to send [23:49:30]OFD Sender: No OFD packet to send [23:49:35]OFD Sender: No OFD packet to send [23:49:40]OFD Sender: No OFD packet to send [23:49:45]OFD Sender: No OFD packet to send [23:49:50]OFD Sender: No OFD packet to send [23:49:55]OFD Sender: No OFD packet to send [23:50:00]OFD Sender: No OFD packet to send [23:50:05]OFD Sender: No OFD packet to send [23:50:10]OFD Sender: No OFD packet to send [23:50:15]OFD Sender: No OFD packet to send [23:50:20]OFD Sender: No OFD packet to send [23:50:25]OFD Sender: No OFD packet to send [23:50:30]OFD Sender: No OFD packet to send [23:50:35]OFD Sender: No OFD packet to send [23:50:40]OFD Sender: No OFD packet to send [23:50:45]OFD Sender: No OFD packet to send [23:50:50]OFD Sender: No OFD packet to send [23:50:55]OFD Sender: No OFD packet to send [23:51:00]OFD Sender: No OFD packet to send [23:51:05]OFD Sender: No OFD packet to send [23:51:10]OFD Sender: No OFD packet to send [23:51:15]OFD Sender: No OFD packet to send [23:51:20]OFD Sender: No OFD packet to send [23:51:25]OFD Sender: No OFD packet to send [23:51:30]OFD Sender: No OFD packet to send [23:51:35]OFD Sender: No OFD packet to send [23:51:40]OFD Sender: No OFD packet to send [23:51:45]OFD Sender: No OFD packet to send [23:51:50]OFD Sender: No OFD packet to send [23:51:55]OFD Sender: No OFD packet to send [23:52:00]OFD Sender: No OFD packet to send [23:52:05]OFD Sender: No OFD packet to send [23:52:10]OFD Sender: No OFD packet to send [23:52:15]OFD Sender: No OFD packet to send [23:52:20]OFD Sender: No OFD packet to send [23:52:25]OFD Sender: No OFD packet to send [23:52:30]OFD Sender: No OFD packet to send [23:52:35]OFD Sender: No OFD packet to send [23:52:40]OFD Sender: No OFD packet to send [23:52:45]OFD Sender: No OFD packet to send [23:52:50]OFD Sender: No OFD packet to send [23:52:55]OFD Sender: No OFD packet to send [23:53:00]OFD Sender: No OFD packet to send [23:53:05]OFD Sender: No OFD packet to send [23:53:10]OFD Sender: No OFD packet to send [23:53:15]OFD Sender: No OFD packet to send [23:53:20]OFD Sender: No OFD packet to send [23:53:25]OFD Sender: No OFD packet to send [23:53:30]OFD Sender: No OFD packet to send [23:53:35]OFD Sender: No OFD packet to send [23:53:40]OFD Sender: No OFD packet to send [23:53:45]OFD Sender: No OFD packet to send [23:53:50]OFD Sender: No OFD packet to send [23:53:55]OFD Sender: No OFD packet to send [23:54:00]OFD Sender: No OFD packet to send [23:54:05]OFD Sender: No OFD packet to send [23:54:10]OFD Sender: No OFD packet to send [23:54:15]OFD Sender: No OFD packet to send [23:54:20]OFD Sender: No OFD packet to send [23:54:25]OFD Sender: No OFD packet to send [23:54:30]OFD Sender: No OFD packet to send [23:54:35]OFD Sender: No OFD packet to send [23:54:40]OFD Sender: No OFD packet to send [23:54:45]OFD Sender: No OFD packet to send [23:54:50]OFD Sender: No OFD packet to send [23:54:55]OFD Sender: No OFD packet to send [23:55:00]OFD Sender: No OFD packet to send [23:55:05]OFD Sender: No OFD packet to send [23:55:10]OFD Sender: No OFD packet to send [23:55:15]OFD Sender: No OFD packet to send [23:55:20]OFD Sender: No OFD packet to send [23:55:25]OFD Sender: No OFD packet to send [23:55:30]OFD Sender: No OFD packet to send [23:55:35]OFD Sender: No OFD packet to send [23:55:40]OFD Sender: No OFD packet to send [23:55:45]OFD Sender: No OFD packet to send [23:55:50]OFD Sender: No OFD packet to send [23:55:55]OFD Sender: No OFD packet to send [23:56:00]OFD Sender: No OFD packet to send [23:56:05]OFD Sender: No OFD packet to send [23:56:10]OFD Sender: No OFD packet to send [23:56:15]OFD Sender: No OFD packet to send [23:56:20]OFD Sender: No OFD packet to send [23:56:25]OFD Sender: No OFD packet to send [23:56:30]OFD Sender: No OFD packet to send [23:56:35]OFD Sender: No OFD packet to send [23:56:40]OFD Sender: No OFD packet to send [23:56:45]OFD Sender: No OFD packet to send [23:56:50]OFD Sender: No OFD packet to send [23:56:55]OFD Sender: No OFD packet to send [23:57:00]OFD Sender: No OFD packet to send [23:57:05]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:46]accept exits with 9 [23:59:46]New connection [23:59:46]New thread 3067100516 created [23:59:46]Thread 3067243876 joined [23:59:46]Waiting for new connection... [23:59:46] Sock 9.Parse request [23:59:46]Sock 9.Check first char [23:59:46]Sock 9.First char is OK [23:59:46]request: POST /json_proto HTTP/1.0 [23:59:46]Method: POST [23:59:46]URL: /json_proto [23:59:46]Method is POST - this is cgi request [23:59:46]url: /json_proto [23:59:46]query_string will be loaded in cgi processing [23:59:46]execute_cgi json_proto POST (null) [23:59:46]execute_cgi path=json_proto method=POST [23:59:46]POST find Content-Length [23:59:46]Host: 172.17.50.4:8080 [23:59:46]Content-Length: 215 [23:59:46]Content-Type: application/json [23:59:46] [23:59:46]POST finish read [23:59:46]Found Content-Length = 215 [23:59:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:46]execute_script... [23:59:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:46]POST & json_proto [23:59:46]process_json_proto [23:59:46]json parsed OK: [23:59:46]protocol is kg_v1.0 [23:59:46]action value=get_value [23:59:46]process_action get_value [23:59:46]cmd_get_value [23:59:46]process_action get_value done [23:59:46]requested_data is exist [23:59:46]produce_requested_data [23:59:46]requested_item kkm.sn is exist - process it [23:59:46]requested_item kkm.ver is exist - process it [23:59:46]requested_item fm.sn is exist - process it [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 11 00 00 [23:59:46]Write to MH i2c: E2 08 00 3E 21 80 11 00 00 00 00 00 00 D9 [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 17 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 17 00 3E 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 26 [23:59:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:59:46]wFMCommunicate OK [23:59:46]requested_item fd.num is exist - process it [23:59:46]SAM_PROTO_GetFieldsCounters [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 13 00 00 [23:59:46]Write to MH i2c: E2 08 00 3F 21 80 13 00 00 00 00 00 00 DC [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 62 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 62 00 3F 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 C3 [23:59:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetFieldsCounters done [23:59:46]requested_item shift.num is exist - process it [23:59:46]requested_item shift.opened is exist - process it [23:59:46]req_shift_opened [23:59:46]FM_GetShiftState [23:59:46]SAM_PROTO_GetShiftState [23:59:46]wFMCommunicate request_size=4 [23:59:46]MH_SAM_APDU [23:59:46]CAPDU: 80 13 01 00 [23:59:46]Write to MH i2c: E2 08 00 40 21 80 13 01 00 00 00 00 00 DE [23:59:46]Write i2c OK [23:59:46]MH_I2C_Read... [23:59:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:46]Read from MH i2c: E2 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 [23:59:46]MH_I2C_Read... [23:59:46]Read from MH i2c: E2 0E 00 40 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 FF [23:59:46]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:59:46]wFMCommunicate OK [23:59:46]SAM_PROTO_GetShiftState done [23:59:46]FM_GetShiftState done [23:59:46]req_shift_opened done [23:59:46]requested_item shift.open_date is exist - process it [23:59:46]req_shift_open_date [23:59:46]req_shift_open_date done [23:59:46]produce_requested_data done [23:59:46]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [23:59:46]process_action_free get_value [23:59:46]json_value_free [23:59:46]json_value_free done [23:59:46]process_json_proto returns [23:59:46]Send response to host [23:59:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [23:59:46]free response buf [23:59:46]execute_script done [23:59:46]execute_script returns [23:59:46]free content buf [23:59:46]Sock 9.Close socket [23:59:46]Sock 9.Thread stoped [23:59:46]accept exits with 7 [23:59:46]New connection [23:59:46]New thread 3067243876 created [23:59:46]Thread 3067100516 joined [23:59:46]Waiting for new connection... [23:59:46] Sock 7.Parse request [23:59:46]Sock 7.Check first char [23:59:46]Sock 7.First char is OK [23:59:46]request: POST /json_proto HTTP/1.0 [23:59:46]Method: POST [23:59:46]URL: /json_proto [23:59:46]Method is POST - this is cgi request [23:59:46]url: /json_proto [23:59:46]query_string will be loaded in cgi processing [23:59:46]execute_cgi json_proto POST (null) [23:59:46]execute_cgi path=json_proto method=POST [23:59:46]POST find Content-Length [23:59:46]Host: 172.17.50.4:8080 [23:59:46]Content-Length: 331 [23:59:46]Content-Type: application/json [23:59:46] [23:59:46]POST finish read [23:59:46]Found Content-Length = 331 [23:59:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:46]execute_script... [23:59:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:47]POST & json_proto [23:59:47]process_json_proto [23:59:47]json parsed OK: [23:59:47]protocol is kg_v1.0 [23:59:47]action value=get_value [23:59:47]process_action get_value [23:59:47]cmd_get_value [23:59:47]process_action get_value done [23:59:47]requested_data is exist [23:59:47]produce_requested_data [23:59:47]requested_item fm.sale.total is exist - process it [23:59:47]SAM_PROTO_GetFMData [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 13 03 00 [23:59:47]Write to MH i2c: E2 08 00 41 21 80 13 03 00 00 00 00 00 E1 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 41 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 E4 [23:59:47]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 42 21 80 17 00 00 00 00 00 00 E3 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:47]Read from MH i2c: E2 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 [23:59:47]MH_I2C_Read... [23:59:47]Read from MH i2c: E2 FD 00 42 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 C4 [23:59:47]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:47]wFMCommunicate OK [23:59:47]wFMCommunicate request_size=4 [23:59:47]MH_SAM_APDU [23:59:47]CAPDU: 80 17 00 00 [23:59:47]Write to MH i2c: E2 08 00 43 21 80 17 00 00 00 00 00 00 E4 [23:59:47]Write i2c OK [23:59:47]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 43 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 F9 [23:59:48]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:48]wFMCommunicate OK [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 44 21 80 17 00 00 00 00 00 00 E5 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 FD 00 44 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 5D [23:59:48]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:48]wFMCommunicate OK [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 17 00 00 [23:59:48]Write to MH i2c: E2 08 00 45 21 80 17 00 00 00 00 00 00 E6 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:48]Read from MH i2c: E2 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 E1 00 [23:59:48]MH_I2C_Read... [23:59:48]Read from MH i2c: E2 E1 00 45 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D4 [23:59:48]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:48]wFMCommunicate OK [23:59:48]SAM_PROTO_GetFMData done [23:59:48]requested_item fm.sale_refund.total is exist - process it [23:59:48]requested_item fm.buy.total is exist - process it [23:59:48]requested_item shift.sale.total is exist - process it [23:59:48]SAM_PROTO_GetShiftData [23:59:48]wFMCommunicate request_size=4 [23:59:48]MH_SAM_APDU [23:59:48]CAPDU: 80 13 02 00 [23:59:48]Write to MH i2c: E2 08 00 46 21 80 13 02 00 00 00 00 00 E5 [23:59:48]Write i2c OK [23:59:48]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 46 21 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9A [23:59:49]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 47 21 80 17 00 00 00 00 00 00 E8 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 47 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 0A [23:59: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 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:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 48 21 80 17 00 00 00 00 00 00 E9 [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 48 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 A0 [23:59:49]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:59:49]wFMCommunicate OK [23:59:49]wFMCommunicate request_size=4 [23:59:49]MH_SAM_APDU [23:59:49]CAPDU: 80 17 00 00 [23:59:49]Write to MH i2c: E2 08 00 49 21 80 17 00 00 00 00 00 00 EA [23:59:49]Write i2c OK [23:59:49]MH_I2C_Read... [23:59:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:49]Read from MH i2c: E2 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 [23:59:49]MH_I2C_Read... [23:59:49]Read from MH i2c: E2 FD 00 49 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 5C [23:59:49]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:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 4A 21 80 17 00 00 00 00 00 00 EB [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 CB 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 CB 00 4A 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 D4 [23:59:50]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:59:50]wFMCommunicate OK [23:59:50]SAM_PROTO_GetShiftData done [23:59:50]requested_item shift.sale.total_cash is exist - process it [23:59:50]requested_item shift.sale_refund.total is exist - process it [23:59:50]requested_item shift.sale_refund.total_cash is exist - process it [23:59:50]requested_item shift.buy.total is exist - process it [23:59:50]requested_item shift.buy.total_cash is exist - process it [23:59:50]produce_requested_data done [23:59:50]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:59:50]process_action_free get_value [23:59:50]json_value_free [23:59:50]json_value_free done [23:59:50]process_json_proto returns [23:59:50]Send response to host [23:59:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:59:50]free response buf [23:59:50]execute_script done [23:59:50]execute_script returns [23:59:50]free content buf [23:59:50]Sock 7.Close socket [23:59:50]Sock 7.Thread stoped [23:59:50]accept exits with 9 [23:59:50]New connection [23:59:50]New thread 3067100516 created [23:59:50]Thread 3067243876 joined [23:59:50]Waiting for new connection... [23:59:50] Sock 9.Parse request [23:59:50]Sock 9.Check first char [23:59:50]Sock 9.First char is OK [23:59:50]request: POST /json_proto HTTP/1.0 [23:59:50]Method: POST [23:59:50]URL: /json_proto [23:59:50]Method is POST - this is cgi request [23:59:50]url: /json_proto [23:59:50]query_string will be loaded in cgi processing [23:59:50]execute_cgi json_proto POST (null) [23:59:50]execute_cgi path=json_proto method=POST [23:59:50]POST find Content-Length [23:59:50]Host: 172.17.50.4:8080 [23:59:50]Content-Length: 331 [23:59:50]Content-Type: application/json [23:59:50] [23:59:50]POST finish read [23:59:50]Found Content-Length = 331 [23:59:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:50]execute_script... [23:59:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:59:50]POST & json_proto [23:59:50]process_json_proto [23:59:50]json parsed OK: [23:59:50]protocol is kg_v1.0 [23:59:50]action value=get_value [23:59:50]process_action get_value [23:59:50]cmd_get_value [23:59:50]process_action get_value done [23:59:50]requested_data is exist [23:59:50]produce_requested_data [23:59:50]requested_item fm.sale.total is exist - process it [23:59:50]SAM_PROTO_GetFMData [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 13 03 00 [23:59:50]Write to MH i2c: E2 08 00 4B 21 80 13 03 00 00 00 00 00 EB [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:50]Read from MH i2c: E2 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 [23:59:50]MH_I2C_Read... [23:59:50]Read from MH i2c: E2 FD 00 4B 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 EE [23:59:50]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [23:59:50]wFMCommunicate OK [23:59:50]wFMCommunicate request_size=4 [23:59:50]MH_SAM_APDU [23:59:50]CAPDU: 80 17 00 00 [23:59:50]Write to MH i2c: E2 08 00 4C 21 80 17 00 00 00 00 00 00 ED [23:59:50]Write i2c OK [23:59:50]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 4C 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 CE [23:59:51]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 17 00 00 [23:59:51]Write to MH i2c: E2 08 00 4D 21 80 17 00 00 00 00 00 00 EE [23:59:51]OFD Sender: No OFD packet to send [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 4D 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 03 [23:59:51]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:59:51]wFMCommunicate OK [23:59:51]wFMCommunicate request_size=4 [23:59:51]MH_SAM_APDU [23:59:51]CAPDU: 80 17 00 00 [23:59:51]Write to MH i2c: E2 08 00 4E 21 80 17 00 00 00 00 00 00 EF [23:59:51]Write i2c OK [23:59:51]MH_I2C_Read... [23:59:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:51]Read from MH i2c: E2 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 [23:59:51]MH_I2C_Read... [23:59:51]Read from MH i2c: E2 FD 00 4E 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 67 [23:59:51]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 4F 21 80 17 00 00 00 00 00 00 F0 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 E1 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 E1 00 4F 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DE [23:59:52]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:59:52]wFMCommunicate OK [23:59:52]SAM_PROTO_GetFMData done [23:59:52]requested_item fm.sale_refund.total is exist - process it [23:59:52]requested_item fm.buy.total is exist - process it [23:59:52]requested_item shift.sale.total is exist - process it [23:59:52]SAM_PROTO_GetShiftData [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 13 02 00 [23:59:52]Write to MH i2c: E2 08 00 50 21 80 13 02 00 00 00 00 00 EF [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:52]Read from MH i2c: E2 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 [23:59:52]MH_I2C_Read... [23:59:52]Read from MH i2c: E2 FD 00 50 21 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A4 [23:59:52]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:52]wFMCommunicate OK [23:59:52]wFMCommunicate request_size=4 [23:59:52]MH_SAM_APDU [23:59:52]CAPDU: 80 17 00 00 [23:59:52]Write to MH i2c: E2 08 00 51 21 80 17 00 00 00 00 00 00 F2 [23:59:52]Write i2c OK [23:59:52]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 51 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 14 [23:59:53]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:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 52 21 80 17 00 00 00 00 00 00 F3 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:53]Read from MH i2c: E2 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 [23:59:53]MH_I2C_Read... [23:59:53]Read from MH i2c: E2 FD 00 52 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 AA [23:59:53]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:59:53]wFMCommunicate OK [23:59:53]wFMCommunicate request_size=4 [23:59:53]MH_SAM_APDU [23:59:53]CAPDU: 80 17 00 00 [23:59:53]Write to MH i2c: E2 08 00 53 21 80 17 00 00 00 00 00 00 F4 [23:59:53]Write i2c OK [23:59:53]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 FD 00 53 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 66 [23:59:54]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:59:54]wFMCommunicate OK [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 17 00 00 [23:59:54]Write to MH i2c: E2 08 00 54 21 80 17 00 00 00 00 00 00 F5 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 CB 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 CB 00 54 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 DE [23:59:54]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:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftData done [23:59:54]requested_item shift.sale.total_cash is exist - process it [23:59:54]requested_item shift.sale_refund.total is exist - process it [23:59:54]requested_item shift.sale_refund.total_cash is exist - process it [23:59:54]requested_item shift.buy.total is exist - process it [23:59:54]requested_item shift.buy.total_cash is exist - process it [23:59:54]produce_requested_data done [23:59:54]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:59:54]process_action_free get_value [23:59:54]json_value_free [23:59:54]json_value_free done [23:59:54]process_json_proto returns [23:59:54]Send response to host [23:59:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:59:54]free response buf [23:59:54]execute_script done [23:59:54]execute_script returns [23:59:54]free content buf [23:59:54]Sock 9.Close socket [23:59:54]Sock 9.Thread stoped [23:59:54]accept exits with 7 [23:59:54]New connection [23:59:54]New thread 3067243876 created [23:59:54]Thread 3067100516 joined [23:59:54]Waiting for new connection... [23:59:54] Sock 7.Parse request [23:59:54]Sock 7.Check first char [23:59:54]Sock 7.First char is OK [23:59:54]request: POST /json_proto HTTP/1.0 [23:59:54]Method: POST [23:59:54]URL: /json_proto [23:59:54]Method is POST - this is cgi request [23:59:54]url: /json_proto [23:59:54]query_string will be loaded in cgi processing [23:59:54]execute_cgi json_proto POST (null) [23:59:54]execute_cgi path=json_proto method=POST [23:59:54]POST find Content-Length [23:59:54]Host: 172.17.50.4:8080 [23:59:54]Content-Length: 257 [23:59:54]Content-Type: application/json [23:59:54] [23:59:54]POST finish read [23:59:54]Found Content-Length = 257 [23:59:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:54]execute_script... [23:59:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:59:54]POST & json_proto [23:59:54]process_json_proto [23:59:54]json parsed OK: [23:59:54]protocol is kg_v1.0 [23:59:54]action value=x_report [23:59:54]process_action x_report [23:59:54]cmd_x_report [23:59:54]MH_GetDate [23:59:54]Write to MH i2c: F0 00 00 55 21 65 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 55 21 00 82 99 15 67 1D BB 13 67 57 [23:59:54]GetLastDocTimeStamp 1729467215 [23:59:54]current date 1729468802 [23:59:54]FM_GetShiftState [23:59:54]SAM_PROTO_GetShiftState [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 01 00 [23:59:54]Write to MH i2c: E2 08 00 56 21 80 13 01 00 00 00 00 00 F4 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 0E 00 56 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 15 [23:59:54]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetShiftState done [23:59:54]FM_GetShiftState done [23:59:54]KKMCreateXReportDocument [23:59:54]Load OK [23:59:54]Malloc new data [23:59:54]MH_GetDate [23:59:54]Write to MH i2c: F0 00 00 57 21 67 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: F0 09 00 57 21 00 82 99 15 67 1D BB 13 67 59 [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 11 00 00 [23:59:54]Write to MH i2c: E2 08 00 58 21 80 11 00 00 00 00 00 00 F3 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 17 00 58 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 40 [23:59:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFieldsCounters [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 00 00 [23:59:54]Write to MH i2c: E2 08 00 59 21 80 13 00 00 00 00 00 00 F6 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:59:54]Read from MH i2c: E2 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 [23:59:54]MH_I2C_Read... [23:59:54]Read from MH i2c: E2 62 00 59 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 DD [23:59:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:59:54]wFMCommunicate OK [23:59:54]SAM_PROTO_GetFieldsCounters done [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]Malloc new data [23:59:54]KKMCreateXReportDocument OK [23:59:54]KKMSetXReportData OK [23:59:54]KKMPrepareXReportFMData [23:59:54]SAM_PROTO_GetShiftData [23:59:54]wFMCommunicate request_size=4 [23:59:54]MH_SAM_APDU [23:59:54]CAPDU: 80 13 02 00 [23:59:54]Write to MH i2c: E2 08 00 5A 21 80 13 02 00 00 00 00 00 F9 [23:59:54]Write i2c OK [23:59:54]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 5A 21 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AE [23:59:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 5B 21 80 17 00 00 00 00 00 00 FC [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:55]Read from MH i2c: E2 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 [23:59:55]MH_I2C_Read... [23:59:55]Read from MH i2c: E2 FD 00 5B 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 1E [23:59: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 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:59:55]wFMCommunicate OK [23:59:55]wFMCommunicate request_size=4 [23:59:55]MH_SAM_APDU [23:59:55]CAPDU: 80 17 00 00 [23:59:55]Write to MH i2c: E2 08 00 5C 21 80 17 00 00 00 00 00 00 FD [23:59:55]Write i2c OK [23:59:55]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 5C 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 B4 [23:59:56]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:59:56]wFMCommunicate OK [23:59:56]wFMCommunicate request_size=4 [23:59:56]MH_SAM_APDU [23:59:56]CAPDU: 80 17 00 00 [23:59:56]Write to MH i2c: E2 08 00 5D 21 80 17 00 00 00 00 00 00 FE [23:59:56]OFD Sender: No OFD packet to send [23:59:56]Write i2c OK [23:59:56]MH_I2C_Read... [23:59:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:56]Read from MH i2c: E2 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 [23:59:56]MH_I2C_Read... [23:59:56]Read from MH i2c: E2 FD 00 5D 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 70 [23:59:56]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:59:57]wFMCommunicate OK [23:59:57]wFMCommunicate request_size=4 [23:59:57]MH_SAM_APDU [23:59:57]CAPDU: 80 17 00 00 [23:59:57]Write to MH i2c: E2 08 00 5E 21 80 17 00 00 00 00 00 00 FF [23:59:57]Write i2c OK [23:59:57]MH_I2C_Read... [23:59:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:59:57]Read from MH i2c: E2 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 CB 00 [23:59:57]MH_I2C_Read... [23:59:57]Read from MH i2c: E2 CB 00 5E 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 E8 [23:59:57]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:59:57]wFMCommunicate OK [23:59:57]SAM_PROTO_GetShiftData done [23:59:57]1194 (1194) - счетчики итогов смены [23:59:57] 1134 (4) - 64 - количество чеков со всеми признаками расчетов [23:59:57] 1129 (155) - счетчики операций «приход» [23:59:57] 1135 (4) - 64 - количество чеков по признаку расчетов [23:59:57] 1201 (3) - 9770.00 - общая итоговая сумма в чеках [23:59:57] 1136 (3) - 7994.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (3) - 1776.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (122) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (12) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (3) - 1037.45 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (11) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (2) - 86.41 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1130 (141) - счетчики операций «возврат прихода» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1131 (141) - счетчики операций «расход» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1132 (141) - счетчики операций «возврат расхода» [23:59:57] 1135 (4) - 0 - количество чеков по признаку расчетов [23:59:57] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:59:57] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:59:57] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:59:57] 1024 (117) - суммы налогов [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 0% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1006 (9) - суммы НДС [23:59:57] 1010 (1) - 12% - код ставки НДС [23:59:57] 1011 (0) - 0.00 - сумма НДС по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 2% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 3% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 5% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 0,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1007 (9) - суммы НСП [23:59:57] 1014 (1) - 1,50% - код ставки НСП [23:59:57] 1015 (0) - 0.00 - сумма НСП по ставке [23:59:57] 1133 (588) - - счетчики коррекции - не используются [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1194 (04AA) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1134 (046E) [23:59:57]Malloc new data [23:59:57]Processing tag 1129 (0469) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1135 (046F) [23:59:57]Malloc new data [23:59:57]Processing tag 1201 (04B1) [23:59:57]Malloc new data [23:59:57]Processing tag 1136 (0470) [23:59:57]Malloc new data [23:59:57]Processing tag 1138 (0472) [23:59:57]Malloc new data [23:59:57]Processing tag 1024 (0400) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1006 (03EE) [23:59:57]Load OK [23:59:57]SetTLVBufToDocument [23:59:57]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1130 (046A) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1135 (046F) [23:59:58]Malloc new data [23:59:58]Processing tag 1201 (04B1) [23:59:58]Malloc new data [23:59:58]Processing tag 1136 (0470) [23:59:58]Malloc new data [23:59:58]Processing tag 1138 (0472) [23:59:58]Malloc new data [23:59:58]Processing tag 1024 (0400) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1131 (046B) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1135 (046F) [23:59:58]Malloc new data [23:59:58]Processing tag 1201 (04B1) [23:59:58]Malloc new data [23:59:58]Processing tag 1136 (0470) [23:59:58]Malloc new data [23:59:58]Processing tag 1138 (0472) [23:59:58]Malloc new data [23:59:58]Processing tag 1024 (0400) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1132 (046C) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1135 (046F) [23:59:58]Malloc new data [23:59:58]Processing tag 1201 (04B1) [23:59:58]Malloc new data [23:59:58]Processing tag 1136 (0470) [23:59:58]Malloc new data [23:59:58]Processing tag 1138 (0472) [23:59:58]Malloc new data [23:59:58]Processing tag 1024 (0400) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1006 (03EE) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1010 (03F2) [23:59:58]Malloc new data [23:59:58]Processing tag 1011 (03F3) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1007 (03EF) [23:59:58]Load OK [23:59:58]SetTLVBufToDocument [23:59:58]Processing tag 1014 (03F6) [23:59:58]Malloc new data [23:59:58]Processing tag 1015 (03F7) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Processing tag 1133 (046D) [23:59:58]Malloc new data [23:59:58]SetTLVBufToDocument err=0 [23:59:58]SetTLVBufToDocument err=0 [23:59:58]Malloc new data [23:59:58]SAM_PROTO_GetFMData [23:59:58]wFMCommunicate request_size=4 [23:59:58]MH_SAM_APDU [23:59:58]CAPDU: 80 13 03 00 [23:59:58]Write to MH i2c: E2 08 00 5F 21 80 13 03 00 00 00 00 00 FF [23:59:58]Write i2c OK [23:59:58]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 5F 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 02 [23:59:59]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [23:59:59]wFMCommunicate OK [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 17 00 00 [23:59:59]Write to MH i2c: E2 08 00 60 21 80 17 00 00 00 00 00 00 01 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 60 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 E2 [23:59:59]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [23:59:59]wFMCommunicate OK [23:59:59]wFMCommunicate request_size=4 [23:59:59]MH_SAM_APDU [23:59:59]CAPDU: 80 17 00 00 [23:59:59]Write to MH i2c: E2 08 00 61 21 80 17 00 00 00 00 00 00 02 [23:59:59]Write i2c OK [23:59:59]MH_I2C_Read... [23:59:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:59:59]Read from MH i2c: E2 [23:59:59]MH_I2C_Read... [23:59:59]Read from MH i2c: E2 FD 00 [23:59:59]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 61 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 17 [00:00:00]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:00]wFMCommunicate OK [00:00:00]wFMCommunicate request_size=4 [00:00:00]MH_SAM_APDU [00:00:00]CAPDU: 80 17 00 00 [00:00:00]Write to MH i2c: E2 08 00 62 21 80 17 00 00 00 00 00 00 03 [00:00:00]Write i2c OK [00:00:00]MH_I2C_Read... [00:00:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:00]Read from MH i2c: E2 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 [00:00:00]MH_I2C_Read... [00:00:00]Read from MH i2c: E2 FD 00 62 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 7B [00:00:00]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:00]wFMCommunicate OK [00:00:00]wFMCommunicate request_size=4 [00:00:00]MH_SAM_APDU [00:00:00]CAPDU: 80 17 00 00 [00:00:00]Write to MH i2c: E2 08 00 63 21 80 17 00 00 00 00 00 00 04 [00:00:00]Write i2c OK [00:00:00]MH_I2C_Read... [00:00:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:01]Read from MH i2c: E2 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 E1 00 [00:00:01]MH_I2C_Read... [00:00:01]Read from MH i2c: E2 E1 00 63 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F2 [00:00:01]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:01]wFMCommunicate OK [00:00:01]SAM_PROTO_GetFMData done [00:00:01]FM_GetFMData:85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D 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 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 OFD Sender: No OFD packet to send [00:00:01]F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:01]oper:6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:02]total:E6 0C F5 2B [00:00:02]Malloc new data [00:00:02]oper:6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D 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 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:02]total:98 BE AC 01 [00:00:02]Malloc new data [00:00:02]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:02]total: [00:00:02]Malloc new data [00:00:02]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:00:02]total: [00:00:02]Malloc new data [00:00:02]KKMPrepareXReportFMData err=0 [00:00:02]Х отчет ИНН: 02508201610067 Кассир: Калмаева Г. 21.10.2024 00:00 Смена: 266 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Всего чеков: 64 ИТОГИ ПРИХОД Чеков: 64 Общий итог: 9770.00 Итого наличными: 7994.00 Итого безнал.: 1776.00 НДС 0% : 0.00 НДС 12% : 1037.45 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 86.41 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 7994.00 НС Приход: 7374799.10 НС Возвр.Прихода: 280982.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965420 [00:00:02]StoreToDocumentArchive [00:00:02]MH_GetDate [00:00:02]Write to MH i2c: F0 00 00 64 21 74 [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: F0 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: F0 09 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: F0 09 00 64 21 00 8A 99 15 67 1D BB 13 67 6E [00:00:02]shift 266 fd 1729468810 [00:00:02]Create dir for shift 0266 [00:00:02]save to /storage/0266/doc_1729468810 [00:00:02]save last doc name /storage/0266/doc_1729468810 to /storage/kkm_last_doc_name [00:00:02]save OK [00:00:02]Clear old archive folders... [00:00:02]NVStorageSaveData kkm_last_timestamp [00:00:02]File name is /storage/kkm_last_timestamp [00:00:02]Write 4 bytes [00:00:02]NVStorageSaveData done [00:00:02]ExternCall_PrintAddStr [00:00:02]wPrintStart [00:00:02]Write to MH i2c: 01 00 00 65 21 86 [00:00:02]Write i2c OK [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 [00:00:02]MH_I2C_Read... [00:00:02]Read from MH i2c: 01 07 00 65 21 00 00 00 00 00 FF 0F 9B [00:00:02]RasterBufferAndPrint [00:00:02]line Х отчет [00:00:02]line ИНН: 02508201610067 [00:00:02]line Кассир: Калмаева Г. [00:00:02]line 21.10.2024 00:00 [00:00:02]line Смена: 266 [00:00:02]line РНМ: 0000000000098120 [00:00:02]line ЗНМ: 0300000166 [00:00:02]line СНО: Общий режим [00:00:02]line Всего чеков: 64 [00:00:02]line ИТОГИ ПРИХОД [00:00:02]line Чеков: 64 [00:00:02]line Общий итог: 9770.00 [00:00:02]line Итого наличными: 7994.00 [00:00:02]line Итого безнал.: 1776.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 1037.45 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 86.41 [00:00:02]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:00:02]line Чеков: 0 [00:00:02]line Общий итог: 0.00 [00:00:02]line Итого наличными: 0.00 [00:00:02]line Итого безнал.: 0.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 0.00 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 0.00 [00:00:02]line ИТОГИ РАСХОД [00:00:02]line Чеков: 0 [00:00:02]line Общий итог: 0.00 [00:00:02]line Итого наличными: 0.00 [00:00:02]line Итого безнал.: 0.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 0.00 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 0.00 [00:00:02]line ИТОГИ ВОЗВРАТ РАСХОДА [00:00:02]line Чеков: 0 [00:00:02]line Общий итог: 0.00 [00:00:02]line Итого наличными: 0.00 [00:00:02]line Итого безнал.: 0.00 [00:00:02]line НДС 0% : 0.00 [00:00:02]line НДС 12% : 0.00 [00:00:02]line НСП 0% : 0.00 [00:00:02]line НСП 1,50% : 0.00 [00:00:02]line НСП 0,50% : 0.00 [00:00:02]line НСП 5% : 0.00 [00:00:02]line НСП 3% : 0.00 [00:00:02]line НСП 2% : 0.00 [00:00:02]line НСП 1% : 0.00 [00:00:02]line Сумма внесений: 0.00 [00:00:02]line Сумма выплат: 0.00 [00:00:02]line Нал. в кассе: 7994.00 [00:00:02]line НС Приход: 7374799.10 [00:00:02]line НС Возвр.Прихода: 280982.00 [00:00:02]line НС Расход: 0.00 [00:00:02]line НС Возвр.Расхода: 0.00 [00:00:02]line ФМ: 0000000000965420 [00:00:02]written 0, free lines is 4095 [00:00:03]Write to MH i2c: 01 00 00 B0 21 D1 [00:00:03]Write i2c OK [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: 01 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: 01 07 00 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: 01 07 00 B0 21 00 00 00 00 00 0A 0B ED [00:00:03]RasterBufferAndPrint [00:00:03]line [00:00:03]line [00:00:03]line [00:00:03]line [00:00:03]line [00:00:03]written 0, free lines is 2863 [00:00:03]process_action x_report done [00:00:03]requested_data is exist [00:00:03]produce_requested_data [00:00:03]requested_item fd.num is exist - process it [00:00:03]SAM_PROTO_GetFieldsCounters [00:00:03]wFMCommunicate request_size=4 [00:00:03]MH_SAM_APDU [00:00:03]CAPDU: 80 13 00 00 [00:00:03]Write to MH i2c: E2 08 00 B7 21 80 13 00 00 00 00 00 00 54 [00:00:03]Write i2c OK [00:00:03]MH_I2C_Read... [00:00:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:03]Read from MH i2c: E2 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 62 00 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 62 00 B7 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 3B [00:00:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:03]wFMCommunicate OK [00:00:03]SAM_PROTO_GetFieldsCounters done [00:00:03]requested_item shift.num is exist - process it [00:00:03]requested_item shift.opened is exist - process it [00:00:03]req_shift_opened [00:00:03]FM_GetShiftState [00:00:03]SAM_PROTO_GetShiftState [00:00:03]wFMCommunicate request_size=4 [00:00:03]MH_SAM_APDU [00:00:03]CAPDU: 80 13 01 00 [00:00:03]Write to MH i2c: E2 08 00 B8 21 80 13 01 00 00 00 00 00 56 [00:00:03]Write i2c OK [00:00:03]MH_I2C_Read... [00:00:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:03]Read from MH i2c: E2 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 0E 00 [00:00:03]MH_I2C_Read... [00:00:03]Read from MH i2c: E2 0E 00 B8 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 77 [00:00:03]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [00:00:03]wFMCommunicate OK [00:00:03]SAM_PROTO_GetShiftState done [00:00:03]FM_GetShiftState done [00:00:03]req_shift_opened done [00:00:03]requested_item shift.open_date is exist - process it [00:00:03]req_shift_open_date [00:00:03]req_shift_open_date done [00:00:03]produce_requested_data done [00:00:03]produce_requested_data return {"fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [00:00:03]process_action_free x_report [00:00:03]json_value_free [00:00:03]json_value_free done [00:00:03]process_json_proto returns [00:00:03]Send response to host [00:00:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [00:00:03]free response buf [00:00:03]execute_script done [00:00:03]execute_script returns [00:00:03]free content buf [00:00:03]Sock 7.Close socket [00:00:03]Sock 7.Thread stoped [00:00: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]accept exits with 9 [00:00:51]New connection [00:00:51]New thread 3067100516 created [00:00:51]Thread 3067243876 joined [00:00:51]Waiting for new connection... [00:00:51] Sock 9.Parse request [00:00:51]Sock 9.Check first char [00:00:51]Sock 9.First char is OK [00:00:51]request: POST /json_proto HTTP/1.0 [00:00:51]Method: POST [00:00:51]URL: /json_proto [00:00:51]Method is POST - this is cgi request [00:00:51]url: /json_proto [00:00:51]query_string will be loaded in cgi processing [00:00:51]execute_cgi json_proto POST (null) [00:00:51]execute_cgi path=json_proto method=POST [00:00:51]POST find Content-Length [00:00:51]Host: 172.17.50.4:8080 [00:00:51]Content-Length: 215 [00:00:51]Content-Type: application/json [00:00:51] [00:00:51]POST finish read [00:00:51]Found Content-Length = 215 [00:00:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:51]execute_script... [00:00:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:51]POST & json_proto [00:00:51]process_json_proto [00:00:51]json parsed OK: [00:00:51]protocol is kg_v1.0 [00:00:51]action value=get_value [00:00:51]process_action get_value [00:00:51]cmd_get_value [00:00:51]process_action get_value done [00:00:51]requested_data is exist [00:00:51]produce_requested_data [00:00:51]requested_item kkm.sn is exist - process it [00:00:51]requested_item kkm.ver is exist - process it [00:00:51]requested_item fm.sn is exist - process it [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 11 00 00 [00:00:51]Write to MH i2c: E2 08 00 B9 21 80 11 00 00 00 00 00 00 54 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 17 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 17 00 B9 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A1 [00:00:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:00:51]wFMCommunicate OK [00:00:51]requested_item fd.num is exist - process it [00:00:51]SAM_PROTO_GetFieldsCounters [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 13 00 00 [00:00:51]Write to MH i2c: E2 08 00 BA 21 80 13 00 00 00 00 00 00 57 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 62 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 62 00 BA 21 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [00:00:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E6 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:00:51]wFMCommunicate OK [00:00:51]SAM_PROTO_GetFieldsCounters done [00:00:51]requested_item shift.num is exist - process it [00:00:51]requested_item shift.opened is exist - process it [00:00:51]req_shift_opened [00:00:51]FM_GetShiftState [00:00:51]SAM_PROTO_GetShiftState [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 13 01 00 [00:00:51]Write to MH i2c: E2 08 00 BB 21 80 13 01 00 00 00 00 00 59 [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:51]Read from MH i2c: E2 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 0E 00 [00:00:51]MH_I2C_Read... [00:00:51]Read from MH i2c: E2 0E 00 BB 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 7A [00:00:51]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [00:00:51]wFMCommunicate OK [00:00:51]SAM_PROTO_GetShiftState done [00:00:51]FM_GetShiftState done [00:00:51]req_shift_opened done [00:00:51]requested_item shift.open_date is exist - process it [00:00:51]req_shift_open_date [00:00:51]req_shift_open_date done [00:00:51]produce_requested_data done [00:00:51]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737} [00:00:51]process_action_free get_value [00:00:51]json_value_free [00:00:51]json_value_free done [00:00:51]process_json_proto returns [00:00:51]Send response to host [00:00:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24294,"shift.num":460,"shift.opened":1,"shift.open_date":1729382737}}} [00:00:51]free response buf [00:00:51]execute_script done [00:00:51]execute_script returns [00:00:51]free content buf [00:00:51]Sock 9.Close socket [00:00:51]Sock 9.Thread stoped [00:00:51]accept exits with 7 [00:00:51]New connection [00:00:51]New thread 3067243876 created [00:00:51]Thread 3067100516 joined [00:00:51]Waiting for new connection... [00:00:51] Sock 7.Parse request [00:00:51]Sock 7.Check first char [00:00:51]Sock 7.First char is OK [00:00:51]request: POST /json_proto HTTP/1.0 [00:00:51]Method: POST [00:00:51]URL: /json_proto [00:00:51]Method is POST - this is cgi request [00:00:51]url: /json_proto [00:00:51]query_string will be loaded in cgi processing [00:00:51]execute_cgi json_proto POST (null) [00:00:51]execute_cgi path=json_proto method=POST [00:00:51]POST find Content-Length [00:00:51]Host: 172.17.50.4:8080 [00:00:51]Content-Length: 331 [00:00:51]Content-Type: application/json [00:00:51] [00:00:51]POST finish read [00:00:51]Found Content-Length = 331 [00:00:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:51]execute_script... [00:00:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:51]POST & json_proto [00:00:51]process_json_proto [00:00:51]json parsed OK: [00:00:51]protocol is kg_v1.0 [00:00:51]action value=get_value [00:00:51]process_action get_value [00:00:51]cmd_get_value [00:00:51]process_action get_value done [00:00:51]requested_data is exist [00:00:51]produce_requested_data [00:00:51]requested_item fm.sale.total is exist - process it [00:00:51]SAM_PROTO_GetFMData [00:00:51]wFMCommunicate request_size=4 [00:00:51]MH_SAM_APDU [00:00:51]CAPDU: 80 13 03 00 [00:00:51]Write to MH i2c: E2 08 00 BC 21 80 13 03 00 00 00 00 00 5C [00:00:51]Write i2c OK [00:00:51]MH_I2C_Read... [00:00:51]OFD Sender: No OFD packet to send [00:00:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 BC 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 5F [00:00:52]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 BD 21 80 17 00 00 00 00 00 00 5E [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 BD 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 3F [00:00:52]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 BE 21 80 17 00 00 00 00 00 00 5F [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 BE 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 74 [00:00:52]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 BF 21 80 17 00 00 00 00 00 00 60 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:52]Read from MH i2c: E2 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 [00:00:52]MH_I2C_Read... [00:00:52]Read from MH i2c: E2 FD 00 BF 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 D8 [00:00:52]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:52]wFMCommunicate OK [00:00:52]wFMCommunicate request_size=4 [00:00:52]MH_SAM_APDU [00:00:52]CAPDU: 80 17 00 00 [00:00:52]Write to MH i2c: E2 08 00 C0 21 80 17 00 00 00 00 00 00 61 [00:00:52]Write i2c OK [00:00:52]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 E1 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 E1 00 C0 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 4F [00:00:53]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:53]wFMCommunicate OK [00:00:53]SAM_PROTO_GetFMData done [00:00:53]requested_item fm.sale_refund.total is exist - process it [00:00:53]requested_item fm.buy.total is exist - process it [00:00:53]requested_item shift.sale.total is exist - process it [00:00:53]SAM_PROTO_GetShiftData [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 13 02 00 [00:00:53]Write to MH i2c: E2 08 00 C1 21 80 13 02 00 00 00 00 00 60 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 C1 21 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 15 [00:00:53]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 C2 21 80 17 00 00 00 00 00 00 63 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:53]Read from MH i2c: E2 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 [00:00:53]MH_I2C_Read... [00:00:53]Read from MH i2c: E2 FD 00 C2 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 85 [00:00:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:53]wFMCommunicate OK [00:00:53]wFMCommunicate request_size=4 [00:00:53]MH_SAM_APDU [00:00:53]CAPDU: 80 17 00 00 [00:00:53]Write to MH i2c: E2 08 00 C3 21 80 17 00 00 00 00 00 00 64 [00:00:53]Write i2c OK [00:00:53]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 C3 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 1B [00:00:54]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:54]wFMCommunicate OK [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 C4 21 80 17 00 00 00 00 00 00 65 [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 FD 00 C4 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 D7 [00:00:54]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:54]wFMCommunicate OK [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 17 00 00 [00:00:54]Write to MH i2c: E2 08 00 C5 21 80 17 00 00 00 00 00 00 66 [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:54]Read from MH i2c: E2 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 CB 00 [00:00:54]MH_I2C_Read... [00:00:54]Read from MH i2c: E2 CB 00 C5 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 4F [00:00:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:54]wFMCommunicate OK [00:00:54]SAM_PROTO_GetShiftData done [00:00:54]requested_item shift.sale.total_cash is exist - process it [00:00:54]requested_item shift.sale_refund.total is exist - process it [00:00:54]requested_item shift.sale_refund.total_cash is exist - process it [00:00:54]requested_item shift.buy.total is exist - process it [00:00:54]requested_item shift.buy.total_cash is exist - process it [00:00:54]produce_requested_data done [00:00:54]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:54]process_action_free get_value [00:00:54]json_value_free [00:00:54]json_value_free done [00:00:54]process_json_proto returns [00:00:54]Send response to host [00:00:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:54]free response buf [00:00:54]execute_script done [00:00:54]execute_script returns [00:00:54]free content buf [00:00:54]Sock 7.Close socket [00:00:54]Sock 7.Thread stoped [00:00:54]accept exits with 9 [00:00:54]New connection [00:00:54]New thread 3067100516 created [00:00:54]Thread 3067243876 joined [00:00:54]Waiting for new connection... [00:00:54] Sock 9.Parse request [00:00:54]Sock 9.Check first char [00:00:54]Sock 9.First char is OK [00:00:54]request: POST /json_proto HTTP/1.0 [00:00:54]Method: POST [00:00:54]URL: /json_proto [00:00:54]Method is POST - this is cgi request [00:00:54]url: /json_proto [00:00:54]query_string will be loaded in cgi processing [00:00:54]execute_cgi json_proto POST (null) [00:00:54]execute_cgi path=json_proto method=POST [00:00:54]POST find Content-Length [00:00:54]Host: 172.17.50.4:8080 [00:00:54]Content-Length: 331 [00:00:54]Content-Type: application/json [00:00:54] [00:00:54]POST finish read [00:00:54]Found Content-Length = 331 [00:00:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:54]execute_script... [00:00:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:00:54]POST & json_proto [00:00:54]process_json_proto [00:00:54]json parsed OK: [00:00:54]protocol is kg_v1.0 [00:00:54]action value=get_value [00:00:54]process_action get_value [00:00:54]cmd_get_value [00:00:54]process_action get_value done [00:00:54]requested_data is exist [00:00:54]produce_requested_data [00:00:54]requested_item fm.sale.total is exist - process it [00:00:54]SAM_PROTO_GetFMData [00:00:54]wFMCommunicate request_size=4 [00:00:54]MH_SAM_APDU [00:00:54]CAPDU: 80 13 03 00 [00:00:54]Write to MH i2c: E2 08 00 C6 21 80 13 03 00 00 00 00 00 66 [00:00:54]Write i2c OK [00:00:54]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 C6 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 69 [00:00:55]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 C7 21 80 17 00 00 00 00 00 00 68 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:55]Read from MH i2c: E2 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 [00:00:55]MH_I2C_Read... [00:00:55]Read from MH i2c: E2 FD 00 C7 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 49 [00:00:55]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:00:55]wFMCommunicate OK [00:00:55]wFMCommunicate request_size=4 [00:00:55]MH_SAM_APDU [00:00:55]CAPDU: 80 17 00 00 [00:00:55]Write to MH i2c: E2 08 00 C8 21 80 17 00 00 00 00 00 00 69 [00:00:55]Write i2c OK [00:00:55]MH_I2C_Read... [00:00:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 C8 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 7E [00:00:56]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 17 00 00 [00:00:56]Write to MH i2c: E2 08 00 C9 21 80 17 00 00 00 00 00 00 6A [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 FD 00 C9 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 E2 [00:00:56]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:00:56]wFMCommunicate OK [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 17 00 00 [00:00:56]Write to MH i2c: E2 08 00 CA 21 80 17 00 00 00 00 00 00 6B [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:00:56]Read from MH i2c: E2 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 E1 00 [00:00:56]MH_I2C_Read... [00:00:56]Read from MH i2c: E2 E1 00 CA 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 59 [00:00:56]RAPDU: 03 09 OFD Sender: No OFD packet to send [00:00:56]00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:56]wFMCommunicate OK [00:00:56]SAM_PROTO_GetFMData done [00:00:56]requested_item fm.sale_refund.total is exist - process it [00:00:56]requested_item fm.buy.total is exist - process it [00:00:56]requested_item shift.sale.total is exist - process it [00:00:56]SAM_PROTO_GetShiftData [00:00:56]wFMCommunicate request_size=4 [00:00:56]MH_SAM_APDU [00:00:56]CAPDU: 80 13 02 00 [00:00:56]Write to MH i2c: E2 08 00 CB 21 80 13 02 00 00 00 00 00 6A [00:00:56]Write i2c OK [00:00:56]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 CB 21 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1F [00:00:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:00:57]wFMCommunicate OK [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 17 00 00 [00:00:57]Write to MH i2c: E2 08 00 CC 21 80 17 00 00 00 00 00 00 6D [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:57]Read from MH i2c: E2 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 [00:00:57]MH_I2C_Read... [00:00:57]Read from MH i2c: E2 FD 00 CC 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 8F [00:00:57]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:00:57]wFMCommunicate OK [00:00:57]wFMCommunicate request_size=4 [00:00:57]MH_SAM_APDU [00:00:57]CAPDU: 80 17 00 00 [00:00:57]Write to MH i2c: E2 08 00 CD 21 80 17 00 00 00 00 00 00 6E [00:00:57]Write i2c OK [00:00:57]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 CD 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 25 [00:00:58]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 CE 21 80 17 00 00 00 00 00 00 6F [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 FD 00 CE 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 E1 [00:00:58]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:00:58]wFMCommunicate OK [00:00:58]wFMCommunicate request_size=4 [00:00:58]MH_SAM_APDU [00:00:58]CAPDU: 80 17 00 00 [00:00:58]Write to MH i2c: E2 08 00 CF 21 80 17 00 00 00 00 00 00 70 [00:00:58]Write i2c OK [00:00:58]MH_I2C_Read... [00:00:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:00:58]Read from MH i2c: E2 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 CB 00 [00:00:58]MH_I2C_Read... [00:00:58]Read from MH i2c: E2 CB 00 CF 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 59 [00:00:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_GetShiftData done [00:00:59]requested_item shift.sale.total_cash is exist - process it [00:00:59]requested_item shift.sale_refund.total is exist - process it [00:00:59]requested_item shift.sale_refund.total_cash is exist - process it [00:00:59]requested_item shift.buy.total is exist - process it [00:00:59]requested_item shift.buy.total_cash is exist - process it [00:00:59]produce_requested_data done [00:00:59]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:00:59]process_action_free get_value [00:00:59]json_value_free [00:00:59]json_value_free done [00:00:59]process_json_proto returns [00:00:59]Send response to host [00:00:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:00:59]free response buf [00:00:59]execute_script done [00:00:59]execute_script returns [00:00:59]free content buf [00:00:59]Sock 9.Close socket [00:00:59]Sock 9.Thread stoped [00:00:59]accept exits with 7 [00:00:59]New connection [00:00:59]New thread 3067243876 created [00:00:59]Thread 3067100516 joined [00:00:59]Waiting for new connection... [00:00:59] Sock 7.Parse request [00:00:59]Sock 7.Check first char [00:00:59]Sock 7.First char is OK [00:00:59]request: POST /json_proto HTTP/1.0 [00:00:59]Method: POST [00:00:59]URL: /json_proto [00:00:59]Method is POST - this is cgi request [00:00:59]url: /json_proto [00:00:59]query_string will be loaded in cgi processing [00:00:59]execute_cgi json_proto POST (null) [00:00:59]execute_cgi path=json_proto method=POST [00:00:59]POST find Content-Length [00:00:59]Host: 172.17.50.4:8080 [00:00:59]Content-Length: 260 [00:00:59]Content-Type: application/json [00:00:59] [00:00:59]POST finish read [00:00:59]Found Content-Length = 260 [00:00:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:59]execute_script... [00:00:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:00:59]POST & json_proto [00:00:59]process_json_proto [00:00:59]json parsed OK: [00:00:59]protocol is kg_v1.0 [00:00:59]action value=close_shift [00:00:59]process_action close_shift [00:00:59]cmd_close_shift [00:00:59]MH_GetDate [00:00:59]Write to MH i2c: F0 00 00 D0 21 E0 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 09 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 09 00 D0 21 00 C3 99 15 67 1D BB 13 67 13 [00:00:59]GetLastDocTimeStamp 1729468802 [00:00:59]current date 1729468867 [00:00:59]FM_GetShiftState [00:00:59]SAM_PROTO_GetShiftState [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 13 01 00 [00:00:59]Write to MH i2c: E2 08 00 D1 21 80 13 01 00 00 00 00 00 6F [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 0E 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 0E 00 D1 21 00 09 00 01 51 49 14 67 00 00 00 00 90 00 90 [00:00:59]RAPDU: 09 00 01 51 49 14 67 00 00 00 00 90 00 [00:00:59]wFMCommunicate OK [00:00:59]SAM_PROTO_GetShiftState done [00:00:59]FM_GetShiftState done [00:00:59]KKMCreateCloseShiftDocument [00:00:59]Load OK [00:00:59]Malloc new data [00:00:59]MH_GetDate [00:00:59]Write to MH i2c: F0 00 00 D2 21 E2 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 09 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: F0 09 00 D2 21 00 C3 99 15 67 1D BB 13 67 15 [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]Malloc new data [00:00:59]KKMCreateCloseShiftDocument OK [00:00:59]KKMSetCloseShiftData OK [00:00:59]ProcessDocumentItem done err = 0, tmpTLVsize=71 [00:00:59]tlvbuf is 02051250 [00:00:59]KKMLoadAndSignCloseShiftData [00:00:59]SAM_PROTO_ProcessDocument [00:00:59]wFMCommunicate request_size=9 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 01 00 04 05 00 47 00 [00:00:59]Write to MH i2c: E2 0C 00 D3 21 80 15 01 00 04 00 05 00 47 00 00 00 C7 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 D3 21 00 90 00 68 [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=23 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:00:59]Write to MH i2c: E2 1A 00 D4 21 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 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 D4 21 00 90 00 69 [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=30 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 [00:00:59]Write to MH i2c: E2 21 00 D5 21 80 15 02 00 19 00 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 00 00 96 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 D5 21 00 90 00 6A [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=13 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 02 00 08 F4 03 04 00 C3 99 15 67 [00:00:59]Write to MH i2c: E2 10 00 D6 21 80 15 02 00 08 00 F4 03 04 00 C3 99 15 67 00 00 5A [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 D6 21 00 90 00 6B [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=25 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 [00:00:59]Write to MH i2c: E2 1C 00 D7 21 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 00 00 D5 [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:00:59]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:00:59]Read from MH i2c: E2 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 [00:00:59]MH_I2C_Read... [00:00:59]Read from MH i2c: E2 03 00 D7 21 00 90 00 6C [00:00:59]RAPDU: 90 00 [00:00:59]wFMCommunicate OK [00:00:59]wFMCommunicate request_size=4 [00:00:59]MH_SAM_APDU [00:00:59]CAPDU: 80 15 03 00 [00:00:59]Write to MH i2c: E2 08 00 D8 21 80 15 03 00 00 00 00 00 7A [00:00:59]Write i2c OK [00:00:59]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 FD 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 FD 00 D8 21 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5C [00:01:00]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_ProcessDocument answer len = 1265 [00:01:00]SAM_PROTO_ProcessDocument remain to read = 1017 [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 17 00 00 [00:01:00]Write to MH i2c: E2 08 00 D9 21 80 17 00 00 00 00 00 00 7A [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:00]Read from MH i2c: E2 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 FD 00 [00:01:00]MH_I2C_Read... [00:01:00]Read from MH i2c: E2 FD 00 D9 21 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:01:00]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:00]wFMCommunicate OK [00:01:00]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:00]SAM_PROTO_ProcessDocument remain to read = 767 [00:01:00]wFMCommunicate request_size=4 [00:01:00]MH_SAM_APDU [00:01:00]CAPDU: 80 17 00 00 [00:01:00]Write to MH i2c: E2 08 00 DA 21 80 17 00 00 00 00 00 00 7B [00:01:00]Write i2c OK [00:01:00]MH_I2C_Read... [00:01:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 DA 21 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 [00:01:01]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:01]wFMCommunicate OK [00:01:01]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:01]SAM_PROTO_ProcessDocument remain to read = 517 [00:01:01]wFMCommunicate request_size=4 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 17 00 00 [00:01:01]Write to MH i2c: E2 08 00 DB 21 80 17 00 00 00 00 00 00 7C [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 DB 21 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 [00:01:01]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:01:01]wFMCommunicate OK [00:01:01]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:01]SAM_PROTO_ProcessDocument remain to read = 267 [00:01:01]wFMCommunicate request_size=4 [00:01:01]MH_SAM_APDU [00:01:01]CAPDU: 80 17 00 00 [00:01:01]Write to MH i2c: E2 08 00 DC 21 80 17 00 00 00 00 00 00 7D [00:01:01]Write i2c OK [00:01:01]MH_I2C_Read... [00:01:01]OFD Sender: No OFD packet to send [00:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:01]Read from MH i2c: E2 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 [00:01:01]MH_I2C_Read... [00:01:01]Read from MH i2c: E2 FD 00 DC 21 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 [00:01:02]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:02]wFMCommunicate OK [00:01:02]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:01:02]SAM_PROTO_ProcessDocument remain to read = 17 [00:01:02]wFMCommunicate request_size=4 [00:01:02]MH_SAM_APDU [00:01:02]CAPDU: 80 17 00 00 [00:01:02]Write to MH i2c: E2 08 00 DD 21 80 17 00 00 00 00 00 00 7E [00:01:02]Write i2c OK [00:01:02]MH_I2C_Read... [00:01:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:01:02]Read from MH i2c: E2 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 14 00 [00:01:02]MH_I2C_Read... [00:01:02]Read from MH i2c: E2 14 00 DD 21 00 01 00 06 F7 03 00 00 35 04 06 00 8A 4E C2 17 ED 3E 90 00 9F [00:01:02]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 8A 4E C2 17 ED 3E 90 00 [00:01:02]wFMCommunicate OK [00:01:02]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:01:02]SAM_PROTO_ProcessDocument done [00:01:02]1209 (1) - 1.0 - номер версии ФФД [00:01:02]1041 (16) - 0000000000965420 - номер ФМ [00:01:02]1040 (4) - 24295 - номер ФД [00:01:02]1038 (4) - 460 - номер смены [00:01:02]1118 (4) - 64 - количество кассовых чеков за смену [00:01:02]1111 (4) - 66 - общее количество ФД за смену [00:01:02]1194 (1194) - счетчики итогов смены [00:01:02] 1134 (4) - 64 - количество чеков со всеми признаками расчетов [00:01:02] 1129 (155) - счетчики операций «приход» [00:01:02] 1135 (4) - 64 - количество чеков по признаку расчетов [00:01:02] 1201 (3) - 9770.00 - общая итоговая сумма в чеках [00:01:02] 1136 (3) - 7994.00 - итоговая сумма в чеках наличными [00:01:02] 1138 (3) - 1776.00 - итоговая сумма в чеках безналичными [00:01:02] 1024 (122) - суммы налогов [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 0% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1006 (12) - суммы НДС [00:01:02] 1010 (1) - 12% - код ставки НДС [00:01:02] 1011 (3) - 1037.45 - сумма НДС по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (11) - суммы НСП [00:01:02] 1014 (1) - 1% - код ставки НСП [00:01:02] 1015 (2) - 86.41 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 2% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 3% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 5% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1130 (141) - счетчики операций «возврат прихода» [00:01:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:02] 1024 (117) - суммы налогов [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 0% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 12% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 2% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 3% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 5% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1131 (141) - счетчики операций «расход» [00:01:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:02] 1024 (117) - суммы налогов [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 0% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 12% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 2% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 3% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 5% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1132 (141) - счетчики операций «возврат расхода» [00:01:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:01:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:01:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:01:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:01:02] 1024 (117) - суммы налогов [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 0% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1006 (9) - суммы НДС [00:01:02] 1010 (1) - 12% - код ставки НДС [00:01:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 2% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 3% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 5% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 0,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1007 (9) - суммы НСП [00:01:02] 1014 (1) - 1,50% - код ставки НСП [00:01:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:01:02] 1133 (588) - - счетчики коррекции - не используются [00:01:02]1077 (6) - 152070868430142 - ФПД [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1209 (04B9) [00:01:02]Malloc new data [00:01:02]Processing tag 1041 (0411) [00:01:02]Processing tag 1040 (0410) [00:01:02]Malloc new data [00:01:02]Processing tag 1038 (040E) [00:01:02]Malloc new data [00:01:02]Processing tag 1118 (045E) [00:01:02]Malloc new data [00:01:02]Processing tag 1111 (0457) [00:01:02]Malloc new data [00:01:02]Processing tag 1194 (04AA) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1134 (046E) [00:01:02]Malloc new data [00:01:02]Processing tag 1129 (0469) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1135 (046F) [00:01:02]Malloc new data [00:01:02]Processing tag 1201 (04B1) [00:01:02]Malloc new data [00:01:02]Processing tag 1136 (0470) [00:01:02]Malloc new data [00:01:02]Processing tag 1138 (0472) [00:01:02]Malloc new data [00:01:02]Processing tag 1024 (0400) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1006 (03EE) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1010 (03F2) [00:01:02]Malloc new data [00:01:02]Processing tag 1011 (03F3) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1006 (03EE) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1010 (03F2) [00:01:02]Malloc new data [00:01:02]Processing tag 1011 (03F3) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]SetTLVBufToDocument err=0 [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1130 (046A) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1135 (046F) [00:01:02]Malloc new data [00:01:02]Processing tag 1201 (04B1) [00:01:02]Malloc new data [00:01:02]Processing tag 1136 (0470) [00:01:02]Malloc new data [00:01:02]Processing tag 1138 (0472) [00:01:02]Malloc new data [00:01:02]Processing tag 1024 (0400) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1006 (03EE) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1010 (03F2) [00:01:02]Malloc new data [00:01:02]Processing tag 1011 (03F3) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1006 (03EE) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1010 (03F2) [00:01:02]Malloc new data [00:01:02]Processing tag 1011 (03F3) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1007 (03EF) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1014 (03F6) [00:01:02]Malloc new data [00:01:02]Processing tag 1015 (03F7) [00:01:02]Malloc new data [00:01:02]SetTLVBufToDocument err=0 [00:01:02]SetTLVBufToDocument err=0 [00:01:02]SetTLVBufToDocument err=0 [00:01:02]Processing tag 1131 (046B) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1135 (046F) [00:01:02]Malloc new data [00:01:02]Processing tag 1201 (04B1) [00:01:02]Malloc new data [00:01:02]Processing tag 1136 (0470) [00:01:02]Malloc new data [00:01:02]Processing tag 1138 (0472) [00:01:02]Malloc new data [00:01:02]Processing tag 1024 (0400) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:02]Processing tag 1006 (03EE) [00:01:02]Load OK [00:01:02]SetTLVBufToDocument [00:01:03]Processing tag 1010 (03F2) [00:01:03]Malloc new data [00:01:03]Processing tag 1011 (03F3) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1006 (03EE) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1010 (03F2) [00:01:03]Malloc new data [00:01:03]Processing tag 1011 (03F3) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]SetTLVBufToDocument err=0 [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1132 (046C) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1135 (046F) [00:01:03]Malloc new data [00:01:03]Processing tag 1201 (04B1) [00:01:03]Malloc new data [00:01:03]Processing tag 1136 (0470) [00:01:03]Malloc new data [00:01:03]Processing tag 1138 (0472) [00:01:03]Malloc new data [00:01:03]Processing tag 1024 (0400) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1006 (03EE) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1010 (03F2) [00:01:03]Malloc new data [00:01:03]Processing tag 1011 (03F3) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1006 (03EE) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1010 (03F2) [00:01:03]Malloc new data [00:01:03]Processing tag 1011 (03F3) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1007 (03EF) [00:01:03]Load OK [00:01:03]SetTLVBufToDocument [00:01:03]Processing tag 1014 (03F6) [00:01:03]Malloc new data [00:01:03]Processing tag 1015 (03F7) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]SetTLVBufToDocument err=0 [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1133 (046D) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Processing tag 1077 (0435) [00:01:03]Malloc new data [00:01:03]SetTLVBufToDocument err=0 [00:01:03]Malloc new data [00:01:03]SAM_PROTO_GetFMData [00:01:03]wFMCommunicate request_size=4 [00:01:03]MH_SAM_APDU [00:01:03]CAPDU: 80 13 03 00 [00:01:03]Write to MH i2c: E2 08 00 DE 21 80 13 03 00 00 00 00 00 7E [00:01:03]Write i2c OK [00:01:03]MH_I2C_Read... [00:01:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:03]Read from MH i2c: E2 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 FD 00 [00:01:03]MH_I2C_Read... [00:01:03]Read from MH i2c: E2 FD 00 DE 21 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 81 [00:01:03]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 17 00 00 [00:01:04]Write to MH i2c: E2 08 00 DF 21 80 17 00 00 00 00 00 00 80 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 FD 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 FD 00 DF 21 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 61 [00:01:04]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:01:04]wFMCommunicate OK [00:01:04]wFMCommunicate request_size=4 [00:01:04]MH_SAM_APDU [00:01:04]CAPDU: 80 17 00 00 [00:01:04]Write to MH i2c: E2 08 00 E0 21 80 17 00 00 00 00 00 00 81 [00:01:04]Write i2c OK [00:01:04]MH_I2C_Read... [00:01:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:04]Read from MH i2c: E2 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 FD 00 [00:01:04]MH_I2C_Read... [00:01:04]Read from MH i2c: E2 FD 00 E0 21 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 96 [00:01:04]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 E1 21 80 17 00 00 00 00 00 00 82 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 FD 00 E1 21 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 FA [00:01:05]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:01:05]wFMCommunicate OK [00:01:05]wFMCommunicate request_size=4 [00:01:05]MH_SAM_APDU [00:01:05]CAPDU: 80 17 00 00 [00:01:05]Write to MH i2c: E2 08 00 E2 21 80 17 00 00 00 00 00 00 83 [00:01:05]Write i2c OK [00:01:05]MH_I2C_Read... [00:01:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:01:05]Read from MH i2c: E2 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 E1 00 [00:01:05]MH_I2C_Read... [00:01:05]Read from MH i2c: E2 E1 00 E2 21 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 71 [00:01:06]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:06]wFMCommunicate OK [00:01:06]SAM_PROTO_GetFMData done [00:01:06]Malloc new data [00:01:06]Malloc new data [00:01:06]Malloc new data [00:01:06]Malloc new data [00:01:06]KKMLoadAndSignCloseShiftData err=0 [00:01:06]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Калмаева Г. 21.10.2024 00:01 Смена: 460 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Чеков за смену: 64 ФД за смену: 66 Всего чеков: 64 ИТОГИ ПРИХОД Чеков: 64 Общий итог: 9770.00 Итого наличными: 7994.00 Итого безнал.: 1776.00 НДС 0% : 0.00 НДС 12% : 1037.45 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 86.41 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 7994.00 НС Приход: 7374799.10 НС Возвр.Прихода: 280982.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 24295 ФМ: 0000000000965420 ФПД: 152070868430142 [00:01:06]StoreToDocumentArchive [00:01:06]shift 460 fd 24295 [00:01:06]save to /storage/0460/doc_00024295 [00:01:06]save last doc name /storage/0460/doc_00024295 to /storage/kkm_last_doc_name [00:01:06]save OK [00:01:06]Clear old archive folders... [00:01:06]Remove dir /storage/0266 [00:01:06]opendir ok [00:01:06]file . [00:01:06]file .. [00:01:06]file doc_1729468810 [00:01:06]remove file /storage/0266/doc_1729468810 [00:01:06]remove dir /storage/0266 [00:01:06]NVStorageSaveData kkm_registers [00:01:06]File name is /storage/kkm_registers [00:01:06]Write 24 bytes [00:01:06]NVStorageSaveData done [00:01:06]NVStorageSaveData kkm_registers [00:01:06]File name is /storage/kkm_registers [00:01:06]Write 24 bytes [00:01:06]NVStorageSaveData done [00:01:06]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [00:01:06]tlvbuf is 020FBC90 [00:01:06]SAM_PROTO_ClearQueue [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 09 00 00 [00:01:06]Write to MH i2c: E2 08 00 E3 21 80 09 00 00 00 00 00 00 76 [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 E3 21 00 90 00 78 [00:01:06]RAPDU: 90 00 [00:01:06]wFMCommunicate OK [00:01:06]SAM_PROTO_ClearQueue done [00:01:06]KKMCreateOFDPacket [00:01:06]OFDProtocolAddRootSTLVToBuf [00:01:06]FM_MakeSignedData [00:01:06]FM_MakeSignedData [00:01:06]SAM_PROTO_SignData [00:01:06]wFMCommunicate request_size=4 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 0D 01 02 [00:01:06]Write to MH i2c: E2 08 00 E4 21 80 0D 01 02 00 00 00 00 7E [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 E4 21 00 90 00 79 [00:01:06]RAPDU: 90 00 [00:01:06]wFMCommunicate OK [00:01:06]wFMCommunicate request_size=255 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 0D 02 02 FA 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 C3 99 15 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 [00:01:06]Write to MH i2c: E2 02 01 E5 21 80 0D 02 02 FA 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 C3 99 15 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 00 00 EF [00:01:06]Write i2c OK [00:01:06]MH_I2C_Read... [00:01:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:06]Read from MH i2c: E2 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 [00:01:06]MH_I2C_Read... [00:01:06]Read from MH i2c: E2 03 00 E5 21 00 90 00 7A [00:01:06]RAPDU: 90 00 [00:01:06]wFMCommunicate OK [00:01:06]wFMCommunicate request_size=255 [00:01:06]MH_SAM_APDU [00:01:06]CAPDU: 80 0D 02 02 FA 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 21 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 OFD Sender: No OFD packet to send [00:01:07]00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 [00:01:07]Write to MH i2c: E2 02 01 E6 21 80 0D 02 02 FA 00 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C1 21 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 00 00 C5 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:07]Read from MH i2c: E2 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 03 00 [00:01:07]MH_I2C_Read... [00:01:07]Read from MH i2c: E2 03 00 E6 21 00 90 00 7B [00:01:07]RAPDU: 90 00 [00:01:07]wFMCommunicate OK [00:01:07]wFMCommunicate request_size=255 [00:01:07]MH_SAM_APDU [00:01:07]CAPDU: 80 0D 02 02 FA 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 [00:01:07]Write to MH i2c: E2 02 01 E7 21 80 0D 02 02 FA 00 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 00 00 51 [00:01:07]Write i2c OK [00:01:07]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 03 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 03 00 E7 21 00 90 00 7C [00:01:08]RAPDU: 90 00 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=255 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 0D 02 02 FA 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 [00:01:08]Write to MH i2c: E2 02 01 E8 21 80 0D 02 02 FA 00 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 00 00 46 [00:01:08]Write i2c OK [00:01:08]MH_I2C_Read... [00:01:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:08]Read from MH i2c: E2 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 03 00 [00:01:08]MH_I2C_Read... [00:01:08]Read from MH i2c: E2 03 00 E8 21 00 90 00 7D [00:01:08]RAPDU: 90 00 [00:01:08]wFMCommunicate OK [00:01:08]wFMCommunicate request_size=255 [00:01:08]MH_SAM_APDU [00:01:08]CAPDU: 80 0D 02 02 FA 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 [00:01:08]Write to MH i2c: E2 02 01 E9 21 80 0D 02 02 FA 00 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 00 00 17 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 03 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 03 00 E9 21 00 90 00 7E [00:01:09]RAPDU: 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=138 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 0D 02 02 85 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 E7 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 8A 4E C2 17 ED 3E [00:01:09]Write to MH i2c: E2 8D 00 EA 21 80 0D 02 02 85 00 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 10 04 04 00 E7 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 8A 4E C2 17 ED 3E 00 00 DA [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 03 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 03 00 EA 21 00 90 00 7F [00:01:09]RAPDU: 90 00 [00:01:09]wFMCommunicate OK [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 0D 03 02 [00:01:09]Write to MH i2c: E2 08 00 EB 21 80 0D 03 02 00 00 00 00 87 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 0B 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 0B 00 EB 21 00 7F 5B 46 E6 F8 28 6F 20 90 00 3D [00:01:09]RAPDU: 7F 5B 46 E6 F8 28 6F 20 90 00 [00:01:09]wFMCommunicate OK [00:01:09]SAM_PROTO_SignData done [00:01:09]FM_MakeSignedData done [00:01:09]CreateOFDProtocolMessage [00:01:09]wFMCommunicate request_size=4 [00:01:09]MH_SAM_APDU [00:01:09]CAPDU: 80 11 00 00 [00:01:09]Write to MH i2c: E2 08 00 EC 21 80 11 00 00 00 00 00 00 87 [00:01:09]Write i2c OK [00:01:09]MH_I2C_Read... [00:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:09]Read from MH i2c: E2 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 17 00 [00:01:09]MH_I2C_Read... [00:01:09]Read from MH i2c: E2 17 00 EC 21 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D4 [00:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:01:09]wFMCommunicate OK [00:01:09]CreateOFDProtocolMessage done [00:01:09]OFDSenderStorePacket 24295 [00:01:09]StoreOFDPacket docnum=24295 [00:01:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 77 05 00 00 86 77 6F 05 20 ED 5A 05 01 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 C3 99 15 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 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 E7 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 8A 4E C2 17 ED 3E 7F 5B 46 E6 F8 28 6F 20 [00:01:10]CheckFolder [00:01:10]dirname=/storage/ofd_packets [00:01:10]CheckFolder done [00:01:10]ProducePacketName [00:01:10]name=ofd_packets/00024295 [00:01:10]NVStorageSaveData ofd_packets/00024295 [00:01:10]File name is /storage/ofd_packets/00024295 [00:01:10]Write 1429 bytes [00:01:10]NVStorageSaveData done [00:01:10]OFDSenderStorePacket done [00:01:10]KKMCreateOFDPacket done [00:01:10]NVStorageSaveData kkm_last_timestamp [00:01:10]File name is /storage/kkm_last_timestamp [00:01:10]Write 4 bytes [00:01:10]NVStorageSaveData done [00:01:10]ExternCall_PrintAddStr [00:01:10]wPrintStart [00:01:10]Write to MH i2c: 01 00 00 ED 21 0E [00:01:10]Write i2c OK [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: 01 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: 01 07 00 [00:01:10]MH_I2C_Read... [00:01:10]Read from MH i2c: 01 07 00 ED 21 00 00 00 00 00 FF 0F 23 [00:01:10]RasterBufferAndPrint [00:01:10]line Отчет о закрытии смены [00:01:10]line ФФД: 1.0 [00:01:10]line ИНН: 02508201610067 [00:01:10]line Кассир: Калмаева Г. [00:01:10]line 21.10.2024 00:01 [00:01:10]line Смена: 460 [00:01:10]line РНМ: 0000000000098120 [00:01:10]line ЗНМ: 0300000166 [00:01:10]line СНО: Общий режим [00:01:10]line Чеков за смену: 64 [00:01:10]line ФД за смену: 66 [00:01:10]line Всего чеков: 64 [00:01:10]line ИТОГИ ПРИХОД [00:01:10]line Чеков: 64 [00:01:10]line Общий итог: 9770.00 [00:01:10]line Итого наличными: 7994.00 [00:01:10]line Итого безнал.: 1776.00 [00:01:10]line НДС 0% : 0.00 [00:01:10]line НДС 12% : 1037.45 [00:01:10]line НСП 0% : 0.00 [00:01:10]line НСП 1,50% : 0.00 [00:01:10]line НСП 0,50% : 0.00 [00:01:10]line НСП 5% : 0.00 [00:01:10]line НСП 3% : 0.00 [00:01:10]line НСП 2% : 0.00 [00:01:10]line НСП 1% : 86.41 [00:01:10]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:01:10]line Чеков: 0 [00:01:10]line Общий итог: 0.00 [00:01:10]line Итого наличными: 0.00 [00:01:10]line Итого безнал.: 0.00 [00:01:10]OFD Sender: Processing packet 24295 [packets to send 5, broken 4] [00:01:10]line НДС 0% : 0.00 [00:01:10]ProducePacketName [00:01:10]line НДС 12% : 0.00 [00:01:10]name=ofd_packets/00024295 [00:01:10]line НСП 0% : 0.00 [00:01:10]OFD Sender: To server: pG, [00:01:10]line НСП 1,50% : 0.00 [00:01:10]CommunicateWithHost lk.salyk.kg:30040 [00:01:10]line НСП 0,50% : 0.00 [00:01:10]line НСП 5% : 0.00 [00:01:10]line НСП 3% : 0.00 [00:01:10]line НСП 2% : 0.00 [00:01:10]line НСП 1% : 0.00 [00:01:10]line ИТОГИ РАСХОД [00:01:10]line Чеков: 0 [00:01:10]line Общий итог: 0.00 [00:01:10]line Итого наличными: 0.00 [00:01:10]line Итого безнал.: 0.00 [00:01:10]line НДС 0% : 0.00 [00:01:10]line НДС 12% : 0.00 [00:01:10]line НСП 0% : 0.00 [00:01:10]line НСП 1,50% : 0.00 [00:01:10]line НСП 0,50% : 0.00 [00:01:10]line НСП 5% : 0.00 [00:01:10]line НСП 3% : 0.00 [00:01:10]line НСП 2% : 0.00 [00:01:10]ConnectInit lk.salyk.kg [00:01:10]line НСП 1% : 0.00 [00:01:10]line ИТОГИ ВОЗВРАТ РАСХОДА [00:01:10]line Чеков: 0 [00:01:10]line Общий итог: 0.00 [00:01:10]line Итого наличными: 0.00 [00:01:10]line Итого безнал.: 0.00 [00:01:10]line НДС 0% : 0.00 [00:01:10]line НДС 12% : 0.00 [00:01:10]line НСП 0% : 0.00 [00:01:10]line НСП 1,50% : 0.00 [00:01:10]line НСП 0,50% : 0.00 [00:01:10]line НСП 5% : 0.00 [00:01:10]line НСП 3% : 0.00 [00:01:10]line НСП 2% : 0.00 [00:01:10]line НСП 1% : 0.00 [00:01:10]line Сумма внесений: 0.00 [00:01:10]line Сумма выплат: 0.00 [00:01:10]line Нал. в кассе: 7994.00 [00:01:10]line НС Приход: 7374799.10 [00:01:10]line НС Возвр.Прихода: 280982.00 [00:01:10]line НС Расход: 0.00 [00:01:10]line НС Возвр.Расхода: 0.00 [00:01:10]line ФД: 24295 [00:01:10]line ФМ: 0000000000965420 [00:01:10]line ФПД: 152070868430142 [00:01:10]written 0, free lines is 4095 [00:01:10]Connected sock=10 [00:01:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 77 05 00 00 86 77 6F 05 20 ED 5A 05 01 00 05 00 63 05 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 C3 99 15 67 0E 04 04 00 CC 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 AA 04 D5 04 6E 04 04 00 40 00 00 00 69 04 A2 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 81 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 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 Write to MH i2c: 03 01 00 00 00 00 EF 3D 03 22 09 5F 00 [00:01:11]F6 03 Write i2c OK [00:01:11]01 MH_I2C_Read... [00:01:11]00 Read from MH i2c: 02 01 F7 [00:01:11]03 MH_I2C_Read... [00:01:11]00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF Read from MH i2c: 03 01 09 07 00 00 F6 [00:01:11]03 MH_I2C_Read... [00:01:11]01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 Read from MH i2c: 00 01 00 07 EF 00 03 3D 09 22 00 00 F6 00 03 00 01 00 00 00 06 39 F7 0C 03 AB 00 [00:01:11]00 RasterBufferAndPrint [00:01:11]7A line [00:01:11]04 line [00:01:11]8D line [00:01:11]00 line [00:01:11]6F line [00:01:11]04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 written 0, free lines is 3255 [00:01:11]75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE process_action close_shift done [00:01:11]requested_data is exist [00:01:11]03 produce_requested_data [00:01:11]09 requested_item fd.num is exist - process it [00:01:11]00 SAM_PROTO_GetFieldsCounters [00:01:11]F2 wFMCommunicate request_size=4 [00:01:11]03 MH_SAM_APDU [00:01:11]01 CAPDU: 00 80 01 13 F3 00 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 00 [00:01:11]EF Write to MH i2c: 03 E2 09 08 00 00 44 F6 22 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 80 02 13 F7 00 03 00 00 00 00 00 EF 00 03 00 09 E2 00 [00:01:11]F6 03 01 00 03 F7 03 00 00 EF 03 Write i2c OK [00:01:11]09 MH_I2C_Read... [00:01:11]00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 Read from MH i2c: 00 E2 05 [00:01:11]F7 MH_I2C_Read... [00:01:11]03 00 00 EF 03 09 00 Read from MH i2c: F6 E2 03 62 01 00 00 [00:01:11]06 MH_I2C_Read... [00:01:11]F7 03 00 00 10 04 04 00 E7 5E 00 00 11 04 10 00 30 30 30 30 Read from MH i2c: 30 E2 30 62 30 00 30 44 30 22 30 00 39 5D 36 00 35 B9 34 04 32 01 30 00 35 01 04 11 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:11]04 06 10 00 00 30 8A 30 4E 30 C2 30 17 30 ED 30 3E 30 7F 30 5B 30 46 30 E6 39 F8 36 28 35 6F 34 20 32 [00:01:11]30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 CB [00:01:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:11]wFMCommunicate OK [00:01:11]SAM_PROTO_GetFieldsCounters done [00:01:11]requested_item shift.num is exist - process it [00:01:11]requested_item shift.opened is exist - process it [00:01:11]req_shift_opened [00:01:11]FM_GetShiftState [00:01:11]SAM_PROTO_GetShiftState [00:01:11]wFMCommunicate request_size=4 [00:01:11]MH_SAM_APDU [00:01:11]CAPDU: 80 13 01 00 [00:01:11]Write to MH i2c: E2 08 00 45 22 80 13 01 00 00 00 00 00 E4 [00:01:11]Write i2c OK [00:01:11]MH_I2C_Read... [00:01:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 0D 25 47 00 5F 86 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 Read from MH i2c: 39 E2 33 [00:01:12]36 34 33 34 36 31 32 33 34 11 MH_I2C_Read... [00:01:12]04 Read from MH i2c: 10 E2 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:12]0E 00 00 30 [00:01:12]30 MH_I2C_Read... [00:01:12]30 Read from MH i2c: 30 E2 30 0E 30 00 30 45 30 22 30 00 30 09 39 00 36 00 35 00 34 00 32 00 30 00 10 00 04 00 04 00 00 00 E7 90 5E 00 00 EF 00 [00:01:12]F4 RAPDU: 03 09 04 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:12]wFMCommunicate OK [00:01:12]SAM_PROTO_GetShiftState done [00:01:12]FM_GetShiftState done [00:01:12]req_shift_opened done [00:01:12]requested_item shift.open_date is exist - process it [00:01:12]req_shift_open_date [00:01:12]FM_GetShiftState [00:01:12]SAM_PROTO_GetShiftState [00:01:12]wFMCommunicate request_size=4 [00:01:12]MH_SAM_APDU [00:01:12]CAPDU: 80 13 01 00 [00:01:12]Write to MH i2c: E2 08 00 46 22 80 13 01 00 00 00 00 00 E5 [00:01:12]00 64 45 15 67 B6 04 01 00 00 F4 E8 AA BD EA BF 8F 18 [00:01:12]CommunicateWithHost err = 0 [00:01:12]CheckOFDResponse [00:01:12]1017 (14) - 77093643461234 [00:01:12]1041 (16) - 0000000000965420 [00:01:12]1040 (4) - 24295 [00:01:12]1012 (4) - 20.10.2024 18:01 [00:01:12]1206 (1) - 0 [00:01:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:12]OFD Sender: Remove packet 24295 [00:01:12]ProducePacketName [00:01:12]name=ofd_packets/00024295 [00:01:12]NVStorageDeleteData [00:01:12]Write i2c OK [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 0E 00 [00:01:12]MH_I2C_Read... [00:01:12]Read from MH i2c: E2 0E 00 46 22 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F0 [00:01:12]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:01:12]wFMCommunicate OK [00:01:12]SAM_PROTO_GetShiftState done [00:01:12]FM_GetShiftState done [00:01:12]req_shift_open_date done [00:01:12]produce_requested_data done [00:01:12]produce_requested_data return {"fd.num":24295,"shift.num":460,"shift.opened":0,"shift.open_date":0} [00:01:12]process_action_free close_shift [00:01:12]json_value_free [00:01:12]json_value_free done [00:01:12]process_json_proto returns [00:01:12]Send response to host [00:01:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24295,"shift.num":460,"shift.opened":0,"shift.open_date":0}}} [00:01:12]free response buf [00:01:12]execute_script done [00:01:12]execute_script returns [00:01:12]free content buf [00:01:12]Sock 7.Close socket [00:01:12]Sock 7.Thread stoped [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:52]OFD Sender: No OFD packet to send [00:01:57]OFD Sender: No OFD packet to send [00:02:02]OFD Sender: No OFD packet to send [00:02:07]OFD Sender: No OFD packet to send [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [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:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:48]accept exits with 9 [00:06:48]New connection [00:06:48]New thread 3067100516 created [00:06:48]Thread 3067243876 joined [00:06:48]Waiting for new connection... [00:06:48] Sock 9.Parse request [00:06:48]Sock 9.Check first char [00:06:48]Sock 9.First char is OK [00:06:48]request: POST /json_proto HTTP/1.0 [00:06:48]Method: POST [00:06:48]URL: /json_proto [00:06:48]Method is POST - this is cgi request [00:06:48]url: /json_proto [00:06:48]query_string will be loaded in cgi processing [00:06:48]execute_cgi json_proto POST (null) [00:06:48]execute_cgi path=json_proto method=POST [00:06:48]POST find Content-Length [00:06:48]Host: 172.17.50.4:8080 [00:06:48]Content-Length: 215 [00:06:48]Content-Type: application/json [00:06:48] [00:06:48]POST finish read [00:06:48]Found Content-Length = 215 [00:06:48]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:06:48]execute_script... [00:06:48]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:06:48]POST & json_proto [00:06:48]process_json_proto [00:06:48]json parsed OK: [00:06:48]protocol is kg_v1.0 [00:06:48]action value=get_value [00:06:48]process_action get_value [00:06:48]cmd_get_value [00:06:48]process_action get_value done [00:06:48]requested_data is exist [00:06:48]produce_requested_data [00:06:48]requested_item kkm.sn is exist - process it [00:06:48]requested_item kkm.ver is exist - process it [00:06:48]requested_item fm.sn is exist - process it [00:06:48]wFMCommunicate request_size=4 [00:06:48]MH_SAM_APDU [00:06:48]CAPDU: 80 11 00 00 [00:06:48]Write to MH i2c: E2 08 00 47 22 80 11 00 00 00 00 00 00 E3 [00:06:48]Write i2c OK [00:06:48]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 17 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 17 00 47 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 30 [00:06:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:06:49]wFMCommunicate OK [00:06:49]requested_item fd.num is exist - process it [00:06:49]SAM_PROTO_GetFieldsCounters [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 13 00 00 [00:06:49]Write to MH i2c: E2 08 00 48 22 80 13 00 00 00 00 00 00 E6 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 62 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 62 00 48 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 CF [00:06:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E7 5E 00 00 0E 04 04 00 CC 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:49]wFMCommunicate OK [00:06:49]SAM_PROTO_GetFieldsCounters done [00:06:49]requested_item shift.num is exist - process it [00:06:49]requested_item shift.opened is exist - process it [00:06:49]req_shift_opened [00:06:49]FM_GetShiftState [00:06:49]SAM_PROTO_GetShiftState [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 13 01 00 [00:06:49]Write to MH i2c: E2 08 00 49 22 80 13 01 00 00 00 00 00 E8 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 0E 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 0E 00 49 22 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F3 [00:06:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:49]wFMCommunicate OK [00:06:49]SAM_PROTO_GetShiftState done [00:06:49]FM_GetShiftState done [00:06:49]req_shift_opened done [00:06:49]requested_item shift.open_date is exist - process it [00:06:49]req_shift_open_date [00:06:49]FM_GetShiftState [00:06:49]SAM_PROTO_GetShiftState [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 13 01 00 [00:06:49]Write to MH i2c: E2 08 00 4A 22 80 13 01 00 00 00 00 00 E9 [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:49]Read from MH i2c: E2 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 0E 00 [00:06:49]MH_I2C_Read... [00:06:49]Read from MH i2c: E2 0E 00 4A 22 00 09 00 00 00 00 00 00 00 00 00 00 90 00 F4 [00:06:49]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:49]wFMCommunicate OK [00:06:49]SAM_PROTO_GetShiftState done [00:06:49]FM_GetShiftState done [00:06:49]req_shift_open_date done [00:06:49]produce_requested_data done [00:06:49]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24295,"shift.num":460,"shift.opened":0,"shift.open_date":0} [00:06:49]process_action_free get_value [00:06:49]json_value_free [00:06:49]json_value_free done [00:06:49]process_json_proto returns [00:06:49]Send response to host [00:06:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24295,"shift.num":460,"shift.opened":0,"shift.open_date":0}}} [00:06:49]free response buf [00:06:49]execute_script done [00:06:49]execute_script returns [00:06:49]free content buf [00:06:49]Sock 9.Close socket [00:06:49]Sock 9.Thread stoped [00:06:49]accept exits with 7 [00:06:49]New connection [00:06:49]New thread 3067243876 created [00:06:49]Thread 3067100516 joined [00:06:49]Waiting for new connection... [00:06:49] Sock 7.Parse request [00:06:49]Sock 7.Check first char [00:06:49]Sock 7.First char is OK [00:06:49]request: POST /json_proto HTTP/1.0 [00:06:49]Method: POST [00:06:49]URL: /json_proto [00:06:49]Method is POST - this is cgi request [00:06:49]url: /json_proto [00:06:49]query_string will be loaded in cgi processing [00:06:49]execute_cgi json_proto POST (null) [00:06:49]execute_cgi path=json_proto method=POST [00:06:49]POST find Content-Length [00:06:49]Host: 172.17.50.4:8080 [00:06:49]Content-Length: 331 [00:06:49]Content-Type: application/json [00:06:49] [00:06:49]POST finish read [00:06:49]Found Content-Length = 331 [00:06:49]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:06:49]execute_script... [00:06:49]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:06:49]POST & json_proto [00:06:49]process_json_proto [00:06:49]json parsed OK: [00:06:49]protocol is kg_v1.0 [00:06:49]action value=get_value [00:06:49]process_action get_value [00:06:49]cmd_get_value [00:06:49]process_action get_value done [00:06:49]requested_data is exist [00:06:49]produce_requested_data [00:06:49]requested_item fm.sale.total is exist - process it [00:06:49]SAM_PROTO_GetFMData [00:06:49]wFMCommunicate request_size=4 [00:06:49]MH_SAM_APDU [00:06:49]CAPDU: 80 13 03 00 [00:06:49]Write to MH i2c: E2 08 00 4B 22 80 13 03 00 00 00 00 00 EC [00:06:49]Write i2c OK [00:06:49]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 4B 22 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 EF [00:06:50]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [00:06:50]wFMCommunicate OK [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 17 00 00 [00:06:50]Write to MH i2c: E2 08 00 4C 22 80 17 00 00 00 00 00 00 EE [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 4C 22 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 CF [00:06:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:50]wFMCommunicate OK [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 17 00 00 [00:06:50]Write to MH i2c: E2 08 00 4D 22 80 17 00 00 00 00 00 00 EF [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 4D 22 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 04 [00:06:50]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:06:50]wFMCommunicate OK [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 17 00 00 [00:06:50]Write to MH i2c: E2 08 00 4E 22 80 17 00 00 00 00 00 00 F0 [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:50]Read from MH i2c: E2 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 [00:06:50]MH_I2C_Read... [00:06:50]Read from MH i2c: E2 FD 00 4E 22 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 68 [00:06:50]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:06:50]wFMCommunicate OK [00:06:50]wFMCommunicate request_size=4 [00:06:50]MH_SAM_APDU [00:06:50]CAPDU: 80 17 00 00 [00:06:50]Write to MH i2c: E2 08 00 4F 22 80 17 00 00 00 00 00 00 F1 [00:06:50]Write i2c OK [00:06:50]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 E1 00 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 E1 00 4F 22 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 DF [00:06:51]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:06:51]wFMCommunicate OK [00:06:51]SAM_PROTO_GetFMData done [00:06:51]requested_item fm.sale_refund.total is exist - process it [00:06:51]requested_item fm.buy.total is exist - process it [00:06:51]requested_item shift.sale.total is exist - process it [00:06:51]SAM_PROTO_GetShiftData [00:06:51]wFMCommunicate request_size=4 [00:06:51]MH_SAM_APDU [00:06:51]CAPDU: 80 13 02 00 [00:06:51]Write to MH i2c: E2 08 00 50 22 80 13 02 00 00 00 00 00 F0 [00:06:51]Write i2c OK [00:06:51]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 50 22 00 AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A5 [00:06:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 68 E8 0E 70 04 03 00 A8 32 0C 72 04 03 00 C0 B5 02 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 41 95 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 C1 21 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:06:51]wFMCommunicate OK [00:06:51]wFMCommunicate request_size=4 [00:06:51]MH_SAM_APDU [00:06:51]CAPDU: 80 17 00 00 [00:06:51]Write to MH i2c: E2 08 00 51 22 80 17 00 00 00 00 00 00 F3 [00:06:51]Write i2c OK [00:06:51]MH_I2C_Read... [00:06:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:51]Read from MH i2c: E2 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 [00:06:51]MH_I2C_Read... [00:06:51]Read from MH i2c: E2 FD 00 51 22 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 15 [00:06:51]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:06:51]wFMCommunicate OK [00:06:51]wFMCommunicate request_size=4 [00:06:51]MH_SAM_APDU [00:06:51]CAPDU: 80 17 00 00 [00:06:51]Write to MH i2c: E2 08 00 52 22 80 17 00 00 00 00 00 00 F4 [00:06:51]Write i2c OK [00:06:51]MH_I2C_Read... [00:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:52]Read from MH i2c: E2 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 FD 00 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 FD 00 52 22 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 AB [00:06:52]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:06:52]wFMCommunicate OK [00:06:52]wFMCommunicate request_size=4 [00:06:52]MH_SAM_APDU [00:06:52]CAPDU: 80 17 00 00 [00:06:52]Write to MH i2c: E2 08 00 53 22 80 17 00 00 00 00 00 00 F5 [00:06:52]Write i2c OK [00:06:52]MH_I2C_Read... [00:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:52]Read from MH i2c: E2 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 FD 00 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 FD 00 53 22 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 67 [00:06:52]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:06:52]wFMCommunicate OK [00:06:52]wFMCommunicate request_size=4 [00:06:52]MH_SAM_APDU [00:06:52]CAPDU: 80 17 00 00 [00:06:52]Write to MH i2c: E2 08 00 54 22 80 17 00 00 00 00 00 00 F6 [00:06:52]Write i2c OK [00:06:52]MH_I2C_Read... [00:06:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:06:52]Read from MH i2c: E2 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 CB 00 [00:06:52]MH_I2C_Read... [00:06:52]Read from MH i2c: E2 CB 00 54 22 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 DF [00:06:52]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:06:52]wFMCommunicate OK [00:06:52]SAM_PROTO_GetShiftData done [00:06:52]requested_item shift.sale.total_cash is exist - process it [00:06:52]requested_item shift.sale_refund.total is exist - process it [00:06:52]requested_item shift.sale_refund.total_cash is exist - process it [00:06:52]requested_item shift.buy.total is exist - process it [00:06:52]requested_item shift.buy.total_cash is exist - process it [00:06:52]produce_requested_data done [00:06:52]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:06:52]process_action_free get_value [00:06:52]json_value_free [00:06:52]json_value_free done [00:06:52]process_json_proto returns [00:06:52]Send response to host [00:06:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.00,"fm.buy.total":0.00,"shift.sale.total":9770.00,"shift.sale.total_cash":7994.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:06:52]free response buf [00:06:52]execute_script done [00:06:52]execute_script returns [00:06:52]free content buf [00:06:52]Sock 7.Close socket [00:06:52]Sock 7.Thread stoped [00:06:53]OFD Sender: No OFD packet to send [00:06:55]accept exits with 9 [00:06:55]New connection [00:06:55]New thread 3067100516 created [00:06:55]Thread 3067243876 joined [00:06:55]Waiting for new connection... [00:06:55] Sock 9.Parse request [00:06:55]Sock 9.Check first char [00:06:55]Sock 9.First char is OK [00:06:55]request: POST /json_proto HTTP/1.0 [00:06:55]Method: POST [00:06:55]URL: /json_proto [00:06:55]Method is POST - this is cgi request [00:06:55]url: /json_proto [00:06:55]query_string will be loaded in cgi processing [00:06:55]execute_cgi json_proto POST (null) [00:06:55]execute_cgi path=json_proto method=POST [00:06:55]POST find Content-Length [00:06:55]Host: 172.17.50.4:8080 [00:06:55]Content-Length: 259 [00:06:55]Content-Type: application/json [00:06:55] [00:06:55]POST finish read [00:06:55]Found Content-Length = 259 [00:06:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:55]execute_script... [00:06:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:06:55]POST & json_proto [00:06:55]process_json_proto [00:06:55]json parsed OK: [00:06:55]protocol is kg_v1.0 [00:06:55]action value=open_shift [00:06:55]process_action open_shift [00:06:55]cmd_open_shift [00:06:55]MH_GetDate [00:06:55]Write to MH i2c: F0 00 00 55 22 66 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 09 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 09 00 55 22 00 27 9B 15 67 1D BB 13 67 FF [00:06:55]GetLastDocTimeStamp 1729468867 [00:06:55]current date 1729469223 [00:06:55]FM_GetShiftState [00:06:55]SAM_PROTO_GetShiftState [00:06:55]wFMCommunicate request_size=4 [00:06:55]MH_SAM_APDU [00:06:55]CAPDU: 80 13 01 00 [00:06:55]Write to MH i2c: E2 08 00 56 22 80 13 01 00 00 00 00 00 F5 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:55]Read from MH i2c: E2 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 0E 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 0E 00 56 22 00 09 00 00 00 00 00 00 00 00 00 00 90 00 00 [00:06:55]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:06:55]wFMCommunicate OK [00:06:55]SAM_PROTO_GetShiftState done [00:06:55]FM_GetShiftState done [00:06:55]KKMCreateOpenShiftDocument [00:06:55]Load OK [00:06:55]Malloc new data [00:06:55]MH_GetDate [00:06:55]Write to MH i2c: F0 00 00 57 22 68 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 09 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: F0 09 00 57 22 00 27 9B 15 67 1D BB 13 67 01 [00:06:55]Malloc new data [00:06:55]KKMCreateOpenShiftDocument OK [00:06:55]KKMSetOpenShiftData OK [00:06:55]ProcessDocumentItem done err = 0, tmpTLVsize=209 [00:06:55]tlvbuf is 0215D450 [00:06:55]KKMLoadAndSignOpenShiftData [00:06:55]SAM_PROTO_ProcessDocument [00:06:55]wFMCommunicate request_size=9 [00:06:55]MH_SAM_APDU [00:06:55]CAPDU: 80 15 01 00 04 02 00 D1 00 [00:06:55]Write to MH i2c: E2 0C 00 58 22 80 15 01 00 04 00 02 00 D1 00 00 00 D4 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:06:55]Read from MH i2c: E2 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 58 22 00 90 00 EE [00:06:55]RAPDU: 90 00 [00:06:55]wFMCommunicate OK [00:06:55]wFMCommunicate request_size=23 [00:06:55]MH_SAM_APDU [00:06:55]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:06:55]Write to MH i2c: E2 1A 00 59 22 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 F0 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:55]Read from MH i2c: E2 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 59 22 00 90 00 EF [00:06:55]RAPDU: 90 00 [00:06:55]wFMCommunicate OK [00:06:55]wFMCommunicate request_size=30 [00:06:55]MH_SAM_APDU [00:06:55]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 [00:06:55]Write to MH i2c: E2 21 00 5A 22 80 15 02 00 19 00 FD 03 15 00 D0 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 00 00 FF [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:55]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:55]Read from MH i2c: E2 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 [00:06:55]MH_I2C_Read... [00:06:55]Read from MH i2c: E2 03 00 5A 22 00 90 00 F0 [00:06:55]RAPDU: 90 00 [00:06:55]wFMCommunicate OK [00:06:55]wFMCommunicate request_size=98 [00:06:55]MH_SAM_APDU [00:06:55]CAPDU: 80 15 02 00 5D F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 [00:06:55]Write to MH i2c: E2 65 00 5B 22 80 15 02 00 5D 00 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 00 00 15 [00:06:55]Write i2c OK [00:06:55]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:56]Read from MH i2c: E2 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 5B 22 00 90 00 F1 [00:06:56]RAPDU: 90 00 [00:06:56]wFMCommunicate OK [00:06:56]wFMCommunicate request_size=50 [00:06:56]MH_SAM_APDU [00:06:56]CAPDU: 80 15 02 00 2D A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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:06:56]Write to MH i2c: E2 35 00 5C 22 80 15 02 00 2D 00 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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 7A [00:06:56]Write i2c OK [00:06:56]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:56]Read from MH i2c: E2 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 5C 22 00 90 00 F2 [00:06:56]RAPDU: 90 00 [00:06:56]wFMCommunicate OK [00:06:56]wFMCommunicate request_size=13 [00:06:56]MH_SAM_APDU [00:06:56]CAPDU: 80 15 02 00 08 F4 03 04 00 27 9B 15 67 [00:06:56]Write to MH i2c: E2 10 00 5D 22 80 15 02 00 08 00 F4 03 04 00 27 9B 15 67 00 00 48 [00:06:56]Write i2c OK [00:06:56]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:56]Read from MH i2c: E2 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 5D 22 00 90 00 F3 [00:06:56]RAPDU: 90 00 [00:06:56]wFMCommunicate OK [00:06:56]wFMCommunicate request_size=25 [00:06:56]MH_SAM_APDU [00:06:56]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 [00:06:56]Write to MH i2c: E2 1C 00 5E 22 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 00 00 5D [00:06:56]Write i2c OK [00:06:56]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:06:56]Read from MH i2c: E2 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 03 00 5E 22 00 90 00 F4 [00:06:56]RAPDU: 90 00 [00:06:56]wFMCommunicate OK [00:06:56]wFMCommunicate request_size=4 [00:06:56]MH_SAM_APDU [00:06:56]CAPDU: 80 15 03 00 [00:06:56]Write to MH i2c: E2 08 00 5F 22 80 15 03 00 00 00 00 00 02 [00:06:56]Write i2c OK [00:06:56]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:06:56]Read from MH i2c: E2 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 38 00 [00:06:56]MH_I2C_Read... [00:06:56]Read from MH i2c: E2 38 00 5F 22 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E8 5E 00 00 0E 04 04 00 CD 01 00 00 35 04 06 00 50 58 CB B0 2B 8C 90 00 B6 [00:06:56]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E8 5E 00 00 0E 04 04 00 CD 01 00 00 35 04 06 00 50 58 CB B0 2B 8C 90 00 [00:06:56]wFMCommunicate OK [00:06:56]SAM_PROTO_ProcessDocument answer len = 51 [00:06:56]SAM_PROTO_ProcessDocument done [00:06:56]SetTLVBufToDocument [00:06:56]Processing tag 1209 (04B9) [00:06:56]Malloc new data [00:06:56]Processing tag 1041 (0411) [00:06:56]Processing tag 1040 (0410) [00:06:56]Malloc new data [00:06:56]Processing tag 1038 (040E) [00:06:56]Malloc new data [00:06:56]Processing tag 1077 (0435) [00:06:56]Malloc new data [00:06:56]SetTLVBufToDocument err=0 [00:06:56]KKMLoadAndSignOpenShiftData store KKM data [00:06:56]KKMLoadAndSignOpenShiftData err=0 [00:06:56]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ахмедова У. Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 Место: АЗС № 85 "Партнер Нефть" 21.10.2024 00:07 Смена: 461 РНМ: 0000000000098120 ЗНМ: 0300000166 ФД: 24296 ФМ: 0000000000965420 ФПД: 88342304664460 [00:06:56]StoreToDocumentArchive [00:06:56]shift 461 fd 24296 [00:06:56]Create dir for shift 0461 [00:06:56]save to /storage/0461/doc_00024296 [00:06:56]save last doc name /storage/0461/doc_00024296 to /storage/kkm_last_doc_name [00:06:56]save OK [00:06:56]Clear old archive folders... [00:06:56]Remove dir /storage/0460 [00:06:56]opendir ok [00:06:56]file . [00:06:56]file .. [00:06:56]file doc_00024230 [00:06:56]remove file /storage/0460/doc_00024230 [00:06:56]file doc_00024231 [00:06:56]remove file /storage/0460/doc_00024231 [00:06:56]file doc_00024232 [00:06:56]remove file /storage/0460/doc_00024232 [00:06:56]file doc_00024233 [00:06:56]remove file /storage/0460/doc_00024233 [00:06:56]file doc_00024234 [00:06:56]remove file /storage/0460/doc_00024234 [00:06:56]file doc_00024235 [00:06:56]remove file /storage/0460/doc_00024235 [00:06:56]file doc_00024236 [00:06:56]remove file /storage/0460/doc_00024236 [00:06:56]file doc_00024237 [00:06:56]remove file /storage/0460/doc_00024237 [00:06:56]file doc_00024238 [00:06:56]remove file /storage/0460/doc_00024238 [00:06:56]file doc_00024239 [00:06:56]remove file /storage/0460/doc_00024239 [00:06:56]file doc_00024240 [00:06:56]remove file /storage/0460/doc_00024240 [00:06:56]file doc_00024241 [00:06:56]remove file /storage/0460/doc_00024241 [00:06:56]file doc_00024242 [00:06:56]remove file /storage/0460/doc_00024242 [00:06:56]file doc_00024243 [00:06:56]remove file /storage/0460/doc_00024243 [00:06:56]file doc_00024244 [00:06:56]remove file /storage/0460/doc_00024244 [00:06:56]file doc_00024245 [00:06:56]remove file /storage/0460/doc_00024245 [00:06:56]file doc_00024246 [00:06:56]remove file /storage/0460/doc_00024246 [00:06:56]file doc_00024247 [00:06:56]remove file /storage/0460/doc_00024247 [00:06:56]file doc_00024248 [00:06:56]remove file /storage/0460/doc_00024248 [00:06:56]file doc_00024249 [00:06:56]remove file /storage/0460/doc_00024249 [00:06:56]file doc_00024250 [00:06:56]remove file /storage/0460/doc_00024250 [00:06:56]file doc_00024251 [00:06:56]remove file /storage/0460/doc_00024251 [00:06:56]file doc_00024252 [00:06:56]remove file /storage/0460/doc_00024252 [00:06:56]file doc_00024253 [00:06:56]remove file /storage/0460/doc_00024253 [00:06:56]file doc_00024254 [00:06:56]remove file /storage/0460/doc_00024254 [00:06:56]file doc_00024255 [00:06:56]remove file /storage/0460/doc_00024255 [00:06:56]file doc_00024256 [00:06:56]remove file /storage/0460/doc_00024256 [00:06:56]file doc_00024257 [00:06:56]remove file /storage/0460/doc_00024257 [00:06:56]file doc_00024258 [00:06:56]remove file /storage/0460/doc_00024258 [00:06:56]file doc_00024259 [00:06:56]remove file /storage/0460/doc_00024259 [00:06:56]file doc_00024260 [00:06:56]remove file /storage/0460/doc_00024260 [00:06:56]file doc_00024261 [00:06:56]remove file /storage/0460/doc_00024261 [00:06:56]file doc_00024262 [00:06:56]remove file /storage/0460/doc_00024262 [00:06:56]file doc_00024263 [00:06:56]remove file /storage/0460/doc_00024263 [00:06:56]file doc_00024264 [00:06:56]remove file /storage/0460/doc_00024264 [00:06:56]file doc_00024265 [00:06:56]remove file /storage/0460/doc_00024265 [00:06:56]file doc_00024266 [00:06:56]remove file /storage/0460/doc_00024266 [00:06:56]file doc_00024267 [00:06:56]remove file /storage/0460/doc_00024267 [00:06:56]file doc_00024268 [00:06:56]remove file /storage/0460/doc_00024268 [00:06:56]file doc_00024269 [00:06:56]remove file /storage/0460/doc_00024269 [00:06:56]file doc_00024270 [00:06:56]remove file /storage/0460/doc_00024270 [00:06:56]file doc_00024271 [00:06:56]remove file /storage/0460/doc_00024271 [00:06:56]file doc_00024272 [00:06:56]remove file /storage/0460/doc_00024272 [00:06:56]file doc_00024273 [00:06:56]remove file /storage/0460/doc_00024273 [00:06:56]file doc_00024274 [00:06:56]remove file /storage/0460/doc_00024274 [00:06:56]file doc_00024275 [00:06:56]remove file /storage/0460/doc_00024275 [00:06:56]file doc_00024276 [00:06:56]remove file /storage/0460/doc_00024276 [00:06:56]file doc_00024277 [00:06:56]remove file /storage/0460/doc_00024277 [00:06:56]file doc_00024278 [00:06:56]remove file /storage/0460/doc_00024278 [00:06:56]file doc_00024279 [00:06:56]remove file /storage/0460/doc_00024279 [00:06:56]file doc_00024280 [00:06:56]remove file /storage/0460/doc_00024280 [00:06:56]file doc_00024281 [00:06:56]remove file /storage/0460/doc_00024281 [00:06:56]file doc_00024282 [00:06:56]remove file /storage/0460/doc_00024282 [00:06:56]file doc_00024283 [00:06:56]remove file /storage/0460/doc_00024283 [00:06:56]file doc_00024284 [00:06:56]remove file /storage/0460/doc_00024284 [00:06:56]file doc_00024285 [00:06:56]remove file /storage/0460/doc_00024285 [00:06:56]file doc_00024286 [00:06:56]remove file /storage/0460/doc_00024286 [00:06:56]file doc_00024287 [00:06:56]remove file /storage/0460/doc_00024287 [00:06:56]file doc_00024288 [00:06:56]remove file /storage/0460/doc_00024288 [00:06:56]file doc_00024289 [00:06:56]remove file /storage/0460/doc_00024289 [00:06:56]file doc_00024290 [00:06:56]remove file /storage/0460/doc_00024290 [00:06:56]file doc_00024291 [00:06:56]remove file /storage/0460/doc_00024291 [00:06:56]file doc_00024292 [00:06:56]remove file /storage/0460/doc_00024292 [00:06:56]file doc_00024293 [00:06:56]remove file /storage/0460/doc_00024293 [00:06:56]file doc_00024294 [00:06:56]remove file /storage/0460/doc_00024294 [00:06:56]file doc_00024295 [00:06:56]remove file /storage/0460/doc_00024295 [00:06:56]remove dir /storage/0460 [00:06:56]ProcessDocumentItem done err = 0, tmpTLVsize=260 [00:06:56]tlvbuf is 0214DEC0 [00:06:56]SAM_PROTO_ClearQueue [00:06:56]wFMCommunicate request_size=4 [00:06:56]MH_SAM_APDU [00:06:56]CAPDU: 80 09 00 00 [00:06:56]Write to MH i2c: E2 08 00 60 22 80 09 00 00 00 00 00 00 F4 [00:06:56]Write i2c OK [00:06:56]MH_I2C_Read... [00:06:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 60 22 00 90 00 F6 [00:06:57]RAPDU: 90 00 [00:06:57]wFMCommunicate OK [00:06:57]SAM_PROTO_ClearQueue done [00:06:57]KKMCreateOFDPacket [00:06:57]OFDProtocolAddRootSTLVToBuf [00:06:57]FM_MakeSignedData [00:06:57]FM_MakeSignedData [00:06:57]SAM_PROTO_SignData [00:06:57]wFMCommunicate request_size=4 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 0D 01 02 [00:06:57]Write to MH i2c: E2 08 00 61 22 80 0D 01 02 00 00 00 00 FC [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 61 22 00 90 00 F7 [00:06:57]RAPDU: 90 00 [00:06:57]wFMCommunicate OK [00:06:57]wFMCommunicate request_size=255 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 0D 02 02 FA 02 00 04 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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 27 9B 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [00:06:57]Write to MH i2c: E2 02 01 62 22 80 0D 02 02 FA 00 02 00 04 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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 27 9B 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 FF [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 62 22 00 90 00 F8 [00:06:57]RAPDU: 90 00 [00:06:57]wFMCommunicate OK [00:06:57]wFMCommunicate request_size=19 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 0D 02 02 0E 35 34 32 30 35 04 06 00 50 58 CB B0 2B 8C [00:06:57]Write to MH i2c: E2 16 00 63 22 80 0D 02 02 0E 00 35 34 32 30 35 04 06 00 50 58 CB B0 2B 8C 00 00 FF [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 03 00 63 22 00 90 00 F9 [00:06:57]RAPDU: 90 00 [00:06:57]wFMCommunicate OK [00:06:57]wFMCommunicate request_size=4 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 0D 03 02 [00:06:57]Write to MH i2c: E2 08 00 64 22 80 0D 03 02 00 00 00 00 01 [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 0B 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 0B 00 64 22 00 71 45 04 5B CB A1 2A B8 90 00 65 [00:06:57]RAPDU: 71 45 04 5B CB A1 2A B8 90 00 [00:06:57]wFMCommunicate OK [00:06:57]SAM_PROTO_SignData done [00:06:57]FM_MakeSignedData done [00:06:57]CreateOFDProtocolMessage [00:06:57]wFMCommunicate request_size=4 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 11 00 00 [00:06:57]Write to MH i2c: E2 08 00 65 22 80 11 00 00 00 00 00 00 01 [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 17 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 17 00 65 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4E [00:06:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:06:57]wFMCommunicate OK [00:06:57]CreateOFDProtocolMessage done [00:06:57]OFDSenderStorePacket 24296 [00:06:57]StoreOFDPacket docnum=24296 [00:06:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 18 01 00 00 06 1E 10 01 38 07 5A 02 01 00 02 00 04 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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 27 9B 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 50 58 CB B0 2B 8C 71 45 04 5B CB A1 2A B8 [00:06:57]CheckFolder [00:06:57]dirname=/storage/ofd_packets [00:06:57]CheckFolder done [00:06:57]ProducePacketName [00:06:57]name=ofd_packets/00024296 [00:06:57]NVStorageSaveData ofd_packets/00024296 [00:06:57]File name is /storage/ofd_packets/00024296 [00:06:57]Write 310 bytes [00:06:57]NVStorageSaveData done [00:06:57]OFDSenderStorePacket done [00:06:57]KKMCreateOFDPacket done [00:06:57]NVStorageSaveData kkm_last_timestamp [00:06:57]File name is /storage/kkm_last_timestamp [00:06:57]Write 4 bytes [00:06:57]NVStorageSaveData done [00:06:57]ExternCall_PrintAddStr [00:06:57]wPrintStart [00:06:57]Write to MH i2c: 01 00 00 66 22 88 [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 07 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 07 00 66 22 00 00 00 00 00 FF 0F 9D [00:06:57]RasterBufferAndPrint [00:06:57]line Отчет об открытии смены [00:06:57]line ФФД: 1.0 [00:06:57]line ИНН: 02508201610067 [00:06:57]line Кассир: Ахмедова У. [00:06:57]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:06:57]line Место: АЗС № 85 "Партнер Нефть" [00:06:57]line 21.10.2024 00:07 [00:06:57]line Смена: 461 [00:06:57]line РНМ: 0000000000098120 [00:06:57]line ЗНМ: 0300000166 [00:06:57]line ФД: 24296 [00:06:57]line ФМ: 0000000000965420 [00:06:57]line ФПД: 88342304664460 [00:06:57]written 0, free lines is 4095 [00:06:57]OFD Sender: Processing packet 24296 [packets to send 5, broken 4] [00:06:57]ProducePacketName [00:06:57]name=ofd_packets/00024296 [00:06:57]OFD Sender: To server: pG, [00:06:57]CommunicateWithHost lk.salyk.kg:30040 [00:06:57]ConnectInit lk.salyk.kg [00:06:57]Connected sock=10 [00:06:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 18 01 00 00 06 1E 10 01 38 07 5A 02 01 00 02 00 04 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F1 03 59 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 91 D0 B0 D0 B7 D0 B0 D1 80 20 D0 9A D0 BE D1 80 D0 B3 D0 BE D0 BD 2C 20 D1 82 D1 80 D0 B0 D1 81 D1 81 D0 B0 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 2D D0 9E D1 88 2C 20 34 31 2E 30 35 35 35 32 32 2C 20 37 32 2E 37 35 37 38 36 32 A3 04 29 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 38 35 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 27 9B 15 67 0E 04 04 00 CD 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 35 04 06 00 50 58 CB B0 2B 8C 71 45 04 5B CB A1 2A B8 [00:06:57]Write to MH i2c: 01 00 00 78 22 9A [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 07 00 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: 01 07 00 78 22 00 00 00 00 00 61 0E 10 [00:06:57]RasterBufferAndPrint [00:06:57]line [00:06:57]line [00:06:57]line [00:06:57]line [00:06:57]line [00:06:57]written 0, free lines is 3691 [00:06:57]process_action open_shift done [00:06:57]requested_data is exist [00:06:57]produce_requested_data [00:06:57]requested_item fd.num is exist - process it [00:06:57]SAM_PROTO_GetFieldsCounters [00:06:57]wFMCommunicate request_size=4 [00:06:57]MH_SAM_APDU [00:06:57]CAPDU: 80 13 00 00 [00:06:57]Write to MH i2c: E2 08 00 7F 22 80 13 00 00 00 00 00 00 1D [00:06:57]Write i2c OK [00:06:57]MH_I2C_Read... [00:06:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 6F FC 47 00 D3 CF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E8 5E 00 00 F4 03 04 00 BE 46 15 67 B6 04 01 00 00 6D 6A 17 05 75 01 DA DC [00:06:57]CommunicateWithHost err = 0 [00:06:57]CheckOFDResponse [00:06:57]1017 (14) - 77093643461234 [00:06:57]1041 (16) - 0000000000965420 [00:06:57]1040 (4) - 24296 [00:06:57]1012 (4) - 20.10.2024 18:06 [00:06:57]1206 (1) - 0 [00:06:57]OFD Sender: Remove packet 24296 [00:06:57]ProducePacketName [00:06:57]name=ofd_packets/00024296 [00:06:57]NVStorageDeleteData [00:06:57]Read from MH i2c: E2 [00:06:57]MH_I2C_Read... [00:06:57]Read from MH i2c: E2 62 00 [00:06:57]MH_I2C_Read... [00:06:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:06:57]Read from MH i2c: E2 62 00 7F 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 47 [00:06:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E8 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:06:58]wFMCommunicate OK [00:06:58]SAM_PROTO_GetFieldsCounters done [00:06:58]requested_item shift.num is exist - process it [00:06:58]requested_item shift.opened is exist - process it [00:06:58]req_shift_opened [00:06:58]FM_GetShiftState [00:06:58]SAM_PROTO_GetShiftState [00:06:58]wFMCommunicate request_size=4 [00:06:58]MH_SAM_APDU [00:06:58]CAPDU: 80 13 01 00 [00:06:58]Write to MH i2c: E2 08 00 80 22 80 13 01 00 00 00 00 00 1F [00:06:58]Write i2c OK [00:06:58]MH_I2C_Read... [00:06:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:06:58]Read from MH i2c: E2 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 0E 00 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 0E 00 80 22 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 69 [00:06:58]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:06:58]wFMCommunicate OK [00:06:58]SAM_PROTO_GetShiftState done [00:06:58]FM_GetShiftState done [00:06:58]req_shift_opened done [00:06:58]requested_item shift.open_date is exist - process it [00:06:58]req_shift_open_date [00:06:58]req_shift_open_date done [00:06:58]produce_requested_data done [00:06:58]produce_requested_data return {"fd.num":24296,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [00:06:58]process_action_free open_shift [00:06:58]json_value_free [00:06:58]json_value_free done [00:06:58]process_json_proto returns [00:06:58]Send response to host [00:06:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24296,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [00:06:58]free response buf [00:06:58]execute_script done [00:06:58]execute_script returns [00:06:58]free content buf [00:06:58]Sock 9.Close socket [00:06:58]Sock 9.Thread stoped [00:06:58]accept exits with 7 [00:06:58]New connection [00:06:58]New thread 3067243876 created [00:06:58]Thread 3067100516 joined [00:06:58]Waiting for new connection... [00:06:58] Sock 7.Parse request [00:06:58]Sock 7.Check first char [00:06:58]Sock 7.First char is OK [00:06:58]request: POST /json_proto HTTP/1.0 [00:06:58]Method: POST [00:06:58]URL: /json_proto [00:06:58]Method is POST - this is cgi request [00:06:58]url: /json_proto [00:06:58]query_string will be loaded in cgi processing [00:06:58]execute_cgi json_proto POST (null) [00:06:58]execute_cgi path=json_proto method=POST [00:06:58]POST find Content-Length [00:06:58]Host: 172.17.50.4:8080 [00:06:58]Content-Length: 331 [00:06:58]Content-Type: application/json [00:06:58] [00:06:58]POST finish read [00:06:58]Found Content-Length = 331 [00:06:58]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:06:58]execute_script... [00:06:58]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:06:58]POST & json_proto [00:06:58]process_json_proto [00:06:58]json parsed OK: [00:06:58]protocol is kg_v1.0 [00:06:58]action value=get_value [00:06:58]process_action get_value [00:06:58]cmd_get_value [00:06:58]process_action get_value done [00:06:58]requested_data is exist [00:06:58]produce_requested_data [00:06:58]requested_item fm.sale.total is exist - process it [00:06:58]SAM_PROTO_GetFMData [00:06:58]wFMCommunicate request_size=4 [00:06:58]MH_SAM_APDU [00:06:58]CAPDU: 80 13 03 00 [00:06:58]Write to MH i2c: E2 08 00 81 22 80 13 03 00 00 00 00 00 22 [00:06:58]Write i2c OK [00:06:58]MH_I2C_Read... [00:06:58]OFD Sender: No OFD packet to send [00:06:58]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:06:58]Read from MH i2c: E2 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 FD 00 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 FD 00 81 22 00 C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 25 [00:06:58]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 55 5B 00 00 69 04 A0 00 6F 04 04 00 C7 5A 00 00 B1 04 04 00 E6 0C F5 2B 70 04 04 00 D0 51 05 24 72 04 04 00 16 BB EF 07 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 78 21 AB 04 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 93 8C 63 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9E 00 6F 04 04 00 8E 00 00 00 B1 04 04 00 98 BE AC 01 70 04 04 00 80 06 AA 01 72 04 03 00 18 B8 02 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 E0 88 2D EF 03 09 00 90 00 [00:06:58]wFMCommunicate OK [00:06:58]wFMCommunicate request_size=4 [00:06:58]MH_SAM_APDU [00:06:58]CAPDU: 80 17 00 00 [00:06:58]Write to MH i2c: E2 08 00 82 22 80 17 00 00 00 00 00 00 24 [00:06:58]Write i2c OK [00:06:58]MH_I2C_Read... [00:06:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:58]Read from MH i2c: E2 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 FD 00 [00:06:58]MH_I2C_Read... [00:06:58]Read from MH i2c: E2 FD 00 82 22 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 05 [00:06:58]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 5D CB 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:06:59]wFMCommunicate OK [00:06:59]wFMCommunicate request_size=4 [00:06:59]MH_SAM_APDU [00:06:59]CAPDU: 80 17 00 00 [00:06:59]Write to MH i2c: E2 08 00 83 22 80 17 00 00 00 00 00 00 25 [00:06:59]Write i2c OK [00:06:59]MH_I2C_Read... [00:06:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:59]Read from MH i2c: E2 [00:06:59]MH_I2C_Read... [00:06:59]Read from MH i2c: E2 FD 00 [00:06:59]MH_I2C_Read... [00:06:59]Read from MH i2c: E2 FD 00 83 22 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 3A [00:06:59]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [00:06:59]wFMCommunicate OK [00:06:59]wFMCommunicate request_size=4 [00:06:59]MH_SAM_APDU [00:06:59]CAPDU: 80 17 00 00 [00:06:59]Write to MH i2c: E2 08 00 84 22 80 17 00 00 00 00 00 00 26 [00:06:59]Write i2c OK [00:06:59]MH_I2C_Read... [00:06:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:06:59]Read from MH i2c: E2 [00:06:59]MH_I2C_Read... [00:06:59]Read from MH i2c: E2 FD 00 [00:06:59]MH_I2C_Read... [00:06:59]Read from MH i2c: E2 FD 00 84 22 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 9E [00:06:59]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [00:06:59]wFMCommunicate OK [00:06:59]wFMCommunicate request_size=4 [00:06:59]MH_SAM_APDU [00:06:59]CAPDU: 80 17 00 00 [00:06:59]Write to MH i2c: E2 08 00 85 22 80 17 00 00 00 00 00 00 27 [00:06:59]Write i2c OK [00:06:59]MH_I2C_Read... [00:07:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:07:00]Read from MH i2c: E2 [00:07:00]MH_I2C_Read... [00:07:00]Read from MH i2c: E2 E1 00 [00:07:00]MH_I2C_Read... [00:07:00]Read from MH i2c: E2 E1 00 85 22 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 15 [00:07:00]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:00]wFMCommunicate OK [00:07:00]SAM_PROTO_GetFMData done [00:07:00]requested_item fm.sale_refund.total is exist - process it [00:07:00]requested_item fm.buy.total is exist - process it [00:07:00]requested_item shift.sale.total is exist - process it [00:07:00]SAM_PROTO_GetShiftData [00:07:00]wFMCommunicate request_size=4 [00:07:00]MH_SAM_APDU [00:07:00]CAPDU: 80 13 02 00 [00:07:00]Write to MH i2c: E2 08 00 86 22 80 13 02 00 00 00 00 00 26 [00:07:00]Write i2c OK [00:07:00]MH_I2C_Read... [00:07:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:00]Read from MH i2c: E2 [00:07:00]MH_I2C_Read... [00:07:00]Read from MH i2c: E2 FD 00 [00:07:00]MH_I2C_Read... [00:07:00]Read from MH i2c: E2 FD 00 86 22 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 99 [00:07:00]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:07:00]wFMCommunicate OK [00:07:00]wFMCommunicate request_size=4 [00:07:00]MH_SAM_APDU [00:07:00]CAPDU: 80 17 00 00 [00:07:00]Write to MH i2c: E2 08 00 87 22 80 17 00 00 00 00 00 00 29 [00:07:00]Write i2c OK [00:07:00]MH_I2C_Read... [00:07:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:01]Read from MH i2c: E2 [00:07:01]MH_I2C_Read... [00:07:01]Read from MH i2c: E2 FD 00 [00:07:01]MH_I2C_Read... [00:07:01]Read from MH i2c: E2 FD 00 87 22 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 31 [00:07:01]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:07:01]wFMCommunicate OK [00:07:01]wFMCommunicate request_size=4 [00:07:01]MH_SAM_APDU [00:07:01]CAPDU: 80 17 00 00 [00:07:01]Write to MH i2c: E2 08 00 88 22 80 17 00 00 00 00 00 00 2A [00:07:01]Write i2c OK [00:07:01]MH_I2C_Read... [00:07:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:01]Read from MH i2c: E2 [00:07:01]MH_I2C_Read... [00:07:01]Read from MH i2c: E2 FD 00 [00:07:01]MH_I2C_Read... [00:07:01]Read from MH i2c: E2 FD 00 88 22 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 FC [00:07:01]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:07:01]wFMCommunicate OK [00:07:01]wFMCommunicate request_size=4 [00:07:01]MH_SAM_APDU [00:07:01]CAPDU: 80 17 00 00 [00:07:01]Write to MH i2c: E2 08 00 89 22 80 17 00 00 00 00 00 00 2B [00:07:01]Write i2c OK [00:07:01]MH_I2C_Read... [00:07:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:01]Read from MH i2c: E2 [00:07:01]MH_I2C_Read... [00:07:01]Read from MH i2c: E2 FD 00 [00:07:01]MH_I2C_Read... [00:07:02]Read from MH i2c: E2 FD 00 89 22 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 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 9D [00:07:02]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:07:02]wFMCommunicate OK [00:07:02]wFMCommunicate request_size=4 [00:07:02]MH_SAM_APDU [00:07:02]CAPDU: 80 17 00 00 [00:07:02]Write to MH i2c: E2 08 00 8A 22 80 17 00 00 00 00 00 00 2C [00:07:02]Write i2c OK [00:07:02]MH_I2C_Read... [00:07:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:07:02]Read from MH i2c: E2 [00:07:02]MH_I2C_Read... [00:07:02]Read from MH i2c: E2 BD 00 [00:07:02]MH_I2C_Read... [00:07:02]Read from MH i2c: E2 BD 00 8A 22 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 12 [00:07:02]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:07:02]wFMCommunicate OK [00:07:02]SAM_PROTO_GetShiftData done [00:07:02]requested_item shift.sale.total_cash is exist - process it [00:07:02]requested_item shift.sale_refund.total is exist - process it [00:07:02]requested_item shift.sale_refund.total_cash is exist - process it [00:07:02]requested_item shift.buy.total is exist - process it [00:07:02]requested_item shift.buy.total_cash is exist - process it [00:07:02]produce_requested_data done [00:07:02]produce_requested_data return {"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.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:07:02]process_action_free get_value [00:07:02]json_value_free [00:07:02]json_value_free done [00:07:02]process_json_proto returns [00:07:02]Send response to host [00:07:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7374799.10,"fm.sale_refund.total":280982.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:07:02]free response buf [00:07:02]execute_script done [00:07:02]execute_script returns [00:07:02]free content buf [00:07:02]Sock 7.Close socket [00:07:02]Sock 7.Thread stoped [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:18]OFD Sender: No OFD packet to send [00:08:23]OFD Sender: No OFD packet to send [00:08:28]OFD Sender: No OFD packet to send [00:08:33]OFD Sender: No OFD packet to send [00:08:38]OFD Sender: No OFD packet to send [00:08:43]OFD Sender: No OFD packet to send [00:08:48]OFD Sender: No OFD packet to send [00:08:53]OFD Sender: No OFD packet to send [00:08:58]OFD Sender: No OFD packet to send [00:09:03]OFD Sender: No OFD packet to send [00:09:08]OFD Sender: No OFD packet to send [00:09:13]OFD Sender: No OFD packet to send [00:09:18]OFD Sender: No OFD packet to send [00:09:23]OFD Sender: No OFD packet to send [00:09:28]OFD Sender: No OFD packet to send [00:09:33]OFD Sender: No OFD packet to send [00:09:38]OFD Sender: No OFD packet to send [00:09:43]OFD Sender: No OFD packet to send [00:09:48]OFD Sender: No OFD packet to send [00:09:53]OFD Sender: No OFD packet to send [00:09:58]OFD Sender: No OFD packet to send [00:10:03]OFD Sender: No OFD packet to send [00:10:08]OFD Sender: No OFD packet to send [00:10:13]OFD Sender: No OFD packet to send [00:10:18]OFD Sender: No OFD packet to send [00:10:23]OFD Sender: No OFD packet to send [00:10:28]OFD Sender: No OFD packet to send [00:10:33]OFD Sender: No OFD packet to send [00:10:38]OFD Sender: No OFD packet to send [00:10:43]OFD Sender: No OFD packet to send [00:10:48]OFD Sender: No OFD packet to send [00:10:53]OFD Sender: No OFD packet to send [00:10:58]OFD Sender: No OFD packet to send [00:11:03]OFD Sender: No OFD packet to send [00:11:08]accept exits with 9 [00:11:08]New connection [00:11:08]New thread 3067100516 created [00:11:08]Thread 3067243876 joined [00:11:08]Waiting for new connection... [00:11:08] Sock 9.Parse request [00:11:08]Sock 9.Check first char [00:11:08]Sock 9.First char is OK [00:11:08]request: POST /json_proto HTTP/1.0 [00:11:08]Method: POST [00:11:08]URL: /json_proto [00:11:08]Method is POST - this is cgi request [00:11:08]url: /json_proto [00:11:08]query_string will be loaded in cgi processing [00:11:08]execute_cgi json_proto POST (null) [00:11:08]execute_cgi path=json_proto method=POST [00:11:08]POST find Content-Length [00:11:08]Host: 172.17.50.4:8080 [00:11:08]Content-Length: 917 [00:11:08]Content-Type: application/json [00:11:08] [00:11:08]POST finish read [00:11:08]Found Content-Length = 917 [00:11:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134821", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:08]execute_script... [00:11: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)134821", "tax_sys" : 0, "items" : [ { "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003312", "name": "Gorilla \u044D\u043D \u043D\u0430\u043F \u043C\u0430\u043D\u0433\u043E-\u043A\u043E\u043A\u043E\u0441 0,45 \u0436/\u0431", "price" : 99.00, "quantity" : 1.000, "sum" : 99.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 253.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:11:08]POST & json_proto [00:11:08]process_json_proto [00:11:08]json parsed OK: [00:11:08]protocol is kg_v1.0 [00:11:08]action value=close_receipt [00:11:08]process_action close_receipt [00:11:08]cmd_close_receipt [00:11:08]MH_GetDate [00:11:08]Write to MH i2c: F0 00 00 8B 22 9C [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: F0 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: F0 09 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: F0 09 00 8B 22 00 24 9C 15 67 1D BB 13 67 33 [00:11:08]GetLastDocTimeStamp 1729469223 [00:11:08]current date 1729469476 [00:11:08]FM_GetShiftState [00:11:08]SAM_PROTO_GetShiftState [00:11:08]wFMCommunicate request_size=4 [00:11:08]MH_SAM_APDU [00:11:08]CAPDU: 80 13 01 00 [00:11:08]Write to MH i2c: E2 08 00 8C 22 80 13 01 00 00 00 00 00 2B [00:11:08]Write i2c OK [00:11:08]MH_I2C_Read... [00:11:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:08]Read from MH i2c: E2 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 0E 00 [00:11:08]MH_I2C_Read... [00:11:08]Read from MH i2c: E2 0E 00 8C 22 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 75 [00:11:08]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:11:08]wFMCommunicate OK [00:11:08]SAM_PROTO_GetShiftState done [00:11:08]FM_GetShiftState done [00:11:08]opened in 1729469223 [00:11:08]opened+sec_in_day 1729555623 [00:11:08]quantity*price = 15400 [00:11:08]sum+1 = 15401 [00:11:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870022003312 Gorilla эн нап манго-кокос 0,45 ж/б 1.000 * 99.00 = 99.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 253.00 НСП 1% : 2.24 НДС 12% : 26.86 Наличными: 253.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 1 21.10.2024 00:11 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24297 ФПД: 246343352530301 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001116&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24297&fm=246343352530301&tin=02508201610067®Number=0000000000098120&sum=25300 0 [00:11:09]StoreToDocumentArchive [00:11:09]shift 461 fd 24297 [00:11:09]save to /storage/0461/doc_00024297 [00:11:09]save last doc name /storage/0461/doc_00024297 to /storage/kkm_last_doc_name [00:11:09]save OK [00:11:09]Clear old archive folders... [00:11:09]ProcessDocumentItem done err = 0, tmpTLVsize=401 [00:11:09]tlvbuf is B6F9C010 [00:11:09]SAM_PROTO_ClearQueue [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 09 00 00 [00:11:09]Write to MH i2c: E2 08 00 99 22 80 09 00 00 00 00 00 00 2D [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 99 22 00 90 00 2F [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]SAM_PROTO_ClearQueue done [00:11:09]KKMCreateOFDPacket [00:11:09]OFDProtocolAddRootSTLVToBuf [00:11:09]FM_MakeSignedData [00:11:09]FM_MakeSignedData [00:11:09]SAM_PROTO_SignData [00:11:09]wFMCommunicate request_size=4 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 0D 01 02 [00:11:09]Write to MH i2c: E2 08 00 9A 22 80 0D 01 02 00 00 00 00 35 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 9A 22 00 90 00 30 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=255 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 [00:11:09]Write to MH i2c: E2 02 01 9B 22 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 00 00 30 [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 [00:11:09]MH_I2C_Read... [00:11:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:09]Read from MH i2c: E2 03 00 [00:11:09]MH_I2C_Read... [00:11:09]Read from MH i2c: E2 03 00 9B 22 00 90 00 31 [00:11:09]RAPDU: 90 00 [00:11:09]wFMCommunicate OK [00:11:09]wFMCommunicate request_size=160 [00:11:09]MH_SAM_APDU [00:11:09]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 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 24 9C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E9 5E 00 00 35 04 06 00 E0 0C 48 05 35 7D [00:11:09]Write to MH i2c: E2 A3 00 9C 22 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 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 24 9C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E9 5E 00 00 35 04 06 00 E0 0C 48 05 35 7D 00 00 7B [00:11:09]Write i2c OK [00:11:09]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 03 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 03 00 9C 22 00 90 00 32 [00:11:10]RAPDU: 90 00 [00:11:10]wFMCommunicate OK [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 0D 03 02 [00:11:10]Write to MH i2c: E2 08 00 9D 22 80 0D 03 02 00 00 00 00 3A [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 0B 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 0B 00 9D 22 00 D0 C5 F7 1A 34 B0 5C 7F 90 00 A0 [00:11:10]RAPDU: D0 C5 F7 1A 34 B0 5C 7F 90 00 [00:11:10]wFMCommunicate OK [00:11:10]SAM_PROTO_SignData done [00:11:10]FM_MakeSignedData done [00:11:10]CreateOFDProtocolMessage [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 11 00 00 [00:11:10]Write to MH i2c: E2 08 00 9E 22 80 11 00 00 00 00 00 00 3A [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:10]Read from MH i2c: E2 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 17 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: E2 17 00 9E 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 87 [00:11:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:11:10]wFMCommunicate OK [00:11:10]CreateOFDProtocolMessage done [00:11:10]OFDSenderStorePacket 24297 [00:11:10]StoreOFDPacket docnum=24297 [00:11:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A5 01 00 00 7A 52 9D 01 1F 32 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 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 24 9C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E9 5E 00 00 35 04 06 00 E0 0C 48 05 35 7D D0 C5 F7 1A 34 B0 5C 7F [00:11:10]CheckFolder [00:11:10]dirname=/storage/ofd_packets [00:11:10]CheckFolder done [00:11:10]ProducePacketName [00:11:10]name=ofd_packets/00024297 [00:11:10]NVStorageSaveData ofd_packets/00024297 [00:11:10]File name is /storage/ofd_packets/00024297 [00:11:10]Write 451 bytes [00:11:10]NVStorageSaveData done [00:11:10]OFDSenderStorePacket done [00:11:10]KKMCreateOFDPacket done [00:11:10]NVStorageSaveData kkm_last_timestamp [00:11:10]File name is /storage/kkm_last_timestamp [00:11:10]Write 4 bytes [00:11:10]NVStorageSaveData done [00:11:10]ExternCall_PrintAddStr [00:11:10]wPrintStart [00:11:10]Write to MH i2c: 01 00 00 9F 22 C1 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 9F 22 00 00 00 00 00 FF 0F D6 [00:11:10]RasterBufferAndPrint [00:11:10]line Счет N : (3)134821 [00:11:10]line ИНН: 02508201610067 [00:11:10]line Контрольно-Кассовый Чек [00:11:10]line ПРОДАЖА [00:11:10]line Товар: 46230607 [00:11:10]line Сигареты Richmond Bronze Edition [00:11:10]line 1.000 * 154.00 [00:11:10]line = 154.00 [00:11:10]line НДС 12% НСП 1% [00:11:10]line > о реализуемом товаре [00:11:10]line Товар: 4870022003312 [00:11:10]line Gorilla эн нап манго-кокос 0,45 ж/б [00:11:10]line 1.000 * 99.00 [00:11:10]line = 99.00 [00:11:10]line НДС 12% НСП 1% [00:11:10]line > о реализуемом товаре [00:11:10]line ИТОГО: 253.00 [00:11:10]line НСП 1% : 2.24 [00:11:10]line НДС 12% : 26.86 [00:11:10]line Наличными: 253.00 [00:11:10]line Безнал.: 0.00 [00:11:10]line Место: АЗС № 85 "Партнер Нефть" [00:11:10]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:11:10]line СНО: Общий режим [00:11:10]line Чек 1 21.10.2024 00:11 [00:11:10]line Смена: 461 ФФД: 1.0 [00:11:10]line ЗНМ: 0300000166 [00:11:10]line РНМ: 0000000000098120 [00:11:10]line Версия ККМ: 001 [00:11:10]line ФМ: 0000000000965420 [00:11:10]line ФД: 24297 [00:11:10]line ФПД: 246343352530301 [00:11:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001116&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24297&fm=246343352530301&tin=02508201610067®Number=0000000000098120&sum=25300 [00:11:10]line 0 [00:11:10]OFD Sender: Processing packet 24297 [packets to send 5, broken 4] [00:11:10]ProducePacketName [00:11:10]name=ofd_packets/00024297 [00:11:10]OFD Sender: To server: pG, [00:11:10]CommunicateWithHost lk.salyk.kg:30040 [00:11:10]ConnectInit lk.salyk.kg [00:11:10]written 0, free lines is 4095 [00:11:10]Connected sock=10 [00:11:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A5 01 00 00 7A 52 9D 01 1F 32 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 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 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 31 32 06 04 34 00 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D0 BF 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BE D0 BA D0 BE D1 81 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 26 00 00 00 00 13 04 06 00 AC 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 62 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7E 0A 00 00 00 00 07 04 06 00 D4 62 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 24 9C 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E9 5E 00 00 35 04 06 00 E0 0C 48 05 35 7D D0 C5 F7 1A 34 B0 5C 7F [00:11:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 D5 6E 47 00 98 1D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 E9 5E 00 00 F4 03 04 00 BB 47 15 67 B6 04 01 00 00 F9 8F 51 B8 06 E3 DB 22 [00:11:10]CommunicateWithHost err = 0 [00:11:10]CheckOFDResponse [00:11:10]1017 (14) - 77093643461234 [00:11:10]1041 (16) - 0000000000965420 [00:11:10]1040 (4) - 24297 [00:11:10]1012 (4) - 20.10.2024 18:11 [00:11:10]1206 (1) - 0 [00:11:10]OFD Sender: Remove packet 24297 [00:11:10]ProducePacketName [00:11:10]name=ofd_packets/00024297 [00:11:10]NVStorageDeleteData [00:11:10]Write to MH i2c: 01 00 00 CF 22 F1 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 [00:11:10]MH_I2C_Read... [00:11:10]Read from MH i2c: 01 07 00 CF 22 00 00 00 00 00 A9 0C AD [00:11:10]RasterBufferAndPrint [00:11:10]line [00:11:10]line [00:11:10]line [00:11:10]line [00:11:10]line [00:11:10]written 0, free lines is 3247 [00:11:10]process_action close_receipt done [00:11:10]requested_data is exist [00:11:10]produce_requested_data [00:11:10]requested_item fm.sn is exist - process it [00:11:10]wFMCommunicate request_size=4 [00:11:10]MH_SAM_APDU [00:11:10]CAPDU: 80 11 00 00 [00:11:10]Write to MH i2c: E2 08 00 D6 22 80 11 00 00 00 00 00 00 72 [00:11:10]Write i2c OK [00:11:10]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 17 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 17 00 D6 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BF [00:11:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:11:11]wFMCommunicate OK [00:11:11]requested_item fd.num is exist - process it [00:11:11]SAM_PROTO_GetFieldsCounters [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 13 00 00 [00:11:11]Write to MH i2c: E2 08 00 D7 22 80 13 00 00 00 00 00 00 75 [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 62 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 62 00 D7 22 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E9 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [00:11:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 E9 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:11:11]wFMCommunicate OK [00:11:11]SAM_PROTO_GetFieldsCounters done [00:11:11]requested_item shift.num is exist - process it [00:11:11]requested_item shift.opened is exist - process it [00:11:11]req_shift_opened [00:11:11]FM_GetShiftState [00:11:11]SAM_PROTO_GetShiftState [00:11:11]wFMCommunicate request_size=4 [00:11:11]MH_SAM_APDU [00:11:11]CAPDU: 80 13 01 00 [00:11:11]Write to MH i2c: E2 08 00 D8 22 80 13 01 00 00 00 00 00 77 [00:11:11]Write i2c OK [00:11:11]MH_I2C_Read... [00:11:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:11:11]Read from MH i2c: E2 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 0E 00 [00:11:11]MH_I2C_Read... [00:11:11]Read from MH i2c: E2 0E 00 D8 22 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C1 [00:11:11]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:11:11]wFMCommunicate OK [00:11:11]SAM_PROTO_GetShiftState done [00:11:11]FM_GetShiftState done [00:11:11]req_shift_opened done [00:11:11]requested_item shift.open_date is exist - process it [00:11:11]req_shift_open_date [00:11:11]req_shift_open_date done [00:11:11]produce_requested_data done [00:11:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24297,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [00:11:11]process_action_free close_receipt [00:11:11]json_value_free [00:11:11]json_value_free done [00:11:11]process_json_proto returns [00:11:11]Send response to host [00:11:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24297,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [00:11:11]free response buf [00:11:11]execute_script done [00:11:11]execute_script returns [00:11:11]free content buf [00:11:11]Sock 9.Close socket [00:11:11]Sock 9.Thread stoped [00:11:11]OFD Sender: No OFD packet to send [00:11:16]OFD Sender: No OFD packet to send [00:11:21]OFD Sender: No OFD packet to send [00:11:26]OFD Sender: No OFD packet to send [00:11:31]OFD Sender: No OFD packet to send [00:11:36]OFD Sender: No OFD packet to send [00:11:41]OFD Sender: No OFD packet to send [00:11:46]OFD Sender: No OFD packet to send [00:11:51]OFD Sender: No OFD packet to send [00:11:56]OFD Sender: No OFD packet to send [00:12:01]OFD Sender: No OFD packet to send [00:12:06]OFD Sender: No OFD packet to send [00:12:11]OFD Sender: No OFD packet to send [00:12:16]OFD Sender: No OFD packet to send [00:12:21]OFD Sender: No OFD packet to send [00:12:26]OFD Sender: No OFD packet to send [00:12:31]OFD Sender: No OFD packet to send [00:12:36]OFD Sender: No OFD packet to send [00:12:41]OFD Sender: No OFD packet to send [00:12:46]OFD Sender: No OFD packet to send [00:12:51]OFD Sender: No OFD packet to send [00:12:56]OFD Sender: No OFD packet to send [00:13:01]OFD Sender: No OFD packet to send [00:13:06]OFD Sender: No OFD packet to send [00:13:11]OFD Sender: No OFD packet to send [00:13:16]OFD Sender: No OFD packet to send [00:13:21]OFD Sender: No OFD packet to send [00:13:26]OFD Sender: No OFD packet to send [00:13:31]OFD Sender: No OFD packet to send [00:13:36]OFD Sender: No OFD packet to send [00:13:41]OFD Sender: No OFD packet to send [00:13:46]OFD Sender: No OFD packet to send [00:13:51]OFD Sender: No OFD packet to send [00:13:56]OFD Sender: No OFD packet to send [00:14:01]OFD Sender: No OFD packet to send [00:14:06]OFD Sender: No OFD packet to send [00:14:11]OFD Sender: No OFD packet to send [00:14:16]OFD Sender: No OFD packet to send [00:14:21]OFD Sender: No OFD packet to send [00:14:26]OFD Sender: No OFD packet to send [00:14:31]OFD Sender: No OFD packet to send [00:14:36]OFD Sender: No OFD packet to send [00:14:41]OFD Sender: No OFD packet to send [00:14:46]OFD Sender: No OFD packet to send [00:14:51]OFD Sender: No OFD packet to send [00:14:56]OFD Sender: No OFD packet to send [00:15:01]OFD Sender: No OFD packet to send [00:15:06]OFD Sender: No OFD packet to send [00:15:11]OFD Sender: No OFD packet to send [00:15:16]OFD Sender: No OFD packet to send [00:15:21]OFD Sender: No OFD packet to send [00:15:26]OFD Sender: No OFD packet to send [00:15:31]OFD Sender: No OFD packet to send [00:15:36]OFD Sender: No OFD packet to send [00:15:41]OFD Sender: No OFD packet to send [00:15:46]OFD Sender: No OFD packet to send [00:15:51]OFD Sender: No OFD packet to send [00:15:56]OFD Sender: No OFD packet to send [00:16:01]OFD Sender: No OFD packet to send [00:16:06]OFD Sender: No OFD packet to send [00:16:11]OFD Sender: No OFD packet to send [00:16:16]OFD Sender: No OFD packet to send [00:16:21]OFD Sender: No OFD packet to send [00:16:26]OFD Sender: No OFD packet to send [00:16:31]OFD Sender: No OFD packet to send [00:16:36]OFD Sender: No OFD packet to send [00:16:41]OFD Sender: No OFD packet to send [00:16:46]OFD Sender: No OFD packet to send [00:16:51]OFD Sender: No OFD packet to send [00:16:56]OFD Sender: No OFD packet to send [00:16:58]accept exits with 7 [00:16:58]New connection [00:16:58]New thread 3067243876 created [00:16:58]Thread 3067100516 joined [00:16:58]Waiting for new connection... [00:16:58] Sock 7.Parse request [00:16:58]Sock 7.Check first char [00:16:58]Sock 7.First char is OK [00:16:58]request: POST /json_proto HTTP/1.0 [00:16:58]Method: POST [00:16:58]URL: /json_proto [00:16:58]Method is POST - this is cgi request [00:16:58]url: /json_proto [00:16:58]query_string will be loaded in cgi processing [00:16:58]execute_cgi json_proto POST (null) [00:16:58]execute_cgi path=json_proto method=POST [00:16:58]POST find Content-Length [00:16:58]Host: 172.17.50.4:8080 [00:16:58]Content-Length: 916 [00:16:58]Content-Type: application/json [00:16:58] [00:16:58]POST finish read [00:16:58]Found Content-Length = 916 [00:16:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134822", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:58]execute_script... [00:16:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134822", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:16:58]POST & json_proto [00:16:58]process_json_proto [00:16:58]json parsed OK: [00:16:58]protocol is kg_v1.0 [00:16:58]action value=close_receipt [00:16:58]process_action close_receipt [00:16:58]cmd_close_receipt [00:16:58]MH_GetDate [00:16:58]Write to MH i2c: F0 00 00 D9 22 EA [00:16:58]Write i2c OK [00:16:58]MH_I2C_Read... [00:16:58]Read from MH i2c: F0 [00:16:58]MH_I2C_Read... [00:16:58]Read from MH i2c: F0 09 00 [00:16:58]MH_I2C_Read... [00:16:58]Read from MH i2c: F0 09 00 D9 22 00 82 9D 15 67 1D BB 13 67 E0 [00:16:58]GetLastDocTimeStamp 1729469476 [00:16:58]current date 1729469826 [00:16:58]FM_GetShiftState [00:16:58]SAM_PROTO_GetShiftState [00:16:58]wFMCommunicate request_size=4 [00:16:58]MH_SAM_APDU [00:16:58]CAPDU: 80 13 01 00 [00:16:58]Write to MH i2c: E2 08 00 DA 22 80 13 01 00 00 00 00 00 79 [00:16:58]Write i2c OK [00:16:58]MH_I2C_Read... [00:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:58]Read from MH i2c: E2 [00:16:58]MH_I2C_Read... [00:16:58]Read from MH i2c: E2 0E 00 [00:16:58]MH_I2C_Read... [00:16:58]Read from MH i2c: E2 0E 00 DA 22 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 C3 [00:16:58]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:16:58]wFMCommunicate OK [00:16:58]SAM_PROTO_GetShiftState done [00:16:58]FM_GetShiftState done [00:16:58]opened in 1729469223 [00:16:58]opened+sec_in_day 1729555623 [00:16:58]quantity*price = 9500 [00:16:58]sum+1 = 9501 [00:16:58]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310326 Вода Адыгене 1л б/г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.81 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 2 21.10.2024 00:17 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24298 ФПД: 96317614299626 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001706&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24298&fm=96317614299626&tin=02508201610067®Number=0000000000098120&sum=13000 0 [00:16:59]StoreToDocumentArchive [00:16:59]shift 461 fd 24298 [00:16:59]save to /storage/0461/doc_00024298 [00:16:59]save last doc name /storage/0461/doc_00024298 to /storage/kkm_last_doc_name [00:16:59]save OK [00:16:59]Clear old archive folders... [00:16:59]ProcessDocumentItem done err = 0, tmpTLVsize=398 [00:16:59]tlvbuf is 0201D980 [00:16:59]SAM_PROTO_ClearQueue [00:16:59]wFMCommunicate request_size=4 [00:16:59]MH_SAM_APDU [00:16:59]CAPDU: 80 09 00 00 [00:16:59]Write to MH i2c: E2 08 00 E7 22 80 09 00 00 00 00 00 00 7B [00:16:59]Write i2c OK [00:16:59]MH_I2C_Read... [00:16:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:16:59]Read from MH i2c: E2 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 E7 22 00 90 00 7D [00:16:59]RAPDU: 90 00 [00:16:59]wFMCommunicate OK [00:16:59]SAM_PROTO_ClearQueue done [00:16:59]KKMCreateOFDPacket [00:16:59]OFDProtocolAddRootSTLVToBuf [00:16:59]FM_MakeSignedData [00:16:59]FM_MakeSignedData [00:16:59]SAM_PROTO_SignData [00:16:59]wFMCommunicate request_size=4 [00:16:59]MH_SAM_APDU [00:16:59]CAPDU: 80 0D 01 02 [00:16:59]Write to MH i2c: E2 08 00 E8 22 80 0D 01 02 00 00 00 00 83 [00:16:59]Write i2c OK [00:16:59]MH_I2C_Read... [00:16:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:16:59]Read from MH i2c: E2 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 E8 22 00 90 00 7E [00:16:59]RAPDU: 90 00 [00:16:59]wFMCommunicate OK [00:16:59]wFMCommunicate request_size=255 [00:16:59]MH_SAM_APDU [00:16:59]CAPDU: 80 0D 02 02 FA 03 00 8E 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 [00:16:59]Write to MH i2c: E2 02 01 E9 22 80 0D 02 02 FA 00 03 00 8E 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 00 ED [00:16:59]Write i2c OK [00:16:59]MH_I2C_Read... [00:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:59]Read from MH i2c: E2 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 [00:16:59]MH_I2C_Read... [00:16:59]Read from MH i2c: E2 03 00 E9 22 00 90 00 7F [00:16:59]RAPDU: 90 00 [00:16:59]wFMCommunicate OK [00:16:59]wFMCommunicate request_size=157 [00:16:59]MH_SAM_APDU [00:16:59]CAPDU: 80 0D 02 02 98 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 65 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 02 00 00 00 F4 03 04 00 82 9D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EA 5E 00 00 35 04 06 00 57 99 B1 2F 99 EA [00:16:59]Write to MH i2c: E2 A0 00 EA 22 80 0D 02 02 98 00 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 65 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 02 00 00 00 F4 03 04 00 82 9D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EA 5E 00 00 35 04 06 00 57 99 B1 2F 99 EA 00 00 B1 [00:16:59]Write i2c OK [00:16:59]MH_I2C_Read... [00:17:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:17:00]Read from MH i2c: E2 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 03 00 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 03 00 EA 22 00 90 00 80 [00:17:00]RAPDU: 90 00 [00:17:00]wFMCommunicate OK [00:17:00]wFMCommunicate request_size=4 [00:17:00]MH_SAM_APDU [00:17:00]CAPDU: 80 0D 03 02 [00:17:00]Write to MH i2c: E2 08 00 EB 22 80 0D 03 02 00 00 00 00 88 [00:17:00]Write i2c OK [00:17:00]MH_I2C_Read... [00:17:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:17:00]Read from MH i2c: E2 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 0B 00 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 0B 00 EB 22 00 00 96 C9 86 DF F1 B4 78 90 00 6A [00:17:00]RAPDU: 00 96 C9 86 DF F1 B4 78 90 00 [00:17:00]wFMCommunicate OK [00:17:00]SAM_PROTO_SignData done [00:17:00]FM_MakeSignedData done [00:17:00]CreateOFDProtocolMessage [00:17:00]wFMCommunicate request_size=4 [00:17:00]MH_SAM_APDU [00:17:00]CAPDU: 80 11 00 00 [00:17:00]Write to MH i2c: E2 08 00 EC 22 80 11 00 00 00 00 00 00 88 [00:17:00]Write i2c OK [00:17:00]MH_I2C_Read... [00:17:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:00]Read from MH i2c: E2 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 17 00 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: E2 17 00 EC 22 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D5 [00:17:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:17:00]wFMCommunicate OK [00:17:00]CreateOFDProtocolMessage done [00:17:00]OFDSenderStorePacket 24298 [00:17:00]StoreOFDPacket docnum=24298 [00:17:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A2 01 00 00 4F EE 9A 01 75 96 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 65 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 02 00 00 00 F4 03 04 00 82 9D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EA 5E 00 00 35 04 06 00 57 99 B1 2F 99 EA 00 96 C9 86 DF F1 B4 78 [00:17:00]CheckFolder [00:17:00]dirname=/storage/ofd_packets [00:17:00]CheckFolder done [00:17:00]ProducePacketName [00:17:00]name=ofd_packets/00024298 [00:17:00]NVStorageSaveData ofd_packets/00024298 [00:17:00]File name is /storage/ofd_packets/00024298 [00:17:00]Write 448 bytes [00:17:00]NVStorageSaveData done [00:17:00]OFDSenderStorePacket done [00:17:00]KKMCreateOFDPacket done [00:17:00]NVStorageSaveData kkm_last_timestamp [00:17:00]File name is /storage/kkm_last_timestamp [00:17:00]Write 4 bytes [00:17:00]NVStorageSaveData done [00:17:00]ExternCall_PrintAddStr [00:17:00]wPrintStart [00:17:00]Write to MH i2c: 01 00 00 ED 22 0F [00:17:00]Write i2c OK [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: 01 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: 01 07 00 [00:17:00]MH_I2C_Read... [00:17:00]Read from MH i2c: 01 07 00 ED 22 00 00 00 00 00 FF 0F 24 [00:17:00]RasterBufferAndPrint [00:17:00]line Счет N : (3)134822 [00:17:00]line ИНН: 02508201610067 [00:17:00]line Контрольно-Кассовый Чек [00:17:00]line ПРОДАЖА [00:17:00]line Товар: 4700000480050 [00:17:00]line Напиток Nitro Energy эн green ж/б 0,45л [00:17:00]line 1.000 * 95.00 [00:17:00]line = 95.00 [00:17:00]line НДС 12% НСП 1% [00:17:00]line > о реализуемом товаре [00:17:00]line Товар: 4700000310326 [00:17:00]line Вода Адыгене 1л б/г [00:17:00]line 1.000 * 35.00 [00:17:00]line = 35.00 [00:17:00]line НДС 12% НСП 1% [00:17:00]line > о реализуемом товаре [00:17:00]line ИТОГО: 130.00 [00:17:00]line НСП 1% : 1.15 [00:17:00]line НДС 12% : 13.81 [00:17:00]line Наличными: 130.00 [00:17:00]line Безнал.: 0.00 [00:17:00]line Место: АЗС № 85 "Партнер Нефть" [00:17:00]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:17:00]line СНО: Общий режим [00:17:00]line Чек 2 21.10.2024 00:17 [00:17:00]line Смена: 461 ФФД: 1.0 [00:17:00]line ЗНМ: 0300000166 [00:17:00]line РНМ: 0000000000098120 [00:17:00]line Версия ККМ: 001 [00:17:00]line ФМ: 0000000000965420 [00:17:00]line ФД: 24298 [00:17:00]line ФПД: 96317614299626 [00:17:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T001706&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24298&fm=96317614299626&tin=02508201610067®Number=0000000000098120&sum=13000 [00:17:00]line 0 [00:17:00]OFD Sender: Processing packet 24298 [packets to send 5, broken 4] [00:17:00]ProducePacketName [00:17:00]name=ofd_packets/00024298 [00:17:00]OFD Sender: To server: pG, [00:17:00]CommunicateWithHost lk.salyk.kg:30040 [00:17:00]ConnectInit lk.salyk.kg [00:17:00]written 0, free lines is 4095 [00:17:00]Connected sock=9 [00:17:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 A2 01 00 00 4F EE 9A 01 75 96 5A 03 01 00 03 00 8E 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 33 32 36 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 65 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 02 00 00 00 F4 03 04 00 82 9D 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EA 5E 00 00 35 04 06 00 57 99 B1 2F 99 EA 00 96 C9 86 DF F1 B4 78 [00:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 F6 22 47 00 1E 82 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EA 5E 00 00 F4 03 04 00 19 49 15 67 B6 04 01 00 00 CF 4B 9C D6 8A 0E 66 31 [00:17:00]CommunicateWithHost err = 0 [00:17:00]CheckOFDResponse [00:17:00]1017 (14) - 77093643461234 [00:17:00]1041 (16) - 0000000000965420 [00:17:00]1040 (4) - 24298 [00:17:00]1012 (4) - 20.10.2024 18:16 [00:17:00]1206 (1) - 0 [00:17:00]OFD Sender: Remove packet 24298 [00:17:00]ProducePacketName [00:17:00]name=ofd_packets/00024298 [00:17:00]NVStorageDeleteData [00:17:01]Write to MH i2c: 01 00 00 1C 23 3F [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: 01 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: 01 07 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: 01 07 00 1C 23 00 00 00 00 00 BF 0C 11 [00:17:01]RasterBufferAndPrint [00:17:01]line [00:17:01]line [00:17:01]line [00:17:01]line [00:17:01]line [00:17:01]written 0, free lines is 3272 [00:17:01]process_action close_receipt done [00:17:01]requested_data is exist [00:17:01]produce_requested_data [00:17:01]requested_item fm.sn is exist - process it [00:17:01]wFMCommunicate request_size=4 [00:17:01]MH_SAM_APDU [00:17:01]CAPDU: 80 11 00 00 [00:17:01]Write to MH i2c: E2 08 00 23 23 80 11 00 00 00 00 00 00 C0 [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:17:01]Read from MH i2c: E2 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 17 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 17 00 23 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0D [00:17:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:17:01]wFMCommunicate OK [00:17:01]requested_item fd.num is exist - process it [00:17:01]SAM_PROTO_GetFieldsCounters [00:17:01]wFMCommunicate request_size=4 [00:17:01]MH_SAM_APDU [00:17:01]CAPDU: 80 13 00 00 [00:17:01]Write to MH i2c: E2 08 00 24 23 80 13 00 00 00 00 00 00 C3 [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:17:01]Read from MH i2c: E2 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 62 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 62 00 24 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EA 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [00:17:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EA 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:17:01]wFMCommunicate OK [00:17:01]SAM_PROTO_GetFieldsCounters done [00:17:01]requested_item shift.num is exist - process it [00:17:01]requested_item shift.opened is exist - process it [00:17:01]req_shift_opened [00:17:01]FM_GetShiftState [00:17:01]SAM_PROTO_GetShiftState [00:17:01]wFMCommunicate request_size=4 [00:17:01]MH_SAM_APDU [00:17:01]CAPDU: 80 13 01 00 [00:17:01]Write to MH i2c: E2 08 00 25 23 80 13 01 00 00 00 00 00 C5 [00:17:01]Write i2c OK [00:17:01]MH_I2C_Read... [00:17:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:01]Read from MH i2c: E2 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 0E 00 [00:17:01]MH_I2C_Read... [00:17:01]Read from MH i2c: E2 0E 00 25 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 0F [00:17:01]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:17:01]wFMCommunicate OK [00:17:01]SAM_PROTO_GetShiftState done [00:17:01]FM_GetShiftState done [00:17:01]req_shift_opened done [00:17:01]requested_item shift.open_date is exist - process it [00:17:01]req_shift_open_date [00:17:01]req_shift_open_date done [00:17:01]produce_requested_data done [00:17:01]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24298,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [00:17:01]process_action_free close_receipt [00:17:01]json_value_free [00:17:01]json_value_free done [00:17:01]process_json_proto returns [00:17:01]Send response to host [00:17:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24298,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [00:17:01]free response buf [00:17:01]execute_script done [00:17:01]execute_script returns [00:17:01]free content buf [00:17:01]Sock 7.Close socket [00:17:01]Sock 7.Thread stoped [00:17:01]OFD Sender: No OFD packet to send [00:17:06]OFD Sender: No OFD packet to send [00:17:11]OFD Sender: No OFD packet to send [00:17:16]OFD Sender: No OFD packet to send [00:17:21]OFD Sender: No OFD packet to send [00:17:26]OFD Sender: No OFD packet to send [00:17:31]OFD Sender: No OFD packet to send [00:17:36]OFD Sender: No OFD packet to send [00:17:41]OFD Sender: No OFD packet to send [00:17:46]OFD Sender: No OFD packet to send [00:17:51]OFD Sender: No OFD packet to send [00:17:56]OFD Sender: No OFD packet to send [00:18:01]OFD Sender: No OFD packet to send [00:18:06]OFD Sender: No OFD packet to send [00:18:11]OFD Sender: No OFD packet to send [00:18:16]OFD Sender: No OFD packet to send [00:18:21]OFD Sender: No OFD packet to send [00:18:26]OFD Sender: No OFD packet to send [00:18:31]OFD Sender: No OFD packet to send [00:18:36]OFD Sender: No OFD packet to send [00:18:41]OFD Sender: No OFD packet to send [00:18:46]OFD Sender: No OFD packet to send [00:18:51]OFD Sender: No OFD packet to send [00:18:56]OFD Sender: No OFD packet to send [00:19:01]OFD Sender: No OFD packet to send [00:19:06]OFD Sender: No OFD packet to send [00:19:11]OFD Sender: No OFD packet to send [00:19:16]OFD Sender: No OFD packet to send [00:19:21]OFD Sender: No OFD packet to send [00:19:26]OFD Sender: No OFD packet to send [00:19:31]OFD Sender: No OFD packet to send [00:19:36]OFD Sender: No OFD packet to send [00:19:41]OFD Sender: No OFD packet to send [00:19:46]OFD Sender: No OFD packet to send [00:19:51]OFD Sender: No OFD packet to send [00:19:56]OFD Sender: No OFD packet to send [00:20:01]OFD Sender: No OFD packet to send [00:20:06]OFD Sender: No OFD packet to send [00:20:11]OFD Sender: No OFD packet to send [00:20:16]OFD Sender: No OFD packet to send [00:20:21]OFD Sender: No OFD packet to send [00:20:26]OFD Sender: No OFD packet to send [00:20:31]OFD Sender: No OFD packet to send [00:20:36]OFD Sender: No OFD packet to send [00:20:41]OFD Sender: No OFD packet to send [00:20:46]OFD Sender: No OFD packet to send [00:20:51]OFD Sender: No OFD packet to send [00:20:56]OFD Sender: No OFD packet to send [00:21:01]OFD Sender: No OFD packet to send [00:21:06]OFD Sender: No OFD packet to send [00:21:11]OFD Sender: No OFD packet to send [00:21:16]OFD Sender: No OFD packet to send [00:21:21]OFD Sender: No OFD packet to send [00:21:26]OFD Sender: No OFD packet to send [00:21:31]OFD Sender: No OFD packet to send [00:21:36]OFD Sender: No OFD packet to send [00:21:41]OFD Sender: No OFD packet to send [00:21:46]OFD Sender: No OFD packet to send [00:21:51]OFD Sender: No OFD packet to send [00:21:56]OFD Sender: No OFD packet to send [00:22:01]OFD Sender: No OFD packet to send [00:22:06]OFD Sender: No OFD packet to send [00:22:11]OFD Sender: No OFD packet to send [00:22:16]OFD Sender: No OFD packet to send [00:22:21]OFD Sender: No OFD packet to send [00:22:26]OFD Sender: No OFD packet to send [00:22:31]OFD Sender: No OFD packet to send [00:22:36]OFD Sender: No OFD packet to send [00:22:41]OFD Sender: No OFD packet to send [00:22:46]OFD Sender: No OFD packet to send [00:22:51]OFD Sender: No OFD packet to send [00:22:56]OFD Sender: No OFD packet to send [00:23:01]OFD Sender: No OFD packet to send [00:23:06]OFD Sender: No OFD packet to send [00:23:11]OFD Sender: No OFD packet to send [00:23:16]OFD Sender: No OFD packet to send [00:23:21]OFD Sender: No OFD packet to send [00:23:26]OFD Sender: No OFD packet to send [00:23:31]OFD Sender: No OFD packet to send [00:23:36]OFD Sender: No OFD packet to send [00:23:41]OFD Sender: No OFD packet to send [00:23:46]OFD Sender: No OFD packet to send [00:23:51]OFD Sender: No OFD packet to send [00:23:56]OFD Sender: No OFD packet to send [00:24:01]OFD Sender: No OFD packet to send [00:24:06]OFD Sender: No OFD packet to send [00:24:11]OFD Sender: No OFD packet to send [00:24:16]OFD Sender: No OFD packet to send [00:24:21]OFD Sender: No OFD packet to send [00:24:26]OFD Sender: No OFD packet to send [00:24:31]OFD Sender: No OFD packet to send [00:24:36]OFD Sender: No OFD packet to send [00:24:41]OFD Sender: No OFD packet to send [00:24:46]OFD Sender: No OFD packet to send [00:24:51]OFD Sender: No OFD packet to send [00:24:56]OFD Sender: No OFD packet to send [00:25:01]OFD Sender: No OFD packet to send [00:25:06]OFD Sender: No OFD packet to send [00:25:11]OFD Sender: No OFD packet to send [00:25:16]OFD Sender: No OFD packet to send [00:25:21]OFD Sender: No OFD packet to send [00:25:26]OFD Sender: No OFD packet to send [00:25:31]OFD Sender: No OFD packet to send [00:25:36]OFD Sender: No OFD packet to send [00:25:41]OFD Sender: No OFD packet to send [00:25:46]OFD Sender: No OFD packet to send [00:25:51]OFD Sender: No OFD packet to send [00:25:56]OFD Sender: No OFD packet to send [00:26:01]OFD Sender: No OFD packet to send [00:26:06]OFD Sender: No OFD packet to send [00:26:11]OFD Sender: No OFD packet to send [00:26:16]OFD Sender: No OFD packet to send [00:26:21]OFD Sender: No OFD packet to send [00:26:26]OFD Sender: No OFD packet to send [00:26:31]OFD Sender: No OFD packet to send [00:26:36]OFD Sender: No OFD packet to send [00:26:41]OFD Sender: No OFD packet to send [00:26:46]OFD Sender: No OFD packet to send [00:26:51]OFD Sender: No OFD packet to send [00:26:56]OFD Sender: No OFD packet to send [00:27:01]OFD Sender: No OFD packet to send [00:27:06]OFD Sender: No OFD packet to send [00:27:11]OFD Sender: No OFD packet to send [00:27:16]OFD Sender: No OFD packet to send [00:27:21]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:06]OFD Sender: No OFD packet to send [00:28:11]OFD Sender: No OFD packet to send [00:28:16]OFD Sender: No OFD packet to send [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:16]OFD Sender: No OFD packet to send [00:29:21]OFD Sender: No OFD packet to send [00:29:26]OFD Sender: No OFD packet to send [00:29:31]OFD Sender: No OFD packet to send [00:29:36]OFD Sender: No OFD packet to send [00:29:41]OFD Sender: No OFD packet to send [00:29:46]OFD Sender: No OFD packet to send [00:29:51]OFD Sender: No OFD packet to send [00:29:56]OFD Sender: No OFD packet to send [00:30:01]OFD Sender: No OFD packet to send [00:30:06]OFD Sender: No OFD packet to send [00:30:11]OFD Sender: No OFD packet to send [00:30:16]OFD Sender: No OFD packet to send [00:30:21]OFD Sender: No OFD packet to send [00:30:26]OFD Sender: No OFD packet to send [00:30:31]OFD Sender: No OFD packet to send [00:30:36]OFD Sender: No OFD packet to send [00:30:41]OFD Sender: No OFD packet to send [00:30:46]OFD Sender: No OFD packet to send [00:30:51]OFD Sender: No OFD packet to send [00:30:56]OFD Sender: No OFD packet to send [00:31:01]OFD Sender: No OFD packet to send [00:31:06]OFD Sender: No OFD packet to send [00:31:11]OFD Sender: No OFD packet to send [00:31:16]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:17]OFD Sender: No OFD packet to send [00:34:20]accept exits with 10 [00:34:20]New connection [00:34:20]New thread 3067100516 created [00:34:20]Thread 3067243876 joined [00:34:20]Waiting for new connection... [00:34:20] Sock 10.Parse request [00:34:20]Sock 10.Check first char [00:34:20]Sock 10.First char is OK [00:34:20]request: POST /json_proto HTTP/1.0 [00:34:20]Method: POST [00:34:20]URL: /json_proto [00:34:20]Method is POST - this is cgi request [00:34:20]url: /json_proto [00:34:20]query_string will be loaded in cgi processing [00:34:20]execute_cgi json_proto POST (null) [00:34:20]execute_cgi path=json_proto method=POST [00:34:20]POST find Content-Length [00:34:20]Host: 172.17.50.4:8080 [00:34:20]Content-Length: 622 [00:34:20]Content-Type: application/json [00:34:20] [00:34:20]POST finish read [00:34:20]Found Content-Length = 622 [00:34:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134823", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:20]execute_script... [00:34: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)134823", "tax_sys" : 0, "items" : [ { "code": "46230614", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Red Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 154.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:34:20]POST & json_proto [00:34:20]process_json_proto [00:34:20]json parsed OK: [00:34:20]protocol is kg_v1.0 [00:34:20]action value=close_receipt [00:34:20]process_action close_receipt [00:34:20]cmd_close_receipt [00:34:20]MH_GetDate [00:34:20]Write to MH i2c: F0 00 00 26 23 38 [00:34:20]Write i2c OK [00:34:20]MH_I2C_Read... [00:34:20]Read from MH i2c: F0 [00:34:20]MH_I2C_Read... [00:34:20]Read from MH i2c: F0 09 00 [00:34:20]MH_I2C_Read... [00:34:20]Read from MH i2c: F0 09 00 26 23 00 94 A1 15 67 1D BB 13 67 44 [00:34:20]GetLastDocTimeStamp 1729469826 [00:34:20]current date 1729470868 [00:34:20]FM_GetShiftState [00:34:20]SAM_PROTO_GetShiftState [00:34:20]wFMCommunicate request_size=4 [00:34:20]MH_SAM_APDU [00:34:20]CAPDU: 80 13 01 00 [00:34:20]Write to MH i2c: E2 08 00 27 23 80 13 01 00 00 00 00 00 C7 [00:34:20]Write i2c OK [00:34:20]MH_I2C_Read... [00:34:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:20]Read from MH i2c: E2 [00:34:20]MH_I2C_Read... [00:34:20]Read from MH i2c: E2 0E 00 [00:34:20]MH_I2C_Read... [00:34:20]Read from MH i2c: E2 0E 00 27 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 11 [00:34:20]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:34:20]wFMCommunicate OK [00:34:20]SAM_PROTO_GetShiftState done [00:34:20]FM_GetShiftState done [00:34:20]opened in 1729469223 [00:34:20]opened+sec_in_day 1729555623 [00:34:20]quantity*price = 15400 [00:34:20]sum+1 = 15401 [00:34:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 154.00 НСП 1% : 1.36 НДС 12% : 16.35 Наличными: 154.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 3 21.10.2024 00:34 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24299 ФПД: 188090549941851 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T003428&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24299&fm=188090549941851&tin=02508201610067®Number=0000000000098120&sum=15400 0 [00:34:21]StoreToDocumentArchive [00:34:21]shift 461 fd 24299 [00:34:21]save to /storage/0461/doc_00024299 [00:34:21]save last doc name /storage/0461/doc_00024299 to /storage/kkm_last_doc_name [00:34:21]save OK [00:34:21]Clear old archive folders... [00:34:21]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:34:21]tlvbuf is 0201E030 [00:34:21]SAM_PROTO_ClearQueue [00:34:21]wFMCommunicate request_size=4 [00:34:21]MH_SAM_APDU [00:34:21]CAPDU: 80 09 00 00 [00:34:21]Write to MH i2c: E2 08 00 34 23 80 09 00 00 00 00 00 00 C9 [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 34 23 00 90 00 CB [00:34:21]RAPDU: 90 00 [00:34:21]wFMCommunicate OK [00:34:21]SAM_PROTO_ClearQueue done [00:34:21]KKMCreateOFDPacket [00:34:21]OFDProtocolAddRootSTLVToBuf [00:34:21]FM_MakeSignedData [00:34:21]FM_MakeSignedData [00:34:21]SAM_PROTO_SignData [00:34:21]wFMCommunicate request_size=4 [00:34:21]MH_SAM_APDU [00:34:21]CAPDU: 80 0D 01 02 [00:34:21]Write to MH i2c: E2 08 00 35 23 80 0D 01 02 00 00 00 00 D1 [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 35 23 00 90 00 CC [00:34:21]RAPDU: 90 00 [00:34:21]wFMCommunicate OK [00:34:21]wFMCommunicate request_size=255 [00:34:21]MH_SAM_APDU [00:34:21]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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 94 A1 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 [00:34:21]Write to MH i2c: E2 02 01 36 23 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 94 A1 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 00 00 DB [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 36 23 00 90 00 CD [00:34:21]RAPDU: 90 00 [00:34:21]wFMCommunicate OK [00:34:21]wFMCommunicate request_size=33 [00:34:21]MH_SAM_APDU [00:34:21]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EB 5E 00 00 35 04 06 00 AB 11 3E 6A 36 5B [00:34:21]Write to MH i2c: E2 24 00 37 23 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EB 5E 00 00 35 04 06 00 AB 11 3E 6A 36 5B 00 00 9B [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 03 00 37 23 00 90 00 CE [00:34:21]RAPDU: 90 00 [00:34:21]wFMCommunicate OK [00:34:21]wFMCommunicate request_size=4 [00:34:21]MH_SAM_APDU [00:34:21]CAPDU: 80 0D 03 02 [00:34:21]Write to MH i2c: E2 08 00 38 23 80 0D 03 02 00 00 00 00 D6 [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 0B 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 0B 00 38 23 00 0E 5B 87 D3 57 0F 48 2B 90 00 73 [00:34:21]RAPDU: 0E 5B 87 D3 57 0F 48 2B 90 00 [00:34:21]wFMCommunicate OK [00:34:21]SAM_PROTO_SignData done [00:34:21]FM_MakeSignedData done [00:34:21]CreateOFDProtocolMessage [00:34:21]wFMCommunicate request_size=4 [00:34:21]MH_SAM_APDU [00:34:21]CAPDU: 80 11 00 00 [00:34:21]Write to MH i2c: E2 08 00 39 23 80 11 00 00 00 00 00 00 D6 [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:21]Read from MH i2c: E2 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 17 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: E2 17 00 39 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [00:34:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:34:21]wFMCommunicate OK [00:34:21]CreateOFDProtocolMessage done [00:34:21]OFDSenderStorePacket 24299 [00:34:21]StoreOFDPacket docnum=24299 [00:34:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 E8 6E 1E 01 0A C8 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 94 A1 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EB 5E 00 00 35 04 06 00 AB 11 3E 6A 36 5B 0E 5B 87 D3 57 0F 48 2B [00:34:21]CheckFolder [00:34:21]dirname=/storage/ofd_packets [00:34:21]CheckFolder done [00:34:21]ProducePacketName [00:34:21]name=ofd_packets/00024299 [00:34:21]NVStorageSaveData ofd_packets/00024299 [00:34:21]File name is /storage/ofd_packets/00024299 [00:34:21]Write 324 bytes [00:34:21]NVStorageSaveData done [00:34:21]OFDSenderStorePacket done [00:34:21]KKMCreateOFDPacket done [00:34:21]NVStorageSaveData kkm_last_timestamp [00:34:21]File name is /storage/kkm_last_timestamp [00:34:21]Write 4 bytes [00:34:21]NVStorageSaveData done [00:34:21]ExternCall_PrintAddStr [00:34:21]wPrintStart [00:34:21]Write to MH i2c: 01 00 00 3A 23 5D [00:34:21]Write i2c OK [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: 01 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: 01 07 00 [00:34:21]MH_I2C_Read... [00:34:21]Read from MH i2c: 01 07 00 3A 23 00 00 00 00 00 FF 0F 72 [00:34:21]RasterBufferAndPrint [00:34:21]line Счет N : (3)134823 [00:34:21]line ИНН: 02508201610067 [00:34:21]line Контрольно-Кассовый Чек [00:34:21]line ПРОДАЖА [00:34:21]line Товар: 46230614 [00:34:21]line Сигареты Richmond Red Edition [00:34:21]line 1.000 * 154.00 [00:34:21]line = 154.00 [00:34:21]line НДС 12% НСП 1% [00:34:21]line > о реализуемом товаре [00:34:21]line ИТОГО: 154.00 [00:34:21]line НСП 1% : 1.36 [00:34:21]line НДС 12% : 16.35 [00:34:21]line Наличными: 154.00 [00:34:21]line Безнал.: 0.00 [00:34:21]line Место: АЗС № 85 "Партнер Нефть" [00:34:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:34:21]line СНО: Общий режим [00:34:21]line Чек 3 21.10.2024 00:34 [00:34:21]line Смена: 461 ФФД: 1.0 [00:34:21]line ЗНМ: 0300000166 [00:34:21]line РНМ: 0000000000098120 [00:34:21]line Версия ККМ: 001 [00:34:21]line ФМ: 0000000000965420 [00:34:21]line ФД: 24299 [00:34:21]line ФПД: 188090549941851 [00:34:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T003428&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24299&fm=188090549941851&tin=02508201610067®Number=0000000000098120&sum=15400 [00:34:21]line 0 [00:34:22]written 0, free lines is 4095 [00:34:22]OFD Sender: Processing packet 24299 [packets to send 5, broken 4] [00:34:22]ProducePacketName [00:34:22]name=ofd_packets/00024299 [00:34:22]OFD Sender: To server: pG, [00:34:22]CommunicateWithHost lk.salyk.kg:30040 [00:34:22]ConnectInit lk.salyk.kg [00:34:22]Connected sock=9 [00:34:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 26 01 00 00 E8 6E 1E 01 0A C8 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 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 88 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 63 06 00 00 00 00 07 04 06 00 28 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 94 A1 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EB 5E 00 00 35 04 06 00 AB 11 3E 6A 36 5B 0E 5B 87 D3 57 0F 48 2B [00:34:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 C1 0B 47 00 07 06 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EB 5E 00 00 F4 03 04 00 2B 4D 15 67 B6 04 01 00 00 06 8F 4E C0 53 41 FA 8C [00:34:22]CommunicateWithHost err = 0 [00:34:22]CheckOFDResponse [00:34:22]1017 (14) - 77093643461234 [00:34:22]1041 (16) - 0000000000965420 [00:34:22]1040 (4) - 24299 [00:34:22]1012 (4) - 20.10.2024 18:34 [00:34:22]1206 (1) - 0 [00:34:22]OFD Sender: Remove packet 24299 [00:34:22]ProducePacketName [00:34:22]name=ofd_packets/00024299 [00:34:22]NVStorageDeleteData [00:34:22]Write to MH i2c: 01 00 00 63 23 86 [00:34:22]Write i2c OK [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: 01 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: 01 07 00 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: 01 07 00 63 23 00 00 00 00 00 07 0D A1 [00:34:22]RasterBufferAndPrint [00:34:22]line [00:34:22]line [00:34:22]line [00:34:22]line [00:34:22]line [00:34:22]written 0, free lines is 3344 [00:34:22]process_action close_receipt done [00:34:22]requested_data is exist [00:34:22]produce_requested_data [00:34:22]requested_item fm.sn is exist - process it [00:34:22]wFMCommunicate request_size=4 [00:34:22]MH_SAM_APDU [00:34:22]CAPDU: 80 11 00 00 [00:34:22]Write to MH i2c: E2 08 00 6A 23 80 11 00 00 00 00 00 00 07 [00:34:22]Write i2c OK [00:34:22]MH_I2C_Read... [00:34:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:34:22]Read from MH i2c: E2 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 17 00 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 17 00 6A 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 54 [00:34:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:34:22]wFMCommunicate OK [00:34:22]requested_item fd.num is exist - process it [00:34:22]SAM_PROTO_GetFieldsCounters [00:34:22]wFMCommunicate request_size=4 [00:34:22]MH_SAM_APDU [00:34:22]CAPDU: 80 13 00 00 [00:34:22]Write to MH i2c: E2 08 00 6B 23 80 13 00 00 00 00 00 00 0A [00:34:22]Write i2c OK [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 [00:34:22]MH_I2C_Read... [00:34:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:34:22]Read from MH i2c: E2 62 00 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 62 00 6B 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EB 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 40 [00:34:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EB 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:34:22]wFMCommunicate OK [00:34:22]SAM_PROTO_GetFieldsCounters done [00:34:22]requested_item shift.num is exist - process it [00:34:22]requested_item shift.opened is exist - process it [00:34:22]req_shift_opened [00:34:22]FM_GetShiftState [00:34:22]SAM_PROTO_GetShiftState [00:34:22]wFMCommunicate request_size=4 [00:34:22]MH_SAM_APDU [00:34:22]CAPDU: 80 13 01 00 [00:34:22]Write to MH i2c: E2 08 00 6C 23 80 13 01 00 00 00 00 00 0C [00:34:22]Write i2c OK [00:34:22]MH_I2C_Read... [00:34:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:34:22]Read from MH i2c: E2 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 0E 00 [00:34:22]MH_I2C_Read... [00:34:22]Read from MH i2c: E2 0E 00 6C 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 56 [00:34:22]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [00:34:22]wFMCommunicate OK [00:34:22]SAM_PROTO_GetShiftState done [00:34:22]FM_GetShiftState done [00:34:22]req_shift_opened done [00:34:22]requested_item shift.open_date is exist - process it [00:34:22]req_shift_open_date [00:34:22]req_shift_open_date done [00:34:22]produce_requested_data done [00:34:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24299,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [00:34:22]process_action_free close_receipt [00:34:22]json_value_free [00:34:22]json_value_free done [00:34:22]process_json_proto returns [00:34:22]Send response to host [00:34:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24299,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [00:34:22]free response buf [00:34:22]execute_script done [00:34:22]execute_script returns [00:34:22]free content buf [00:34:22]Sock 10.Close socket [00:34:22]Sock 10.Thread stoped [00:34:22]OFD Sender: No OFD packet to send [00:34:27]OFD Sender: No OFD packet to send [00:34:32]OFD Sender: No OFD packet to send [00:34:37]OFD Sender: No OFD packet to send [00:34:42]OFD Sender: No OFD packet to send [00:34:47]OFD Sender: No OFD packet to send [00:34:52]OFD Sender: No OFD packet to send [00:34:57]OFD Sender: No OFD packet to send [00:35:03]OFD Sender: No OFD packet to send [00:35:08]OFD Sender: No OFD packet to send [00:35:13]OFD Sender: No OFD packet to send [00:35:18]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:38]OFD Sender: No OFD packet to send [00:35:43]OFD Sender: No OFD packet to send [00:35:48]OFD Sender: No OFD packet to send [00:35:53]OFD Sender: No OFD packet to send [00:35:58]OFD Sender: No OFD packet to send [00:36:03]OFD Sender: No OFD packet to send [00:36:08]OFD Sender: No OFD packet to send [00:36:13]OFD Sender: No OFD packet to send [00:36:18]OFD Sender: No OFD packet to send [00:36:23]OFD Sender: No OFD packet to send [00:36:28]OFD Sender: No OFD packet to send [00:36:33]OFD Sender: No OFD packet to send [00:36:38]OFD Sender: No OFD packet to send [00:36:43]OFD Sender: No OFD packet to send [00:36:48]OFD Sender: No OFD packet to send [00:36:53]OFD Sender: No OFD packet to send [00:36:58]OFD Sender: No OFD packet to send [00:37:03]OFD Sender: No OFD packet to send [00:37:08]OFD Sender: No OFD packet to send [00:37:13]OFD Sender: No OFD packet to send [00:37:18]OFD Sender: No OFD packet to send [00:37:23]OFD Sender: No OFD packet to send [00:37:28]OFD Sender: No OFD packet to send [00:37:33]OFD Sender: No OFD packet to send [00:37:38]OFD Sender: No OFD packet to send [00:37:43]OFD Sender: No OFD packet to send [00:37:48]OFD Sender: No OFD packet to send [00:37:53]OFD Sender: No OFD packet to send [00:37:58]OFD Sender: No OFD packet to send [00:38:03]OFD Sender: No OFD packet to send [00:38:08]OFD Sender: No OFD packet to send [00:38:13]OFD Sender: No OFD packet to send [00:38:18]OFD Sender: No OFD packet to send [00:38:23]OFD Sender: No OFD packet to send [00:38:28]OFD Sender: No OFD packet to send [00:38:33]OFD Sender: No OFD packet to send [00:38:38]OFD Sender: No OFD packet to send [00:38:43]OFD Sender: No OFD packet to send [00:38:48]OFD Sender: No OFD packet to send [00:38:53]OFD Sender: No OFD packet to send [00:38:58]OFD Sender: No OFD packet to send [00:39:03]OFD Sender: No OFD packet to send [00:39:08]OFD Sender: No OFD packet to send [00:39:13]OFD Sender: No OFD packet to send [00:39:18]OFD Sender: No OFD packet to send [00:39:23]OFD Sender: No OFD packet to send [00:39:28]OFD Sender: No OFD packet to send [00:39:33]OFD Sender: No OFD packet to send [00:39:38]OFD Sender: No OFD packet to send [00:39:43]OFD Sender: No OFD packet to send [00:39:48]OFD Sender: No OFD packet to send [00:39:53]OFD Sender: No OFD packet to send [00:39:58]OFD Sender: No OFD packet to send [00:40:03]OFD Sender: No OFD packet to send [00:40:08]OFD Sender: No OFD packet to send [00:40:13]OFD Sender: No OFD packet to send [00:40:18]OFD Sender: No OFD packet to send [00:40:23]OFD Sender: No OFD packet to send [00:40:28]OFD Sender: No OFD packet to send [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:28]OFD Sender: No OFD packet to send [00:41:33]OFD Sender: No OFD packet to send [00:41:38]OFD Sender: No OFD packet to send [00:41:43]OFD Sender: No OFD packet to send [00:41:48]OFD Sender: No OFD packet to send [00:41:53]OFD Sender: No OFD packet to send [00:41:58]OFD Sender: No OFD packet to send [00:42:03]OFD Sender: No OFD packet to send [00:42:08]OFD Sender: No OFD packet to send [00:42:13]OFD Sender: No OFD packet to send [00:42:18]OFD Sender: No OFD packet to send [00:42:23]OFD Sender: No OFD packet to send [00:42:28]OFD Sender: No OFD packet to send [00:42:33]OFD Sender: No OFD packet to send [00:42:38]OFD Sender: No OFD packet to send [00:42:43]OFD Sender: No OFD packet to send [00:42:48]OFD Sender: No OFD packet to send [00:42:53]OFD Sender: No OFD packet to send [00:42:58]OFD Sender: No OFD packet to send [00:43:03]OFD Sender: No OFD packet to send [00:43:08]OFD Sender: No OFD packet to send [00:43:13]OFD Sender: No OFD packet to send [00:43:18]OFD Sender: No OFD packet to send [00:43:23]OFD Sender: No OFD packet to send [00:43:28]OFD Sender: No OFD packet to send [00:43:33]OFD Sender: No OFD packet to send [00:43:38]OFD Sender: No OFD packet to send [00:43:43]OFD Sender: No OFD packet to send [00:43:48]OFD Sender: No OFD packet to send [00:43:53]OFD Sender: No OFD packet to send [00:43:58]OFD Sender: No OFD packet to send [00:44:03]OFD Sender: No OFD packet to send [00:44:08]OFD Sender: No OFD packet to send [00:44:13]OFD Sender: No OFD packet to send [00:44:18]OFD Sender: No OFD packet to send [00:44:23]OFD Sender: No OFD packet to send [00:44:28]OFD Sender: No OFD packet to send [00:44:33]OFD Sender: No OFD packet to send [00:44:38]OFD Sender: No OFD packet to send [00:44:43]OFD Sender: No OFD packet to send [00:44:48]OFD Sender: No OFD packet to send [00:44:53]OFD Sender: No OFD packet to send [00:44:58]OFD Sender: No OFD packet to send [00:45:03]OFD Sender: No OFD packet to send [00:45:08]OFD Sender: No OFD packet to send [00:45:13]OFD Sender: No OFD packet to send [00:45:18]OFD Sender: No OFD packet to send [00:45:23]OFD Sender: No OFD packet to send [00:45:28]OFD Sender: No OFD packet to send [00:45:33]OFD Sender: No OFD packet to send [00:45:38]OFD Sender: No OFD packet to send [00:45:43]OFD Sender: No OFD packet to send [00:45:48]OFD Sender: No OFD packet to send [00:45:53]OFD Sender: No OFD packet to send [00:45:58]OFD Sender: No OFD packet to send [00:46:03]OFD Sender: No OFD packet to send [00:46:08]OFD Sender: No OFD packet to send [00:46:13]OFD Sender: No OFD packet to send [00:46:18]OFD Sender: No OFD packet to send [00:46:23]OFD Sender: No OFD packet to send [00:46:28]OFD Sender: No OFD packet to send [00:46:33]OFD Sender: No OFD packet to send [00:46:38]OFD Sender: No OFD packet to send [00:46:43]OFD Sender: No OFD packet to send [00:46:48]OFD Sender: No OFD packet to send [00:46:53]OFD Sender: No OFD packet to send [00:46:58]OFD Sender: No OFD packet to send [00:47:03]OFD Sender: No OFD packet to send [00:47:08]OFD Sender: No OFD packet to send [00:47:13]OFD Sender: No OFD packet to send [00:47:18]OFD Sender: No OFD packet to send [00:47:23]OFD Sender: No OFD packet to send [00:47:28]OFD Sender: No OFD packet to send [00:47:33]OFD Sender: No OFD packet to send [00:47:38]OFD Sender: No OFD packet to send [00:47:43]OFD Sender: No OFD packet to send [00:47:48]OFD Sender: No OFD packet to send [00:47:53]OFD Sender: No OFD packet to send [00:47:58]OFD Sender: No OFD packet to send [00:48:03]OFD Sender: No OFD packet to send [00:48:08]OFD Sender: No OFD packet to send [00:48:13]OFD Sender: No OFD packet to send [00:48:18]OFD Sender: No OFD packet to send [00:48:23]OFD Sender: No OFD packet to send [00:48:28]OFD Sender: No OFD packet to send [00:48:33]OFD Sender: No OFD packet to send [00:48:38]OFD Sender: No OFD packet to send [00:48:43]OFD Sender: No OFD packet to send [00:48:48]OFD Sender: No OFD packet to send [00:48:53]OFD Sender: No OFD packet to send [00:48:58]OFD Sender: No OFD packet to send [00:49:03]OFD Sender: No OFD packet to send [00:49:08]OFD Sender: No OFD packet to send [00:49:13]OFD Sender: No OFD packet to send [00:49:18]OFD Sender: No OFD packet to send [00:49:23]OFD Sender: No OFD packet to send [00:49:28]OFD Sender: No OFD packet to send [00:49:33]OFD Sender: No OFD packet to send [00:49:38]OFD Sender: No OFD packet to send [00:49:43]OFD Sender: No OFD packet to send [00:49:48]OFD Sender: No OFD packet to send [00:49:53]OFD Sender: No OFD packet to send [00:49:58]OFD Sender: No OFD packet to send [00:50:03]OFD Sender: No OFD packet to send [00:50:08]OFD Sender: No OFD packet to send [00:50:13]OFD Sender: No OFD packet to send [00:50:18]OFD Sender: No OFD packet to send [00:50:23]OFD Sender: No OFD packet to send [00:50:28]OFD Sender: No OFD packet to send [00:50:33]OFD Sender: No OFD packet to send [00:50:38]OFD Sender: No OFD packet to send [00:50:43]OFD Sender: No OFD packet to send [00:50:48]OFD Sender: No OFD packet to send [00:50:53]OFD Sender: No OFD packet to send [00:50:58]OFD Sender: No OFD packet to send [00:51:03]OFD Sender: No OFD packet to send [00:51:08]OFD Sender: No OFD packet to send [00:51:13]OFD Sender: No OFD packet to send [00:51:18]OFD Sender: No OFD packet to send [00:51:23]OFD Sender: No OFD packet to send [00:51:28]OFD Sender: No OFD packet to send [00:51:33]OFD Sender: No OFD packet to send [00:51:38]OFD Sender: No OFD packet to send [00:51:43]OFD Sender: No OFD packet to send [00:51:48]OFD Sender: No OFD packet to send [00:51:53]OFD Sender: No OFD packet to send [00:51:58]OFD Sender: No OFD packet to send [00:52:03]OFD Sender: No OFD packet to send [00:52:08]OFD Sender: No OFD packet to send [00:52:13]OFD Sender: No OFD packet to send [00:52:18]OFD Sender: No OFD packet to send [00:52:23]OFD Sender: No OFD packet to send [00:52:28]OFD Sender: No OFD packet to send [00:52:33]OFD Sender: No OFD packet to send [00:52:38]OFD Sender: No OFD packet to send [00:52:43]OFD Sender: No OFD packet to send [00:52:48]OFD Sender: No OFD packet to send [00:52:53]OFD Sender: No OFD packet to send [00:52:58]OFD Sender: No OFD packet to send [00:53:03]OFD Sender: No OFD packet to send [00:53:08]OFD Sender: No OFD packet to send [00:53:13]OFD Sender: No OFD packet to send [00:53:18]OFD Sender: No OFD packet to send [00:53:23]OFD Sender: No OFD packet to send [00:53:28]OFD Sender: No OFD packet to send [00:53:33]OFD Sender: No OFD packet to send [00:53:38]OFD Sender: No OFD packet to send [00:53:43]OFD Sender: No OFD packet to send [00:53:48]OFD Sender: No OFD packet to send [00:53:53]OFD Sender: No OFD packet to send [00:53:58]OFD Sender: No OFD packet to send [00:54:03]OFD Sender: No OFD packet to send [00:54:08]OFD Sender: No OFD packet to send [00:54:13]OFD Sender: No OFD packet to send [00:54:18]OFD Sender: No OFD packet to send [00:54:23]OFD Sender: No OFD packet to send [00:54:28]OFD Sender: No OFD packet to send [00:54:33]OFD Sender: No OFD packet to send [00:54:38]OFD Sender: No OFD packet to send [00:54:43]OFD Sender: No OFD packet to send [00:54:48]OFD Sender: No OFD packet to send [00:54:53]OFD Sender: No OFD packet to send [00:54:58]OFD Sender: No OFD packet to send [00:55:03]OFD Sender: No OFD packet to send [00:55:08]OFD Sender: No OFD packet to send [00:55:13]OFD Sender: No OFD packet to send [00:55:18]OFD Sender: No OFD packet to send [00:55:23]OFD Sender: No OFD packet to send [00:55:28]OFD Sender: No OFD packet to send [00:55:33]OFD Sender: No OFD packet to send [00:55:38]OFD Sender: No OFD packet to send [00:55:43]OFD Sender: No OFD packet to send [00:55:48]OFD Sender: No OFD packet to send [00:55:53]OFD Sender: No OFD packet to send [00:55:58]OFD Sender: No OFD packet to send [00:56:03]OFD Sender: No OFD packet to send [00:56:08]OFD Sender: No OFD packet to send [00:56:13]OFD Sender: No OFD packet to send [00:56:18]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:09]OFD Sender: No OFD packet to send [01:05:14]OFD Sender: No OFD packet to send [01:05:19]OFD Sender: No OFD packet to send [01:05:24]OFD Sender: No OFD packet to send [01:05:29]OFD Sender: No OFD packet to send [01:05:34]OFD Sender: No OFD packet to send [01:05:39]OFD Sender: No OFD packet to send [01:05:44]OFD Sender: No OFD packet to send [01:05:49]OFD Sender: No OFD packet to send [01:05:54]OFD Sender: No OFD packet to send [01:05:59]OFD Sender: No OFD packet to send [01:06:04]OFD Sender: No OFD packet to send [01:06:09]OFD Sender: No OFD packet to send [01:06:14]OFD Sender: No OFD packet to send [01:06:19]OFD Sender: No OFD packet to send [01:06:24]OFD Sender: No OFD packet to send [01:06:29]OFD Sender: No OFD packet to send [01:06:34]OFD Sender: No OFD packet to send [01:06:39]OFD Sender: No OFD packet to send [01:06:44]OFD Sender: No OFD packet to send [01:06:49]OFD Sender: No OFD packet to send [01:06:54]OFD Sender: No OFD packet to send [01:06:59]OFD Sender: No OFD packet to send [01:07:04]OFD Sender: No OFD packet to send [01:07:09]OFD Sender: No OFD packet to send [01:07:14]OFD Sender: No OFD packet to send [01:07:19]OFD Sender: No OFD packet to send [01:07:24]OFD Sender: No OFD packet to send [01:07:29]OFD Sender: No OFD packet to send [01:07:34]OFD Sender: No OFD packet to send [01:07:39]OFD Sender: No OFD packet to send [01:07:44]OFD Sender: No OFD packet to send [01:07:49]OFD Sender: No OFD packet to send [01:07:54]OFD Sender: No OFD packet to send [01:07:59]OFD Sender: No OFD packet to send [01:08:04]OFD Sender: No OFD packet to send [01:08:09]OFD Sender: No OFD packet to send [01:08:14]OFD Sender: No OFD packet to send [01:08:19]OFD Sender: No OFD packet to send [01:08:24]OFD Sender: No OFD packet to send [01:08:29]OFD Sender: No OFD packet to send [01:08:34]OFD Sender: No OFD packet to send [01:08:39]OFD Sender: No OFD packet to send [01:08:44]OFD Sender: No OFD packet to send [01:08:49]OFD Sender: No OFD packet to send [01:08:54]OFD Sender: No OFD packet to send [01:08:59]OFD Sender: No OFD packet to send [01:09:04]OFD Sender: No OFD packet to send [01:09:09]OFD Sender: No OFD packet to send [01:09:14]OFD Sender: No OFD packet to send [01:09:19]OFD Sender: No OFD packet to send [01:09:24]OFD Sender: No OFD packet to send [01:09:29]OFD Sender: No OFD packet to send [01:09:34]OFD Sender: No OFD packet to send [01:09:39]OFD Sender: No OFD packet to send [01:09:44]OFD Sender: No OFD packet to send [01:09:49]OFD Sender: No OFD packet to send [01:09:54]OFD Sender: No OFD packet to send [01:09:59]OFD Sender: No OFD packet to send [01:10:04]OFD Sender: No OFD packet to send [01:10:09]OFD Sender: No OFD packet to send [01:10:14]OFD Sender: No OFD packet to send [01:10:19]OFD Sender: No OFD packet to send [01:10:24]OFD Sender: No OFD packet to send [01:10:29]OFD Sender: No OFD packet to send [01:10:34]OFD Sender: No OFD packet to send [01:10:39]OFD Sender: No OFD packet to send [01:10:44]OFD Sender: No OFD packet to send [01:10:49]OFD Sender: No OFD packet to send [01:10:54]OFD Sender: No OFD packet to send [01:10:59]OFD Sender: No OFD packet to send [01:11:04]OFD Sender: No OFD packet to send [01:11:09]OFD Sender: No OFD packet to send [01:11:14]OFD Sender: No OFD packet to send [01:11:19]OFD Sender: No OFD packet to send [01:11:24]OFD Sender: No OFD packet to send [01:11:29]OFD Sender: No OFD packet to send [01:11:34]OFD Sender: No OFD packet to send [01:11:39]OFD Sender: No OFD packet to send [01:11:44]OFD Sender: No OFD packet to send [01:11:49]OFD Sender: No OFD packet to send [01:11:54]OFD Sender: No OFD packet to send [01:11:59]OFD Sender: No OFD packet to send [01:12:04]OFD Sender: No OFD packet to send [01:12:09]OFD Sender: No OFD packet to send [01:12:14]OFD Sender: No OFD packet to send [01:12:19]OFD Sender: No OFD packet to send [01:12:24]OFD Sender: No OFD packet to send [01:12:29]OFD Sender: No OFD packet to send [01:12:34]OFD Sender: No OFD packet to send [01:12:39]OFD Sender: No OFD packet to send [01:12:44]OFD Sender: No OFD packet to send [01:12:49]OFD Sender: No OFD packet to send [01:12:54]OFD Sender: No OFD packet to send [01:12:59]OFD Sender: No OFD packet to send [01:13:04]OFD Sender: No OFD packet to send [01:13:09]OFD Sender: No OFD packet to send [01:13:14]OFD Sender: No OFD packet to send [01:13:19]OFD Sender: No OFD packet to send [01:13:24]OFD Sender: No OFD packet to send [01:13:29]OFD Sender: No OFD packet to send [01:13:34]OFD Sender: No OFD packet to send [01:13:39]OFD Sender: No OFD packet to send [01:13:44]OFD Sender: No OFD packet to send [01:13:49]OFD Sender: No OFD packet to send [01:13:54]OFD Sender: No OFD packet to send [01:13:59]OFD Sender: No OFD packet to send [01:14:04]OFD Sender: No OFD packet to send [01:14:09]OFD Sender: No OFD packet to send [01:14:14]OFD Sender: No OFD packet to send [01:14:19]OFD Sender: No OFD packet to send [01:14:24]OFD Sender: No OFD packet to send [01:14:29]OFD Sender: No OFD packet to send [01:14:34]OFD Sender: No OFD packet to send [01:14:39]OFD Sender: No OFD packet to send [01:14:44]OFD Sender: No OFD packet to send [01:14:49]OFD Sender: No OFD packet to send [01:14:54]OFD Sender: No OFD packet to send [01:14:59]OFD Sender: No OFD packet to send [01:15:04]OFD Sender: No OFD packet to send [01:15:09]OFD Sender: No OFD packet to send [01:15:14]OFD Sender: No OFD packet to send [01:15:19]OFD Sender: No OFD packet to send [01:15:24]OFD Sender: No OFD packet to send [01:15:29]OFD Sender: No OFD packet to send [01:15:34]OFD Sender: No OFD packet to send [01:15:39]OFD Sender: No OFD packet to send [01:15:44]OFD Sender: No OFD packet to send [01:15:49]OFD Sender: No OFD packet to send [01:15:54]OFD Sender: No OFD packet to send [01:15:59]OFD Sender: No OFD packet to send [01:16:04]OFD Sender: No OFD packet to send [01:16:09]OFD Sender: No OFD packet to send [01:16:14]OFD Sender: No OFD packet to send [01:16:19]OFD Sender: No OFD packet to send [01:16:24]OFD Sender: No OFD packet to send [01:16:29]OFD Sender: No OFD packet to send [01:16:34]OFD Sender: No OFD packet to send [01:16:39]OFD Sender: No OFD packet to send [01:16:44]OFD Sender: No OFD packet to send [01:16:49]OFD Sender: No OFD packet to send [01:16:54]OFD Sender: No OFD packet to send [01:16:59]OFD Sender: No OFD packet to send [01:17:04]OFD Sender: No OFD packet to send [01:17:09]OFD Sender: No OFD packet to send [01:17:14]OFD Sender: No OFD packet to send [01:17:19]OFD Sender: No OFD packet to send [01:17:24]OFD Sender: No OFD packet to send [01:17:29]OFD Sender: No OFD packet to send [01:17:34]OFD Sender: No OFD packet to send [01:17:39]OFD Sender: No OFD packet to send [01:17:44]OFD Sender: No OFD packet to send [01:17:49]OFD Sender: No OFD packet to send [01:17:54]OFD Sender: No OFD packet to send [01:17:59]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:15]OFD Sender: No OFD packet to send [01:24:20]OFD Sender: No OFD packet to send [01:24:25]OFD Sender: No OFD packet to send [01:24:30]OFD Sender: No OFD packet to send [01:24:35]OFD Sender: No OFD packet to send [01:24:40]OFD Sender: No OFD packet to send [01:24:45]OFD Sender: No OFD packet to send [01:24:50]OFD Sender: No OFD packet to send [01:24:55]OFD Sender: No OFD packet to send [01:25:00]OFD Sender: No OFD packet to send [01:25:05]OFD Sender: No OFD packet to send [01:25:10]OFD Sender: No OFD packet to send [01:25:15]OFD Sender: No OFD packet to send [01:25:20]OFD Sender: No OFD packet to send [01:25:25]OFD Sender: No OFD packet to send [01:25:30]OFD Sender: No OFD packet to send [01:25:35]OFD Sender: No OFD packet to send [01:25:40]OFD Sender: No OFD packet to send [01:25:45]OFD Sender: No OFD packet to send [01:25:50]OFD Sender: No OFD packet to send [01:25:55]OFD Sender: No OFD packet to send [01:26:00]OFD Sender: No OFD packet to send [01:26:05]OFD Sender: No OFD packet to send [01:26:10]OFD Sender: No OFD packet to send [01:26:15]OFD Sender: No OFD packet to send [01:26:20]OFD Sender: No OFD packet to send [01:26:25]OFD Sender: No OFD packet to send [01:26:30]OFD Sender: No OFD packet to send [01:26:35]OFD Sender: No OFD packet to send [01:26:40]OFD Sender: No OFD packet to send [01:26:45]OFD Sender: No OFD packet to send [01:26:50]OFD Sender: No OFD packet to send [01:26:55]OFD Sender: No OFD packet to send [01:27:00]OFD Sender: No OFD packet to send [01:27:05]OFD Sender: No OFD packet to send [01:27:10]OFD Sender: No OFD packet to send [01:27:15]OFD Sender: No OFD packet to send [01:27:20]OFD Sender: No OFD packet to send [01:27:25]OFD Sender: No OFD packet to send [01:27:30]OFD Sender: No OFD packet to send [01:27:35]OFD Sender: No OFD packet to send [01:27:40]OFD Sender: No OFD packet to send [01:27:45]OFD Sender: No OFD packet to send [01:27:50]OFD Sender: No OFD packet to send [01:27:55]OFD Sender: No OFD packet to send [01:28:00]OFD Sender: No OFD packet to send [01:28:05]OFD Sender: No OFD packet to send [01:28:10]OFD Sender: No OFD packet to send [01:28:15]OFD Sender: No OFD packet to send [01:28:20]OFD Sender: No OFD packet to send [01:28:25]OFD Sender: No OFD packet to send [01:28:30]OFD Sender: No OFD packet to send [01:28:35]OFD Sender: No OFD packet to send [01:28:40]OFD Sender: No OFD packet to send [01:28:45]OFD Sender: No OFD packet to send [01:28:50]OFD Sender: No OFD packet to send [01:28:55]OFD Sender: No OFD packet to send [01:29:00]OFD Sender: No OFD packet to send [01:29:05]OFD Sender: No OFD packet to send [01:29:10]OFD Sender: No OFD packet to send [01:29:15]OFD Sender: No OFD packet to send [01:29:20]OFD Sender: No OFD packet to send [01:29:25]OFD Sender: No OFD packet to send [01:29:30]OFD Sender: No OFD packet to send [01:29:35]OFD Sender: No OFD packet to send [01:29:40]OFD Sender: No OFD packet to send [01:29:45]OFD Sender: No OFD packet to send [01:29:50]OFD Sender: No OFD packet to send [01:29:55]OFD Sender: No OFD packet to send [01:30:00]OFD Sender: No OFD packet to send [01:30:05]OFD Sender: No OFD packet to send [01:30:10]OFD Sender: No OFD packet to send [01:30:15]OFD Sender: No OFD packet to send [01:30:20]OFD Sender: No OFD packet to send [01:30:25]OFD Sender: No OFD packet to send [01:30:30]OFD Sender: No OFD packet to send [01:30:35]OFD Sender: No OFD packet to send [01:30:40]OFD Sender: No OFD packet to send [01:30:45]OFD Sender: No OFD packet to send [01:30:50]OFD Sender: No OFD packet to send [01:30:55]OFD Sender: No OFD packet to send [01:31:00]OFD Sender: No OFD packet to send [01:31:05]OFD Sender: No OFD packet to send [01:31:10]OFD Sender: No OFD packet to send [01:31:15]OFD Sender: No OFD packet to send [01:31:20]OFD Sender: No OFD packet to send [01:31:25]OFD Sender: No OFD packet to send [01:31:30]OFD Sender: No OFD packet to send [01:31:35]OFD Sender: No OFD packet to send [01:31:40]OFD Sender: No OFD packet to send [01:31:45]OFD Sender: No OFD packet to send [01:31:50]OFD Sender: No OFD packet to send [01:31:55]OFD Sender: No OFD packet to send [01:32:00]OFD Sender: No OFD packet to send [01:32:05]OFD Sender: No OFD packet to send [01:32:10]OFD Sender: No OFD packet to send [01:32:15]OFD Sender: No OFD packet to send [01:32:20]OFD Sender: No OFD packet to send [01:32:25]OFD Sender: No OFD packet to send [01:32:30]OFD Sender: No OFD packet to send [01:32:35]OFD Sender: No OFD packet to send [01:32:40]OFD Sender: No OFD packet to send [01:32:45]OFD Sender: No OFD packet to send [01:32:50]OFD Sender: No OFD packet to send [01:32:55]OFD Sender: No OFD packet to send [01:33:00]OFD Sender: No OFD packet to send [01:33:05]OFD Sender: No OFD packet to send [01:33:10]OFD Sender: No OFD packet to send [01:33:15]OFD Sender: No OFD packet to send [01:33:20]OFD Sender: No OFD packet to send [01:33:25]OFD Sender: No OFD packet to send [01:33:30]OFD Sender: No OFD packet to send [01:33:35]OFD Sender: No OFD packet to send [01:33:40]OFD Sender: No OFD packet to send [01:33:45]OFD Sender: No OFD packet to send [01:33:50]OFD Sender: No OFD packet to send [01:33:55]OFD Sender: No OFD packet to send [01:34:00]OFD Sender: No OFD packet to send [01:34:05]OFD Sender: No OFD packet to send [01:34:10]OFD Sender: No OFD packet to send [01:34:15]OFD Sender: No OFD packet to send [01:34:20]OFD Sender: No OFD packet to send [01:34:25]OFD Sender: No OFD packet to send [01:34:30]OFD Sender: No OFD packet to send [01:34:35]OFD Sender: No OFD packet to send [01:34:40]OFD Sender: No OFD packet to send [01:34:45]OFD Sender: No OFD packet to send [01:34:50]OFD Sender: No OFD packet to send [01:34:55]OFD Sender: No OFD packet to send [01:35:00]OFD Sender: No OFD packet to send [01:35:05]OFD Sender: No OFD packet to send [01:35:10]OFD Sender: No OFD packet to send [01:35:15]OFD Sender: No OFD packet to send [01:35:20]OFD Sender: No OFD packet to send [01:35:25]OFD Sender: No OFD packet to send [01:35:30]OFD Sender: No OFD packet to send [01:35:35]OFD Sender: No OFD packet to send [01:35:40]OFD Sender: No OFD packet to send [01:35:45]OFD Sender: No OFD packet to send [01:35:50]OFD Sender: No OFD packet to send [01:35:55]OFD Sender: No OFD packet to send [01:36:00]OFD Sender: No OFD packet to send [01:36:05]OFD Sender: No OFD packet to send [01:36:10]OFD Sender: No OFD packet to send [01:36:15]OFD Sender: No OFD packet to send [01:36:20]OFD Sender: No OFD packet to send [01:36:25]OFD Sender: No OFD packet to send [01:36:30]OFD Sender: No OFD packet to send [01:36:35]OFD Sender: No OFD packet to send [01:36:40]OFD Sender: No OFD packet to send [01:36:45]OFD Sender: No OFD packet to send [01:36:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:36]OFD Sender: No OFD packet to send [01:39:41]OFD Sender: No OFD packet to send [01:39:46]OFD Sender: No OFD packet to send [01:39:51]OFD Sender: No OFD packet to send [01:39:56]OFD Sender: No OFD packet to send [01:40:01]OFD Sender: No OFD packet to send [01:40:06]OFD Sender: No OFD packet to send [01:40:11]OFD Sender: No OFD packet to send [01:40:16]OFD Sender: No OFD packet to send [01:40:21]OFD Sender: No OFD packet to send [01:40:26]OFD Sender: No OFD packet to send [01:40:31]OFD Sender: No OFD packet to send [01:40:36]OFD Sender: No OFD packet to send [01:40:41]OFD Sender: No OFD packet to send [01:40:46]OFD Sender: No OFD packet to send [01:40:51]OFD Sender: No OFD packet to send [01:40:56]OFD Sender: No OFD packet to send [01:41:01]OFD Sender: No OFD packet to send [01:41:06]OFD Sender: No OFD packet to send [01:41:11]OFD Sender: No OFD packet to send [01:41:16]OFD Sender: No OFD packet to send [01:41:21]OFD Sender: No OFD packet to send [01:41:26]OFD Sender: No OFD packet to send [01:41:31]OFD Sender: No OFD packet to send [01:41:36]OFD Sender: No OFD packet to send [01:41:41]OFD Sender: No OFD packet to send [01:41:46]OFD Sender: No OFD packet to send [01:41:51]OFD Sender: No OFD packet to send [01:41:56]OFD Sender: No OFD packet to send [01:42:01]OFD Sender: No OFD packet to send [01:42:06]OFD Sender: No OFD packet to send [01:42:11]OFD Sender: No OFD packet to send [01:42:16]OFD Sender: No OFD packet to send [01:42:21]OFD Sender: No OFD packet to send [01:42:26]OFD Sender: No OFD packet to send [01:42:31]OFD Sender: No OFD packet to send [01:42:36]OFD Sender: No OFD packet to send [01:42:41]OFD Sender: No OFD packet to send [01:42:46]OFD Sender: No OFD packet to send [01:42:51]OFD Sender: No OFD packet to send [01:42:56]OFD Sender: No OFD packet to send [01:43:01]OFD Sender: No OFD packet to send [01:43:06]OFD Sender: No OFD packet to send [01:43:11]OFD Sender: No OFD packet to send [01:43:16]OFD Sender: No OFD packet to send [01:43:21]OFD Sender: No OFD packet to send [01:43:26]OFD Sender: No OFD packet to send [01:43:31]OFD Sender: No OFD packet to send [01:43:36]OFD Sender: No OFD packet to send [01:43:41]OFD Sender: No OFD packet to send [01:43:46]OFD Sender: No OFD packet to send [01:43:51]OFD Sender: No OFD packet to send [01:43:56]OFD Sender: No OFD packet to send [01:44:01]OFD Sender: No OFD packet to send [01:44:06]OFD Sender: No OFD packet to send [01:44:11]OFD Sender: No OFD packet to send [01:44:16]OFD Sender: No OFD packet to send [01:44:21]OFD Sender: No OFD packet to send [01:44:26]OFD Sender: No OFD packet to send [01:44:31]OFD Sender: No OFD packet to send [01:44:36]OFD Sender: No OFD packet to send [01:44:41]OFD Sender: No OFD packet to send [01:44:46]OFD Sender: No OFD packet to send [01:44:51]OFD Sender: No OFD packet to send [01:44:56]OFD Sender: No OFD packet to send [01:45:01]OFD Sender: No OFD packet to send [01:45:06]OFD Sender: No OFD packet to send [01:45:11]OFD Sender: No OFD packet to send [01:45:16]OFD Sender: No OFD packet to send [01:45:21]OFD Sender: No OFD packet to send [01:45:26]OFD Sender: No OFD packet to send [01:45:31]OFD Sender: No OFD packet to send [01:45:36]OFD Sender: No OFD packet to send [01:45:41]OFD Sender: No OFD packet to send [01:45:46]OFD Sender: No OFD packet to send [01:45:51]OFD Sender: No OFD packet to send [01:45:56]OFD Sender: No OFD packet to send [01:46:01]OFD Sender: No OFD packet to send [01:46:06]OFD Sender: No OFD packet to send [01:46:11]OFD Sender: No OFD packet to send [01:46:16]OFD Sender: No OFD packet to send [01:46:21]OFD Sender: No OFD packet to send [01:46:26]OFD Sender: No OFD packet to send [01:46:31]OFD Sender: No OFD packet to send [01:46:36]OFD Sender: No OFD packet to send [01:46:41]OFD Sender: No OFD packet to send [01:46:46]OFD Sender: No OFD packet to send [01:46:51]OFD Sender: No OFD packet to send [01:46:56]OFD Sender: No OFD packet to send [01:47:01]OFD Sender: No OFD packet to send [01:47:06]OFD Sender: No OFD packet to send [01:47:11]OFD Sender: No OFD packet to send [01:47:16]OFD Sender: No OFD packet to send [01:47:21]OFD Sender: No OFD packet to send [01:47:26]OFD Sender: No OFD packet to send [01:47:31]OFD Sender: No OFD packet to send [01:47:36]OFD Sender: No OFD packet to send [01:47:41]OFD Sender: No OFD packet to send [01:47:46]OFD Sender: No OFD packet to send [01:47:51]OFD Sender: No OFD packet to send [01:47:56]OFD Sender: No OFD packet to send [01:48:01]OFD Sender: No OFD packet to send [01:48:06]OFD Sender: No OFD packet to send [01:48:11]OFD Sender: No OFD packet to send [01:48:16]OFD Sender: No OFD packet to send [01:48:21]OFD Sender: No OFD packet to send [01:48:26]OFD Sender: No OFD packet to send [01:48:31]OFD Sender: No OFD packet to send [01:48:36]OFD Sender: No OFD packet to send [01:48:41]OFD Sender: No OFD packet to send [01:48:46]OFD Sender: No OFD packet to send [01:48:51]OFD Sender: No OFD packet to send [01:48:56]OFD Sender: No OFD packet to send [01:49:01]OFD Sender: No OFD packet to send [01:49:06]OFD Sender: No OFD packet to send [01:49:11]OFD Sender: No OFD packet to send [01:49:16]OFD Sender: No OFD packet to send [01:49:21]OFD Sender: No OFD packet to send [01:49:26]OFD Sender: No OFD packet to send [01:49:31]OFD Sender: No OFD packet to send [01:49:36]OFD Sender: No OFD packet to send [01:49:41]OFD Sender: No OFD packet to send [01:49:46]OFD Sender: No OFD packet to send [01:49:51]OFD Sender: No OFD packet to send [01:49:56]OFD Sender: No OFD packet to send [01:50:01]OFD Sender: No OFD packet to send [01:50:06]OFD Sender: No OFD packet to send [01:50:11]OFD Sender: No OFD packet to send [01:50:16]OFD Sender: No OFD packet to send [01:50:21]OFD Sender: No OFD packet to send [01:50:26]OFD Sender: No OFD packet to send [01:50:31]OFD Sender: No OFD packet to send [01:50:36]OFD Sender: No OFD packet to send [01:50:41]OFD Sender: No OFD packet to send [01:50:46]OFD Sender: No OFD packet to send [01:50:51]OFD Sender: No OFD packet to send [01:50:56]OFD Sender: No OFD packet to send [01:51:01]OFD Sender: No OFD packet to send [01:51:06]OFD Sender: No OFD packet to send [01:51:11]OFD Sender: No OFD packet to send [01:51:16]OFD Sender: No OFD packet to send [01:51:21]OFD Sender: No OFD packet to send [01:51:26]OFD Sender: No OFD packet to send [01:51:31]OFD Sender: No OFD packet to send [01:51:36]OFD Sender: No OFD packet to send [01:51:41]OFD Sender: No OFD packet to send [01:51:46]OFD Sender: No OFD packet to send [01:51:51]OFD Sender: No OFD packet to send [01:51:56]OFD Sender: No OFD packet to send [01:52:01]OFD Sender: No OFD packet to send [01:52:06]OFD Sender: No OFD packet to send [01:52:11]OFD Sender: No OFD packet to send [01:52:16]OFD Sender: No OFD packet to send [01:52:21]OFD Sender: No OFD packet to send [01:52:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:12]OFD Sender: No OFD packet to send [02:01:17]OFD Sender: No OFD packet to send [02:01:22]OFD Sender: No OFD packet to send [02:01:27]OFD Sender: No OFD packet to send [02:01:32]OFD Sender: No OFD packet to send [02:01:37]OFD Sender: No OFD packet to send [02:01:42]OFD Sender: No OFD packet to send [02:01:47]OFD Sender: No OFD packet to send [02:01:52]OFD Sender: No OFD packet to send [02:01:57]OFD Sender: No OFD packet to send [02:02:02]OFD Sender: No OFD packet to send [02:02:07]OFD Sender: No OFD packet to send [02:02:12]OFD Sender: No OFD packet to send [02:02:17]OFD Sender: No OFD packet to send [02:02:22]OFD Sender: No OFD packet to send [02:02:27]OFD Sender: No OFD packet to send [02:02:32]OFD Sender: No OFD packet to send [02:02:37]OFD Sender: No OFD packet to send [02:02:42]OFD Sender: No OFD packet to send [02:02:47]OFD Sender: No OFD packet to send [02:02:52]OFD Sender: No OFD packet to send [02:02:57]OFD Sender: No OFD packet to send [02:03:02]OFD Sender: No OFD packet to send [02:03:07]OFD Sender: No OFD packet to send [02:03:12]OFD Sender: No OFD packet to send [02:03:17]OFD Sender: No OFD packet to send [02:03:22]OFD Sender: No OFD packet to send [02:03:27]OFD Sender: No OFD packet to send [02:03:32]OFD Sender: No OFD packet to send [02:03:37]OFD Sender: No OFD packet to send [02:03:42]OFD Sender: No OFD packet to send [02:03:47]OFD Sender: No OFD packet to send [02:03:52]OFD Sender: No OFD packet to send [02:03:57]OFD Sender: No OFD packet to send [02:04:02]OFD Sender: No OFD packet to send [02:04:07]OFD Sender: No OFD packet to send [02:04:12]OFD Sender: No OFD packet to send [02:04:17]OFD Sender: No OFD packet to send [02:04:22]OFD Sender: No OFD packet to send [02:04:27]OFD Sender: No OFD packet to send [02:04:32]OFD Sender: No OFD packet to send [02:04:37]OFD Sender: No OFD packet to send [02:04:42]OFD Sender: No OFD packet to send [02:04:47]OFD Sender: No OFD packet to send [02:04:52]OFD Sender: No OFD packet to send [02:04:57]OFD Sender: No OFD packet to send [02:05:02]OFD Sender: No OFD packet to send [02:05:07]OFD Sender: No OFD packet to send [02:05:12]OFD Sender: No OFD packet to send [02:05:17]OFD Sender: No OFD packet to send [02:05:22]OFD Sender: No OFD packet to send [02:05:27]OFD Sender: No OFD packet to send [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:57]OFD Sender: No OFD packet to send [02:11:02]OFD Sender: No OFD packet to send [02:11:07]OFD Sender: No OFD packet to send [02:11:12]OFD Sender: No OFD packet to send [02:11:17]OFD Sender: No OFD packet to send [02:11:22]OFD Sender: No OFD packet to send [02:11:27]OFD Sender: No OFD packet to send [02:11:32]OFD Sender: No OFD packet to send [02:11:37]OFD Sender: No OFD packet to send [02:11:42]OFD Sender: No OFD packet to send [02:11:47]OFD Sender: No OFD packet to send [02:11:52]OFD Sender: No OFD packet to send [02:11:57]OFD Sender: No OFD packet to send [02:12:02]OFD Sender: No OFD packet to send [02:12:07]OFD Sender: No OFD packet to send [02:12:12]OFD Sender: No OFD packet to send [02:12:17]OFD Sender: No OFD packet to send [02:12:22]OFD Sender: No OFD packet to send [02:12:27]OFD Sender: No OFD packet to send [02:12:32]OFD Sender: No OFD packet to send [02:12:37]OFD Sender: No OFD packet to send [02:12:42]OFD Sender: No OFD packet to send [02:12:47]OFD Sender: No OFD packet to send [02:12:52]OFD Sender: No OFD packet to send [02:12:57]OFD Sender: No OFD packet to send [02:13:02]OFD Sender: No OFD packet to send [02:13:07]OFD Sender: No OFD packet to send [02:13:12]OFD Sender: No OFD packet to send [02:13:17]OFD Sender: No OFD packet to send [02:13:22]OFD Sender: No OFD packet to send [02:13:27]OFD Sender: No OFD packet to send [02:13:32]OFD Sender: No OFD packet to send [02:13:37]OFD Sender: No OFD packet to send [02:13:42]OFD Sender: No OFD packet to send [02:13:47]OFD Sender: No OFD packet to send [02:13:52]OFD Sender: No OFD packet to send [02:13:57]OFD Sender: No OFD packet to send [02:14:02]OFD Sender: No OFD packet to send [02:14:07]OFD Sender: No OFD packet to send [02:14:12]OFD Sender: No OFD packet to send [02:14:17]OFD Sender: No OFD packet to send [02:14:22]OFD Sender: No OFD packet to send [02:14:27]OFD Sender: No OFD packet to send [02:14:32]OFD Sender: No OFD packet to send [02:14:37]OFD Sender: No OFD packet to send [02:14:42]OFD Sender: No OFD packet to send [02:14:47]OFD Sender: No OFD packet to send [02:14:52]OFD Sender: No OFD packet to send [02:14:57]OFD Sender: No OFD packet to send [02:15:02]OFD Sender: No OFD packet to send [02:15:07]OFD Sender: No OFD packet to send [02:15:12]OFD Sender: No OFD packet to send [02:15:17]OFD Sender: No OFD packet to send [02:15:22]OFD Sender: No OFD packet to send [02:15:27]OFD Sender: No OFD packet to send [02:15:32]OFD Sender: No OFD packet to send [02:15:37]OFD Sender: No OFD packet to send [02:15:42]OFD Sender: No OFD packet to send [02:15:47]OFD Sender: No OFD packet to send [02:15:52]OFD Sender: No OFD packet to send [02:15:57]OFD Sender: No OFD packet to send [02:16:02]OFD Sender: No OFD packet to send [02:16:07]OFD Sender: No OFD packet to send [02:16:12]OFD Sender: No OFD packet to send [02:16:17]OFD Sender: No OFD packet to send [02:16:22]OFD Sender: No OFD packet to send [02:16:27]OFD Sender: No OFD packet to send [02:16:32]OFD Sender: No OFD packet to send [02:16:37]OFD Sender: No OFD packet to send [02:16:42]OFD Sender: No OFD packet to send [02:16:47]OFD Sender: No OFD packet to send [02:16:52]OFD Sender: No OFD packet to send [02:16:57]OFD Sender: No OFD packet to send [02:17:02]OFD Sender: No OFD packet to send [02:17:07]OFD Sender: No OFD packet to send [02:17:12]OFD Sender: No OFD packet to send [02:17:17]OFD Sender: No OFD packet to send [02:17:22]OFD Sender: No OFD packet to send [02:17:27]OFD Sender: No OFD packet to send [02:17:32]OFD Sender: No OFD packet to send [02:17:37]OFD Sender: No OFD packet to send [02:17:42]OFD Sender: No OFD packet to send [02:17:47]OFD Sender: No OFD packet to send [02:17:52]OFD Sender: No OFD packet to send [02:17:57]OFD Sender: No OFD packet to send [02:18:02]OFD Sender: No OFD packet to send [02:18:07]OFD Sender: No OFD packet to send [02:18:12]OFD Sender: No OFD packet to send [02:18:17]OFD Sender: No OFD packet to send [02:18:22]OFD Sender: No OFD packet to send [02:18:27]OFD Sender: No OFD packet to send [02:18:32]OFD Sender: No OFD packet to send [02:18:37]OFD Sender: No OFD packet to send [02:18:42]OFD Sender: No OFD packet to send [02:18:47]OFD Sender: No OFD packet to send [02:18:52]OFD Sender: No OFD packet to send [02:18:57]OFD Sender: No OFD packet to send [02:19:02]OFD Sender: No OFD packet to send [02:19:07]OFD Sender: No OFD packet to send [02:19:12]OFD Sender: No OFD packet to send [02:19:17]OFD Sender: No OFD packet to send [02:19:22]OFD Sender: No OFD packet to send [02:19:27]OFD Sender: No OFD packet to send [02:19:32]OFD Sender: No OFD packet to send [02:19:37]OFD Sender: No OFD packet to send [02:19:42]OFD Sender: No OFD packet to send [02:19:47]OFD Sender: No OFD packet to send [02:19:52]OFD Sender: No OFD packet to send [02:19:57]OFD Sender: No OFD packet to send [02:20:02]OFD Sender: No OFD packet to send [02:20:07]OFD Sender: No OFD packet to send [02:20:12]OFD Sender: No OFD packet to send [02:20:17]OFD Sender: No OFD packet to send [02:20:22]OFD Sender: No OFD packet to send [02:20:27]OFD Sender: No OFD packet to send [02:20:32]OFD Sender: No OFD packet to send [02:20:37]OFD Sender: No OFD packet to send [02:20:42]OFD Sender: No OFD packet to send [02:20:47]OFD Sender: No OFD packet to send [02:20:52]OFD Sender: No OFD packet to send [02:20:57]OFD Sender: No OFD packet to send [02:21:02]OFD Sender: No OFD packet to send [02:21:07]OFD Sender: No OFD packet to send [02:21:12]OFD Sender: No OFD packet to send [02:21:17]OFD Sender: No OFD packet to send [02:21:22]OFD Sender: No OFD packet to send [02:21:27]OFD Sender: No OFD packet to send [02:21:32]OFD Sender: No OFD packet to send [02:21:37]OFD Sender: No OFD packet to send [02:21:42]OFD Sender: No OFD packet to send [02:21:47]OFD Sender: No OFD packet to send [02:21:52]OFD Sender: No OFD packet to send [02:21:57]OFD Sender: No OFD packet to send [02:22:02]OFD Sender: No OFD packet to send [02:22:07]OFD Sender: No OFD packet to send [02:22:12]OFD Sender: No OFD packet to send [02:22:17]OFD Sender: No OFD packet to send [02:22:22]OFD Sender: No OFD packet to send [02:22:27]OFD Sender: No OFD packet to send [02:22:32]OFD Sender: No OFD packet to send [02:22:37]OFD Sender: No OFD packet to send [02:22:42]OFD Sender: No OFD packet to send [02:22:47]OFD Sender: No OFD packet to send [02:22:52]OFD Sender: No OFD packet to send [02:22:58]OFD Sender: No OFD packet to send [02:23:03]OFD Sender: No OFD packet to send [02:23:08]OFD Sender: No OFD packet to send [02:23:13]OFD Sender: No OFD packet to send [02:23:18]OFD Sender: No OFD packet to send [02:23:23]OFD Sender: No OFD packet to send [02:23:28]OFD Sender: No OFD packet to send [02:23:33]OFD Sender: No OFD packet to send [02:23:38]OFD Sender: No OFD packet to send [02:23:43]OFD Sender: No OFD packet to send [02:23:48]OFD Sender: No OFD packet to send [02:23:53]OFD Sender: No OFD packet to send [02:23:58]OFD Sender: No OFD packet to send [02:24:03]OFD Sender: No OFD packet to send [02:24:08]OFD Sender: No OFD packet to send [02:24:13]OFD Sender: No OFD packet to send [02:24:18]OFD Sender: No OFD packet to send [02:24:23]OFD Sender: No OFD packet to send [02:24:28]OFD Sender: No OFD packet to send [02:24:33]OFD Sender: No OFD packet to send [02:24:38]OFD Sender: No OFD packet to send [02:24:43]OFD Sender: No OFD packet to send [02:24:48]OFD Sender: No OFD packet to send [02:24:53]OFD Sender: No OFD packet to send [02:24:58]OFD Sender: No OFD packet to send [02:25:03]OFD Sender: No OFD packet to send [02:25:08]OFD Sender: No OFD packet to send [02:25:13]OFD Sender: No OFD packet to send [02:25:18]OFD Sender: No OFD packet to send [02:25:23]OFD Sender: No OFD packet to send [02:25:28]OFD Sender: No OFD packet to send [02:25:33]OFD Sender: No OFD packet to send [02:25:38]OFD Sender: No OFD packet to send [02:25:43]OFD Sender: No OFD packet to send [02:25:48]OFD Sender: No OFD packet to send [02:25:53]OFD Sender: No OFD packet to send [02:25:58]OFD Sender: No OFD packet to send [02:26:03]OFD Sender: No OFD packet to send [02:26:08]OFD Sender: No OFD packet to send [02:26:13]OFD Sender: No OFD packet to send [02:26:18]OFD Sender: No OFD packet to send [02:26:23]OFD Sender: No OFD packet to send [02:26:28]OFD Sender: No OFD packet to send [02:26:33]OFD Sender: No OFD packet to send [02:26:38]OFD Sender: No OFD packet to send [02:26:43]OFD Sender: No OFD packet to send [02:26:48]OFD Sender: No OFD packet to send [02:26:53]OFD Sender: No OFD packet to send [02:26:58]OFD Sender: No OFD packet to send [02:27:03]OFD Sender: No OFD packet to send [02:27:08]OFD Sender: No OFD packet to send [02:27:13]OFD Sender: No OFD packet to send [02:27:18]OFD Sender: No OFD packet to send [02:27:23]OFD Sender: No OFD packet to send [02:27:25]accept exits with 7 [02:27:25]New connection [02:27:25]New thread 3067243876 created [02:27:25]Thread 3067100516 joined [02:27:25]Waiting for new connection... [02:27:25] Sock 7.Parse request [02:27:25]Sock 7.Check first char [02:27:25]Sock 7.First char is OK [02:27:25]request: POST /json_proto HTTP/1.0 [02:27:25]Method: POST [02:27:25]URL: /json_proto [02:27:25]Method is POST - this is cgi request [02:27:25]url: /json_proto [02:27:25]query_string will be loaded in cgi processing [02:27:25]execute_cgi json_proto POST (null) [02:27:25]execute_cgi path=json_proto method=POST [02:27:25]POST find Content-Length [02:27:25]Host: 172.17.50.4:8080 [02:27:25]Content-Length: 708 [02:27:25]Content-Type: application/json [02:27:25] [02:27:25]POST finish read [02:27:25]Found Content-Length = 708 [02:27:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134824", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:27:25]execute_script... [02:27: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)134824", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:27:25]POST & json_proto [02:27:25]process_json_proto [02:27:25]json parsed OK: [02:27:25]protocol is kg_v1.0 [02:27:25]action value=close_receipt [02:27:25]process_action close_receipt [02:27:25]cmd_close_receipt [02:27:25]MH_GetDate [02:27:25]Write to MH i2c: F0 00 00 6D 23 7F [02:27:25]Write i2c OK [02:27:25]MH_I2C_Read... [02:27:25]Read from MH i2c: F0 [02:27:25]MH_I2C_Read... [02:27:25]Read from MH i2c: F0 09 00 [02:27:25]MH_I2C_Read... [02:27:25]Read from MH i2c: F0 09 00 6D 23 00 16 BC 15 67 1D BB 13 67 28 [02:27:25]GetLastDocTimeStamp 1729470868 [02:27:25]current date 1729477654 [02:27:25]FM_GetShiftState [02:27:25]SAM_PROTO_GetShiftState [02:27:25]wFMCommunicate request_size=4 [02:27:25]MH_SAM_APDU [02:27:25]CAPDU: 80 13 01 00 [02:27:25]Write to MH i2c: E2 08 00 6E 23 80 13 01 00 00 00 00 00 0E [02:27:25]Write i2c OK [02:27:25]MH_I2C_Read... [02:27:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:27:25]Read from MH i2c: E2 [02:27:25]MH_I2C_Read... [02:27:25]Read from MH i2c: E2 0E 00 [02:27:25]MH_I2C_Read... [02:27:25]Read from MH i2c: E2 0E 00 6E 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 58 [02:27:25]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [02:27:25]wFMCommunicate OK [02:27:25]SAM_PROTO_GetShiftState done [02:27:25]FM_GetShiftState done [02:27:25]opened in 1729469223 [02:27:25]opened+sec_in_day 1729555623 [02:27:25]quantity*price = 10000 [02:27:25]sum+1 = 10001 [02:27:25]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 4 21.10.2024 02:27 Смена: 461 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24300 ФПД: 225215383019723 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T022734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24300&fm=225215383019723&tin=02508201610067®Number=0000000000098120&sum=10000 0 [02:27:26]StoreToDocumentArchive [02:27:26]shift 461 fd 24300 [02:27:26]save to /storage/0461/doc_00024300 [02:27:26]save last doc name /storage/0461/doc_00024300 to /storage/kkm_last_doc_name [02:27:26]save OK [02:27:26]Clear old archive folders... [02:27:26]ProcessDocumentItem done err = 0, tmpTLVsize=304 [02:27:26]tlvbuf is B6F9C9A0 [02:27:26]SAM_PROTO_ClearQueue [02:27:26]wFMCommunicate request_size=4 [02:27:26]MH_SAM_APDU [02:27:26]CAPDU: 80 09 00 00 [02:27:26]Write to MH i2c: E2 08 00 7B 23 80 09 00 00 00 00 00 00 10 [02:27:26]Write i2c OK [02:27:26]MH_I2C_Read... [02:27:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:27:26]Read from MH i2c: E2 [02:27:26]MH_I2C_Read... [02:27:26]Read from MH i2c: E2 03 00 [02:27:26]MH_I2C_Read... [02:27:26]Read from MH i2c: E2 03 00 7B 23 00 90 00 12 [02:27:26]RAPDU: 90 00 [02:27:26]wFMCommunicate OK [02:27:26]SAM_PROTO_ClearQueue done [02:27:26]KKMCreateOFDPacket [02:27:26]OFDProtocolAddRootSTLVToBuf [02:27:26]FM_MakeSignedData [02:27:26]FM_MakeSignedData [02:27:26]SAM_PROTO_SignData [02:27:26]wFMCommunicate request_size=4 [02:27:26]MH_SAM_APDU [02:27:26]CAPDU: 80 0D 01 02 [02:27:26]Write to MH i2c: E2 08 00 7C 23 80 0D 01 02 00 00 00 00 18 [02:27:26]Write i2c OK [02:27:26]MH_I2C_Read... [02:27:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:27:27]Read from MH i2c: E2 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 7C 23 00 90 00 13 [02:27:27]RAPDU: 90 00 [02:27:27]wFMCommunicate OK [02:27:27]wFMCommunicate request_size=255 [02:27:27]MH_SAM_APDU [02:27:27]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 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 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 04 00 00 00 F4 03 04 00 16 BC 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 [02:27:27]Write to MH i2c: E2 02 01 7D 23 80 0D 02 02 FA 00 03 00 30 01 1E 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 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 04 00 00 00 F4 03 04 00 16 BC 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 00 00 13 [02:27:27]Write i2c OK [02:27:27]MH_I2C_Read... [02:27:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:27:27]Read from MH i2c: E2 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 7D 23 00 90 00 14 [02:27:27]RAPDU: 90 00 [02:27:27]wFMCommunicate OK [02:27:27]wFMCommunicate request_size=63 [02:27:27]MH_SAM_APDU [02:27:27]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EC 5E 00 00 35 04 06 00 CC D5 0A E7 20 CB [02:27:27]Write to MH i2c: E2 42 00 7E 23 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EC 5E 00 00 35 04 06 00 CC D5 0A E7 20 CB 00 00 21 [02:27:27]Write i2c OK [02:27:27]MH_I2C_Read... [02:27:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:27:27]Read from MH i2c: E2 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 03 00 7E 23 00 90 00 15 [02:27:27]RAPDU: 90 00 [02:27:27]wFMCommunicate OK [02:27:27]wFMCommunicate request_size=4 [02:27:27]MH_SAM_APDU [02:27:27]CAPDU: 80 0D 03 02 [02:27:27]Write to MH i2c: E2 08 00 7F 23 80 0D 03 02 00 00 00 00 1D [02:27:27]Write i2c OK [02:27:27]MH_I2C_Read... [02:27:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:27:27]Read from MH i2c: E2 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 0B 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 0B 00 7F 23 00 9F A7 F4 72 3D A7 71 75 90 00 94 [02:27:27]RAPDU: 9F A7 F4 72 3D A7 71 75 90 00 [02:27:27]wFMCommunicate OK [02:27:27]SAM_PROTO_SignData done [02:27:27]FM_MakeSignedData done [02:27:27]CreateOFDProtocolMessage [02:27:27]wFMCommunicate request_size=4 [02:27:27]MH_SAM_APDU [02:27:27]CAPDU: 80 11 00 00 [02:27:27]Write to MH i2c: E2 08 00 80 23 80 11 00 00 00 00 00 00 1D [02:27:27]Write i2c OK [02:27:27]MH_I2C_Read... [02:27:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:27:27]Read from MH i2c: E2 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 17 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: E2 17 00 80 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [02:27:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:27:27]wFMCommunicate OK [02:27:27]CreateOFDProtocolMessage done [02:27:27]OFDSenderStorePacket 24300 [02:27:27]StoreOFDPacket docnum=24300 [02:27:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 44 01 00 00 FF F9 3C 01 56 33 5A 03 01 00 03 00 30 01 1E 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 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 04 00 00 00 F4 03 04 00 16 BC 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EC 5E 00 00 35 04 06 00 CC D5 0A E7 20 CB 9F A7 F4 72 3D A7 71 75 [02:27:27]CheckFolder [02:27:27]dirname=/storage/ofd_packets [02:27:27]CheckFolder done [02:27:27]ProducePacketName [02:27:27]name=ofd_packets/00024300 [02:27:27]NVStorageSaveData ofd_packets/00024300 [02:27:27]File name is /storage/ofd_packets/00024300 [02:27:27]Write 354 bytes [02:27:27]NVStorageSaveData done [02:27:27]OFDSenderStorePacket done [02:27:27]KKMCreateOFDPacket done [02:27:27]NVStorageSaveData kkm_last_timestamp [02:27:27]File name is /storage/kkm_last_timestamp [02:27:27]Write 4 bytes [02:27:27]NVStorageSaveData done [02:27:27]ExternCall_PrintAddStr [02:27:27]wPrintStart [02:27:27]Write to MH i2c: 01 00 00 81 23 A4 [02:27:27]Write i2c OK [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: 01 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: 01 07 00 [02:27:27]MH_I2C_Read... [02:27:27]Read from MH i2c: 01 07 00 81 23 00 00 00 00 00 FF 0F B9 [02:27:27]RasterBufferAndPrint [02:27:27]line Счет N : (3)134824 [02:27:27]line ИНН: 02508201610067 [02:27:27]line Контрольно-Кассовый Чек [02:27:27]line ПРОДАЖА [02:27:27]line Товар: 5449000273680 [02:27:27]line Сок Piko Pulpy красный виноград ПЭТ 0,5л [02:27:27]line 1.000 * 100.00 [02:27:27]line = 100.00 [02:27:27]line НДС 12% НСП 1% [02:27:27]line > о реализуемом товаре [02:27:27]line ИТОГО: 100.00 [02:27:27]line НСП 1% : 0.88 [02:27:27]line НДС 12% : 10.62 [02:27:27]line Наличными: 100.00 [02:27:27]line Безнал.: 0.00 [02:27:27]line Место: АЗС № 85 "Партнер Нефть" [02:27:27]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:27:27]line СНО: Общий режим [02:27:27]line Чек 4 21.10.2024 02:27 [02:27:27]line Смена: 461 ФФД: 1.0 [02:27:27]line ЗНМ: 0300000166 [02:27:27]line РНМ: 0000000000098120 [02:27:27]line Версия ККМ: 001 [02:27:27]line ФМ: 0000000000965420 [02:27:27]line ФД: 24300 [02:27:27]line ФПД: 225215383019723 [02:27:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241021T022734&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24300&fm=225215383019723&tin=02508201610067®Number=0000000000098120&sum=10000 [02:27:27]line 0 [02:27:27]OFD Sender: Processing packet 24300 [packets to send 5, broken 4] [02:27:27]ProducePacketName [02:27:27]name=ofd_packets/00024300 [02:27:27]OFD Sender: To server: pG, [02:27:27]CommunicateWithHost lk.salyk.kg:30040 [02:27:27]ConnectInit lk.salyk.kg [02:27:27]written 0, free lines is 4095 [02:27:27]Connected sock=10 [02:27:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 44 01 00 00 FF F9 3C 01 56 33 5A 03 01 00 03 00 30 01 1E 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 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 04 00 00 00 F4 03 04 00 16 BC 15 67 0E 04 04 00 CD 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EC 5E 00 00 35 04 06 00 CC D5 0A E7 20 CB 9F A7 F4 72 3D A7 71 75 [02:27:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 4F 00 00 00 57 5E 47 00 39 C2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 EC 5E 00 00 F4 03 04 00 AC 67 15 67 B6 04 01 00 00 C7 96 C9 B8 E9 3B A7 24 [02:27:28]CommunicateWithHost err = 0 [02:27:28]CheckOFDResponse [02:27:28]1017 (14) - 77093643461234 [02:27:28]1041 (16) - 0000000000965420 [02:27:28]1040 (4) - 24300 [02:27:28]1012 (4) - 20.10.2024 20:27 [02:27:28]1206 (1) - 0 [02:27:28]OFD Sender: Remove packet 24300 [02:27:28]ProducePacketName [02:27:28]name=ofd_packets/00024300 [02:27:28]NVStorageDeleteData [02:27:28]Write to MH i2c: 01 00 00 AA 23 CD [02:27:28]Write i2c OK [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: 01 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: 01 07 00 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: 01 07 00 AA 23 00 00 00 00 00 13 0D F4 [02:27:28]RasterBufferAndPrint [02:27:28]line [02:27:28]line [02:27:28]line [02:27:28]line [02:27:28]line [02:27:28]written 0, free lines is 3358 [02:27:28]process_action close_receipt done [02:27:28]requested_data is exist [02:27:28]produce_requested_data [02:27:28]requested_item fm.sn is exist - process it [02:27:28]wFMCommunicate request_size=4 [02:27:28]MH_SAM_APDU [02:27:28]CAPDU: 80 11 00 00 [02:27:28]Write to MH i2c: E2 08 00 B1 23 80 11 00 00 00 00 00 00 4E [02:27:28]Write i2c OK [02:27:28]MH_I2C_Read... [02:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:27:28]Read from MH i2c: E2 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 17 00 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 17 00 B1 23 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9B [02:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:27:28]wFMCommunicate OK [02:27:28]requested_item fd.num is exist - process it [02:27:28]SAM_PROTO_GetFieldsCounters [02:27:28]wFMCommunicate request_size=4 [02:27:28]MH_SAM_APDU [02:27:28]CAPDU: 80 13 00 00 [02:27:28]Write to MH i2c: E2 08 00 B2 23 80 13 00 00 00 00 00 00 51 [02:27:28]Write i2c OK [02:27:28]MH_I2C_Read... [02:27:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:27:28]Read from MH i2c: E2 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 62 00 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 62 00 B2 23 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EC 5E 00 00 0E 04 04 00 CD 01 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 8B [02:27:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 30 10 04 04 00 EC 5E 00 00 0E 04 04 00 CD 01 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:27:28]wFMCommunicate OK [02:27:28]SAM_PROTO_GetFieldsCounters done [02:27:28]requested_item shift.num is exist - process it [02:27:28]requested_item shift.opened is exist - process it [02:27:28]req_shift_opened [02:27:28]FM_GetShiftState [02:27:28]SAM_PROTO_GetShiftState [02:27:28]wFMCommunicate request_size=4 [02:27:28]MH_SAM_APDU [02:27:28]CAPDU: 80 13 01 00 [02:27:28]Write to MH i2c: E2 08 00 B3 23 80 13 01 00 00 00 00 00 53 [02:27:28]Write i2c OK [02:27:28]MH_I2C_Read... [02:27:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:27:28]Read from MH i2c: E2 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 0E 00 [02:27:28]MH_I2C_Read... [02:27:28]Read from MH i2c: E2 0E 00 B3 23 00 09 00 01 27 9B 15 67 00 00 00 00 90 00 9D [02:27:28]RAPDU: 09 00 01 27 9B 15 67 00 00 00 00 90 00 [02:27:28]wFMCommunicate OK [02:27:28]SAM_PROTO_GetShiftState done [02:27:28]FM_GetShiftState done [02:27:28]req_shift_opened done [02:27:28]requested_item shift.open_date is exist - process it [02:27:28]req_shift_open_date [02:27:28]req_shift_open_date done [02:27:28]produce_requested_data done [02:27:28]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24300,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223} [02:27:28]process_action_free close_receipt [02:27:28]json_value_free [02:27:28]json_value_free done [02:27:28]process_json_proto returns [02:27:28]Send response to host [02:27:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24300,"shift.num":461,"shift.opened":1,"shift.open_date":1729469223}}} [02:27:28]free response buf [02:27:28]execute_script done [02:27:28]execute_script returns [02:27:28]free content buf [02:27:28]Sock 7.Close socket [02:27:28]Sock 7.Thread stoped [02:27:28]OFD Sender: No OFD packet to send [02:27:33]OFD Sender: No OFD packet to send [02:27:38]OFD Sender: No OFD packet to send [02:27:43]OFD Sender: No OFD packet to send [02:27:48]OFD Sender: No OFD packet to send [02:27:53]OFD Sender: No OFD packet to send [02:27:58]OFD Sender: No OFD packet to send [02:28:03]OFD Sender: No OFD packet to send [02:28:08]OFD Sender: No OFD packet to send [02:28:13]OFD Sender: No OFD packet to send [02:28:18]OFD Sender: No OFD packet to send [02:28:23]OFD Sender: No OFD packet to send [02:28:28]OFD Sender: No OFD packet to send [02:28:33]OFD Sender: No OFD packet to send [02:28:38]OFD Sender: No OFD packet to send [02:28:43]OFD Sender: No OFD packet to send [02:28:48]OFD Sender: No OFD packet to send [02:28:53]OFD Sender: No OFD packet to send [02:28:58]OFD Sender: No OFD packet to send [02:29:03]OFD Sender: No OFD packet to send [02:29:08]OFD Sender: No OFD packet to send [02:29:13]OFD Sender: No OFD packet to send [02:29:18]OFD Sender: No OFD packet to send [02:29:23]OFD Sender: No OFD packet to send [02:29:28]OFD Sender: No OFD packet to send [02:29:33]OFD Sender: No OFD packet to send [02:29:38]OFD Sender: No OFD packet to send [02:29:43]OFD Sender: No OFD packet to send [02:29:48]OFD Sender: No OFD packet to send [02:29:53]OFD Sender: No OFD packet to send [02:29:58]OFD Sender: No OFD packet to send [02:30:03]OFD Sender: No OFD packet to send [02:30:08]OFD Sender: No OFD packet to send [02:30:13]OFD Sender: No OFD packet to send [02:30:18]OFD Sender: No OFD packet to send [02:30:23]OFD Sender: No OFD packet to send [02:30:28]OFD Sender: No OFD packet to send [02:30:33]OFD Sender: No OFD packet to send [02:30:38]OFD Sender: No OFD packet to send [02:30:43]OFD Sender: No OFD packet to send [02:30:48]OFD Sender: No OFD packet to send [02:30:53]OFD Sender: No OFD packet to send [02:30:58]OFD Sender: No OFD packet to send [02:31:03]OFD Sender: No OFD packet to send [02:31:08]OFD Sender: No OFD packet to send [02:31:13]OFD Sender: No OFD packet to send [02:31:18]OFD Sender: No OFD packet to send [02:31:23]OFD Sender: No OFD packet to send [02:31:28]OFD Sender: No OFD packet to send [02:31:33]OFD Sender: No OFD packet to send [02:31:38]OFD Sender: No OFD packet to send [02:31:43]OFD Sender: No OFD packet to send [02:31:48]OFD Sender: No OFD packet to send [02:31:53]OFD Sender: No OFD packet to send [02:31:58]OFD Sender: No OFD packet to send [02:32:03]OFD Sender: No OFD packet to send [02:32:08]OFD Sender: No OFD packet to send [02:32:13]OFD Sender: No OFD packet to send [02:32:18]OFD Sender: No OFD packet to send [02:32:23]OFD Sender: No OFD packet to send [02:32:28]OFD Sender: No OFD packet to send [02:32:33]OFD Sender: No OFD packet to send [02:32:38]OFD Sender: No OFD packet to send [02:32:43]OFD Sender: No OFD packet to send [02:32:48]OFD Sender: No OFD packet to send [02:32:53]OFD Sender: No OFD packet to send [02:32:58]OFD Sender: No OFD packet to send [02:33:03]OFD Sender: No OFD packet to send [02:33:08]OFD Sender: No OFD packet to send [02:33:13]OFD Sender: No OFD packet to send [02:33:18]OFD Sender: No OFD packet to send [02:33:23]OFD Sender: No OFD packet to send [02:33:28]OFD Sender: No OFD packet to send [02:33:33]OFD Sender: No OFD packet to send [02:33:38]OFD Sender: No OFD packet to send [02:33:43]OFD Sender: No OFD packet to send [02:33:48]OFD Sender: No OFD packet to send [02:33:53]OFD Sender: No OFD packet to send [02:33:58]OFD Sender: No OFD packet to send [02:34:03]OFD Sender: No OFD packet to send [02:34:08]OFD Sender: No OFD packet to send [02:34:13]OFD Sender: No OFD packet to send [02:34:18]OFD Sender: No OFD packet to send [02:34:23]OFD Sender: No OFD packet to send [02:34:28]OFD Sender: No OFD packet to send [02:34:33]OFD Sender: No OFD packet to send [02:34:38]OFD Sender: No OFD packet to send [02:34:43]OFD Sender: No OFD packet to send [02:34:48]OFD Sender: No OFD packet to send [02:34:53]OFD Sender: No OFD packet to send [02:34:59]OFD Sender: No OFD packet to send [02:35:04]OFD Sender: No OFD packet to send [02:35:09]OFD Sender: No OFD packet to send [02:35:14]OFD Sender: No OFD packet to send [02:35:19]OFD Sender: No OFD packet to send [02:35:24]OFD Sender: No OFD packet to send [02:35:29]OFD Sender: No OFD packet to send [02:35:34]OFD Sender: No OFD packet to send [02:35:39]OFD Sender: No OFD packet to send [02:35:44]OFD Sender: No OFD packet to send [02:35:49]OFD Sender: No OFD packet to send [02:35:54]OFD Sender: No OFD packet to send [02:35:59]OFD Sender: No OFD packet to send [02:36:04]OFD Sender: No OFD packet to send [02:36:09]OFD Sender: No OFD packet to send [02:36:14]OFD Sender: No OFD packet to send [02:36:19]OFD Sender: No OFD packet to send [02:36:24]OFD Sender: No OFD packet to send [02:36:29]OFD Sender: No OFD packet to send [02:36:34]OFD Sender: No OFD packet to send [02:36:39]OFD Sender: No OFD packet to send [02:36:44]OFD Sender: No OFD packet to send [02:36:49]OFD Sender: No OFD packet to send [02:36:54]OFD Sender: No OFD packet to send [02:36:59]OFD Sender: No OFD packet to send [02:37:04]OFD Sender: No OFD packet to send [02:37:09]OFD Sender: No OFD packet to send [02:37:14]OFD Sender: No OFD packet to send [02:37:19]OFD Sender: No OFD packet to send [02:37:24]OFD Sender: No OFD packet to send [02:37:29]OFD Sender: No OFD packet to send [02:37:34]OFD Sender: No OFD packet to send [02:37:39]OFD Sender: No OFD packet to send [02:37:44]OFD Sender: No OFD packet to send [02:37:49]OFD Sender: No OFD packet to send [02:37:54]OFD Sender: No OFD packet to send [02:37:59]OFD Sender: No OFD packet to send [02:38:04]OFD Sender: No OFD packet to send [02:38:09]OFD Sender: No OFD packet to send [02:38:14]OFD Sender: No OFD packet to send [02:38:19]OFD Sender: No OFD packet to send [02:38:24]OFD Sender: No OFD packet to send [02:38:29]OFD Sender: No OFD packet to send [02:38:34]OFD Sender: No OFD packet to send [02:38:39]OFD Sender: No OFD packet to send [02:38:44]OFD Sender: No OFD packet to send [02:38:49]OFD Sender: No OFD packet to send [02:38:54]OFD Sender: No OFD packet to send [02:38:59]OFD Sender: No OFD packet to send [02:39:04]OFD Sender: No OFD packet to send [02:39:09]OFD Sender: No OFD packet to send [02:39:14]OFD Sender: No OFD packet to send [02:39:19]OFD Sender: No OFD packet to send [02:39:24]OFD Sender: No OFD packet to send [02:39:29]OFD Sender: No OFD packet to send [02:39:34]OFD Sender: No OFD packet to send [02:39:39]OFD Sender: No OFD packet to send [02:39:44]OFD Sender: No OFD packet to send [02:39:49]OFD Sender: No OFD packet to send [02:39:54]OFD Sender: No OFD packet to send [02:39:59]OFD Sender: No OFD packet to send [02:40:04]OFD Sender: No OFD packet to send [02:40:09]OFD Sender: No OFD packet to send [02:40:14]OFD Sender: No OFD packet to send [02:40:19]OFD Sender: No OFD packet to send [02:40:24]OFD Sender: No OFD packet to send [02:40:29]OFD Sender: No OFD packet to send [02:40:34]OFD Sender: No OFD packet to send [02:40:39]OFD Sender: No OFD packet to send [02:40:44]OFD Sender: No OFD packet to send [02:40:49]OFD Sender: No OFD packet to send [02:40:54]OFD Sender: No OFD packet to send [02:40:59]OFD Sender: No OFD packet to send [02:41:04]OFD Sender: No OFD packet to send [02:41:09]OFD Sender: No OFD packet to send [02:41:14]OFD Sender: No OFD packet to send [02:41:19]OFD Sender: No OFD packet to send [02:41:24]OFD Sender: No OFD packet to send [02:41:29]OFD Sender: No OFD packet to send [02:41:34]OFD Sender: No OFD packet to send [02:41:39]OFD Sender: No OFD packet to send [02:41:44]OFD Sender: No OFD packet to send [02:41:49]OFD Sender: No OFD packet to send [02:41:54]OFD Sender: No OFD packet to send [02:41:59]OFD Sender: No OFD packet to send [02:42:04]OFD Sender: No OFD packet to send [02:42:09]OFD Sender: No OFD packet to send [02:42:14]OFD Sender: No OFD packet to send [02:42:19]OFD Sender: No OFD packet to send [02:42:24]OFD Sender: No OFD packet to send [02:42:29]OFD Sender: No OFD packet to send [02:42:34]OFD Sender: No OFD packet to send [02:42:39]OFD Sender: No OFD packet to send [02:42:44]OFD Sender: No OFD packet to send [02:42:49]OFD Sender: No OFD packet to send [02:42:54]OFD Sender: No OFD packet to send [02:42:59]OFD Sender: No OFD packet to send [02:43:04]OFD Sender: No OFD packet to send [02:43:09]OFD Sender: No OFD packet to send [02:43:14]OFD Sender: No OFD packet to send [02:43:19]OFD Sender: No OFD packet to send [02:43:24]OFD Sender: No OFD packet to send [02:43:29]OFD Sender: No OFD packet to send [02:43:34]OFD Sender: No OFD packet to send [02:43:39]OFD Sender: No OFD packet to send [02:43:44]OFD Sender: No OFD packet to send [02:43:49]OFD Sender: No OFD packet to send [02:43:54]OFD Sender: No OFD packet to send [02:43:59]OFD Sender: No OFD packet to send [02:44:04]OFD Sender: No OFD packet to send [02:44:09]OFD Sender: No OFD packet to send [02:44:14]OFD Sender: No OFD packet to send [02:44:19]OFD Sender: No OFD packet to send [02:44:24]OFD Sender: No OFD packet to send [02:44:29]OFD Sender: No OFD packet to send [02:44:34]OFD Sender: No OFD packet to send [02:44:39]OFD Sender: No OFD packet to send [02:44:44]OFD Sender: No OFD packet to send [02:44:49]OFD Sender: No OFD packet to send [02:44:54]OFD Sender: No OFD packet to send [02:44:59]OFD Sender: No OFD packet to send [02:45:04]OFD Sender: No OFD packet to send [02:45:09]OFD Sender: No OFD packet to send [02:45:14]OFD Sender: No OFD packet to send [02:45:19]OFD Sender: No OFD packet to send [02:45:24]OFD Sender: No OFD packet to send [02:45:29]OFD Sender: No OFD packet to send [02:45:34]OFD Sender: No OFD packet to send [02:45:39]OFD Sender: No OFD packet to send [02:45:44]OFD Sender: No OFD packet to send [02:45:49]OFD Sender: No OFD packet to send [02:45:54]OFD Sender: No OFD packet to send [02:45:59]OFD Sender: No OFD packet to send [02:46:04]OFD Sender: No OFD packet to send [02:46:09]OFD Sender: No OFD packet to send [02:46:14]OFD Sender: No OFD packet to send [02:46:19]OFD Sender: No OFD packet to send [02:46:24]OFD Sender: No OFD packet to send [02:46:29]OFD Sender: No OFD packet to send [02:46:34]OFD Sender: No OFD packet to send [02:46:39]OFD Sender: No OFD packet to send [02:46:44]OFD Sender: No OFD packet to send [02:46:49]OFD Sender: No OFD packet to send [02:46:54]OFD Sender: No OFD packet to send [02:46:59]OFD Sender: No OFD packet to send [02:47:04]OFD Sender: No OFD packet to send [02:47:09]OFD Sender: No OFD packet to send [02:47:14]OFD Sender: No OFD packet to send [02:47:19]OFD Sender: No OFD packet to send [02:47:24]OFD Sender: No OFD packet to send [02:47:29]OFD Sender: No OFD packet to send [02:47:34]OFD Sender: No OFD packet to send [02:47:39]OFD Sender: No OFD packet to send [02:47:44]OFD Sender: No OFD packet to send [02:47:49]OFD Sender: No OFD packet to send [02:47:54]OFD Sender: No OFD packet to send [02:47:59]OFD Sender: No OFD packet to send [02:48:04]OFD Sender: No OFD packet to send [02:48:09]OFD Sender: No OFD packet to send [02:48:14]OFD Sender: No OFD packet to send [02:48:19]OFD Sender: No OFD packet to send [02:48:24]OFD Sender: No OFD packet to send [02:48:29]OFD Sender: No OFD packet to send [02:48:34]OFD Sender: No OFD packet to send [02:48:39]OFD Sender: No OFD packet to send [02:48:44]OFD Sender: No OFD packet to send [02:48:49]OFD Sender: No OFD packet to send [02:48:54]OFD Sender: No OFD packet to send [02:48:59]OFD Sender: No OFD packet to send [02:49:04]OFD Sender: No OFD packet to send [02:49:09]OFD Sender: No OFD packet to send [02:49:14]OFD Sender: No OFD packet to send [02:49:19]OFD Sender: No OFD packet to send [02:49:24]OFD Sender: No OFD packet to send [02:49:29]OFD Sender: No OFD packet to send [02:49:34]OFD Sender: No OFD packet to send [02:49:39]OFD Sender: No OFD packet to send [02:49:44]OFD Sender: No OFD packet to send [02:49:49]OFD Sender: No OFD packet to send [02:49:54]OFD Sender: No OFD packet to send [02:49:59]OFD Sender: No OFD packet to send [02:50:04]OFD Sender: No OFD packet to send [02:50:09]OFD Sender: No OFD packet to send [02:50:14]OFD Sender: No OFD packet to send [02:50:19]OFD Sender: No OFD packet to send [02:50:24]OFD Sender: No OFD packet to send [02:50:29]OFD Sender: No OFD packet to send [02:50:34]OFD Sender: No OFD packet to send [02:50:39]OFD Sender: No OFD packet to send [02:50:44]OFD Sender: No OFD packet to send [02:50:49]OFD Sender: No OFD packet to send [02:50:54]OFD Sender: No OFD packet to send [02:50:59]OFD Sender: No OFD packet to send [02:51:04]OFD Sender: No OFD packet to send [02:51:09]OFD Sender: No OFD packet to send [02:51:14]OFD Sender: No OFD packet to send [02:51:19]OFD Sender: No OFD packet to send [02:51:24]OFD Sender: No OFD packet to send [02:51:29]OFD Sender: No OFD packet to send [02:51:34]OFD Sender: No OFD packet to send [02:51:39]OFD Sender: No OFD packet to send [02:51:44]OFD Sender: No OFD packet to send [02:51:49]OFD Sender: No OFD packet to send [02:51:54]OFD Sender: No OFD packet to send [02:51:59]OFD Sender: No OFD packet to send [02:52:04]OFD Sender: No OFD packet to send [02:52:09]OFD Sender: No OFD packet to send [02:52:14]OFD Sender: No OFD packet to send [02:52:19]OFD Sender: No OFD packet to send [02:52:24]OFD Sender: No OFD packet to send [02:52:29]OFD Sender: No OFD packet to send [02:52:34]OFD Sender: No OFD packet to send [02:52:39]OFD Sender: No OFD packet to send [02:52:44]OFD Sender: No OFD packet to send [02:52:49]OFD Sender: No OFD packet to send [02:52:54]OFD Sender: No OFD packet to send [02:52:59]OFD Sender: No OFD packet to send [02:53:04]OFD Sender: No OFD packet to send [02:53:09]OFD Sender: No OFD packet to send [02:53:14]OFD Sender: No OFD packet to send [02:53:19]OFD Sender: No OFD packet to send [02:53:24]OFD Sender: No OFD packet to send [02:53:29]OFD Sender: No OFD packet to send [02:53:34]OFD Sender: No OFD packet to send [02:53:39]OFD Sender: No OFD packet to send [02:53:44]OFD Sender: No OFD packet to send [02:53:49]OFD Sender: No OFD packet to send [02:53:54]OFD Sender: No OFD packet to send [02:53:59]OFD Sender: No OFD packet to send [02:54:04]OFD Sender: No OFD packet to send [02:54:09]OFD Sender: No OFD packet to send [02:54:14]OFD Sender: No OFD packet to send [02:54:19]OFD Sender: No OFD packet to send [02:54:24]OFD Sender: No OFD packet to send [02:54:29]OFD Sender: No OFD packet to send [02:54:34]OFD Sender: No OFD packet to send [02:54:39]OFD Sender: No OFD packet to send [02:54:44]OFD Sender: No OFD packet to send [02:54:49]OFD Sender: No OFD packet to send [02:54:54]OFD Sender: No OFD packet to send [02:54:59]OFD Sender: No OFD packet to send [02:55:04]OFD Sender: No OFD packet to send [02:55:09]OFD Sender: No OFD packet to send [02:55:14]OFD Sender: No OFD packet to send [02:55:19]OFD Sender: No OFD packet to send [02:55:24]OFD Sender: No OFD packet to send [02:55:29]OFD Sender: No OFD packet to send [02:55:34]OFD Sender: No OFD packet to send [02:55:39]OFD Sender: No OFD packet to send [02:55:44]OFD Sender: No OFD packet to send [02:55:49]OFD Sender: No OFD packet to send [02:55:54]OFD Sender: No OFD packet to send [02:55:59]OFD Sender: No OFD packet to send [02:56:04]OFD Sender: No OFD packet to send [02:56:09]OFD Sender: No OFD packet to send [02:56:14]OFD Sender: No OFD packet to send [02:56:20]OFD Sender: No OFD packet to send [02:56:25]OFD Sender: No OFD packet to send [02:56:30]OFD Sender: No OFD packet to send [02:56:35]OFD Sender: No OFD packet to send [02:56:40]OFD Sender: No OFD packet to send [02:56:45]OFD Sender: No OFD packet to send [02:56:50]OFD Sender: No OFD packet to send [02:56:55]OFD Sender: No OFD packet to send [02:57:00]OFD Sender: No OFD packet to send [02:57:05]OFD Sender: No OFD packet to send [02:57:10]OFD Sender: No OFD packet to send [02:57:15]OFD Sender: No OFD packet to send [02:57:20]OFD Sender: No OFD packet to send [02:57:25]OFD Sender: No OFD packet to send [02:57:30]OFD Sender: No OFD packet to send [02:57:35]OFD Sender: No OFD packet to send [02:57:40]OFD Sender: No OFD packet to send [02:57:45]OFD Sender: No OFD packet to send [02:57:50]OFD Sender: No OFD packet to send [02:57:55]OFD Sender: No OFD packet to send [02:58:00]OFD Sender: No OFD packet to send [02:58:05]OFD Sender: No OFD packet to send [02:58:10]OFD Sender: No OFD packet to send [02:58:15]OFD Sender: No OFD packet to send [02:58:20]OFD Sender: No OFD packet to send [02:58:25]OFD Sender: No OFD packet to send [02:58:30]OFD Sender: No OFD packet to send [02:58:35]OFD Sender: No OFD packet to send [02:58:40]OFD Sender: No OFD packet to send [02:58:45]OFD Sender: No OFD packet to send [02:58:50]OFD Sender: No OFD packet to send [02:58:55]OFD Sender: No OFD packet to send [02:59:00]OFD Sender: No OFD packet to send [02:59:05]OFD Sender: No OFD packet to send [02:59:10]OFD Sender: No OFD packet to send [02:59:15]OFD Sender: No OFD packet to send [02:59:20]OFD Sender: No OFD packet to send [02:59:25]OFD Sender: No OFD packet to send [02:59:30]OFD Sender: No OFD packet to send [02:59:35]OFD Sender: No OFD packet to send [02:59:40]OFD Sender: No OFD packet to send [02:59:45]OFD Sender: No OFD packet to send [02:59:50]OFD Sender: No OFD packet to send [02:59:55]OFD Sender: No OFD packet to send [03:00:00]OFD Sender: No OFD packet to send