[02:59:57]OFD Sender: No OFD packet to send [03:00:02]OFD Sender: No OFD packet to send [03:00:07]OFD Sender: No OFD packet to send [03:00:12]OFD Sender: No OFD packet to send [03:00:17]OFD Sender: No OFD packet to send [03:00:22]OFD Sender: No OFD packet to send [03:00:27]OFD Sender: No OFD packet to send [03:00:32]OFD Sender: No OFD packet to send [03:00:37]OFD Sender: No OFD packet to send [03:00:42]OFD Sender: No OFD packet to send [03:00:47]OFD Sender: No OFD packet to send [03:00:52]OFD Sender: No OFD packet to send [03:00:57]OFD Sender: No OFD packet to send [03:01:02]OFD Sender: No OFD packet to send [03:01:07]OFD Sender: No OFD packet to send [03:01:12]OFD Sender: No OFD packet to send [03:01:17]OFD Sender: No OFD packet to send [03:01:22]OFD Sender: No OFD packet to send [03:01:27]OFD Sender: No OFD packet to send [03:01:32]OFD Sender: No OFD packet to send [03:01:37]OFD Sender: No OFD packet to send [03:01:42]OFD Sender: No OFD packet to send [03:01:47]OFD Sender: No OFD packet to send [03:01:52]OFD Sender: No OFD packet to send [03:01:57]OFD Sender: No OFD packet to send [03:02:02]OFD Sender: No OFD packet to send [03:02:07]OFD Sender: No OFD packet to send [03:02:12]OFD Sender: No OFD packet to send [03:02:17]OFD Sender: No OFD packet to send [03:02:22]OFD Sender: No OFD packet to send [03:02:27]OFD Sender: No OFD packet to send [03:02:32]OFD Sender: No OFD packet to send [03:02:37]OFD Sender: No OFD packet to send [03:02:42]OFD Sender: No OFD packet to send [03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:22]OFD Sender: No OFD packet to send [03:05:27]OFD Sender: No OFD packet to send [03:05:32]OFD Sender: No OFD packet to send [03:05:37]OFD Sender: No OFD packet to send [03:05:42]OFD Sender: No OFD packet to send [03:05:47]OFD Sender: No OFD packet to send [03:05:52]OFD Sender: No OFD packet to send [03:05:57]OFD Sender: No OFD packet to send [03:06:02]OFD Sender: No OFD packet to send [03:06:07]OFD Sender: No OFD packet to send [03:06:12]OFD Sender: No OFD packet to send [03:06:17]OFD Sender: No OFD packet to send [03:06:22]OFD Sender: No OFD packet to send [03:06:27]OFD Sender: No OFD packet to send [03:06:32]OFD Sender: No OFD packet to send [03:06:37]OFD Sender: No OFD packet to send [03:06:42]OFD Sender: No OFD packet to send [03:06:47]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:38]recv_with_timeout no data received [03:13:42]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]recv_with_timeout no data received [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:03]OFD Sender: No OFD packet to send [03:16:08]OFD Sender: No OFD packet to send [03:16:13]OFD Sender: No OFD packet to send [03:16:18]OFD Sender: No OFD packet to send [03:16:23]OFD Sender: No OFD packet to send [03:16:28]OFD Sender: No OFD packet to send [03:16:33]OFD Sender: No OFD packet to send [03:16:38]OFD Sender: No OFD packet to send [03:16:43]OFD Sender: No OFD packet to send [03:16:48]OFD Sender: No OFD packet to send [03:16:53]OFD Sender: No OFD packet to send [03:16:58]OFD Sender: No OFD packet to send [03:17:03]OFD Sender: No OFD packet to send [03:17:08]OFD Sender: No OFD packet to send [03:17:13]OFD Sender: No OFD packet to send [03:17:18]OFD Sender: No OFD packet to send [03:17:23]OFD Sender: No OFD packet to send [03:17:28]OFD Sender: No OFD packet to send [03:17:33]OFD Sender: No OFD packet to send [03:17:38]OFD Sender: No OFD packet to send [03:17:43]OFD Sender: No OFD packet to send [03:17:48]OFD Sender: No OFD packet to send [03:17:53]OFD Sender: No OFD packet to send [03:17:58]OFD Sender: No OFD packet to send [03:18:03]OFD Sender: No OFD packet to send [03:18:08]OFD Sender: No OFD packet to send [03:18:13]OFD Sender: No OFD packet to send [03:18:18]OFD Sender: No OFD packet to send [03:18:23]OFD Sender: No OFD packet to send [03:18:28]OFD Sender: No OFD packet to send [03:18:33]OFD Sender: No OFD packet to send [03:18:38]OFD Sender: No OFD packet to send [03:18:43]OFD Sender: No OFD packet to send [03:18:48]OFD Sender: No OFD packet to send [03:18:53]OFD Sender: No OFD packet to send [03:18:58]OFD Sender: No OFD packet to send [03:19:03]OFD Sender: No OFD packet to send [03:19:08]OFD Sender: No OFD packet to send [03:19:13]OFD Sender: No OFD packet to send [03:19:18]OFD Sender: No OFD packet to send [03:19:23]OFD Sender: No OFD packet to send [03:19:28]OFD Sender: No OFD packet to send [03:19:33]OFD Sender: No OFD packet to send [03:19:38]OFD Sender: No OFD packet to send [03:19:43]OFD Sender: No OFD packet to send [03:19:48]OFD Sender: No OFD packet to send [03:19:53]OFD Sender: No OFD packet to send [03:19:58]OFD Sender: No OFD packet to send [03:20:03]OFD Sender: No OFD packet to send [03:20:08]OFD Sender: No OFD packet to send [03:20:13]OFD Sender: No OFD packet to send [03:20:18]OFD Sender: No OFD packet to send [03:20:23]OFD Sender: No OFD packet to send [03:20:28]OFD Sender: No OFD packet to send [03:20:33]OFD Sender: No OFD packet to send [03:20:38]OFD Sender: No OFD packet to send [03:20:43]OFD Sender: No OFD packet to send [03:20:48]OFD Sender: No OFD packet to send [03:20:53]OFD Sender: No OFD packet to send [03:20:58]OFD Sender: No OFD packet to send [03:21:03]OFD Sender: No OFD packet to send [03:21:08]OFD Sender: No OFD packet to send [03:21:13]OFD Sender: No OFD packet to send [03:21:18]OFD Sender: No OFD packet to send [03:21:23]OFD Sender: No OFD packet to send [03:21:28]OFD Sender: No OFD packet to send [03:21:33]OFD Sender: No OFD packet to send [03:21:38]OFD Sender: No OFD packet to send [03:21:43]OFD Sender: No OFD packet to send [03:21:48]OFD Sender: No OFD packet to send [03:21:53]OFD Sender: No OFD packet to send [03:21:58]OFD Sender: No OFD packet to send [03:22:03]OFD Sender: No OFD packet to send [03:22:08]OFD Sender: No OFD packet to send [03:22:13]OFD Sender: No OFD packet to send [03:22:18]OFD Sender: No OFD packet to send [03:22:23]OFD Sender: No OFD packet to send [03:22:28]OFD Sender: No OFD packet to send [03:22:33]OFD Sender: No OFD packet to send [03:22:38]OFD Sender: No OFD packet to send [03:22:43]OFD Sender: No OFD packet to send [03:22:48]OFD Sender: No OFD packet to send [03:22:53]OFD Sender: No OFD packet to send [03:22:58]OFD Sender: No OFD packet to send [03:23:03]OFD Sender: No OFD packet to send [03:23:08]OFD Sender: No OFD packet to send [03:23:13]OFD Sender: No OFD packet to send [03:23:18]OFD Sender: No OFD packet to send [03:23:23]OFD Sender: No OFD packet to send [03:23:28]OFD Sender: No OFD packet to send [03:23:33]OFD Sender: No OFD packet to send [03:23:38]OFD Sender: No OFD packet to send [03:23:43]OFD Sender: No OFD packet to send [03:23:48]OFD Sender: No OFD packet to send [03:23:53]OFD Sender: No OFD packet to send [03:23:58]OFD Sender: No OFD packet to send [03:24:03]OFD Sender: No OFD packet to send [03:24:08]OFD Sender: No OFD packet to send [03:24:13]OFD Sender: No OFD packet to send [03:24:18]OFD Sender: No OFD packet to send [03:24:23]OFD Sender: No OFD packet to send [03:24:28]OFD Sender: No OFD packet to send [03:24:33]OFD Sender: No OFD packet to send [03:24:38]OFD Sender: No OFD packet to send [03:24:43]OFD Sender: No OFD packet to send [03:24:48]OFD Sender: No OFD packet to send [03:24:53]OFD Sender: No OFD packet to send [03:24:58]OFD Sender: No OFD packet to send [03:25:03]OFD Sender: No OFD packet to send [03:25:08]OFD Sender: No OFD packet to send [03:25:13]OFD Sender: No OFD packet to send [03:25:18]OFD Sender: No OFD packet to send [03:25:23]OFD Sender: No OFD packet to send [03:25:28]OFD Sender: No OFD packet to send [03:25:33]OFD Sender: No OFD packet to send [03:25:38]OFD Sender: No OFD packet to send [03:25:43]OFD Sender: No OFD packet to send [03:25:48]OFD Sender: No OFD packet to send [03:25:53]OFD Sender: No OFD packet to send [03:25:58]OFD Sender: No OFD packet to send [03:26:03]OFD Sender: No OFD packet to send [03:26:08]OFD Sender: No OFD packet to send [03:26:13]OFD Sender: No OFD packet to send [03:26:18]OFD Sender: No OFD packet to send [03:26:23]OFD Sender: No OFD packet to send [03:26:28]OFD Sender: No OFD packet to send [03:26:33]OFD Sender: No OFD packet to send [03:26:38]OFD Sender: No OFD packet to send [03:26:43]OFD Sender: No OFD packet to send [03:26:48]OFD Sender: No OFD packet to send [03:26:53]OFD Sender: No OFD packet to send [03:26:58]OFD Sender: No OFD packet to send [03:27:03]OFD Sender: No OFD packet to send [03:27:08]OFD Sender: No OFD packet to send [03:27:13]OFD Sender: No OFD packet to send [03:27:18]OFD Sender: No OFD packet to send [03:27:23]OFD Sender: No OFD packet to send [03:27:28]OFD Sender: No OFD packet to send [03:27:33]OFD Sender: No OFD packet to send [03:27:38]OFD Sender: No OFD packet to send [03:27:43]OFD Sender: No OFD packet to send [03:27:48]OFD Sender: No OFD packet to send [03:27:53]OFD Sender: No OFD packet to send [03:27:58]OFD Sender: No OFD packet to send [03:28:03]OFD Sender: No OFD packet to send [03:28:08]OFD Sender: No OFD packet to send [03:28:13]OFD Sender: No OFD packet to send [03:28:18]OFD Sender: No OFD packet to send [03:28:23]OFD Sender: No OFD packet to send [03:28:28]OFD Sender: No OFD packet to send [03:28:33]OFD Sender: No OFD packet to send [03:28:38]OFD Sender: No OFD packet to send [03:28:43]OFD Sender: No OFD packet to send [03:28:48]OFD Sender: No OFD packet to send [03:28:53]OFD Sender: No OFD packet to send [03:28:58]OFD Sender: No OFD packet to send [03:29:03]OFD Sender: No OFD packet to send [03:29:08]OFD Sender: No OFD packet to send [03:29:13]OFD Sender: No OFD packet to send [03:29:18]OFD Sender: No OFD packet to send [03:29:23]OFD Sender: No OFD packet to send [03:29:28]OFD Sender: No OFD packet to send [03:29:33]OFD Sender: No OFD packet to send [03:29:38]OFD Sender: No OFD packet to send [03:29:43]OFD Sender: No OFD packet to send [03:29:48]OFD Sender: No OFD packet to send [03:29:53]OFD Sender: No OFD packet to send [03:29:58]OFD Sender: No OFD packet to send [03:30:03]OFD Sender: No OFD packet to send [03:30:08]OFD Sender: No OFD packet to send [03:30:13]OFD Sender: No OFD packet to send [03:30:18]OFD Sender: No OFD packet to send [03:30:23]OFD Sender: No OFD packet to send [03:30:28]OFD Sender: No OFD packet to send [03:30:33]OFD Sender: No OFD packet to send [03:30:38]OFD Sender: No OFD packet to send [03:30:43]OFD Sender: No OFD packet to send [03:30:48]OFD Sender: No OFD packet to send [03:30:53]OFD Sender: No OFD packet to send [03:30:58]OFD Sender: No OFD packet to send [03:31:03]OFD Sender: No OFD packet to send [03:31:08]OFD Sender: No OFD packet to send [03:31:13]OFD Sender: No OFD packet to send [03:31:18]OFD Sender: No OFD packet to send [03:31:23]OFD Sender: No OFD packet to send [03:31:28]OFD Sender: No OFD packet to send [03:31:33]OFD Sender: No OFD packet to send [03:31:38]OFD Sender: No OFD packet to send [03:31:43]OFD Sender: No OFD packet to send [03:31:48]OFD Sender: No OFD packet to send [03:31:53]OFD Sender: No OFD packet to send [03:31:58]OFD Sender: No OFD packet to send [03:32:03]OFD Sender: No OFD packet to send [03:32:08]OFD Sender: No OFD packet to send [03:32:13]OFD Sender: No OFD packet to send [03:32:18]OFD Sender: No OFD packet to send [03:32:23]OFD Sender: No OFD packet to send [03:32:28]OFD Sender: No OFD packet to send [03:32:33]OFD Sender: No OFD packet to send [03:32:38]OFD Sender: No OFD packet to send [03:32:43]OFD Sender: No OFD packet to send [03:32:48]OFD Sender: No OFD packet to send [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35: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:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:08]recv_with_timeout no data received [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:34]OFD Sender: No OFD packet to send [03:49:39]OFD Sender: No OFD packet to send [03:49:44]OFD Sender: No OFD packet to send [03:49:49]OFD Sender: No OFD packet to send [03:49:54]OFD Sender: No OFD packet to send [03:49:59]OFD Sender: No OFD packet to send [03:50:04]OFD Sender: No OFD packet to send [03:50:09]OFD Sender: No OFD packet to send [03:50:14]OFD Sender: No OFD packet to send [03:50:19]OFD Sender: No OFD packet to send [03:50:24]OFD Sender: No OFD packet to send [03:50:29]OFD Sender: No OFD packet to send [03:50:34]OFD Sender: No OFD packet to send [03:50:39]OFD Sender: No OFD packet to send [03:50:44]OFD Sender: No OFD packet to send [03:50:49]OFD Sender: No OFD packet to send [03:50:54]OFD Sender: No OFD packet to send [03:50:59]OFD Sender: No OFD packet to send [03:51:04]OFD Sender: No OFD packet to send [03:51:09]OFD Sender: No OFD packet to send [03:51:14]OFD Sender: No OFD packet to send [03:51:19]OFD Sender: No OFD packet to send [03:51:24]OFD Sender: No OFD packet to send [03:51:29]OFD Sender: No OFD packet to send [03:51:34]OFD Sender: No OFD packet to send [03:51:39]OFD Sender: No OFD packet to send [03:51:44]OFD Sender: No OFD packet to send [03:51:49]OFD Sender: No OFD packet to send [03:51:54]OFD Sender: No OFD packet to send [03:51:59]OFD Sender: No OFD packet to send [03:52:04]OFD Sender: No OFD packet to send [03:52:09]OFD Sender: No OFD packet to send [03:52:14]OFD Sender: No OFD packet to send [03:52:19]OFD Sender: No OFD packet to send [03:52:24]OFD Sender: No OFD packet to send [03:52:29]OFD Sender: No OFD packet to send [03:52:34]OFD Sender: No OFD packet to send [03:52:39]OFD Sender: No OFD packet to send [03:52:44]OFD Sender: No OFD packet to send [03:52:49]OFD Sender: No OFD packet to send [03:52:54]OFD Sender: No OFD packet to send [03:52:59]OFD Sender: No OFD packet to send [03:53:04]OFD Sender: No OFD packet to send [03:53:09]OFD Sender: No OFD packet to send [03:53:14]OFD Sender: No OFD packet to send [03:53:19]OFD Sender: No OFD packet to send [03:53:24]OFD Sender: No OFD packet to send [03:53:29]OFD Sender: No OFD packet to send [03:53:34]OFD Sender: No OFD packet to send [03:53:39]OFD Sender: No OFD packet to send [03:53:44]OFD Sender: No OFD packet to send [03:53:49]OFD Sender: No OFD packet to send [03:53:54]OFD Sender: No OFD packet to send [03:53:59]OFD Sender: No OFD packet to send [03:54:04]OFD Sender: No OFD packet to send [03:54:09]OFD Sender: No OFD packet to send [03:54:14]OFD Sender: No OFD packet to send [03:54:19]OFD Sender: No OFD packet to send [03:54:24]OFD Sender: No OFD packet to send [03:54:29]OFD Sender: No OFD packet to send [03:54:34]OFD Sender: No OFD packet to send [03:54:39]OFD Sender: No OFD packet to send [03:54:44]OFD Sender: No OFD packet to send [03:54:49]OFD Sender: No OFD packet to send [03:54:54]OFD Sender: No OFD packet to send [03:54:59]OFD Sender: No OFD packet to send [03:55:04]OFD Sender: No OFD packet to send [03:55:09]OFD Sender: No OFD packet to send [03:55:14]OFD Sender: No OFD packet to send [03:55:19]OFD Sender: No OFD packet to send [03:55:24]OFD Sender: No OFD packet to send [03:55:29]OFD Sender: No OFD packet to send [03:55:34]OFD Sender: No OFD packet to send [03:55:39]OFD Sender: No OFD packet to send [03:55:44]OFD Sender: No OFD packet to send [03:55:49]OFD Sender: No OFD packet to send [03:55:54]OFD Sender: No OFD packet to send [03:55:59]OFD Sender: No OFD packet to send [03:56:04]OFD Sender: No OFD packet to send [03:56:09]OFD Sender: No OFD packet to send [03:56:14]OFD Sender: No OFD packet to send [03:56:19]OFD Sender: No OFD packet to send [03:56:24]OFD Sender: No OFD packet to send [03:56:29]OFD Sender: No OFD packet to send [03:56:34]OFD Sender: No OFD packet to send [03:56:39]OFD Sender: No OFD packet to send [03:56:44]OFD Sender: No OFD packet to send [03:56:49]OFD Sender: No OFD packet to send [03:56:54]OFD Sender: No OFD packet to send [03:56:59]OFD Sender: No OFD packet to send [03:57:04]OFD Sender: No OFD packet to send [03:57:09]OFD Sender: No OFD packet to send [03:57:14]OFD Sender: No OFD packet to send [03:57:19]OFD Sender: No OFD packet to send [03:57:24]OFD Sender: No OFD packet to send [03:57:29]OFD Sender: No OFD packet to send [03:57:34]OFD Sender: No OFD packet to send [03:57:39]OFD Sender: No OFD packet to send [03:57: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:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:06]accept exits with 7 [04:04:06]New connection [04:04:06]New thread 3067596132 created [04:04:06]Thread 3067452772 joined [04:04:06]Waiting for new connection... [04:04:06] Sock 7.Parse request [04:04:06]Sock 7.Check first char [04:04:06]Sock 7.First char is OK [04:04:06]request: POST /json_proto HTTP/1.0 [04:04:06]Method: POST [04:04:06]URL: /json_proto [04:04:06]Method is POST - this is cgi request [04:04:06]url: /json_proto [04:04:06]query_string will be loaded in cgi processing [04:04:06]execute_cgi json_proto POST (null) [04:04:06]execute_cgi path=json_proto method=POST [04:04:06]POST find Content-Length [04:04:06]Host: 172.17.50.4:8080 [04:04:06]Content-Length: 772 [04:04:06]Content-Type: application/json [04:04:06] [04:04:06]POST finish read [04:04:06]Found Content-Length = 772 [04:04:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134905", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.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" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:04:06]execute_script... [04:04: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)134905", "tax_sys" : 0, "items" : [ { "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.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" : 79.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:04:06]POST & json_proto [04:04:06]process_json_proto [04:04:06]json parsed OK: [04:04:06]protocol is kg_v1.0 [04:04:06]action value=close_receipt [04:04:06]process_action close_receipt [04:04:06]cmd_close_receipt [04:04:06]MH_GetDate [04:04:06]Write to MH i2c: F0 00 00 A3 03 95 [04:04:06]Write i2c OK [04:04:06]MH_I2C_Read... [04:04:06]Read from MH i2c: F0 [04:04:06]MH_I2C_Read... [04:04:06]Read from MH i2c: F0 09 00 [04:04:06]MH_I2C_Read... [04:04:06]Read from MH i2c: F0 09 00 A3 03 00 38 24 17 67 3B 12 16 67 42 [04:04:06]GetLastDocTimeStamp 1729562638 [04:04:06]current date 1729569848 [04:04:06]FM_GetShiftState [04:04:06]SAM_PROTO_GetShiftState [04:04:06]wFMCommunicate request_size=4 [04:04:06]MH_SAM_APDU [04:04:06]CAPDU: 80 13 01 00 [04:04:06]Write to MH i2c: E2 08 00 A4 03 80 13 01 00 00 00 00 00 24 [04:04:06]Write i2c OK [04:04:06]MH_I2C_Read... [04:04:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:04:06]Read from MH i2c: E2 [04:04:06]MH_I2C_Read... [04:04:06]Read from MH i2c: E2 0E 00 [04:04:06]MH_I2C_Read... [04:04:06]Read from MH i2c: E2 0E 00 A4 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1C [04:04:06]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [04:04:06]wFMCommunicate OK [04:04:06]SAM_PROTO_GetShiftState done [04:04:06]FM_GetShiftState done [04:04:06]opened in 1729555332 [04:04:06]opened+sec_in_day 1729641732 [04:04:06]quantity*price = 7900 [04:04:06]sum+1 = 7901 [04:04:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 79.00 НСП 1% : 0.70 НДС 12% : 8.39 Наличными: 0.00 Безнал.: 79.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 5 22.10.2024 04:04 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24386 ФПД: 255837840954333 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T040408&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24386&fm=255837840954333&tin=02508201610067®Number=0000000000098120&sum=7900 0 [04:04:07]StoreToDocumentArchive [04:04:07]shift 462 fd 24386 [04:04:07]save to /storage/0462/doc_00024386 [04:04:07]save last doc name /storage/0462/doc_00024386 to /storage/kkm_last_doc_name [04:04:07]save OK [04:04:07]Clear old archive folders... [04:04:07]ProcessDocumentItem done err = 0, tmpTLVsize=276 [04:04:07]tlvbuf is B6F77D80 [04:04:07]SAM_PROTO_ClearQueue [04:04:07]wFMCommunicate request_size=4 [04:04:07]MH_SAM_APDU [04:04:07]CAPDU: 80 09 00 00 [04:04:07]Write to MH i2c: E2 08 00 B1 03 80 09 00 00 00 00 00 00 26 [04:04:07]Write i2c OK [04:04:07]MH_I2C_Read... [04:04:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:04:07]Read from MH i2c: E2 [04:04:07]MH_I2C_Read... [04:04:07]Read from MH i2c: E2 03 00 [04:04:07]MH_I2C_Read... [04:04:07]Read from MH i2c: E2 03 00 B1 03 00 90 00 28 [04:04:07]RAPDU: 90 00 [04:04:07]wFMCommunicate OK [04:04:07]SAM_PROTO_ClearQueue done [04:04:07]KKMCreateOFDPacket [04:04:07]OFDProtocolAddRootSTLVToBuf [04:04:07]FM_MakeSignedData [04:04:07]FM_MakeSignedData [04:04:07]SAM_PROTO_SignData [04:04:07]wFMCommunicate request_size=4 [04:04:07]MH_SAM_APDU [04:04:07]CAPDU: 80 0D 01 02 [04:04:07]Write to MH i2c: E2 08 00 B2 03 80 0D 01 02 00 00 00 00 2E [04:04:07]Write i2c OK [04:04:07]MH_I2C_Read... [04:04:07]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:04:07]Read from MH i2c: E2 [04:04:07]MH_I2C_Read... [04:04:07]Read from MH i2c: E2 03 00 [04:04:07]MH_I2C_Read... [04:04:07]Read from MH i2c: E2 03 00 B2 03 00 90 00 29 [04:04:07]RAPDU: 90 00 [04:04:07]wFMCommunicate OK [04:04:07]wFMCommunicate request_size=255 [04:04:07]MH_SAM_APDU [04:04:07]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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 38 24 17 67 0E 04 04 00 CE 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 [04:04:07]Write to MH i2c: E2 02 01 B3 03 80 0D 02 02 FA 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 38 24 17 67 0E 04 04 00 CE 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 BA [04:04:07]Write i2c OK [04:04:07]MH_I2C_Read... [04:04:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:04:08]Read from MH i2c: E2 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 03 00 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 03 00 B3 03 00 90 00 2A [04:04:08]RAPDU: 90 00 [04:04:08]wFMCommunicate OK [04:04:08]wFMCommunicate request_size=35 [04:04:08]MH_SAM_APDU [04:04:08]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 42 5F 00 00 35 04 06 00 E8 AE E3 A1 53 DD [04:04:08]Write to MH i2c: E2 26 00 B4 03 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 42 5F 00 00 35 04 06 00 E8 AE E3 A1 53 DD 00 00 09 [04:04:08]Write i2c OK [04:04:08]MH_I2C_Read... [04:04:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:04:08]Read from MH i2c: E2 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 03 00 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 03 00 B4 03 00 90 00 2B [04:04:08]RAPDU: 90 00 [04:04:08]wFMCommunicate OK [04:04:08]wFMCommunicate request_size=4 [04:04:08]MH_SAM_APDU [04:04:08]CAPDU: 80 0D 03 02 [04:04:08]Write to MH i2c: E2 08 00 B5 03 80 0D 03 02 00 00 00 00 33 [04:04:08]Write i2c OK [04:04:08]MH_I2C_Read... [04:04:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:04:08]Read from MH i2c: E2 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 0B 00 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 0B 00 B5 03 00 41 4D EC 40 0D 9E DA E6 90 00 59 [04:04:08]RAPDU: 41 4D EC 40 0D 9E DA E6 90 00 [04:04:08]wFMCommunicate OK [04:04:08]SAM_PROTO_SignData done [04:04:08]FM_MakeSignedData done [04:04:08]CreateOFDProtocolMessage [04:04:08]wFMCommunicate request_size=4 [04:04:08]MH_SAM_APDU [04:04:08]CAPDU: 80 11 00 00 [04:04:08]Write to MH i2c: E2 08 00 B6 03 80 11 00 00 00 00 00 00 33 [04:04:08]Write i2c OK [04:04:08]MH_I2C_Read... [04:04:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:04:08]Read from MH i2c: E2 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 17 00 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: E2 17 00 B6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 80 [04:04:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [04:04:08]wFMCommunicate OK [04:04:08]CreateOFDProtocolMessage done [04:04:08]OFDSenderStorePacket 24386 [04:04:08]StoreOFDPacket docnum=24386 [04:04: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 28 01 00 00 E4 0C 20 01 3C E8 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 38 24 17 67 0E 04 04 00 CE 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 42 5F 00 00 35 04 06 00 E8 AE E3 A1 53 DD 41 4D EC 40 0D 9E DA E6 [04:04:08]CheckFolder [04:04:08]dirname=/storage/ofd_packets [04:04:08]CheckFolder done [04:04:08]ProducePacketName [04:04:08]name=ofd_packets/00024386 [04:04:08]NVStorageSaveData ofd_packets/00024386 [04:04:08]File name is /storage/ofd_packets/00024386 [04:04:08]Write 326 bytes [04:04:08]NVStorageSaveData done [04:04:08]OFDSenderStorePacket done [04:04:08]KKMCreateOFDPacket done [04:04:08]NVStorageSaveData kkm_last_timestamp [04:04:08]File name is /storage/kkm_last_timestamp [04:04:08]Write 4 bytes [04:04:08]NVStorageSaveData done [04:04:08]ExternCall_PrintAddStr [04:04:08]wPrintStart [04:04:08]Write to MH i2c: 01 00 00 B7 03 BA [04:04:08]Write i2c OK [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: 01 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: 01 07 00 [04:04:08]MH_I2C_Read... [04:04:08]Read from MH i2c: 01 07 00 B7 03 00 00 00 00 00 FF 0F CF [04:04:08]RasterBufferAndPrint [04:04:08]line Счет N : (3)134905 [04:04:08]line ИНН: 02508201610067 [04:04:08]line Контрольно-Кассовый Чек [04:04:08]line ПРОДАЖА [04:04:08]line Товар: 4700000310043 [04:04:08]line Вода Жалалабат 27 1л [04:04:08]line 1.000 * 79.00 [04:04:08]line = 79.00 [04:04:08]line НДС 12% НСП 1% [04:04:08]line > о реализуемом товаре [04:04:08]line ИТОГО: 79.00 [04:04:08]line НСП 1% : 0.70 [04:04:08]line НДС 12% : 8.39 [04:04:08]line Наличными: 0.00 [04:04:08]line Безнал.: 79.00 [04:04:08]line Место: АЗС № 85 "Партнер Нефть" [04:04:08]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [04:04:08]line СНО: Общий режим [04:04:08]line Чек 5 22.10.2024 04:04 [04:04:08]line Смена: 462 ФФД: 1.0 [04:04:08]line ЗНМ: 0300000166 [04:04:08]line РНМ: 0000000000098120 [04:04:08]line Версия ККМ: 001 [04:04:08]line Платежная система: Mbank [04:04:08]line ФМ: 0000000000965420 [04:04:08]line ФД: 24386 [04:04:08]line ФПД: 255837840954333 [04:04:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T040408&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24386&fm=255837840954333&tin=02508201610067®Number=0000000000098120&sum=7900 [04:04:08]line 0 [04:04:08]OFD Sender: Processing packet 24386 [packets to send 5, broken 4] [04:04:08]ProducePacketName [04:04:08]name=ofd_packets/00024386 [04:04:08]OFD Sender: To server: pG, [04:04:08]CommunicateWithHost lk.salyk.kg:30040 [04:04:08]ConnectInit lk.salyk.kg [04:04:08]written 0, free lines is 4095 [04:04:08]Connected sock=10 [04:04: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 28 01 00 00 E4 0C 20 01 3C E8 5A 03 01 00 03 00 14 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 30 34 33 06 04 22 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 96 D0 B0 D0 BB D0 B0 D0 BB D0 B0 D0 B1 D0 B0 D1 82 20 32 37 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 1E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 47 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 1E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 38 24 17 67 0E 04 04 00 CE 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 42 5F 00 00 35 04 06 00 E8 AE E3 A1 53 DD 41 4D EC 40 0D 9E DA E6 [04:04:09]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 88 22 47 00 21 5B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 42 5F 00 00 F4 03 04 00 DD CF 16 67 B6 04 01 00 00 BE E8 C8 07 E4 CC 1B 89 [04:04:09]CommunicateWithHost err = 0 [04:04:09]CheckOFDResponse [04:04:09]1017 (14) - 77093643461234 [04:04:09]1041 (16) - 0000000000965420 [04:04:09]1040 (4) - 24386 [04:04:09]1012 (4) - 21.10.2024 22:04 [04:04:09]1206 (1) - 0 [04:04:09]OFD Sender: Remove packet 24386 [04:04:09]ProducePacketName [04:04:09]name=ofd_packets/00024386 [04:04:09]NVStorageDeleteData [04:04:09]Write to MH i2c: 01 00 00 E0 03 E3 [04:04:09]Write i2c OK [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: 01 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: 01 07 00 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: 01 07 00 E0 03 00 00 00 00 00 0D 0D 04 [04:04:09]RasterBufferAndPrint [04:04:09]line [04:04:09]line [04:04:09]line [04:04:09]line [04:04:09]line [04:04:09]written 0, free lines is 3348 [04:04:09]process_action close_receipt done [04:04:09]requested_data is exist [04:04:09]produce_requested_data [04:04:09]requested_item fm.sn is exist - process it [04:04:09]wFMCommunicate request_size=4 [04:04:09]MH_SAM_APDU [04:04:09]CAPDU: 80 11 00 00 [04:04:09]Write to MH i2c: E2 08 00 E7 03 80 11 00 00 00 00 00 00 64 [04:04:09]Write i2c OK [04:04:09]MH_I2C_Read... [04:04:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:04:09]Read from MH i2c: E2 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 17 00 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 17 00 E7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [04:04:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [04:04:09]wFMCommunicate OK [04:04:09]requested_item fd.num is exist - process it [04:04:09]SAM_PROTO_GetFieldsCounters [04:04:09]wFMCommunicate request_size=4 [04:04:09]MH_SAM_APDU [04:04:09]CAPDU: 80 13 00 00 [04:04:09]Write to MH i2c: E2 08 00 E8 03 80 13 00 00 00 00 00 00 67 [04:04:09]Write i2c OK [04:04:09]MH_I2C_Read... [04:04:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:04:09]Read from MH i2c: E2 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 62 00 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 62 00 E8 03 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 42 5F 00 00 0E 04 04 00 CE 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 FC [04:04: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 42 5F 00 00 0E 04 04 00 CE 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 [04:04:09]wFMCommunicate OK [04:04:09]SAM_PROTO_GetFieldsCounters done [04:04:09]requested_item shift.num is exist - process it [04:04:09]requested_item shift.opened is exist - process it [04:04:09]req_shift_opened [04:04:09]FM_GetShiftState [04:04:09]SAM_PROTO_GetShiftState [04:04:09]wFMCommunicate request_size=4 [04:04:09]MH_SAM_APDU [04:04:09]CAPDU: 80 13 01 00 [04:04:09]Write to MH i2c: E2 08 00 E9 03 80 13 01 00 00 00 00 00 69 [04:04:09]Write i2c OK [04:04:09]MH_I2C_Read... [04:04:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:04:09]Read from MH i2c: E2 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 0E 00 [04:04:09]MH_I2C_Read... [04:04:09]Read from MH i2c: E2 0E 00 E9 03 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 61 [04:04:09]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [04:04:09]wFMCommunicate OK [04:04:09]SAM_PROTO_GetShiftState done [04:04:09]FM_GetShiftState done [04:04:09]req_shift_opened done [04:04:09]requested_item shift.open_date is exist - process it [04:04:09]req_shift_open_date [04:04:09]req_shift_open_date done [04:04:09]produce_requested_data done [04:04:09]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24386,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [04:04:09]process_action_free close_receipt [04:04:09]json_value_free [04:04:09]json_value_free done [04:04:09]process_json_proto returns [04:04:09]Send response to host [04:04:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24386,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [04:04:09]free response buf [04:04:09]execute_script done [04:04:09]execute_script returns [04:04:09]free content buf [04:04:09]Sock 7.Close socket [04:04:09]Sock 7.Thread stoped [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:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]recv_with_timeout no data received [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14: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: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:41]ConnectInit Can't connect to host [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:50]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:09]ConnectInit Can't connect to host [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36: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: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:11]recv_with_timeout no data received [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:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:41]OFD Sender: No OFD packet to send [04:56:46]OFD Sender: No OFD packet to send [04:56:51]OFD Sender: No OFD packet to send [04:56:56]OFD Sender: No OFD packet to send [04:57:01]OFD Sender: No OFD packet to send [04:57:06]OFD Sender: No OFD packet to send [04:57:11]OFD Sender: No OFD packet to send [04:57:16]OFD Sender: No OFD packet to send [04:57:21]OFD Sender: No OFD packet to send [04:57:26]OFD Sender: No OFD packet to send [04:57:31]OFD Sender: No OFD packet to send [04:57:36]OFD Sender: No OFD packet to send [04:57:41]OFD Sender: No OFD packet to send [04:57: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:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:27]OFD Sender: No OFD packet to send [05:15:32]OFD Sender: No OFD packet to send [05:15:37]OFD Sender: No OFD packet to send [05:15:42]OFD Sender: No OFD packet to send [05:15:47]OFD Sender: No OFD packet to send [05:15:52]OFD Sender: No OFD packet to send [05:15:57]OFD Sender: No OFD packet to send [05:16:02]OFD Sender: No OFD packet to send [05:16:07]OFD Sender: No OFD packet to send [05:16:12]OFD Sender: No OFD packet to send [05:16:17]OFD Sender: No OFD packet to send [05:16:22]OFD Sender: No OFD packet to send [05:16:27]OFD Sender: No OFD packet to send [05:16:32]OFD Sender: No OFD packet to send [05:16:37]OFD Sender: No OFD packet to send [05:16:42]OFD Sender: No OFD packet to send [05:16:47]OFD Sender: No OFD packet to send [05:16:52]OFD Sender: No OFD packet to send [05:16:57]OFD Sender: No OFD packet to send [05:17:02]OFD Sender: No OFD packet to send [05:17:07]OFD Sender: No OFD packet to send [05:17:12]OFD Sender: No OFD packet to send [05:17:17]OFD Sender: No OFD packet to send [05:17:22]OFD Sender: No OFD packet to send [05:17:27]OFD Sender: No OFD packet to send [05:17:32]OFD Sender: No OFD packet to send [05:17:37]OFD Sender: No OFD packet to send [05:17:42]OFD Sender: No OFD packet to send [05:17:47]OFD Sender: No OFD packet to send [05:17:52]OFD Sender: No OFD packet to send [05:17:57]OFD Sender: No OFD packet to send [05:18:02]OFD Sender: No OFD packet to send [05:18:07]OFD Sender: No OFD packet to send [05:18:12]OFD Sender: No OFD packet to send [05:18:17]OFD Sender: No OFD packet to send [05:18:22]OFD Sender: No OFD packet to send [05:18:27]OFD Sender: No OFD packet to send [05:18:32]OFD Sender: No OFD packet to send [05:18:37]OFD Sender: No OFD packet to send [05:18:42]OFD Sender: No OFD packet to send [05:18:47]OFD Sender: No OFD packet to send [05:18:52]OFD Sender: No OFD packet to send [05:18:57]OFD Sender: No OFD packet to send [05:19:02]OFD Sender: No OFD packet to send [05:19:07]OFD Sender: No OFD packet to send [05:19:12]OFD Sender: No OFD packet to send [05:19:17]OFD Sender: No OFD packet to send [05:19:22]OFD Sender: No OFD packet to send [05:19: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:48]OFD Sender: No OFD packet to send [05:22:53]OFD Sender: No OFD packet to send [05:22:54]recv_with_timeout no data received [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: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:33:58]ConnectInit Can't connect to host [05:34:03]OFD Sender: No OFD packet to send [05:34:08]OFD Sender: No OFD packet to send [05:34:13]OFD Sender: No OFD packet to send [05:34:18]OFD Sender: No OFD packet to send [05:34:23]OFD Sender: No OFD packet to send [05:34:28]OFD Sender: No OFD packet to send [05:34:33]OFD Sender: No OFD packet to send [05:34:38]OFD Sender: No OFD packet to send [05:34:43]OFD Sender: No OFD packet to send [05:34:48]OFD Sender: No OFD packet to send [05:34:53]OFD Sender: No OFD packet to send [05:34:58]OFD Sender: No OFD packet to send [05:35:03]OFD Sender: No OFD packet to send [05:35:08]OFD Sender: No OFD packet to send [05:35:13]OFD Sender: No OFD packet to send [05:35:18]OFD Sender: No OFD packet to send [05:35:23]OFD Sender: No OFD packet to send [05:35:28]OFD Sender: No OFD packet to send [05:35:33]OFD Sender: No OFD packet to send [05:35:38]OFD Sender: No OFD packet to send [05:35:43]OFD Sender: No OFD packet to send [05:35:48]OFD Sender: No OFD packet to send [05:35:53]OFD Sender: No OFD packet to send [05:35:58]OFD Sender: No OFD packet to send [05:36:03]OFD Sender: No OFD packet to send [05:36:08]OFD Sender: No OFD packet to send [05:36:13]OFD Sender: No OFD packet to send [05:36:18]OFD Sender: No OFD packet to send [05:36:23]OFD Sender: No OFD packet to send [05:36:28]OFD Sender: No OFD packet to send [05:36:33]OFD Sender: No OFD packet to send [05:36:38]OFD Sender: No OFD packet to send [05:36:43]OFD Sender: No OFD packet to send [05:36:48]OFD Sender: No OFD packet to send [05:36:53]OFD Sender: No OFD packet to send [05:36:58]OFD Sender: No OFD packet to send [05:37:03]OFD Sender: No OFD packet to send [05:37:08]OFD Sender: No OFD packet to send [05:37:13]OFD Sender: No OFD packet to send [05:37:18]OFD Sender: No OFD packet to send [05:37:23]OFD Sender: No OFD packet to send [05:37:28]OFD Sender: No OFD packet to send [05:37:33]OFD Sender: No OFD packet to send [05:37:38]OFD Sender: No OFD packet to send [05:37:43]OFD Sender: No OFD packet to send [05:37:48]OFD Sender: No OFD packet to send [05:37:53]OFD Sender: No OFD packet to send [05:37:58]OFD Sender: No OFD packet to send [05:38:03]OFD Sender: No OFD packet to send [05:38:08]OFD Sender: No OFD packet to send [05:38:13]OFD Sender: No OFD packet to send [05:38:18]OFD Sender: No OFD packet to send [05:38:23]OFD Sender: No OFD packet to send [05:38:28]OFD Sender: No OFD packet to send [05:38:33]OFD Sender: No OFD packet to send [05:38:38]OFD Sender: No OFD packet to send [05:38:43]OFD Sender: No OFD packet to send [05:38:48]OFD Sender: No OFD packet to send [05:38:53]OFD Sender: No OFD packet to send [05:38:58]OFD Sender: No OFD packet to send [05:39:03]OFD Sender: No OFD packet to send [05:39:08]OFD Sender: No OFD packet to send [05:39:13]OFD Sender: No OFD packet to send [05:39:18]OFD Sender: No OFD packet to send [05:39:23]OFD Sender: No OFD packet to send [05:39:28]OFD Sender: No OFD packet to send [05:39:33]OFD Sender: No OFD packet to send [05:39:38]OFD Sender: No OFD packet to send [05:39:43]OFD Sender: No OFD packet to send [05:39:48]OFD Sender: No OFD packet to send [05:39:53]OFD Sender: No OFD packet to send [05:39:58]OFD Sender: No OFD packet to send [05:40:03]OFD Sender: No OFD packet to send [05:40:08]OFD Sender: No OFD packet to send [05:40:13]OFD Sender: No OFD packet to send [05:40:18]OFD Sender: No OFD packet to send [05:40:23]OFD Sender: No OFD packet to send [05:40:28]OFD Sender: No OFD packet to send [05:40:33]OFD Sender: No OFD packet to send [05:40:38]OFD Sender: No OFD packet to send [05:40:43]OFD Sender: No OFD packet to send [05:40:48]OFD Sender: No OFD packet to send [05:40:53]OFD Sender: No OFD packet to send [05:40:58]OFD Sender: No OFD packet to send [05:41: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:16]recv_with_timeout no data received [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:03]recv_with_timeout no data received [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:39]OFD Sender: No OFD packet to send [05:53:44]OFD Sender: No OFD packet to send [05:53:48]recv_with_timeout no data received [05:53:49]OFD Sender: No OFD packet to send [05:53:54]OFD Sender: No OFD packet to send [05:53:59]OFD Sender: No OFD packet to send [05:54:04]OFD Sender: No OFD packet to send [05:54:09]OFD Sender: No OFD packet to send [05:54:14]OFD Sender: No OFD packet to send [05:54:19]OFD Sender: No OFD packet to send [05:54:24]OFD Sender: No OFD packet to send [05:54:29]OFD Sender: No OFD packet to send [05:54:34]OFD Sender: No OFD packet to send [05:54:39]OFD Sender: No OFD packet to send [05:54:44]OFD Sender: No OFD packet to send [05:54:49]OFD Sender: No OFD packet to send [05:54:54]OFD Sender: No OFD packet to send [05:54:59]OFD Sender: No OFD packet to send [05:55:04]OFD Sender: No OFD packet to send [05:55:09]OFD Sender: No OFD packet to send [05:55:14]OFD Sender: No OFD packet to send [05:55:19]OFD Sender: No OFD packet to send [05:55:24]OFD Sender: No OFD packet to send [05:55:29]OFD Sender: No OFD packet to send [05:55:34]OFD Sender: No OFD packet to send [05:55:39]OFD Sender: No OFD packet to send [05:55:44]OFD Sender: No OFD packet to send [05:55:49]OFD Sender: No OFD packet to send [05:55:54]OFD Sender: No OFD packet to send [05:55:59]OFD Sender: No OFD packet to send [05:56:04]OFD Sender: No OFD packet to send [05:56:09]OFD Sender: No OFD packet to send [05:56:14]OFD Sender: No OFD packet to send [05:56:19]OFD Sender: No OFD packet to send [05:56:24]OFD Sender: No OFD packet to send [05:56:29]OFD Sender: No OFD packet to send [05:56:34]OFD Sender: No OFD packet to send [05:56:39]OFD Sender: No OFD packet to send [05:56:44]OFD Sender: No OFD packet to send [05:56:49]OFD Sender: No OFD packet to send [05:56:54]OFD Sender: No OFD packet to send [05:56:59]OFD Sender: No OFD packet to send [05:57:04]OFD Sender: No OFD packet to send [05:57:09]OFD Sender: No OFD packet to send [05:57:14]OFD Sender: No OFD packet to send [05:57:19]OFD Sender: No OFD packet to send [05:57:24]OFD Sender: No OFD packet to send [05:57:29]OFD Sender: No OFD packet to send [05:57:34]OFD Sender: No OFD packet to send [05:57:39]OFD Sender: No OFD packet to send [05:57:44]OFD Sender: No OFD packet to send [05:57:49]OFD Sender: No OFD packet to send [05:57:54]OFD Sender: No OFD packet to send [05:57:59]OFD Sender: No OFD packet to send [05:58:04]OFD Sender: No OFD packet to send [05:58:09]OFD Sender: No OFD packet to send [05:58:14]OFD Sender: No OFD packet to send [05:58:19]OFD Sender: No OFD packet to send [05:58:24]OFD Sender: No OFD packet to send [05:58:29]OFD Sender: No OFD packet to send [05:58:34]OFD Sender: No OFD packet to send [05:58:39]OFD Sender: No OFD packet to send [05:58:44]OFD Sender: No OFD packet to send [05:58:49]OFD Sender: No OFD packet to send [05:58:54]OFD Sender: No OFD packet to send [05:58:59]OFD Sender: No OFD packet to send [05:59:04]OFD Sender: No OFD packet to send [05:59:09]OFD Sender: No OFD packet to send [05:59:14]OFD Sender: No OFD packet to send [05:59:19]OFD Sender: No OFD packet to send [05:59:24]OFD Sender: No OFD packet to send [05:59:29]OFD Sender: No OFD packet to send [05:59:34]OFD Sender: No OFD packet to send [05:59:39]OFD Sender: No OFD packet to send [05:59:44]OFD Sender: No OFD packet to send [05:59:49]OFD Sender: No OFD packet to send [05:59:54]OFD Sender: No OFD packet to send [05:59:59]OFD Sender: No OFD packet to send [06:00:04]OFD Sender: No OFD packet to send [06:00:09]OFD Sender: No OFD packet to send [06:00:14]OFD Sender: No OFD packet to send [06:00:19]OFD Sender: No OFD packet to send [06:00:24]OFD Sender: No OFD packet to send [06:00:29]OFD Sender: No OFD packet to send [06:00:34]OFD Sender: No OFD packet to send [06:00:39]OFD Sender: No OFD packet to send [06:00:44]OFD Sender: No OFD packet to send [06:00:49]OFD Sender: No OFD packet to send [06:00:54]OFD Sender: No OFD packet to send [06:00:59]OFD Sender: No OFD packet to send [06:01:04]OFD Sender: No OFD packet to send [06:01:09]OFD Sender: No OFD packet to send [06:01:14]OFD Sender: No OFD packet to send [06:01:19]OFD Sender: No OFD packet to send [06:01:24]OFD Sender: No OFD packet to send [06:01:29]OFD Sender: No OFD packet to send [06:01:34]OFD Sender: No OFD packet to send [06:01:39]OFD Sender: No OFD packet to send [06:01:44]OFD Sender: No OFD packet to send [06:01:49]OFD Sender: No OFD packet to send [06:01:54]OFD Sender: No OFD packet to send [06:01:55]recv_with_timeout no data received [06:01:59]OFD Sender: No OFD packet to send [06:02:04]OFD Sender: No OFD packet to send [06:02:09]OFD Sender: No OFD packet to send [06:02:14]OFD Sender: No OFD packet to send [06:02:19]OFD Sender: No OFD packet to send [06:02:24]OFD Sender: No OFD packet to send [06:02:29]OFD Sender: No OFD packet to send [06:02:34]OFD Sender: No OFD packet to send [06:02: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:50]OFD Sender: No OFD packet to send [06:03:55]OFD Sender: No OFD packet to send [06:04:00]OFD Sender: No OFD packet to send [06:04:05]OFD Sender: No OFD packet to send [06:04:10]OFD Sender: No OFD packet to send [06:04:15]OFD Sender: No OFD packet to send [06:04:20]OFD Sender: No OFD packet to send [06:04:25]OFD Sender: No OFD packet to send [06:04:30]OFD Sender: No OFD packet to send [06:04:35]OFD Sender: No OFD packet to send [06:04:40]OFD Sender: No OFD packet to send [06:04:45]OFD Sender: No OFD packet to send [06:04:50]OFD Sender: No OFD packet to send [06:04:55]OFD Sender: No OFD packet to send [06:05:00]OFD Sender: No OFD packet to send [06:05:05]OFD Sender: No OFD packet to send [06:05:10]OFD Sender: No OFD packet to send [06:05:15]OFD Sender: No OFD packet to send [06:05:20]OFD Sender: No OFD packet to send [06:05:25]OFD Sender: No OFD packet to send [06:05:30]OFD Sender: No OFD packet to send [06:05:35]OFD Sender: No OFD packet to send [06:05:40]OFD Sender: No OFD packet to send [06:05:45]OFD Sender: No OFD packet to send [06:05:50]OFD Sender: No OFD packet to send [06:05:55]OFD Sender: No OFD packet to send [06:06:00]OFD Sender: No OFD packet to send [06:06:05]OFD Sender: No OFD packet to send [06:06:10]OFD Sender: No OFD packet to send [06:06:15]OFD Sender: No OFD packet to send [06:06:20]OFD Sender: No OFD packet to send [06:06:25]OFD Sender: No OFD packet to send [06:06:30]OFD Sender: No OFD packet to send [06:06:35]OFD Sender: No OFD packet to send [06:06:40]OFD Sender: No OFD packet to send [06:06:45]OFD Sender: No OFD packet to send [06:06:50]OFD Sender: No OFD packet to send [06:06:55]OFD Sender: No OFD packet to send [06:07:00]OFD Sender: No OFD packet to send [06:07:05]OFD Sender: No OFD packet to send [06:07:10]OFD Sender: No OFD packet to send [06:07:15]OFD Sender: No OFD packet to send [06:07:20]OFD Sender: No OFD packet to send [06:07:25]OFD Sender: No OFD packet to send [06:07:30]OFD Sender: No OFD packet to send [06:07:35]OFD Sender: No OFD packet to send [06:07:40]OFD Sender: No OFD packet to send [06:07:45]OFD Sender: No OFD packet to send [06:07:50]OFD Sender: No OFD packet to send [06:07:55]OFD Sender: No OFD packet to send [06:08:00]OFD Sender: No OFD packet to send [06:08:05]OFD Sender: No OFD packet to send [06:08:10]OFD Sender: No OFD packet to send [06:08:15]OFD Sender: No OFD packet to send [06:08:20]OFD Sender: No OFD packet to send [06:08:25]OFD Sender: No OFD packet to send [06:08:30]OFD Sender: No OFD packet to send [06:08:35]OFD Sender: No OFD packet to send [06:08:40]OFD Sender: No OFD packet to send [06:08:45]OFD Sender: No OFD packet to send [06:08:50]OFD Sender: No OFD packet to send [06:08:55]OFD Sender: No OFD packet to send [06:09:00]OFD Sender: No OFD packet to send [06:09:05]OFD Sender: No OFD packet to send [06:09:10]OFD Sender: No OFD packet to send [06:09:15]OFD Sender: No OFD packet to send [06:09:20]OFD Sender: No OFD packet to send [06:09:25]OFD Sender: No OFD packet to send [06:09:30]OFD Sender: No OFD packet to send [06:09:35]OFD Sender: No OFD packet to send [06:09:40]OFD Sender: No OFD packet to send [06:09:45]OFD Sender: No OFD packet to send [06:09:50]OFD Sender: No OFD packet to send [06:09:55]OFD Sender: No OFD packet to send [06:10:00]OFD Sender: No OFD packet to send [06:10:05]OFD Sender: No OFD packet to send [06:10:10]OFD Sender: No OFD packet to send [06:10:15]OFD Sender: No OFD packet to send [06:10:20]OFD Sender: No OFD packet to send [06:10:25]OFD Sender: No OFD packet to send [06:10:30]OFD Sender: No OFD packet to send [06:10:35]OFD Sender: No OFD packet to send [06:10:40]OFD Sender: No OFD packet to send [06:10:45]OFD Sender: No OFD packet to send [06:10:50]OFD Sender: No OFD packet to send [06:10:55]OFD Sender: No OFD packet to send [06:11:00]OFD Sender: No OFD packet to send [06:11:05]OFD Sender: No OFD packet to send [06:11:10]OFD Sender: No OFD packet to send [06:11:15]OFD Sender: No OFD packet to send [06:11:20]OFD Sender: No OFD packet to send [06:11:25]OFD Sender: No OFD packet to send [06:11:30]OFD Sender: No OFD packet to send [06:11:35]OFD Sender: No OFD packet to send [06:11:40]OFD Sender: No OFD packet to send [06:11:45]OFD Sender: No OFD packet to send [06:11:50]OFD Sender: No OFD packet to send [06:11:55]OFD Sender: No OFD packet to send [06:12:00]OFD Sender: No OFD packet to send [06:12:05]OFD Sender: No OFD packet to send [06:12:10]OFD Sender: No OFD packet to send [06:12:15]OFD Sender: No OFD packet to send [06:12:20]OFD Sender: No OFD packet to send [06:12:25]OFD Sender: No OFD packet to send [06:12:30]OFD Sender: No OFD packet to send [06:12:35]OFD Sender: No OFD packet to send [06:12:40]OFD Sender: No OFD packet to send [06:12:45]OFD Sender: No OFD packet to send [06:12:50]OFD Sender: No OFD packet to send [06:12:55]OFD Sender: No OFD packet to send [06:13:00]OFD Sender: No OFD packet to send [06:13:05]OFD Sender: No OFD packet to send [06:13:10]OFD Sender: No OFD packet to send [06:13:20]OFD Sender: No OFD packet to send [06:13:25]OFD Sender: No OFD packet to send [06:13:30]OFD Sender: No OFD packet to send [06:13:35]OFD Sender: No OFD packet to send [06:13:40]OFD Sender: No OFD packet to send [06:13:43]recv_with_timeout no data received [06:13:45]OFD Sender: No OFD packet to send [06:13:50]OFD Sender: No OFD packet to send [06:13:55]OFD Sender: No OFD packet to send [06:14:00]OFD Sender: No OFD packet to send [06:14:05]OFD Sender: No OFD packet to send [06:14:10]OFD Sender: No OFD packet to send [06:14:15]OFD Sender: No OFD packet to send [06:14:20]OFD Sender: No OFD packet to send [06:14:25]OFD Sender: No OFD packet to send [06:14:30]OFD Sender: No OFD packet to send [06:14:35]OFD Sender: No OFD packet to send [06:14:40]OFD Sender: No OFD packet to send [06:14:45]OFD Sender: No OFD packet to send [06:14:50]OFD Sender: No OFD packet to send [06:14:55]OFD Sender: No OFD packet to send [06:15:00]OFD Sender: No OFD packet to send [06:15:05]OFD Sender: No OFD packet to send [06:15:10]OFD Sender: No OFD packet to send [06:15:15]OFD Sender: No OFD packet to send [06:15:20]OFD Sender: No OFD packet to send [06:15:25]OFD Sender: No OFD packet to send [06:15:30]OFD Sender: No OFD packet to send [06:15:35]OFD Sender: No OFD packet to send [06:15:40]OFD Sender: No OFD packet to send [06:15:45]OFD Sender: No OFD packet to send [06:15:50]OFD Sender: No OFD packet to send [06:15:55]OFD Sender: No OFD packet to send [06:16:00]OFD Sender: No OFD packet to send [06:16:05]OFD Sender: No OFD packet to send [06:16:10]OFD Sender: No OFD packet to send [06:16:15]OFD Sender: No OFD packet to send [06:16:20]OFD Sender: No OFD packet to send [06:16:25]OFD Sender: No OFD packet to send [06:16:30]OFD Sender: No OFD packet to send [06:16:35]OFD Sender: No OFD packet to send [06:16:40]OFD Sender: No OFD packet to send [06:16:45]OFD Sender: No OFD packet to send [06:16:50]OFD Sender: No OFD packet to send [06:16:55]OFD Sender: No OFD packet to send [06:17:00]OFD Sender: No OFD packet to send [06:17:05]OFD Sender: No OFD packet to send [06:17:10]OFD Sender: No OFD packet to send [06:17:15]OFD Sender: No OFD packet to send [06:17:20]OFD Sender: No OFD packet to send [06:17:25]OFD Sender: No OFD packet to send [06:17:30]OFD Sender: No OFD packet to send [06:17:35]OFD Sender: No OFD packet to send [06:17:40]OFD Sender: No OFD packet to send [06:17:45]OFD Sender: No OFD packet to send [06:17:50]OFD Sender: No OFD packet to send [06:17:55]OFD Sender: No OFD packet to send [06:18:00]OFD Sender: No OFD packet to send [06:18:05]OFD Sender: No OFD packet to send [06:18:10]OFD Sender: No OFD packet to send [06:18:15]OFD Sender: No OFD packet to send [06:18:20]OFD Sender: No OFD packet to send [06:18:25]OFD Sender: No OFD packet to send [06:18:30]OFD Sender: No OFD packet to send [06:18:35]OFD Sender: No OFD packet to send [06:18:40]OFD Sender: No OFD packet to send [06:18:45]OFD Sender: No OFD packet to send [06:18:50]OFD Sender: No OFD packet to send [06:18:55]OFD Sender: No OFD packet to send [06:19:00]OFD Sender: No OFD packet to send [06:19:05]OFD Sender: No OFD packet to send [06:19:10]OFD Sender: No OFD packet to send [06:19:15]OFD Sender: No OFD packet to send [06:19:20]OFD Sender: No OFD packet to send [06:19:25]OFD Sender: No OFD packet to send [06:19:30]OFD Sender: No OFD packet to send [06:19:35]OFD Sender: No OFD packet to send [06:19:40]OFD Sender: No OFD packet to send [06:19:45]OFD Sender: No OFD packet to send [06:19:50]OFD Sender: No OFD packet to send [06:19:55]OFD Sender: No OFD packet to send [06:20:00]OFD Sender: No OFD packet to send [06:20:05]OFD Sender: No OFD packet to send [06:20:10]OFD Sender: No OFD packet to send [06:20:15]OFD Sender: No OFD packet to send [06:20:20]OFD Sender: No OFD packet to send [06:20:25]OFD Sender: No OFD packet to send [06:20:30]OFD Sender: No OFD packet to send [06:20:35]OFD Sender: No OFD packet to send [06:20:40]OFD Sender: No OFD packet to send [06:20:45]OFD Sender: No OFD packet to send [06:20:50]OFD Sender: No OFD packet to send [06:20:55]OFD Sender: No OFD packet to send [06:21:00]OFD Sender: No OFD packet to send [06:21:05]OFD Sender: No OFD packet to send [06:21:10]OFD Sender: No OFD packet to send [06:21:15]OFD Sender: No OFD packet to send [06:21:20]OFD Sender: No OFD packet to send [06:21:25]OFD Sender: No OFD packet to send [06:21:30]OFD Sender: No OFD packet to send [06:21:35]OFD Sender: No OFD packet to send [06:21:40]OFD Sender: No OFD packet to send [06:21:45]OFD Sender: No OFD packet to send [06:21:50]OFD Sender: No OFD packet to send [06:21:55]OFD Sender: No OFD packet to send [06:22:00]OFD Sender: No OFD packet to send [06:22:05]OFD Sender: No OFD packet to send [06:22:10]OFD Sender: No OFD packet to send [06:22:15]OFD Sender: No OFD packet to send [06:22:20]OFD Sender: No OFD packet to send [06:22:25]OFD Sender: No OFD packet to send [06:22:30]OFD Sender: No OFD packet to send [06:22:35]OFD Sender: No OFD packet to send [06:22:40]OFD Sender: No OFD packet to send [06:22:45]OFD Sender: No OFD packet to send [06:22:50]OFD Sender: No OFD packet to send [06:22:55]OFD Sender: No OFD packet to send [06:23:00]OFD Sender: No OFD packet to send [06:23:05]OFD Sender: No OFD packet to send [06:23:10]OFD Sender: No OFD packet to send [06:23:15]OFD Sender: No OFD packet to send [06:23:20]OFD Sender: No OFD packet to send [06:23:25]OFD Sender: No OFD packet to send [06:23:30]OFD Sender: No OFD packet to send [06:23:35]OFD Sender: No OFD packet to send [06:23:40]OFD Sender: No OFD packet to send [06:23:45]OFD Sender: No OFD packet to send [06:23:50]OFD Sender: No OFD packet to send [06:23:55]OFD Sender: No OFD packet to send 67 [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=15 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 15 02 00 0A 07 04 06 00 00 00 00 00 00 00 [06:24:05]Write to MH i2c: E2 12 00 F1 03 80 15 02 00 0A 00 07 04 06 00 00 00 00 00 00 00 00 00 99 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F1 03 00 90 00 68 [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=15 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 15 02 00 0A 39 04 06 00 5C 5D 00 00 00 00 [06:24:05]Write to MH i2c: E2 12 00 F2 03 80 15 02 00 0A 00 39 04 06 00 5C 5D 00 00 00 00 00 00 85 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F2 03 00 90 00 69 [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=11 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 15 02 00 06 1F 04 02 00 01 00 [06:24:05]Write to MH i2c: E2 0E 00 F3 03 80 15 02 00 06 00 1F 04 02 00 01 00 00 00 A8 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F3 03 00 90 00 6A [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=13 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 15 02 00 08 F4 03 04 00 06 45 17 67 [06:24:05]Write to MH i2c: E2 10 00 F4 03 80 15 02 00 08 00 F4 03 04 00 06 45 17 67 00 00 4B [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F4 03 00 90 00 6B [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=25 [06:24:05]MH_SAM_APDU [06:24:05]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 [06:24:05]Write to MH i2c: E2 1C 00 F5 03 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 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F5 03 00 90 00 6C [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=4 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 15 03 00 [06:24:05]Write to MH i2c: E2 08 00 F6 03 80 15 03 00 00 00 00 00 7A [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 61! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 40 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 40 00 F6 03 00 3B 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 43 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 06 00 00 00 35 04 06 00 5D C2 12 88 A5 F2 90 00 31 [06:24:05]RAPDU: 3B 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 43 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 06 00 00 00 35 04 06 00 5D C2 12 88 A5 F2 90 00 [06:24:05]wFMCommunicate OK [06:24:05]SAM_PROTO_ProcessDocument answer len = 59 [06:24:05]SAM_PROTO_ProcessDocument done [06:24:05]SetTLVBufToDocument [06:24:05]Processing tag 1209 (04B9) [06:24:05]Malloc new data [06:24:05]Processing tag 1041 (0411) [06:24:05]Processing tag 1040 (0410) [06:24:05]Malloc new data [06:24:05]Processing tag 1038 (040E) [06:24:05]Malloc new data [06:24:05]Processing tag 1042 (0412) [06:24:05]Malloc new data [06:24:05]Processing tag 1077 (0435) [06:24:05]Malloc new data [06:24:05]SetTLVBufToDocument err=0 [06:24:05]KKMLoadAndSignReceiptData store KKM data [06:24:05]KKMLoadAndSignReceiptData err=0 [06:24:05]wFMCommunicate request_size=4 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 11 00 00 [06:24:05]Write to MH i2c: E2 08 00 F7 03 80 11 00 00 00 00 00 00 74 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 17 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 17 00 F7 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C1 [06:24:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:24:05]wFMCommunicate OK [06:24:05]Счет N : (3)134906 ИНН: 02508201610067 Контрольно-Кассовый Чек ПРОДАЖА Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010056 Чай хол Let`s Go! зел лим ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 239.00 НСП 1% : 2.11 НДС 12% : 25.38 Наличными: 0.00 Безнал.: 239.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 6 22.10.2024 06:24 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24387 ФПД: 103088115983858 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T062406&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24387&fm=103088115983858&tin=02508201610067®Number=0000000000098120&sum=23900 0 [06:24:05]StoreToDocumentArchive [06:24:05]shift 462 fd 24387 [06:24:05]save to /storage/0462/doc_00024387 [06:24:05]save last doc name /storage/0462/doc_00024387 to /storage/kkm_last_doc_name [06:24:05]save OK [06:24:05]Clear old archive folders... [06:24:05]ProcessDocumentItem done err = 0, tmpTLVsize=398 [06:24:05]tlvbuf is 00D4CDB0 [06:24:05]SAM_PROTO_ClearQueue [06:24:05]wFMCommunicate request_size=4 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 09 00 00 [06:24:05]Write to MH i2c: E2 08 00 F8 03 80 09 00 00 00 00 00 00 6D [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F8 03 00 90 00 6F [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]SAM_PROTO_ClearQueue done [06:24:05]KKMCreateOFDPacket [06:24:05]OFDProtocolAddRootSTLVToBuf [06:24:05]FM_MakeSignedData [06:24:05]FM_MakeSignedData [06:24:05]SAM_PROTO_SignData [06:24:05]wFMCommunicate request_size=4 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 0D 01 02 [06:24:05]Write to MH i2c: E2 08 00 F9 03 80 0D 01 02 00 00 00 00 75 [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:24:05]Read from MH i2c: E2 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 [06:24:05]MH_I2C_Read... [06:24:05]Read from MH i2c: E2 03 00 F9 03 00 90 00 70 [06:24:05]RAPDU: 90 00 [06:24:05]wFMCommunicate OK [06:24:05]wFMCommunicate request_size=255 [06:24:05]MH_SAM_APDU [06:24:05]CAPDU: 80 0D 02 02 FA 03 00 8E 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 5D 00 00 00 00 EB 03 26 [06:24:05]Write to MH i2c: E2 02 01 FA 03 80 0D 02 02 FA 00 03 00 8E 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 5D 00 00 00 00 EB 03 26 00 00 AC [06:24:05]Write i2c OK [06:24:05]MH_I2C_Read... [06:24:06]OFD Sender: No OFD packet to send [06:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:24:06]Read from MH i2c: E2 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 03 00 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 03 00 FA 03 00 90 00 71 [06:24:06]RAPDU: 90 00 [06:24:06]wFMCommunicate OK [06:24:06]wFMCommunicate request_size=157 [06:24:06]MH_SAM_APDU [06:24:06]CAPDU: 80 0D 02 02 98 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 06 45 17 67 0E 04 04 00 CE 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 43 5F 00 00 35 04 06 00 5D C2 12 88 A5 F2 [06:24:06]Write to MH i2c: E2 A0 00 FB 03 80 0D 02 02 98 00 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 06 45 17 67 0E 04 04 00 CE 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 43 5F 00 00 35 04 06 00 5D C2 12 88 A5 F2 00 00 D5 [06:24:06]Write i2c OK [06:24:06]MH_I2C_Read... [06:24:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:24:06]Read from MH i2c: E2 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 03 00 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 03 00 FB 03 00 90 00 72 [06:24:06]RAPDU: 90 00 [06:24:06]wFMCommunicate OK [06:24:06]wFMCommunicate request_size=4 [06:24:06]MH_SAM_APDU [06:24:06]CAPDU: 80 0D 03 02 [06:24:06]Write to MH i2c: E2 08 00 FC 03 80 0D 03 02 00 00 00 00 7A [06:24:06]Write i2c OK [06:24:06]MH_I2C_Read... [06:24:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:24:06]Read from MH i2c: E2 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 0B 00 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 0B 00 FC 03 00 83 5B F7 EC 15 1B 98 0C 90 00 10 [06:24:06]RAPDU: 83 5B F7 EC 15 1B 98 0C 90 00 [06:24:06]wFMCommunicate OK [06:24:06]SAM_PROTO_SignData done [06:24:06]FM_MakeSignedData done [06:24:06]CreateOFDProtocolMessage [06:24:06]wFMCommunicate request_size=4 [06:24:06]MH_SAM_APDU [06:24:06]CAPDU: 80 11 00 00 [06:24:06]Write to MH i2c: E2 08 00 FD 03 80 11 00 00 00 00 00 00 7A [06:24:06]Write i2c OK [06:24:06]MH_I2C_Read... [06:24:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:24:06]Read from MH i2c: E2 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 17 00 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: E2 17 00 FD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C7 [06:24:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:24:06]wFMCommunicate OK [06:24:06]CreateOFDProtocolMessage done [06:24:06]OFDSenderStorePacket 24387 [06:24:06]StoreOFDPacket docnum=24387 [06:24:06]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 27 E5 9A 01 B8 D5 5A 03 01 00 03 00 8E 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 06 45 17 67 0E 04 04 00 CE 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 43 5F 00 00 35 04 06 00 5D C2 12 88 A5 F2 83 5B F7 EC 15 1B 98 0C [06:24:06]CheckFolder [06:24:06]dirname=/storage/ofd_packets [06:24:06]CheckFolder done [06:24:06]ProducePacketName [06:24:06]name=ofd_packets/00024387 [06:24:06]NVStorageSaveData ofd_packets/00024387 [06:24:06]File name is /storage/ofd_packets/00024387 [06:24:06]Write 448 bytes [06:24:06]NVStorageSaveData done [06:24:06]OFDSenderStorePacket done [06:24:06]KKMCreateOFDPacket done [06:24:06]NVStorageSaveData kkm_last_timestamp [06:24:06]File name is /storage/kkm_last_timestamp [06:24:06]Write 4 bytes [06:24:06]NVStorageSaveData done [06:24:06]ExternCall_PrintAddStr [06:24:06]wPrintStart [06:24:06]Write to MH i2c: 01 00 00 FE 03 01 [06:24:06]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:06]ProducePacketName [06:24:06]name=ofd_packets/00024387 [06:24:06]OFD Sender: To server: pG, [06:24:06]CommunicateWithHost lk.salyk.kg:30040 [06:24:06]ConnectInit lk.salyk.kg [06:24:06]Write i2c OK [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: 01 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: 01 07 00 [06:24:06]MH_I2C_Read... [06:24:06]Read from MH i2c: 01 07 00 FE 03 00 00 00 00 00 FF 0F 16 [06:24:06]RasterBufferAndPrint [06:24:06]line Счет N : (3)134906 [06:24:06]line ИНН: 02508201610067 [06:24:06]line Контрольно-Кассовый Чек [06:24:06]line ПРОДАЖА [06:24:06]line Товар: 48743587 [06:24:06]line Сигареты Winston XStyle Silver [06:24:06]line 1.000 * 144.00 [06:24:06]line = 144.00 [06:24:06]line НДС 12% НСП 1% [06:24:06]line > о реализуемом товаре [06:24:06]line Товар: 4700003010056 [06:24:06]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [06:24:06]line 1.000 * 95.00 [06:24:06]line = 95.00 [06:24:06]line НДС 12% НСП 1% [06:24:06]line > о реализуемом товаре [06:24:06]line ИТОГО: 239.00 [06:24:06]line НСП 1% : 2.11 [06:24:06]line НДС 12% : 25.38 [06:24:06]line Наличными: 0.00 [06:24:06]line Безнал.: 239.00 [06:24:06]line Место: АЗС № 85 "Партнер Нефть" [06:24:06]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [06:24:06]line СНО: Общий режим [06:24:06]line Чек 6 22.10.2024 06:24 [06:24:06]line Смена: 462 ФФД: 1.0 [06:24:06]line ЗНМ: 0300000166 [06:24:06]line РНМ: 0000000000098120 [06:24:06]line Версия ККМ: 001 [06:24:06]line Платежная система: Mbank [06:24:06]line ФМ: 0000000000965420 [06:24:06]line ФД: 24387 [06:24:06]line ФПД: 103088115983858 [06:24:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T062406&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24387&fm=103088115983858&tin=02508201610067®Number=0000000000098120&sum=23900 [06:24:06]line 0 [06:24:06]written 0, free lines is 4095 [06:24:07]Write to MH i2c: 01 00 00 2F 04 33 [06:24:07]Write i2c OK [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: 01 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: 01 07 00 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: 01 07 00 2F 04 00 00 00 00 00 9E 0C E4 [06:24:07]RasterBufferAndPrint [06:24:07]line [06:24:07]line [06:24:07]line [06:24:07]line [06:24:07]line [06:24:07]written 0, free lines is 3238 [06:24:07]process_action close_receipt done [06:24:07]requested_data is exist [06:24:07]produce_requested_data [06:24:07]requested_item fm.sn is exist - process it [06:24:07]wFMCommunicate request_size=4 [06:24:07]MH_SAM_APDU [06:24:07]CAPDU: 80 11 00 00 [06:24:07]Write to MH i2c: E2 08 00 36 04 80 11 00 00 00 00 00 00 B4 [06:24:07]Write i2c OK [06:24:07]MH_I2C_Read... [06:24:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:24:07]Read from MH i2c: E2 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 17 00 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 17 00 36 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 01 [06:24:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [06:24:07]wFMCommunicate OK [06:24:07]requested_item fd.num is exist - process it [06:24:07]SAM_PROTO_GetFieldsCounters [06:24:07]wFMCommunicate request_size=4 [06:24:07]MH_SAM_APDU [06:24:07]CAPDU: 80 13 00 00 [06:24:07]Write to MH i2c: E2 08 00 37 04 80 13 00 00 00 00 00 00 B7 [06:24:07]Write i2c OK [06:24:07]MH_I2C_Read... [06:24:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:24:07]Read from MH i2c: E2 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 62 00 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 62 00 37 04 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 43 5F 00 00 0E 04 04 00 CE 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 50 [06:24:07]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 43 5F 00 00 0E 04 04 00 CE 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:24:07]wFMCommunicate OK [06:24:07]SAM_PROTO_GetFieldsCounters done [06:24:07]requested_item shift.num is exist - process it [06:24:07]requested_item shift.opened is exist - process it [06:24:07]req_shift_opened [06:24:07]FM_GetShiftState [06:24:07]SAM_PROTO_GetShiftState [06:24:07]wFMCommunicate request_size=4 [06:24:07]MH_SAM_APDU [06:24:07]CAPDU: 80 13 01 00 [06:24:07]Write to MH i2c: E2 08 00 38 04 80 13 01 00 00 00 00 00 B9 [06:24:07]Write i2c OK [06:24:07]MH_I2C_Read... [06:24:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:24:07]Read from MH i2c: E2 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 0E 00 [06:24:07]MH_I2C_Read... [06:24:07]Read from MH i2c: E2 0E 00 38 04 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B1 [06:24:07]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [06:24:07]wFMCommunicate OK [06:24:07]SAM_PROTO_GetShiftState done [06:24:07]FM_GetShiftState done [06:24:07]req_shift_opened done [06:24:07]requested_item shift.open_date is exist - process it [06:24:07]req_shift_open_date [06:24:07]req_shift_open_date done [06:24:07]produce_requested_data done [06:24:07]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24387,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [06:24:07]process_action_free close_receipt [06:24:07]json_value_free [06:24:07]json_value_free done [06:24:07]process_json_proto returns [06:24:07]Send response to host [06:24:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24387,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [06:24:07]free response buf [06:24:07]execute_script done [06:24:07]execute_script returns [06:24:07]free content buf [06:24:07]Sock 9.Close socket [06:24:07]Sock 9.Thread stoped [06:24:11]ConnectInit Can't take IP for lk.salyk.kg [06:24:11]CommunicateWithHost connect error [06:24:11]CommunicateWithHost err = -1 [06:24:11]OFD Sender: Server communicate error [06:24:13]recv_with_timeout no data received [06:24:16]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:16]ProducePacketName [06:24:16]name=ofd_packets/00024387 [06:24:16]OFD Sender: To server: pG, [06:24:16]CommunicateWithHost lk.salyk.kg:30040 [06:24:16]ConnectInit lk.salyk.kg [06:24:21]ConnectInit Can't take IP for lk.salyk.kg [06:24:21]CommunicateWithHost connect error [06:24:21]CommunicateWithHost err = -1 [06:24:21]OFD Sender: Server communicate error [06:24:26]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:26]ProducePacketName [06:24:26]name=ofd_packets/00024387 [06:24:26]OFD Sender: To server: pG, [06:24:26]CommunicateWithHost lk.salyk.kg:30040 [06:24:26]ConnectInit lk.salyk.kg [06:24:31]ConnectInit Can't take IP for lk.salyk.kg [06:24:31]CommunicateWithHost connect error [06:24:31]CommunicateWithHost err = -1 [06:24:31]OFD Sender: Server communicate error [06:24:36]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:36]ProducePacketName [06:24:36]name=ofd_packets/00024387 [06:24:36]OFD Sender: To server: pG, [06:24:36]CommunicateWithHost lk.salyk.kg:30040 [06:24:36]ConnectInit lk.salyk.kg [06:24:41]ConnectInit Can't take IP for lk.salyk.kg [06:24:41]CommunicateWithHost connect error [06:24:41]CommunicateWithHost err = -1 [06:24:41]OFD Sender: Server communicate error [06:24:46]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:46]ProducePacketName [06:24:46]name=ofd_packets/00024387 [06:24:46]OFD Sender: To server: pG, [06:24:46]CommunicateWithHost lk.salyk.kg:30040 [06:24:46]ConnectInit lk.salyk.kg [06:24:51]ConnectInit Can't take IP for lk.salyk.kg [06:24:51]CommunicateWithHost connect error [06:24:51]CommunicateWithHost err = -1 [06:24:51]OFD Sender: Server communicate error [06:24:56]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:24:56]ProducePacketName [06:24:56]name=ofd_packets/00024387 [06:24:56]OFD Sender: To server: pG, [06:24:56]CommunicateWithHost lk.salyk.kg:30040 [06:24:56]ConnectInit lk.salyk.kg [06:25:01]ConnectInit Can't take IP for lk.salyk.kg [06:25:01]CommunicateWithHost connect error [06:25:01]CommunicateWithHost err = -1 [06:25:01]OFD Sender: Server communicate error [06:25:06]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:25:06]ProducePacketName [06:25:06]name=ofd_packets/00024387 [06:25:06]OFD Sender: To server: pG, [06:25:06]CommunicateWithHost lk.salyk.kg:30040 [06:25:06]ConnectInit lk.salyk.kg [06:25:11]ConnectInit Can't take IP for lk.salyk.kg [06:25:11]CommunicateWithHost connect error [06:25:11]CommunicateWithHost err = -1 [06:25:11]OFD Sender: Server communicate error [06:25:16]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:25:16]ProducePacketName [06:25:16]name=ofd_packets/00024387 [06:25:16]OFD Sender: To server: pG, [06:25:16]CommunicateWithHost lk.salyk.kg:30040 [06:25:16]ConnectInit lk.salyk.kg [06:25:21]ConnectInit Can't take IP for lk.salyk.kg [06:25:21]CommunicateWithHost connect error [06:25:21]CommunicateWithHost err = -1 [06:25:21]OFD Sender: Server communicate error [06:25:26]OFD Sender: Processing packet 24387 [packets to send 5, broken 4] [06:25:26]ProducePacketName [06:25:26]name=ofd_packets/00024387 [06:25:26]OFD Sender: To server: pG, [06:25:26]CommunicateWithHost lk.salyk.kg:30040 [06:25:26]ConnectInit lk.salyk.kg [06:25:27]Connected sock=9 [06:25: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 A2 01 00 00 27 E5 9A 01 B8 D5 5A 03 01 00 03 00 8E 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 77 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 30 35 36 06 04 33 00 D0 A7 D0 B0 D0 B9 20 D1 85 D0 BE D0 BB 20 4C 65 74 60 73 20 47 6F 21 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC 20 D0 9F D0 AD D0 A2 20 31 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 5D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EA 09 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 5D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 06 45 17 67 0E 04 04 00 CE 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 43 5F 00 00 35 04 06 00 5D C2 12 88 A5 F2 83 5B F7 EC 15 1B 98 0C [06:25: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 56 82 47 00 B0 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 43 5F 00 00 F4 03 04 00 FB F0 16 67 B6 04 01 00 00 41 D8 A4 02 3C 76 85 F5 [06:25:27]CommunicateWithHost err = 0 [06:25:27]CheckOFDResponse [06:25:27]1017 (14) - 77093643461234 [06:25:27]1041 (16) - 0000000000965420 [06:25:27]1040 (4) - 24387 [06:25:27]1012 (4) - 22.10.2024 00:25 [06:25:27]1206 (1) - 0 [06:25:27]OFD Sender: Remove packet 24387 [06:25:27]ProducePacketName [06:25:27]name=ofd_packets/00024387 [06:25:27]NVStorageDeleteData [06:25:27]OFD Sender: No OFD packet to send [06:25:32]OFD Sender: No OFD packet to send [06:25:37]OFD Sender: No OFD packet to send [06:25:42]OFD Sender: No OFD packet to send [06:25:47]OFD Sender: No OFD packet to send [06:25:52]OFD Sender: No OFD packet to send [06:25:57]OFD Sender: No OFD packet to send [06:26:02]OFD Sender: No OFD packet to send [06:26:07]OFD Sender: No OFD packet to send [06:26:12]OFD Sender: No OFD packet to send [06:26:17]OFD Sender: No OFD packet to send [06:26:22]OFD Sender: No OFD packet to send [06:26:27]OFD Sender: No OFD packet to send [06:26:32]OFD Sender: No OFD packet to send [06:26:37]OFD Sender: No OFD packet to send [06:26:42]OFD Sender: No OFD packet to send [06:26:47]OFD Sender: No OFD packet to send [06:26:52]OFD Sender: No OFD packet to send [06:26:57]OFD Sender: No OFD packet to send [06:27:02]OFD Sender: No OFD packet to send [06:27:07]OFD Sender: No OFD packet to send [06:27:12]OFD Sender: No OFD packet to send [06:27:17]OFD Sender: No OFD packet to send [06:27:22]OFD Sender: No OFD packet to send [06:27:27]OFD Sender: No OFD packet to send [06:27:32]OFD Sender: No OFD packet to send [06:27:37]OFD Sender: No OFD packet to send [06:27:42]OFD Sender: No OFD packet to send [06:27:47]OFD Sender: No OFD packet to send [06:27:52]OFD Sender: No OFD packet to send [06:27:57]OFD Sender: No OFD packet to send [06:28:02]OFD Sender: No OFD packet to send [06:28:07]OFD Sender: No OFD packet to send [06:28:12]OFD Sender: No OFD packet to send [06:28:17]OFD Sender: No OFD packet to send [06:28:22]OFD Sender: No OFD packet to send [06:28:27]OFD Sender: No OFD packet to send [06:28:32]OFD Sender: No OFD packet to send [06:28:37]OFD Sender: No OFD packet to send [06:28:42]OFD Sender: No OFD packet to send [06:28:47]OFD Sender: No OFD packet to send [06:28:52]OFD Sender: No OFD packet to send [06:28:57]OFD Sender: No OFD packet to send [06:29:02]OFD Sender: No OFD packet to send [06:29:07]OFD Sender: No OFD packet to send [06:29:12]OFD Sender: No OFD packet to send [06:29:17]OFD Sender: No OFD packet to send [06:29:23]OFD Sender: No OFD packet to send [06:29:28]OFD Sender: No OFD packet to send [06:29:33]OFD Sender: No OFD packet to send [06:29:38]OFD Sender: No OFD packet to send [06:29:43]OFD Sender: No OFD packet to send [06:29:48]OFD Sender: No OFD packet to send [06:29:53]OFD Sender: No OFD packet to send [06:29:58]OFD Sender: No OFD packet to send [06:30:03]OFD Sender: No OFD packet to send [06:30:08]OFD Sender: No OFD packet to send [06:30:13]OFD Sender: No OFD packet to send [06:30:18]OFD Sender: No OFD packet to send [06:30:23]OFD Sender: No OFD packet to send [06:30:28]OFD Sender: No OFD packet to send [06:30:33]OFD Sender: No OFD packet to send [06:30:38]OFD Sender: No OFD packet to send [06:30:43]OFD Sender: No OFD packet to send [06:30:48]OFD Sender: No OFD packet to send [06:30:53]OFD Sender: No OFD packet to send [06:30:58]OFD Sender: No OFD packet to send [06:31:03]OFD Sender: No OFD packet to send [06:31:08]OFD Sender: No OFD packet to send [06:31:13]OFD Sender: No OFD packet to send [06:31:18]OFD Sender: No OFD packet to send [06:31:23]OFD Sender: No OFD packet to send [06:31:28]OFD Sender: No OFD packet to send [06:31:33]OFD Sender: No OFD packet to send [06:31:38]OFD Sender: No OFD packet to send [06:31:43]OFD Sender: No OFD packet to send [06:31:48]OFD Sender: No OFD packet to send [06:31:53]OFD Sender: No OFD packet to send [06:31:58]OFD Sender: No OFD packet to send [06:32:03]OFD Sender: No OFD packet to send [06:32:08]OFD Sender: No OFD packet to send [06:32:13]OFD Sender: No OFD packet to send [06:32:18]OFD Sender: No OFD packet to send [06:32:23]OFD Sender: No OFD packet to send [06:32:28]OFD Sender: No OFD packet to send [06:32:33]OFD Sender: No OFD packet to send [06:32:38]OFD Sender: No OFD packet to send [06:32:43]OFD Sender: No OFD packet to send [06:32:48]OFD Sender: No OFD packet to send [06:32:53]OFD Sender: No OFD packet to send [06:32:58]OFD Sender: No OFD packet to send [06:33:03]OFD Sender: No OFD packet to send [06:33:08]OFD Sender: No OFD packet to send [06:33:13]OFD Sender: No OFD packet to send [06:33:23]OFD Sender: No OFD packet to send [06:33:28]OFD Sender: No OFD packet to send [06:33:33]OFD Sender: No OFD packet to send [06:33:38]OFD Sender: No OFD packet to send [06:33:43]OFD Sender: No OFD packet to send [06:33:43]recv_with_timeout no data received [06:33:48]OFD Sender: No OFD packet to send [06:33:53]OFD Sender: No OFD packet to send [06:33:58]OFD Sender: No OFD packet to send [06:34:03]OFD Sender: No OFD packet to send [06:34:08]OFD Sender: No OFD packet to send [06:34:13]OFD Sender: No OFD packet to send [06:34:18]OFD Sender: No OFD packet to send [06:34:23]OFD Sender: No OFD packet to send [06:34:28]OFD Sender: No OFD packet to send [06:34:33]OFD Sender: No OFD packet to send [06:34:38]OFD Sender: No OFD packet to send [06:34:43]OFD Sender: No OFD packet to send [06:34:48]OFD Sender: No OFD packet to send [06:34:53]OFD Sender: No OFD packet to send [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:35]recv_with_timeout no data received [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [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:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:20]recv_with_timeout no data received [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01:19]OFD Sender: No OFD packet to send [07:01:24]OFD Sender: No OFD packet to send [07:01:29]OFD Sender: No OFD packet to send [07:01:34]OFD Sender: No OFD packet to send [07:01:39]OFD Sender: No OFD packet to send [07:01:44]OFD Sender: No OFD packet to send [07:01:49]OFD Sender: No OFD packet to send [07:01:54]OFD Sender: No OFD packet to send [07:01:59]OFD Sender: No OFD packet to send [07:02:04]OFD Sender: No OFD packet to send [07:02:09]OFD Sender: No OFD packet to send [07:02:14]OFD Sender: No OFD packet to send [07:02:19]OFD Sender: No OFD packet to send [07:02:24]OFD Sender: No OFD packet to send [07:02:29]OFD Sender: No OFD packet to send [07:02:34]OFD Sender: No OFD packet to send [07:02:39]OFD Sender: No OFD packet to send [07:02:44]OFD Sender: No OFD packet to send [07:02:54]OFD Sender: No OFD packet to send [07:02:56]recv_with_timeout no data received [07:02:59]OFD Sender: No OFD packet to send [07:03:04]OFD Sender: No OFD packet to send [07:03:09]OFD Sender: No OFD packet to send [07:03:14]OFD Sender: No OFD packet to send [07:03:19]OFD Sender: No OFD packet to send [07:03:24]OFD Sender: No OFD packet to send [07:03:29]OFD Sender: No OFD packet to send [07:03:34]OFD Sender: No OFD packet to send [07:03:39]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:45]recv_with_timeout no data received [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:02]recv_with_timeout no data received [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:59]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:10]recv_with_timeout no data received [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:40]OFD Sender: No OFD packet to send [07:15:45]OFD Sender: No OFD packet to send [07:15:50]OFD Sender: No OFD packet to send [07:15:55]OFD Sender: No OFD packet to send [07:16:00]OFD Sender: No OFD packet to send [07:16:05]OFD Sender: No OFD packet to send [07:16:10]OFD Sender: No OFD packet to send [07:16:15]OFD Sender: No OFD packet to send [07:16:20]OFD Sender: No OFD packet to send [07:16:25]OFD Sender: No OFD packet to send [07:16:30]OFD Sender: No OFD packet to send [07:16:35]OFD Sender: No OFD packet to send [07:16:40]OFD Sender: No OFD packet to send [07:16:45]OFD Sender: No OFD packet to send [07:16:50]OFD Sender: No OFD packet to send [07:16:55]OFD Sender: No OFD packet to send [07:17:00]OFD Sender: No OFD packet to send [07:17:05]OFD Sender: No OFD packet to send [07:17:10]OFD Sender: No OFD packet to send [07:17:15]OFD Sender: No OFD packet to send [07:17:20]OFD Sender: No OFD packet to send [07:17:25]OFD Sender: No OFD packet to send [07:17:30]OFD Sender: No OFD packet to send [07:17:35]OFD Sender: No OFD packet to send [07:17:40]OFD Sender: No OFD packet to send [07:17:45]OFD Sender: No OFD packet to send [07:17:50]OFD Sender: No OFD packet to send [07:17:55]OFD Sender: No OFD packet to send [07:18:00]OFD Sender: No OFD packet to send [07:18:05]OFD Sender: No OFD packet to send [07:18:10]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:12]accept exits with 7 [07:22:12]New connection [07:22:12]New thread 3067596132 created [07:22:12]Thread 3067452772 joined [07:22:12]Waiting for new connection... [07:22:12] Sock 7.Parse request [07:22:12]Sock 7.Check first char [07:22:12]Sock 7.First char is OK [07:22:12]request: POST /json_proto HTTP/1.0 [07:22:12]Method: POST [07:22:12]URL: /json_proto [07:22:12]Method is POST - this is cgi request [07:22:12]url: /json_proto [07:22:12]query_string will be loaded in cgi processing [07:22:12]execute_cgi json_proto POST (null) [07:22:12]execute_cgi path=json_proto method=POST [07:22:12]POST find Content-Length [07:22:12]Host: 172.17.50.4:8080 [07:22:12]Content-Length: 632 [07:22:12]Content-Type: application/json [07:22:12] [07:22:12]POST finish read [07:22:12]Found Content-Length = 632 [07:22:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134907", "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" ] } } [07:22:12]execute_script... [07:22: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)134907", "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" ] } } [07:22:12]POST & json_proto [07:22:12]process_json_proto [07:22:12]json parsed OK: [07:22:12]protocol is kg_v1.0 [07:22:12]action value=close_receipt [07:22:12]process_action close_receipt [07:22:12]cmd_close_receipt [07:22:12]MH_GetDate [07:22:12]Write to MH i2c: F0 00 00 39 04 2C [07:22:12]Write i2c OK [07:22:12]MH_I2C_Read... [07:22:12]Read from MH i2c: F0 [07:22:12]MH_I2C_Read... [07:22:12]Read from MH i2c: F0 09 00 [07:22:12]MH_I2C_Read... [07:22:12]Read from MH i2c: F0 09 00 39 04 00 A6 52 17 67 3B 12 16 67 75 [07:22:12]GetLastDocTimeStamp 1729578246 [07:22:12]current date 1729581734 [07:22:12]FM_GetShiftState [07:22:12]SAM_PROTO_GetShiftState [07:22:12]wFMCommunicate request_size=4 [07:22:12]MH_SAM_APDU [07:22:12]CAPDU: 80 13 01 00 [07:22:12]Write to MH i2c: E2 08 00 3A 04 80 13 01 00 00 00 00 00 BB [07:22:12]Write i2c OK [07:22:12]MH_I2C_Read... [07:22:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:22:12]Read from MH i2c: E2 [07:22:12]MH_I2C_Read... [07:22:12]Read from MH i2c: E2 0E 00 [07:22:12]MH_I2C_Read... [07:22:12]Read from MH i2c: E2 0E 00 3A 04 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B3 [07:22:12]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [07:22:12]wFMCommunicate OK [07:22:12]SAM_PROTO_GetShiftState done [07:22:12]FM_GetShiftState done [07:22:12]opened in 1729555332 [07:22:12]opened+sec_in_day 1729641732 [07:22:12]quantity*price = 6000 [07:22:12]sum+1 = 6001 [07:22:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 7 22.10.2024 07:22 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24388 ФПД: 264417397768454 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T072214&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24388&fm=264417397768454&tin=02508201610067®Number=0000000000098120&sum=6000 0 [07:22:13]StoreToDocumentArchive [07:22:13]shift 462 fd 24388 [07:22:13]save to /storage/0462/doc_00024388 [07:22:13]save last doc name /storage/0462/doc_00024388 to /storage/kkm_last_doc_name [07:22:13]save OK [07:22:13]Clear old archive folders... [07:22:13]ProcessDocumentItem done err = 0, tmpTLVsize=271 [07:22:13]tlvbuf is 00D47890 [07:22:13]SAM_PROTO_ClearQueue [07:22:13]wFMCommunicate request_size=4 [07:22:13]MH_SAM_APDU [07:22:13]CAPDU: 80 09 00 00 [07:22:13]Write to MH i2c: E2 08 00 47 04 80 09 00 00 00 00 00 00 BD [07:22:13]Write i2c OK [07:22:13]MH_I2C_Read... [07:22:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:22:13]Read from MH i2c: E2 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 47 04 00 90 00 BF [07:22:13]RAPDU: 90 00 [07:22:13]wFMCommunicate OK [07:22:13]SAM_PROTO_ClearQueue done [07:22:13]KKMCreateOFDPacket [07:22:13]OFDProtocolAddRootSTLVToBuf [07:22:13]FM_MakeSignedData [07:22:13]FM_MakeSignedData [07:22:13]SAM_PROTO_SignData [07:22:13]wFMCommunicate request_size=4 [07:22:13]MH_SAM_APDU [07:22:13]CAPDU: 80 0D 01 02 [07:22:13]Write to MH i2c: E2 08 00 48 04 80 0D 01 02 00 00 00 00 C5 [07:22:13]Write i2c OK [07:22:13]MH_I2C_Read... [07:22:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:22:13]Read from MH i2c: E2 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 48 04 00 90 00 C0 [07:22:13]RAPDU: 90 00 [07:22:13]wFMCommunicate OK [07:22:13]wFMCommunicate request_size=255 [07:22:13]MH_SAM_APDU [07:22:13]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 07 00 00 00 F4 03 04 00 A6 52 17 67 0E 04 04 00 CE 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 [07:22:13]Write to MH i2c: E2 02 01 49 04 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 07 00 00 00 F4 03 04 00 A6 52 17 67 0E 04 04 00 CE 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 62 [07:22:13]Write i2c OK [07:22:13]MH_I2C_Read... [07:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:22:13]Read from MH i2c: E2 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 49 04 00 90 00 C1 [07:22:13]RAPDU: 90 00 [07:22:13]wFMCommunicate OK [07:22:13]wFMCommunicate request_size=30 [07:22:13]MH_SAM_APDU [07:22:13]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 44 5F 00 00 35 04 06 00 F0 7C 79 11 01 06 [07:22:13]Write to MH i2c: E2 21 00 4A 04 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 44 5F 00 00 35 04 06 00 F0 7C 79 11 01 06 00 00 5B [07:22:13]Write i2c OK [07:22:13]MH_I2C_Read... [07:22:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:22:13]Read from MH i2c: E2 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 03 00 4A 04 00 90 00 C2 [07:22:13]RAPDU: 90 00 [07:22:13]wFMCommunicate OK [07:22:13]wFMCommunicate request_size=4 [07:22:13]MH_SAM_APDU [07:22:13]CAPDU: 80 0D 03 02 [07:22:13]Write to MH i2c: E2 08 00 4B 04 80 0D 03 02 00 00 00 00 CA [07:22:13]Write i2c OK [07:22:13]MH_I2C_Read... [07:22:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:22:13]Read from MH i2c: E2 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 0B 00 [07:22:13]MH_I2C_Read... [07:22:13]Read from MH i2c: E2 0B 00 4B 04 00 57 A7 71 37 01 EA 85 83 90 00 64 [07:22:13]RAPDU: 57 A7 71 37 01 EA 85 83 90 00 [07:22:14]wFMCommunicate OK [07:22:14]SAM_PROTO_SignData done [07:22:14]FM_MakeSignedData done [07:22:14]CreateOFDProtocolMessage [07:22:14]wFMCommunicate request_size=4 [07:22:14]MH_SAM_APDU [07:22:14]CAPDU: 80 11 00 00 [07:22:14]Write to MH i2c: E2 08 00 4C 04 80 11 00 00 00 00 00 00 CA [07:22:14]Write i2c OK [07:22:14]MH_I2C_Read... [07:22:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:22:14]Read from MH i2c: E2 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: E2 17 00 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: E2 17 00 4C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 17 [07:22:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:22:14]wFMCommunicate OK [07:22:14]CreateOFDProtocolMessage done [07:22:14]OFDSenderStorePacket 24388 [07:22:14]StoreOFDPacket docnum=24388 [07:22: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 23 01 00 00 87 04 1B 01 7B CE 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 07 00 00 00 F4 03 04 00 A6 52 17 67 0E 04 04 00 CE 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 44 5F 00 00 35 04 06 00 F0 7C 79 11 01 06 57 A7 71 37 01 EA 85 83 [07:22:14]CheckFolder [07:22:14]dirname=/storage/ofd_packets [07:22:14]CheckFolder done [07:22:14]ProducePacketName [07:22:14]name=ofd_packets/00024388 [07:22:14]NVStorageSaveData ofd_packets/00024388 [07:22:14]File name is /storage/ofd_packets/00024388 [07:22:14]Write 321 bytes [07:22:14]NVStorageSaveData done [07:22:14]OFDSenderStorePacket done [07:22:14]KKMCreateOFDPacket done [07:22:14]NVStorageSaveData kkm_last_timestamp [07:22:14]File name is /storage/kkm_last_timestamp [07:22:14]Write 4 bytes [07:22:14]NVStorageSaveData done [07:22:14]ExternCall_PrintAddStr [07:22:14]wPrintStart [07:22:14]Write to MH i2c: 01 00 00 4D 04 51 [07:22:14]Write i2c OK [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 07 00 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 07 00 4D 04 00 00 00 00 00 FF 0F 66 [07:22:14]RasterBufferAndPrint [07:22:14]line Счет N : (3)134907 [07:22:14]line ИНН: 02508201610067 [07:22:14]line Контрольно-Кассовый Чек [07:22:14]line ПРОДАЖА [07:22:14]line Товар: 4700025313937 [07:22:14]line ВОДКА МЯГКАЯ 0,1л [07:22:14]line 1.000 * 60.00 [07:22:14]line = 60.00 [07:22:14]line НДС 12% НСП 1% [07:22:14]line > о реализуемом товаре [07:22:14]line ИТОГО: 60.00 [07:22:14]line НСП 1% : 0.53 [07:22:14]line НДС 12% : 6.37 [07:22:14]line Наличными: 60.00 [07:22:14]line Безнал.: 0.00 [07:22:14]line Место: АЗС № 85 "Партнер Нефть" [07:22:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:22:14]line СНО: Общий режим [07:22:14]line Чек 7 22.10.2024 07:22 [07:22:14]line Смена: 462 ФФД: 1.0 [07:22:14]line ЗНМ: 0300000166 [07:22:14]line РНМ: 0000000000098120 [07:22:14]line Версия ККМ: 001 [07:22:14]line ФМ: 0000000000965420 [07:22:14]line ФД: 24388 [07:22:14]line ФПД: 264417397768454 [07:22:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T072214&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24388&fm=264417397768454&tin=02508201610067®Number=0000000000098120&sum=6000 [07:22:14]OFD Sender: Processing packet 24388 [packets to send 5, broken 4] [07:22:14]ProducePacketName [07:22:14]name=ofd_packets/00024388 [07:22:14]OFD Sender: To server: pG, [07:22:14]CommunicateWithHost lk.salyk.kg:30040 [07:22:14]ConnectInit lk.salyk.kg [07:22:14]line 0 [07:22:14]written 0, free lines is 4095 [07:22:14]Connected sock=10 [07:22: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 23 01 00 00 87 04 1B 01 7B CE 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 07 00 00 00 F4 03 04 00 A6 52 17 67 0E 04 04 00 CE 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 44 5F 00 00 35 04 06 00 F0 7C 79 11 01 06 57 A7 71 37 01 EA 85 83 [07:22: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 19 9E 47 00 CB 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 44 5F 00 00 F4 03 04 00 4A FE 16 67 B6 04 01 00 00 3E 9F B4 3B 7F 67 D1 47 [07:22:14]CommunicateWithHost err = 0 [07:22:14]CheckOFDResponse [07:22:14]1017 (14) - 77093643461234 [07:22:14]1041 (16) - 0000000000965420 [07:22:14]1040 (4) - 24388 [07:22:14]1012 (4) - 22.10.2024 01:22 [07:22:14]1206 (1) - 0 [07:22:14]OFD Sender: Remove packet 24388 [07:22:14]ProducePacketName [07:22:14]name=ofd_packets/00024388 [07:22:14]NVStorageDeleteData [07:22:14]Write to MH i2c: 01 00 00 75 04 79 [07:22:14]Write i2c OK [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 07 00 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: 01 07 00 75 04 00 00 00 00 00 12 0D 9F [07:22:14]RasterBufferAndPrint [07:22:14]line [07:22:14]line [07:22:14]line [07:22:14]line [07:22:14]line [07:22:14]written 0, free lines is 3352 [07:22:14]process_action close_receipt done [07:22:14]requested_data is exist [07:22:14]produce_requested_data [07:22:14]requested_item fm.sn is exist - process it [07:22:14]wFMCommunicate request_size=4 [07:22:14]MH_SAM_APDU [07:22:14]CAPDU: 80 11 00 00 [07:22:14]Write to MH i2c: E2 08 00 7C 04 80 11 00 00 00 00 00 00 FA [07:22:14]Write i2c OK [07:22:14]MH_I2C_Read... [07:22:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:22:14]Read from MH i2c: E2 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: E2 17 00 [07:22:14]MH_I2C_Read... [07:22:14]Read from MH i2c: E2 17 00 7C 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 47 [07:22:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:22:14]wFMCommunicate OK [07:22:14]requested_item fd.num is exist - process it [07:22:14]SAM_PROTO_GetFieldsCounters [07:22:14]wFMCommunicate request_size=4 [07:22:14]MH_SAM_APDU [07:22:14]CAPDU: 80 13 00 00 [07:22:14]Write to MH i2c: E2 08 00 7D 04 80 13 00 00 00 00 00 00 FD [07:22:14]Write i2c OK [07:22:14]MH_I2C_Read... [07:22:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:22:15]Read from MH i2c: E2 [07:22:15]MH_I2C_Read... [07:22:15]Read from MH i2c: E2 62 00 [07:22:15]MH_I2C_Read... [07:22:15]Read from MH i2c: E2 62 00 7D 04 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 44 5F 00 00 0E 04 04 00 CE 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 9A [07:22: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 44 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:22:15]wFMCommunicate OK [07:22:15]SAM_PROTO_GetFieldsCounters done [07:22:15]requested_item shift.num is exist - process it [07:22:15]requested_item shift.opened is exist - process it [07:22:15]req_shift_opened [07:22:15]FM_GetShiftState [07:22:15]SAM_PROTO_GetShiftState [07:22:15]wFMCommunicate request_size=4 [07:22:15]MH_SAM_APDU [07:22:15]CAPDU: 80 13 01 00 [07:22:15]Write to MH i2c: E2 08 00 7E 04 80 13 01 00 00 00 00 00 FF [07:22:15]Write i2c OK [07:22:15]MH_I2C_Read... [07:22:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:22:15]Read from MH i2c: E2 [07:22:15]MH_I2C_Read... [07:22:15]Read from MH i2c: E2 0E 00 [07:22:15]MH_I2C_Read... [07:22:15]Read from MH i2c: E2 0E 00 7E 04 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F7 [07:22:15]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [07:22:15]wFMCommunicate OK [07:22:15]SAM_PROTO_GetShiftState done [07:22:15]FM_GetShiftState done [07:22:15]req_shift_opened done [07:22:15]requested_item shift.open_date is exist - process it [07:22:15]req_shift_open_date [07:22:15]req_shift_open_date done [07:22:15]produce_requested_data done [07:22:15]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24388,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [07:22:15]process_action_free close_receipt [07:22:15]json_value_free [07:22:15]json_value_free done [07:22:15]process_json_proto returns [07:22:15]Send response to host [07:22:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24388,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [07:22:15]free response buf [07:22:15]execute_script done [07:22:15]execute_script returns [07:22:15]free content buf [07:22:15]Sock 7.Close socket [07:22:15]Sock 7.Thread stoped [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:37:33]ConnectInit Can't connect to host [07:37:36]OFD Sender: Processing packet 24389 [packets to send 5, broken 4] [07:37:36]ProducePacketName [07:37:36]name=ofd_packets/00024389 [07:37:36]OFD Sender: To server: pG, [07:37:36]CommunicateWithHost lk.salyk.kg:30040 [07:37:36]ConnectInit lk.salyk.kg [07:37:36]Connected sock=9 [07:37: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 23 01 00 00 DB 61 1B 01 52 C5 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 08 00 00 00 F4 03 04 00 E6 55 17 67 0E 04 04 00 CE 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 45 5F 00 00 35 04 06 00 0E EA 2C 74 CA B3 68 0B 57 BC BE 19 CD 40 [07:37: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 47 77 47 00 E4 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 45 5F 00 00 F4 03 04 00 E5 01 17 67 B6 04 01 00 00 DD 6A 69 AE 4E FC CE A6 [07:37:36]CommunicateWithHost err = 0 [07:37:36]CheckOFDResponse [07:37:36]1017 (14) - 77093643461234 [07:37:36]1041 (16) - 0000000000965420 [07:37:36]1040 (4) - 24389 [07:37:36]1012 (4) - 22.10.2024 01:37 [07:37:36]1206 (1) - 0 [07:37:36]OFD Sender: Remove packet 24389 [07:37:36]ProducePacketName [07:37:36]name=ofd_packets/00024389 [07:37:36]NVStorageDeleteData [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:10]accept exits with 7 [07:38:10]New connection [07:38:10]New thread 3067596132 created [07:38:10]Thread 3067452772 joined [07:38:10]Waiting for new connection... [07:38:10] Sock 7.Parse request [07:38:10]Sock 7.Check first char [07:38:10]Sock 7.First char is OK [07:38:10]request: POST /json_proto HTTP/1.0 [07:38:10]Method: POST [07:38:10]URL: /json_proto [07:38:10]Method is POST - this is cgi request [07:38:10]url: /json_proto [07:38:10]query_string will be loaded in cgi processing [07:38:10]execute_cgi json_proto POST (null) [07:38:10]execute_cgi path=json_proto method=POST [07:38:10]POST find Content-Length [07:38:10]Host: 172.17.50.4:8080 [07:38:10]Content-Length: 1129 [07:38:10]Content-Type: application/json [07:38:10] [07:38:10]POST finish read [07:38:10]Found Content-Length = 1129 [07:38:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134909", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 282.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:10]execute_script... [07:38: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)134909", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.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" : 282.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:38:10]POST & json_proto [07:38:10]process_json_proto [07:38:10]json parsed OK: [07:38:10]protocol is kg_v1.0 [07:38:10]action value=close_receipt [07:38:10]process_action close_receipt [07:38:10]cmd_close_receipt [07:38:10]MH_GetDate [07:38:10]Write to MH i2c: F0 00 00 C5 04 B8 [07:38:10]Write i2c OK [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: F0 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: F0 09 00 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: F0 09 00 C5 04 00 65 56 17 67 3B 12 16 67 C4 [07:38:10]GetLastDocTimeStamp 1729582566 [07:38:10]current date 1729582693 [07:38:10]FM_GetShiftState [07:38:10]SAM_PROTO_GetShiftState [07:38:10]wFMCommunicate request_size=4 [07:38:10]MH_SAM_APDU [07:38:10]CAPDU: 80 13 01 00 [07:38:10]Write to MH i2c: E2 08 00 C6 04 80 13 01 00 00 00 00 00 47 [07:38:10]Write i2c OK [07:38:10]MH_I2C_Read... [07:38:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:10]Read from MH i2c: E2 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 0E 00 [07:38:10]MH_I2C_Read... [07:38:10]Read from MH i2c: E2 0E 00 C6 04 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 3F [07:38:10]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [07:38:10]wFMCommunicate OK [07:38:10]SAM_PROTO_GetShiftState done [07:38:10]FM_GetShiftState done [07:38:10]opened in 1729555332 [07:38:10]opened+sec_in_day 1729641732 [07:38:10]quantity*price = 17000 [07:38:10]sum+1 = 17001 [07:38:10]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173617 Жев Orbit Eucalyptus 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 6931280300549 Зажигалка Cricket ПН пьезо 1.000 * 67.00 = 67.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 282.00 НСП 1% : 2.49 НДС 12% : 29.94 Наличными: 282.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 9 22.10.2024 07:38 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24390 ФПД: 10737080250042 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T073813&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24390&fm=10737080250042&tin=02508201610067®Number=0000000000098120&sum=28200 0 [07:38:11]StoreToDocumentArchive [07:38:11]shift 462 fd 24390 [07:38:11]save to /storage/0462/doc_00024390 [07:38:11]save last doc name /storage/0462/doc_00024390 to /storage/kkm_last_doc_name [07:38:11]save OK [07:38:11]Clear old archive folders... [07:38:11]ProcessDocumentItem done err = 0, tmpTLVsize=481 [07:38:11]tlvbuf is 00D4AD90 [07:38:11]SAM_PROTO_ClearQueue [07:38:11]wFMCommunicate request_size=4 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 09 00 00 [07:38:11]Write to MH i2c: E2 08 00 D3 04 80 09 00 00 00 00 00 00 49 [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 D3 04 00 90 00 4B [07:38:11]RAPDU: 90 00 [07:38:11]wFMCommunicate OK [07:38:11]SAM_PROTO_ClearQueue done [07:38:11]KKMCreateOFDPacket [07:38:11]OFDProtocolAddRootSTLVToBuf [07:38:11]FM_MakeSignedData [07:38:11]FM_MakeSignedData [07:38:11]SAM_PROTO_SignData [07:38:11]wFMCommunicate request_size=4 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 0D 01 02 [07:38:11]Write to MH i2c: E2 08 00 D4 04 80 0D 01 02 00 00 00 00 51 [07:38:11]Write i2c OK [07:38:11]MH_I2C_Read... [07:38:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:38:11]Read from MH i2c: E2 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 [07:38:11]MH_I2C_Read... [07:38:11]Read from MH i2c: E2 03 00 D4 04 00 90 00 4C [07:38:11]RAPDU: 90 00 [07:38:11]wFMCommunicate OK [07:38:11]wFMCommunicate request_size=255 [07:38:11]MH_SAM_APDU [07:38:11]CAPDU: 80 0D 02 02 FA 03 00 E1 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 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 [07:38:11]Write to MH i2c: E2 02 01 D5 04 80 0D 02 02 FA 00 03 00 E1 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 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 00 00 A8 [07:38:12]OFD Sender: No OFD packet to send [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:12]Read from MH i2c: E2 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 03 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 03 00 D5 04 00 90 00 4D [07:38:12]RAPDU: 90 00 [07:38:12]wFMCommunicate OK [07:38:12]wFMCommunicate request_size=240 [07:38:12]MH_SAM_APDU [07:38:12]CAPDU: 80 0D 02 02 EB 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 28 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 0B 00 00 00 00 07 04 06 00 28 6E 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 65 56 17 67 0E 04 04 00 CE 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 46 5F 00 00 35 04 06 00 09 C3 EB DA AE BA [07:38:12]Write to MH i2c: E2 F3 00 D6 04 80 0D 02 02 EB 00 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 28 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 0B 00 00 00 00 07 04 06 00 28 6E 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 65 56 17 67 0E 04 04 00 CE 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 46 5F 00 00 35 04 06 00 09 C3 EB DA AE BA 00 00 EF [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:38:12]Read from MH i2c: E2 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 03 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 03 00 D6 04 00 90 00 4E [07:38:12]RAPDU: 90 00 [07:38:12]wFMCommunicate OK [07:38:12]wFMCommunicate request_size=4 [07:38:12]MH_SAM_APDU [07:38:12]CAPDU: 80 0D 03 02 [07:38:12]Write to MH i2c: E2 08 00 D7 04 80 0D 03 02 00 00 00 00 56 [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:38:12]Read from MH i2c: E2 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 0B 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 0B 00 D7 04 00 28 65 4F 69 7D 41 4F 2B 90 00 D4 [07:38:12]RAPDU: 28 65 4F 69 7D 41 4F 2B 90 00 [07:38:12]wFMCommunicate OK [07:38:12]SAM_PROTO_SignData done [07:38:12]FM_MakeSignedData done [07:38:12]CreateOFDProtocolMessage [07:38:12]wFMCommunicate request_size=4 [07:38:12]MH_SAM_APDU [07:38:12]CAPDU: 80 11 00 00 [07:38:12]Write to MH i2c: E2 08 00 D8 04 80 11 00 00 00 00 00 00 56 [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:12]Read from MH i2c: E2 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 17 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: E2 17 00 D8 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A3 [07:38:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:38:12]wFMCommunicate OK [07:38:12]CreateOFDProtocolMessage done [07:38:12]OFDSenderStorePacket 24390 [07:38:12]StoreOFDPacket docnum=24390 [07:38: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 F5 01 00 00 3E 15 ED 01 12 42 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 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 28 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 0B 00 00 00 00 07 04 06 00 28 6E 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 65 56 17 67 0E 04 04 00 CE 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 46 5F 00 00 35 04 06 00 09 C3 EB DA AE BA 28 65 4F 69 7D 41 4F 2B [07:38:12]CheckFolder [07:38:12]dirname=/storage/ofd_packets [07:38:12]CheckFolder done [07:38:12]ProducePacketName [07:38:12]name=ofd_packets/00024390 [07:38:12]NVStorageSaveData ofd_packets/00024390 [07:38:12]File name is /storage/ofd_packets/00024390 [07:38:12]Write 531 bytes [07:38:12]NVStorageSaveData done [07:38:12]OFDSenderStorePacket done [07:38:12]KKMCreateOFDPacket done [07:38:12]NVStorageSaveData kkm_last_timestamp [07:38:12]File name is /storage/kkm_last_timestamp [07:38:12]Write 4 bytes [07:38:12]NVStorageSaveData done [07:38:12]ExternCall_PrintAddStr [07:38:12]wPrintStart [07:38:12]Write to MH i2c: 01 00 00 D9 04 DD [07:38:12]Write i2c OK [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 07 00 [07:38:12]MH_I2C_Read... [07:38:12]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 FF 0F F2 [07:38:12]RasterBufferAndPrint [07:38:12]line Счет N : (3)134909 [07:38:12]line ИНН: 02508201610067 [07:38:12]line Контрольно-Кассовый Чек [07:38:12]line ПРОДАЖА [07:38:12]line Товар: 8901086040008 [07:38:12]line Жид/ст ПН летняя 4,5л [07:38:12]line 1.000 * 170.00 [07:38:12]line = 170.00 [07:38:12]line НДС 12% НСП 1% [07:38:12]line > о реализуемом товаре [07:38:12]line Товар: 50173617 [07:38:12]line Жев Orbit Eucalyptus [07:38:12]line 1.000 * 45.00 [07:38:12]line = 45.00 [07:38:12]line НДС 12% НСП 1% [07:38:12]line > о реализуемом товаре [07:38:12]line Товар: 6931280300549 [07:38:12]line Зажигалка Cricket ПН пьезо [07:38:12]line 1.000 * 67.00 [07:38:12]line = 67.00 [07:38:12]line НДС 12% НСП 1% [07:38:12]line > о реализуемом товаре [07:38:12]line ИТОГО: 282.00 [07:38:12]line НСП 1% : 2.49 [07:38:12]line НДС 12% : 29.94 [07:38:12]line Наличными: 282.00 [07:38:12]line Безнал.: 0.00 [07:38:12]line Место: АЗС № 85 "Партнер Нефть" [07:38:12]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [07:38:12]line СНО: Общий режим [07:38:12]line Чек 9 22.10.2024 07:38 [07:38:12]line Смена: 462 ФФД: 1.0 [07:38:12]line ЗНМ: 0300000166 [07:38:12]line РНМ: 0000000000098120 [07:38:12]line Версия ККМ: 001 [07:38:12]line ФМ: 0000000000965420 [07:38:12]line ФД: 24390 [07:38:12]line ФПД: 10737080250042 [07:38:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T073813&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24390&fm=10737080250042&tin=02508201610067®Number=0000000000098120&sum=28200 [07:38:12]line 0 [07:38:12]written 0, free lines is 4095 [07:38:12]OFD Sender: Processing packet 24390 [packets to send 5, broken 4] [07:38:12]ProducePacketName [07:38:12]name=ofd_packets/00024390 [07:38:12]OFD Sender: To server: pG, [07:38:12]CommunicateWithHost lk.salyk.kg:30040 [07:38:12]ConnectInit lk.salyk.kg [07:38:13]Connected sock=10 [07:38: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 F5 01 00 00 3E 15 ED 01 12 42 5A 03 01 00 03 00 E1 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 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 28 6E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 0B 00 00 00 00 07 04 06 00 28 6E 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 65 56 17 67 0E 04 04 00 CE 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 46 5F 00 00 35 04 06 00 09 C3 EB DA AE BA 28 65 4F 69 7D 41 4F 2B [07:38: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 72 8E 47 00 E8 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 46 5F 00 00 F4 03 04 00 09 02 17 67 B6 04 01 00 00 08 1E 3C 52 9A 2E 77 AA [07:38:13]CommunicateWithHost err = 0 [07:38:13]CheckOFDResponse [07:38:13]1017 (14) - 77093643461234 [07:38:13]1041 (16) - 0000000000965420 [07:38:13]1040 (4) - 24390 [07:38:13]1012 (4) - 22.10.2024 01:38 [07:38:13]1206 (1) - 0 [07:38:13]OFD Sender: Remove packet 24390 [07:38:13]ProducePacketName [07:38:13]name=ofd_packets/00024390 [07:38:13]NVStorageDeleteData [07:38:13]Write to MH i2c: 01 00 00 0D 05 12 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: 01 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: 01 07 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: 01 07 00 0D 05 00 00 00 00 00 9D 0C C2 [07:38:13]RasterBufferAndPrint [07:38:13]line [07:38:13]line [07:38:13]line [07:38:13]line [07:38:13]line [07:38:13]written 0, free lines is 3236 [07:38:13]process_action close_receipt done [07:38:13]requested_data is exist [07:38:13]produce_requested_data [07:38:13]requested_item fm.sn is exist - process it [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 11 00 00 [07:38:13]Write to MH i2c: E2 08 00 14 05 80 11 00 00 00 00 00 00 93 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 17 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 17 00 14 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E0 [07:38:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [07:38:13]wFMCommunicate OK [07:38:13]requested_item fd.num is exist - process it [07:38:13]SAM_PROTO_GetFieldsCounters [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 13 00 00 [07:38:13]Write to MH i2c: E2 08 00 15 05 80 13 00 00 00 00 00 00 96 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 62 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 62 00 15 05 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 46 5F 00 00 0E 04 04 00 CE 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 3B [07:38: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 46 5F 00 00 0E 04 04 00 CE 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:38:13]wFMCommunicate OK [07:38:13]SAM_PROTO_GetFieldsCounters done [07:38:13]requested_item shift.num is exist - process it [07:38:13]requested_item shift.opened is exist - process it [07:38:13]req_shift_opened [07:38:13]FM_GetShiftState [07:38:13]SAM_PROTO_GetShiftState [07:38:13]wFMCommunicate request_size=4 [07:38:13]MH_SAM_APDU [07:38:13]CAPDU: 80 13 01 00 [07:38:13]Write to MH i2c: E2 08 00 16 05 80 13 01 00 00 00 00 00 98 [07:38:13]Write i2c OK [07:38:13]MH_I2C_Read... [07:38:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:38:13]Read from MH i2c: E2 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 0E 00 [07:38:13]MH_I2C_Read... [07:38:13]Read from MH i2c: E2 0E 00 16 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 90 [07:38:13]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [07:38:13]wFMCommunicate OK [07:38:13]SAM_PROTO_GetShiftState done [07:38:13]FM_GetShiftState done [07:38:13]req_shift_opened done [07:38:13]requested_item shift.open_date is exist - process it [07:38:13]req_shift_open_date [07:38:13]req_shift_open_date done [07:38:13]produce_requested_data done [07:38:13]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24390,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [07:38:13]process_action_free close_receipt [07:38:13]json_value_free [07:38:13]json_value_free done [07:38:13]process_json_proto returns [07:38:13]Send response to host [07:38:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24390,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [07:38:13]free response buf [07:38:13]execute_script done [07:38:13]execute_script returns [07:38:13]free content buf [07:38:13]Sock 7.Close socket [07:38:13]Sock 7.Thread stoped [07:38:13]OFD Sender: No OFD packet to send [07:38:18]OFD Sender: No OFD packet to send [07:38:23]OFD Sender: No OFD packet to send [07:38:28]OFD Sender: No OFD packet to send [07:38:33]OFD Sender: No OFD packet to send [07:38:38]OFD Sender: No OFD packet to send [07:38:43]OFD Sender: No OFD packet to send [07:38:48]OFD Sender: No OFD packet to send [07:38:53]OFD Sender: No OFD packet to send [07:38:58]OFD Sender: No OFD packet to send [07:39:03]OFD Sender: No OFD packet to send [07:39:08]OFD Sender: No OFD packet to send [07:39:13]OFD Sender: No OFD packet to send [07:39:18]OFD Sender: No OFD packet to send [07:39:23]OFD Sender: No OFD packet to send [07:39:28]OFD Sender: No OFD packet to send [07:39:33]OFD Sender: No OFD packet to send [07:39:38]OFD Sender: No OFD packet to send [07:39:43]OFD Sender: No OFD packet to send [07:39:48]OFD Sender: No OFD packet to send [07:39:53]OFD Sender: No OFD packet to send [07:39:58]OFD Sender: No OFD packet to send [07:40:03]OFD Sender: No OFD packet to send [07:40:08]OFD Sender: No OFD packet to send [07:40:13]OFD Sender: No OFD packet to send [07:40:18]OFD Sender: No OFD packet to send [07:40:23]OFD Sender: No OFD packet to send [07:40:28]OFD Sender: No OFD packet to send [07:40:33]OFD Sender: No OFD packet to send [07:40:38]OFD Sender: No OFD packet to send [07:40:43]OFD Sender: No OFD packet to send [07:40:48]OFD Sender: No OFD packet to send [07:40:53]OFD Sender: No OFD packet to send [07:40:58]OFD Sender: No OFD packet to send [07:41:03]OFD Sender: No OFD packet to send [07:41:08]OFD Sender: No OFD packet to send [07:41:13]OFD Sender: No OFD packet to send [07:41:18]OFD Sender: No OFD packet to send [07:41:23]OFD Sender: No OFD packet to send [07:41:28]OFD Sender: No OFD packet to send [07:41:33]OFD Sender: No OFD packet to send [07:41:38]OFD Sender: No OFD packet to send [07:41:43]OFD Sender: No OFD packet to send [07:41:48]OFD Sender: No OFD packet to send [07:41:53]OFD Sender: No OFD packet to send [07:41:58]OFD Sender: No OFD packet to send [07:42:03]OFD Sender: No OFD packet to send [07:42:08]OFD Sender: No OFD packet to send [07:42:13]OFD Sender: No OFD packet to send [07:42:18]OFD Sender: No OFD packet to send [07:42:23]OFD Sender: No OFD packet to send [07:42:29]OFD Sender: No OFD packet to send [07:42:34]OFD Sender: No OFD packet to send [07:42:39]OFD Sender: No OFD packet to send [07:42:44]OFD Sender: No OFD packet to send [07:42:49]OFD Sender: No OFD packet to send [07:42:54]OFD Sender: No OFD packet to send [07:42:59]OFD Sender: No OFD packet to send [07:43:04]OFD Sender: No OFD packet to send [07:43:09]OFD Sender: No OFD packet to send [07:43:19]OFD Sender: No OFD packet to send [07:43:24]OFD Sender: No OFD packet to send [07:43:29]OFD Sender: No OFD packet to send [07:43:34]OFD Sender: No OFD packet to send [07:43:39]OFD Sender: No OFD packet to send [07:43:44]OFD Sender: No OFD packet to send [07:43:49]OFD Sender: No OFD packet to send [07:43:54]OFD Sender: No OFD packet to send [07:43:59]OFD Sender: No OFD packet to send [07:44:04]OFD Sender: No OFD packet to send [07:44:09]OFD Sender: No OFD packet to send [07:44:14]OFD Sender: No OFD packet to send [07:44:19]OFD Sender: No OFD packet to send [07:44:24]OFD Sender: No OFD packet to send [07:44:27]recv_with_timeout no data received [07:44:29]OFD Sender: No OFD packet to send [07:44:34]OFD Sender: No OFD packet to send [07:44:39]OFD Sender: No OFD packet to send [07:44:44]OFD Sender: No OFD packet to send [07:44:49]OFD Sender: No OFD packet to send [07:44:54]OFD Sender: No OFD packet to send [07:44:59]OFD Sender: No OFD packet to send [07:45:04]OFD Sender: No OFD packet to send [07:45:09]OFD Sender: No OFD packet to send [07:45:14]OFD Sender: No OFD packet to send [07:45:19]OFD Sender: No OFD packet to send [07:45:24]OFD Sender: No OFD packet to send [07:45:29]OFD Sender: No OFD packet to send [07:45:34]OFD Sender: No OFD packet to send [07:45:39]OFD Sender: No OFD packet to send [07:45:44]OFD Sender: No OFD packet to send [07:45:49]OFD Sender: No OFD packet to send [07:45:54]OFD Sender: No OFD packet to send [07:45:59]OFD Sender: No OFD packet to send [07:46:04]OFD Sender: No OFD packet to send [07:46:09]OFD Sender: No OFD packet to send [07:46:14]OFD Sender: No OFD packet to send [07:46:19]OFD Sender: No OFD packet to send [07:46:24]OFD Sender: No OFD packet to send [07:46:29]OFD Sender: No OFD packet to send [07:46:34]OFD Sender: No OFD packet to send [07:46:39]OFD Sender: No OFD packet to send [07:46:44]OFD Sender: No OFD packet to send [07:46:49]OFD Sender: No OFD packet to send [07:46:54]OFD Sender: No OFD packet to send [07:46:59]OFD Sender: No OFD packet to send [07:47:04]OFD Sender: No OFD packet to send [07:47:09]OFD Sender: No OFD packet to send [07:47:14]OFD Sender: No OFD packet to send [07:47:19]OFD Sender: No OFD packet to send [07:47:24]OFD Sender: No OFD packet to send [07:47:29]OFD Sender: No OFD packet to send [07:47:34]OFD Sender: No OFD packet to send [07:47:39]OFD Sender: No OFD packet to send [07:47:44]OFD Sender: No OFD packet to send [07:47:49]OFD Sender: No OFD packet to send [07:47:54]OFD Sender: No OFD packet to send [07:47:59]OFD Sender: No OFD packet to send [07:48:04]OFD Sender: No OFD packet to send [07:48:09]OFD Sender: No OFD packet to send [07:48:14]OFD Sender: No OFD packet to send [07:48:19]OFD Sender: No OFD packet to send [07:48:24]OFD Sender: No OFD packet to send [07:48:29]OFD Sender: No OFD packet to send [07:48:34]OFD Sender: No OFD packet to send [07:48:39]OFD Sender: No OFD packet to send [07:48:44]OFD Sender: No OFD packet to send [07:48:49]OFD Sender: No OFD packet to send [07:48:54]OFD Sender: No OFD packet to send [07:48:59]OFD Sender: No OFD packet to send [07:49:04]OFD Sender: No OFD packet to send [07:49:09]OFD Sender: No OFD packet to send [07:49:14]OFD Sender: No OFD packet to send [07:49:19]OFD Sender: No OFD packet to send [07:49:24]OFD Sender: No OFD packet to send [07:49:29]OFD Sender: No OFD packet to send [07:49:34]OFD Sender: No OFD packet to send [07:49:39]OFD Sender: No OFD packet to send [07:49:44]OFD Sender: No OFD packet to send [07:49:49]OFD Sender: No OFD packet to send [07:49:54]OFD Sender: No OFD packet to send [07:49:59]OFD Sender: No OFD packet to send [07:50:04]OFD Sender: No OFD packet to send [07:50:09]OFD Sender: No OFD packet to send [07:50:14]OFD Sender: No OFD packet to send [07:50:19]OFD Sender: No OFD packet to send [07:50:24]OFD Sender: No OFD packet to send [07:50:29]OFD Sender: No OFD packet to send [07:50:34]OFD Sender: No OFD packet to send [07:50:39]OFD Sender: No OFD packet to send [07:50:44]OFD Sender: No OFD packet to send [07:50:49]OFD Sender: No OFD packet to send [07:50:54]OFD Sender: No OFD packet to send [07:50:59]OFD Sender: No OFD packet to send [07:51:04]OFD Sender: No OFD packet to send [07:51:09]OFD Sender: No OFD packet to send [07:51:14]OFD Sender: No OFD packet to send [07:51:19]OFD Sender: No OFD packet to send [07:51:24]OFD Sender: No OFD packet to send [07:51:29]OFD Sender: No OFD packet to send [07:51:34]OFD Sender: No OFD packet to send [07:51:39]OFD Sender: No OFD packet to send [07:51:44]OFD Sender: No OFD packet to send [07:51:49]OFD Sender: No OFD packet to send [07:51:54]OFD Sender: No OFD packet to send [07:51:59]OFD Sender: No OFD packet to send [07:52:04]OFD Sender: No OFD packet to send [07:52:09]OFD Sender: No OFD packet to send [07:52:14]OFD Sender: No OFD packet to send [07:52:19]OFD Sender: No OFD packet to send [07:52:24]OFD Sender: No OFD packet to send [07:52:29]OFD Sender: No OFD packet to send [07:52:34]OFD Sender: No OFD packet to send [07:52:39]OFD Sender: No OFD packet to send [07:52:44]OFD Sender: No OFD packet to send [07:52:49]OFD Sender: No OFD packet to send [07:52:54]OFD Sender: No OFD packet to send [07:52:59]OFD Sender: No OFD packet to send [07:53:04]OFD Sender: No OFD packet to send [07:53:09]OFD Sender: No OFD packet to send [07:53:14]OFD Sender: No OFD packet to send [07:53:19]OFD Sender: No OFD packet to send [07:53:24]OFD Sender: No OFD packet to send [07:53:29]OFD Sender: No OFD packet to send [07:53:34]OFD Sender: No OFD packet to send [07:53:39]OFD Sender: No OFD packet to send [07:53:44]OFD Sender: No OFD packet to send [07:54:14]OFD Sender: No OFD packet to send [07:54:19]OFD Sender: No OFD packet to send [07:54:24]OFD Sender: No OFD packet to send [07:54:24]recv_with_timeout no data received [07:54:29]OFD Sender: No OFD packet to send [07:54:34]OFD Sender: No OFD packet to send [07:54:39]OFD Sender: No OFD packet to send [07:54:44]OFD Sender: No OFD packet to send [07:54:49]OFD Sender: No OFD packet to send [07:54:54]OFD Sender: No OFD packet to send [07:54:59]OFD Sender: No OFD packet to send [07:55:04]OFD Sender: No OFD packet to send [07:55:09]OFD Sender: No OFD packet to send [07:55:14]OFD Sender: No OFD packet to send [07:55:19]OFD Sender: No OFD packet to send [07:55:24]OFD Sender: No OFD packet to send [07:55:29]OFD Sender: No OFD packet to send [07:55:34]OFD Sender: No OFD packet to send [07:55:39]OFD Sender: No OFD packet to send [07:55:44]OFD Sender: No OFD packet to send [07:55:49]OFD Sender: No OFD packet to send [07:55:54]OFD Sender: No OFD packet to send [07:55:59]OFD Sender: No OFD packet to send [07:56:04]OFD Sender: No OFD packet to send [07:56:09]OFD Sender: No OFD packet to send [07:56:14]OFD Sender: No OFD packet to send [07:56:19]OFD Sender: No OFD packet to send [07:56:24]OFD Sender: No OFD packet to send [07:56:29]OFD Sender: No OFD packet to send [07:56:34]OFD Sender: No OFD packet to send [07:56:39]OFD Sender: No OFD packet to send [07:56:44]OFD Sender: No OFD packet to send [07:56:49]OFD Sender: No OFD packet to send [07:56:54]OFD Sender: No OFD packet to send [07:56:59]OFD Sender: No OFD packet to send [07:57:04]OFD Sender: No OFD packet to send [07:57:09]OFD Sender: No OFD packet to send [07:57:14]OFD Sender: No OFD packet to send [07:57:19]OFD Sender: No OFD packet to send [07:57:24]OFD Sender: No OFD packet to send [07:57:29]OFD Sender: No OFD packet to send [07:57:34]OFD Sender: No OFD packet to send [07:57:39]OFD Sender: No OFD packet to send [07:57:44]OFD Sender: No OFD packet to send [07:57:49]OFD Sender: No OFD packet to send [07:57:54]OFD Sender: No OFD packet to send [07:57:59]OFD Sender: No OFD packet to send [07:58:04]OFD Sender: No OFD packet to send [07:58:09]OFD Sender: No OFD packet to send [07:58:14]OFD Sender: No OFD packet to send [07:58:19]OFD Sender: No OFD packet to send [07:58:24]OFD Sender: No OFD packet to send [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:24]OFD Sender: No OFD packet to send [08:00:29]OFD Sender: No OFD packet to send [08:00:34]OFD Sender: No OFD packet to send [08:00:39]OFD Sender: No OFD packet to send [08:00:44]OFD Sender: No OFD packet to send [08:00:49]OFD Sender: No OFD packet to send [08:00:54]OFD Sender: No OFD packet to send [08:00:59]OFD Sender: No OFD packet to send [08:01:04]OFD Sender: No OFD packet to send [08:01:09]OFD Sender: No OFD packet to send [08:01:14]OFD Sender: No OFD packet to send [08:01:19]OFD Sender: No OFD packet to send [08:01:24]OFD Sender: No OFD packet to send [08:01:29]OFD Sender: No OFD packet to send [08:01:34]OFD Sender: No OFD packet to send [08:01:39]OFD Sender: No OFD packet to send [08:01:44]OFD Sender: No OFD packet to send [08:01:49]OFD Sender: No OFD packet to send [08:01:54]OFD Sender: No OFD packet to send [08:01:59]OFD Sender: No OFD packet to send [08:02:04]OFD Sender: No OFD packet to send [08:02:09]OFD Sender: No OFD packet to send [08:02:29]OFD Sender: No OFD packet to send [08:02:34]OFD Sender: No OFD packet to send [08:02:39]OFD Sender: No OFD packet to send [08:02:44]OFD Sender: No OFD packet to send [08:02:49]OFD Sender: No OFD packet to send [08:02:54]OFD Sender: No OFD packet to send [08:02:59]OFD Sender: No OFD packet to send [08:03:04]OFD Sender: No OFD packet to send [08:03:09]OFD Sender: No OFD packet to send [08:03:14]OFD Sender: No OFD packet to send [08:03:19]OFD Sender: No OFD packet to send [08:03:24]OFD Sender: No OFD packet to send [08:03:29]OFD Sender: No OFD packet to send [08:03:34]OFD Sender: No OFD packet to send [08:03:39]OFD Sender: No OFD packet to send [08:03:44]OFD Sender: No OFD packet to send [08:03:49]OFD Sender: No OFD packet to send [08:03:54]OFD Sender: No OFD packet to send [08:03:59]OFD Sender: No OFD packet to send [08:04:04]OFD Sender: No OFD packet to send [08:04:09]OFD Sender: No OFD packet to send [08:04:15]OFD Sender: No OFD packet to send [08:04:20]OFD Sender: No OFD packet to send [08:04:25]OFD Sender: No OFD packet to send [08:04:30]OFD Sender: No OFD packet to send [08:04:35]OFD Sender: No OFD packet to send [08:04:40]OFD Sender: No OFD packet to send [08:04:40]ConnectInit Can't connect to host [08:04:45]OFD Sender: No OFD packet to send [08:04:50]OFD Sender: No OFD packet to send [08:04:55]OFD Sender: No OFD packet to send [08:05:00]OFD Sender: No OFD packet to send [08:05:05]OFD Sender: No OFD packet to send [08:05:10]OFD Sender: No OFD packet to send [08:05:15]OFD Sender: No OFD packet to send [08:05:20]OFD Sender: No OFD packet to send [08:05:25]OFD Sender: No OFD packet to send [08:05:30]OFD Sender: No OFD packet to send [08:05:35]OFD Sender: No OFD packet to send [08:05:40]OFD Sender: No OFD packet to send [08:05:45]OFD Sender: No OFD packet to send [08:05:50]OFD Sender: No OFD packet to send [08:05:55]OFD Sender: No OFD packet to send [08:06:00]OFD Sender: No OFD packet to send [08:06:05]OFD Sender: No OFD packet to send [08:06:10]OFD Sender: No OFD packet to send [08:06:15]OFD Sender: No OFD packet to send [08:06:20]OFD Sender: No OFD packet to send [08:06:25]OFD Sender: No OFD packet to send [08:06:30]OFD Sender: No OFD packet to send [08:06:35]OFD Sender: No OFD packet to send [08:06:40]OFD Sender: No OFD packet to send [08:06:45]OFD Sender: No OFD packet to send [08:06:50]OFD Sender: No OFD packet to send [08:06:55]OFD Sender: No OFD packet to send [08:07:00]OFD Sender: No OFD packet to send [08:07:05]OFD Sender: No OFD packet to send [08:07:10]OFD Sender: No OFD packet to send [08:07:15]OFD Sender: No OFD packet to send [08:07:20]OFD Sender: No OFD packet to send [08:07:25]OFD Sender: No OFD packet to send [08:07:30]OFD Sender: No OFD packet to send [08:07:35]OFD Sender: No OFD packet to send [08:07:40]OFD Sender: No OFD packet to send [08:07:45]OFD Sender: No OFD packet to send [08:07:50]OFD Sender: No OFD packet to send [08:07:55]OFD Sender: No OFD packet to send [08:08:00]OFD Sender: No OFD packet to send [08:08:05]OFD Sender: No OFD packet to send [08:08:10]OFD Sender: No OFD packet to send [08:08:15]OFD Sender: No OFD packet to send [08:08:20]OFD Sender: No OFD packet to send [08:08:25]OFD Sender: No OFD packet to send [08:08:30]OFD Sender: No OFD packet to send [08:08:35]OFD Sender: No OFD packet to send [08:08:40]OFD Sender: No OFD packet to send [08:08:45]OFD Sender: No OFD packet to send [08:08:50]OFD Sender: No OFD packet to send [08:08:55]OFD Sender: No OFD packet to send [08:09:00]OFD Sender: No OFD packet to send [08:09:05]OFD Sender: No OFD packet to send [08:09:10]OFD Sender: No OFD packet to send [08:09:15]OFD Sender: No OFD packet to send [08:09:20]OFD Sender: No OFD packet to send [08:09:25]OFD Sender: No OFD packet to send [08:09:30]OFD Sender: No OFD packet to send [08:09:35]OFD Sender: No OFD packet to send [08:09:40]OFD Sender: No OFD packet to send [08:09:45]OFD Sender: No OFD packet to send [08:09:50]OFD Sender: No OFD packet to send [08:09:55]OFD Sender: No OFD packet to send [08:10:00]OFD Sender: No OFD packet to send [08:10:05]OFD Sender: No OFD packet to send [08:10:10]OFD Sender: No OFD packet to send [08:10:15]OFD Sender: No OFD packet to send [08:10:20]OFD Sender: No OFD packet to send [08:10:25]OFD Sender: No OFD packet to send [08:10:30]OFD Sender: No OFD packet to send [08:10:35]OFD Sender: No OFD packet to send [08:10:40]OFD Sender: No OFD packet to send [08:10:45]OFD Sender: No OFD packet to send [08:10:50]OFD Sender: No OFD packet to send [08:10:55]OFD Sender: No OFD packet to send [08:11:00]OFD Sender: No OFD packet to send [08:11:05]OFD Sender: No OFD packet to send [08:11:10]OFD Sender: No OFD packet to send [08:11:15]OFD Sender: No OFD packet to send [08:11:20]OFD Sender: No OFD packet to send [08:11:25]OFD Sender: No OFD packet to send [08:11:30]OFD Sender: No OFD packet to send [08:11:35]OFD Sender: No OFD packet to send [08:11:40]OFD Sender: No OFD packet to send [08:11:45]OFD Sender: No OFD packet to send [08:11:50]OFD Sender: No OFD packet to send [08:11:55]OFD Sender: No OFD packet to send [08:12:00]OFD Sender: No OFD packet to send [08:12:05]OFD Sender: No OFD packet to send [08:12:10]OFD Sender: No OFD packet to send [08:12:15]OFD Sender: No OFD packet to send [08:12:20]OFD Sender: No OFD packet to send [08:12:25]OFD Sender: No OFD packet to send [08:12:30]OFD Sender: No OFD packet to send [08:12:35]OFD Sender: No OFD packet to send [08:12:40]OFD Sender: No OFD packet to send [08:12:45]OFD Sender: No OFD packet to send [08:12:50]OFD Sender: No OFD packet to send [08:12:55]OFD Sender: No OFD packet to send [08:13:05]OFD Sender: No OFD packet to send [08:13:10]OFD Sender: No OFD packet to send [08:13:15]OFD Sender: No OFD packet to send [08:13:20]OFD Sender: No OFD packet to send [08:13:25]OFD Sender: No OFD packet to send [08:13:30]OFD Sender: No OFD packet to send [08:13:35]OFD Sender: No OFD packet to send [08:13:40]OFD Sender: No OFD packet to send [08:13:43]recv_with_timeout no data received [08:13:45]OFD Sender: No OFD packet to send [08:13:50]OFD Sender: No OFD packet to send [08:13:55]OFD Sender: No OFD packet to send [08:14:00]OFD Sender: No OFD packet to send [08:14:05]OFD Sender: No OFD packet to send [08:14:10]OFD Sender: No OFD packet to send [08:14:15]OFD Sender: No OFD packet to send [08:14:20]OFD Sender: No OFD packet to send [08:14:25]OFD Sender: No OFD packet to send [08:14:30]OFD Sender: No OFD packet to send [08:14:35]OFD Sender: No OFD packet to send [08:14:40]OFD Sender: No OFD packet to send [08:14:45]OFD Sender: No OFD packet to send [08:14:50]OFD Sender: No OFD packet to send [08:14:55]OFD Sender: No OFD packet to send [08:15:00]OFD Sender: No OFD packet to send [08:15:05]OFD Sender: No OFD packet to send [08:15:10]OFD Sender: No OFD packet to send [08:15:15]OFD Sender: No OFD packet to send [08:15:20]OFD Sender: No OFD packet to send [08:15:25]OFD Sender: No OFD packet to send [08:15:30]accept exits with 9 [08:15:30]New connection [08:15:30]New thread 3067452772 created [08:15:30]Thread 3067596132 joined [08:15:30]Waiting for new connection... [08:15:30] Sock 9.Parse request [08:15:30]Sock 9.Check first char [08:15:30]Sock 9.First char is OK [08:15:30]request: POST /json_proto HTTP/1.0 [08:15:30]Method: POST [08:15:30]URL: /json_proto [08:15:30]Method is POST - this is cgi request [08:15:30]url: /json_proto [08:15:30]query_string will be loaded in cgi processing [08:15:30]execute_cgi json_proto POST (null) [08:15:30]execute_cgi path=json_proto method=POST [08:15:30]POST find Content-Length [08:15:30]Host: 172.17.50.4:8080 [08:15:30]Content-Length: 654 [08:15:30]Content-Type: application/json [08:15:30] [08:15:30]POST finish read [08:15:30]Found Content-Length = 654 [08:15:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134910", "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" ] } } [08:15:30]execute_script... [08:15:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134910", "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" ] } } [08:15:30]POST & json_proto [08:15:30]process_json_proto [08:15:30]json parsed OK: [08:15:30]protocol is kg_v1.0 [08:15:30]action value=close_receipt [08:15:30]process_action close_receipt [08:15:30]cmd_close_receipt [08:15:30]MH_GetDate [08:15:30]Write to MH i2c: F0 00 00 17 05 0B [08:15:30]Write i2c OK [08:15:30]MH_I2C_Read... [08:15:30]Read from MH i2c: F0 [08:15:30]MH_I2C_Read... [08:15:30]Read from MH i2c: F0 09 00 [08:15:30]MH_I2C_Read... [08:15:30]Read from MH i2c: F0 09 00 17 05 00 24 5F 17 67 3B 12 16 67 DF [08:15:30]GetLastDocTimeStamp 1729582693 [08:15:30]current date 1729584932 [08:15:30]FM_GetShiftState [08:15:30]SAM_PROTO_GetShiftState [08:15:30]wFMCommunicate request_size=4 [08:15:30]MH_SAM_APDU [08:15:30]CAPDU: 80 13 01 00 [08:15:30]Write to MH i2c: E2 08 00 18 05 80 13 01 00 00 00 00 00 9A [08:15:30]Write i2c OK [08:15:30]MH_I2C_Read... [08:15:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:30]Read from MH i2c: E2 [08:15:30]MH_I2C_Read... [08:15:30]Read from MH i2c: E2 0E 00 [08:15:30]MH_I2C_Read... [08:15:30]Read from MH i2c: E2 0E 00 18 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 92 [08:15:30]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [08:15:30]wFMCommunicate OK [08:15:30]SAM_PROTO_GetShiftState done [08:15:30]FM_GetShiftState done [08:15:30]opened in 1729555332 [08:15:30]opened+sec_in_day 1729641732 [08:15:30]quantity*price = 9500 [08:15:30]sum+1 = 9501 [08:15:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 10 22.10.2024 08:15 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24391 ФПД: 38925226823936 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T081532&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24391&fm=38925226823936&tin=02508201610067®Number=0000000000098120&sum=9500 0 [08:15:31]StoreToDocumentArchive [08:15:31]shift 462 fd 24391 [08:15:31]save to /storage/0462/doc_00024391 [08:15:31]save last doc name /storage/0462/doc_00024391 to /storage/kkm_last_doc_name [08:15:31]save OK [08:15:31]Clear old archive folders... [08:15:31]ProcessDocumentItem done err = 0, tmpTLVsize=293 [08:15:31]tlvbuf is 00D65B50 [08:15:31]SAM_PROTO_ClearQueue [08:15:31]wFMCommunicate request_size=4 [08:15:31]MH_SAM_APDU [08:15:31]CAPDU: 80 09 00 00 [08:15:31]Write to MH i2c: E2 08 00 25 05 80 09 00 00 00 00 00 00 9C [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 25 05 00 90 00 9E [08:15:31]RAPDU: 90 00 [08:15:31]wFMCommunicate OK [08:15:31]SAM_PROTO_ClearQueue done [08:15:31]KKMCreateOFDPacket [08:15:31]OFDProtocolAddRootSTLVToBuf [08:15:31]FM_MakeSignedData [08:15:31]FM_MakeSignedData [08:15:31]SAM_PROTO_SignData [08:15:31]wFMCommunicate request_size=4 [08:15:31]MH_SAM_APDU [08:15:31]CAPDU: 80 0D 01 02 [08:15:31]Write to MH i2c: E2 08 00 26 05 80 0D 01 02 00 00 00 00 A4 [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 26 05 00 90 00 9F [08:15:31]RAPDU: 90 00 [08:15:31]wFMCommunicate OK [08:15:31]wFMCommunicate request_size=255 [08:15:31]MH_SAM_APDU [08:15:31]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 0A 00 00 00 F4 03 04 00 24 5F 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [08:15:31]Write to MH i2c: E2 02 01 27 05 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 0A 00 00 00 F4 03 04 00 24 5F 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 1E [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 27 05 00 90 00 A0 [08:15:31]RAPDU: 90 00 [08:15:31]wFMCommunicate OK [08:15:31]wFMCommunicate request_size=52 [08:15:31]MH_SAM_APDU [08:15:31]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 47 5F 00 00 35 04 06 00 23 66 FC 51 51 00 [08:15:31]Write to MH i2c: E2 37 00 28 05 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 47 5F 00 00 35 04 06 00 23 66 FC 51 51 00 00 00 2C [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 03 00 28 05 00 90 00 A1 [08:15:31]RAPDU: 90 00 [08:15:31]wFMCommunicate OK [08:15:31]wFMCommunicate request_size=4 [08:15:31]MH_SAM_APDU [08:15:31]CAPDU: 80 0D 03 02 [08:15:31]Write to MH i2c: E2 08 00 29 05 80 0D 03 02 00 00 00 00 A9 [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 0B 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 0B 00 29 05 00 AB 3B 19 7B 15 1B AE 6F 90 00 71 [08:15:31]RAPDU: AB 3B 19 7B 15 1B AE 6F 90 00 [08:15:31]wFMCommunicate OK [08:15:31]SAM_PROTO_SignData done [08:15:31]FM_MakeSignedData done [08:15:31]CreateOFDProtocolMessage [08:15:31]wFMCommunicate request_size=4 [08:15:31]MH_SAM_APDU [08:15:31]CAPDU: 80 11 00 00 [08:15:31]Write to MH i2c: E2 08 00 2A 05 80 11 00 00 00 00 00 00 A9 [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:31]Read from MH i2c: E2 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 17 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: E2 17 00 2A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F6 [08:15:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:15:31]wFMCommunicate OK [08:15:31]CreateOFDProtocolMessage done [08:15:31]OFDSenderStorePacket 24391 [08:15:31]StoreOFDPacket docnum=24391 [08:15:31]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 8D 12 31 01 86 D7 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 0A 00 00 00 F4 03 04 00 24 5F 17 67 0E 04 04 00 CE 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 47 5F 00 00 35 04 06 00 23 66 FC 51 51 00 AB 3B 19 7B 15 1B AE 6F [08:15:31]CheckFolder [08:15:31]dirname=/storage/ofd_packets [08:15:31]CheckFolder done [08:15:31]ProducePacketName [08:15:31]name=ofd_packets/00024391 [08:15:31]NVStorageSaveData ofd_packets/00024391 [08:15:31]File name is /storage/ofd_packets/00024391 [08:15:31]Write 343 bytes [08:15:31]NVStorageSaveData done [08:15:31]OFDSenderStorePacket done [08:15:31]KKMCreateOFDPacket done [08:15:31]NVStorageSaveData kkm_last_timestamp [08:15:31]File name is /storage/kkm_last_timestamp [08:15:31]Write 4 bytes [08:15:31]NVStorageSaveData done [08:15:31]ExternCall_PrintAddStr [08:15:31]wPrintStart [08:15:31]Write to MH i2c: 01 00 00 2B 05 30 [08:15:31]Write i2c OK [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: 01 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: 01 07 00 [08:15:31]MH_I2C_Read... [08:15:31]Read from MH i2c: 01 07 00 2B 05 00 00 00 00 00 FF 0F 45 [08:15:31]RasterBufferAndPrint [08:15:31]line Счет N : (3)134910 [08:15:31]line ИНН: 02508201610067 [08:15:31]line Контрольно-Кассовый Чек [08:15:31]line ПРОДАЖА [08:15:31]line Товар: 4700000480050 [08:15:31]line Напиток Nitro Energy эн green ж/б 0,45л [08:15:31]line 1.000 * 95.00 [08:15:31]line = 95.00 [08:15:31]line НДС 12% НСП 1% [08:15:31]line > о реализуемом товаре [08:15:31]line ИТОГО: 95.00 [08:15:31]line НСП 1% : 0.84 [08:15:31]line НДС 12% : 10.09 [08:15:31]line Наличными: 95.00 [08:15:31]line Безнал.: 0.00 [08:15:31]line Место: АЗС № 85 "Партнер Нефть" [08:15:31]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:15:31]line СНО: Общий режим [08:15:31]line Чек 10 22.10.2024 08:15 [08:15:31]line Смена: 462 ФФД: 1.0 [08:15:31]line ЗНМ: 0300000166 [08:15:31]line РНМ: 0000000000098120 [08:15:31]line Версия ККМ: 001 [08:15:31]line ФМ: 0000000000965420 [08:15:31]line ФД: 24391 [08:15:31]line ФПД: 38925226823936 [08:15:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T081532&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24391&fm=38925226823936&tin=02508201610067®Number=0000000000098120&sum=9500 [08:15:32]OFD Sender: Processing packet 24391 [packets to send 5, broken 4] [08:15:32]ProducePacketName [08:15:32]name=ofd_packets/00024391 [08:15:32]OFD Sender: To server: pG, [08:15:32]CommunicateWithHost lk.salyk.kg:30040 [08:15:32]ConnectInit lk.salyk.kg [08:15:32]line 0 [08:15:32]written 0, free lines is 4095 [08:15:32]Connected sock=10 [08:15:32]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 8D 12 31 01 86 D7 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 0A 00 00 00 F4 03 04 00 24 5F 17 67 0E 04 04 00 CE 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 47 5F 00 00 35 04 06 00 23 66 FC 51 51 00 AB 3B 19 7B 15 1B AE 6F [08:15:32]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 8E 8E 47 00 39 C0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 47 5F 00 00 F4 03 04 00 C8 0A 17 67 B6 04 01 00 00 DA 39 0A 49 34 0C 77 B6 [08:15:32]CommunicateWithHost err = 0 [08:15:32]CheckOFDResponse [08:15:32]1017 (14) - 77093643461234 [08:15:32]1041 (16) - 0000000000965420 [08:15:32]1040 (4) - 24391 [08:15:32]1012 (4) - 22.10.2024 02:15 [08:15:32]1206 (1) - 0 [08:15:32]OFD Sender: Remove packet 24391 [08:15:32]ProducePacketName [08:15:32]name=ofd_packets/00024391 [08:15:32]NVStorageDeleteData [08:15:32]Write to MH i2c: 01 00 00 54 05 59 [08:15:32]Write i2c OK [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: 01 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: 01 07 00 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: 01 07 00 54 05 00 00 00 00 00 07 0D 74 [08:15:32]RasterBufferAndPrint [08:15:32]line [08:15:32]line [08:15:32]line [08:15:32]line [08:15:32]line [08:15:32]written 0, free lines is 3341 [08:15:32]process_action close_receipt done [08:15:32]requested_data is exist [08:15:32]produce_requested_data [08:15:32]requested_item fm.sn is exist - process it [08:15:32]wFMCommunicate request_size=4 [08:15:32]MH_SAM_APDU [08:15:32]CAPDU: 80 11 00 00 [08:15:32]Write to MH i2c: E2 08 00 5B 05 80 11 00 00 00 00 00 00 DA [08:15:32]Write i2c OK [08:15:32]MH_I2C_Read... [08:15:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:15:32]Read from MH i2c: E2 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 17 00 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 17 00 5B 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 27 [08:15:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:15:32]wFMCommunicate OK [08:15:32]requested_item fd.num is exist - process it [08:15:32]SAM_PROTO_GetFieldsCounters [08:15:32]wFMCommunicate request_size=4 [08:15:32]MH_SAM_APDU [08:15:32]CAPDU: 80 13 00 00 [08:15:32]Write to MH i2c: E2 08 00 5C 05 80 13 00 00 00 00 00 00 DD [08:15:32]Write i2c OK [08:15:32]MH_I2C_Read... [08:15:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:15:32]Read from MH i2c: E2 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 62 00 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 62 00 5C 05 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 47 5F 00 00 0E 04 04 00 CE 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 86 [08:15:32]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 47 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:15:32]wFMCommunicate OK [08:15:32]SAM_PROTO_GetFieldsCounters done [08:15:32]requested_item shift.num is exist - process it [08:15:32]requested_item shift.opened is exist - process it [08:15:32]req_shift_opened [08:15:32]FM_GetShiftState [08:15:32]SAM_PROTO_GetShiftState [08:15:32]wFMCommunicate request_size=4 [08:15:32]MH_SAM_APDU [08:15:32]CAPDU: 80 13 01 00 [08:15:32]Write to MH i2c: E2 08 00 5D 05 80 13 01 00 00 00 00 00 DF [08:15:32]Write i2c OK [08:15:32]MH_I2C_Read... [08:15:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:15:32]Read from MH i2c: E2 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 0E 00 [08:15:32]MH_I2C_Read... [08:15:32]Read from MH i2c: E2 0E 00 5D 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D7 [08:15:32]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [08:15:32]wFMCommunicate OK [08:15:32]SAM_PROTO_GetShiftState done [08:15:32]FM_GetShiftState done [08:15:32]req_shift_opened done [08:15:32]requested_item shift.open_date is exist - process it [08:15:32]req_shift_open_date [08:15:32]req_shift_open_date done [08:15:32]produce_requested_data done [08:15:32]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24391,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [08:15:32]process_action_free close_receipt [08:15:32]json_value_free [08:15:32]json_value_free done [08:15:32]process_json_proto returns [08:15:32]Send response to host [08:15:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24391,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [08:15:32]free response buf [08:15:32]execute_script done [08:15:32]execute_script returns [08:15:32]free content buf [08:15:32]Sock 9.Close socket [08:15:32]Sock 9.Thread stoped [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:58]OFD Sender: No OFD packet to send [08:16:03]OFD Sender: No OFD packet to send [08:16:08]OFD Sender: No OFD packet to send [08:16:13]OFD Sender: No OFD packet to send [08:16:18]OFD Sender: No OFD packet to send [08:16:23]OFD Sender: No OFD packet to send [08:16:28]OFD Sender: No OFD packet to send [08:16:33]OFD Sender: No OFD packet to send [08:16:38]OFD Sender: No OFD packet to send [08:16:43]OFD Sender: No OFD packet to send [08:16:48]OFD Sender: No OFD packet to send [08:16:53]OFD Sender: No OFD packet to send [08:16:58]OFD Sender: No OFD packet to send [08:17:03]OFD Sender: No OFD packet to send [08:17:08]OFD Sender: No OFD packet to send [08:17:13]OFD Sender: No OFD packet to send [08:17:18]OFD Sender: No OFD packet to send [08:17:23]OFD Sender: No OFD packet to send [08:17:28]OFD Sender: No OFD packet to send [08:17:33]OFD Sender: No OFD packet to send [08:17:38]OFD Sender: No OFD packet to send [08:17:43]OFD Sender: No OFD packet to send [08:17:48]OFD Sender: No OFD packet to send [08:17:53]OFD Sender: No OFD packet to send [08:17:58]OFD Sender: No OFD packet to send [08:18:03]OFD Sender: No OFD packet to send [08:18:08]OFD Sender: No OFD packet to send [08:18:13]OFD Sender: No OFD packet to send [08:18:18]OFD Sender: No OFD packet to send [08:18:23]OFD Sender: No OFD packet to send [08:18:28]OFD Sender: No OFD packet to send [08:18:33]OFD Sender: No OFD packet to send [08:18:38]OFD Sender: No OFD packet to send [08:18:43]OFD Sender: No OFD packet to send [08:18:48]OFD Sender: No OFD packet to send [08:18:53]OFD Sender: No OFD packet to send [08:18:58]OFD Sender: No OFD packet to send [08:19:03]OFD Sender: No OFD packet to send [08:19:08]OFD Sender: No OFD packet to send [08:19:13]OFD Sender: No OFD packet to send [08:19:18]OFD Sender: No OFD packet to send [08:19:23]OFD Sender: No OFD packet to send [08:19:28]OFD Sender: No OFD packet to send [08:19:33]OFD Sender: No OFD packet to send [08:19:38]OFD Sender: No OFD packet to send [08:19:43]OFD Sender: No OFD packet to send [08:19:48]OFD Sender: No OFD packet to send [08:19:53]OFD Sender: No OFD packet to send [08:19:58]OFD Sender: No OFD packet to send [08:20:03]OFD Sender: No OFD packet to send [08:20:08]OFD Sender: No OFD packet to send [08:20:13]OFD Sender: No OFD packet to send [08:20:18]OFD Sender: No OFD packet to send [08:20:23]OFD Sender: No OFD packet to send [08:20:28]OFD Sender: No OFD packet to send [08:20:33]OFD Sender: No OFD packet to send [08:20:38]OFD Sender: No OFD packet to send [08:20:43]OFD Sender: No OFD packet to send [08:20:48]OFD Sender: No OFD packet to send [08:20:53]OFD Sender: No OFD packet to send [08:20:58]OFD Sender: No OFD packet to send [08:21:03]OFD Sender: No OFD packet to send [08:21:08]OFD Sender: No OFD packet to send [08:21:13]OFD Sender: No OFD packet to send [08:21:18]OFD Sender: No OFD packet to send [08:21:23]OFD Sender: No OFD packet to send [08:21:28]OFD Sender: No OFD packet to send [08:21:33]OFD Sender: No OFD packet to send [08:21:38]OFD Sender: No OFD packet to send [08:21:43]OFD Sender: No OFD packet to send [08:21:48]OFD Sender: No OFD packet to send [08:21:53]OFD Sender: No OFD packet to send [08:21:58]OFD Sender: No OFD packet to send [08:22:03]OFD Sender: No OFD packet to send [08:22:08]OFD Sender: No OFD packet to send [08:22:13]OFD Sender: No OFD packet to send [08:22:18]OFD Sender: No OFD packet to send [08:22:23]OFD Sender: No OFD packet to send [08:22:28]OFD Sender: No OFD packet to send [08:22:33]OFD Sender: No OFD packet to send [08:22:38]OFD Sender: No OFD packet to send [08:22:43]OFD Sender: No OFD packet to send [08:22:48]OFD Sender: No OFD packet to send [08:22:53]OFD Sender: No OFD packet to send [08:22:58]OFD Sender: No OFD packet to send [08:23:03]OFD Sender: No OFD packet to send [08:23:08]OFD Sender: No OFD packet to send [08:23:13]OFD Sender: No OFD packet to send [08:23:18]OFD Sender: No OFD packet to send [08:23:23]OFD Sender: No OFD packet to send [08:23:28]OFD Sender: No OFD packet to send [08:23:33]OFD Sender: No OFD packet to send [08:23:38]OFD Sender: No OFD packet to send [08:23:43]OFD Sender: No OFD packet to send [08:23:48]OFD Sender: No OFD packet to send [08:23:53]OFD Sender: No OFD packet to send [08:23:58]OFD Sender: No OFD packet to send [08:24:03]OFD Sender: No OFD packet to send [08:24:08]OFD Sender: No OFD packet to send [08:24:13]OFD Sender: No OFD packet to send [08:24:18]OFD Sender: No OFD packet to send [08:24:23]OFD Sender: No OFD packet to send [08:24:28]OFD Sender: No OFD packet to send [08:24:33]OFD Sender: No OFD packet to send [08:24:38]OFD Sender: No OFD packet to send [08:24:43]OFD Sender: No OFD packet to send [08:24:48]OFD Sender: No OFD packet to send [08:24:53]OFD Sender: No OFD packet to send [08:24:58]OFD Sender: No OFD packet to send [08:25:03]OFD Sender: No OFD packet to send [08:25:08]OFD Sender: No OFD packet to send [08:25:13]OFD Sender: No OFD packet to send [08:25:18]OFD Sender: No OFD packet to send [08:25:23]OFD Sender: No OFD packet to send [08:25:28]OFD Sender: No OFD packet to send [08:25:33]OFD Sender: No OFD packet to send [08:25:38]OFD Sender: No OFD packet to send [08:25:43]OFD Sender: No OFD packet to send [08:25:48]OFD Sender: No OFD packet to send [08:25:53]OFD Sender: No OFD packet to send [08:25:58]OFD Sender: No OFD packet to send [08:26:03]OFD Sender: No OFD packet to send [08:26:08]OFD Sender: No OFD packet to send [08:26:13]OFD Sender: No OFD packet to send [08:26:18]OFD Sender: No OFD packet to send [08:26:23]OFD Sender: No OFD packet to send [08:26:28]OFD Sender: No OFD packet to send [08:26:33]OFD Sender: No OFD packet to send [08:26:38]OFD Sender: No OFD packet to send [08:26:43]OFD Sender: No OFD packet to send [08:26:48]OFD Sender: No OFD packet to send [08:26:53]OFD Sender: No OFD packet to send [08:26:58]OFD Sender: No OFD packet to send [08:27:03]OFD Sender: No OFD packet to send [08:27:08]OFD Sender: No OFD packet to send [08:27:13]OFD Sender: No OFD packet to send [08:27:18]OFD Sender: No OFD packet to send [08:27:23]OFD Sender: No OFD packet to send [08:27:28]OFD Sender: No OFD packet to send [08:27:33]OFD Sender: No OFD packet to send [08:27:38]OFD Sender: No OFD packet to send [08:27:43]OFD Sender: No OFD packet to send [08:27:45]accept exits with 7 [08:27:45]New connection [08:27:45]New thread 3067596132 created [08:27:45]Thread 3067452772 joined [08:27:45]Waiting for new connection... [08:27:45] Sock 7.Parse request [08:27:45]Sock 7.Check first char [08:27:45]Sock 7.First char is OK [08:27:45]request: POST /json_proto HTTP/1.0 [08:27:45]Method: POST [08:27:45]URL: /json_proto [08:27:45]Method is POST - this is cgi request [08:27:45]url: /json_proto [08:27:45]query_string will be loaded in cgi processing [08:27:45]execute_cgi json_proto POST (null) [08:27:45]execute_cgi path=json_proto method=POST [08:27:45]POST find Content-Length [08:27:45]Host: 172.17.50.4:8080 [08:27:45]Content-Length: 781 [08:27:45]Content-Type: application/json [08:27:45] [08:27:45]POST finish read [08:27:45]Found Content-Length = 781 [08:27:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134911", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:27:45]execute_script... [08:27: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)134911", "tax_sys" : 0, "items" : [ { "code": "4700000480050", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Energy \u044D\u043D green \u0436/\u0431 0,45\u043B", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:27:45]POST & json_proto [08:27:45]process_json_proto [08:27:45]json parsed OK: [08:27:45]protocol is kg_v1.0 [08:27:45]action value=close_receipt [08:27:45]process_action close_receipt [08:27:45]cmd_close_receipt [08:27:45]MH_GetDate [08:27:45]Write to MH i2c: F0 00 00 5E 05 52 [08:27:45]Write i2c OK [08:27:45]MH_I2C_Read... [08:27:45]Read from MH i2c: F0 [08:27:45]MH_I2C_Read... [08:27:45]Read from MH i2c: F0 09 00 [08:27:45]MH_I2C_Read... [08:27:45]Read from MH i2c: F0 09 00 5E 05 00 04 62 17 67 3B 12 16 67 09 [08:27:45]GetLastDocTimeStamp 1729584932 [08:27:45]current date 1729585668 [08:27:45]FM_GetShiftState [08:27:45]SAM_PROTO_GetShiftState [08:27:45]wFMCommunicate request_size=4 [08:27:45]MH_SAM_APDU [08:27:45]CAPDU: 80 13 01 00 [08:27:45]Write to MH i2c: E2 08 00 5F 05 80 13 01 00 00 00 00 00 E1 [08:27:45]Write i2c OK [08:27:45]MH_I2C_Read... [08:27:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:27:45]Read from MH i2c: E2 [08:27:45]MH_I2C_Read... [08:27:45]Read from MH i2c: E2 0E 00 [08:27:45]MH_I2C_Read... [08:27:45]Read from MH i2c: E2 0E 00 5F 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D9 [08:27:45]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [08:27:45]wFMCommunicate OK [08:27:45]SAM_PROTO_GetShiftState done [08:27:45]FM_GetShiftState done [08:27:45]opened in 1729555332 [08:27:45]opened+sec_in_day 1729641732 [08:27:45]quantity*price = 9500 [08:27:45]sum+1 = 9501 [08:27:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 0.00 Безнал.: 95.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 11 22.10.2024 08:27 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24392 ФПД: 84092875024017 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T082748&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24392&fm=84092875024017&tin=02508201610067®Number=0000000000098120&sum=9500 0 [08:27:46]StoreToDocumentArchive [08:27:46]shift 462 fd 24392 [08:27:46]save to /storage/0462/doc_00024392 [08:27:46]save last doc name /storage/0462/doc_00024392 to /storage/kkm_last_doc_name [08:27:46]save OK [08:27:46]Clear old archive folders... [08:27:46]ProcessDocumentItem done err = 0, tmpTLVsize=293 [08:27:46]tlvbuf is 00D4B620 [08:27:46]SAM_PROTO_ClearQueue [08:27:46]wFMCommunicate request_size=4 [08:27:46]MH_SAM_APDU [08:27:46]CAPDU: 80 09 00 00 [08:27:46]Write to MH i2c: E2 08 00 6C 05 80 09 00 00 00 00 00 00 E3 [08:27:46]Write i2c OK [08:27:46]MH_I2C_Read... [08:27:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:27:46]Read from MH i2c: E2 [08:27:46]MH_I2C_Read... [08:27:46]Read from MH i2c: E2 03 00 [08:27:46]MH_I2C_Read... [08:27:46]Read from MH i2c: E2 03 00 6C 05 00 90 00 E5 [08:27:46]RAPDU: 90 00 [08:27:46]wFMCommunicate OK [08:27:46]SAM_PROTO_ClearQueue done [08:27:46]KKMCreateOFDPacket [08:27:46]OFDProtocolAddRootSTLVToBuf [08:27:46]FM_MakeSignedData [08:27:46]FM_MakeSignedData [08:27:46]SAM_PROTO_SignData [08:27:46]wFMCommunicate request_size=4 [08:27:46]MH_SAM_APDU [08:27:46]CAPDU: 80 0D 01 02 [08:27:46]Write to MH i2c: E2 08 00 6D 05 80 0D 01 02 00 00 00 00 EB [08:27:46]Write i2c OK [08:27:46]MH_I2C_Read... [08:27:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:27:46]Read from MH i2c: E2 [08:27:46]MH_I2C_Read... [08:27:46]Read from MH i2c: E2 03 00 [08:27:46]MH_I2C_Read... [08:27:46]Read from MH i2c: E2 03 00 6D 05 00 90 00 E6 [08:27:46]RAPDU: 90 00 [08:27:46]wFMCommunicate OK [08:27:46]wFMCommunicate request_size=255 [08:27:46]MH_SAM_APDU [08:27:46]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 04 62 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [08:27:46]Write to MH i2c: E2 02 01 6E 05 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 04 62 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 49 [08:27:46]Write i2c OK [08:27:46]MH_I2C_Read... [08:27:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:27:47]Read from MH i2c: E2 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 03 00 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 03 00 6E 05 00 90 00 E7 [08:27:47]RAPDU: 90 00 [08:27:47]wFMCommunicate OK [08:27:47]wFMCommunicate request_size=52 [08:27:47]MH_SAM_APDU [08:27:47]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 48 5F 00 00 35 04 06 00 4C 7B 65 F1 A6 91 [08:27:47]Write to MH i2c: E2 37 00 6F 05 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 48 5F 00 00 35 04 06 00 4C 7B 65 F1 A6 91 00 00 A1 [08:27:47]Write i2c OK [08:27:47]MH_I2C_Read... [08:27:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:27:47]Read from MH i2c: E2 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 03 00 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 03 00 6F 05 00 90 00 E8 [08:27:47]RAPDU: 90 00 [08:27:47]wFMCommunicate OK [08:27:47]wFMCommunicate request_size=4 [08:27:47]MH_SAM_APDU [08:27:47]CAPDU: 80 0D 03 02 [08:27:47]Write to MH i2c: E2 08 00 70 05 80 0D 03 02 00 00 00 00 F0 [08:27:47]Write i2c OK [08:27:47]MH_I2C_Read... [08:27:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:27:47]Read from MH i2c: E2 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 0B 00 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 0B 00 70 05 00 52 8F F1 B0 56 E5 F8 72 90 00 18 [08:27:47]RAPDU: 52 8F F1 B0 56 E5 F8 72 90 00 [08:27:47]wFMCommunicate OK [08:27:47]SAM_PROTO_SignData done [08:27:47]FM_MakeSignedData done [08:27:47]CreateOFDProtocolMessage [08:27:47]wFMCommunicate request_size=4 [08:27:47]MH_SAM_APDU [08:27:47]CAPDU: 80 11 00 00 [08:27:47]Write to MH i2c: E2 08 00 71 05 80 11 00 00 00 00 00 00 F0 [08:27:47]Write i2c OK [08:27:47]MH_I2C_Read... [08:27:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:27:47]Read from MH i2c: E2 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 17 00 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: E2 17 00 71 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3D [08:27:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:27:47]wFMCommunicate OK [08:27:47]CreateOFDProtocolMessage done [08:27:47]OFDSenderStorePacket 24392 [08:27:47]StoreOFDPacket docnum=24392 [08:27: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 39 01 00 00 64 01 31 01 85 C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 04 62 17 67 0E 04 04 00 CE 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 48 5F 00 00 35 04 06 00 4C 7B 65 F1 A6 91 52 8F F1 B0 56 E5 F8 72 [08:27:47]CheckFolder [08:27:47]dirname=/storage/ofd_packets [08:27:47]CheckFolder done [08:27:47]ProducePacketName [08:27:47]name=ofd_packets/00024392 [08:27:47]NVStorageSaveData ofd_packets/00024392 [08:27:47]File name is /storage/ofd_packets/00024392 [08:27:47]Write 343 bytes [08:27:47]NVStorageSaveData done [08:27:47]OFDSenderStorePacket done [08:27:47]KKMCreateOFDPacket done [08:27:47]NVStorageSaveData kkm_last_timestamp [08:27:47]File name is /storage/kkm_last_timestamp [08:27:47]Write 4 bytes [08:27:47]NVStorageSaveData done [08:27:47]ExternCall_PrintAddStr [08:27:47]wPrintStart [08:27:47]Write to MH i2c: 01 00 00 72 05 77 [08:27:47]Write i2c OK [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: 01 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: 01 07 00 [08:27:47]MH_I2C_Read... [08:27:47]Read from MH i2c: 01 07 00 72 05 00 00 00 00 00 FF 0F 8C [08:27:47]RasterBufferAndPrint [08:27:47]line Счет N : (3)134911 [08:27:47]line ИНН: 02508201610067 [08:27:47]line Контрольно-Кассовый Чек [08:27:47]line ПРОДАЖА [08:27:47]line Товар: 4700000480050 [08:27:47]line Напиток Nitro Energy эн green ж/б 0,45л [08:27:47]line 1.000 * 95.00 [08:27:47]line = 95.00 [08:27:47]line НДС 12% НСП 1% [08:27:47]line > о реализуемом товаре [08:27:47]line ИТОГО: 95.00 [08:27:47]line НСП 1% : 0.84 [08:27:47]line НДС 12% : 10.09 [08:27:47]line Наличными: 0.00 [08:27:47]line Безнал.: 95.00 [08:27:47]line Место: АЗС № 85 "Партнер Нефть" [08:27:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [08:27:47]line СНО: Общий режим [08:27:47]line Чек 11 22.10.2024 08:27 [08:27:47]line Смена: 462 ФФД: 1.0 [08:27:47]line ЗНМ: 0300000166 [08:27:47]line РНМ: 0000000000098120 [08:27:47]line Версия ККМ: 001 [08:27:47]line Платежная система: Mbank [08:27:47]line ФМ: 0000000000965420 [08:27:47]line ФД: 24392 [08:27:47]line ФПД: 84092875024017 [08:27:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T082748&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24392&fm=84092875024017&tin=02508201610067®Number=0000000000098120&sum=9500 [08:27:47]line 0 [08:27:47]OFD Sender: Processing packet 24392 [packets to send 5, broken 4] [08:27:47]ProducePacketName [08:27:47]name=ofd_packets/00024392 [08:27:47]OFD Sender: To server: pG, [08:27:47]CommunicateWithHost lk.salyk.kg:30040 [08:27:47]ConnectInit lk.salyk.kg [08:27:47]written 0, free lines is 4095 [08:27:47]Connected sock=10 [08:27: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 39 01 00 00 64 01 31 01 85 C5 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 30 35 30 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 45 6E 65 72 67 79 20 D1 8D D0 BD 20 67 72 65 65 6E 20 D0 B6 2F D0 B1 20 30 2C 34 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 25 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 04 62 17 67 0E 04 04 00 CE 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 48 5F 00 00 35 04 06 00 4C 7B 65 F1 A6 91 52 8F F1 B0 56 E5 F8 72 [08:27: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 57 46 47 00 49 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 48 5F 00 00 F4 03 04 00 A8 0D 17 67 B6 04 01 00 00 55 34 F8 54 6F 21 F0 57 [08:27:47]CommunicateWithHost err = 0 [08:27:47]CheckOFDResponse [08:27:47]1017 (14) - 77093643461234 [08:27:47]1041 (16) - 0000000000965420 [08:27:47]1040 (4) - 24392 [08:27:47]1012 (4) - 22.10.2024 02:27 [08:27:47]1206 (1) - 0 [08:27:47]OFD Sender: Remove packet 24392 [08:27:47]ProducePacketName [08:27:47]name=ofd_packets/00024392 [08:27:47]NVStorageDeleteData [08:27:48]Write to MH i2c: 01 00 00 9C 05 A1 [08:27:48]Write i2c OK [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: 01 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: 01 07 00 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: 01 07 00 9C 05 00 00 00 00 00 01 0D B6 [08:27:48]RasterBufferAndPrint [08:27:48]line [08:27:48]line [08:27:48]line [08:27:48]line [08:27:48]line [08:27:48]written 0, free lines is 3335 [08:27:48]process_action close_receipt done [08:27:48]requested_data is exist [08:27:48]produce_requested_data [08:27:48]requested_item fm.sn is exist - process it [08:27:48]wFMCommunicate request_size=4 [08:27:48]MH_SAM_APDU [08:27:48]CAPDU: 80 11 00 00 [08:27:48]Write to MH i2c: E2 08 00 A3 05 80 11 00 00 00 00 00 00 22 [08:27:48]Write i2c OK [08:27:48]MH_I2C_Read... [08:27:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:27:48]Read from MH i2c: E2 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 17 00 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 17 00 A3 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6F [08:27:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [08:27:48]wFMCommunicate OK [08:27:48]requested_item fd.num is exist - process it [08:27:48]SAM_PROTO_GetFieldsCounters [08:27:48]wFMCommunicate request_size=4 [08:27:48]MH_SAM_APDU [08:27:48]CAPDU: 80 13 00 00 [08:27:48]Write to MH i2c: E2 08 00 A4 05 80 13 00 00 00 00 00 00 25 [08:27:48]Write i2c OK [08:27:48]MH_I2C_Read... [08:27:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:27:48]Read from MH i2c: E2 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 62 00 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 62 00 A4 05 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 48 5F 00 00 0E 04 04 00 CE 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 D2 [08:27: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 48 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:27:48]wFMCommunicate OK [08:27:48]SAM_PROTO_GetFieldsCounters done [08:27:48]requested_item shift.num is exist - process it [08:27:48]requested_item shift.opened is exist - process it [08:27:48]req_shift_opened [08:27:48]FM_GetShiftState [08:27:48]SAM_PROTO_GetShiftState [08:27:48]wFMCommunicate request_size=4 [08:27:48]MH_SAM_APDU [08:27:48]CAPDU: 80 13 01 00 [08:27:48]Write to MH i2c: E2 08 00 A5 05 80 13 01 00 00 00 00 00 27 [08:27:48]Write i2c OK [08:27:48]MH_I2C_Read... [08:27:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:27:48]Read from MH i2c: E2 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 0E 00 [08:27:48]MH_I2C_Read... [08:27:48]Read from MH i2c: E2 0E 00 A5 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1F [08:27:48]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [08:27:48]wFMCommunicate OK [08:27:48]SAM_PROTO_GetShiftState done [08:27:48]FM_GetShiftState done [08:27:48]req_shift_opened done [08:27:48]requested_item shift.open_date is exist - process it [08:27:48]req_shift_open_date [08:27:48]req_shift_open_date done [08:27:48]produce_requested_data done [08:27:48]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24392,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [08:27:48]process_action_free close_receipt [08:27:48]json_value_free [08:27:48]json_value_free done [08:27:48]process_json_proto returns [08:27:48]Send response to host [08:27:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24392,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [08:27:48]free response buf [08:27:48]execute_script done [08:27:48]execute_script returns [08:27:48]free content buf [08:27:48]Sock 7.Close socket [08:27:48]Sock 7.Thread stoped [08:27:48]OFD Sender: No OFD packet to send [08:27:53]OFD Sender: No OFD packet to send [08:27:58]OFD Sender: No OFD packet to send [08:28:03]OFD Sender: No OFD packet to send [08:28:08]OFD Sender: No OFD packet to send [08:28:13]OFD Sender: No OFD packet to send [08:28:18]OFD Sender: No OFD packet to send [08:28:23]OFD Sender: No OFD packet to send [08:28:28]OFD Sender: No OFD packet to send [08:28:33]OFD Sender: No OFD packet to send [08:28:38]OFD Sender: No OFD packet to send [08:28:43]OFD Sender: No OFD packet to send [08:28:48]OFD Sender: No OFD packet to send [08:28:53]OFD Sender: No OFD packet to send [08:28:58]OFD Sender: No OFD packet to send [08:29:03]OFD Sender: No OFD packet to send [08:29:08]OFD Sender: No OFD packet to send [08:29:13]OFD Sender: No OFD packet to send [08:29:18]OFD Sender: No OFD packet to send [08:29:23]OFD Sender: No OFD packet to send [08:29:28]OFD Sender: No OFD packet to send [08:29:33]OFD Sender: No OFD packet to send [08:29:38]OFD Sender: No OFD packet to send [08:29:43]OFD Sender: No OFD packet to send [08:29:48]OFD Sender: No OFD packet to send [08:29:53]OFD Sender: No OFD packet to send [08:29:58]OFD Sender: No OFD packet to send [08:30:03]OFD Sender: No OFD packet to send [08:30:08]OFD Sender: No OFD packet to send [08:30:13]OFD Sender: No OFD packet to send [08:30:18]OFD Sender: No OFD packet to send [08:30:23]OFD Sender: No OFD packet to send [08:30:28]OFD Sender: No OFD packet to send [08:30:33]OFD Sender: No OFD packet to send [08:30:38]OFD Sender: No OFD packet to send [08:30:43]OFD Sender: No OFD packet to send [08:30:48]OFD Sender: No OFD packet to send [08:30:53]OFD Sender: No OFD packet to send [08:30:58]OFD Sender: No OFD packet to send [08:31:03]OFD Sender: No OFD packet to send [08:31:08]OFD Sender: No OFD packet to send [08:31:13]OFD Sender: No OFD packet to send [08:31:18]OFD Sender: No OFD packet to send [08:31:23]OFD Sender: No OFD packet to send [08:31:28]OFD Sender: No OFD packet to send [08:31:33]OFD Sender: No OFD packet to send [08:31:38]OFD Sender: No OFD packet to send [08:31:43]OFD Sender: No OFD packet to send [08:31:48]OFD Sender: No OFD packet to send [08:31:53]OFD Sender: No OFD packet to send [08:31:58]OFD Sender: No OFD packet to send [08:32:03]OFD Sender: No OFD packet to send [08:32:08]OFD Sender: No OFD packet to send [08:32:13]OFD Sender: No OFD packet to send [08:32:18]OFD Sender: No OFD packet to send [08:32:23]OFD Sender: No OFD packet to send [08:32:28]OFD Sender: No OFD packet to send [08:32:33]OFD Sender: No OFD packet to send [08:32:38]OFD Sender: No OFD packet to send [08:32:43]OFD Sender: No OFD packet to send [08:32:48]OFD Sender: No OFD packet to send [08:32:53]OFD Sender: No OFD packet to send [08:32:58]OFD Sender: No OFD packet to send [08:33:03]OFD Sender: No OFD packet to send [08:33:08]OFD Sender: No OFD packet to send [08:33:13]OFD Sender: No OFD packet to send [08:33:18]OFD Sender: No OFD packet to send [08:33:23]OFD Sender: No OFD packet to send [08:33:28]OFD Sender: No OFD packet to send [08:33:33]OFD Sender: No OFD packet to send [08:33:38]OFD Sender: No OFD packet to send [08:33:43]OFD Sender: No OFD packet to send [08:33:48]OFD Sender: No OFD packet to send [08:33:53]OFD Sender: No OFD packet to send [08:33:58]OFD Sender: No OFD packet to send [08:34:03]OFD Sender: No OFD packet to send [08:34:08]OFD Sender: No OFD packet to send [08:34:13]OFD Sender: No OFD packet to send [08:34:18]OFD Sender: No OFD packet to send [08:34:23]OFD Sender: No OFD packet to send [08:34:28]OFD Sender: No OFD packet to send [08:34:33]OFD Sender: No OFD packet to send [08:34:38]OFD Sender: No OFD packet to send [08:34:43]OFD Sender: No OFD packet to send [08:34:48]OFD Sender: No OFD packet to send [08:34:53]OFD Sender: No OFD packet to send [08:34:58]OFD Sender: No OFD packet to send [08:35:03]OFD Sender: No OFD packet to send [08:35:08]OFD Sender: No OFD packet to send [08:35:13]OFD Sender: No OFD packet to send [08:35:18]OFD Sender: No OFD packet to send [08:35:23]OFD Sender: No OFD packet to send [08:35:28]OFD Sender: No OFD packet to send [08:35:33]OFD Sender: No OFD packet to send [08:35:38]OFD Sender: No OFD packet to send [08:35:43]OFD Sender: No OFD packet to send [08:35:48]OFD Sender: No OFD packet to send [08:35:53]OFD Sender: No OFD packet to send [08:35:58]OFD Sender: No OFD packet to send [08:36:03]OFD Sender: No OFD packet to send [08:36:08]OFD Sender: No OFD packet to send [08:36:13]OFD Sender: No OFD packet to send [08:36:18]OFD Sender: No OFD packet to send [08:36:23]OFD Sender: No OFD packet to send [08:36:28]OFD Sender: No OFD packet to send [08:36:33]OFD Sender: No OFD packet to send [08:36:38]OFD Sender: No OFD packet to send [08:36:43]OFD Sender: No OFD packet to send [08:36:48]OFD Sender: No OFD packet to send [08:36:53]OFD Sender: No OFD packet to send [08:36:58]OFD Sender: No OFD packet to send [08:37:03]OFD Sender: No OFD packet to send [08:37:08]OFD Sender: No OFD packet to send [08:37:13]OFD Sender: No OFD packet to send [08:37:18]OFD Sender: No OFD packet to send [08:37:23]OFD Sender: No OFD packet to send [08:37:28]OFD Sender: No OFD packet to send [08:37:33]OFD Sender: No OFD packet to send [08:37:38]OFD Sender: No OFD packet to send [08:37:43]OFD Sender: No OFD packet to send [08:37:48]OFD Sender: No OFD packet to send [08:37:53]OFD Sender: No OFD packet to send [08:37:58]OFD Sender: No OFD packet to send [08:38:03]OFD Sender: No OFD packet to send [08:38:08]OFD Sender: No OFD packet to send [08:38:13]OFD Sender: No OFD packet to send [08:38:18]OFD Sender: No OFD packet to send [08:38:23]OFD Sender: No OFD packet to send [08:38:28]OFD Sender: No OFD packet to send [08:38:33]OFD Sender: No OFD packet to send [08:38:38]OFD Sender: No OFD packet to send [08:38:43]OFD Sender: No OFD packet to send [08:38:48]OFD Sender: No OFD packet to send [08:38:53]OFD Sender: No OFD packet to send [08:38:58]OFD Sender: No OFD packet to send [08:39:03]OFD Sender: No OFD packet to send [08:39:08]OFD Sender: No OFD packet to send [08:39:13]OFD Sender: No OFD packet to send [08:39:18]OFD Sender: No OFD packet to send [08:39:23]OFD Sender: No OFD packet to send [08:39:29]OFD Sender: No OFD packet to send [08:39:34]OFD Sender: No OFD packet to send [08:39:39]OFD Sender: No OFD packet to send [08:39:44]OFD Sender: No OFD packet to send [08:39:49]OFD Sender: No OFD packet to send [08:39:54]OFD Sender: No OFD packet to send [08:39:59]OFD Sender: No OFD packet to send [08:40:04]OFD Sender: No OFD packet to send [08:40:09]OFD Sender: No OFD packet to send [08:40:14]OFD Sender: No OFD packet to send [08:40:19]OFD Sender: No OFD packet to send [08:40:24]OFD Sender: No OFD packet to send [08:40:29]OFD Sender: No OFD packet to send [08:40:34]OFD Sender: No OFD packet to send [08:40:39]OFD Sender: No OFD packet to send [08:40:44]OFD Sender: No OFD packet to send [08:40:49]OFD Sender: No OFD packet to send [08:40:54]OFD Sender: No OFD packet to send [08:40:59]OFD Sender: No OFD packet to send [08:41:04]OFD Sender: No OFD packet to send [08:41:09]OFD Sender: No OFD packet to send [08:41:14]OFD Sender: No OFD packet to send [08:41:19]OFD Sender: No OFD packet to send [08:41:24]OFD Sender: No OFD packet to send [08:41:29]OFD Sender: No OFD packet to send [08:41:34]OFD Sender: No OFD packet to send [08:41:39]OFD Sender: No OFD packet to send [08:41:44]OFD Sender: No OFD packet to send [08:41:49]OFD Sender: No OFD packet to send [08:41:54]OFD Sender: No OFD packet to send [08:41:59]OFD Sender: No OFD packet to send [08:42:04]OFD Sender: No OFD packet to send [08:42:09]OFD Sender: No OFD packet to send [08:42:14]OFD Sender: No OFD packet to send [08:42:19]OFD Sender: No OFD packet to send [08:42:24]OFD Sender: No OFD packet to send [08:42:29]OFD Sender: No OFD packet to send [08:42:34]OFD Sender: No OFD packet to send [08:42:39]OFD Sender: No OFD packet to send [08:42:44]OFD Sender: No OFD packet to send [08:42:49]OFD Sender: No OFD packet to send [08:42:54]OFD Sender: No OFD packet to send [08:42:59]OFD Sender: No OFD packet to send [08:43:04]OFD Sender: No OFD packet to send [08:43:09]OFD Sender: No OFD packet to send [08:43:14]OFD Sender: No OFD packet to send [08:43:19]OFD Sender: No OFD packet to send [08:43:24]OFD Sender: No OFD packet to send [08:43:29]OFD Sender: No OFD packet to send [08:43:34]OFD Sender: No OFD packet to send [08:43:39]OFD Sender: No OFD packet to send [08:43:44]OFD Sender: No OFD packet to send [08:43:49]OFD Sender: No OFD packet to send [08:43:54]OFD Sender: No OFD packet to send [08:43:59]OFD Sender: No OFD packet to send [08:44:04]OFD Sender: No OFD packet to send [08:44:09]OFD Sender: No OFD packet to send [08:44:14]OFD Sender: No OFD packet to send [08:44:19]OFD Sender: No OFD packet to send [08:44:24]OFD Sender: No OFD packet to send [08:44:29]OFD Sender: No OFD packet to send [08:44:34]OFD Sender: No OFD packet to send [08:44:39]OFD Sender: No OFD packet to send [08:44:44]OFD Sender: No OFD packet to send [08:44:49]OFD Sender: No OFD packet to send [08:44:54]OFD Sender: No OFD packet to send [08:44:59]OFD Sender: No OFD packet to send [08:45:04]OFD Sender: No OFD packet to send [08:45:09]OFD Sender: No OFD packet to send [08:45: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:44]OFD Sender: No OFD packet to send [08:55:49]OFD Sender: No OFD packet to send [08:55:54]OFD Sender: No OFD packet to send [08:55:59]OFD Sender: No OFD packet to send [08:56:04]OFD Sender: No OFD packet to send [08:56:09]OFD Sender: No OFD packet to send [08:56:14]OFD Sender: No OFD packet to send [08:56:19]OFD Sender: No OFD packet to send [08:56:24]OFD Sender: No OFD packet to send [08:56:29]OFD Sender: No OFD packet to send [08:56:34]OFD Sender: No OFD packet to send [08:56:39]OFD Sender: No OFD packet to send [08:56:44]OFD Sender: No OFD packet to send [08:56:49]OFD Sender: No OFD packet to send [08:56:54]OFD Sender: No OFD packet to send [08:56:59]OFD Sender: No OFD packet to send [08:57:04]OFD Sender: No OFD packet to send [08:57:09]OFD Sender: No OFD packet to send [08:57:14]OFD Sender: No OFD packet to send [08:57:19]OFD Sender: No OFD packet to send [08:57:24]OFD Sender: No OFD packet to send [08:57:29]OFD Sender: No OFD packet to send [08:57:34]OFD Sender: No OFD packet to send [08:57:39]OFD Sender: No OFD packet to send [08:57:44]OFD Sender: No OFD packet to send [08:57:49]OFD Sender: No OFD packet to send [08:57:54]OFD Sender: No OFD packet to send [08:57:59]OFD Sender: No OFD packet to send [08:58:04]OFD Sender: No OFD packet to send [08:58:09]OFD Sender: No OFD packet to send [08:58:14]OFD Sender: No OFD packet to send [08:58:19]OFD Sender: No OFD packet to send [08:58:24]OFD Sender: No OFD packet to send [08:58:29]OFD Sender: No OFD packet to send [08:58:34]OFD Sender: No OFD packet to send [08:58:39]OFD Sender: No OFD packet to send [08:58:44]OFD Sender: No OFD packet to send [08:58:49]OFD Sender: No OFD packet to send [08:58:54]OFD Sender: No OFD packet to send [08:58:59]OFD Sender: No OFD packet to send [08:59:04]OFD Sender: No OFD packet to send [08:59:09]OFD Sender: No OFD packet to send [08:59:14]OFD Sender: No OFD packet to send [08:59:19]OFD Sender: No OFD packet to send [08:59:24]OFD Sender: No OFD packet to send [08:59:29]OFD Sender: No OFD packet to send [08:59:34]OFD Sender: No OFD packet to send [08:59:39]OFD Sender: No OFD packet to send [08:59:44]OFD Sender: No OFD packet to send [08:59:49]OFD Sender: No OFD packet to send [08:59:54]OFD Sender: No OFD packet to send [08:59:59]OFD Sender: No OFD packet to send [09:00:04]OFD Sender: No OFD packet to send [09:00:09]OFD Sender: No OFD packet to send [09:00:14]OFD Sender: No OFD packet to send [09:00:19]OFD Sender: No OFD packet to send [09:00:24]OFD Sender: No OFD packet to send [09:00:29]OFD Sender: No OFD packet to send [09:00:34]OFD Sender: No OFD packet to send [09:00:39]OFD Sender: No OFD packet to send [09:00:44]OFD Sender: No OFD packet to send [09:00:49]OFD Sender: No OFD packet to send [09:00:54]OFD Sender: No OFD packet to send [09:00:59]OFD Sender: No OFD packet to send [09:01:04]OFD Sender: No OFD packet to send [09:01:09]OFD Sender: No OFD packet to send [09:01:14]OFD Sender: No OFD packet to send [09:01:20]OFD Sender: No OFD packet to send [09:01:25]OFD Sender: No OFD packet to send [09:01:30]OFD Sender: No OFD packet to send [09:01:35]OFD Sender: No OFD packet to send [09:01:40]OFD Sender: No OFD packet to send [09:01:45]OFD Sender: No OFD packet to send [09:01:49]accept exits with 9 [09:01:49]New connection [09:01:49]New thread 3067452772 created [09:01:49]Thread 3067596132 joined [09:01:49]Waiting for new connection... [09:01:49] Sock 9.Parse request [09:01:49]Sock 9.Check first char [09:01:49]Sock 9.First char is OK [09:01:49]request: POST /json_proto HTTP/1.0 [09:01:49]Method: POST [09:01:49]URL: /json_proto [09:01:49]Method is POST - this is cgi request [09:01:49]url: /json_proto [09:01:49]query_string will be loaded in cgi processing [09:01:49]execute_cgi json_proto POST (null) [09:01:49]execute_cgi path=json_proto method=POST [09:01:49]POST find Content-Length [09:01:49]Host: 172.17.50.4:8080 [09:01:49]Content-Length: 622 [09:01:49]Content-Type: application/json [09:01:49] [09:01:49]POST finish read [09:01:49]Found Content-Length = 622 [09:01:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134912", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:49]execute_script... [09:01:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134912", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:01:49]POST & json_proto [09:01:49]process_json_proto [09:01:49]json parsed OK: [09:01:49]protocol is kg_v1.0 [09:01:49]action value=close_receipt [09:01:49]process_action close_receipt [09:01:49]cmd_close_receipt [09:01:49]MH_GetDate [09:01:49]Write to MH i2c: F0 00 00 A6 05 9A [09:01:49]Write i2c OK [09:01:49]MH_I2C_Read... [09:01:49]Read from MH i2c: F0 [09:01:49]MH_I2C_Read... [09:01:49]Read from MH i2c: F0 09 00 [09:01:49]MH_I2C_Read... [09:01:49]Read from MH i2c: F0 09 00 A6 05 00 FF 69 17 67 3B 12 16 67 53 [09:01:49]GetLastDocTimeStamp 1729585668 [09:01:49]current date 1729587711 [09:01:49]FM_GetShiftState [09:01:49]SAM_PROTO_GetShiftState [09:01:49]wFMCommunicate request_size=4 [09:01:49]MH_SAM_APDU [09:01:49]CAPDU: 80 13 01 00 [09:01:49]Write to MH i2c: E2 08 00 A7 05 80 13 01 00 00 00 00 00 29 [09:01:49]Write i2c OK [09:01:49]MH_I2C_Read... [09:01:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:49]Read from MH i2c: E2 [09:01:49]MH_I2C_Read... [09:01:49]Read from MH i2c: E2 0E 00 [09:01:49]MH_I2C_Read... [09:01:49]Read from MH i2c: E2 0E 00 A7 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 21 [09:01:49]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:01:49]wFMCommunicate OK [09:01:49]SAM_PROTO_GetShiftState done [09:01:49]FM_GetShiftState done [09:01:49]opened in 1729555332 [09:01:49]opened+sec_in_day 1729641732 [09:01:49]quantity*price = 15900 [09:01:49]sum+1 = 15901 [09:01:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 12 22.10.2024 09:01 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24393 ФПД: 158563006784303 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090151&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24393&fm=158563006784303&tin=02508201610067®Number=0000000000098120&sum=15900 0 [09:01:50]StoreToDocumentArchive [09:01:50]shift 462 fd 24393 [09:01:50]save to /storage/0462/doc_00024393 [09:01:50]save last doc name /storage/0462/doc_00024393 to /storage/kkm_last_doc_name [09:01:50]save OK [09:01:50]Clear old archive folders... [09:01:50]ProcessDocumentItem done err = 0, tmpTLVsize=274 [09:01:50]tlvbuf is 00D70600 [09:01:50]SAM_PROTO_ClearQueue [09:01:50]wFMCommunicate request_size=4 [09:01:50]MH_SAM_APDU [09:01:50]CAPDU: 80 09 00 00 [09:01:50]Write to MH i2c: E2 08 00 B4 05 80 09 00 00 00 00 00 00 2B [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 B4 05 00 90 00 2D [09:01:50]RAPDU: 90 00 [09:01:50]wFMCommunicate OK [09:01:50]SAM_PROTO_ClearQueue done [09:01:50]KKMCreateOFDPacket [09:01:50]OFDProtocolAddRootSTLVToBuf [09:01:50]FM_MakeSignedData [09:01:50]FM_MakeSignedData [09:01:50]SAM_PROTO_SignData [09:01:50]wFMCommunicate request_size=4 [09:01:50]MH_SAM_APDU [09:01:50]CAPDU: 80 0D 01 02 [09:01:50]Write to MH i2c: E2 08 00 B5 05 80 0D 01 02 00 00 00 00 33 [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 B5 05 00 90 00 2E [09:01:50]RAPDU: 90 00 [09:01:50]wFMCommunicate OK [09:01:50]wFMCommunicate request_size=255 [09:01:50]MH_SAM_APDU [09:01:50]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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 69 17 67 0E 04 04 00 CE 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 [09:01:50]Write to MH i2c: E2 02 01 B6 05 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 69 17 67 0E 04 04 00 CE 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 13 [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 B6 05 00 90 00 2F [09:01:50]RAPDU: 90 00 [09:01:50]wFMCommunicate OK [09:01:50]wFMCommunicate request_size=33 [09:01:50]MH_SAM_APDU [09:01:50]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 49 5F 00 00 35 04 06 00 90 36 53 B1 A3 2F [09:01:50]Write to MH i2c: E2 24 00 B7 05 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 49 5F 00 00 35 04 06 00 90 36 53 B1 A3 2F 00 00 03 [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 03 00 B7 05 00 90 00 30 [09:01:50]RAPDU: 90 00 [09:01:50]wFMCommunicate OK [09:01:50]wFMCommunicate request_size=4 [09:01:50]MH_SAM_APDU [09:01:50]CAPDU: 80 0D 03 02 [09:01:50]Write to MH i2c: E2 08 00 B8 05 80 0D 03 02 00 00 00 00 38 [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 0B 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 0B 00 B8 05 00 F8 72 8F 6C 72 E7 1E 65 90 00 7A [09:01:50]RAPDU: F8 72 8F 6C 72 E7 1E 65 90 00 [09:01:50]wFMCommunicate OK [09:01:50]SAM_PROTO_SignData done [09:01:50]FM_MakeSignedData done [09:01:50]CreateOFDProtocolMessage [09:01:50]wFMCommunicate request_size=4 [09:01:50]MH_SAM_APDU [09:01:50]CAPDU: 80 11 00 00 [09:01:50]Write to MH i2c: E2 08 00 B9 05 80 11 00 00 00 00 00 00 38 [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:50]Read from MH i2c: E2 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 17 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: E2 17 00 B9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 85 [09:01: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:01:50]wFMCommunicate OK [09:01:50]CreateOFDProtocolMessage done [09:01:50]OFDSenderStorePacket 24393 [09:01:50]StoreOFDPacket docnum=24393 [09:01: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 26 01 00 00 AD 82 1E 01 A7 73 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 69 17 67 0E 04 04 00 CE 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 49 5F 00 00 35 04 06 00 90 36 53 B1 A3 2F F8 72 8F 6C 72 E7 1E 65 [09:01:50]CheckFolder [09:01:50]dirname=/storage/ofd_packets [09:01:50]CheckFolder done [09:01:50]ProducePacketName [09:01:50]name=ofd_packets/00024393 [09:01:50]NVStorageSaveData ofd_packets/00024393 [09:01:50]File name is /storage/ofd_packets/00024393 [09:01:50]Write 324 bytes [09:01:50]NVStorageSaveData done [09:01:50]OFDSenderStorePacket done [09:01:50]KKMCreateOFDPacket done [09:01:50]NVStorageSaveData kkm_last_timestamp [09:01:50]File name is /storage/kkm_last_timestamp [09:01:50]Write 4 bytes [09:01:50]NVStorageSaveData done [09:01:50]ExternCall_PrintAddStr [09:01:50]wPrintStart [09:01:50]Write to MH i2c: 01 00 00 BA 05 BF [09:01:50]Write i2c OK [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: 01 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: 01 07 00 [09:01:50]MH_I2C_Read... [09:01:50]Read from MH i2c: 01 07 00 BA 05 00 00 00 00 00 FF 0F D4 [09:01:50]RasterBufferAndPrint [09:01:50]line Счет N : (3)134912 [09:01:50]line ИНН: 02508201610067 [09:01:50]line Контрольно-Кассовый Чек [09:01:50]line ПРОДАЖА [09:01:50]line Товар: 4640030091645 [09:01:50]line Сигареты ESSE Exchange M [09:01:50]line 1.000 * 159.00 [09:01:50]line = 159.00 [09:01:50]line НДС 12% НСП 1% [09:01:50]line > о реализуемом товаре [09:01:50]line ИТОГО: 159.00 [09:01:50]line НСП 1% : 1.41 [09:01:50]line НДС 12% : 16.88 [09:01:50]line Наличными: 159.00 [09:01:50]line Безнал.: 0.00 [09:01:50]line Место: АЗС № 85 "Партнер Нефть" [09:01:50]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:01:50]line СНО: Общий режим [09:01:50]line Чек 12 22.10.2024 09:01 [09:01:50]line Смена: 462 ФФД: 1.0 [09:01:50]line ЗНМ: 0300000166 [09:01:50]line РНМ: 0000000000098120 [09:01:50]line Версия ККМ: 001 [09:01:50]line ФМ: 0000000000965420 [09:01:50]line ФД: 24393 [09:01:50]line ФПД: 158563006784303 [09:01:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090151&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24393&fm=158563006784303&tin=02508201610067®Number=0000000000098120&sum=15900 [09:01:51]line 0 [09:01:51]OFD Sender: Processing packet 24393 [packets to send 5, broken 4] [09:01:51]ProducePacketName [09:01:51]name=ofd_packets/00024393 [09:01:51]OFD Sender: To server: pG, [09:01:51]CommunicateWithHost lk.salyk.kg:30040 [09:01:51]ConnectInit lk.salyk.kg [09:01:51]written 0, free lines is 4095 [09:01:51]Connected sock=10 [09:01: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 26 01 00 00 AD 82 1E 01 A7 73 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 FF 69 17 67 0E 04 04 00 CE 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 49 5F 00 00 35 04 06 00 90 36 53 B1 A3 2F F8 72 8F 6C 72 E7 1E 65 [09:01: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 B0 9B 47 00 4F 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 49 5F 00 00 F4 03 04 00 A4 15 17 67 B6 04 01 00 00 9D E3 0A 7B 12 8A 85 36 [09:01:51]CommunicateWithHost err = 0 [09:01:51]CheckOFDResponse [09:01:51]1017 (14) - 77093643461234 [09:01:51]1041 (16) - 0000000000965420 [09:01:51]1040 (4) - 24393 [09:01:51]1012 (4) - 22.10.2024 03:01 [09:01:51]1206 (1) - 0 [09:01:51]OFD Sender: Remove packet 24393 [09:01:51]ProducePacketName [09:01:51]name=ofd_packets/00024393 [09:01:51]NVStorageDeleteData [09:01:51]Write to MH i2c: 01 00 00 E2 05 E7 [09:01:51]Write i2c OK [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: 01 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: 01 07 00 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: 01 07 00 E2 05 00 00 00 00 00 20 0D 1B [09:01:51]RasterBufferAndPrint [09:01:51]line [09:01:51]line [09:01:51]line [09:01:51]line [09:01:51]line [09:01:51]written 0, free lines is 3366 [09:01:51]process_action close_receipt done [09:01:51]requested_data is exist [09:01:51]produce_requested_data [09:01:51]requested_item fm.sn is exist - process it [09:01:51]wFMCommunicate request_size=4 [09:01:51]MH_SAM_APDU [09:01:51]CAPDU: 80 11 00 00 [09:01:51]Write to MH i2c: E2 08 00 E9 05 80 11 00 00 00 00 00 00 68 [09:01:51]Write i2c OK [09:01:51]MH_I2C_Read... [09:01:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:01:51]Read from MH i2c: E2 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 17 00 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 17 00 E9 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B5 [09:01:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:01:51]wFMCommunicate OK [09:01:51]requested_item fd.num is exist - process it [09:01:51]SAM_PROTO_GetFieldsCounters [09:01:51]wFMCommunicate request_size=4 [09:01:51]MH_SAM_APDU [09:01:51]CAPDU: 80 13 00 00 [09:01:51]Write to MH i2c: E2 08 00 EA 05 80 13 00 00 00 00 00 00 6B [09:01:51]Write i2c OK [09:01:51]MH_I2C_Read... [09:01:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:01:51]Read from MH i2c: E2 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 62 00 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 62 00 EA 05 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 49 5F 00 00 0E 04 04 00 CE 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 1C [09:01: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 49 5F 00 00 0E 04 04 00 CE 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 [09:01:51]wFMCommunicate OK [09:01:51]SAM_PROTO_GetFieldsCounters done [09:01:51]requested_item shift.num is exist - process it [09:01:51]requested_item shift.opened is exist - process it [09:01:51]req_shift_opened [09:01:51]FM_GetShiftState [09:01:51]SAM_PROTO_GetShiftState [09:01:51]wFMCommunicate request_size=4 [09:01:51]MH_SAM_APDU [09:01:51]CAPDU: 80 13 01 00 [09:01:51]Write to MH i2c: E2 08 00 EB 05 80 13 01 00 00 00 00 00 6D [09:01:51]Write i2c OK [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 [09:01:51]MH_I2C_Read... [09:01:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:01:51]Read from MH i2c: E2 0E 00 [09:01:51]MH_I2C_Read... [09:01:51]Read from MH i2c: E2 0E 00 EB 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 65 [09:01:51]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:01:51]wFMCommunicate OK [09:01:51]SAM_PROTO_GetShiftState done [09:01:51]FM_GetShiftState done [09:01:51]req_shift_opened done [09:01:51]requested_item shift.open_date is exist - process it [09:01:51]req_shift_open_date [09:01:51]req_shift_open_date done [09:01:51]produce_requested_data done [09:01:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24393,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:01:51]process_action_free close_receipt [09:01:51]json_value_free [09:01:51]json_value_free done [09:01:51]process_json_proto returns [09:01:51]Send response to host [09:01:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24393,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:01:51]free response buf [09:01:51]execute_script done [09:01:51]execute_script returns [09:01:51]free content buf [09:01:51]Sock 9.Close socket [09:01:51]Sock 9.Thread stoped [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:42]OFD Sender: No OFD packet to send [09:03:47]OFD Sender: No OFD packet to send [09:03:52]OFD Sender: No OFD packet to send [09:03:57]OFD Sender: No OFD packet to send [09:04:02]OFD Sender: No OFD packet to send [09:04:07]OFD Sender: No OFD packet to send [09:04:12]OFD Sender: No OFD packet to send [09:04:17]OFD Sender: No OFD packet to send [09:04:22]OFD Sender: No OFD packet to send [09:04:27]OFD Sender: No OFD packet to send [09:04:32]OFD Sender: No OFD packet to send [09:04:37]OFD Sender: No OFD packet to send [09:04:42]OFD Sender: No OFD packet to send [09:04:47]OFD Sender: No OFD packet to send [09:04:52]OFD Sender: No OFD packet to send [09:04:57]OFD Sender: No OFD packet to send [09:05:02]OFD Sender: No OFD packet to send [09:05:07]OFD Sender: No OFD packet to send [09:05:12]OFD Sender: No OFD packet to send [09:05:17]OFD Sender: No OFD packet to send [09:05:22]OFD Sender: No OFD packet to send [09:05:27]OFD Sender: No OFD packet to send [09:05:32]OFD Sender: No OFD packet to send [09:05:37]OFD Sender: No OFD packet to send [09:05:42]OFD Sender: No OFD packet to send [09:05:47]OFD Sender: No OFD packet to send [09:05:52]OFD Sender: No OFD packet to send [09:05:57]OFD Sender: No OFD packet to send [09:06:02]OFD Sender: No OFD packet to send [09:06:07]OFD Sender: No OFD packet to send [09:06:12]OFD Sender: No OFD packet to send [09:06:17]OFD Sender: No OFD packet to send [09:06:22]OFD Sender: No OFD packet to send [09:06:27]OFD Sender: No OFD packet to send [09:06:32]OFD Sender: No OFD packet to send [09:06:37]OFD Sender: No OFD packet to send [09:06:42]OFD Sender: No OFD packet to send [09:06:47]OFD Sender: No OFD packet to send [09:06:52]OFD Sender: No OFD packet to send [09:06:57]OFD Sender: No OFD packet to send [09:07:02]OFD Sender: No OFD packet to send [09:07:07]OFD Sender: No OFD packet to send [09:07:12]OFD Sender: No OFD packet to send [09:07:17]OFD Sender: No OFD packet to send [09:07:22]OFD Sender: No OFD packet to send [09:07:27]OFD Sender: No OFD packet to send [09:07:32]OFD Sender: No OFD packet to send [09:07:37]OFD Sender: No OFD packet to send [09:07:42]OFD Sender: No OFD packet to send [09:07:47]OFD Sender: No OFD packet to send [09:07:52]OFD Sender: No OFD packet to send [09:07:57]OFD Sender: No OFD packet to send [09:08:02]OFD Sender: No OFD packet to send [09:08:07]OFD Sender: No OFD packet to send [09:08:12]OFD Sender: No OFD packet to send [09:08:17]OFD Sender: No OFD packet to send [09:08:22]accept exits with 7 [09:08:22]New connection [09:08:22]New thread 3067596132 created [09:08:22]Thread 3067452772 joined [09:08:22]Waiting for new connection... [09:08:22] Sock 7.Parse request [09:08:22]Sock 7.Check first char [09:08:22]Sock 7.First char is OK [09:08:22]request: POST /json_proto HTTP/1.0 [09:08:22]Method: POST [09:08:22]URL: /json_proto [09:08:22]Method is POST - this is cgi request [09:08:22]url: /json_proto [09:08:22]query_string will be loaded in cgi processing [09:08:22]execute_cgi json_proto POST (null) [09:08:22]execute_cgi path=json_proto method=POST [09:08:22]POST find Content-Length [09:08:22]Host: 172.17.50.4:8080 [09:08:22]Content-Length: 1037 [09:08:22]Content-Type: application/json [09:08:22] [09:08:22]POST finish read [09:08:22]Found Content-Length = 1037 [09:08:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134913", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:22]execute_script... [09:08: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)134913", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "90448300", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red Bull 0,355\u043B", "price" : 265.00, "quantity" : 1.000, "sum" : 265.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 360.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:22]POST & json_proto [09:08:22]process_json_proto [09:08:22]json parsed OK: [09:08:22]protocol is kg_v1.0 [09:08:22]action value=close_receipt [09:08:22]process_action close_receipt [09:08:22]cmd_close_receipt [09:08:22]MH_GetDate [09:08:22]Write to MH i2c: F0 00 00 EC 05 E0 [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: F0 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: F0 09 00 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: F0 09 00 EC 05 00 88 6B 17 67 3B 12 16 67 24 [09:08:22]GetLastDocTimeStamp 1729587711 [09:08:22]current date 1729588104 [09:08:22]FM_GetShiftState [09:08:22]SAM_PROTO_GetShiftState [09:08:22]wFMCommunicate request_size=4 [09:08:22]MH_SAM_APDU [09:08:22]CAPDU: 80 13 01 00 [09:08:22]Write to MH i2c: E2 08 00 ED 05 80 13 01 00 00 00 00 00 6F [09:08:22]Write i2c OK [09:08:22]MH_I2C_Read... [09:08:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:22]Read from MH i2c: E2 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: E2 0E 00 [09:08:22]MH_I2C_Read... [09:08:22]Read from MH i2c: E2 0E 00 ED 05 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 67 [09:08:22]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:08:22]wFMCommunicate OK [09:08:22]SAM_PROTO_GetShiftState done [09:08:22]FM_GetShiftState done [09:08:22]opened in 1729555332 [09:08:22]opened+sec_in_day 1729641732 [09:08:22]quantity*price = 9500 [09:08:22]sum+1 = 9501 [09:08:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 90448300 Энерг напиток Red Bull 0,355л 1.000 * 265.00 = 265.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 360.00 НСП 1% : 3.18 НДС 12% : 38.23 Наличными: 0.00 Безнал.: 360.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 13 22.10.2024 09:08 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24394 ФПД: 226234195952331 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090825&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24394&fm=226234195952331&tin=02508201610067®Number=0000000000098120&sum=36000 0 [09:08:23]StoreToDocumentArchive [09:08:23]shift 462 fd 24394 [09:08:23]save to /storage/0462/doc_00024394 [09:08:23]save last doc name /storage/0462/doc_00024394 to /storage/kkm_last_doc_name [09:08:23]save OK [09:08:23]Clear old archive folders... [09:08:23]ProcessDocumentItem done err = 0, tmpTLVsize=390 [09:08:23]tlvbuf is B6FF5230 [09:08:23]SAM_PROTO_ClearQueue [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 09 00 00 [09:08:23]Write to MH i2c: E2 08 00 FA 05 80 09 00 00 00 00 00 00 71 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 FA 05 00 90 00 73 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]SAM_PROTO_ClearQueue done [09:08:23]KKMCreateOFDPacket [09:08:23]OFDProtocolAddRootSTLVToBuf [09:08:23]FM_MakeSignedData [09:08:23]FM_MakeSignedData [09:08:23]SAM_PROTO_SignData [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 01 02 [09:08:23]Write to MH i2c: E2 08 00 FB 05 80 0D 01 02 00 00 00 00 79 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 FB 05 00 90 00 74 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=255 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [09:08:23]Write to MH i2c: E2 02 01 FC 05 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 E4 [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 FC 05 00 90 00 75 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=149 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 89 6B 17 67 0E 04 04 00 CE 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 4A 5F 00 00 35 04 06 00 CD C2 40 E2 C2 CB [09:08:23]Write to MH i2c: E2 98 00 FD 05 80 0D 02 02 90 00 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 89 6B 17 67 0E 04 04 00 CE 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 4A 5F 00 00 35 04 06 00 CD C2 40 E2 C2 CB 00 00 5C [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 03 00 FD 05 00 90 00 76 [09:08:23]RAPDU: 90 00 [09:08:23]wFMCommunicate OK [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 0D 03 02 [09:08:23]Write to MH i2c: E2 08 00 FE 05 80 0D 03 02 00 00 00 00 7E [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:23]Read from MH i2c: E2 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0B 00 [09:08:23]MH_I2C_Read... [09:08:23]Read from MH i2c: E2 0B 00 FE 05 00 A7 A5 0C 38 9F 57 9C C7 90 00 68 [09:08:23]RAPDU: A7 A5 0C 38 9F 57 9C C7 90 00 [09:08:23]wFMCommunicate OK [09:08:23]SAM_PROTO_SignData done [09:08:23]FM_MakeSignedData done [09:08:23]CreateOFDProtocolMessage [09:08:23]wFMCommunicate request_size=4 [09:08:23]MH_SAM_APDU [09:08:23]CAPDU: 80 11 00 00 [09:08:23]Write to MH i2c: E2 08 00 FF 05 80 11 00 00 00 00 00 00 7E [09:08:23]Write i2c OK [09:08:23]MH_I2C_Read... [09:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:24]Read from MH i2c: E2 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: E2 17 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: E2 17 00 FF 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CB [09:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:08:24]wFMCommunicate OK [09:08:24]CreateOFDProtocolMessage done [09:08:24]OFDSenderStorePacket 24394 [09:08:24]StoreOFDPacket docnum=24394 [09:08: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 9A 01 00 00 0B DA 92 01 B6 ED 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 89 6B 17 67 0E 04 04 00 CE 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 4A 5F 00 00 35 04 06 00 CD C2 40 E2 C2 CB A7 A5 0C 38 9F 57 9C C7 [09:08:24]CheckFolder [09:08:24]dirname=/storage/ofd_packets [09:08:24]CheckFolder done [09:08:24]ProducePacketName [09:08:24]name=ofd_packets/00024394 [09:08:24]NVStorageSaveData ofd_packets/00024394 [09:08:24]File name is /storage/ofd_packets/00024394 [09:08:24]Write 440 bytes [09:08:24]NVStorageSaveData done [09:08:24]OFDSenderStorePacket done [09:08:24]KKMCreateOFDPacket done [09:08:24]NVStorageSaveData kkm_last_timestamp [09:08:24]File name is /storage/kkm_last_timestamp [09:08:24]Write 4 bytes [09:08:24]NVStorageSaveData done [09:08:24]ExternCall_PrintAddStr [09:08:24]wPrintStart [09:08:24]Write to MH i2c: 01 00 00 00 06 06 [09:08:24]OFD Sender: Processing packet 24394 [packets to send 5, broken 4] [09:08:24]ProducePacketName [09:08:24]name=ofd_packets/00024394 [09:08:24]OFD Sender: To server: pG, [09:08:24]CommunicateWithHost lk.salyk.kg:30040 [09:08:24]Write i2c OK [09:08:24]ConnectInit lk.salyk.kg [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 00 06 00 00 00 00 00 FF 0F 1B [09:08:24]RasterBufferAndPrint [09:08:24]line Счет N : (3)134913 [09:08:24]line ИНН: 02508201610067 [09:08:24]line Контрольно-Кассовый Чек [09:08:24]line ПРОДАЖА [09:08:24]line Товар: 4700000483259 [09:08:24]line Напиток Nitro Fresh Мохито [09:08:24]line 1.000 * 95.00 [09:08:24]line = 95.00 [09:08:24]line НДС 12% НСП 1% [09:08:24]line > о реализуемом товаре [09:08:24]line Товар: 90448300 [09:08:24]line Энерг напиток Red Bull 0,355л [09:08:24]line 1.000 * 265.00 [09:08:24]line = 265.00 [09:08:24]line НДС 12% НСП 1% [09:08:24]line > о реализуемом товаре [09:08:24]line ИТОГО: 360.00 [09:08:24]line НСП 1% : 3.18 [09:08:24]line НДС 12% : 38.23 [09:08:24]line Наличными: 0.00 [09:08:24]line Безнал.: 360.00 [09:08:24]line Место: АЗС № 85 "Партнер Нефть" [09:08:24]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:08:24]line СНО: Общий режим [09:08:24]line Чек 13 22.10.2024 09:08 [09:08:24]line Смена: 462 ФФД: 1.0 [09:08:24]line ЗНМ: 0300000166 [09:08:24]line РНМ: 0000000000098120 [09:08:24]line Версия ККМ: 001 [09:08:24]line Платежная система: Mbank [09:08:24]line ФМ: 0000000000965420 [09:08:24]line ФД: 24394 [09:08:24]line ФПД: 226234195952331 [09:08:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090825&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24394&fm=226234195952331&tin=02508201610067®Number=0000000000098120&sum=36000 [09:08:24]line 0 [09:08:24]written 0, free lines is 4095 [09:08:24]Connected sock=10 [09:08:24]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 9A 01 00 00 0B DA 92 01 B6 ED 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 8C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 0E 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 8C 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 89 6B 17 67 0E 04 04 00 CE 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 4A 5F 00 00 35 04 06 00 CD C2 40 E2 C2 CB A7 A5 0C 38 9F 57 9C C7 [09:08:24]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 8B CF 47 00 73 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 4A 5F 00 00 F4 03 04 00 2D 17 17 67 B6 04 01 00 00 F3 FA 6B 5E F3 3E 00 4B [09:08:24]CommunicateWithHost err = 0 [09:08:24]CheckOFDResponse [09:08:24]1017 (14) - 77093643461234 [09:08:24]1041 (16) - 0000000000965420 [09:08:24]1040 (4) - 24394 [09:08:24]1012 (4) - 22.10.2024 03:08 [09:08:24]1206 (1) - 0 [09:08:24]OFD Sender: Remove packet 24394 [09:08:24]ProducePacketName [09:08:24]name=ofd_packets/00024394 [09:08:24]NVStorageDeleteData [09:08:24]Write to MH i2c: 01 00 00 2F 06 35 [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: 01 07 00 2F 06 00 00 00 00 00 E3 0C 2B [09:08:24]RasterBufferAndPrint [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]line [09:08:24]written 0, free lines is 3305 [09:08:24]process_action close_receipt done [09:08:24]requested_data is exist [09:08:24]produce_requested_data [09:08:24]requested_item fm.sn is exist - process it [09:08:24]wFMCommunicate request_size=4 [09:08:24]MH_SAM_APDU [09:08:24]CAPDU: 80 11 00 00 [09:08:24]Write to MH i2c: E2 08 00 36 06 80 11 00 00 00 00 00 00 B6 [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:24]Read from MH i2c: E2 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: E2 17 00 [09:08:24]MH_I2C_Read... [09:08:24]Read from MH i2c: E2 17 00 36 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 03 [09:08:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:08:24]wFMCommunicate OK [09:08:24]requested_item fd.num is exist - process it [09:08:24]SAM_PROTO_GetFieldsCounters [09:08:24]wFMCommunicate request_size=4 [09:08:24]MH_SAM_APDU [09:08:24]CAPDU: 80 13 00 00 [09:08:24]Write to MH i2c: E2 08 00 37 06 80 13 00 00 00 00 00 00 B9 [09:08:24]Write i2c OK [09:08:24]MH_I2C_Read... [09:08:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:25]Read from MH i2c: E2 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 62 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 62 00 37 06 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 4A 5F 00 00 0E 04 04 00 CE 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 6E [09:08: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 4A 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:25]wFMCommunicate OK [09:08:25]SAM_PROTO_GetFieldsCounters done [09:08:25]requested_item shift.num is exist - process it [09:08:25]requested_item shift.opened is exist - process it [09:08:25]req_shift_opened [09:08:25]FM_GetShiftState [09:08:25]SAM_PROTO_GetShiftState [09:08:25]wFMCommunicate request_size=4 [09:08:25]MH_SAM_APDU [09:08:25]CAPDU: 80 13 01 00 [09:08:25]Write to MH i2c: E2 08 00 38 06 80 13 01 00 00 00 00 00 BB [09:08:25]Write i2c OK [09:08:25]MH_I2C_Read... [09:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:25]Read from MH i2c: E2 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 0E 00 [09:08:25]MH_I2C_Read... [09:08:25]Read from MH i2c: E2 0E 00 38 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B3 [09:08:25]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:08:25]wFMCommunicate OK [09:08:25]SAM_PROTO_GetShiftState done [09:08:25]FM_GetShiftState done [09:08:25]req_shift_opened done [09:08:25]requested_item shift.open_date is exist - process it [09:08:25]req_shift_open_date [09:08:25]req_shift_open_date done [09:08:25]produce_requested_data done [09:08:25]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24394,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:08:25]process_action_free close_receipt [09:08:25]json_value_free [09:08:25]json_value_free done [09:08:25]process_json_proto returns [09:08:25]Send response to host [09:08:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24394,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:08:25]free response buf [09:08:25]execute_script done [09:08:25]execute_script returns [09:08:25]free content buf [09:08:25]Sock 7.Close socket [09:08:25]Sock 7.Thread stoped [09:08:25]OFD Sender: No OFD packet to send [09:08:30]OFD Sender: No OFD packet to send [09:08:33]accept exits with 9 [09:08:33]New connection [09:08:33]New thread 3067452772 created [09:08:33]Thread 3067596132 joined [09:08:33]Waiting for new connection... [09:08:33] Sock 9.Parse request [09:08:33]Sock 9.Check first char [09:08:33]Sock 9.First char is OK [09:08:33]request: POST /json_proto HTTP/1.0 [09:08:33]Method: POST [09:08:33]URL: /json_proto [09:08:33]Method is POST - this is cgi request [09:08:33]url: /json_proto [09:08:33]query_string will be loaded in cgi processing [09:08:33]execute_cgi json_proto POST (null) [09:08:33]execute_cgi path=json_proto method=POST [09:08:33]POST find Content-Length [09:08:33]Host: 172.17.50.4:8080 [09:08:33]Content-Length: 624 [09:08:33]Content-Type: application/json [09:08:33] [09:08:33]POST finish read [09:08:33]Found Content-Length = 624 [09:08:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134914", "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" ] } } [09:08:33]execute_script... [09:08: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)134914", "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" ] } } [09:08:33]POST & json_proto [09:08:33]process_json_proto [09:08:33]json parsed OK: [09:08:33]protocol is kg_v1.0 [09:08:33]action value=close_receipt [09:08:33]process_action close_receipt [09:08:33]cmd_close_receipt [09:08:33]MH_GetDate [09:08:33]Write to MH i2c: F0 00 00 39 06 2E [09:08:33]Write i2c OK [09:08:33]MH_I2C_Read... [09:08:33]Read from MH i2c: F0 [09:08:33]MH_I2C_Read... [09:08:33]Read from MH i2c: F0 09 00 [09:08:33]MH_I2C_Read... [09:08:33]Read from MH i2c: F0 09 00 39 06 00 93 6B 17 67 3B 12 16 67 7D [09:08:33]GetLastDocTimeStamp 1729588105 [09:08:33]current date 1729588115 [09:08:33]FM_GetShiftState [09:08:33]SAM_PROTO_GetShiftState [09:08:33]wFMCommunicate request_size=4 [09:08:33]MH_SAM_APDU [09:08:33]CAPDU: 80 13 01 00 [09:08:33]Write to MH i2c: E2 08 00 3A 06 80 13 01 00 00 00 00 00 BD [09:08:33]Write i2c OK [09:08:33]MH_I2C_Read... [09:08:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:33]Read from MH i2c: E2 [09:08:33]MH_I2C_Read... [09:08:33]Read from MH i2c: E2 0E 00 [09:08:33]MH_I2C_Read... [09:08:33]Read from MH i2c: E2 0E 00 3A 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B5 [09:08:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:08:33]wFMCommunicate OK [09:08:33]SAM_PROTO_GetShiftState done [09:08:33]FM_GetShiftState done [09:08:33]opened in 1729555332 [09:08:33]opened+sec_in_day 1729641732 [09:08:33]quantity*price = 14700 [09:08:33]sum+1 = 14701 [09:08:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 14 22.10.2024 09:08 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24395 ФПД: 249232487603157 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090835&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24395&fm=249232487603157&tin=02508201610067®Number=0000000000098120&sum=14700 0 [09:08:34]StoreToDocumentArchive [09:08:34]shift 462 fd 24395 [09:08:34]save to /storage/0462/doc_00024395 [09:08:34]save last doc name /storage/0462/doc_00024395 to /storage/kkm_last_doc_name [09:08:34]save OK [09:08:34]Clear old archive folders... [09:08:34]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:08:34]tlvbuf is 00D55530 [09:08:34]SAM_PROTO_ClearQueue [09:08:34]wFMCommunicate request_size=4 [09:08:34]MH_SAM_APDU [09:08:34]CAPDU: 80 09 00 00 [09:08:34]Write to MH i2c: E2 08 00 47 06 80 09 00 00 00 00 00 00 BF [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 47 06 00 90 00 C1 [09:08:34]RAPDU: 90 00 [09:08:34]wFMCommunicate OK [09:08:34]SAM_PROTO_ClearQueue done [09:08:34]KKMCreateOFDPacket [09:08:34]OFDProtocolAddRootSTLVToBuf [09:08:34]FM_MakeSignedData [09:08:34]FM_MakeSignedData [09:08:34]SAM_PROTO_SignData [09:08:34]wFMCommunicate request_size=4 [09:08:34]MH_SAM_APDU [09:08:34]CAPDU: 80 0D 01 02 [09:08:34]Write to MH i2c: E2 08 00 48 06 80 0D 01 02 00 00 00 00 C7 [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 48 06 00 90 00 C2 [09:08:34]RAPDU: 90 00 [09:08:34]wFMCommunicate OK [09:08:34]wFMCommunicate request_size=255 [09:08:34]MH_SAM_APDU [09:08:34]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 0E 00 00 00 F4 03 04 00 93 6B 17 67 0E 04 04 00 CE 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 [09:08:34]Write to MH i2c: E2 02 01 49 06 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 0E 00 00 00 F4 03 04 00 93 6B 17 67 0E 04 04 00 CE 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 E1 [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 49 06 00 90 00 C3 [09:08:34]RAPDU: 90 00 [09:08:34]wFMCommunicate OK [09:08:34]wFMCommunicate request_size=35 [09:08:34]MH_SAM_APDU [09:08:34]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4B 5F 00 00 35 04 06 00 E2 AC F5 E3 DB D5 [09:08:34]Write to MH i2c: E2 26 00 4A 06 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4B 5F 00 00 35 04 06 00 E2 AC F5 E3 DB D5 00 00 77 [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 03 00 4A 06 00 90 00 C4 [09:08:34]RAPDU: 90 00 [09:08:34]wFMCommunicate OK [09:08:34]wFMCommunicate request_size=4 [09:08:34]MH_SAM_APDU [09:08:34]CAPDU: 80 0D 03 02 [09:08:34]Write to MH i2c: E2 08 00 4B 06 80 0D 03 02 00 00 00 00 CC [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 0B 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 0B 00 4B 06 00 DD CD 68 EF BB ED 1D EF 90 00 82 [09:08:34]RAPDU: DD CD 68 EF BB ED 1D EF 90 00 [09:08:34]wFMCommunicate OK [09:08:34]SAM_PROTO_SignData done [09:08:34]FM_MakeSignedData done [09:08:34]CreateOFDProtocolMessage [09:08:34]wFMCommunicate request_size=4 [09:08:34]MH_SAM_APDU [09:08:34]CAPDU: 80 11 00 00 [09:08:34]Write to MH i2c: E2 08 00 4C 06 80 11 00 00 00 00 00 00 CC [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:34]Read from MH i2c: E2 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 17 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: E2 17 00 4C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 19 [09:08:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:08:34]wFMCommunicate OK [09:08:34]CreateOFDProtocolMessage done [09:08:34]OFDSenderStorePacket 24395 [09:08:34]StoreOFDPacket docnum=24395 [09:08:34]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 B0 10 20 01 51 33 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 0E 00 00 00 F4 03 04 00 93 6B 17 67 0E 04 04 00 CE 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 4B 5F 00 00 35 04 06 00 E2 AC F5 E3 DB D5 DD CD 68 EF BB ED 1D EF [09:08:34]CheckFolder [09:08:34]dirname=/storage/ofd_packets [09:08:34]CheckFolder done [09:08:34]ProducePacketName [09:08:34]name=ofd_packets/00024395 [09:08:34]NVStorageSaveData ofd_packets/00024395 [09:08:34]File name is /storage/ofd_packets/00024395 [09:08:34]Write 326 bytes [09:08:34]NVStorageSaveData done [09:08:34]OFDSenderStorePacket done [09:08:34]KKMCreateOFDPacket done [09:08:34]NVStorageSaveData kkm_last_timestamp [09:08:34]File name is /storage/kkm_last_timestamp [09:08:34]Write 4 bytes [09:08:34]NVStorageSaveData done [09:08:34]ExternCall_PrintAddStr [09:08:34]wPrintStart [09:08:34]Write to MH i2c: 01 00 00 4D 06 53 [09:08:34]Write i2c OK [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 07 00 [09:08:34]MH_I2C_Read... [09:08:34]Read from MH i2c: 01 07 00 4D 06 00 00 00 00 00 FF 0F 68 [09:08:34]RasterBufferAndPrint [09:08:34]line Счет N : (3)134914 [09:08:34]line ИНН: 02508201610067 [09:08:34]line Контрольно-Кассовый Чек [09:08:34]line ПРОДАЖА [09:08:34]line Товар: 48744683 [09:08:34]line Сигареты Winston XStyle Caster+ [09:08:34]line 1.000 * 147.00 [09:08:34]line = 147.00 [09:08:34]line НДС 12% НСП 1% [09:08:34]line > о реализуемом товаре [09:08:34]line ИТОГО: 147.00 [09:08:34]line НСП 1% : 1.30 [09:08:34]line НДС 12% : 15.61 [09:08:34]line Наличными: 147.00 [09:08:34]line Безнал.: 0.00 [09:08:34]line Место: АЗС № 85 "Партнер Нефть" [09:08:34]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:08:34]line СНО: Общий режим [09:08:34]line Чек 14 22.10.2024 09:08 [09:08:34]line Смена: 462 ФФД: 1.0 [09:08:34]line ЗНМ: 0300000166 [09:08:34]line РНМ: 0000000000098120 [09:08:34]line Версия ККМ: 001 [09:08:34]line ФМ: 0000000000965420 [09:08:34]line ФД: 24395 [09:08:34]line ФПД: 249232487603157 [09:08:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090835&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24395&fm=249232487603157&tin=02508201610067®Number=0000000000098120&sum=14700 [09:08:34]line 0 [09:08:34]written 0, free lines is 4095 [09:08:34]OFD Sender: Processing packet 24395 [packets to send 5, broken 4] [09:08:34]ProducePacketName [09:08:34]name=ofd_packets/00024395 [09:08:34]OFD Sender: To server: pG, [09:08:34]CommunicateWithHost lk.salyk.kg:30040 [09:08:34]ConnectInit lk.salyk.kg [09:08:34]Connected sock=10 [09:08:34]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 B0 10 20 01 51 33 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 0E 00 00 00 F4 03 04 00 93 6B 17 67 0E 04 04 00 CE 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 4B 5F 00 00 35 04 06 00 E2 AC F5 E3 DB D5 DD CD 68 EF BB ED 1D EF [09:08:35]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 4C 47 00 B7 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 4B 5F 00 00 F4 03 04 00 37 17 17 67 B6 04 01 00 00 C2 93 CC 91 A0 4F 3A 39 [09:08:35]CommunicateWithHost err = 0 [09:08:35]CheckOFDResponse [09:08:35]1017 (14) - 77093643461234 [09:08:35]1041 (16) - 0000000000965420 [09:08:35]1040 (4) - 24395 [09:08:35]1012 (4) - 22.10.2024 03:08 [09:08:35]1206 (1) - 0 [09:08:35]OFD Sender: Remove packet 24395 [09:08:35]ProducePacketName [09:08:35]name=ofd_packets/00024395 [09:08:35]NVStorageDeleteData [09:08:35]Write to MH i2c: 01 00 00 76 06 7C [09:08:35]Write i2c OK [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: 01 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: 01 07 00 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: 01 07 00 76 06 00 00 00 00 00 11 0D A1 [09:08:35]RasterBufferAndPrint [09:08:35]line [09:08:35]line [09:08:35]line [09:08:35]line [09:08:35]line [09:08:35]written 0, free lines is 3354 [09:08:35]process_action close_receipt done [09:08:35]requested_data is exist [09:08:35]produce_requested_data [09:08:35]requested_item fm.sn is exist - process it [09:08:35]wFMCommunicate request_size=4 [09:08:35]MH_SAM_APDU [09:08:35]CAPDU: 80 11 00 00 [09:08:35]Write to MH i2c: E2 08 00 7D 06 80 11 00 00 00 00 00 00 FD [09:08:35]Write i2c OK [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 [09:08:35]MH_I2C_Read... [09:08:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:35]Read from MH i2c: E2 17 00 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 17 00 7D 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4A [09:08:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:08:35]wFMCommunicate OK [09:08:35]requested_item fd.num is exist - process it [09:08:35]SAM_PROTO_GetFieldsCounters [09:08:35]wFMCommunicate request_size=4 [09:08:35]MH_SAM_APDU [09:08:35]CAPDU: 80 13 00 00 [09:08:35]Write to MH i2c: E2 08 00 7E 06 80 13 00 00 00 00 00 00 00 [09:08:35]Write i2c OK [09:08:35]MH_I2C_Read... [09:08:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:35]Read from MH i2c: E2 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 62 00 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 62 00 7E 06 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 4B 5F 00 00 0E 04 04 00 CE 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 B9 [09:08:35]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 4B 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:35]wFMCommunicate OK [09:08:35]SAM_PROTO_GetFieldsCounters done [09:08:35]requested_item shift.num is exist - process it [09:08:35]requested_item shift.opened is exist - process it [09:08:35]req_shift_opened [09:08:35]FM_GetShiftState [09:08:35]SAM_PROTO_GetShiftState [09:08:35]wFMCommunicate request_size=4 [09:08:35]MH_SAM_APDU [09:08:35]CAPDU: 80 13 01 00 [09:08:35]Write to MH i2c: E2 08 00 7F 06 80 13 01 00 00 00 00 00 02 [09:08:35]Write i2c OK [09:08:35]MH_I2C_Read... [09:08:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:35]Read from MH i2c: E2 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 0E 00 [09:08:35]MH_I2C_Read... [09:08:35]Read from MH i2c: E2 0E 00 7F 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 FA [09:08:35]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:08:35]wFMCommunicate OK [09:08:35]SAM_PROTO_GetShiftState done [09:08:35]FM_GetShiftState done [09:08:35]req_shift_opened done [09:08:35]requested_item shift.open_date is exist - process it [09:08:35]req_shift_open_date [09:08:35]req_shift_open_date done [09:08:35]produce_requested_data done [09:08:35]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24395,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:08:35]process_action_free close_receipt [09:08:35]json_value_free [09:08:35]json_value_free done [09:08:35]process_json_proto returns [09:08:35]Send response to host [09:08:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24395,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:08:35]free response buf [09:08:35]execute_script done [09:08:35]execute_script returns [09:08:35]free content buf [09:08:35]Sock 9.Close socket [09:08:35]Sock 9.Thread stoped [09:08:35]OFD Sender: No OFD packet to send [09:08:40]OFD Sender: No OFD packet to send [09:08:45]OFD Sender: No OFD packet to send [09:08:50]OFD Sender: No OFD packet to send [09:08:55]OFD Sender: No OFD packet to send [09:09:00]OFD Sender: No OFD packet to send [09:09:04]accept exits with 7 [09:09:04]New connection [09:09:04]New thread 3067596132 created [09:09:04]Thread 3067452772 joined [09:09:04]Waiting for new connection... [09:09:04] Sock 7.Parse request [09:09:04]Sock 7.Check first char [09:09:04]Sock 7.First char is OK [09:09:04]request: POST /json_proto HTTP/1.0 [09:09:04]Method: POST [09:09:04]URL: /json_proto [09:09:04]Method is POST - this is cgi request [09:09:04]url: /json_proto [09:09:04]query_string will be loaded in cgi processing [09:09:04]execute_cgi json_proto POST (null) [09:09:04]execute_cgi path=json_proto method=POST [09:09:04]POST find Content-Length [09:09:04]Host: 172.17.50.4:8080 [09:09:04]Content-Length: 957 [09:09:04]Content-Type: application/json [09:09:04] [09:09:04]POST finish read [09:09:04]Found Content-Length = 957 [09:09:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134915", "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 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:04]execute_script... [09:09:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134915", "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 }]} ,{ "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:09:04]POST & json_proto [09:09:04]process_json_proto [09:09:04]json parsed OK: [09:09:04]protocol is kg_v1.0 [09:09:04]action value=close_receipt [09:09:04]process_action close_receipt [09:09:04]cmd_close_receipt [09:09:04]MH_GetDate [09:09:04]Write to MH i2c: F0 00 00 80 06 75 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: F0 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: F0 09 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: F0 09 00 80 06 00 B2 6B 17 67 3B 12 16 67 E3 [09:09:04]GetLastDocTimeStamp 1729588115 [09:09:04]current date 1729588146 [09:09:04]FM_GetShiftState [09:09:04]SAM_PROTO_GetShiftState [09:09:04]wFMCommunicate request_size=4 [09:09:04]MH_SAM_APDU [09:09:04]CAPDU: 80 13 01 00 [09:09:04]Write to MH i2c: E2 08 00 81 06 80 13 01 00 00 00 00 00 04 [09:09:04]Write i2c OK [09:09:04]MH_I2C_Read... [09:09:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:04]Read from MH i2c: E2 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 0E 00 [09:09:04]MH_I2C_Read... [09:09:04]Read from MH i2c: E2 0E 00 81 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 FC [09:09:04]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:09:04]wFMCommunicate OK [09:09:04]SAM_PROTO_GetShiftState done [09:09:04]FM_GetShiftState done [09:09:04]opened in 1729555332 [09:09:04]opened+sec_in_day 1729641732 [09:09:04]quantity*price = 15400 [09:09:04]sum+1 = 15401 [09:09:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 42069942 Жев Orbit White Fresh Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 199.00 НСП 1% : 1.76 НДС 12% : 21.13 Наличными: 0.00 Безнал.: 199.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 15 22.10.2024 09:09 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24396 ФПД: 255047983725487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090907&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24396&fm=255047983725487&tin=02508201610067®Number=0000000000098120&sum=19900 0 [09:09:05]StoreToDocumentArchive [09:09:05]shift 462 fd 24396 [09:09:05]save to /storage/0462/doc_00024396 [09:09:05]save last doc name /storage/0462/doc_00024396 to /storage/kkm_last_doc_name [09:09:05]save OK [09:09:05]Clear old archive folders... [09:09:05]ProcessDocumentItem done err = 0, tmpTLVsize=370 [09:09:05]tlvbuf is 00D5FE10 [09:09:05]SAM_PROTO_ClearQueue [09:09:05]wFMCommunicate request_size=4 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 09 00 00 [09:09:05]Write to MH i2c: E2 08 00 8E 06 80 09 00 00 00 00 00 00 06 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 8E 06 00 90 00 08 [09:09:05]RAPDU: 90 00 [09:09:05]wFMCommunicate OK [09:09:05]SAM_PROTO_ClearQueue done [09:09:05]KKMCreateOFDPacket [09:09:05]OFDProtocolAddRootSTLVToBuf [09:09:05]FM_MakeSignedData [09:09:05]FM_MakeSignedData [09:09:05]SAM_PROTO_SignData [09:09:05]wFMCommunicate request_size=4 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 0D 01 02 [09:09:05]Write to MH i2c: E2 08 00 8F 06 80 0D 01 02 00 00 00 00 0E [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 8F 06 00 90 00 09 [09:09:05]RAPDU: 90 00 [09:09:05]wFMCommunicate OK [09:09:05]wFMCommunicate request_size=255 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 0D 02 02 FA 03 00 72 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [09:09:05]Write to MH i2c: E2 02 01 90 06 80 0D 02 02 FA 00 03 00 72 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 D1 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 90 06 00 90 00 0A [09:09:05]RAPDU: 90 00 [09:09:05]wFMCommunicate OK [09:09:05]wFMCommunicate request_size=129 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 0D 02 02 7C 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B3 6B 17 67 0E 04 04 00 CE 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 4C 5F 00 00 35 04 06 00 E7 F6 FC 78 7B AF [09:09:05]Write to MH i2c: E2 84 00 91 06 80 0D 02 02 7C 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B3 6B 17 67 0E 04 04 00 CE 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 4C 5F 00 00 35 04 06 00 E7 F6 FC 78 7B AF 00 00 27 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]OFD Sender: No OFD packet to send [09:09:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 03 00 91 06 00 90 00 0B [09:09:05]RAPDU: 90 00 [09:09:05]wFMCommunicate OK [09:09:05]wFMCommunicate request_size=4 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 0D 03 02 [09:09:05]Write to MH i2c: E2 08 00 92 06 80 0D 03 02 00 00 00 00 13 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 0B 00 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 0B 00 92 06 00 80 49 67 3A 15 26 6D 10 90 00 36 [09:09:05]RAPDU: 80 49 67 3A 15 26 6D 10 90 00 [09:09:05]wFMCommunicate OK [09:09:05]SAM_PROTO_SignData done [09:09:05]FM_MakeSignedData done [09:09:05]CreateOFDProtocolMessage [09:09:05]wFMCommunicate request_size=4 [09:09:05]MH_SAM_APDU [09:09:05]CAPDU: 80 11 00 00 [09:09:05]Write to MH i2c: E2 08 00 93 06 80 11 00 00 00 00 00 00 13 [09:09:05]Write i2c OK [09:09:05]MH_I2C_Read... [09:09:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:05]Read from MH i2c: E2 [09:09:05]MH_I2C_Read... [09:09:05]Read from MH i2c: E2 17 00 [09:09:05]MH_I2C_Read... [09:09:06]Read from MH i2c: E2 17 00 93 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 60 [09:09:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:09:06]wFMCommunicate OK [09:09:06]CreateOFDProtocolMessage done [09:09:06]OFDSenderStorePacket 24396 [09:09:06]StoreOFDPacket docnum=24396 [09:09:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 86 01 00 00 64 4D 7E 01 0E 92 5A 03 01 00 03 00 72 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B3 6B 17 67 0E 04 04 00 CE 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 4C 5F 00 00 35 04 06 00 E7 F6 FC 78 7B AF 80 49 67 3A 15 26 6D 10 [09:09:06]CheckFolder [09:09:06]dirname=/storage/ofd_packets [09:09:06]CheckFolder done [09:09:06]ProducePacketName [09:09:06]name=ofd_packets/00024396 [09:09:06]NVStorageSaveData ofd_packets/00024396 [09:09:06]File name is /storage/ofd_packets/00024396 [09:09:06]Write 420 bytes [09:09:06]NVStorageSaveData done [09:09:06]OFDSenderStorePacket done [09:09:06]KKMCreateOFDPacket done [09:09:06]NVStorageSaveData kkm_last_timestamp [09:09:06]File name is /storage/kkm_last_timestamp [09:09:06]Write 4 bytes [09:09:06]NVStorageSaveData done [09:09:06]ExternCall_PrintAddStr [09:09:06]wPrintStart [09:09:06]Write to MH i2c: 01 00 00 94 06 9A [09:09:06]Write i2c OK [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 07 00 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 07 00 94 06 00 00 00 00 00 FF 0F AF [09:09:06]RasterBufferAndPrint [09:09:06]line Счет N : (3)134915 [09:09:06]line ИНН: 02508201610067 [09:09:06]line Контрольно-Кассовый Чек [09:09:06]line ПРОДАЖА [09:09:06]line Товар: 46230614 [09:09:06]line Сигареты Richmond Red Edition [09:09:06]line 1.000 * 154.00 [09:09:06]line = 154.00 [09:09:06]line НДС 12% НСП 1% [09:09:06]line > о реализуемом товаре [09:09:06]line Товар: 42069942 [09:09:06]line Жев Orbit White Fresh Mint [09:09:06]line 1.000 * 45.00 [09:09:06]line = 45.00 [09:09:06]line НДС 12% НСП 1% [09:09:06]line > о реализуемом товаре [09:09:06]line ИТОГО: 199.00 [09:09:06]line НСП 1% : 1.76 [09:09:06]line НДС 12% : 21.13 [09:09:06]line Наличными: 0.00 [09:09:06]line Безнал.: 199.00 [09:09:06]line Место: АЗС № 85 "Партнер Нефть" [09:09:06]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:09:06]line СНО: Общий режим [09:09:06]line Чек 15 22.10.2024 09:09 [09:09:06]line Смена: 462 ФФД: 1.0 [09:09:06]line ЗНМ: 0300000166 [09:09:06]line РНМ: 0000000000098120 [09:09:06]line Версия ККМ: 001 [09:09:06]line Платежная система: Mbank [09:09:06]line ФМ: 0000000000965420 [09:09:06]line ФД: 24396 [09:09:06]line ФПД: 255047983725487 [09:09:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T090907&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24396&fm=255047983725487&tin=02508201610067®Number=0000000000098120&sum=19900 [09:09:06]line 0 [09:09:06]OFD Sender: Processing packet 24396 [packets to send 5, broken 4] [09:09:06]ProducePacketName [09:09:06]name=ofd_packets/00024396 [09:09:06]OFD Sender: To server: pG, [09:09:06]CommunicateWithHost lk.salyk.kg:30040 [09:09:06]ConnectInit lk.salyk.kg [09:09:06]written 0, free lines is 4095 [09:09:06]Connected sock=10 [09:09:06]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 86 01 00 00 64 4D 7E 01 0E 92 5A 03 01 00 03 00 72 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 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 4D 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 B3 6B 17 67 0E 04 04 00 CE 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 4C 5F 00 00 35 04 06 00 E7 F6 FC 78 7B AF 80 49 67 3A 15 26 6D 10 [09:09:06]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 8B EB 47 00 74 EA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4C 5F 00 00 F4 03 04 00 57 17 17 67 B6 04 01 00 00 7B 9C 39 8D 0D 1E 44 D6 [09:09:06]CommunicateWithHost err = 0 [09:09:06]CheckOFDResponse [09:09:06]1017 (14) - 77093643461234 [09:09:06]1041 (16) - 0000000000965420 [09:09:06]1040 (4) - 24396 [09:09:06]1012 (4) - 22.10.2024 03:09 [09:09:06]1206 (1) - 0 [09:09:06]OFD Sender: Remove packet 24396 [09:09:06]ProducePacketName [09:09:06]name=ofd_packets/00024396 [09:09:06]NVStorageDeleteData [09:09:06]Write to MH i2c: 01 00 00 C4 06 CA [09:09:06]Write i2c OK [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 07 00 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: 01 07 00 C4 06 00 00 00 00 00 B8 0C 95 [09:09:06]RasterBufferAndPrint [09:09:06]line [09:09:06]line [09:09:06]line [09:09:06]line [09:09:06]line [09:09:06]written 0, free lines is 3264 [09:09:06]process_action close_receipt done [09:09:06]requested_data is exist [09:09:06]produce_requested_data [09:09:06]requested_item fm.sn is exist - process it [09:09:06]wFMCommunicate request_size=4 [09:09:06]MH_SAM_APDU [09:09:06]CAPDU: 80 11 00 00 [09:09:06]Write to MH i2c: E2 08 00 CB 06 80 11 00 00 00 00 00 00 4B [09:09:06]Write i2c OK [09:09:06]MH_I2C_Read... [09:09:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:09:06]Read from MH i2c: E2 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: E2 17 00 [09:09:06]MH_I2C_Read... [09:09:06]Read from MH i2c: E2 17 00 CB 06 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:09:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:09:06]wFMCommunicate OK [09:09:06]requested_item fd.num is exist - process it [09:09:06]SAM_PROTO_GetFieldsCounters [09:09:06]wFMCommunicate request_size=4 [09:09:06]MH_SAM_APDU [09:09:06]CAPDU: 80 13 00 00 [09:09:06]Write to MH i2c: E2 08 00 CC 06 80 13 00 00 00 00 00 00 4E [09:09:06]Write i2c OK [09:09:06]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 62 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 62 00 CC 06 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 4C 5F 00 00 0E 04 04 00 CE 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 0B [09:09:07]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 4C 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:09:07]wFMCommunicate OK [09:09:07]SAM_PROTO_GetFieldsCounters done [09:09:07]requested_item shift.num is exist - process it [09:09:07]requested_item shift.opened is exist - process it [09:09:07]req_shift_opened [09:09:07]FM_GetShiftState [09:09:07]SAM_PROTO_GetShiftState [09:09:07]wFMCommunicate request_size=4 [09:09:07]MH_SAM_APDU [09:09:07]CAPDU: 80 13 01 00 [09:09:07]Write to MH i2c: E2 08 00 CD 06 80 13 01 00 00 00 00 00 50 [09:09:07]Write i2c OK [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 [09:09:07]MH_I2C_Read... [09:09:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:09:07]Read from MH i2c: E2 0E 00 [09:09:07]MH_I2C_Read... [09:09:07]Read from MH i2c: E2 0E 00 CD 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 48 [09:09:07]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:09:07]wFMCommunicate OK [09:09:07]SAM_PROTO_GetShiftState done [09:09:07]FM_GetShiftState done [09:09:07]req_shift_opened done [09:09:07]requested_item shift.open_date is exist - process it [09:09:07]req_shift_open_date [09:09:07]req_shift_open_date done [09:09:07]produce_requested_data done [09:09:07]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24396,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:09:07]process_action_free close_receipt [09:09:07]json_value_free [09:09:07]json_value_free done [09:09:07]process_json_proto returns [09:09:07]Send response to host [09:09:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24396,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:09:07]free response buf [09:09:07]execute_script done [09:09:07]execute_script returns [09:09:07]free content buf [09:09:07]Sock 7.Close socket [09:09:07]Sock 7.Thread stoped [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:12]OFD Sender: No OFD packet to send [09:20:17]OFD Sender: No OFD packet to send [09:20:22]OFD Sender: No OFD packet to send [09:20:27]OFD Sender: No OFD packet to send [09:20:32]OFD Sender: No OFD packet to send [09:20:37]OFD Sender: No OFD packet to send [09:20:42]OFD Sender: No OFD packet to send [09:20:47]OFD Sender: No OFD packet to send [09:20:52]OFD Sender: No OFD packet to send [09:20:57]OFD Sender: No OFD packet to send [09:21:02]OFD Sender: No OFD packet to send [09:21:07]OFD Sender: No OFD packet to send [09:21:12]OFD Sender: No OFD packet to send [09:21:17]OFD Sender: No OFD packet to send [09:21:22]OFD Sender: No OFD packet to send [09:21:27]OFD Sender: No OFD packet to send [09:21:32]OFD Sender: No OFD packet to send [09:21:37]OFD Sender: No OFD packet to send [09:21:42]OFD Sender: No OFD packet to send [09:21:47]OFD Sender: No OFD packet to send [09:21:52]OFD Sender: No OFD packet to send [09:21:57]OFD Sender: No OFD packet to send [09:22:02]OFD Sender: No OFD packet to send [09:22:07]OFD Sender: No OFD packet to send [09:22:12]OFD Sender: No OFD packet to send [09:22:17]OFD Sender: No OFD packet to send [09:22:22]OFD Sender: No OFD packet to send [09:22:27]OFD Sender: No OFD packet to send [09:22:32]OFD Sender: No OFD packet to send [09:22:37]OFD Sender: No OFD packet to send [09:22:42]OFD Sender: No OFD packet to send [09:22:47]OFD Sender: No OFD packet to send [09:22:52]OFD Sender: No OFD packet to send [09:22:57]OFD Sender: No OFD packet to send [09:23:02]OFD Sender: No OFD packet to send [09:23:07]OFD Sender: No OFD packet to send [09:23:12]OFD Sender: No OFD packet to send [09:23:17]OFD Sender: No OFD packet to send [09:23:22]OFD Sender: No OFD packet to send [09:23:27]OFD Sender: No OFD packet to send [09:23:32]OFD Sender: No OFD packet to send [09:23:37]OFD Sender: No OFD packet to send [09:23:42]OFD Sender: No OFD packet to send [09:23:47]OFD Sender: No OFD packet to send [09:23:52]OFD Sender: No OFD packet to send [09:23:57]OFD Sender: No OFD packet to send [09:24:02]OFD Sender: No OFD packet to send [09:24:07]OFD Sender: No OFD packet to send [09:24:12]OFD Sender: No OFD packet to send [09:24:17]OFD Sender: No OFD packet to send [09:24:22]OFD Sender: No OFD packet to send [09:24:27]OFD Sender: No OFD packet to send [09:24:32]OFD Sender: No OFD packet to send [09:24:37]OFD Sender: No OFD packet to send [09:24:42]OFD Sender: No OFD packet to send [09:24:47]OFD Sender: No OFD packet to send [09:24:52]OFD Sender: No OFD packet to send [09:24:57]OFD Sender: No OFD packet to send [09:25:02]OFD Sender: No OFD packet to send [09:25:07]OFD Sender: No OFD packet to send [09:25:12]OFD Sender: No OFD packet to send [09:25:17]OFD Sender: No OFD packet to send [09:25:22]OFD Sender: No OFD packet to send [09:25:27]OFD Sender: No OFD packet to send [09:25:32]OFD Sender: No OFD packet to send [09:25:37]OFD Sender: No OFD packet to send [09:25:42]OFD Sender: No OFD packet to send [09:25:47]OFD Sender: No OFD packet to send [09:25:53]OFD Sender: No OFD packet to send [09:25:58]OFD Sender: No OFD packet to send [09:26:03]OFD Sender: No OFD packet to send [09:26:08]OFD Sender: No OFD packet to send [09:26:13]OFD Sender: No OFD packet to send [09:26:18]OFD Sender: No OFD packet to send [09:26:23]OFD Sender: No OFD packet to send [09:26:28]OFD Sender: No OFD packet to send [09:26:33]OFD Sender: No OFD packet to send [09:26:38]OFD Sender: No OFD packet to send [09:26:43]OFD Sender: No OFD packet to send [09:26:48]OFD Sender: No OFD packet to send [09:26:53]OFD Sender: No OFD packet to send [09:26:58]OFD Sender: No OFD packet to send [09:27:03]OFD Sender: No OFD packet to send [09:27:08]OFD Sender: No OFD packet to send [09:27:13]OFD Sender: No OFD packet to send [09:27:18]OFD Sender: No OFD packet to send [09:27:23]OFD Sender: No OFD packet to send [09:27:28]OFD Sender: No OFD packet to send [09:27:33]OFD Sender: No OFD packet to send [09:27:38]OFD Sender: No OFD packet to send [09:27:43]OFD Sender: No OFD packet to send [09:27:48]OFD Sender: No OFD packet to send [09:27:53]OFD Sender: No OFD packet to send [09:27:58]OFD Sender: No OFD packet to send [09:28:03]OFD Sender: No OFD packet to send [09:28:08]OFD Sender: No OFD packet to send [09:28:13]OFD Sender: No OFD packet to send [09:28:18]OFD Sender: No OFD packet to send [09:28:23]OFD Sender: No OFD packet to send [09:28:28]OFD Sender: No OFD packet to send [09:28:33]OFD Sender: No OFD packet to send [09:28:38]OFD Sender: No OFD packet to send [09:28:43]OFD Sender: No OFD packet to send [09:28:48]OFD Sender: No OFD packet to send [09:28:53]OFD Sender: No OFD packet to send [09:28:58]OFD Sender: No OFD packet to send [09:29:03]OFD Sender: No OFD packet to send [09:29:08]OFD Sender: No OFD packet to send [09:29:13]OFD Sender: No OFD packet to send [09:29:18]OFD Sender: No OFD packet to send [09:29:23]OFD Sender: No OFD packet to send [09:29:28]OFD Sender: No OFD packet to send [09:29:33]OFD Sender: No OFD packet to send [09:29:38]OFD Sender: No OFD packet to send [09:29:43]OFD Sender: No OFD packet to send [09:29:48]OFD Sender: No OFD packet to send [09:29:53]OFD Sender: No OFD packet to send [09:29:58]OFD Sender: No OFD packet to send [09:30:03]OFD Sender: No OFD packet to send [09:30:08]OFD Sender: No OFD packet to send [09:30:13]OFD Sender: No OFD packet to send [09:30:18]OFD Sender: No OFD packet to send [09:30:23]OFD Sender: No OFD packet to send [09:30:28]OFD Sender: No OFD packet to send [09:30:33]OFD Sender: No OFD packet to send [09:30:38]OFD Sender: No OFD packet to send [09:30:43]OFD Sender: No OFD packet to send [09:30:48]OFD Sender: No OFD packet to send [09:30:53]OFD Sender: No OFD packet to send [09:30:58]OFD Sender: No OFD packet to send [09:31:03]OFD Sender: No OFD packet to send [09:31:08]OFD Sender: No OFD packet to send [09:31:13]OFD Sender: No OFD packet to send [09:31:18]OFD Sender: No OFD packet to send [09:31:23]OFD Sender: No OFD packet to send [09:31:28]OFD Sender: No OFD packet to send [09:31:33]OFD Sender: No OFD packet to send [09:31:38]OFD Sender: No OFD packet to send [09:31:43]OFD Sender: No OFD packet to send [09:31:48]OFD Sender: No OFD packet to send [09:31:53]OFD Sender: No OFD packet to send [09:31:58]OFD Sender: No OFD packet to send [09:32:03]OFD Sender: No OFD packet to send [09:32:08]OFD Sender: No OFD packet to send [09:32:13]OFD Sender: No OFD packet to send [09:32:18]OFD Sender: No OFD packet to send [09:32:23]OFD Sender: No OFD packet to send [09:32:28]OFD Sender: No OFD packet to send [09:32:33]OFD Sender: No OFD packet to send [09:32:38]OFD Sender: No OFD packet to send [09:32:43]OFD Sender: No OFD packet to send [09:32:48]OFD Sender: No OFD packet to send [09:32:53]OFD Sender: No OFD packet to send [09:32:58]OFD Sender: No OFD packet to send [09:33:03]OFD Sender: No OFD packet to send [09:33:08]OFD Sender: No OFD packet to send [09:33:13]OFD Sender: No OFD packet to send [09:33:18]OFD Sender: No OFD packet to send [09:33:23]OFD Sender: No OFD packet to send [09:33:28]OFD Sender: No OFD packet to send [09:33:33]OFD Sender: No OFD packet to send [09:33:38]OFD Sender: No OFD packet to send [09:33:43]OFD Sender: No OFD packet to send [09:33:48]OFD Sender: No OFD packet to send [09:33:53]OFD Sender: No OFD packet to send [09:33:58]OFD Sender: No OFD packet to send [09:34:03]OFD Sender: No OFD packet to send [09:34:08]OFD Sender: No OFD packet to send [09:34:13]OFD Sender: No OFD packet to send [09:34:18]OFD Sender: No OFD packet to send [09:34:23]OFD Sender: No OFD packet to send [09:34:28]OFD Sender: No OFD packet to send [09:34:33]OFD Sender: No OFD packet to send [09:34:38]OFD Sender: No OFD packet to send [09:34:43]OFD Sender: No OFD packet to send [09:34:48]OFD Sender: No OFD packet to send [09:34:53]OFD Sender: No OFD packet to send [09:34:58]OFD Sender: No OFD packet to send [09:35:03]OFD Sender: No OFD packet to send [09:35:08]OFD Sender: No OFD packet to send [09:35:13]OFD Sender: No OFD packet to send [09:35:18]OFD Sender: No OFD packet to send [09:35:23]OFD Sender: No OFD packet to send [09:35:28]OFD Sender: No OFD packet to send [09:35:33]OFD Sender: No OFD packet to send [09:35:38]OFD Sender: No OFD packet to send [09:35:43]OFD Sender: No OFD packet to send [09:35:48]OFD Sender: No OFD packet to send [09:35:53]OFD Sender: No OFD packet to send [09:35:58]OFD Sender: No OFD packet to send [09:36:03]OFD Sender: No OFD packet to send [09:36:08]OFD Sender: No OFD packet to send [09:36:13]OFD Sender: No OFD packet to send [09:36:18]OFD Sender: No OFD packet to send [09:36:23]OFD Sender: No OFD packet to send [09:36:28]OFD Sender: No OFD packet to send [09:36:33]OFD Sender: No OFD packet to send [09:36:38]OFD Sender: No OFD packet to send [09:36:43]OFD Sender: No OFD packet to send [09:36:48]OFD Sender: No OFD packet to send [09:36:53]OFD Sender: No OFD packet to send [09:36:58]OFD Sender: No OFD packet to send [09:37:03]OFD Sender: No OFD packet to send [09:37:08]OFD Sender: No OFD packet to send [09:37:13]OFD Sender: No OFD packet to send [09:37:18]OFD Sender: No OFD packet to send [09:37:23]OFD Sender: No OFD packet to send [09:37:28]OFD Sender: No OFD packet to send [09:37:33]OFD Sender: No OFD packet to send [09:37:38]OFD Sender: No OFD packet to send [09:37:43]OFD Sender: No OFD packet to send [09:37:48]OFD Sender: No OFD packet to send [09:37:53]OFD Sender: No OFD packet to send [09:37:58]OFD Sender: No OFD packet to send [09:38:03]OFD Sender: No OFD packet to send [09:38:08]OFD Sender: No OFD packet to send [09:38:13]OFD Sender: No OFD packet to send [09:38:18]OFD Sender: No OFD packet to send [09:38:23]OFD Sender: No OFD packet to send [09:38:28]OFD Sender: No OFD packet to send [09:38:33]OFD Sender: No OFD packet to send [09:38:38]OFD Sender: No OFD packet to send [09:38:43]OFD Sender: No OFD packet to send [09:38:48]OFD Sender: No OFD packet to send [09:38:53]OFD Sender: No OFD packet to send [09:38:58]OFD Sender: No OFD packet to send [09:39:03]OFD Sender: No OFD packet to send [09:39:08]OFD Sender: No OFD packet to send [09:39:13]OFD Sender: No OFD packet to send [09:39:18]OFD Sender: No OFD packet to send [09:39:23]OFD Sender: No OFD packet to send [09:39:28]OFD Sender: No OFD packet to send [09:39:33]OFD Sender: No OFD packet to send [09:39:38]OFD Sender: No OFD packet to send [09:39:43]OFD Sender: No OFD packet to send [09:39:48]OFD Sender: No OFD packet to send [09:39:53]OFD Sender: No OFD packet to send [09:39:58]OFD Sender: No OFD packet to send [09:40:03]OFD Sender: No OFD packet to send [09:40:08]OFD Sender: No OFD packet to send [09:40:13]OFD Sender: No OFD packet to send [09:40:18]OFD Sender: No OFD packet to send [09:40:23]OFD Sender: No OFD packet to send [09:40:28]OFD Sender: No OFD packet to send [09:40:33]OFD Sender: No OFD packet to send [09:40:38]OFD Sender: No OFD packet to send [09:40:43]OFD Sender: No OFD packet to send [09:40:48]OFD Sender: No OFD packet to send [09:40:53]OFD Sender: No OFD packet to send [09:40:58]OFD Sender: No OFD packet to send [09:41:03]OFD Sender: No OFD packet to send [09:41:08]OFD Sender: No OFD packet to send [09:41:13]OFD Sender: No OFD packet to send [09:41:18]OFD Sender: No OFD packet to send [09:41:23]OFD Sender: No OFD packet to send [09:41:28]OFD Sender: No OFD packet to send [09:41:33]OFD Sender: No OFD packet to send [09:41:38]OFD Sender: No OFD packet to send [09:41:43]OFD Sender: No OFD packet to send [09:41:48]OFD Sender: No OFD packet to send [09:41:53]OFD Sender: No OFD packet to send [09:41:58]OFD Sender: No OFD packet to send [09:42:03]OFD Sender: No OFD packet to send [09:42:08]OFD Sender: No OFD packet to send [09:42:13]OFD Sender: No OFD packet to send [09:42:18]OFD Sender: No OFD packet to send [09:42:23]OFD Sender: No OFD packet to send [09:42:28]OFD Sender: No OFD packet to send [09:42:33]OFD Sender: No OFD packet to send [09:42:38]OFD Sender: No OFD packet to send [09:42:43]OFD Sender: No OFD packet to send [09:42:48]OFD Sender: No OFD packet to send [09:42:53]OFD Sender: No OFD packet to send [09:42:58]OFD Sender: No OFD packet to send [09:43:03]OFD Sender: No OFD packet to send [09:43:08]OFD Sender: No OFD packet to send [09:43:13]OFD Sender: No OFD packet to send [09:43:18]OFD Sender: No OFD packet to send [09:43:23]OFD Sender: No OFD packet to send [09:43:28]OFD Sender: No OFD packet to send [09:43:33]OFD Sender: No OFD packet to send [09:43:38]OFD Sender: No OFD packet to send [09:43:43]OFD Sender: No OFD packet to send [09:43:48]OFD Sender: No OFD packet to send [09:43:53]OFD Sender: No OFD packet to send [09:43:58]OFD Sender: No OFD packet to send [09:44:03]OFD Sender: No OFD packet to send [09:44:08]OFD Sender: No OFD packet to send [09:44:13]OFD Sender: No OFD packet to send [09:44:18]OFD Sender: No OFD packet to send [09:44:23]OFD Sender: No OFD packet to send [09:44:28]OFD Sender: No OFD packet to send [09:44:33]OFD Sender: No OFD packet to send [09:44:38]OFD Sender: No OFD packet to send [09:44:43]OFD Sender: No OFD packet to send [09:44:48]OFD Sender: No OFD packet to send [09:44:53]OFD Sender: No OFD packet to send [09:44:58]OFD Sender: No OFD packet to send [09:45:03]OFD Sender: No OFD packet to send [09:45:08]OFD Sender: No OFD packet to send [09:45:13]OFD Sender: No OFD packet to send [09:45:18]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:29]OFD Sender: No OFD packet to send [09:47:34]OFD Sender: No OFD packet to send [09:47:39]OFD Sender: No OFD packet to send [09:47:44]OFD Sender: No OFD packet to send [09:47:49]OFD Sender: No OFD packet to send [09:47:54]OFD Sender: No OFD packet to send [09:47:59]OFD Sender: No OFD packet to send [09:48:04]OFD Sender: No OFD packet to send [09:48:09]OFD Sender: No OFD packet to send [09:48:14]OFD Sender: No OFD packet to send [09:48:19]OFD Sender: No OFD packet to send [09:48:24]OFD Sender: No OFD packet to send [09:48:29]OFD Sender: No OFD packet to send [09:48:34]OFD Sender: No OFD packet to send [09:48:39]OFD Sender: No OFD packet to send [09:48:44]OFD Sender: No OFD packet to send [09:48:49]OFD Sender: No OFD packet to send [09:48:54]OFD Sender: No OFD packet to send [09:48:59]OFD Sender: No OFD packet to send [09:49:04]OFD Sender: No OFD packet to send [09:49:09]OFD Sender: No OFD packet to send [09:49:14]OFD Sender: No OFD packet to send [09:49:19]OFD Sender: No OFD packet to send [09:49:24]OFD Sender: No OFD packet to send [09:49:29]OFD Sender: No OFD packet to send [09:49:34]OFD Sender: No OFD packet to send [09:49:39]OFD Sender: No OFD packet to send [09:49:44]OFD Sender: No OFD packet to send [09:49:49]OFD Sender: No OFD packet to send [09:49:54]OFD Sender: No OFD packet to send [09:49:59]OFD Sender: No OFD packet to send [09:50:04]OFD Sender: No OFD packet to send [09:50:09]OFD Sender: No OFD packet to send [09:50:14]OFD Sender: No OFD packet to send [09:50:19]OFD Sender: No OFD packet to send [09:50:24]OFD Sender: No OFD packet to send [09:50:29]OFD Sender: No OFD packet to send [09:50:34]OFD Sender: No OFD packet to send [09:50:39]OFD Sender: No OFD packet to send [09:50:44]OFD Sender: No OFD packet to send [09:50:49]OFD Sender: No OFD packet to send [09:50:54]OFD Sender: No OFD packet to send [09:50:59]OFD Sender: No OFD packet to send [09:51:04]OFD Sender: No OFD packet to send [09:51:09]OFD Sender: No OFD packet to send [09:51:14]OFD Sender: No OFD packet to send [09:51:19]OFD Sender: No OFD packet to send [09:51:24]OFD Sender: No OFD packet to send [09:51:29]OFD Sender: No OFD packet to send [09:51:34]OFD Sender: No OFD packet to send [09:51:39]OFD Sender: No OFD packet to send [09:51:44]OFD Sender: No OFD packet to send [09:51:49]OFD Sender: No OFD packet to send [09:51:54]OFD Sender: No OFD packet to send [09:51:59]OFD Sender: No OFD packet to send [09:52:04]OFD Sender: No OFD packet to send [09:52:09]OFD Sender: No OFD packet to send [09:52:14]OFD Sender: No OFD packet to send [09:52:19]OFD Sender: No OFD packet to send [09:52:24]OFD Sender: No OFD packet to send [09:52:29]OFD Sender: No OFD packet to send [09:52:34]OFD Sender: No OFD packet to send [09:52:39]OFD Sender: No OFD packet to send [09:52:44]OFD Sender: No OFD packet to send [09:52:49]OFD Sender: No OFD packet to send [09:52:54]OFD Sender: No OFD packet to send [09:52:59]OFD Sender: No OFD packet to send [09:53:04]OFD Sender: No OFD packet to send [09:53:09]OFD Sender: No OFD packet to send [09:53:14]OFD Sender: No OFD packet to send [09:53:19]OFD Sender: No OFD packet to send [09:53:24]OFD Sender: No OFD packet to send [09:53:29]OFD Sender: No OFD packet to send [09:53:34]OFD Sender: No OFD packet to send [09:53:39]OFD Sender: No OFD packet to send [09:53:44]OFD Sender: No OFD packet to send [09:53:49]OFD Sender: No OFD packet to send [09:53:54]OFD Sender: No OFD packet to send [09:53:59]OFD Sender: No OFD packet to send [09:54:04]OFD Sender: No OFD packet to send [09:54:09]OFD Sender: No OFD packet to send [09:54:14]OFD Sender: No OFD packet to send [09:54:19]OFD Sender: No OFD packet to send [09:54:24]OFD Sender: No OFD packet to send [09:54:29]OFD Sender: No OFD packet to send [09:54:34]OFD Sender: No OFD packet to send [09:54:36]accept exits with 9 [09:54:36]New connection [09:54:36]New thread 3067452772 created [09:54:36]Thread 3067596132 joined [09:54:36]Waiting for new connection... [09:54:36] Sock 9.Parse request [09:54:36]Sock 9.Check first char [09:54:36]Sock 9.First char is OK [09:54:36]request: POST /json_proto HTTP/1.0 [09:54:36]Method: POST [09:54:36]URL: /json_proto [09:54:36]Method is POST - this is cgi request [09:54:36]url: /json_proto [09:54:36]query_string will be loaded in cgi processing [09:54:36]execute_cgi json_proto POST (null) [09:54:36]execute_cgi path=json_proto method=POST [09:54:36]POST find Content-Length [09:54:36]Host: 172.17.50.4:8080 [09:54:36]Content-Length: 632 [09:54:36]Content-Type: application/json [09:54:36] [09:54:36]POST finish read [09:54:36]Found Content-Length = 632 [09:54:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134916", "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" ] } } [09:54:36]execute_script... [09:54: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)134916", "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" ] } } [09:54:36]POST & json_proto [09:54:36]process_json_proto [09:54:36]json parsed OK: [09:54:36]protocol is kg_v1.0 [09:54:36]action value=close_receipt [09:54:36]process_action close_receipt [09:54:36]cmd_close_receipt [09:54:36]MH_GetDate [09:54:36]Write to MH i2c: F0 00 00 CE 06 C3 [09:54:36]Write i2c OK [09:54:36]MH_I2C_Read... [09:54:36]Read from MH i2c: F0 [09:54:36]MH_I2C_Read... [09:54:36]Read from MH i2c: F0 09 00 [09:54:36]MH_I2C_Read... [09:54:36]Read from MH i2c: F0 09 00 CE 06 00 5E 76 17 67 3B 12 16 67 E8 [09:54:36]GetLastDocTimeStamp 1729588147 [09:54:36]current date 1729590878 [09:54:36]FM_GetShiftState [09:54:36]SAM_PROTO_GetShiftState [09:54:36]wFMCommunicate request_size=4 [09:54:36]MH_SAM_APDU [09:54:36]CAPDU: 80 13 01 00 [09:54:36]Write to MH i2c: E2 08 00 CF 06 80 13 01 00 00 00 00 00 52 [09:54:36]Write i2c OK [09:54:36]MH_I2C_Read... [09:54:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:36]Read from MH i2c: E2 [09:54:36]MH_I2C_Read... [09:54:36]Read from MH i2c: E2 0E 00 [09:54:36]MH_I2C_Read... [09:54:36]Read from MH i2c: E2 0E 00 CF 06 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 4A [09:54:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:54:36]wFMCommunicate OK [09:54:36]SAM_PROTO_GetShiftState done [09:54:36]FM_GetShiftState done [09:54:36]opened in 1729555332 [09:54:36]opened+sec_in_day 1729641732 [09:54:36]quantity*price = 6000 [09:54:36]sum+1 = 6001 [09:54:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 16 22.10.2024 09:54 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24397 ФПД: 148844974976532 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T095439&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24397&fm=148844974976532&tin=02508201610067®Number=0000000000098120&sum=6000 0 [09:54:37]StoreToDocumentArchive [09:54:37]shift 462 fd 24397 [09:54:37]save to /storage/0462/doc_00024397 [09:54:37]save last doc name /storage/0462/doc_00024397 to /storage/kkm_last_doc_name [09:54:37]save OK [09:54:37]Clear old archive folders... [09:54:37]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:54:37]tlvbuf is 00D69260 [09:54:37]SAM_PROTO_ClearQueue [09:54:37]wFMCommunicate request_size=4 [09:54:37]MH_SAM_APDU [09:54:37]CAPDU: 80 09 00 00 [09:54:37]Write to MH i2c: E2 08 00 DC 06 80 09 00 00 00 00 00 00 54 [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 DC 06 00 90 00 56 [09:54:37]RAPDU: 90 00 [09:54:37]wFMCommunicate OK [09:54:37]SAM_PROTO_ClearQueue done [09:54:37]KKMCreateOFDPacket [09:54:37]OFDProtocolAddRootSTLVToBuf [09:54:37]FM_MakeSignedData [09:54:37]FM_MakeSignedData [09:54:37]SAM_PROTO_SignData [09:54:37]wFMCommunicate request_size=4 [09:54:37]MH_SAM_APDU [09:54:37]CAPDU: 80 0D 01 02 [09:54:37]Write to MH i2c: E2 08 00 DD 06 80 0D 01 02 00 00 00 00 5C [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 DD 06 00 90 00 57 [09:54:37]RAPDU: 90 00 [09:54:37]wFMCommunicate OK [09:54:37]wFMCommunicate request_size=255 [09:54:37]MH_SAM_APDU [09:54:37]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 10 00 00 00 F4 03 04 00 5F 76 17 67 0E 04 04 00 CE 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 [09:54:37]Write to MH i2c: E2 02 01 DE 06 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 10 00 00 00 F4 03 04 00 5F 76 17 67 0E 04 04 00 CE 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 DF [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 DE 06 00 90 00 58 [09:54:37]RAPDU: 90 00 [09:54:37]wFMCommunicate OK [09:54:37]wFMCommunicate request_size=30 [09:54:37]MH_SAM_APDU [09:54:37]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 4D 5F 00 00 35 04 06 00 87 5F AB DC 2E 14 [09:54:37]Write to MH i2c: E2 21 00 DF 06 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 4D 5F 00 00 35 04 06 00 87 5F AB DC 2E 14 00 00 AD [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 03 00 DF 06 00 90 00 59 [09:54:37]RAPDU: 90 00 [09:54:37]wFMCommunicate OK [09:54:37]wFMCommunicate request_size=4 [09:54:37]MH_SAM_APDU [09:54:37]CAPDU: 80 0D 03 02 [09:54:37]Write to MH i2c: E2 08 00 E0 06 80 0D 03 02 00 00 00 00 61 [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 0B 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 0B 00 E0 06 00 08 94 10 40 2B 4E 3F 31 90 00 37 [09:54:37]RAPDU: 08 94 10 40 2B 4E 3F 31 90 00 [09:54:37]wFMCommunicate OK [09:54:37]SAM_PROTO_SignData done [09:54:37]FM_MakeSignedData done [09:54:37]CreateOFDProtocolMessage [09:54:37]wFMCommunicate request_size=4 [09:54:37]MH_SAM_APDU [09:54:37]CAPDU: 80 11 00 00 [09:54:37]Write to MH i2c: E2 08 00 E1 06 80 11 00 00 00 00 00 00 61 [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:37]Read from MH i2c: E2 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 17 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: E2 17 00 E1 06 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:54:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:54:37]wFMCommunicate OK [09:54:37]CreateOFDProtocolMessage done [09:54:37]OFDSenderStorePacket 24397 [09:54:37]StoreOFDPacket docnum=24397 [09:54: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 23 01 00 00 1D FE 1B 01 CA C3 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 10 00 00 00 F4 03 04 00 5F 76 17 67 0E 04 04 00 CE 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 4D 5F 00 00 35 04 06 00 87 5F AB DC 2E 14 08 94 10 40 2B 4E 3F 31 [09:54:37]CheckFolder [09:54:37]dirname=/storage/ofd_packets [09:54:37]CheckFolder done [09:54:37]ProducePacketName [09:54:37]name=ofd_packets/00024397 [09:54:37]NVStorageSaveData ofd_packets/00024397 [09:54:37]File name is /storage/ofd_packets/00024397 [09:54:37]Write 321 bytes [09:54:37]NVStorageSaveData done [09:54:37]OFDSenderStorePacket done [09:54:37]KKMCreateOFDPacket done [09:54:37]NVStorageSaveData kkm_last_timestamp [09:54:37]File name is /storage/kkm_last_timestamp [09:54:37]Write 4 bytes [09:54:37]NVStorageSaveData done [09:54:37]ExternCall_PrintAddStr [09:54:37]wPrintStart [09:54:37]Write to MH i2c: 01 00 00 E2 06 E8 [09:54:37]Write i2c OK [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: 01 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: 01 07 00 [09:54:37]MH_I2C_Read... [09:54:37]Read from MH i2c: 01 07 00 E2 06 00 00 00 00 00 FF 0F FD [09:54:37]RasterBufferAndPrint [09:54:37]line Счет N : (3)134916 [09:54:37]line ИНН: 02508201610067 [09:54:37]line Контрольно-Кассовый Чек [09:54:37]line ПРОДАЖА [09:54:37]line Товар: 4700025313937 [09:54:37]line ВОДКА МЯГКАЯ 0,1л [09:54:37]line 1.000 * 60.00 [09:54:37]line = 60.00 [09:54:37]line НДС 12% НСП 1% [09:54:37]line > о реализуемом товаре [09:54:37]line ИТОГО: 60.00 [09:54:37]line НСП 1% : 0.53 [09:54:37]line НДС 12% : 6.37 [09:54:37]line Наличными: 60.00 [09:54:37]line Безнал.: 0.00 [09:54:37]line Место: АЗС № 85 "Партнер Нефть" [09:54:37]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:54:37]line СНО: Общий режим [09:54:37]line Чек 16 22.10.2024 09:54 [09:54:37]line Смена: 462 ФФД: 1.0 [09:54:37]line ЗНМ: 0300000166 [09:54:37]line РНМ: 0000000000098120 [09:54:37]line Версия ККМ: 001 [09:54:37]line ФМ: 0000000000965420 [09:54:37]line ФД: 24397 [09:54:37]line ФПД: 148844974976532 [09:54:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T095439&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24397&fm=148844974976532&tin=02508201610067®Number=0000000000098120&sum=6000 [09:54:37]line 0 [09:54:37]written 0, free lines is 4095 [09:54:37]OFD Sender: Processing packet 24397 [packets to send 5, broken 4] [09:54:37]ProducePacketName [09:54:37]name=ofd_packets/00024397 [09:54:37]OFD Sender: To server: pG, [09:54:37]CommunicateWithHost lk.salyk.kg:30040 [09:54:37]ConnectInit lk.salyk.kg [09:54:37]Connected sock=10 [09:54: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 23 01 00 00 1D FE 1B 01 CA C3 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 10 00 00 00 F4 03 04 00 5F 76 17 67 0E 04 04 00 CE 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 4D 5F 00 00 35 04 06 00 87 5F AB DC 2E 14 08 94 10 40 2B 4E 3F 31 [09:54: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 B3 EF 47 00 58 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 4D 5F 00 00 F4 03 04 00 02 22 17 67 B6 04 01 00 00 35 FF 7E 27 AD 19 30 B6 [09:54:38]CommunicateWithHost err = 0 [09:54:38]CheckOFDResponse [09:54:38]1017 (14) - 77093643461234 [09:54:38]1041 (16) - 0000000000965420 [09:54:38]1040 (4) - 24397 [09:54:38]1012 (4) - 22.10.2024 03:54 [09:54:38]1206 (1) - 0 [09:54:38]OFD Sender: Remove packet 24397 [09:54:38]ProducePacketName [09:54:38]name=ofd_packets/00024397 [09:54:38]NVStorageDeleteData [09:54:38]Write to MH i2c: 01 00 00 0A 07 11 [09:54:38]Write i2c OK [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: 01 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: 01 07 00 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: 01 07 00 0A 07 00 00 00 00 00 1F 0D 44 [09:54:38]RasterBufferAndPrint [09:54:38]line [09:54:38]line [09:54:38]line [09:54:38]line [09:54:38]line [09:54:38]written 0, free lines is 3364 [09:54:38]process_action close_receipt done [09:54:38]requested_data is exist [09:54:38]produce_requested_data [09:54:38]requested_item fm.sn is exist - process it [09:54:38]wFMCommunicate request_size=4 [09:54:38]MH_SAM_APDU [09:54:38]CAPDU: 80 11 00 00 [09:54:38]Write to MH i2c: E2 08 00 11 07 80 11 00 00 00 00 00 00 92 [09:54:38]Write i2c OK [09:54:38]MH_I2C_Read... [09:54:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:54:38]Read from MH i2c: E2 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 17 00 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 17 00 11 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DF [09:54:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:54:38]wFMCommunicate OK [09:54:38]requested_item fd.num is exist - process it [09:54:38]SAM_PROTO_GetFieldsCounters [09:54:38]wFMCommunicate request_size=4 [09:54:38]MH_SAM_APDU [09:54:38]CAPDU: 80 13 00 00 [09:54:38]Write to MH i2c: E2 08 00 12 07 80 13 00 00 00 00 00 00 95 [09:54:38]Write i2c OK [09:54:38]MH_I2C_Read... [09:54:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:54:38]Read from MH i2c: E2 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 62 00 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 62 00 12 07 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 4D 5F 00 00 0E 04 04 00 CE 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 56 [09:54: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 4D 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:54:38]wFMCommunicate OK [09:54:38]SAM_PROTO_GetFieldsCounters done [09:54:38]requested_item shift.num is exist - process it [09:54:38]requested_item shift.opened is exist - process it [09:54:38]req_shift_opened [09:54:38]FM_GetShiftState [09:54:38]SAM_PROTO_GetShiftState [09:54:38]wFMCommunicate request_size=4 [09:54:38]MH_SAM_APDU [09:54:38]CAPDU: 80 13 01 00 [09:54:38]Write to MH i2c: E2 08 00 13 07 80 13 01 00 00 00 00 00 97 [09:54:38]Write i2c OK [09:54:38]MH_I2C_Read... [09:54:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:54:38]Read from MH i2c: E2 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 0E 00 [09:54:38]MH_I2C_Read... [09:54:38]Read from MH i2c: E2 0E 00 13 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8F [09:54:38]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:54:38]wFMCommunicate OK [09:54:38]SAM_PROTO_GetShiftState done [09:54:38]FM_GetShiftState done [09:54:38]req_shift_opened done [09:54:38]requested_item shift.open_date is exist - process it [09:54:38]req_shift_open_date [09:54:38]req_shift_open_date done [09:54:38]produce_requested_data done [09:54:38]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24397,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:54:38]process_action_free close_receipt [09:54:38]json_value_free [09:54:38]json_value_free done [09:54:38]process_json_proto returns [09:54:38]Send response to host [09:54:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24397,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:54:38]free response buf [09:54:38]execute_script done [09:54:38]execute_script returns [09:54:38]free content buf [09:54:38]Sock 9.Close socket [09:54:38]Sock 9.Thread stoped [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:54]accept exits with 7 [09:55:54]New connection [09:55:54]New thread 3067596132 created [09:55:54]Thread 3067452772 joined [09:55:54]Waiting for new connection... [09:55:54] Sock 7.Parse request [09:55:54]Sock 7.Check first char [09:55:54]Sock 7.First char is OK [09:55:54]request: POST /json_proto HTTP/1.0 [09:55:54]Method: POST [09:55:54]URL: /json_proto [09:55:54]Method is POST - this is cgi request [09:55:54]url: /json_proto [09:55:54]query_string will be loaded in cgi processing [09:55:54]execute_cgi json_proto POST (null) [09:55:54]execute_cgi path=json_proto method=POST [09:55:54]POST find Content-Length [09:55:54]Host: 172.17.50.4:8080 [09:55:54]Content-Length: 632 [09:55:54]Content-Type: application/json [09:55:54] [09:55:54]POST finish read [09:55:54]Found Content-Length = 632 [09:55:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134917", "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" ] } } [09:55:54]execute_script... [09:55:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134917", "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" ] } } [09:55:54]POST & json_proto [09:55:54]process_json_proto [09:55:54]json parsed OK: [09:55:54]protocol is kg_v1.0 [09:55:54]action value=close_receipt [09:55:54]process_action close_receipt [09:55:54]cmd_close_receipt [09:55:54]MH_GetDate [09:55:54]Write to MH i2c: F0 00 00 14 07 0A [09:55:54]Write i2c OK [09:55:54]MH_I2C_Read... [09:55:54]Read from MH i2c: F0 [09:55:54]MH_I2C_Read... [09:55:54]Read from MH i2c: F0 09 00 [09:55:54]MH_I2C_Read... [09:55:54]Read from MH i2c: F0 09 00 14 07 00 AD 76 17 67 3B 12 16 67 7E [09:55:54]GetLastDocTimeStamp 1729590879 [09:55:54]current date 1729590957 [09:55:54]FM_GetShiftState [09:55:54]SAM_PROTO_GetShiftState [09:55:54]wFMCommunicate request_size=4 [09:55:54]MH_SAM_APDU [09:55:54]CAPDU: 80 13 01 00 [09:55:54]Write to MH i2c: E2 08 00 15 07 80 13 01 00 00 00 00 00 99 [09:55:54]Write i2c OK [09:55:54]MH_I2C_Read... [09:55:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:54]Read from MH i2c: E2 [09:55:54]MH_I2C_Read... [09:55:54]Read from MH i2c: E2 0E 00 [09:55:54]MH_I2C_Read... [09:55:54]Read from MH i2c: E2 0E 00 15 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 91 [09:55:54]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:55:54]wFMCommunicate OK [09:55:54]SAM_PROTO_GetShiftState done [09:55:54]FM_GetShiftState done [09:55:54]opened in 1729555332 [09:55:54]opened+sec_in_day 1729641732 [09:55:54]quantity*price = 6000 [09:55:54]sum+1 = 6001 [09:55:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 17 22.10.2024 09:55 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24398 ФПД: 269655155885852 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T095557&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24398&fm=269655155885852&tin=02508201610067®Number=0000000000098120&sum=6000 0 [09:55:56]StoreToDocumentArchive [09:55:56]shift 462 fd 24398 [09:55:56]save to /storage/0462/doc_00024398 [09:55:56]save last doc name /storage/0462/doc_00024398 to /storage/kkm_last_doc_name [09:55:56]save OK [09:55:56]Clear old archive folders... [09:55:56]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:55:56]tlvbuf is 00D5F0E0 [09:55:56]SAM_PROTO_ClearQueue [09:55:56]wFMCommunicate request_size=4 [09:55:56]MH_SAM_APDU [09:55:56]CAPDU: 80 09 00 00 [09:55:56]Write to MH i2c: E2 08 00 22 07 80 09 00 00 00 00 00 00 9B [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 22 07 00 90 00 9D [09:55:56]RAPDU: 90 00 [09:55:56]wFMCommunicate OK [09:55:56]SAM_PROTO_ClearQueue done [09:55:56]KKMCreateOFDPacket [09:55:56]OFDProtocolAddRootSTLVToBuf [09:55:56]FM_MakeSignedData [09:55:56]FM_MakeSignedData [09:55:56]SAM_PROTO_SignData [09:55:56]wFMCommunicate request_size=4 [09:55:56]MH_SAM_APDU [09:55:56]CAPDU: 80 0D 01 02 [09:55:56]Write to MH i2c: E2 08 00 23 07 80 0D 01 02 00 00 00 00 A3 [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 23 07 00 90 00 9E [09:55:56]RAPDU: 90 00 [09:55:56]wFMCommunicate OK [09:55:56]wFMCommunicate request_size=255 [09:55:56]MH_SAM_APDU [09:55:56]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 11 00 00 00 F4 03 04 00 AD 76 17 67 0E 04 04 00 CE 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 [09:55:56]Write to MH i2c: E2 02 01 24 07 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 11 00 00 00 F4 03 04 00 AD 76 17 67 0E 04 04 00 CE 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 75 [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 24 07 00 90 00 9F [09:55:56]RAPDU: 90 00 [09:55:56]wFMCommunicate OK [09:55:56]wFMCommunicate request_size=30 [09:55:56]MH_SAM_APDU [09:55:56]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 4E 5F 00 00 35 04 06 00 F5 3F FB C7 47 1C [09:55:56]Write to MH i2c: E2 21 00 25 07 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 4E 5F 00 00 35 04 06 00 F5 3F FB C7 47 1C 00 00 9F [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 03 00 25 07 00 90 00 A0 [09:55:56]RAPDU: 90 00 [09:55:56]wFMCommunicate OK [09:55:56]wFMCommunicate request_size=4 [09:55:56]MH_SAM_APDU [09:55:56]CAPDU: 80 0D 03 02 [09:55:56]Write to MH i2c: E2 08 00 26 07 80 0D 03 02 00 00 00 00 A8 [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 0B 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 0B 00 26 07 00 63 9F 95 9A AE 39 1B FE 90 00 DA [09:55:56]RAPDU: 63 9F 95 9A AE 39 1B FE 90 00 [09:55:56]wFMCommunicate OK [09:55:56]SAM_PROTO_SignData done [09:55:56]FM_MakeSignedData done [09:55:56]CreateOFDProtocolMessage [09:55:56]wFMCommunicate request_size=4 [09:55:56]MH_SAM_APDU [09:55:56]CAPDU: 80 11 00 00 [09:55:56]Write to MH i2c: E2 08 00 27 07 80 11 00 00 00 00 00 00 A8 [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:56]Read from MH i2c: E2 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 17 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: E2 17 00 27 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F5 [09:55:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:55:56]wFMCommunicate OK [09:55:56]CreateOFDProtocolMessage done [09:55:56]OFDSenderStorePacket 24398 [09:55:56]StoreOFDPacket docnum=24398 [09:55:56]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 07 50 1B 01 1A 32 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 11 00 00 00 F4 03 04 00 AD 76 17 67 0E 04 04 00 CE 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 4E 5F 00 00 35 04 06 00 F5 3F FB C7 47 1C 63 9F 95 9A AE 39 1B FE [09:55:56]CheckFolder [09:55:56]dirname=/storage/ofd_packets [09:55:56]CheckFolder done [09:55:56]ProducePacketName [09:55:56]name=ofd_packets/00024398 [09:55:56]NVStorageSaveData ofd_packets/00024398 [09:55:56]File name is /storage/ofd_packets/00024398 [09:55:56]Write 321 bytes [09:55:56]NVStorageSaveData done [09:55:56]OFDSenderStorePacket done [09:55:56]KKMCreateOFDPacket done [09:55:56]NVStorageSaveData kkm_last_timestamp [09:55:56]File name is /storage/kkm_last_timestamp [09:55:56]Write 4 bytes [09:55:56]NVStorageSaveData done [09:55:56]ExternCall_PrintAddStr [09:55:56]wPrintStart [09:55:56]Write to MH i2c: 01 00 00 28 07 2F [09:55:56]Write i2c OK [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: 01 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: 01 07 00 [09:55:56]MH_I2C_Read... [09:55:56]Read from MH i2c: 01 07 00 28 07 00 00 00 00 00 FF 0F 44 [09:55:56]RasterBufferAndPrint [09:55:56]line Счет N : (3)134917 [09:55:56]line ИНН: 02508201610067 [09:55:56]line Контрольно-Кассовый Чек [09:55:56]line ПРОДАЖА [09:55:56]line Товар: 4700025313937 [09:55:56]line ВОДКА МЯГКАЯ 0,1л [09:55:56]line 1.000 * 60.00 [09:55:56]line = 60.00 [09:55:56]line НДС 12% НСП 1% [09:55:56]line > о реализуемом товаре [09:55:56]line ИТОГО: 60.00 [09:55:56]line НСП 1% : 0.53 [09:55:56]line НДС 12% : 6.37 [09:55:56]line Наличными: 60.00 [09:55:56]line Безнал.: 0.00 [09:55:56]line Место: АЗС № 85 "Партнер Нефть" [09:55:56]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [09:55:56]line СНО: Общий режим [09:55:56]line Чек 17 22.10.2024 09:55 [09:55:56]line Смена: 462 ФФД: 1.0 [09:55:56]line ЗНМ: 0300000166 [09:55:56]line РНМ: 0000000000098120 [09:55:56]line Версия ККМ: 001 [09:55:56]line ФМ: 0000000000965420 [09:55:56]line ФД: 24398 [09:55:56]line ФПД: 269655155885852 [09:55:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T095557&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24398&fm=269655155885852&tin=02508201610067®Number=0000000000098120&sum=6000 [09:55:56]OFD Sender: Processing packet 24398 [packets to send 5, broken 4] [09:55:56]ProducePacketName [09:55:56]name=ofd_packets/00024398 [09:55:56]OFD Sender: To server: pG, [09:55:56]CommunicateWithHost lk.salyk.kg:30040 [09:55:56]ConnectInit lk.salyk.kg [09:55:56]line 0 [09:55:56]written 0, free lines is 4095 [09:55:56]Connected sock=10 [09:55:56]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 07 50 1B 01 1A 32 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 11 00 00 00 F4 03 04 00 AD 76 17 67 0E 04 04 00 CE 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 4E 5F 00 00 35 04 06 00 F5 3F FB C7 47 1C 63 9F 95 9A AE 39 1B FE [09:55: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 38 19 47 00 B9 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 4E 5F 00 00 F4 03 04 00 51 22 17 67 B6 04 01 00 00 F3 49 BE EF 79 1D 26 C6 [09:55:57]CommunicateWithHost err = 0 [09:55:57]CheckOFDResponse [09:55:57]1017 (14) - 77093643461234 [09:55:57]1041 (16) - 0000000000965420 [09:55:57]1040 (4) - 24398 [09:55:57]1012 (4) - 22.10.2024 03:56 [09:55:57]1206 (1) - 0 [09:55:57]OFD Sender: Remove packet 24398 [09:55:57]ProducePacketName [09:55:57]name=ofd_packets/00024398 [09:55:57]NVStorageDeleteData [09:55:57]Write to MH i2c: 01 00 00 50 07 57 [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: 01 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: 01 07 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: 01 07 00 50 07 00 00 00 00 00 27 0D 92 [09:55:57]RasterBufferAndPrint [09:55:57]line [09:55:57]line [09:55:57]line [09:55:57]line [09:55:57]line [09:55:57]written 0, free lines is 3373 [09:55:57]process_action close_receipt done [09:55:57]requested_data is exist [09:55:57]produce_requested_data [09:55:57]requested_item fm.sn is exist - process it [09:55:57]wFMCommunicate request_size=4 [09:55:57]MH_SAM_APDU [09:55:57]CAPDU: 80 11 00 00 [09:55:57]Write to MH i2c: E2 08 00 57 07 80 11 00 00 00 00 00 00 D8 [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:55:57]Read from MH i2c: E2 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 17 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 17 00 57 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 25 [09:55:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [09:55:57]wFMCommunicate OK [09:55:57]requested_item fd.num is exist - process it [09:55:57]SAM_PROTO_GetFieldsCounters [09:55:57]wFMCommunicate request_size=4 [09:55:57]MH_SAM_APDU [09:55:57]CAPDU: 80 13 00 00 [09:55:57]Write to MH i2c: E2 08 00 58 07 80 13 00 00 00 00 00 00 DB [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:55:57]Read from MH i2c: E2 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 62 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 62 00 58 07 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 4E 5F 00 00 0E 04 04 00 CE 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 A0 [09:55:57]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 4E 5F 00 00 0E 04 04 00 CE 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:55:57]wFMCommunicate OK [09:55:57]SAM_PROTO_GetFieldsCounters done [09:55:57]requested_item shift.num is exist - process it [09:55:57]requested_item shift.opened is exist - process it [09:55:57]req_shift_opened [09:55:57]FM_GetShiftState [09:55:57]SAM_PROTO_GetShiftState [09:55:57]wFMCommunicate request_size=4 [09:55:57]MH_SAM_APDU [09:55:57]CAPDU: 80 13 01 00 [09:55:57]Write to MH i2c: E2 08 00 59 07 80 13 01 00 00 00 00 00 DD [09:55:57]Write i2c OK [09:55:57]MH_I2C_Read... [09:55:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:55:57]Read from MH i2c: E2 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 0E 00 [09:55:57]MH_I2C_Read... [09:55:57]Read from MH i2c: E2 0E 00 59 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D5 [09:55:57]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [09:55:57]wFMCommunicate OK [09:55:57]SAM_PROTO_GetShiftState done [09:55:57]FM_GetShiftState done [09:55:57]req_shift_opened done [09:55:57]requested_item shift.open_date is exist - process it [09:55:57]req_shift_open_date [09:55:57]req_shift_open_date done [09:55:57]produce_requested_data done [09:55:57]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24398,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [09:55:57]process_action_free close_receipt [09:55:57]json_value_free [09:55:57]json_value_free done [09:55:57]process_json_proto returns [09:55:57]Send response to host [09:55:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24398,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [09:55:57]free response buf [09:55:57]execute_script done [09:55:57]execute_script returns [09:55:57]free content buf [09:55:57]Sock 7.Close socket [09:55:57]Sock 7.Thread stoped [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:17]OFD Sender: No OFD packet to send [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:18]OFD Sender: No OFD packet to send [10:02:23]OFD Sender: No OFD packet to send [10:02:28]OFD Sender: No OFD packet to send [10:02:33]OFD Sender: No OFD packet to send [10:02:38]OFD Sender: No OFD packet to send [10:02:43]OFD Sender: No OFD packet to send [10:02:48]OFD Sender: No OFD packet to send [10:02:53]OFD Sender: No OFD packet to send [10:02:58]OFD Sender: No OFD packet to send [10:03:03]OFD Sender: No OFD packet to send [10:03:08]OFD Sender: No OFD packet to send [10:03:13]OFD Sender: No OFD packet to send [10:03:18]OFD Sender: No OFD packet to send [10:03:23]OFD Sender: No OFD packet to send [10:03:28]OFD Sender: No OFD packet to send [10:03:33]OFD Sender: No OFD packet to send [10:03:38]OFD Sender: No OFD packet to send [10:03:43]OFD Sender: No OFD packet to send [10:03:48]OFD Sender: No OFD packet to send [10:03:53]OFD Sender: No OFD packet to send [10:03:58]OFD Sender: No OFD packet to send [10:04:03]OFD Sender: No OFD packet to send [10:04:08]OFD Sender: No OFD packet to send [10:04:13]OFD Sender: No OFD packet to send [10:04:18]OFD Sender: No OFD packet to send [10:04:23]OFD Sender: No OFD packet to send [10:04:28]OFD Sender: No OFD packet to send [10:04:33]OFD Sender: No OFD packet to send [10:04:38]OFD Sender: No OFD packet to send [10:04:43]OFD Sender: No OFD packet to send [10:04:48]OFD Sender: No OFD packet to send [10:04:53]OFD Sender: No OFD packet to send [10:04:58]OFD Sender: No OFD packet to send [10:05:03]OFD Sender: No OFD packet to send [10:05:08]OFD Sender: No OFD packet to send [10:05:13]OFD Sender: No OFD packet to send [10:05:18]OFD Sender: No OFD packet to send [10:05:23]OFD Sender: No OFD packet to send [10:05:28]OFD Sender: No OFD packet to send [10:05:33]OFD Sender: No OFD packet to send [10:05:38]OFD Sender: No OFD packet to send [10:05:43]OFD Sender: No OFD packet to send [10:05:48]OFD Sender: No OFD packet to send [10:05:53]OFD Sender: No OFD packet to send [10:05:58]OFD Sender: No OFD packet to send [10:06:03]OFD Sender: No OFD packet to send [10:06:08]OFD Sender: No OFD packet to send [10:06:13]OFD Sender: No OFD packet to send [10:06:18]OFD Sender: No OFD packet to send [10:06:23]OFD Sender: No OFD packet to send [10:06:28]OFD Sender: No OFD packet to send [10:06:33]OFD Sender: No OFD packet to send [10:06:38]OFD Sender: No OFD packet to send [10:06:43]OFD Sender: No OFD packet to send [10:06:48]OFD Sender: No OFD packet to send [10:06:53]OFD Sender: No OFD packet to send [10:06:58]OFD Sender: No OFD packet to send [10:07:03]OFD Sender: No OFD packet to send [10:07:08]OFD Sender: No OFD packet to send [10:07:13]OFD Sender: No OFD packet to send [10:07:18]OFD Sender: No OFD packet to send [10:07:23]OFD Sender: No OFD packet to send [10:07:28]OFD Sender: No OFD packet to send [10:07:33]OFD Sender: No OFD packet to send [10:07:38]OFD Sender: No OFD packet to send [10:07:43]OFD Sender: No OFD packet to send [10:07:48]OFD Sender: No OFD packet to send [10:07:53]OFD Sender: No OFD packet to send [10:07:58]OFD Sender: No OFD packet to send [10:08:03]OFD Sender: No OFD packet to send [10:08:08]OFD Sender: No OFD packet to send [10:08:13]OFD Sender: No OFD packet to send [10:08:18]OFD Sender: No OFD packet to send [10:08:23]OFD Sender: No OFD packet to send [10:08:28]OFD Sender: No OFD packet to send [10:08:33]OFD Sender: No OFD packet to send [10:08:38]OFD Sender: No OFD packet to send [10:08:43]OFD Sender: No OFD packet to send [10:08:48]OFD Sender: No OFD packet to send [10:08:53]OFD Sender: No OFD packet to send [10:08:58]OFD Sender: No OFD packet to send [10:09:03]OFD Sender: No OFD packet to send [10:09:08]OFD Sender: No OFD packet to send [10:09:13]OFD Sender: No OFD packet to send [10:09: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: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:39]recv_with_timeout no data received [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:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]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:54]OFD Sender: No OFD packet to send [10:32:59]OFD Sender: No OFD packet to send [10:33:03]recv_with_timeout no data received [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:50]accept exits with 9 [10:37:50]New connection [10:37:50]New thread 3067452772 created [10:37:50]Thread 3067596132 joined [10:37:50]Waiting for new connection... [10:37:50] Sock 9.Parse request [10:37:50]Sock 9.Check first char [10:37:50]Sock 9.First char is OK [10:37:50]request: POST /json_proto HTTP/1.0 [10:37:50]Method: POST [10:37:50]URL: /json_proto [10:37:50]Method is POST - this is cgi request [10:37:50]url: /json_proto [10:37:50]query_string will be loaded in cgi processing [10:37:50]execute_cgi json_proto POST (null) [10:37:50]execute_cgi path=json_proto method=POST [10:37:50]POST find Content-Length [10:37:50]Host: 172.17.50.4:8080 [10:37:50]Content-Length: 622 [10:37:50]Content-Type: application/json [10:37:50] [10:37:50]POST finish read [10:37:50]Found Content-Length = 622 [10:37:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134918", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:50]execute_script... [10:37:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134918", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:37:50]POST & json_proto [10:37:50]process_json_proto [10:37:50]json parsed OK: [10:37:50]protocol is kg_v1.0 [10:37:50]action value=close_receipt [10:37:50]process_action close_receipt [10:37:50]cmd_close_receipt [10:37:50]MH_GetDate [10:37:50]Write to MH i2c: F0 00 00 5A 07 50 [10:37:50]Write i2c OK [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 09 00 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: F0 09 00 5A 07 00 81 80 17 67 3B 12 16 67 A2 [10:37:50]GetLastDocTimeStamp 1729590957 [10:37:50]current date 1729593473 [10:37:50]FM_GetShiftState [10:37:50]SAM_PROTO_GetShiftState [10:37:50]wFMCommunicate request_size=4 [10:37:50]MH_SAM_APDU [10:37:50]CAPDU: 80 13 01 00 [10:37:50]Write to MH i2c: E2 08 00 5B 07 80 13 01 00 00 00 00 00 DF [10:37:50]Write i2c OK [10:37:50]MH_I2C_Read... [10:37:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:50]Read from MH i2c: E2 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: E2 0E 00 [10:37:50]MH_I2C_Read... [10:37:50]Read from MH i2c: E2 0E 00 5B 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D7 [10:37:50]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [10:37:50]wFMCommunicate OK [10:37:50]SAM_PROTO_GetShiftState done [10:37:50]FM_GetShiftState done [10:37:50]opened in 1729555332 [10:37:50]opened+sec_in_day 1729641732 [10:37:50]quantity*price = 15900 [10:37:50]sum+1 = 15901 [10:37:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 18 22.10.2024 10:37 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24399 ФПД: 106290205393985 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T103753&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24399&fm=106290205393985&tin=02508201610067®Number=0000000000098120&sum=15900 0 [10:37:51]StoreToDocumentArchive [10:37:51]shift 462 fd 24399 [10:37:51]save to /storage/0462/doc_00024399 [10:37:51]save last doc name /storage/0462/doc_00024399 to /storage/kkm_last_doc_name [10:37:51]save OK [10:37:51]Clear old archive folders... [10:37:51]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:37:51]tlvbuf is 00D5ECF0 [10:37:51]SAM_PROTO_ClearQueue [10:37:51]wFMCommunicate request_size=4 [10:37:51]MH_SAM_APDU [10:37:51]CAPDU: 80 09 00 00 [10:37:51]Write to MH i2c: E2 08 00 68 07 80 09 00 00 00 00 00 00 E1 [10:37:51]Write i2c OK [10:37:51]MH_I2C_Read... [10:37:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:37:51]Read from MH i2c: E2 [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 03 00 [10:37:51]MH_I2C_Read... [10:37:51]Read from MH i2c: E2 03 00 68 07 00 90 00 E3 [10:37:51]RAPDU: 90 00 [10:37:51]wFMCommunicate OK [10:37:51]SAM_PROTO_ClearQueue done [10:37:51]KKMCreateOFDPacket [10:37:51]OFDProtocolAddRootSTLVToBuf [10:37:51]FM_MakeSignedData [10:37:51]FM_MakeSignedData [10:37:51]SAM_PROTO_SignData [10:37:51]wFMCommunicate request_size=4 [10:37:51]MH_SAM_APDU [10:37:51]CAPDU: 80 0D 01 02 [10:37:51]Write to MH i2c: E2 08 00 69 07 80 0D 01 02 00 00 00 00 E9 [10:37:51]Write i2c OK [10:37:51]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 69 07 00 90 00 E4 [10:37:52]RAPDU: 90 00 [10:37:52]wFMCommunicate OK [10:37:52]wFMCommunicate request_size=255 [10:37:52]MH_SAM_APDU [10:37:52]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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 81 80 17 67 0E 04 04 00 CE 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 [10:37:52]Write to MH i2c: E2 02 01 6A 07 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 81 80 17 67 0E 04 04 00 CE 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 68 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 6A 07 00 90 00 E5 [10:37:52]RAPDU: 90 00 [10:37:52]wFMCommunicate OK [10:37:52]wFMCommunicate request_size=33 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4F 5F 00 00 35 04 06 00 60 AB 9D EF 84 41 [10:37:52]Write to MH i2c: E2 24 00 6B 07 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4F 5F 00 00 35 04 06 00 60 AB 9D EF 84 41 00 00 7F [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 03 00 6B 07 00 90 00 E6 [10:37:52]RAPDU: 90 00 [10:37:52]wFMCommunicate OK [10:37:52]wFMCommunicate request_size=4 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 0D 03 02 [10:37:52]Write to MH i2c: E2 08 00 6C 07 80 0D 03 02 00 00 00 00 EE [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 0B 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 0B 00 6C 07 00 38 1C 46 6D 87 FE A7 15 90 00 37 [10:37:52]RAPDU: 38 1C 46 6D 87 FE A7 15 90 00 [10:37:52]wFMCommunicate OK [10:37:52]SAM_PROTO_SignData done [10:37:52]FM_MakeSignedData done [10:37:52]CreateOFDProtocolMessage [10:37:52]wFMCommunicate request_size=4 [10:37:52]MH_SAM_APDU [10:37:52]CAPDU: 80 11 00 00 [10:37:52]Write to MH i2c: E2 08 00 6D 07 80 11 00 00 00 00 00 00 EE [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:52]Read from MH i2c: E2 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 17 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: E2 17 00 6D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3B [10:37:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:37:52]wFMCommunicate OK [10:37:52]CreateOFDProtocolMessage done [10:37:52]OFDSenderStorePacket 24399 [10:37:52]StoreOFDPacket docnum=24399 [10:37:52]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 0C BF 1E 01 8C 73 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 81 80 17 67 0E 04 04 00 CE 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 4F 5F 00 00 35 04 06 00 60 AB 9D EF 84 41 38 1C 46 6D 87 FE A7 15 [10:37:52]CheckFolder [10:37:52]dirname=/storage/ofd_packets [10:37:52]CheckFolder done [10:37:52]ProducePacketName [10:37:52]name=ofd_packets/00024399 [10:37:52]NVStorageSaveData ofd_packets/00024399 [10:37:52]File name is /storage/ofd_packets/00024399 [10:37:52]Write 324 bytes [10:37:52]NVStorageSaveData done [10:37:52]OFDSenderStorePacket done [10:37:52]KKMCreateOFDPacket done [10:37:52]NVStorageSaveData kkm_last_timestamp [10:37:52]File name is /storage/kkm_last_timestamp [10:37:52]Write 4 bytes [10:37:52]NVStorageSaveData done [10:37:52]ExternCall_PrintAddStr [10:37:52]wPrintStart [10:37:52]Write to MH i2c: 01 00 00 6E 07 75 [10:37:52]Write i2c OK [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 [10:37:52]MH_I2C_Read... [10:37:52]Read from MH i2c: 01 07 00 6E 07 00 00 00 00 00 FF 0F 8A [10:37:52]RasterBufferAndPrint [10:37:52]line Счет N : (3)134918 [10:37:52]line ИНН: 02508201610067 [10:37:52]line Контрольно-Кассовый Чек [10:37:52]line ПРОДАЖА [10:37:52]line Товар: 4640030091645 [10:37:52]line Сигареты ESSE Exchange M [10:37:52]line 1.000 * 159.00 [10:37:52]line = 159.00 [10:37:52]line НДС 12% НСП 1% [10:37:52]line > о реализуемом товаре [10:37:52]line ИТОГО: 159.00 [10:37:52]line НСП 1% : 1.41 [10:37:52]line НДС 12% : 16.88 [10:37:52]line Наличными: 159.00 [10:37:52]line Безнал.: 0.00 [10:37:52]line Место: АЗС № 85 "Партнер Нефть" [10:37:52]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [10:37:52]line СНО: Общий режим [10:37:52]line Чек 18 22.10.2024 10:37 [10:37:52]line Смена: 462 ФФД: 1.0 [10:37:52]line ЗНМ: 0300000166 [10:37:52]line РНМ: 0000000000098120 [10:37:52]line Версия ККМ: 001 [10:37:52]line ФМ: 0000000000965420 [10:37:52]line ФД: 24399 [10:37:52]line ФПД: 106290205393985 [10:37:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T103753&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24399&fm=106290205393985&tin=02508201610067®Number=0000000000098120&sum=15900 [10:37:52]line 0 [10:37:52]OFD Sender: Processing packet 24399 [packets to send 5, broken 4] [10:37:52]ProducePacketName [10:37:52]name=ofd_packets/00024399 [10:37:52]OFD Sender: To server: pG, [10:37:52]CommunicateWithHost lk.salyk.kg:30040 [10:37:52]ConnectInit lk.salyk.kg [10:37:52]written 0, free lines is 4095 [10:37:52]Connected sock=10 [10:37:52]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 0C BF 1E 01 8C 73 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 81 80 17 67 0E 04 04 00 CE 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 4F 5F 00 00 35 04 06 00 60 AB 9D EF 84 41 38 1C 46 6D 87 FE A7 15 [10:37:53]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 8E 5F 47 00 DD 97 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 4F 5F 00 00 F4 03 04 00 25 2C 17 67 B6 04 01 00 00 FB CC E7 D8 C1 B4 20 D7 [10:37:53]CommunicateWithHost err = 0 [10:37:53]CheckOFDResponse [10:37:53]1017 (14) - 77093643461234 [10:37:53]1041 (16) - 0000000000965420 [10:37:53]1040 (4) - 24399 [10:37:53]1012 (4) - 22.10.2024 04:37 [10:37:53]1206 (1) - 0 [10:37:53]OFD Sender: Remove packet 24399 [10:37:53]ProducePacketName [10:37:53]name=ofd_packets/00024399 [10:37:53]NVStorageDeleteData [10:37:53]Write to MH i2c: 01 00 00 96 07 9D [10:37:53]Write i2c OK [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: 01 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: 01 07 00 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: 01 07 00 96 07 00 00 00 00 00 19 0D CA [10:37:53]RasterBufferAndPrint [10:37:53]line [10:37:53]line [10:37:53]line [10:37:53]line [10:37:53]line [10:37:53]written 0, free lines is 3359 [10:37:53]process_action close_receipt done [10:37:53]requested_data is exist [10:37:53]produce_requested_data [10:37:53]requested_item fm.sn is exist - process it [10:37:53]wFMCommunicate request_size=4 [10:37:53]MH_SAM_APDU [10:37:53]CAPDU: 80 11 00 00 [10:37:53]Write to MH i2c: E2 08 00 9D 07 80 11 00 00 00 00 00 00 1E [10:37:53]Write i2c OK [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 [10:37:53]MH_I2C_Read... [10:37:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:37:53]Read from MH i2c: E2 17 00 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 17 00 9D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6B [10:37:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [10:37:53]wFMCommunicate OK [10:37:53]requested_item fd.num is exist - process it [10:37:53]SAM_PROTO_GetFieldsCounters [10:37:53]wFMCommunicate request_size=4 [10:37:53]MH_SAM_APDU [10:37:53]CAPDU: 80 13 00 00 [10:37:53]Write to MH i2c: E2 08 00 9E 07 80 13 00 00 00 00 00 00 21 [10:37:53]Write i2c OK [10:37:53]MH_I2C_Read... [10:37:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:37:53]Read from MH i2c: E2 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 62 00 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 62 00 9E 07 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 4F 5F 00 00 0E 04 04 00 CE 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 EA [10:37:53]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 4F 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:37:53]wFMCommunicate OK [10:37:53]SAM_PROTO_GetFieldsCounters done [10:37:53]requested_item shift.num is exist - process it [10:37:53]requested_item shift.opened is exist - process it [10:37:53]req_shift_opened [10:37:53]FM_GetShiftState [10:37:53]SAM_PROTO_GetShiftState [10:37:53]wFMCommunicate request_size=4 [10:37:53]MH_SAM_APDU [10:37:53]CAPDU: 80 13 01 00 [10:37:53]Write to MH i2c: E2 08 00 9F 07 80 13 01 00 00 00 00 00 23 [10:37:53]Write i2c OK [10:37:53]MH_I2C_Read... [10:37:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:37:53]Read from MH i2c: E2 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 0E 00 [10:37:53]MH_I2C_Read... [10:37:53]Read from MH i2c: E2 0E 00 9F 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1B [10:37:53]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [10:37:53]wFMCommunicate OK [10:37:53]SAM_PROTO_GetShiftState done [10:37:53]FM_GetShiftState done [10:37:53]req_shift_opened done [10:37:53]requested_item shift.open_date is exist - process it [10:37:53]req_shift_open_date [10:37:53]req_shift_open_date done [10:37:53]produce_requested_data done [10:37:53]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24399,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [10:37:53]process_action_free close_receipt [10:37:53]json_value_free [10:37:53]json_value_free done [10:37:53]process_json_proto returns [10:37:53]Send response to host [10:37:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24399,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [10:37:53]free response buf [10:37:53]execute_script done [10:37:53]execute_script returns [10:37:53]free content buf [10:37:53]Sock 9.Close socket [10:37:53]Sock 9.Thread stoped [10:37:53]OFD Sender: No OFD packet to send [10:37:58]OFD Sender: No OFD packet to send [10:38:03]OFD Sender: No OFD packet to send [10:38:08]OFD Sender: No OFD packet to send [10:38:13]OFD Sender: No OFD packet to send [10:38:18]OFD Sender: No OFD packet to send [10:38:23]OFD Sender: No OFD packet to send [10:38:28]OFD Sender: No OFD packet to send [10:38:33]OFD Sender: No OFD packet to send [10:38:38]OFD Sender: No OFD packet to send [10:38:43]OFD Sender: No OFD packet to send [10:38:48]OFD Sender: No OFD packet to send [10:38:53]OFD Sender: No OFD packet to send [10:38:58]OFD Sender: No OFD packet to send [10:39:03]OFD Sender: No OFD packet to send [10:39:08]OFD Sender: No OFD packet to send [10:39:13]OFD Sender: No OFD packet to send [10:39:18]OFD Sender: No OFD packet to send [10:39:23]OFD Sender: No OFD packet to send [10:39:28]OFD Sender: No OFD packet to send [10:39:33]OFD Sender: No OFD packet to send [10:39:38]OFD Sender: No OFD packet to send [10:39:43]OFD Sender: No OFD packet to send [10:39:48]OFD Sender: No OFD packet to send [10:39:53]OFD Sender: No OFD packet to send [10:39:58]OFD Sender: No OFD packet to send [10:40:03]OFD Sender: No OFD packet to send [10:40:08]OFD Sender: No OFD packet to send [10:40:13]OFD Sender: No OFD packet to send [10:40:18]OFD Sender: No OFD packet to send [10:40:23]OFD Sender: No OFD packet to send [10:40:28]OFD Sender: No OFD packet to send [10:40:33]OFD Sender: No OFD packet to send [10:40:38]OFD Sender: No OFD packet to send [10:40:43]OFD Sender: No OFD packet to send [10:40:48]OFD Sender: No OFD packet to send [10:40:53]OFD Sender: No OFD packet to send [10:40:58]OFD Sender: No OFD packet to send [10:41:03]OFD Sender: No OFD packet to send [10:41:08]OFD Sender: No OFD packet to send [10:41:13]OFD Sender: No OFD packet to send [10:41:18]OFD Sender: No OFD packet to send [10:41:23]OFD Sender: No OFD packet to send [10:41:28]OFD Sender: No OFD packet to send [10:41:33]OFD Sender: No OFD packet to send [10:41:38]OFD Sender: No OFD packet to send [10:41:43]OFD Sender: No OFD packet to send [10:41:48]OFD Sender: No OFD packet to send [10:41:53]OFD Sender: No OFD packet to send [10:41:58]OFD Sender: No OFD packet to send [10:42:03]OFD Sender: No OFD packet to send [10:42:08]OFD Sender: No OFD packet to send [10:42:13]OFD Sender: No OFD packet to send [10:42:18]OFD Sender: No OFD packet to send [10:42:23]OFD Sender: No OFD packet to send [10:42:28]OFD Sender: No OFD packet to send [10:42:33]OFD Sender: No OFD packet to send [10:42:38]OFD Sender: No OFD packet to send [10:42:43]OFD Sender: No OFD packet to send [10:42:48]OFD Sender: No OFD packet to send [10:42:53]OFD Sender: No OFD packet to send [10:42:58]OFD Sender: No OFD packet to send [10:43:03]OFD Sender: No OFD packet to send [10:43:08]OFD Sender: No OFD packet to send [10:43:13]OFD Sender: No OFD packet to send [10:43:18]OFD Sender: No OFD packet to send [10:43:23]OFD Sender: No OFD packet to send [10:43:28]OFD Sender: No OFD packet to send [10:43:33]OFD Sender: No OFD packet to send [10:43:38]OFD Sender: No OFD packet to send [10:43:43]OFD Sender: No OFD packet to send [10:43:48]OFD Sender: No OFD packet to send [10:43:53]OFD Sender: No OFD packet to send [10:43:58]OFD Sender: No OFD packet to send [10:44:03]OFD Sender: No OFD packet to send [10:44:08]OFD Sender: No OFD packet to send [10:44:13]OFD Sender: No OFD packet to send [10:44:18]OFD Sender: No OFD packet to send [10:44:23]OFD Sender: No OFD packet to send [10:44:28]OFD Sender: No OFD packet to send [10:44:33]OFD Sender: No OFD packet to send [10:44:38]OFD Sender: No OFD packet to send [10:44:43]OFD Sender: No OFD packet to send [10:44:48]OFD Sender: No OFD packet to send [10:44:53]OFD Sender: No OFD packet to send [10:44:58]OFD Sender: No OFD packet to send [10:45:03]OFD Sender: No OFD packet to send [10:45:08]OFD Sender: No OFD packet to send [10:45:13]OFD Sender: No OFD packet to send [10:45:18]OFD Sender: No OFD packet to send [10:45:23]OFD Sender: No OFD packet to send [10:45:28]OFD Sender: No OFD packet to send [10:45:33]OFD Sender: No OFD packet to send [10:45:38]OFD Sender: No OFD packet to send [10:45:43]OFD Sender: No OFD packet to send [10:45:48]OFD Sender: No OFD packet to send [10:45:54]OFD Sender: No OFD packet to send [10:45:59]OFD Sender: No OFD packet to send [10:46:04]OFD Sender: No OFD packet to send [10:46:09]OFD Sender: No OFD packet to send [10:46:14]OFD Sender: No OFD packet to send [10:46:19]OFD Sender: No OFD packet to send [10:46:24]OFD Sender: No OFD packet to send [10:46:29]OFD Sender: No OFD packet to send [10:46:34]OFD Sender: No OFD packet to send [10:46:39]OFD Sender: No OFD packet to send [10:46:44]OFD Sender: No OFD packet to send [10:46:49]OFD Sender: No OFD packet to send [10:46:54]OFD Sender: No OFD packet to send [10:46:59]OFD Sender: No OFD packet to send [10:47:04]OFD Sender: No OFD packet to send [10:47:09]OFD Sender: No OFD packet to send [10:47:14]OFD Sender: No OFD packet to send [10:47:19]OFD Sender: No OFD packet to send [10:47:24]OFD Sender: No OFD packet to send [10:47:29]OFD Sender: No OFD packet to send [10:47:34]OFD Sender: No OFD packet to send [10:47:39]OFD Sender: No OFD packet to send [10:47:44]OFD Sender: No OFD packet to send [10:47:49]OFD Sender: No OFD packet to send [10:47:54]OFD Sender: No OFD packet to send [10:47:59]OFD Sender: No OFD packet to send [10:48:04]OFD Sender: No OFD packet to send [10:48:09]OFD Sender: No OFD packet to send [10:48:14]OFD Sender: No OFD packet to send [10:48:19]OFD Sender: No OFD packet to send [10:48:24]OFD Sender: No OFD packet to send [10:48:29]OFD Sender: No OFD packet to send [10:48:34]OFD Sender: No OFD packet to send [10:48:39]OFD Sender: No OFD packet to send [10:48:44]OFD Sender: No OFD packet to send [10:48:49]OFD Sender: No OFD packet to send [10:48:54]OFD Sender: No OFD packet to send [10:48:59]OFD Sender: No OFD packet to send [10:49:04]OFD Sender: No OFD packet to send [10:49:09]OFD Sender: No OFD packet to send [10:49:14]OFD Sender: No OFD packet to send [10:49:19]OFD Sender: No OFD packet to send [10:49:24]OFD Sender: No OFD packet to send [10:49:29]OFD Sender: No OFD packet to send [10:49:34]OFD Sender: No OFD packet to send [10:49:39]OFD Sender: No OFD packet to send [10:49:44]OFD Sender: No OFD packet to send [10:49:49]OFD Sender: No OFD packet to send [10:49:54]OFD Sender: No OFD packet to send [10:49:59]OFD Sender: No OFD packet to send [10:50:04]OFD Sender: No OFD packet to send [10:50:09]OFD Sender: No OFD packet to send [10:50:14]OFD Sender: No OFD packet to send [10:50:19]OFD Sender: No OFD packet to send [10:50:24]OFD Sender: No OFD packet to send [10:50:29]OFD Sender: No OFD packet to send [10:50:34]OFD Sender: No OFD packet to send [10:50:39]OFD Sender: No OFD packet to send [10:50:44]OFD Sender: No OFD packet to send [10:50:49]OFD Sender: No OFD packet to send [10:50:54]OFD Sender: No OFD packet to send [10:50:59]OFD Sender: No OFD packet to send [10:51:04]OFD Sender: No OFD packet to send [10:51:09]OFD Sender: No OFD packet to send [10:51:14]OFD Sender: No OFD packet to send [10:51:19]OFD Sender: No OFD packet to send [10:51:24]OFD Sender: No OFD packet to send [10:51:29]OFD Sender: No OFD packet to send [10:51:34]OFD Sender: No OFD packet to send [10:51:39]OFD Sender: No OFD packet to send [10:51:44]OFD Sender: No OFD packet to send [10:51:49]OFD Sender: No OFD packet to send [10:51:54]OFD Sender: No OFD packet to send [10:51:59]OFD Sender: No OFD packet to send [10:52:04]OFD Sender: No OFD packet to send [10:52:09]OFD Sender: No OFD packet to send [10:52:14]OFD Sender: No OFD packet to send [10:52:19]OFD Sender: No OFD packet to send [10:52:24]OFD Sender: No OFD packet to send [10:52:29]OFD Sender: No OFD packet to send [10:52:34]OFD Sender: No OFD packet to send [10:52:39]OFD Sender: No OFD packet to send [10:52:44]OFD Sender: No OFD packet to send [10:52:49]OFD Sender: No OFD packet to send [10:52:54]OFD Sender: No OFD packet to send [10:52:59]OFD Sender: No OFD packet to send [10:53:04]OFD Sender: No OFD packet to send [10:53:09]OFD Sender: No OFD packet to send [10:53:14]OFD Sender: No OFD packet to send [10:53:19]OFD Sender: No OFD packet to send [10:53:24]OFD Sender: No OFD packet to send [10:53:29]OFD Sender: No OFD packet to send [10:53:34]OFD Sender: No OFD packet to send [10:53:39]OFD Sender: No OFD packet to send [10:53:44]OFD Sender: No OFD packet to send [10:53:49]OFD Sender: No OFD packet to send [10:53:54]OFD Sender: No OFD packet to send [10:53:59]OFD Sender: No OFD packet to send [10:54:04]OFD Sender: No OFD packet to send [10:54:09]OFD Sender: No OFD packet to send [10:54:14]OFD Sender: No OFD packet to send [10:54:19]OFD Sender: No OFD packet to send [10:54:24]OFD Sender: No OFD packet to send [10:54:29]OFD Sender: No OFD packet to send [10:54:34]OFD Sender: No OFD packet to send [10:54:39]OFD Sender: No OFD packet to send [10:54:44]OFD Sender: No OFD packet to send [10:54:49]OFD Sender: No OFD packet to send [10:54:54]OFD Sender: No OFD packet to send [10:54:59]OFD Sender: No OFD packet to send [10:55:04]OFD Sender: No OFD packet to send [10:55:09]OFD Sender: No OFD packet to send [10:55:14]OFD Sender: No OFD packet to send [10:55:19]OFD Sender: No OFD packet to send [10:55:24]OFD Sender: No OFD packet to send [10:55:29]OFD Sender: No OFD packet to send [10:55:34]OFD Sender: No OFD packet to send [10:55:39]OFD Sender: No OFD packet to send [10:55:44]OFD Sender: No OFD packet to send [10:55:49]OFD Sender: No OFD packet to send [10:55:54]OFD Sender: No OFD packet to send [10:55:59]OFD Sender: No OFD packet to send [10:56:04]OFD Sender: No OFD packet to send [10:56:09]OFD Sender: No OFD packet to send [10:56:14]OFD Sender: No OFD packet to send [10:56:19]OFD Sender: No OFD packet to send [10:56:24]OFD Sender: No OFD packet to send [10:56:29]OFD Sender: No OFD packet to send [10:56:34]OFD Sender: No OFD packet to send [10:56:39]OFD Sender: No OFD packet to send [10:56:44]OFD Sender: No OFD packet to send [10:56:49]OFD Sender: No OFD packet to send [10:56:54]OFD Sender: No OFD packet to send [10:56:59]OFD Sender: No OFD packet to send [10:57:04]OFD Sender: No OFD packet to send [10:57:09]OFD Sender: No OFD packet to send [10:57:14]OFD Sender: No OFD packet to send [10:57:19]OFD Sender: No OFD packet to send [10:57:24]OFD Sender: No OFD packet to send [10:57:29]OFD Sender: No OFD packet to send [10:57:34]OFD Sender: No OFD packet to send [10:57:39]OFD Sender: No OFD packet to send [10:57:44]OFD Sender: No OFD packet to send [10:57:49]OFD Sender: No OFD packet to send [10:57:54]OFD Sender: No OFD packet to send [10:57:59]OFD Sender: No OFD packet to send [10:58:04]OFD Sender: No OFD packet to send [10:58:09]OFD Sender: No OFD packet to send [10:58:14]OFD Sender: No OFD packet to send [10:58:19]OFD Sender: No OFD packet to send [10:58:24]OFD Sender: No OFD packet to send [10:58:29]OFD Sender: No OFD packet to send [10:58:34]OFD Sender: No OFD packet to send [10:58:39]OFD Sender: No OFD packet to send [10:58:44]OFD Sender: No OFD packet to send [10:58:49]OFD Sender: No OFD packet to send [10:58:54]OFD Sender: No OFD packet to send [10:58:59]OFD Sender: No OFD packet to send [10:59:04]OFD Sender: No OFD packet to send [10:59:09]OFD Sender: No OFD packet to send [10:59:14]OFD Sender: No OFD packet to send [10:59:19]OFD Sender: No OFD packet to send [10:59:24]OFD Sender: No OFD packet to send [10:59:29]OFD Sender: No OFD packet to send [10:59:34]OFD Sender: No OFD packet to send [10:59:39]OFD Sender: No OFD packet to send [10:59:44]OFD Sender: No OFD packet to send [10:59:49]OFD Sender: No OFD packet to send [10:59:54]OFD Sender: No OFD packet to send [10:59:59]OFD Sender: No OFD packet to send [11:00:04]OFD Sender: No OFD packet to send [11:00:09]OFD Sender: No OFD packet to send [11:00:14]OFD Sender: No OFD packet to send [11:00:19]OFD Sender: No OFD packet to send [11:00:24]OFD Sender: No OFD packet to send [11:00:29]OFD Sender: No OFD packet to send [11:00:34]OFD Sender: No OFD packet to send [11:00:39]OFD Sender: No OFD packet to send [11:00:44]OFD Sender: No OFD packet to send [11:00:49]OFD Sender: No OFD packet to send [11:00:54]OFD Sender: No OFD packet to send [11:00:59]OFD Sender: No OFD packet to send [11:01:04]OFD Sender: No OFD packet to send [11:01:09]OFD Sender: No OFD packet to send [11:01:14]OFD Sender: No OFD packet to send [11:01:19]OFD Sender: No OFD packet to send [11:01:24]OFD Sender: No OFD packet to send [11:01:29]OFD Sender: No OFD packet to send [11:01:34]OFD Sender: No OFD packet to send [11:01:39]OFD Sender: No OFD packet to send [11:01:44]OFD Sender: No OFD packet to send [11:01:49]OFD Sender: No OFD packet to send [11:01:54]OFD Sender: No OFD packet to send [11:01:59]OFD Sender: No OFD packet to send [11:02:04]OFD Sender: No OFD packet to send [11:02:09]OFD Sender: No OFD packet to send [11:02:14]OFD Sender: No OFD packet to send [11:02:19]OFD Sender: No OFD packet to send [11:02:24]OFD Sender: No OFD packet to send [11:02:29]OFD Sender: No OFD packet to send [11:02:34]OFD Sender: No OFD packet to send [11:02:39]OFD Sender: No OFD packet to send [11:02:44]OFD Sender: No OFD packet to send [11:02:49]OFD Sender: No OFD packet to send [11:02:54]OFD Sender: No OFD packet to send [11:02:59]OFD Sender: No OFD packet to send [11:03:04]OFD Sender: No OFD packet to send [11:03:09]OFD Sender: No OFD packet to send [11:03:14]OFD Sender: No OFD packet to send [11:03:19]OFD Sender: No OFD packet to send [11:03:24]OFD Sender: No OFD packet to send [11:03:29]OFD Sender: No OFD packet to send [11:03:34]OFD Sender: No OFD packet to send [11:03:39]OFD Sender: No OFD packet to send [11:03:44]OFD Sender: No OFD packet to send [11:03:49]OFD Sender: No OFD packet to send [11:03:54]OFD Sender: No OFD packet to send [11:03:59]OFD Sender: No OFD packet to send [11:04:04]OFD Sender: No OFD packet to send [11:04:09]OFD Sender: No OFD packet to send [11:04:14]OFD Sender: No OFD packet to send [11:04:19]OFD Sender: No OFD packet to send [11:04:24]OFD Sender: No OFD packet to send [11:04:29]OFD Sender: No OFD packet to send [11:04:34]OFD Sender: No OFD packet to send [11:04:39]OFD Sender: No OFD packet to send [11:04:44]OFD Sender: No OFD packet to send [11:04:49]OFD Sender: No OFD packet to send [11:04:54]OFD Sender: No OFD packet to send [11:04:59]OFD Sender: No OFD packet to send [11:05:04]OFD Sender: No OFD packet to send [11:05:09]OFD Sender: No OFD packet to send [11:05:14]OFD Sender: No OFD packet to send [11:05:19]OFD Sender: No OFD packet to send [11:05:24]OFD Sender: No OFD packet to send [11:05:29]OFD Sender: No OFD packet to send [11:05:34]OFD Sender: No OFD packet to send [11:05:39]OFD Sender: No OFD packet to send [11:05:44]OFD Sender: No OFD packet to send [11:05:46]accept exits with 7 [11:05:46]New connection [11:05:46]New thread 3067596132 created [11:05:46]Thread 3067452772 joined [11:05:46]Waiting for new connection... [11:05:46] Sock 7.Parse request [11:05:46]Sock 7.Check first char [11:05:46]Sock 7.First char is OK [11:05:46]request: POST /json_proto HTTP/1.0 [11:05:46]Method: POST [11:05:46]URL: /json_proto [11:05:46]Method is POST - this is cgi request [11:05:46]url: /json_proto [11:05:46]query_string will be loaded in cgi processing [11:05:46]execute_cgi json_proto POST (null) [11:05:46]execute_cgi path=json_proto method=POST [11:05:46]POST find Content-Length [11:05:46]Host: 172.17.50.4:8080 [11:05:46]Content-Length: 693 [11:05:46]Content-Type: application/json [11:05:46] [11:05:46]POST finish read [11:05:46]Found Content-Length = 693 [11:05:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134919", "tax_sys" : 0, "items" : [ { "code": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:46]execute_script... [11:05: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)134919", "tax_sys" : 0, "items" : [ { "code": "4601025112370", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0440\u0443\u0442\u043C\u043E\u0442\u0438\u0432 \u0433\u0440\u0430\u043D\u0430\u0442 0,5", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 85.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:46]POST & json_proto [11:05:46]process_json_proto [11:05:46]json parsed OK: [11:05:46]protocol is kg_v1.0 [11:05:46]action value=close_receipt [11:05:46]process_action close_receipt [11:05:46]cmd_close_receipt [11:05:46]MH_GetDate [11:05:46]Write to MH i2c: F0 00 00 A0 07 96 [11:05:46]Write i2c OK [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 09 00 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: F0 09 00 A0 07 00 0D 87 17 67 3B 12 16 67 7B [11:05:46]GetLastDocTimeStamp 1729593473 [11:05:46]current date 1729595149 [11:05:46]FM_GetShiftState [11:05:46]SAM_PROTO_GetShiftState [11:05:46]wFMCommunicate request_size=4 [11:05:46]MH_SAM_APDU [11:05:46]CAPDU: 80 13 01 00 [11:05:46]Write to MH i2c: E2 08 00 A1 07 80 13 01 00 00 00 00 00 25 [11:05:46]Write i2c OK [11:05:46]MH_I2C_Read... [11:05:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:46]Read from MH i2c: E2 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: E2 0E 00 [11:05:46]MH_I2C_Read... [11:05:46]Read from MH i2c: E2 0E 00 A1 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1D [11:05:46]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:05:46]wFMCommunicate OK [11:05:46]SAM_PROTO_GetShiftState done [11:05:46]FM_GetShiftState done [11:05:46]opened in 1729555332 [11:05:46]opened+sec_in_day 1729641732 [11:05:46]quantity*price = 8500 [11:05:46]sum+1 = 8501 [11:05:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 19 22.10.2024 11:05 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24400 ФПД: 53853960009581 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T110549&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24400&fm=53853960009581&tin=02508201610067®Number=0000000000098120&sum=8500 0 [11:05:47]StoreToDocumentArchive [11:05:47]shift 462 fd 24400 [11:05:47]save to /storage/0462/doc_00024400 [11:05:47]save last doc name /storage/0462/doc_00024400 to /storage/kkm_last_doc_name [11:05:47]save OK [11:05:47]Clear old archive folders... [11:05:47]ProcessDocumentItem done err = 0, tmpTLVsize=292 [11:05:47]tlvbuf is 00D64CA0 [11:05:47]SAM_PROTO_ClearQueue [11:05:47]wFMCommunicate request_size=4 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 09 00 00 [11:05:47]Write to MH i2c: E2 08 00 AE 07 80 09 00 00 00 00 00 00 27 [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:47]Read from MH i2c: E2 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 [11:05:47]MH_I2C_Read... [11:05:47]Read from MH i2c: E2 03 00 AE 07 00 90 00 29 [11:05:47]RAPDU: 90 00 [11:05:47]wFMCommunicate OK [11:05:47]SAM_PROTO_ClearQueue done [11:05:47]KKMCreateOFDPacket [11:05:47]OFDProtocolAddRootSTLVToBuf [11:05:47]FM_MakeSignedData [11:05:47]FM_MakeSignedData [11:05:47]SAM_PROTO_SignData [11:05:47]wFMCommunicate request_size=4 [11:05:47]MH_SAM_APDU [11:05:47]CAPDU: 80 0D 01 02 [11:05:47]Write to MH i2c: E2 08 00 AF 07 80 0D 01 02 00 00 00 00 2F [11:05:47]Write i2c OK [11:05:47]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 AF 07 00 90 00 2A [11:05:48]RAPDU: 90 00 [11:05:48]wFMCommunicate OK [11:05:48]wFMCommunicate request_size=255 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 0D 02 02 FA 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 0D 87 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 [11:05:48]Write to MH i2c: E2 02 01 B0 07 80 0D 02 02 FA 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 0D 87 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 00 00 A1 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 B0 07 00 90 00 2B [11:05:48]RAPDU: 90 00 [11:05:48]wFMCommunicate OK [11:05:48]wFMCommunicate request_size=51 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 0D 02 02 2E 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 50 5F 00 00 35 04 06 00 30 FA DA 27 F7 6D [11:05:48]Write to MH i2c: E2 36 00 B1 07 80 0D 02 02 2E 00 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 50 5F 00 00 35 04 06 00 30 FA DA 27 F7 6D 00 00 F6 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 03 00 B1 07 00 90 00 2C [11:05:48]RAPDU: 90 00 [11:05:48]wFMCommunicate OK [11:05:48]wFMCommunicate request_size=4 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 0D 03 02 [11:05:48]Write to MH i2c: E2 08 00 B2 07 80 0D 03 02 00 00 00 00 34 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 0B 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 0B 00 B2 07 00 6F E3 11 67 70 C5 71 99 90 00 3E [11:05:48]RAPDU: 6F E3 11 67 70 C5 71 99 90 00 [11:05:48]wFMCommunicate OK [11:05:48]SAM_PROTO_SignData done [11:05:48]FM_MakeSignedData done [11:05:48]CreateOFDProtocolMessage [11:05:48]wFMCommunicate request_size=4 [11:05:48]MH_SAM_APDU [11:05:48]CAPDU: 80 11 00 00 [11:05:48]Write to MH i2c: E2 08 00 B3 07 80 11 00 00 00 00 00 00 34 [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:48]Read from MH i2c: E2 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 17 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: E2 17 00 B3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 81 [11:05:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:05:48]wFMCommunicate OK [11:05:48]CreateOFDProtocolMessage done [11:05:48]OFDSenderStorePacket 24400 [11:05:48]StoreOFDPacket docnum=24400 [11:05: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 38 01 00 00 A5 0D 30 01 0E 96 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 0D 87 17 67 0E 04 04 00 CE 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 50 5F 00 00 35 04 06 00 30 FA DA 27 F7 6D 6F E3 11 67 70 C5 71 99 [11:05:48]CheckFolder [11:05:48]dirname=/storage/ofd_packets [11:05:48]CheckFolder done [11:05:48]ProducePacketName [11:05:48]name=ofd_packets/00024400 [11:05:48]NVStorageSaveData ofd_packets/00024400 [11:05:48]File name is /storage/ofd_packets/00024400 [11:05:48]Write 342 bytes [11:05:48]NVStorageSaveData done [11:05:48]OFDSenderStorePacket done [11:05:48]KKMCreateOFDPacket done [11:05:48]NVStorageSaveData kkm_last_timestamp [11:05:48]File name is /storage/kkm_last_timestamp [11:05:48]Write 4 bytes [11:05:48]NVStorageSaveData done [11:05:48]ExternCall_PrintAddStr [11:05:48]wPrintStart [11:05:48]Write to MH i2c: 01 00 00 B4 07 BB [11:05:48]Write i2c OK [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 [11:05:48]MH_I2C_Read... [11:05:48]Read from MH i2c: 01 07 00 B4 07 00 00 00 00 00 FF 0F D0 [11:05:48]RasterBufferAndPrint [11:05:48]line Счет N : (3)134919 [11:05:48]line ИНН: 02508201610067 [11:05:48]line Контрольно-Кассовый Чек [11:05:48]line ПРОДАЖА [11:05:48]line Товар: 4601025112370 [11:05:48]line Напиток Фрутмотив гранат 0,5 [11:05:48]line 1.000 * 85.00 [11:05:48]line = 85.00 [11:05:48]line НДС 12% НСП 1% [11:05:48]line > о реализуемом товаре [11:05:48]line ИТОГО: 85.00 [11:05:48]line НСП 1% : 0.75 [11:05:48]line НДС 12% : 9.03 [11:05:48]line Наличными: 85.00 [11:05:48]line Безнал.: 0.00 [11:05:48]line Место: АЗС № 85 "Партнер Нефть" [11:05:48]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:05:48]line СНО: Общий режим [11:05:48]line Чек 19 22.10.2024 11:05 [11:05:48]line Смена: 462 ФФД: 1.0 [11:05:48]line ЗНМ: 0300000166 [11:05:48]line РНМ: 0000000000098120 [11:05:48]line Версия ККМ: 001 [11:05:48]line ФМ: 0000000000965420 [11:05:48]line ФД: 24400 [11:05:48]line ФПД: 53853960009581 [11:05:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T110549&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24400&fm=53853960009581&tin=02508201610067®Number=0000000000098120&sum=8500 [11:05:48]OFD Sender: Processing packet 24400 [packets to send 5, broken 4] [11:05:48]ProducePacketName [11:05:48]name=ofd_packets/00024400 [11:05:48]OFD Sender: To server: pG, [11:05:48]CommunicateWithHost lk.salyk.kg:30040 [11:05:48]ConnectInit lk.salyk.kg [11:05:48]line 0 [11:05:48]written 0, free lines is 4095 [11:05:48]Connected sock=11 [11:05: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 38 01 00 00 A5 0D 30 01 0E 96 5A 03 01 00 03 00 24 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 36 30 31 30 32 35 31 31 32 33 37 30 06 04 32 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D1 80 D1 83 D1 82 D0 BC D0 BE D1 82 D0 B8 D0 B2 20 D0 B3 D1 80 D0 B0 D0 BD D0 B0 D1 82 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 21 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 87 03 00 00 00 00 07 04 06 00 34 21 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 0D 87 17 67 0E 04 04 00 CE 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 50 5F 00 00 35 04 06 00 30 FA DA 27 F7 6D 6F E3 11 67 70 C5 71 99 [11:05: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 28 3F 47 00 CD 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 50 5F 00 00 F4 03 04 00 B1 32 17 67 B6 04 01 00 00 A3 91 6F FE 26 37 B0 20 [11:05:49]CommunicateWithHost err = 0 [11:05:49]CheckOFDResponse [11:05:49]1017 (14) - 77093643461234 [11:05:49]1041 (16) - 0000000000965420 [11:05:49]1040 (4) - 24400 [11:05:49]1012 (4) - 22.10.2024 05:05 [11:05:49]1206 (1) - 0 [11:05:49]OFD Sender: Remove packet 24400 [11:05:49]ProducePacketName [11:05:49]name=ofd_packets/00024400 [11:05:49]NVStorageDeleteData [11:05:49]Write to MH i2c: 01 00 00 DD 07 E4 [11:05:49]Write i2c OK [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: 01 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: 01 07 00 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: 01 07 00 DD 07 00 00 00 00 00 F5 0C EC [11:05:49]RasterBufferAndPrint [11:05:49]line [11:05:49]line [11:05:49]line [11:05:49]line [11:05:49]line [11:05:49]written 0, free lines is 3324 [11:05:49]process_action close_receipt done [11:05:49]requested_data is exist [11:05:49]produce_requested_data [11:05:49]requested_item fm.sn is exist - process it [11:05:49]wFMCommunicate request_size=4 [11:05:49]MH_SAM_APDU [11:05:49]CAPDU: 80 11 00 00 [11:05:49]Write to MH i2c: E2 08 00 E4 07 80 11 00 00 00 00 00 00 65 [11:05:49]Write i2c OK [11:05:49]MH_I2C_Read... [11:05:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:49]Read from MH i2c: E2 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 17 00 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 17 00 E4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B2 [11:05:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:05:49]wFMCommunicate OK [11:05:49]requested_item fd.num is exist - process it [11:05:49]SAM_PROTO_GetFieldsCounters [11:05:49]wFMCommunicate request_size=4 [11:05:49]MH_SAM_APDU [11:05:49]CAPDU: 80 13 00 00 [11:05:49]Write to MH i2c: E2 08 00 E5 07 80 13 00 00 00 00 00 00 68 [11:05:49]Write i2c OK [11:05:49]MH_I2C_Read... [11:05:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:49]Read from MH i2c: E2 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 62 00 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 62 00 E5 07 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 50 5F 00 00 0E 04 04 00 CE 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 35 [11:05: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 50 5F 00 00 0E 04 04 00 CE 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 [11:05:49]wFMCommunicate OK [11:05:49]SAM_PROTO_GetFieldsCounters done [11:05:49]requested_item shift.num is exist - process it [11:05:49]requested_item shift.opened is exist - process it [11:05:49]req_shift_opened [11:05:49]FM_GetShiftState [11:05:49]SAM_PROTO_GetShiftState [11:05:49]wFMCommunicate request_size=4 [11:05:49]MH_SAM_APDU [11:05:49]CAPDU: 80 13 01 00 [11:05:49]Write to MH i2c: E2 08 00 E6 07 80 13 01 00 00 00 00 00 6A [11:05:49]Write i2c OK [11:05:49]MH_I2C_Read... [11:05:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:49]Read from MH i2c: E2 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 0E 00 [11:05:49]MH_I2C_Read... [11:05:49]Read from MH i2c: E2 0E 00 E6 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 62 [11:05:49]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:05:49]wFMCommunicate OK [11:05:49]SAM_PROTO_GetShiftState done [11:05:49]FM_GetShiftState done [11:05:49]req_shift_opened done [11:05:49]requested_item shift.open_date is exist - process it [11:05:49]req_shift_open_date [11:05:49]req_shift_open_date done [11:05:49]produce_requested_data done [11:05:49]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24400,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:05:49]process_action_free close_receipt [11:05:49]json_value_free [11:05:49]json_value_free done [11:05:49]process_json_proto returns [11:05:49]Send response to host [11:05:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24400,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:05:49]free response buf [11:05:49]execute_script done [11:05:49]execute_script returns [11:05:49]free content buf [11:05:49]Sock 7.Close socket [11:05:49]Sock 7.Thread stoped [11:05:49]OFD Sender: No OFD packet to send [11:05:54]OFD Sender: No OFD packet to send [11:05:59]OFD Sender: No OFD packet to send [11:06:04]OFD Sender: No OFD packet to send [11:06:09]OFD Sender: No OFD packet to send [11:06:14]OFD Sender: No OFD packet to send [11:06:19]OFD Sender: No OFD packet to send [11:06:24]OFD Sender: No OFD packet to send [11:06:29]OFD Sender: No OFD packet to send [11:06:34]OFD Sender: No OFD packet to send [11:06:39]OFD Sender: No OFD packet to send [11:06:44]OFD Sender: No OFD packet to send [11:06:49]OFD Sender: No OFD packet to send [11:06:54]OFD Sender: No OFD packet to send [11:06:59]OFD Sender: No OFD packet to send [11:07:04]OFD Sender: No OFD packet to send [11:07:09]OFD Sender: No OFD packet to send [11:07:14]OFD Sender: No OFD packet to send [11:07:19]OFD Sender: No OFD packet to send [11:07:24]OFD Sender: No OFD packet to send [11:07:29]OFD Sender: No OFD packet to send [11:07:34]OFD Sender: No OFD packet to send [11:07:39]OFD Sender: No OFD packet to send [11:07:44]OFD Sender: No OFD packet to send [11:07:49]OFD Sender: No OFD packet to send [11:07:54]OFD Sender: No OFD packet to send [11:07:59]OFD Sender: No OFD packet to send [11:08:04]OFD Sender: No OFD packet to send [11:08:09]OFD Sender: No OFD packet to send [11:08:14]OFD Sender: No OFD packet to send [11:08:19]OFD Sender: No OFD packet to send [11:08:24]OFD Sender: No OFD packet to send [11:08:29]OFD Sender: No OFD packet to send [11:08:34]OFD Sender: No OFD packet to send [11:08:39]OFD Sender: No OFD packet to send [11:08:44]OFD Sender: No OFD packet to send [11:08:49]OFD Sender: No OFD packet to send [11:08:54]OFD Sender: No OFD packet to send [11:08:59]OFD Sender: No OFD packet to send [11:09:04]OFD Sender: No OFD packet to send [11:09:09]OFD Sender: No OFD packet to send [11:09:14]OFD Sender: No OFD packet to send [11:09:19]OFD Sender: No OFD packet to send [11:09:24]OFD Sender: No OFD packet to send [11:09:29]OFD Sender: No OFD packet to send [11:09:34]OFD Sender: No OFD packet to send [11:09:39]OFD Sender: No OFD packet to send [11:09:44]OFD Sender: No OFD packet to send [11:09:49]OFD Sender: No OFD packet to send [11:09:54]OFD Sender: No OFD packet to send [11:09:59]OFD Sender: No OFD packet to send [11:10:04]OFD Sender: No OFD packet to send [11:10:09]OFD Sender: No OFD packet to send [11:10:14]OFD Sender: No OFD packet to send [11:10:19]OFD Sender: No OFD packet to send [11:10:24]OFD Sender: No OFD packet to send [11:10:29]OFD Sender: No OFD packet to send [11:10:34]OFD Sender: No OFD packet to send [11:10:39]OFD Sender: No OFD packet to send [11:10:44]OFD Sender: No OFD packet to send [11:10:49]OFD Sender: No OFD packet to send [11:10:54]OFD Sender: No OFD packet to send [11:10:59]OFD Sender: No OFD packet to send [11:11:04]OFD Sender: No OFD packet to send [11:11:09]OFD Sender: No OFD packet to send [11:11:14]OFD Sender: No OFD packet to send [11:11:19]OFD Sender: No OFD packet to send [11:11:24]OFD Sender: No OFD packet to send [11:11:29]OFD Sender: No OFD packet to send [11:11:34]OFD Sender: No OFD packet to send [11:11:39]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:10]OFD Sender: No OFD packet to send [11:13:15]OFD Sender: No OFD packet to send [11:13:20]OFD Sender: No OFD packet to send [11:13:25]OFD Sender: No OFD packet to send [11:13:30]OFD Sender: No OFD packet to send [11:13:35]OFD Sender: No OFD packet to send [11:13:40]OFD Sender: No OFD packet to send [11:13:45]OFD Sender: No OFD packet to send [11:13:50]OFD Sender: No OFD packet to send [11:13:55]OFD Sender: No OFD packet to send [11:14:00]OFD Sender: No OFD packet to send [11:14:05]OFD Sender: No OFD packet to send [11:14:10]OFD Sender: No OFD packet to send [11:14:15]OFD Sender: No OFD packet to send [11:14:20]OFD Sender: No OFD packet to send [11:14:25]OFD Sender: No OFD packet to send [11:14:30]OFD Sender: No OFD packet to send [11:14:35]OFD Sender: No OFD packet to send [11:14:40]OFD Sender: No OFD packet to send [11:14:45]OFD Sender: No OFD packet to send [11:14:50]OFD Sender: No OFD packet to send [11:14:55]OFD Sender: No OFD packet to send [11:15:00]OFD Sender: No OFD packet to send [11:15:05]OFD Sender: No OFD packet to send [11:15:10]OFD Sender: No OFD packet to send [11:15:15]OFD Sender: No OFD packet to send [11:15:20]OFD Sender: No OFD packet to send [11:15:25]OFD Sender: No OFD packet to send [11:15:30]OFD Sender: No OFD packet to send [11:15:35]OFD Sender: No OFD packet to send [11:15:40]OFD Sender: No OFD packet to send [11:15:45]OFD Sender: No OFD packet to send [11:15:50]OFD Sender: No OFD packet to send [11:15:55]OFD Sender: No OFD packet to send [11:16:00]OFD Sender: No OFD packet to send [11:16:05]OFD Sender: No OFD packet to send [11:16:10]OFD Sender: No OFD packet to send [11:16:15]OFD Sender: No OFD packet to send [11:16:20]OFD Sender: No OFD packet to send [11:16:25]OFD Sender: No OFD packet to send [11:16:30]OFD Sender: No OFD packet to send [11:16:35]OFD Sender: No OFD packet to send [11:16:40]OFD Sender: No OFD packet to send [11:16:45]OFD Sender: No OFD packet to send [11:16:50]OFD Sender: No OFD packet to send [11:16:55]OFD Sender: No OFD packet to send [11:17:00]OFD Sender: No OFD packet to send [11:17:05]OFD Sender: No OFD packet to send [11:17:10]OFD Sender: No OFD packet to send [11:17:15]OFD Sender: No OFD packet to send [11:17:20]OFD Sender: No OFD packet to send [11:17:25]OFD Sender: No OFD packet to send [11:17:30]OFD Sender: No OFD packet to send [11:17:35]OFD Sender: No OFD packet to send [11:17:40]OFD Sender: No OFD packet to send [11:17:45]OFD Sender: No OFD packet to send [11:17:50]OFD Sender: No OFD packet to send [11:17:55]OFD Sender: No OFD packet to send [11:18:00]OFD Sender: No OFD packet to send [11:18:05]OFD Sender: No OFD packet to send [11:18:10]OFD Sender: No OFD packet to send [11:18:15]OFD Sender: No OFD packet to send [11:18:20]OFD Sender: No OFD packet to send [11:18:25]OFD Sender: No OFD packet to send [11:18:30]OFD Sender: No OFD packet to send [11:18:35]OFD Sender: No OFD packet to send [11:18:40]OFD Sender: No OFD packet to send [11:18:45]OFD Sender: No OFD packet to send [11:18:50]OFD Sender: No OFD packet to send [11:18:55]OFD Sender: No OFD packet to send [11:19:00]OFD Sender: No OFD packet to send [11:19:05]OFD Sender: No OFD packet to send [11:19:10]OFD Sender: No OFD packet to send [11:19:15]OFD Sender: No OFD packet to send [11:19:20]OFD Sender: No OFD packet to send [11:19:25]OFD Sender: No OFD packet to send [11:19:30]OFD Sender: No OFD packet to send [11:19:35]OFD Sender: No OFD packet to send [11:19:40]OFD Sender: No OFD packet to send [11:19:45]OFD Sender: No OFD packet to send [11:19:50]OFD Sender: No OFD packet to send [11:19:55]OFD Sender: No OFD packet to send [11:20:00]OFD Sender: No OFD packet to send [11:20:05]OFD Sender: No OFD packet to send [11:20:10]OFD Sender: No OFD packet to send [11:20:15]OFD Sender: No OFD packet to send [11:20:20]OFD Sender: No OFD packet to send [11:20:25]OFD Sender: No OFD packet to send [11:20:30]OFD Sender: No OFD packet to send [11:20:35]OFD Sender: No OFD packet to send [11:20:40]OFD Sender: No OFD packet to send [11:20:45]OFD Sender: No OFD packet to send [11:20:50]OFD Sender: No OFD packet to send [11:20:55]OFD Sender: No OFD packet to send [11:21:00]OFD Sender: No OFD packet to send [11:21:05]OFD Sender: No OFD packet to send [11:21:10]OFD Sender: No OFD packet to send [11:21:15]OFD Sender: No OFD packet to send [11:21:20]OFD Sender: No OFD packet to send [11:21:25]OFD Sender: No OFD packet to send [11:21:30]OFD Sender: No OFD packet to send [11:21:35]OFD Sender: No OFD packet to send [11:21:40]OFD Sender: No OFD packet to send [11:21:45]OFD Sender: No OFD packet to send [11:21:50]OFD Sender: No OFD packet to send [11:21:55]OFD Sender: No OFD packet to send [11:22:00]OFD Sender: No OFD packet to send [11:22:05]OFD Sender: No OFD packet to send [11:22:10]OFD Sender: No OFD packet to send [11:22:15]OFD Sender: No OFD packet to send [11:22:20]OFD Sender: No OFD packet to send [11:22:25]OFD Sender: No OFD packet to send [11:22:30]OFD Sender: No OFD packet to send [11:22:35]OFD Sender: No OFD packet to send [11:22:40]OFD Sender: No OFD packet to send [11:22:45]OFD Sender: No OFD packet to send [11:22:50]OFD Sender: No OFD packet to send [11:22:55]OFD Sender: No OFD packet to send [11:23:00]OFD Sender: No OFD packet to send [11:23:05]OFD Sender: No OFD packet to send [11:23:10]OFD Sender: No OFD packet to send [11:23:15]OFD Sender: No OFD packet to send [11:23:20]OFD Sender: No OFD packet to send [11:23:25]OFD Sender: No OFD packet to send [11:23:30]OFD Sender: No OFD packet to send [11:23:35]OFD Sender: No OFD packet to send [11:23:40]OFD Sender: No OFD packet to send [11:23:45]OFD Sender: No OFD packet to send [11:23:50]OFD Sender: No OFD packet to send [11:23:55]OFD Sender: No OFD packet to send [11:24:00]OFD Sender: No OFD packet to send [11:24:05]OFD Sender: No OFD packet to send [11:24:10]OFD Sender: No OFD packet to send [11:24:15]OFD Sender: No OFD packet to send [11:24:20]OFD Sender: No OFD packet to send [11:24:25]OFD Sender: No OFD packet to send [11:24:30]OFD Sender: No OFD packet to send [11:24:35]OFD Sender: No OFD packet to send [11:24:40]OFD Sender: No OFD packet to send [11:24:45]OFD Sender: No OFD packet to send [11:24:50]OFD Sender: No OFD packet to send [11:24:55]OFD Sender: No OFD packet to send [11:25:00]OFD Sender: No OFD packet to send [11:25:05]OFD Sender: No OFD packet to send [11:25:10]OFD Sender: No OFD packet to send [11:25:15]OFD Sender: No OFD packet to send [11:25:20]OFD Sender: No OFD packet to send [11:25:25]OFD Sender: No OFD packet to send [11:25:30]OFD Sender: No OFD packet to send [11:25:35]OFD Sender: No OFD packet to send [11:25:40]OFD Sender: No OFD packet to send [11:25:45]OFD Sender: No OFD packet to send [11:25:50]OFD Sender: No OFD packet to send [11:25:55]OFD Sender: No OFD packet to send [11:26:00]OFD Sender: No OFD packet to send [11:26:05]OFD Sender: No OFD packet to send [11:26:10]OFD Sender: No OFD packet to send [11:26:15]OFD Sender: No OFD packet to send [11:26:20]OFD Sender: No OFD packet to send [11:26:25]OFD Sender: No OFD packet to send [11:26:30]OFD Sender: No OFD packet to send [11:26:35]OFD Sender: No OFD packet to send [11:26:40]OFD Sender: No OFD packet to send [11:26:45]OFD Sender: No OFD packet to send [11:26:50]OFD Sender: No OFD packet to send [11:26:55]OFD Sender: No OFD packet to send [11:27:00]OFD Sender: No OFD packet to send [11:27:05]OFD Sender: No OFD packet to send [11:27:10]OFD Sender: No OFD packet to send [11:27:15]OFD Sender: No OFD packet to send [11:27:20]OFD Sender: No OFD packet to send [11:27:25]OFD Sender: No OFD packet to send [11:27:30]OFD Sender: No OFD packet to send [11:27:35]OFD Sender: No OFD packet to send [11:27:40]OFD Sender: No OFD packet to send [11:27:45]OFD Sender: No OFD packet to send [11:27:50]OFD Sender: No OFD packet to send [11:27:55]OFD Sender: No OFD packet to send [11:28:00]OFD Sender: No OFD packet to send [11:28:05]OFD Sender: No OFD packet to send [11:28:10]OFD Sender: No OFD packet to send [11:28:15]OFD Sender: No OFD packet to send [11:28:20]OFD Sender: No OFD packet to send [11:28:25]OFD Sender: No OFD packet to send [11:28:30]OFD Sender: No OFD packet to send [11:28:35]OFD Sender: No OFD packet to send [11:28:40]OFD Sender: No OFD packet to send [11:28:45]OFD Sender: No OFD packet to send [11:28:50]OFD Sender: No OFD packet to send [11:28:55]OFD Sender: No OFD packet to send [11:29:00]OFD Sender: No OFD packet to send [11:29:05]OFD Sender: No OFD packet to send [11:29:10]OFD Sender: No OFD packet to send [11:29:15]OFD Sender: No OFD packet to send [11:29:20]OFD Sender: No OFD packet to send [11:29:25]OFD Sender: No OFD packet to send [11:29:30]OFD Sender: No OFD packet to send [11:29:35]OFD Sender: No OFD packet to send [11:29:40]OFD Sender: No OFD packet to send [11:29:45]OFD Sender: No OFD packet to send [11:29:50]OFD Sender: No OFD packet to send [11:29:55]OFD Sender: No OFD packet to send [11:30:00]OFD Sender: No OFD packet to send [11:30:05]OFD Sender: No OFD packet to send [11:30:10]OFD Sender: No OFD packet to send [11:30:15]OFD Sender: No OFD packet to send [11:30:20]OFD Sender: No OFD packet to send [11:30:25]OFD Sender: No OFD packet to send [11:30:30]OFD Sender: No OFD packet to send [11:30:35]OFD Sender: No OFD packet to send [11:30:40]OFD Sender: No OFD packet to send [11:30:45]OFD Sender: No OFD packet to send [11:30:50]OFD Sender: No OFD packet to send [11:30:55]OFD Sender: No OFD packet to send [11:31:00]OFD Sender: No OFD packet to send [11:31:05]OFD Sender: No OFD packet to send [11:31:10]OFD Sender: No OFD packet to send [11:31:15]OFD Sender: No OFD packet to send [11:31:20]OFD Sender: No OFD packet to send [11:31:25]OFD Sender: No OFD packet to send [11:31:30]OFD Sender: No OFD packet to send [11:31:35]OFD Sender: No OFD packet to send [11:31:40]OFD Sender: No OFD packet to send [11:31:45]OFD Sender: No OFD packet to send [11:31:50]OFD Sender: No OFD packet to send [11:31:55]OFD Sender: No OFD packet to send [11:32:00]OFD Sender: No OFD packet to send [11:32:05]OFD Sender: No OFD packet to send [11:32:10]OFD Sender: No OFD packet to send [11:32:15]OFD Sender: No OFD packet to send [11:32:20]OFD Sender: No OFD packet to send [11:32:25]OFD Sender: No OFD packet to send [11:32:30]OFD Sender: No OFD packet to send [11:32:35]OFD Sender: No OFD packet to send [11:32:40]OFD Sender: No OFD packet to send [11:32:45]OFD Sender: No OFD packet to send [11:32:50]OFD Sender: No OFD packet to send [11:32:55]OFD Sender: No OFD packet to send [11:33:00]OFD Sender: No OFD packet to send [11:33:05]OFD Sender: No OFD packet to send [11:33:10]OFD Sender: No OFD packet to send [11:33:15]OFD Sender: No OFD packet to send [11:33:20]OFD Sender: No OFD packet to send [11:33:25]OFD Sender: No OFD packet to send [11:33:30]OFD Sender: No OFD packet to send [11:33:35]OFD Sender: No OFD packet to send [11:33:40]OFD Sender: No OFD packet to send [11:33:45]OFD Sender: No OFD packet to send [11:33:50]OFD Sender: No OFD packet to send [11:33:55]OFD Sender: No OFD packet to send [11:34:00]OFD Sender: No OFD packet to send [11:34:05]OFD Sender: No OFD packet to send [11:34:10]OFD Sender: No OFD packet to send [11:34:15]OFD Sender: No OFD packet to send [11:34:20]OFD Sender: No OFD packet to send [11:34:25]OFD Sender: No OFD packet to send [11:34:30]OFD Sender: No OFD packet to send [11:34:35]OFD Sender: No OFD packet to send [11:34:40]OFD Sender: No OFD packet to send [11:34:45]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:31]OFD Sender: No OFD packet to send [11:35:36]OFD Sender: No OFD packet to send [11:35:41]OFD Sender: No OFD packet to send [11:35:46]OFD Sender: No OFD packet to send [11:35:51]OFD Sender: No OFD packet to send [11:35:56]OFD Sender: No OFD packet to send [11:36:01]OFD Sender: No OFD packet to send [11:36:06]OFD Sender: No OFD packet to send [11:36:11]OFD Sender: No OFD packet to send [11:36:14]accept exits with 9 [11:36:14]New connection [11:36:14]New thread 3067452772 created [11:36:14]Thread 3067596132 joined [11:36:14]Waiting for new connection... [11:36:14] Sock 9.Parse request [11:36:14]Sock 9.Check first char [11:36:14]Sock 9.First char is OK [11:36:14]request: POST /json_proto HTTP/1.0 [11:36:14]Method: POST [11:36:14]URL: /json_proto [11:36:14]Method is POST - this is cgi request [11:36:14]url: /json_proto [11:36:14]query_string will be loaded in cgi processing [11:36:14]execute_cgi json_proto POST (null) [11:36:14]execute_cgi path=json_proto method=POST [11:36:14]POST find Content-Length [11:36:14]Host: 172.17.50.4:8080 [11:36:14]Content-Length: 657 [11:36:14]Content-Type: application/json [11:36:14] [11:36:14]POST finish read [11:36:14]Found Content-Length = 657 [11:36:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134920", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 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:36:14]execute_script... [11:36:14]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134920", "tax_sys" : 0, "items" : [ { "code": "4700000481453", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro Max 0,45 \u0436/\u0431", "price" : 95.00, "quantity" : 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:36:14]POST & json_proto [11:36:14]process_json_proto [11:36:14]json parsed OK: [11:36:14]protocol is kg_v1.0 [11:36:14]action value=close_receipt [11:36:14]process_action close_receipt [11:36:14]cmd_close_receipt [11:36:14]MH_GetDate [11:36:14]Write to MH i2c: F0 00 00 E7 07 DD [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: F0 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: F0 09 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: F0 09 00 E7 07 00 31 8E 17 67 3B 12 16 67 ED [11:36:14]GetLastDocTimeStamp 1729595149 [11:36:14]current date 1729596977 [11:36:14]FM_GetShiftState [11:36:14]SAM_PROTO_GetShiftState [11:36:14]wFMCommunicate request_size=4 [11:36:14]MH_SAM_APDU [11:36:14]CAPDU: 80 13 01 00 [11:36:14]Write to MH i2c: E2 08 00 E8 07 80 13 01 00 00 00 00 00 6C [11:36:14]Write i2c OK [11:36:14]MH_I2C_Read... [11:36:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:14]Read from MH i2c: E2 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 0E 00 [11:36:14]MH_I2C_Read... [11:36:14]Read from MH i2c: E2 0E 00 E8 07 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 64 [11:36:14]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:36:14]wFMCommunicate OK [11:36:14]SAM_PROTO_GetShiftState done [11:36:14]FM_GetShiftState done [11:36:14]opened in 1729555332 [11:36:14]opened+sec_in_day 1729641732 [11:36:14]quantity*price = 9500 [11:36:14]sum+1 = 9501 [11:36:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 20 22.10.2024 11:36 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24401 ФПД: 50013076176796 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T113617&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24401&fm=50013076176796&tin=02508201610067®Number=0000000000098120&sum=9500 0 [11:36:15]StoreToDocumentArchive [11:36:15]shift 462 fd 24401 [11:36:15]save to /storage/0462/doc_00024401 [11:36:15]save last doc name /storage/0462/doc_00024401 to /storage/kkm_last_doc_name [11:36:15]save OK [11:36:15]Clear old archive folders... [11:36:15]ProcessDocumentItem done err = 0, tmpTLVsize=288 [11:36:15]tlvbuf is B6FF24B0 [11:36:15]SAM_PROTO_ClearQueue [11:36:15]wFMCommunicate request_size=4 [11:36:15]MH_SAM_APDU [11:36:15]CAPDU: 80 09 00 00 [11:36:15]Write to MH i2c: E2 08 00 F5 07 80 09 00 00 00 00 00 00 6E [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:15]Read from MH i2c: E2 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: E2 03 00 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: E2 03 00 F5 07 00 90 00 70 [11:36:15]RAPDU: 90 00 [11:36:15]wFMCommunicate OK [11:36:15]SAM_PROTO_ClearQueue done [11:36:15]KKMCreateOFDPacket [11:36:15]OFDProtocolAddRootSTLVToBuf [11:36:15]FM_MakeSignedData [11:36:15]FM_MakeSignedData [11:36:15]SAM_PROTO_SignData [11:36:15]wFMCommunicate request_size=4 [11:36:15]MH_SAM_APDU [11:36:15]CAPDU: 80 0D 01 02 [11:36:15]Write to MH i2c: E2 08 00 F6 07 80 0D 01 02 00 00 00 00 76 [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:15]Read from MH i2c: E2 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: E2 03 00 [11:36:15]MH_I2C_Read... [11:36:15]Read from MH i2c: E2 03 00 F6 07 00 90 00 71 [11:36:15]RAPDU: 90 00 [11:36:15]wFMCommunicate OK [11:36:15]wFMCommunicate request_size=255 [11:36:15]MH_SAM_APDU [11:36:15]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 31 8E 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [11:36:15]Write to MH i2c: E2 02 01 F7 07 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 31 8E 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 81 [11:36:15]Write i2c OK [11:36:15]MH_I2C_Read... [11:36:16]OFD Sender: No OFD packet to send [11:36:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 03 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 03 00 F7 07 00 90 00 72 [11:36:16]RAPDU: 90 00 [11:36:16]wFMCommunicate OK [11:36:16]wFMCommunicate request_size=47 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 0D 02 02 2A 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 51 5F 00 00 35 04 06 00 2D 7C 93 A3 BF 9C [11:36:16]Write to MH i2c: E2 32 00 F8 07 80 0D 02 02 2A 00 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 51 5F 00 00 35 04 06 00 2D 7C 93 A3 BF 9C 00 00 18 [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 03 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 03 00 F8 07 00 90 00 73 [11:36:16]RAPDU: 90 00 [11:36:16]wFMCommunicate OK [11:36:16]wFMCommunicate request_size=4 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 0D 03 02 [11:36:16]Write to MH i2c: E2 08 00 F9 07 80 0D 03 02 00 00 00 00 7B [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 0B 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 0B 00 F9 07 00 24 39 14 DF CE CA F2 92 90 00 E8 [11:36:16]RAPDU: 24 39 14 DF CE CA F2 92 90 00 [11:36:16]wFMCommunicate OK [11:36:16]SAM_PROTO_SignData done [11:36:16]FM_MakeSignedData done [11:36:16]CreateOFDProtocolMessage [11:36:16]wFMCommunicate request_size=4 [11:36:16]MH_SAM_APDU [11:36:16]CAPDU: 80 11 00 00 [11:36:16]Write to MH i2c: E2 08 00 FA 07 80 11 00 00 00 00 00 00 7B [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:16]Read from MH i2c: E2 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 17 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: E2 17 00 FA 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C8 [11:36: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:36:16]wFMCommunicate OK [11:36:16]CreateOFDProtocolMessage done [11:36:16]OFDSenderStorePacket 24401 [11:36:16]StoreOFDPacket docnum=24401 [11:36:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 34 01 00 00 92 5C 2C 01 A3 97 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 31 8E 17 67 0E 04 04 00 CE 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 51 5F 00 00 35 04 06 00 2D 7C 93 A3 BF 9C 24 39 14 DF CE CA F2 92 [11:36:16]CheckFolder [11:36:16]dirname=/storage/ofd_packets [11:36:16]CheckFolder done [11:36:16]ProducePacketName [11:36:16]name=ofd_packets/00024401 [11:36:16]NVStorageSaveData ofd_packets/00024401 [11:36:16]File name is /storage/ofd_packets/00024401 [11:36:16]Write 338 bytes [11:36:16]NVStorageSaveData done [11:36:16]OFDSenderStorePacket done [11:36:16]KKMCreateOFDPacket done [11:36:16]NVStorageSaveData kkm_last_timestamp [11:36:16]File name is /storage/kkm_last_timestamp [11:36:16]Write 4 bytes [11:36:16]NVStorageSaveData done [11:36:16]ExternCall_PrintAddStr [11:36:16]wPrintStart [11:36:16]Write to MH i2c: 01 00 00 FB 07 02 [11:36:16]Write i2c OK [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: 01 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: 01 07 00 [11:36:16]MH_I2C_Read... [11:36:16]Read from MH i2c: 01 07 00 FB 07 00 00 00 00 00 FF 0F 17 [11:36:16]RasterBufferAndPrint [11:36:16]line Счет N : (3)134920 [11:36:16]line ИНН: 02508201610067 [11:36:16]line Контрольно-Кассовый Чек [11:36:16]line ПРОДАЖА [11:36:16]line Товар: 4700000481453 [11:36:16]line Напиток энерг Nitro Max 0,45 ж/б [11:36:16]line 1.000 * 95.00 [11:36:16]line = 95.00 [11:36:16]line НДС 12% НСП 1% [11:36:16]line > о реализуемом товаре [11:36:16]line ИТОГО: 95.00 [11:36:16]line НСП 1% : 0.84 [11:36:16]line НДС 12% : 10.09 [11:36:16]line Наличными: 95.00 [11:36:16]line Безнал.: 0.00 [11:36:16]line Место: АЗС № 85 "Партнер Нефть" [11:36:16]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:36:16]line СНО: Общий режим [11:36:16]line Чек 20 22.10.2024 11:36 [11:36:16]line Смена: 462 ФФД: 1.0 [11:36:16]line ЗНМ: 0300000166 [11:36:16]line РНМ: 0000000000098120 [11:36:16]line Версия ККМ: 001 [11:36:16]line ФМ: 0000000000965420 [11:36:16]line ФД: 24401 [11:36:16]line ФПД: 50013076176796 [11:36:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T113617&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24401&fm=50013076176796&tin=02508201610067®Number=0000000000098120&sum=9500 [11:36:16]line 0 [11:36:16]OFD Sender: Processing packet 24401 [packets to send 5, broken 4] [11:36:16]ProducePacketName [11:36:16]name=ofd_packets/00024401 [11:36:16]OFD Sender: To server: pG, [11:36:16]CommunicateWithHost lk.salyk.kg:30040 [11:36:16]ConnectInit lk.salyk.kg [11:36:16]written 0, free lines is 4095 [11:36:16]Connected sock=10 [11:36: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 34 01 00 00 92 5C 2C 01 A3 97 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 34 35 33 06 04 2E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 4D 61 78 20 30 2C 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 14 00 00 00 F4 03 04 00 31 8E 17 67 0E 04 04 00 CE 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 51 5F 00 00 35 04 06 00 2D 7C 93 A3 BF 9C 24 39 14 DF CE CA F2 92 [11:36: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 A9 14 47 00 6F 8C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 51 5F 00 00 F4 03 04 00 D5 39 17 67 B6 04 01 00 00 FC 97 E7 E8 FB C2 26 AC [11:36:16]CommunicateWithHost err = 0 [11:36:16]CheckOFDResponse [11:36:16]1017 (14) - 77093643461234 [11:36:16]1041 (16) - 0000000000965420 [11:36:16]1040 (4) - 24401 [11:36:16]1012 (4) - 22.10.2024 05:36 [11:36:16]1206 (1) - 0 [11:36:16]OFD Sender: Remove packet 24401 [11:36:16]ProducePacketName [11:36:16]name=ofd_packets/00024401 [11:36:16]NVStorageDeleteData [11:36:17]Write to MH i2c: 01 00 00 24 08 2C [11:36:17]Write i2c OK [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: 01 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: 01 07 00 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: 01 07 00 24 08 00 00 00 00 00 03 0D 43 [11:36:17]RasterBufferAndPrint [11:36:17]line [11:36:17]line [11:36:17]line [11:36:17]line [11:36:17]line [11:36:17]written 0, free lines is 3337 [11:36:17]process_action close_receipt done [11:36:17]requested_data is exist [11:36:17]produce_requested_data [11:36:17]requested_item fm.sn is exist - process it [11:36:17]wFMCommunicate request_size=4 [11:36:17]MH_SAM_APDU [11:36:17]CAPDU: 80 11 00 00 [11:36:17]Write to MH i2c: E2 08 00 2B 08 80 11 00 00 00 00 00 00 AD [11:36:17]Write i2c OK [11:36:17]MH_I2C_Read... [11:36:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:17]Read from MH i2c: E2 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 17 00 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 17 00 2B 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FA [11:36:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:36:17]wFMCommunicate OK [11:36:17]requested_item fd.num is exist - process it [11:36:17]SAM_PROTO_GetFieldsCounters [11:36:17]wFMCommunicate request_size=4 [11:36:17]MH_SAM_APDU [11:36:17]CAPDU: 80 13 00 00 [11:36:17]Write to MH i2c: E2 08 00 2C 08 80 13 00 00 00 00 00 00 B0 [11:36:17]Write i2c OK [11:36:17]MH_I2C_Read... [11:36:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:17]Read from MH i2c: E2 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 62 00 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 62 00 2C 08 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 51 5F 00 00 0E 04 04 00 CE 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 81 [11:36:17]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 51 5F 00 00 0E 04 04 00 CE 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 [11:36:17]wFMCommunicate OK [11:36:17]SAM_PROTO_GetFieldsCounters done [11:36:17]requested_item shift.num is exist - process it [11:36:17]requested_item shift.opened is exist - process it [11:36:17]req_shift_opened [11:36:17]FM_GetShiftState [11:36:17]SAM_PROTO_GetShiftState [11:36:17]wFMCommunicate request_size=4 [11:36:17]MH_SAM_APDU [11:36:17]CAPDU: 80 13 01 00 [11:36:17]Write to MH i2c: E2 08 00 2D 08 80 13 01 00 00 00 00 00 B2 [11:36:17]Write i2c OK [11:36:17]MH_I2C_Read... [11:36:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:17]Read from MH i2c: E2 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 0E 00 [11:36:17]MH_I2C_Read... [11:36:17]Read from MH i2c: E2 0E 00 2D 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 AA [11:36:17]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:36:17]wFMCommunicate OK [11:36:17]SAM_PROTO_GetShiftState done [11:36:17]FM_GetShiftState done [11:36:17]req_shift_opened done [11:36:17]requested_item shift.open_date is exist - process it [11:36:17]req_shift_open_date [11:36:17]req_shift_open_date done [11:36:17]produce_requested_data done [11:36:17]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24401,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:36:17]process_action_free close_receipt [11:36:17]json_value_free [11:36:17]json_value_free done [11:36:17]process_json_proto returns [11:36:17]Send response to host [11:36:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24401,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:36:17]free response buf [11:36:17]execute_script done [11:36:17]execute_script returns [11:36:17]free content buf [11:36:17]Sock 9.Close socket [11:36:17]Sock 9.Thread stoped [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:11]accept exits with 7 [11:41:11]New connection [11:41:11]New thread 3067596132 created [11:41:11]Thread 3067452772 joined [11:41:11]Waiting for new connection... [11:41:11] Sock 7.Parse request [11:41:11]Sock 7.Check first char [11:41:11]Sock 7.First char is OK [11:41:11]request: POST /json_proto HTTP/1.0 [11:41:11]Method: POST [11:41:11]URL: /json_proto [11:41:11]Method is POST - this is cgi request [11:41:11]url: /json_proto [11:41:11]query_string will be loaded in cgi processing [11:41:11]execute_cgi json_proto POST (null) [11:41:11]execute_cgi path=json_proto method=POST [11:41:11]POST find Content-Length [11:41:11]Host: 172.17.50.4:8080 [11:41:11]Content-Length: 742 [11:41:11]Content-Type: application/json [11:41:11] [11:41:11]POST finish read [11:41:11]Found Content-Length = 742 [11:41:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134921", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:11]execute_script... [11:41: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)134921", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.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" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:11]POST & json_proto [11:41:11]process_json_proto [11:41:11]json parsed OK: [11:41:11]protocol is kg_v1.0 [11:41:11]action value=close_receipt [11:41:11]process_action close_receipt [11:41:11]cmd_close_receipt [11:41:11]MH_GetDate [11:41:11]Write to MH i2c: F0 00 00 2E 08 25 [11:41:11]Write i2c OK [11:41:11]MH_I2C_Read... [11:41:11]Read from MH i2c: F0 [11:41:11]MH_I2C_Read... [11:41:11]Read from MH i2c: F0 09 00 [11:41:11]MH_I2C_Read... [11:41:11]Read from MH i2c: F0 09 00 2E 08 00 5B 8F 17 67 3B 12 16 67 60 [11:41:11]GetLastDocTimeStamp 1729596977 [11:41:11]current date 1729597275 [11:41:11]FM_GetShiftState [11:41:11]SAM_PROTO_GetShiftState [11:41:11]wFMCommunicate request_size=4 [11:41:11]MH_SAM_APDU [11:41:11]CAPDU: 80 13 01 00 [11:41:11]Write to MH i2c: E2 08 00 2F 08 80 13 01 00 00 00 00 00 B4 [11:41:11]Write i2c OK [11:41:11]MH_I2C_Read... [11:41:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:41:11]Read from MH i2c: E2 [11:41:11]MH_I2C_Read... [11:41:11]Read from MH i2c: E2 0E 00 [11:41:11]MH_I2C_Read... [11:41:11]Read from MH i2c: E2 0E 00 2F 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 AC [11:41:11]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:41:11]wFMCommunicate OK [11:41:11]SAM_PROTO_GetShiftState done [11:41:11]FM_GetShiftState done [11:41:11]opened in 1729555332 [11:41:11]opened+sec_in_day 1729641732 [11:41:11]quantity*price = 16000 [11:41:11]sum+1 = 16001 [11:41:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 0.00 Безнал.: 160.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 21 22.10.2024 11:41 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24402 ФПД: 234959351919530 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114115&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24402&fm=234959351919530&tin=02508201610067®Number=0000000000098120&sum=16000 0 [11:41:12]StoreToDocumentArchive [11:41:12]shift 462 fd 24402 [11:41:12]save to /storage/0462/doc_00024402 [11:41:12]save last doc name /storage/0462/doc_00024402 to /storage/kkm_last_doc_name [11:41:12]save OK [11:41:12]Clear old archive folders... [11:41:12]ProcessDocumentItem done err = 0, tmpTLVsize=268 [11:41:12]tlvbuf is 00D63AE0 [11:41:12]SAM_PROTO_ClearQueue [11:41:12]wFMCommunicate request_size=4 [11:41:12]MH_SAM_APDU [11:41:12]CAPDU: 80 09 00 00 [11:41:12]Write to MH i2c: E2 08 00 3C 08 80 09 00 00 00 00 00 00 B6 [11:41:12]Write i2c OK [11:41:12]MH_I2C_Read... [11:41:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:41:12]Read from MH i2c: E2 [11:41:12]MH_I2C_Read... [11:41:12]Read from MH i2c: E2 03 00 [11:41:12]MH_I2C_Read... [11:41:12]Read from MH i2c: E2 03 00 3C 08 00 90 00 B8 [11:41:12]RAPDU: 90 00 [11:41:12]wFMCommunicate OK [11:41:12]SAM_PROTO_ClearQueue done [11:41:12]KKMCreateOFDPacket [11:41:12]OFDProtocolAddRootSTLVToBuf [11:41:12]FM_MakeSignedData [11:41:12]FM_MakeSignedData [11:41:12]SAM_PROTO_SignData [11:41:12]wFMCommunicate request_size=4 [11:41:12]MH_SAM_APDU [11:41:12]CAPDU: 80 0D 01 02 [11:41:12]Write to MH i2c: E2 08 00 3D 08 80 0D 01 02 00 00 00 00 BE [11:41:12]Write i2c OK [11:41:12]MH_I2C_Read... [11:41:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:41:13]Read from MH i2c: E2 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 3D 08 00 90 00 B9 [11:41:13]RAPDU: 90 00 [11:41:13]wFMCommunicate OK [11:41:13]wFMCommunicate request_size=255 [11:41:13]MH_SAM_APDU [11:41:13]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5B 8F 17 67 0E 04 04 00 CE 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 [11:41:13]Write to MH i2c: E2 02 01 3E 08 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5B 8F 17 67 0E 04 04 00 CE 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 00 00 BC [11:41:13]Write i2c OK [11:41:13]MH_I2C_Read... [11:41:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:13]Read from MH i2c: E2 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 3E 08 00 90 00 BA [11:41:13]RAPDU: 90 00 [11:41:13]wFMCommunicate OK [11:41:13]wFMCommunicate request_size=27 [11:41:13]MH_SAM_APDU [11:41:13]CAPDU: 80 0D 02 02 16 35 34 32 30 10 04 04 00 52 5F 00 00 35 04 06 00 D5 B1 BC B5 33 AA [11:41:13]Write to MH i2c: E2 1E 00 3F 08 80 0D 02 02 16 00 35 34 32 30 10 04 04 00 52 5F 00 00 35 04 06 00 D5 B1 BC B5 33 AA 00 00 94 [11:41:13]Write i2c OK [11:41:13]MH_I2C_Read... [11:41:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:13]Read from MH i2c: E2 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 03 00 3F 08 00 90 00 BB [11:41:13]RAPDU: 90 00 [11:41:13]wFMCommunicate OK [11:41:13]wFMCommunicate request_size=4 [11:41:13]MH_SAM_APDU [11:41:13]CAPDU: 80 0D 03 02 [11:41:13]Write to MH i2c: E2 08 00 40 08 80 0D 03 02 00 00 00 00 C3 [11:41:13]Write i2c OK [11:41:13]MH_I2C_Read... [11:41:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:41:13]Read from MH i2c: E2 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 0B 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 0B 00 40 08 00 0C 64 27 E7 AF 64 5D E0 90 00 92 [11:41:13]RAPDU: 0C 64 27 E7 AF 64 5D E0 90 00 [11:41:13]wFMCommunicate OK [11:41:13]SAM_PROTO_SignData done [11:41:13]FM_MakeSignedData done [11:41:13]CreateOFDProtocolMessage [11:41:13]wFMCommunicate request_size=4 [11:41:13]MH_SAM_APDU [11:41:13]CAPDU: 80 11 00 00 [11:41:13]Write to MH i2c: E2 08 00 41 08 80 11 00 00 00 00 00 00 C3 [11:41:13]Write i2c OK [11:41:13]MH_I2C_Read... [11:41:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:41:13]Read from MH i2c: E2 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 17 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: E2 17 00 41 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 10 [11: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 [11:41:13]wFMCommunicate OK [11:41:13]CreateOFDProtocolMessage done [11:41:13]OFDSenderStorePacket 24402 [11:41:13]StoreOFDPacket docnum=24402 [11:41:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 20 01 00 00 47 2A 18 01 50 66 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5B 8F 17 67 0E 04 04 00 CE 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 52 5F 00 00 35 04 06 00 D5 B1 BC B5 33 AA 0C 64 27 E7 AF 64 5D E0 [11:41:13]CheckFolder [11:41:13]dirname=/storage/ofd_packets [11:41:13]CheckFolder done [11:41:13]ProducePacketName [11:41:13]name=ofd_packets/00024402 [11:41:13]NVStorageSaveData ofd_packets/00024402 [11:41:13]File name is /storage/ofd_packets/00024402 [11:41:13]Write 318 bytes [11:41:13]NVStorageSaveData done [11:41:13]OFDSenderStorePacket done [11:41:13]KKMCreateOFDPacket done [11:41:13]NVStorageSaveData kkm_last_timestamp [11:41:13]File name is /storage/kkm_last_timestamp [11:41:13]Write 4 bytes [11:41:13]NVStorageSaveData done [11:41:13]ExternCall_PrintAddStr [11:41:13]wPrintStart [11:41:13]Write to MH i2c: 01 00 00 42 08 4A [11:41:13]Write i2c OK [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: 01 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: 01 07 00 [11:41:13]MH_I2C_Read... [11:41:13]Read from MH i2c: 01 07 00 42 08 00 00 00 00 00 FF 0F 5F [11:41:13]RasterBufferAndPrint [11:41:13]line Счет N : (3)134921 [11:41:13]line ИНН: 02508201610067 [11:41:13]line Контрольно-Кассовый Чек [11:41:13]line ПРОДАЖА [11:41:13]line Товар: 4870001570057 [11:41:13]line Напиток Pepsi 0,5л [11:41:13]line 2.000 * 80.00 [11:41:13]line = 160.00 [11:41:13]line НДС 12% НСП 1% [11:41:13]line > о реализуемом товаре [11:41:13]line ИТОГО: 160.00 [11:41:13]line НСП 1% : 1.42 [11:41:13]line НДС 12% : 16.99 [11:41:13]line Наличными: 0.00 [11:41:13]line Безнал.: 160.00 [11:41:13]line Место: АЗС № 85 "Партнер Нефть" [11:41:13]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:41:13]line СНО: Общий режим [11:41:13]line Чек 21 22.10.2024 11:41 [11:41:13]line Смена: 462 ФФД: 1.0 [11:41:13]line ЗНМ: 0300000166 [11:41:13]line РНМ: 0000000000098120 [11:41:13]line Версия ККМ: 001 [11:41:13]line Платежная система: Mbank [11:41:13]line ФМ: 0000000000965420 [11:41:13]line ФД: 24402 [11:41:13]line ФПД: 234959351919530 [11:41:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114115&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24402&fm=234959351919530&tin=02508201610067®Number=0000000000098120&sum=16000 [11:41:13]line 0 [11:41:13]OFD Sender: Processing packet 24402 [packets to send 5, broken 4] [11:41:13]ProducePacketName [11:41:13]name=ofd_packets/00024402 [11:41:13]OFD Sender: To server: pG, [11:41:13]CommunicateWithHost lk.salyk.kg:30040 [11:41:13]ConnectInit lk.salyk.kg [11:41:13]written 0, free lines is 4095 [11:41:13]Connected sock=10 [11: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 20 01 00 00 47 2A 18 01 50 66 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 1F 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 00 00 00 00 00 00 39 04 06 00 80 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 5B 8F 17 67 0E 04 04 00 CE 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 52 5F 00 00 35 04 06 00 D5 B1 BC B5 33 AA 0C 64 27 E7 AF 64 5D E0 [11:41: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 D4 30 47 00 D0 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 52 5F 00 00 F4 03 04 00 FE 3A 17 67 B6 04 01 00 00 D1 71 AA 0D 28 5E 6A 91 [11:41:14]CommunicateWithHost err = 0 [11:41:14]CheckOFDResponse [11:41:14]1017 (14) - 77093643461234 [11:41:14]1041 (16) - 0000000000965420 [11:41:14]1040 (4) - 24402 [11:41:14]1012 (4) - 22.10.2024 05:41 [11:41:14]1206 (1) - 0 [11:41:14]OFD Sender: Remove packet 24402 [11:41:14]ProducePacketName [11:41:14]name=ofd_packets/00024402 [11:41:14]NVStorageDeleteData [11:41:14]Write to MH i2c: 01 00 00 6B 08 73 [11:41:14]Write i2c OK [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: 01 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: 01 07 00 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: 01 07 00 6B 08 00 00 00 00 00 14 0D 9B [11:41:14]RasterBufferAndPrint [11:41:14]line [11:41:14]line [11:41:14]line [11:41:14]line [11:41:14]line [11:41:14]written 0, free lines is 3355 [11:41:14]process_action close_receipt done [11:41:14]requested_data is exist [11:41:14]produce_requested_data [11:41:14]requested_item fm.sn is exist - process it [11:41:14]wFMCommunicate request_size=4 [11:41:14]MH_SAM_APDU [11:41:14]CAPDU: 80 11 00 00 [11:41:14]Write to MH i2c: E2 08 00 72 08 80 11 00 00 00 00 00 00 F4 [11:41:14]Write i2c OK [11:41:14]MH_I2C_Read... [11:41:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:41:14]Read from MH i2c: E2 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 17 00 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 17 00 72 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 41 [11:41:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:41:14]wFMCommunicate OK [11:41:14]requested_item fd.num is exist - process it [11:41:14]SAM_PROTO_GetFieldsCounters [11:41:14]wFMCommunicate request_size=4 [11:41:14]MH_SAM_APDU [11:41:14]CAPDU: 80 13 00 00 [11:41:14]Write to MH i2c: E2 08 00 73 08 80 13 00 00 00 00 00 00 F7 [11:41:14]Write i2c OK [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 [11:41:14]MH_I2C_Read... [11:41:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:41:14]Read from MH i2c: E2 62 00 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 62 00 73 08 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 52 5F 00 00 0E 04 04 00 CE 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 CC [11:41:14]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 52 5F 00 00 0E 04 04 00 CE 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 [11:41:14]wFMCommunicate OK [11:41:14]SAM_PROTO_GetFieldsCounters done [11:41:14]requested_item shift.num is exist - process it [11:41:14]requested_item shift.opened is exist - process it [11:41:14]req_shift_opened [11:41:14]FM_GetShiftState [11:41:14]SAM_PROTO_GetShiftState [11:41:14]wFMCommunicate request_size=4 [11:41:14]MH_SAM_APDU [11:41:14]CAPDU: 80 13 01 00 [11:41:14]Write to MH i2c: E2 08 00 74 08 80 13 01 00 00 00 00 00 F9 [11:41:14]Write i2c OK [11:41:14]MH_I2C_Read... [11:41:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:41:14]Read from MH i2c: E2 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 0E 00 [11:41:14]MH_I2C_Read... [11:41:14]Read from MH i2c: E2 0E 00 74 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F1 [11:41:14]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:41:14]wFMCommunicate OK [11:41:14]SAM_PROTO_GetShiftState done [11:41:14]FM_GetShiftState done [11:41:14]req_shift_opened done [11:41:14]requested_item shift.open_date is exist - process it [11:41:14]req_shift_open_date [11:41:14]req_shift_open_date done [11:41:14]produce_requested_data done [11:41:14]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24402,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:41:14]process_action_free close_receipt [11:41:14]json_value_free [11:41:14]json_value_free done [11:41:14]process_json_proto returns [11:41:14]Send response to host [11:41:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24402,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:41:14]free response buf [11:41:14]execute_script done [11:41:14]execute_script returns [11:41:14]free content buf [11:41:14]Sock 7.Close socket [11:41:14]Sock 7.Thread stoped [11:41:14]OFD Sender: No OFD packet to send [11:41:19]OFD Sender: No OFD packet to send [11:41:24]OFD Sender: No OFD packet to send [11:41:29]OFD Sender: No OFD packet to send [11:41:33]accept exits with 9 [11:41:33]New connection [11:41:33]New thread 3067452772 created [11:41:33]Thread 3067596132 joined [11:41:33]Waiting for new connection... [11:41:33] Sock 9.Parse request [11:41:33]Sock 9.Check first char [11:41:33]Sock 9.First char is OK [11:41:33]request: POST /json_proto HTTP/1.0 [11:41:33]Method: POST [11:41:33]URL: /json_proto [11:41:33]Method is POST - this is cgi request [11:41:33]url: /json_proto [11:41:33]query_string will be loaded in cgi processing [11:41:33]execute_cgi json_proto POST (null) [11:41:33]execute_cgi path=json_proto method=POST [11:41:33]POST find Content-Length [11:41:33]Host: 172.17.50.4:8080 [11:41:33]Content-Length: 711 [11:41:33]Content-Type: application/json [11:41:33] [11:41:33]POST finish read [11:41:33]Found Content-Length = 711 [11:41:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134922", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:33]execute_script... [11:41: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)134922", "tax_sys" : 0, "items" : [ { "code": "4870001571030", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043A\u043B\u0443\u0431\u043D,\u043A\u0438\u0432\u0438 \u041F\u042D\u0422 1\u043B", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 84.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:41:33]POST & json_proto [11:41:33]process_json_proto [11:41:33]json parsed OK: [11:41:33]protocol is kg_v1.0 [11:41:33]action value=close_receipt [11:41:33]process_action close_receipt [11:41:33]cmd_close_receipt [11:41:33]MH_GetDate [11:41:33]Write to MH i2c: F0 00 00 75 08 6C [11:41:33]Write i2c OK [11:41:33]MH_I2C_Read... [11:41:33]Read from MH i2c: F0 [11:41:33]MH_I2C_Read... [11:41:33]Read from MH i2c: F0 09 00 [11:41:33]MH_I2C_Read... [11:41:33]Read from MH i2c: F0 09 00 75 08 00 71 8F 17 67 3B 12 16 67 BD [11:41:33]GetLastDocTimeStamp 1729597275 [11:41:33]current date 1729597297 [11:41:33]FM_GetShiftState [11:41:33]SAM_PROTO_GetShiftState [11:41:33]wFMCommunicate request_size=4 [11:41:33]MH_SAM_APDU [11:41:33]CAPDU: 80 13 01 00 [11:41:33]Write to MH i2c: E2 08 00 76 08 80 13 01 00 00 00 00 00 FB [11:41:33]Write i2c OK [11:41:33]MH_I2C_Read... [11:41:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:41:33]Read from MH i2c: E2 [11:41:33]MH_I2C_Read... [11:41:33]Read from MH i2c: E2 0E 00 [11:41:33]MH_I2C_Read... [11:41:33]Read from MH i2c: E2 0E 00 76 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F3 [11:41:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:41:33]wFMCommunicate OK [11:41:33]SAM_PROTO_GetShiftState done [11:41:33]FM_GetShiftState done [11:41:33]opened in 1729555332 [11:41:33]opened+sec_in_day 1729641732 [11:41:33]quantity*price = 8400 [11:41:33]sum+1 = 8401 [11:41:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 84.00 НСП 1% : 0.74 НДС 12% : 8.92 Наличными: 84.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 22 22.10.2024 11:41 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24403 ФПД: 37018019748132 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114137&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24403&fm=37018019748132&tin=02508201610067®Number=0000000000098120&sum=8400 0 [11:41:34]StoreToDocumentArchive [11:41:34]shift 462 fd 24403 [11:41:34]save to /storage/0462/doc_00024403 [11:41:34]save last doc name /storage/0462/doc_00024403 to /storage/kkm_last_doc_name [11:41:34]save OK [11:41:34]Clear old archive folders... [11:41:34]ProcessDocumentItem done err = 0, tmpTLVsize=302 [11:41:34]tlvbuf is 00DB66A0 [11:41:34]SAM_PROTO_ClearQueue [11:41:34]wFMCommunicate request_size=4 [11:41:34]MH_SAM_APDU [11:41:34]CAPDU: 80 09 00 00 [11:41:34]Write to MH i2c: E2 08 00 83 08 80 09 00 00 00 00 00 00 FD [11:41:34]Write i2c OK [11:41:34]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 83 08 00 90 00 FF [11:41:35]RAPDU: 90 00 [11:41:35]wFMCommunicate OK [11:41:35]SAM_PROTO_ClearQueue done [11:41:35]KKMCreateOFDPacket [11:41:35]OFDProtocolAddRootSTLVToBuf [11:41:35]FM_MakeSignedData [11:41:35]FM_MakeSignedData [11:41:35]SAM_PROTO_SignData [11:41:35]wFMCommunicate request_size=4 [11:41:35]MH_SAM_APDU [11:41:35]CAPDU: 80 0D 01 02 [11:41:35]Write to MH i2c: E2 08 00 84 08 80 0D 01 02 00 00 00 00 05 [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 84 08 00 90 00 00 [11:41:35]RAPDU: 90 00 [11:41:35]wFMCommunicate OK [11:41:35]wFMCommunicate request_size=255 [11:41:35]MH_SAM_APDU [11:41:35]CAPDU: 80 0D 02 02 FA 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 71 8F 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 [11:41:35]Write to MH i2c: E2 02 01 85 08 80 0D 02 02 FA 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 71 8F 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 00 00 06 [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 85 08 00 90 00 01 [11:41:35]RAPDU: 90 00 [11:41:35]wFMCommunicate OK [11:41:35]wFMCommunicate request_size=61 [11:41:35]MH_SAM_APDU [11:41:35]CAPDU: 80 0D 02 02 38 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 53 5F 00 00 35 04 06 00 21 AA ED EA D9 24 [11:41:35]Write to MH i2c: E2 40 00 86 08 80 0D 02 02 38 00 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 53 5F 00 00 35 04 06 00 21 AA ED EA D9 24 00 00 83 [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 03 00 86 08 00 90 00 02 [11:41:35]RAPDU: 90 00 [11:41:35]wFMCommunicate OK [11:41:35]wFMCommunicate request_size=4 [11:41:35]MH_SAM_APDU [11:41:35]CAPDU: 80 0D 03 02 [11:41:35]Write to MH i2c: E2 08 00 87 08 80 0D 03 02 00 00 00 00 0A [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 0B 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 0B 00 87 08 00 01 4D 67 E4 55 46 44 FB 90 00 7E [11:41:35]RAPDU: 01 4D 67 E4 55 46 44 FB 90 00 [11:41:35]wFMCommunicate OK [11:41:35]SAM_PROTO_SignData done [11:41:35]FM_MakeSignedData done [11:41:35]CreateOFDProtocolMessage [11:41:35]wFMCommunicate request_size=4 [11:41:35]MH_SAM_APDU [11:41:35]CAPDU: 80 11 00 00 [11:41:35]Write to MH i2c: E2 08 00 88 08 80 11 00 00 00 00 00 00 0A [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:41:35]Read from MH i2c: E2 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 17 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: E2 17 00 88 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 57 [11:41:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:41:35]wFMCommunicate OK [11:41:35]CreateOFDProtocolMessage done [11:41:35]OFDSenderStorePacket 24403 [11:41:35]StoreOFDPacket docnum=24403 [11:41:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 42 01 00 00 75 4A 3A 01 D5 10 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 71 8F 17 67 0E 04 04 00 CE 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 53 5F 00 00 35 04 06 00 21 AA ED EA D9 24 01 4D 67 E4 55 46 44 FB [11:41:35]CheckFolder [11:41:35]dirname=/storage/ofd_packets [11:41:35]CheckFolder done [11:41:35]ProducePacketName [11:41:35]name=ofd_packets/00024403 [11:41:35]NVStorageSaveData ofd_packets/00024403 [11:41:35]File name is /storage/ofd_packets/00024403 [11:41:35]Write 352 bytes [11:41:35]NVStorageSaveData done [11:41:35]OFDSenderStorePacket done [11:41:35]KKMCreateOFDPacket done [11:41:35]NVStorageSaveData kkm_last_timestamp [11:41:35]File name is /storage/kkm_last_timestamp [11:41:35]Write 4 bytes [11:41:35]NVStorageSaveData done [11:41:35]ExternCall_PrintAddStr [11:41:35]wPrintStart [11:41:35]Write to MH i2c: 01 00 00 89 08 91 [11:41:35]Write i2c OK [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: 01 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: 01 07 00 [11:41:35]MH_I2C_Read... [11:41:35]Read from MH i2c: 01 07 00 89 08 00 00 00 00 00 FF 0F A6 [11:41:35]RasterBufferAndPrint [11:41:35]line Счет N : (3)134922 [11:41:35]line ИНН: 02508201610067 [11:41:35]line Контрольно-Кассовый Чек [11:41:35]line ПРОДАЖА [11:41:35]line Товар: 4870001571030 [11:41:35]line Вода ASU пит н.газ клубн,киви ПЭТ 1л [11:41:35]line 1.000 * 84.00 [11:41:35]line = 84.00 [11:41:35]line НДС 12% НСП 1% [11:41:35]line > о реализуемом товаре [11:41:35]line ИТОГО: 84.00 [11:41:35]line НСП 1% : 0.74 [11:41:35]line НДС 12% : 8.92 [11:41:35]line Наличными: 84.00 [11:41:35]line Безнал.: 0.00 [11:41:35]line Место: АЗС № 85 "Партнер Нефть" [11:41:35]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:41:35]line СНО: Общий режим [11:41:35]line Чек 22 22.10.2024 11:41 [11:41:35]line Смена: 462 ФФД: 1.0 [11:41:35]line ЗНМ: 0300000166 [11:41:35]line РНМ: 0000000000098120 [11:41:35]line Версия ККМ: 001 [11:41:35]line ФМ: 0000000000965420 [11:41:35]line ФД: 24403 [11:41:35]line ФПД: 37018019748132 [11:41:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114137&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24403&fm=37018019748132&tin=02508201610067®Number=0000000000098120&sum=8400 [11:41:35]line 0 [11:41:35]OFD Sender: Processing packet 24403 [packets to send 5, broken 4] [11:41:35]ProducePacketName [11:41:35]name=ofd_packets/00024403 [11:41:35]OFD Sender: To server: pG, [11:41:35]CommunicateWithHost lk.salyk.kg:30040 [11:41:35]ConnectInit lk.salyk.kg [11:41:35]written 0, free lines is 4095 [11:41:35]Connected sock=10 [11:41:35]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 42 01 00 00 75 4A 3A 01 D5 10 5A 03 01 00 03 00 2E 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 31 30 33 30 06 04 3C 00 D0 92 D0 BE D0 B4 D0 B0 20 41 53 55 20 D0 BF D0 B8 D1 82 20 D0 BD 2E D0 B3 D0 B0 D0 B7 20 D0 BA D0 BB D1 83 D0 B1 D0 BD 2C D0 BA D0 B8 D0 B2 D0 B8 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D0 20 00 00 00 00 13 04 06 00 D0 20 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 20 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7C 03 00 00 00 00 07 04 06 00 D0 20 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 16 00 00 00 F4 03 04 00 71 8F 17 67 0E 04 04 00 CE 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 53 5F 00 00 35 04 06 00 21 AA ED EA D9 24 01 4D 67 E4 55 46 44 FB [11:41: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 87 AA 47 00 60 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 53 5F 00 00 F4 03 04 00 14 3B 17 67 B6 04 01 00 00 81 EC F4 D3 23 3D C2 00 [11:41:36]CommunicateWithHost err = 0 [11:41:36]CheckOFDResponse [11:41:36]1017 (14) - 77093643461234 [11:41:36]1041 (16) - 0000000000965420 [11:41:36]1040 (4) - 24403 [11:41:36]1012 (4) - 22.10.2024 05:41 [11:41:36]1206 (1) - 0 [11:41:36]OFD Sender: Remove packet 24403 [11:41:36]ProducePacketName [11:41:36]name=ofd_packets/00024403 [11:41:36]NVStorageDeleteData [11:41:36]Write to MH i2c: 01 00 00 B2 08 BA [11:41:36]Write i2c OK [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: 01 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: 01 07 00 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: 01 07 00 B2 08 00 00 00 00 00 01 0D CF [11:41:36]RasterBufferAndPrint [11:41:36]line [11:41:36]line [11:41:36]line [11:41:36]line [11:41:36]line [11:41:36]written 0, free lines is 3335 [11:41:36]process_action close_receipt done [11:41:36]requested_data is exist [11:41:36]produce_requested_data [11:41:36]requested_item fm.sn is exist - process it [11:41:36]wFMCommunicate request_size=4 [11:41:36]MH_SAM_APDU [11:41:36]CAPDU: 80 11 00 00 [11:41:36]Write to MH i2c: E2 08 00 B9 08 80 11 00 00 00 00 00 00 3B [11:41:36]Write i2c OK [11:41:36]MH_I2C_Read... [11:41:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:41:36]Read from MH i2c: E2 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 17 00 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 17 00 B9 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 88 [11:41:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:41:36]wFMCommunicate OK [11:41:36]requested_item fd.num is exist - process it [11:41:36]SAM_PROTO_GetFieldsCounters [11:41:36]wFMCommunicate request_size=4 [11:41:36]MH_SAM_APDU [11:41:36]CAPDU: 80 13 00 00 [11:41:36]Write to MH i2c: E2 08 00 BA 08 80 13 00 00 00 00 00 00 3E [11:41:36]Write i2c OK [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 [11:41:36]MH_I2C_Read... [11:41:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:41:36]Read from MH i2c: E2 62 00 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 62 00 BA 08 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 53 5F 00 00 0E 04 04 00 CE 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 17 [11:41: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 53 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:41:36]wFMCommunicate OK [11:41:36]SAM_PROTO_GetFieldsCounters done [11:41:36]requested_item shift.num is exist - process it [11:41:36]requested_item shift.opened is exist - process it [11:41:36]req_shift_opened [11:41:36]FM_GetShiftState [11:41:36]SAM_PROTO_GetShiftState [11:41:36]wFMCommunicate request_size=4 [11:41:36]MH_SAM_APDU [11:41:36]CAPDU: 80 13 01 00 [11:41:36]Write to MH i2c: E2 08 00 BB 08 80 13 01 00 00 00 00 00 40 [11:41:36]Write i2c OK [11:41:36]MH_I2C_Read... [11:41:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:41:36]Read from MH i2c: E2 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 0E 00 [11:41:36]MH_I2C_Read... [11:41:36]Read from MH i2c: E2 0E 00 BB 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 38 [11:41:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:41:36]wFMCommunicate OK [11:41:36]SAM_PROTO_GetShiftState done [11:41:36]FM_GetShiftState done [11:41:36]req_shift_opened done [11:41:36]requested_item shift.open_date is exist - process it [11:41:36]req_shift_open_date [11:41:36]req_shift_open_date done [11:41:36]produce_requested_data done [11:41:36]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24403,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:41:36]process_action_free close_receipt [11:41:36]json_value_free [11:41:36]json_value_free done [11:41:36]process_json_proto returns [11:41:36]Send response to host [11:41:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24403,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:41:36]free response buf [11:41:36]execute_script done [11:41:36]execute_script returns [11:41:36]free content buf [11:41:36]Sock 9.Close socket [11:41:36]Sock 9.Thread stoped [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]OFD Sender: No OFD packet to send [11:42:31]OFD Sender: No OFD packet to send [11:42:36]OFD Sender: No OFD packet to send [11:42:41]OFD Sender: No OFD packet to send [11:42:46]OFD Sender: No OFD packet to send [11:42:51]OFD Sender: No OFD packet to send [11:42:56]OFD Sender: No OFD packet to send [11:43:01]OFD Sender: No OFD packet to send [11:43:06]OFD Sender: No OFD packet to send [11:43:11]OFD Sender: No OFD packet to send [11:43:16]OFD Sender: No OFD packet to send [11:43:21]OFD Sender: No OFD packet to send [11:43:26]OFD Sender: No OFD packet to send [11:43:31]OFD Sender: No OFD packet to send [11:43:36]OFD Sender: No OFD packet to send [11:43:41]OFD Sender: No OFD packet to send [11:43:46]OFD Sender: No OFD packet to send [11:43:51]OFD Sender: No OFD packet to send [11:43:56]OFD Sender: No OFD packet to send [11:44:01]OFD Sender: No OFD packet to send [11:44:06]OFD Sender: No OFD packet to send [11:44:11]OFD Sender: No OFD packet to send [11:44:16]OFD Sender: No OFD packet to send [11:44:21]OFD Sender: No OFD packet to send [11:44:26]OFD Sender: No OFD packet to send [11:44:31]OFD Sender: No OFD packet to send [11:44:36]OFD Sender: No OFD packet to send [11:44:41]OFD Sender: No OFD packet to send [11:44:46]OFD Sender: No OFD packet to send [11:44:51]OFD Sender: No OFD packet to send [11:44:56]OFD Sender: No OFD packet to send [11:45:01]OFD Sender: No OFD packet to send [11:45:06]OFD Sender: No OFD packet to send [11:45:11]OFD Sender: No OFD packet to send [11:45:16]OFD Sender: No OFD packet to send [11:45:21]OFD Sender: No OFD packet to send [11:45:26]OFD Sender: No OFD packet to send [11:45:31]OFD Sender: No OFD packet to send [11:45:36]OFD Sender: No OFD packet to send [11:45:41]OFD Sender: No OFD packet to send [11:45:46]OFD Sender: No OFD packet to send [11:45:51]OFD Sender: No OFD packet to send [11:45:56]OFD Sender: No OFD packet to send [11:46:01]OFD Sender: No OFD packet to send [11:46:06]OFD Sender: No OFD packet to send [11:46:11]OFD Sender: No OFD packet to send [11:46:16]OFD Sender: No OFD packet to send [11:46:21]OFD Sender: No OFD packet to send [11:46:22]accept exits with 7 [11:46:22]New connection [11:46:22]New thread 3067596132 created [11:46:22]Thread 3067452772 joined [11:46:22]Waiting for new connection... [11:46:22] Sock 7.Parse request [11:46:22]Sock 7.Check first char [11:46:22]Sock 7.First char is OK [11:46:22]request: POST /json_proto HTTP/1.0 [11:46:22]Method: POST [11:46:22]URL: /json_proto [11:46:22]Method is POST - this is cgi request [11:46:22]url: /json_proto [11:46:22]query_string will be loaded in cgi processing [11:46:22]execute_cgi json_proto POST (null) [11:46:22]execute_cgi path=json_proto method=POST [11:46:22]POST find Content-Length [11:46:22]Host: 172.17.50.4:8080 [11:46:22]Content-Length: 629 [11:46:22]Content-Type: application/json [11:46:22] [11:46:22]POST finish read [11:46:22]Found Content-Length = 629 [11:46:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134923", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:46:22]execute_script... [11:46: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)134923", "tax_sys" : 0, "items" : [ { "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 49.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:46:22]POST & json_proto [11:46:22]process_json_proto [11:46:22]json parsed OK: [11:46:22]protocol is kg_v1.0 [11:46:22]action value=close_receipt [11:46:22]process_action close_receipt [11:46:22]cmd_close_receipt [11:46:22]MH_GetDate [11:46:22]Write to MH i2c: F0 00 00 BC 08 B3 [11:46:22]Write i2c OK [11:46:22]MH_I2C_Read... [11:46:22]Read from MH i2c: F0 [11:46:22]MH_I2C_Read... [11:46:22]Read from MH i2c: F0 09 00 [11:46:22]MH_I2C_Read... [11:46:22]Read from MH i2c: F0 09 00 BC 08 00 92 90 17 67 3B 12 16 67 26 [11:46:22]GetLastDocTimeStamp 1729597297 [11:46:22]current date 1729597586 [11:46:22]FM_GetShiftState [11:46:22]SAM_PROTO_GetShiftState [11:46:22]wFMCommunicate request_size=4 [11:46:22]MH_SAM_APDU [11:46:22]CAPDU: 80 13 01 00 [11:46:22]Write to MH i2c: E2 08 00 BD 08 80 13 01 00 00 00 00 00 42 [11:46:22]Write i2c OK [11:46:22]MH_I2C_Read... [11:46:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:22]Read from MH i2c: E2 [11:46:22]MH_I2C_Read... [11:46:22]Read from MH i2c: E2 0E 00 [11:46:22]MH_I2C_Read... [11:46:22]Read from MH i2c: E2 0E 00 BD 08 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 3A [11:46:22]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:46:22]wFMCommunicate OK [11:46:22]SAM_PROTO_GetShiftState done [11:46:22]FM_GetShiftState done [11:46:22]opened in 1729555332 [11:46:22]opened+sec_in_day 1729641732 [11:46:22]quantity*price = 4900 [11:46:22]sum+1 = 4901 [11:46:22]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 49.00 НСП 1% : 0.43 НДС 12% : 5.20 Наличными: 49.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 23 22.10.2024 11:46 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24404 ФПД: 114895237245974 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114626&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24404&fm=114895237245974&tin=02508201610067®Number=0000000000098120&sum=4900 0 [11:46:23]StoreToDocumentArchive [11:46:23]shift 462 fd 24404 [11:46:23]save to /storage/0462/doc_00024404 [11:46:23]save last doc name /storage/0462/doc_00024404 to /storage/kkm_last_doc_name [11:46:23]save OK [11:46:23]Clear old archive folders... [11:46:23]ProcessDocumentItem done err = 0, tmpTLVsize=272 [11:46:23]tlvbuf is 00D71470 [11:46:23]SAM_PROTO_ClearQueue [11:46:23]wFMCommunicate request_size=4 [11:46:23]MH_SAM_APDU [11:46:23]CAPDU: 80 09 00 00 [11:46:23]Write to MH i2c: E2 08 00 CA 08 80 09 00 00 00 00 00 00 44 [11:46:23]Write i2c OK [11:46:23]MH_I2C_Read... [11:46:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:46:23]Read from MH i2c: E2 [11:46:23]MH_I2C_Read... [11:46:23]Read from MH i2c: E2 03 00 [11:46:23]MH_I2C_Read... [11:46:23]Read from MH i2c: E2 03 00 CA 08 00 90 00 46 [11:46:23]RAPDU: 90 00 [11:46:23]wFMCommunicate OK [11:46:23]SAM_PROTO_ClearQueue done [11:46:23]KKMCreateOFDPacket [11:46:23]OFDProtocolAddRootSTLVToBuf [11:46:23]FM_MakeSignedData [11:46:23]FM_MakeSignedData [11:46:23]SAM_PROTO_SignData [11:46:23]wFMCommunicate request_size=4 [11:46:23]MH_SAM_APDU [11:46:23]CAPDU: 80 0D 01 02 [11:46:23]Write to MH i2c: E2 08 00 CB 08 80 0D 01 02 00 00 00 00 4C [11:46:23]Write i2c OK [11:46:23]MH_I2C_Read... [11:46:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:46:23]Read from MH i2c: E2 [11:46:23]MH_I2C_Read... [11:46:23]Read from MH i2c: E2 03 00 [11:46:23]MH_I2C_Read... [11:46:23]Read from MH i2c: E2 03 00 CB 08 00 90 00 47 [11:46:23]RAPDU: 90 00 [11:46:23]wFMCommunicate OK [11:46:23]wFMCommunicate request_size=255 [11:46:23]MH_SAM_APDU [11:46:23]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 92 90 17 67 0E 04 04 00 CE 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 [11:46:23]Write to MH i2c: E2 02 01 CC 08 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 92 90 17 67 0E 04 04 00 CE 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 00 00 2D [11:46:24]Write i2c OK [11:46:24]MH_I2C_Read... [11:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:24]Read from MH i2c: E2 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 03 00 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 03 00 CC 08 00 90 00 48 [11:46:24]RAPDU: 90 00 [11:46:24]wFMCommunicate OK [11:46:24]wFMCommunicate request_size=31 [11:46:24]MH_SAM_APDU [11:46:24]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 34 32 30 10 04 04 00 54 5F 00 00 35 04 06 00 68 7F 21 CD 6C 16 [11:46:24]Write to MH i2c: E2 22 00 CD 08 80 0D 02 02 1A 00 30 30 39 36 35 34 32 30 10 04 04 00 54 5F 00 00 35 04 06 00 68 7F 21 CD 6C 16 00 00 7E [11:46:24]Write i2c OK [11:46:24]MH_I2C_Read... [11:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:46:24]Read from MH i2c: E2 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 03 00 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 03 00 CD 08 00 90 00 49 [11:46:24]RAPDU: 90 00 [11:46:24]wFMCommunicate OK [11:46:24]wFMCommunicate request_size=4 [11:46:24]MH_SAM_APDU [11:46:24]CAPDU: 80 0D 03 02 [11:46:24]Write to MH i2c: E2 08 00 CE 08 80 0D 03 02 00 00 00 00 51 [11:46:24]Write i2c OK [11:46:24]MH_I2C_Read... [11:46:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:46:24]Read from MH i2c: E2 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 0B 00 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 0B 00 CE 08 00 12 9F 9D 82 32 75 6D FC 90 00 32 [11:46:24]RAPDU: 12 9F 9D 82 32 75 6D FC 90 00 [11:46:24]wFMCommunicate OK [11:46:24]SAM_PROTO_SignData done [11:46:24]FM_MakeSignedData done [11:46:24]CreateOFDProtocolMessage [11:46:24]wFMCommunicate request_size=4 [11:46:24]MH_SAM_APDU [11:46:24]CAPDU: 80 11 00 00 [11:46:24]Write to MH i2c: E2 08 00 CF 08 80 11 00 00 00 00 00 00 51 [11:46:24]Write i2c OK [11:46:24]MH_I2C_Read... [11:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:24]Read from MH i2c: E2 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 17 00 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: E2 17 00 CF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9E [11:46:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:46:24]wFMCommunicate OK [11:46:24]CreateOFDProtocolMessage done [11:46:24]OFDSenderStorePacket 24404 [11:46:24]StoreOFDPacket docnum=24404 [11:46: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 24 01 00 00 D7 74 1C 01 D4 20 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 92 90 17 67 0E 04 04 00 CE 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 54 5F 00 00 35 04 06 00 68 7F 21 CD 6C 16 12 9F 9D 82 32 75 6D FC [11:46:24]CheckFolder [11:46:24]dirname=/storage/ofd_packets [11:46:24]CheckFolder done [11:46:24]ProducePacketName [11:46:24]name=ofd_packets/00024404 [11:46:24]NVStorageSaveData ofd_packets/00024404 [11:46:24]File name is /storage/ofd_packets/00024404 [11:46:24]Write 322 bytes [11:46:24]NVStorageSaveData done [11:46:24]OFDSenderStorePacket done [11:46:24]KKMCreateOFDPacket done [11:46:24]NVStorageSaveData kkm_last_timestamp [11:46:24]File name is /storage/kkm_last_timestamp [11:46:24]Write 4 bytes [11:46:24]NVStorageSaveData done [11:46:24]ExternCall_PrintAddStr [11:46:24]wPrintStart [11:46:24]Write to MH i2c: 01 00 00 D0 08 D8 [11:46:24]Write i2c OK [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: 01 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: 01 07 00 [11:46:24]MH_I2C_Read... [11:46:24]Read from MH i2c: 01 07 00 D0 08 00 00 00 00 00 FF 0F ED [11:46:24]RasterBufferAndPrint [11:46:24]line Счет N : (3)134923 [11:46:24]line ИНН: 02508201610067 [11:46:24]line Контрольно-Кассовый Чек [11:46:24]line ПРОДАЖА [11:46:24]line Товар: 80942726 [11:46:24]line Р/ж mentos мята ролл 16г [11:46:24]line 1.000 * 49.00 [11:46:24]line = 49.00 [11:46:24]line НДС 12% НСП 1% [11:46:24]line > о реализуемом товаре [11:46:24]line ИТОГО: 49.00 [11:46:24]line НСП 1% : 0.43 [11:46:24]line НДС 12% : 5.20 [11:46:24]line Наличными: 49.00 [11:46:24]line Безнал.: 0.00 [11:46:24]line Место: АЗС № 85 "Партнер Нефть" [11:46:24]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:46:24]line СНО: Общий режим [11:46:24]line Чек 23 22.10.2024 11:46 [11:46:24]line Смена: 462 ФФД: 1.0 [11:46:24]line ЗНМ: 0300000166 [11:46:24]line РНМ: 0000000000098120 [11:46:24]line Версия ККМ: 001 [11:46:24]line ФМ: 0000000000965420 [11:46:24]line ФД: 24404 [11:46:24]line ФПД: 114895237245974 [11:46:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T114626&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24404&fm=114895237245974&tin=02508201610067®Number=0000000000098120&sum=4900 [11:46:24]OFD Sender: Processing packet 24404 [packets to send 5, broken 4] [11:46:24]ProducePacketName [11:46:24]name=ofd_packets/00024404 [11:46:24]OFD Sender: To server: pG, [11:46:24]CommunicateWithHost lk.salyk.kg:30040 [11:46:24]ConnectInit lk.salyk.kg [11:46:24]line 0 [11:46:24]written 0, free lines is 4095 [11:46:24]Connected sock=10 [11:46:24]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 24 01 00 00 D7 74 1C 01 D4 20 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 24 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 08 02 00 00 00 00 07 04 06 00 24 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 92 90 17 67 0E 04 04 00 CE 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 54 5F 00 00 35 04 06 00 68 7F 21 CD 6C 16 12 9F 9D 82 32 75 6D FC [11:46: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 70 B3 47 00 0B 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 54 5F 00 00 F4 03 04 00 35 3C 17 67 B6 04 01 00 00 D1 D2 17 F7 EA BF 63 15 [11:46:25]CommunicateWithHost err = 0 [11:46:25]CheckOFDResponse [11:46:25]1017 (14) - 77093643461234 [11:46:25]1041 (16) - 0000000000965420 [11:46:25]1040 (4) - 24404 [11:46:25]1012 (4) - 22.10.2024 05:46 [11:46:25]1206 (1) - 0 [11:46:25]OFD Sender: Remove packet 24404 [11:46:25]ProducePacketName [11:46:25]name=ofd_packets/00024404 [11:46:25]NVStorageDeleteData [11:46:25]Write to MH i2c: 01 00 00 F8 08 00 [11:46:25]Write i2c OK [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: 01 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: 01 07 00 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: 01 07 00 F8 08 00 00 00 00 00 16 0D 2A [11:46:25]RasterBufferAndPrint [11:46:25]line [11:46:25]line [11:46:25]line [11:46:25]line [11:46:25]line [11:46:25]written 0, free lines is 3356 [11:46:25]process_action close_receipt done [11:46:25]requested_data is exist [11:46:25]produce_requested_data [11:46:25]requested_item fm.sn is exist - process it [11:46:25]wFMCommunicate request_size=4 [11:46:25]MH_SAM_APDU [11:46:25]CAPDU: 80 11 00 00 [11:46:25]Write to MH i2c: E2 08 00 FF 08 80 11 00 00 00 00 00 00 81 [11:46:25]Write i2c OK [11:46:25]MH_I2C_Read... [11:46:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:46:25]Read from MH i2c: E2 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 17 00 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 17 00 FF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CE [11:46:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:46:25]wFMCommunicate OK [11:46:25]requested_item fd.num is exist - process it [11:46:25]SAM_PROTO_GetFieldsCounters [11:46:25]wFMCommunicate request_size=4 [11:46:25]MH_SAM_APDU [11:46:25]CAPDU: 80 13 00 00 [11:46:25]Write to MH i2c: E2 08 00 00 09 80 13 00 00 00 00 00 00 85 [11:46:25]Write i2c OK [11:46:25]MH_I2C_Read... [11:46:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:46:25]Read from MH i2c: E2 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 62 00 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 62 00 00 09 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 54 5F 00 00 0E 04 04 00 CE 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 62 [11:46: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 54 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:46:25]wFMCommunicate OK [11:46:25]SAM_PROTO_GetFieldsCounters done [11:46:25]requested_item shift.num is exist - process it [11:46:25]requested_item shift.opened is exist - process it [11:46:25]req_shift_opened [11:46:25]FM_GetShiftState [11:46:25]SAM_PROTO_GetShiftState [11:46:25]wFMCommunicate request_size=4 [11:46:25]MH_SAM_APDU [11:46:25]CAPDU: 80 13 01 00 [11:46:25]Write to MH i2c: E2 08 00 01 09 80 13 01 00 00 00 00 00 87 [11:46:25]Write i2c OK [11:46:25]MH_I2C_Read... [11:46:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:46:25]Read from MH i2c: E2 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 0E 00 [11:46:25]MH_I2C_Read... [11:46:25]Read from MH i2c: E2 0E 00 01 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7F [11:46:25]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:46:25]wFMCommunicate OK [11:46:25]SAM_PROTO_GetShiftState done [11:46:25]FM_GetShiftState done [11:46:25]req_shift_opened done [11:46:25]requested_item shift.open_date is exist - process it [11:46:25]req_shift_open_date [11:46:25]req_shift_open_date done [11:46:25]produce_requested_data done [11:46:25]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24404,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:46:25]process_action_free close_receipt [11:46:25]json_value_free [11:46:25]json_value_free done [11:46:25]process_json_proto returns [11:46:25]Send response to host [11:46:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24404,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:46:25]free response buf [11:46:25]execute_script done [11:46:25]execute_script returns [11:46:25]free content buf [11:46:25]Sock 7.Close socket [11:46:25]Sock 7.Thread stoped [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:20]OFD Sender: No OFD packet to send [11:49:25]OFD Sender: No OFD packet to send [11:49:30]OFD Sender: No OFD packet to send [11:49:35]OFD Sender: No OFD packet to send [11:49:40]OFD Sender: No OFD packet to send [11:49:45]OFD Sender: No OFD packet to send [11:49:50]OFD Sender: No OFD packet to send [11:49:55]OFD Sender: No OFD packet to send [11:50:00]OFD Sender: No OFD packet to send [11:50:05]OFD Sender: No OFD packet to send [11:50:10]OFD Sender: No OFD packet to send [11:50:15]OFD Sender: No OFD packet to send [11:50:20]OFD Sender: No OFD packet to send [11:50:25]OFD Sender: No OFD packet to send [11:50:30]OFD Sender: No OFD packet to send [11:50:35]OFD Sender: No OFD packet to send [11:50:40]OFD Sender: No OFD packet to send [11:50:45]OFD Sender: No OFD packet to send [11:50:50]OFD Sender: No OFD packet to send [11:50:55]OFD Sender: No OFD packet to send [11:51:00]OFD Sender: No OFD packet to send [11:51:05]OFD Sender: No OFD packet to send [11:51:10]OFD Sender: No OFD packet to send [11:51:15]OFD Sender: No OFD packet to send [11:51:20]OFD Sender: No OFD packet to send [11:51:25]OFD Sender: No OFD packet to send [11:51:30]OFD Sender: No OFD packet to send [11:51:35]OFD Sender: No OFD packet to send [11:51:40]OFD Sender: No OFD packet to send [11:51:44]accept exits with 9 [11:51:44]New connection [11:51:44]New thread 3067452772 created [11:51:44]Thread 3067596132 joined [11:51:44]Waiting for new connection... [11:51:44] Sock 9.Parse request [11:51:44]Sock 9.Check first char [11:51:44]Sock 9.First char is OK [11:51:44]request: POST /json_proto HTTP/1.0 [11:51:44]Method: POST [11:51:44]URL: /json_proto [11:51:44]Method is POST - this is cgi request [11:51:44]url: /json_proto [11:51:44]query_string will be loaded in cgi processing [11:51:44]execute_cgi json_proto POST (null) [11:51:44]execute_cgi path=json_proto method=POST [11:51:44]POST find Content-Length [11:51:44]Host: 172.17.50.4:8080 [11:51:44]Content-Length: 904 [11:51:44]Content-Type: application/json [11:51:44] [11:51:44]POST finish read [11:51:44]Found Content-Length = 904 [11:51:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134924", "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": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:44]execute_script... [11:51: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)134924", "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": "46146632", "name": "\u0420/\u0436 Orbit XXL \u043A\u043B\u0443\u0431\u043D\u0438\u043A\u0430,\u0431\u0430\u043D\u0430\u043D 20,4\u0433", "price" : 55.00, "quantity" : 1.000, "sum" : 55.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 199.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:51:44]POST & json_proto [11:51:44]process_json_proto [11:51:44]json parsed OK: [11:51:44]protocol is kg_v1.0 [11:51:44]action value=close_receipt [11:51:44]process_action close_receipt [11:51:44]cmd_close_receipt [11:51:44]MH_GetDate [11:51:44]Write to MH i2c: F0 00 00 02 09 FA [11:51:44]Write i2c OK [11:51:44]MH_I2C_Read... [11:51:44]Read from MH i2c: F0 [11:51:44]MH_I2C_Read... [11:51:44]Read from MH i2c: F0 09 00 [11:51:44]MH_I2C_Read... [11:51:44]Read from MH i2c: F0 09 00 02 09 00 D4 91 17 67 3B 12 16 67 B0 [11:51:44]GetLastDocTimeStamp 1729597586 [11:51:44]current date 1729597908 [11:51:44]FM_GetShiftState [11:51:44]SAM_PROTO_GetShiftState [11:51:44]wFMCommunicate request_size=4 [11:51:44]MH_SAM_APDU [11:51:44]CAPDU: 80 13 01 00 [11:51:44]Write to MH i2c: E2 08 00 03 09 80 13 01 00 00 00 00 00 89 [11:51:44]Write i2c OK [11:51:44]MH_I2C_Read... [11:51:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:44]Read from MH i2c: E2 [11:51:44]MH_I2C_Read... [11:51:44]Read from MH i2c: E2 0E 00 [11:51:44]MH_I2C_Read... [11:51:44]Read from MH i2c: E2 0E 00 03 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 81 [11:51:44]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:51:44]wFMCommunicate OK [11:51:44]SAM_PROTO_GetShiftState done [11:51:44]FM_GetShiftState done [11:51:44]opened in 1729555332 [11:51:44]opened+sec_in_day 1729641732 [11:51:44]quantity*price = 14400 [11:51:44]sum+1 = 14401 [11:51:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46146632 Р/ж Orbit XXL клубника,банан 20,4г 1.000 * 55.00 = 55.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 199.00 НСП 1% : 1.76 НДС 12% : 21.13 Наличными: 199.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 24 22.10.2024 11:51 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24405 ФПД: 275822539628064 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T115148&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24405&fm=275822539628064&tin=02508201610067®Number=0000000000098120&sum=19900 0 [11:51:46]StoreToDocumentArchive [11:51:46]shift 462 fd 24405 [11:51:46]save to /storage/0462/doc_00024405 [11:51:46]save last doc name /storage/0462/doc_00024405 to /storage/kkm_last_doc_name [11:51:46]save OK [11:51:46]Clear old archive folders... [11:51:46]ProcessDocumentItem done err = 0, tmpTLVsize=392 [11:51:46]tlvbuf is 00D5F180 [11:51:46]SAM_PROTO_ClearQueue [11:51:46]wFMCommunicate request_size=4 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 09 00 00 [11:51:46]Write to MH i2c: E2 08 00 10 09 80 09 00 00 00 00 00 00 8B [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 10 09 00 90 00 8D [11:51:46]RAPDU: 90 00 [11:51:46]wFMCommunicate OK [11:51:46]SAM_PROTO_ClearQueue done [11:51:46]KKMCreateOFDPacket [11:51:46]OFDProtocolAddRootSTLVToBuf [11:51:46]FM_MakeSignedData [11:51:46]FM_MakeSignedData [11:51:46]SAM_PROTO_SignData [11:51:46]wFMCommunicate request_size=4 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 0D 01 02 [11:51:46]Write to MH i2c: E2 08 00 11 09 80 0D 01 02 00 00 00 00 93 [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 11 09 00 90 00 8E [11:51:46]RAPDU: 90 00 [11:51:46]wFMCommunicate OK [11:51:46]wFMCommunicate request_size=255 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 0D 02 02 FA 03 00 88 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 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 [11:51:46]Write to MH i2c: E2 02 01 12 09 80 0D 02 02 FA 00 03 00 88 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 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 00 00 EA [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 12 09 00 90 00 8F [11:51:46]RAPDU: 90 00 [11:51:46]wFMCommunicate OK [11:51:46]wFMCommunicate request_size=151 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 0D 02 02 92 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 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 D4 91 17 67 0E 04 04 00 CE 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 55 5F 00 00 35 04 06 00 FA DB F0 7E DE 20 [11:51:46]Write to MH i2c: E2 9A 00 13 09 80 0D 02 02 92 00 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 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 D4 91 17 67 0E 04 04 00 CE 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 55 5F 00 00 35 04 06 00 FA DB F0 7E DE 20 00 00 A2 [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 03 00 13 09 00 90 00 90 [11:51:46]RAPDU: 90 00 [11:51:46]wFMCommunicate OK [11:51:46]wFMCommunicate request_size=4 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 0D 03 02 [11:51:46]Write to MH i2c: E2 08 00 14 09 80 0D 03 02 00 00 00 00 98 [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 0B 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 0B 00 14 09 00 4E 46 65 22 33 B5 28 65 90 00 29 [11:51:46]RAPDU: 4E 46 65 22 33 B5 28 65 90 00 [11:51:46]wFMCommunicate OK [11:51:46]SAM_PROTO_SignData done [11:51:46]FM_MakeSignedData done [11:51:46]CreateOFDProtocolMessage [11:51:46]wFMCommunicate request_size=4 [11:51:46]MH_SAM_APDU [11:51:46]CAPDU: 80 11 00 00 [11:51:46]Write to MH i2c: E2 08 00 15 09 80 11 00 00 00 00 00 00 98 [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:46]Read from MH i2c: E2 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 17 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: E2 17 00 15 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E5 [11:51:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:51:46]wFMCommunicate OK [11:51:46]CreateOFDProtocolMessage done [11:51:46]OFDSenderStorePacket 24405 [11:51:46]StoreOFDPacket docnum=24405 [11:51:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 9C 01 00 00 02 D3 94 01 92 DD 5A 03 01 00 03 00 88 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 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 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 D4 91 17 67 0E 04 04 00 CE 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 55 5F 00 00 35 04 06 00 FA DB F0 7E DE 20 4E 46 65 22 33 B5 28 65 [11:51:46]CheckFolder [11:51:46]dirname=/storage/ofd_packets [11:51:46]CheckFolder done [11:51:46]ProducePacketName [11:51:46]name=ofd_packets/00024405 [11:51:46]NVStorageSaveData ofd_packets/00024405 [11:51:46]File name is /storage/ofd_packets/00024405 [11:51:46]Write 442 bytes [11:51:46]NVStorageSaveData done [11:51:46]OFDSenderStorePacket done [11:51:46]KKMCreateOFDPacket done [11:51:46]NVStorageSaveData kkm_last_timestamp [11:51:46]File name is /storage/kkm_last_timestamp [11:51:46]Write 4 bytes [11:51:46]NVStorageSaveData done [11:51:46]ExternCall_PrintAddStr [11:51:46]wPrintStart [11:51:46]Write to MH i2c: 01 00 00 16 09 1F [11:51:46]Write i2c OK [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: 01 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: 01 07 00 [11:51:46]MH_I2C_Read... [11:51:46]Read from MH i2c: 01 07 00 16 09 00 00 00 00 00 FF 0F 34 [11:51:46]RasterBufferAndPrint [11:51:46]line Счет N : (3)134924 [11:51:47]line ИНН: 02508201610067 [11:51:47]line Контрольно-Кассовый Чек [11:51:47]line ПРОДАЖА [11:51:47]line Товар: 48743587 [11:51:47]line Сигареты Winston XStyle Silver [11:51:47]line 1.000 * 144.00 [11:51:47]line = 144.00 [11:51:47]line НДС 12% НСП 1% [11:51:47]line > о реализуемом товаре [11:51:47]line Товар: 46146632 [11:51:47]line Р/ж Orbit XXL клубника,банан 20,4г [11:51:47]line 1.000 * 55.00 [11:51:47]line = 55.00 [11:51:47]line НДС 12% НСП 1% [11:51:47]line > о реализуемом товаре [11:51:47]line ИТОГО: 199.00 [11:51:47]line НСП 1% : 1.76 [11:51:47]line НДС 12% : 21.13 [11:51:47]line Наличными: 199.00 [11:51:47]line Безнал.: 0.00 [11:51:47]line Место: АЗС № 85 "Партнер Нефть" [11:51:47]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [11:51:47]line СНО: Общий режим [11:51:47]line Чек 24 22.10.2024 11:51 [11:51:47]line Смена: 462 ФФД: 1.0 [11:51:47]line ЗНМ: 0300000166 [11:51:47]line РНМ: 0000000000098120 [11:51:47]line Версия ККМ: 001 [11:51:47]line ФМ: 0000000000965420 [11:51:47]line ФД: 24405 [11:51:47]line ФПД: 275822539628064 [11:51:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T115148&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24405&fm=275822539628064&tin=02508201610067®Number=0000000000098120&sum=19900 [11:51:47]OFD Sender: Processing packet 24405 [packets to send 5, broken 4] [11:51:47]ProducePacketName [11:51:47]name=ofd_packets/00024405 [11:51:47]OFD Sender: To server: pG, [11:51:47]CommunicateWithHost lk.salyk.kg:30040 [11:51:47]ConnectInit lk.salyk.kg [11:51:47]line 0 [11:51:47]written 0, free lines is 4095 [11:51:47]Connected sock=10 [11:51: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 9C 01 00 00 02 D3 94 01 92 DD 5A 03 01 00 03 00 88 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 71 00 8A 04 08 00 34 36 31 34 36 36 33 32 06 04 32 00 D0 A0 2F D0 B6 20 4F 72 62 69 74 20 58 58 4C 20 D0 BA D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 2C D0 B1 D0 B0 D0 BD D0 B0 D0 BD 20 32 30 2C 34 D0 B3 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 BC 4D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 41 08 00 00 00 00 07 04 06 00 BC 4D 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 D4 91 17 67 0E 04 04 00 CE 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 55 5F 00 00 35 04 06 00 FA DB F0 7E DE 20 4E 46 65 22 33 B5 28 65 [11:51: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 F5 35 47 00 25 53 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 55 5F 00 00 F4 03 04 00 78 3D 17 67 B6 04 01 00 00 59 FC CE 73 B9 C0 61 E3 [11:51:47]CommunicateWithHost err = 0 [11:51:47]CheckOFDResponse [11:51:47]1017 (14) - 77093643461234 [11:51:47]1041 (16) - 0000000000965420 [11:51:47]1040 (4) - 24405 [11:51:47]1012 (4) - 22.10.2024 05:51 [11:51:47]1206 (1) - 0 [11:51:47]OFD Sender: Remove packet 24405 [11:51:47]ProducePacketName [11:51:47]name=ofd_packets/00024405 [11:51:47]NVStorageDeleteData [11:51:47]Write to MH i2c: 01 00 00 46 09 4F [11:51:47]Write i2c OK [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: 01 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: 01 07 00 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: 01 07 00 46 09 00 00 00 00 00 A4 0C 06 [11:51:47]RasterBufferAndPrint [11:51:47]line [11:51:47]line [11:51:47]line [11:51:47]line [11:51:47]line [11:51:47]written 0, free lines is 3245 [11:51:47]process_action close_receipt done [11:51:47]requested_data is exist [11:51:47]produce_requested_data [11:51:47]requested_item fm.sn is exist - process it [11:51:47]wFMCommunicate request_size=4 [11:51:47]MH_SAM_APDU [11:51:47]CAPDU: 80 11 00 00 [11:51:47]Write to MH i2c: E2 08 00 4D 09 80 11 00 00 00 00 00 00 D0 [11:51:47]Write i2c OK [11:51:47]MH_I2C_Read... [11:51:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:51:47]Read from MH i2c: E2 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 17 00 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 17 00 4D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1D [11:51:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [11:51:47]wFMCommunicate OK [11:51:47]requested_item fd.num is exist - process it [11:51:47]SAM_PROTO_GetFieldsCounters [11:51:47]wFMCommunicate request_size=4 [11:51:47]MH_SAM_APDU [11:51:47]CAPDU: 80 13 00 00 [11:51:47]Write to MH i2c: E2 08 00 4E 09 80 13 00 00 00 00 00 00 D3 [11:51:47]Write i2c OK [11:51:47]MH_I2C_Read... [11:51:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:51:47]Read from MH i2c: E2 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 62 00 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 62 00 4E 09 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 55 5F 00 00 0E 04 04 00 CE 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 B4 [11:51:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 55 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:51:47]wFMCommunicate OK [11:51:47]SAM_PROTO_GetFieldsCounters done [11:51:47]requested_item shift.num is exist - process it [11:51:47]requested_item shift.opened is exist - process it [11:51:47]req_shift_opened [11:51:47]FM_GetShiftState [11:51:47]SAM_PROTO_GetShiftState [11:51:47]wFMCommunicate request_size=4 [11:51:47]MH_SAM_APDU [11:51:47]CAPDU: 80 13 01 00 [11:51:47]Write to MH i2c: E2 08 00 4F 09 80 13 01 00 00 00 00 00 D5 [11:51:47]Write i2c OK [11:51:47]MH_I2C_Read... [11:51:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:51:47]Read from MH i2c: E2 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 0E 00 [11:51:47]MH_I2C_Read... [11:51:47]Read from MH i2c: E2 0E 00 4F 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 CD [11:51:47]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [11:51:47]wFMCommunicate OK [11:51:47]SAM_PROTO_GetShiftState done [11:51:47]FM_GetShiftState done [11:51:47]req_shift_opened done [11:51:47]requested_item shift.open_date is exist - process it [11:51:47]req_shift_open_date [11:51:47]req_shift_open_date done [11:51:47]produce_requested_data done [11:51:47]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24405,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [11:51:47]process_action_free close_receipt [11:51:47]json_value_free [11:51:47]json_value_free done [11:51:47]process_json_proto returns [11:51:47]Send response to host [11:51:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24405,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [11:51:47]free response buf [11:51:47]execute_script done [11:51:47]execute_script returns [11:51:47]free content buf [11:51:47]Sock 9.Close socket [11:51:47]Sock 9.Thread stoped [11:51:47]OFD Sender: No OFD packet to send [11:51:52]OFD Sender: No OFD packet to send [11:51:57]OFD Sender: No OFD packet to send [11:52:02]OFD Sender: No OFD packet to send [11:52:07]OFD Sender: No OFD packet to send [11:52:12]OFD Sender: No OFD packet to send [11:52:17]OFD Sender: No OFD packet to send [11:52:22]OFD Sender: No OFD packet to send [11:52:27]OFD Sender: No OFD packet to send [11:52:32]OFD Sender: No OFD packet to send [11:52:37]OFD Sender: No OFD packet to send [11:52:42]OFD Sender: No OFD packet to send [11:52:47]OFD Sender: No OFD packet to send [11:52:52]OFD Sender: No OFD packet to send [11:52:57]OFD Sender: No OFD packet to send [11:53:02]OFD Sender: No OFD packet to send [11:53:07]OFD Sender: No OFD packet to send [11:53:12]OFD Sender: No OFD packet to send [11:53:17]OFD Sender: No OFD packet to send [11:53:22]OFD Sender: No OFD packet to send [11:53:27]OFD Sender: No OFD packet to send [11:53:32]OFD Sender: No OFD packet to send [11:53:37]OFD Sender: No OFD packet to send [11:53:42]OFD Sender: No OFD packet to send [11:53:47]OFD Sender: No OFD packet to send [11:53:52]OFD Sender: No OFD packet to send [11:53:57]OFD Sender: No OFD packet to send [11:54:02]OFD Sender: No OFD packet to send [11:54:07]OFD Sender: No OFD packet to send [11:54:12]OFD Sender: No OFD packet to send [11:54:17]OFD Sender: No OFD packet to send [11:54:22]OFD Sender: No OFD packet to send [11:54:27]OFD Sender: No OFD packet to send [11:54:32]OFD Sender: No OFD packet to send [11:54:37]OFD Sender: No OFD packet to send [11:54:42]OFD Sender: No OFD packet to send [11:54:47]OFD Sender: No OFD packet to send [11:54:52]OFD Sender: No OFD packet to send [11:54:57]OFD Sender: No OFD packet to send [11:55:02]OFD Sender: No OFD packet to send [11:55:07]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:18]OFD Sender: No OFD packet to send [11:55:23]OFD Sender: No OFD packet to send [11:55:28]OFD Sender: No OFD packet to send [11:55:33]OFD Sender: No OFD packet to send [11:55:38]OFD Sender: No OFD packet to send [11:55:43]OFD Sender: No OFD packet to send [11:55:48]OFD Sender: No OFD packet to send [11:55:53]OFD Sender: No OFD packet to send [11:55:58]OFD Sender: No OFD packet to send [11:56:03]OFD Sender: No OFD packet to send [11:56:08]OFD Sender: No OFD packet to send [11:56:13]OFD Sender: No OFD packet to send [11:56:18]OFD Sender: No OFD packet to send [11:56:23]OFD Sender: No OFD packet to send [11:56:28]OFD Sender: No OFD packet to send [11:56:33]OFD Sender: No OFD packet to send [11:56:38]OFD Sender: No OFD packet to send [11:56:43]OFD Sender: No OFD packet to send [11:56:48]OFD Sender: No OFD packet to send [11:56:53]OFD Sender: No OFD packet to send [11:56:58]OFD Sender: No OFD packet to send [11:57:03]OFD Sender: No OFD packet to send [11:57:08]OFD Sender: No OFD packet to send [11:57:13]OFD Sender: No OFD packet to send [11:57:18]OFD Sender: No OFD packet to send [11:57:23]OFD Sender: No OFD packet to send [11:57:28]OFD Sender: No OFD packet to send [11:57:33]OFD Sender: No OFD packet to send [11:57:38]OFD Sender: No OFD packet to send [11:57:43]OFD Sender: No OFD packet to send [11:57:48]OFD Sender: No OFD packet to send [11:57:53]OFD Sender: No OFD packet to send [11:57:58]OFD Sender: No OFD packet to send [11:58:03]OFD Sender: No OFD packet to send [11:58:08]OFD Sender: No OFD packet to send [11:58:13]OFD Sender: No OFD packet to send [11:58:18]OFD Sender: No OFD packet to send [11:58:23]OFD Sender: No OFD packet to send [11:58:28]OFD Sender: No OFD packet to send [11:58:33]OFD Sender: No OFD packet to send [11:58:38]OFD Sender: No OFD packet to send [11:58:43]OFD Sender: No OFD packet to send [11:58:48]OFD Sender: No OFD packet to send [11:58:53]OFD Sender: No OFD packet to send [11:58:58]OFD Sender: No OFD packet to send [11:59:03]OFD Sender: No OFD packet to send [11:59:08]OFD Sender: No OFD packet to send [11:59:13]OFD Sender: No OFD packet to send [11:59:18]OFD Sender: No OFD packet to send [11:59:23]OFD Sender: No OFD packet to send [11:59:28]OFD Sender: No OFD packet to send [11:59:33]OFD Sender: No OFD packet to send [11:59:38]OFD Sender: No OFD packet to send [11:59:43]OFD Sender: No OFD packet to send [11:59:48]OFD Sender: No OFD packet to send [11:59:53]OFD Sender: No OFD packet to send [11:59:58]OFD Sender: No OFD packet to send [12:00:03]OFD Sender: No OFD packet to send [12:00:08]OFD Sender: No OFD packet to send [12:00:13]OFD Sender: No OFD packet to send [12:00:18]OFD Sender: No OFD packet to send [12:00:23]OFD Sender: No OFD packet to send [12:00:28]OFD Sender: No OFD packet to send [12:00:33]OFD Sender: No OFD packet to send [12:00:38]OFD Sender: No OFD packet to send [12:00:43]OFD Sender: No OFD packet to send [12:00:48]OFD Sender: No OFD packet to send [12:00:53]OFD Sender: No OFD packet to send [12:00:58]OFD Sender: No OFD packet to send [12:01:03]OFD Sender: No OFD packet to send [12:01:08]OFD Sender: No OFD packet to send [12:01:13]OFD Sender: No OFD packet to send [12:01:18]OFD Sender: No OFD packet to send [12:01:23]OFD Sender: No OFD packet to send [12:01:28]OFD Sender: No OFD packet to send [12:01:33]OFD Sender: No OFD packet to send [12:01:36]accept exits with 7 [12:01:36]New connection [12:01:36]New thread 3067596132 created [12:01:36]Thread 3067452772 joined [12:01:36]Waiting for new connection... [12:01:36] Sock 7.Parse request [12:01:36]Sock 7.Check first char [12:01:36]Sock 7.First char is OK [12:01:36]request: POST /json_proto HTTP/1.0 [12:01:36]Method: POST [12:01:36]URL: /json_proto [12:01:36]Method is POST - this is cgi request [12:01:36]url: /json_proto [12:01:36]query_string will be loaded in cgi processing [12:01:36]execute_cgi json_proto POST (null) [12:01:36]execute_cgi path=json_proto method=POST [12:01:36]POST find Content-Length [12:01:36]Host: 172.17.50.4:8080 [12:01:36]Content-Length: 604 [12:01:36]Content-Type: application/json [12:01:36] [12:01:36]POST finish read [12:01:36]Found Content-Length = 604 [12:01:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134925", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:36]execute_script... [12:01: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)134925", "tax_sys" : 0, "items" : [ { "code": "4870112003925", "name": "\u041A\u043E\u043D\u0434 ULKER-Albeni 40gr (6*24)", "price" : 44.00, "quantity" : 1.000, "sum" : 44.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 44.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:01:36]POST & json_proto [12:01:36]process_json_proto [12:01:36]json parsed OK: [12:01:36]protocol is kg_v1.0 [12:01:36]action value=close_receipt [12:01:36]process_action close_receipt [12:01:36]cmd_close_receipt [12:01:36]MH_GetDate [12:01:36]Write to MH i2c: F0 00 00 50 09 48 [12:01:36]Write i2c OK [12:01:36]MH_I2C_Read... [12:01:36]Read from MH i2c: F0 [12:01:36]MH_I2C_Read... [12:01:36]Read from MH i2c: F0 09 00 [12:01:36]MH_I2C_Read... [12:01:36]Read from MH i2c: F0 09 00 50 09 00 23 94 17 67 3B 12 16 67 50 [12:01:36]GetLastDocTimeStamp 1729597908 [12:01:36]current date 1729598499 [12:01:36]FM_GetShiftState [12:01:36]SAM_PROTO_GetShiftState [12:01:36]wFMCommunicate request_size=4 [12:01:36]MH_SAM_APDU [12:01:36]CAPDU: 80 13 01 00 [12:01:36]Write to MH i2c: E2 08 00 51 09 80 13 01 00 00 00 00 00 D7 [12:01:36]Write i2c OK [12:01:36]MH_I2C_Read... [12:01:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:36]Read from MH i2c: E2 [12:01:36]MH_I2C_Read... [12:01:36]Read from MH i2c: E2 0E 00 [12:01:36]MH_I2C_Read... [12:01:36]Read from MH i2c: E2 0E 00 51 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 CF [12:01:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:01:36]wFMCommunicate OK [12:01:36]SAM_PROTO_GetShiftState done [12:01:36]FM_GetShiftState done [12:01:36]opened in 1729555332 [12:01:36]opened+sec_in_day 1729641732 [12:01:36]quantity*price = 4400 [12:01:36]sum+1 = 4401 [12:01:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 44.00 НСП 1% : 0.39 НДС 12% : 4.67 Наличными: 44.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 25 22.10.2024 12:01 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24406 ФПД: 159541406618845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T120140&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24406&fm=159541406618845&tin=02508201610067®Number=0000000000098120&sum=4400 0 [12:01:37]StoreToDocumentArchive [12:01:37]shift 462 fd 24406 [12:01:37]save to /storage/0462/doc_00024406 [12:01:37]save last doc name /storage/0462/doc_00024406 to /storage/kkm_last_doc_name [12:01:37]save OK [12:01:37]Clear old archive folders... [12:01:37]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:01:37]tlvbuf is 00D70D00 [12:01:37]SAM_PROTO_ClearQueue [12:01:37]wFMCommunicate request_size=4 [12:01:37]MH_SAM_APDU [12:01:37]CAPDU: 80 09 00 00 [12:01:37]Write to MH i2c: E2 08 00 5E 09 80 09 00 00 00 00 00 00 D9 [12:01:37]Write i2c OK [12:01:37]MH_I2C_Read... [12:01:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:01:37]Read from MH i2c: E2 [12:01:37]MH_I2C_Read... [12:01:37]Read from MH i2c: E2 03 00 [12:01:37]MH_I2C_Read... [12:01:37]Read from MH i2c: E2 03 00 5E 09 00 90 00 DB [12:01:37]RAPDU: 90 00 [12:01:37]wFMCommunicate OK [12:01:37]SAM_PROTO_ClearQueue done [12:01:37]KKMCreateOFDPacket [12:01:37]OFDProtocolAddRootSTLVToBuf [12:01:37]FM_MakeSignedData [12:01:37]FM_MakeSignedData [12:01:37]SAM_PROTO_SignData [12:01:37]wFMCommunicate request_size=4 [12:01:37]MH_SAM_APDU [12:01:37]CAPDU: 80 0D 01 02 [12:01:37]Write to MH i2c: E2 08 00 5F 09 80 0D 01 02 00 00 00 00 E1 [12:01:37]Write i2c OK [12:01:37]MH_I2C_Read... [12:01:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:01:37]Read from MH i2c: E2 [12:01:37]MH_I2C_Read... [12:01:37]Read from MH i2c: E2 03 00 [12:01:37]MH_I2C_Read... [12:01:37]Read from MH i2c: E2 03 00 5F 09 00 90 00 DC [12:01:37]RAPDU: 90 00 [12:01:37]wFMCommunicate OK [12:01:37]wFMCommunicate request_size=255 [12:01:37]MH_SAM_APDU [12:01:37]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 24 94 17 67 0E 04 04 00 CE 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 [12:01:37]Write to MH i2c: E2 02 01 60 09 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 24 94 17 67 0E 04 04 00 CE 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 94 [12:01:37]Write i2c OK [12:01:37]MH_I2C_Read... [12:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:38]Read from MH i2c: E2 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 03 00 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 03 00 60 09 00 90 00 DD [12:01:38]RAPDU: 90 00 [12:01:38]wFMCommunicate OK [12:01:38]wFMCommunicate request_size=34 [12:01:38]MH_SAM_APDU [12:01:38]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 56 5F 00 00 35 04 06 00 91 1A 20 DE 54 DD [12:01:38]Write to MH i2c: E2 25 00 61 09 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 56 5F 00 00 35 04 06 00 91 1A 20 DE 54 DD 00 00 2E [12:01:38]Write i2c OK [12:01:38]MH_I2C_Read... [12:01:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:01:38]Read from MH i2c: E2 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 03 00 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 03 00 61 09 00 90 00 DE [12:01:38]RAPDU: 90 00 [12:01:38]wFMCommunicate OK [12:01:38]wFMCommunicate request_size=4 [12:01:38]MH_SAM_APDU [12:01:38]CAPDU: 80 0D 03 02 [12:01:38]Write to MH i2c: E2 08 00 62 09 80 0D 03 02 00 00 00 00 E6 [12:01:38]Write i2c OK [12:01:38]MH_I2C_Read... [12:01:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:01:38]Read from MH i2c: E2 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 0B 00 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 0B 00 62 09 00 7E BC 50 80 D3 A7 38 33 90 00 D6 [12:01:38]RAPDU: 7E BC 50 80 D3 A7 38 33 90 00 [12:01:38]wFMCommunicate OK [12:01:38]SAM_PROTO_SignData done [12:01:38]FM_MakeSignedData done [12:01:38]CreateOFDProtocolMessage [12:01:38]wFMCommunicate request_size=4 [12:01:38]MH_SAM_APDU [12:01:38]CAPDU: 80 11 00 00 [12:01:38]Write to MH i2c: E2 08 00 63 09 80 11 00 00 00 00 00 00 E6 [12:01:38]Write i2c OK [12:01:38]MH_I2C_Read... [12:01:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:38]Read from MH i2c: E2 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 17 00 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: E2 17 00 63 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 33 [12:01: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:01:38]wFMCommunicate OK [12:01:38]CreateOFDProtocolMessage done [12:01:38]OFDSenderStorePacket 24406 [12:01:38]StoreOFDPacket docnum=24406 [12:01: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 27 01 00 00 B4 3F 1F 01 CE EE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 24 94 17 67 0E 04 04 00 CE 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 56 5F 00 00 35 04 06 00 91 1A 20 DE 54 DD 7E BC 50 80 D3 A7 38 33 [12:01:38]CheckFolder [12:01:38]dirname=/storage/ofd_packets [12:01:38]CheckFolder done [12:01:38]ProducePacketName [12:01:38]name=ofd_packets/00024406 [12:01:38]NVStorageSaveData ofd_packets/00024406 [12:01:38]File name is /storage/ofd_packets/00024406 [12:01:38]Write 325 bytes [12:01:38]NVStorageSaveData done [12:01:38]OFDSenderStorePacket done [12:01:38]KKMCreateOFDPacket done [12:01:38]NVStorageSaveData kkm_last_timestamp [12:01:38]File name is /storage/kkm_last_timestamp [12:01:38]Write 4 bytes [12:01:38]NVStorageSaveData done [12:01:38]ExternCall_PrintAddStr [12:01:38]wPrintStart [12:01:38]Write to MH i2c: 01 00 00 64 09 6D [12:01:38]Write i2c OK [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: 01 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: 01 07 00 [12:01:38]MH_I2C_Read... [12:01:38]Read from MH i2c: 01 07 00 64 09 00 00 00 00 00 FF 0F 82 [12:01:38]RasterBufferAndPrint [12:01:38]line Счет N : (3)134925 [12:01:38]line ИНН: 02508201610067 [12:01:38]line Контрольно-Кассовый Чек [12:01:38]line ПРОДАЖА [12:01:38]line Товар: 4870112003925 [12:01:38]line Конд ULKER-Albeni 40gr (6*24) [12:01:38]line 1.000 * 44.00 [12:01:38]line = 44.00 [12:01:38]line НДС 12% НСП 1% [12:01:38]line > о реализуемом товаре [12:01:38]line ИТОГО: 44.00 [12:01:38]line НСП 1% : 0.39 [12:01:38]line НДС 12% : 4.67 [12:01:38]line Наличными: 44.00 [12:01:38]line Безнал.: 0.00 [12:01:38]line Место: АЗС № 85 "Партнер Нефть" [12:01:38]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:01:38]line СНО: Общий режим [12:01:38]line Чек 25 22.10.2024 12:01 [12:01:38]line Смена: 462 ФФД: 1.0 [12:01:38]line ЗНМ: 0300000166 [12:01:38]line РНМ: 0000000000098120 [12:01:38]line Версия ККМ: 001 [12:01:38]line ФМ: 0000000000965420 [12:01:38]line ФД: 24406 [12:01:38]line ФПД: 159541406618845 [12:01:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T120140&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24406&fm=159541406618845&tin=02508201610067®Number=0000000000098120&sum=4400 [12:01:38]line 0 [12:01:38]OFD Sender: Processing packet 24406 [packets to send 5, broken 4] [12:01:38]ProducePacketName [12:01:38]name=ofd_packets/00024406 [12:01:38]OFD Sender: To server: pG, [12:01:38]CommunicateWithHost lk.salyk.kg:30040 [12:01:38]ConnectInit lk.salyk.kg [12:01:38]written 0, free lines is 4095 [12:01:38]Connected sock=10 [12:01: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 27 01 00 00 B4 3F 1F 01 CE EE 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 32 35 06 04 21 00 D0 9A D0 BE D0 BD D0 B4 20 55 4C 4B 45 52 2D 41 6C 62 65 6E 69 20 34 30 67 72 20 28 36 2A 32 34 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 30 11 00 00 00 00 13 04 06 00 30 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 27 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 01 00 00 00 00 07 04 06 00 30 11 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 19 00 00 00 F4 03 04 00 24 94 17 67 0E 04 04 00 CE 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 56 5F 00 00 35 04 06 00 91 1A 20 DE 54 DD 7E BC 50 80 D3 A7 38 33 [12:01: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 70 A8 47 00 8F 63 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 56 5F 00 00 F4 03 04 00 C7 3F 17 67 B6 04 01 00 00 2B DE 5C 05 32 0E F3 07 [12:01:38]CommunicateWithHost err = 0 [12:01:38]CheckOFDResponse [12:01:38]1017 (14) - 77093643461234 [12:01:38]1041 (16) - 0000000000965420 [12:01:38]1040 (4) - 24406 [12:01:38]1012 (4) - 22.10.2024 06:01 [12:01:38]1206 (1) - 0 [12:01:38]OFD Sender: Remove packet 24406 [12:01:38]ProducePacketName [12:01:38]name=ofd_packets/00024406 [12:01:38]NVStorageDeleteData [12:01:39]Write to MH i2c: 01 00 00 8C 09 95 [12:01:39]Write i2c OK [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: 01 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: 01 07 00 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: 01 07 00 8C 09 00 00 00 00 00 19 0D C2 [12:01:39]RasterBufferAndPrint [12:01:39]line [12:01:39]line [12:01:39]line [12:01:39]line [12:01:39]line [12:01:39]written 0, free lines is 3359 [12:01:39]process_action close_receipt done [12:01:39]requested_data is exist [12:01:39]produce_requested_data [12:01:39]requested_item fm.sn is exist - process it [12:01:39]wFMCommunicate request_size=4 [12:01:39]MH_SAM_APDU [12:01:39]CAPDU: 80 11 00 00 [12:01:39]Write to MH i2c: E2 08 00 93 09 80 11 00 00 00 00 00 00 16 [12:01:39]Write i2c OK [12:01:39]MH_I2C_Read... [12:01:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:01:39]Read from MH i2c: E2 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 17 00 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 17 00 93 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 63 [12:01:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:01:39]wFMCommunicate OK [12:01:39]requested_item fd.num is exist - process it [12:01:39]SAM_PROTO_GetFieldsCounters [12:01:39]wFMCommunicate request_size=4 [12:01:39]MH_SAM_APDU [12:01:39]CAPDU: 80 13 00 00 [12:01:39]Write to MH i2c: E2 08 00 94 09 80 13 00 00 00 00 00 00 19 [12:01:39]Write i2c OK [12:01:39]MH_I2C_Read... [12:01:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:01:39]Read from MH i2c: E2 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 62 00 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 62 00 94 09 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 56 5F 00 00 0E 04 04 00 CE 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 FE [12:01: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 56 5F 00 00 0E 04 04 00 CE 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 [12:01:39]wFMCommunicate OK [12:01:39]SAM_PROTO_GetFieldsCounters done [12:01:39]requested_item shift.num is exist - process it [12:01:39]requested_item shift.opened is exist - process it [12:01:39]req_shift_opened [12:01:39]FM_GetShiftState [12:01:39]SAM_PROTO_GetShiftState [12:01:39]wFMCommunicate request_size=4 [12:01:39]MH_SAM_APDU [12:01:39]CAPDU: 80 13 01 00 [12:01:39]Write to MH i2c: E2 08 00 95 09 80 13 01 00 00 00 00 00 1B [12:01:39]Write i2c OK [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 [12:01:39]MH_I2C_Read... [12:01:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:01:39]Read from MH i2c: E2 0E 00 [12:01:39]MH_I2C_Read... [12:01:39]Read from MH i2c: E2 0E 00 95 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 13 [12:01:39]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:01:39]wFMCommunicate OK [12:01:39]SAM_PROTO_GetShiftState done [12:01:39]FM_GetShiftState done [12:01:39]req_shift_opened done [12:01:39]requested_item shift.open_date is exist - process it [12:01:39]req_shift_open_date [12:01:39]req_shift_open_date done [12:01:39]produce_requested_data done [12:01:39]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24406,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:01:39]process_action_free close_receipt [12:01:39]json_value_free [12:01:39]json_value_free done [12:01:39]process_json_proto returns [12:01:39]Send response to host [12:01:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24406,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:01:39]free response buf [12:01:39]execute_script done [12:01:39]execute_script returns [12:01:39]free content buf [12:01:39]Sock 7.Close socket [12:01:39]Sock 7.Thread stoped [12:01:39]OFD Sender: No OFD packet to send [12:01:44]OFD Sender: No OFD packet to send [12:01:49]OFD Sender: No OFD packet to send [12:01:54]OFD Sender: No OFD packet to send [12:01:59]OFD Sender: No OFD packet to send [12:02:04]OFD Sender: No OFD packet to send [12:02:09]OFD Sender: No OFD packet to send [12:02:14]OFD Sender: No OFD packet to send [12:02:19]OFD Sender: No OFD packet to send [12:02:24]OFD Sender: No OFD packet to send [12:02:29]OFD Sender: No OFD packet to send [12:02:34]OFD Sender: No OFD packet to send [12:02:39]OFD Sender: No OFD packet to send [12:02:44]OFD Sender: No OFD packet to send [12:02:49]OFD Sender: No OFD packet to send [12:02:54]OFD Sender: No OFD packet to send [12:02:59]OFD Sender: No OFD packet to send [12:03:04]OFD Sender: No OFD packet to send [12:03:09]OFD Sender: No OFD packet to send [12:03:14]OFD Sender: No OFD packet to send [12:03:19]OFD Sender: No OFD packet to send [12:03:24]OFD Sender: No OFD packet to send [12:03:29]OFD Sender: No OFD packet to send [12:03:34]OFD Sender: No OFD packet to send [12:03:39]OFD Sender: No OFD packet to send [12:03:44]OFD Sender: No OFD packet to send [12:03:49]OFD Sender: No OFD packet to send [12:03:54]OFD Sender: No OFD packet to send [12:03:59]OFD Sender: No OFD packet to send [12:04:04]OFD Sender: No OFD packet to send [12:04:09]OFD Sender: No OFD packet to send [12:04:14]OFD Sender: No OFD packet to send [12:04:19]OFD Sender: No OFD packet to send [12:04:24]OFD Sender: No OFD packet to send [12:04:29]OFD Sender: No OFD packet to send [12:04:34]OFD Sender: No OFD packet to send [12:04:39]OFD Sender: No OFD packet to send [12:04:44]OFD Sender: No OFD packet to send [12:04:49]OFD Sender: No OFD packet to send [12:04:54]OFD Sender: No OFD packet to send [12:04:59]OFD Sender: No OFD packet to send [12:05:04]OFD Sender: No OFD packet to send [12:05:09]OFD Sender: No OFD packet to send [12:05:14]OFD Sender: No OFD packet to send [12:05:19]OFD Sender: No OFD packet to send [12:05:24]OFD Sender: No OFD packet to send [12:05:29]OFD Sender: No OFD packet to send [12:05:34]OFD Sender: No OFD packet to send [12:05:39]OFD Sender: No OFD packet to send [12:05:44]OFD Sender: No OFD packet to send [12:05:49]OFD Sender: No OFD packet to send [12:05:54]OFD Sender: No OFD packet to send [12:05:59]OFD Sender: No OFD packet to send [12:06:04]OFD Sender: No OFD packet to send [12:06:09]OFD Sender: No OFD packet to send [12:06:14]OFD Sender: No OFD packet to send [12:06:19]OFD Sender: No OFD packet to send [12:06:24]OFD Sender: No OFD packet to send [12:06:29]OFD Sender: No OFD packet to send [12:06:34]OFD Sender: No OFD packet to send [12:06:39]OFD Sender: No OFD packet to send [12:06:44]OFD Sender: No OFD packet to send [12:06:49]OFD Sender: No OFD packet to send [12:06:54]OFD Sender: No OFD packet to send [12:06:59]OFD Sender: No OFD packet to send [12:07:04]OFD Sender: No OFD packet to send [12:07:09]OFD Sender: No OFD packet to send [12:07:14]OFD Sender: No OFD packet to send [12:07:19]OFD Sender: No OFD packet to send [12:07:24]OFD Sender: No OFD packet to send [12:07:29]OFD Sender: No OFD packet to send [12:07:34]OFD Sender: No OFD packet to send [12:07:39]OFD Sender: No OFD packet to send [12:07:44]OFD Sender: No OFD packet to send [12:07:49]OFD Sender: No OFD packet to send [12:07:54]OFD Sender: No OFD packet to send [12:07:59]OFD Sender: No OFD packet to send [12:08:04]OFD Sender: No OFD packet to send [12:08:09]OFD Sender: No OFD packet to send [12:08:14]OFD Sender: No OFD packet to send [12:08:19]OFD Sender: No OFD packet to send [12:08:24]OFD Sender: No OFD packet to send [12:08:29]OFD Sender: No OFD packet to send [12:08:34]OFD Sender: No OFD packet to send [12:08:39]OFD Sender: No OFD packet to send [12:08:44]OFD Sender: No OFD packet to send [12:08:49]OFD Sender: No OFD packet to send [12:08:54]OFD Sender: No OFD packet to send [12:08:59]OFD Sender: No OFD packet to send [12:09:04]OFD Sender: No OFD packet to send [12:09:09]OFD Sender: No OFD packet to send [12:09:14]OFD Sender: No OFD packet to send [12:09:19]OFD Sender: No OFD packet to send [12:09:24]OFD Sender: No OFD packet to send [12:09:29]OFD Sender: No OFD packet to send [12:09:34]OFD Sender: No OFD packet to send [12:09:39]OFD Sender: No OFD packet to send [12:09:44]OFD Sender: No OFD packet to send [12:09:49]OFD Sender: No OFD packet to send [12:09:54]OFD Sender: No OFD packet to send [12:09:59]OFD Sender: No OFD packet to send [12:10:04]OFD Sender: No OFD packet to send [12:10:09]OFD Sender: No OFD packet to send [12:10:14]OFD Sender: No OFD packet to send [12:10:19]OFD Sender: No OFD packet to send [12:10:24]OFD Sender: No OFD packet to send [12:10:29]OFD Sender: No OFD packet to send [12:10:34]OFD Sender: No OFD packet to send [12:10:39]OFD Sender: No OFD packet to send [12:10:44]OFD Sender: No OFD packet to send [12:10:49]OFD Sender: No OFD packet to send [12:10:54]OFD Sender: No OFD packet to send [12:10:59]OFD Sender: No OFD packet to send [12:11:04]OFD Sender: No OFD packet to send [12:11:09]OFD Sender: No OFD packet to send [12:11:14]OFD Sender: No OFD packet to send [12:11:19]OFD Sender: No OFD packet to send [12:11:24]OFD Sender: No OFD packet to send [12:11:29]OFD Sender: No OFD packet to send [12:11:34]OFD Sender: No OFD packet to send [12:11:39]OFD Sender: No OFD packet to send [12:11:44]OFD Sender: No OFD packet to send [12:11:49]OFD Sender: No OFD packet to send [12:11:54]OFD Sender: No OFD packet to send [12:11:59]OFD Sender: No OFD packet to send [12:12:04]OFD Sender: No OFD packet to send [12:12:09]OFD Sender: No OFD packet to send [12:12:14]OFD Sender: No OFD packet to send [12:12:19]OFD Sender: No OFD packet to send [12:12:24]OFD Sender: No OFD packet to send [12:12:29]OFD Sender: No OFD packet to send [12:12:34]OFD Sender: No OFD packet to send [12:12:39]OFD Sender: No OFD packet to send [12:12:44]OFD Sender: No OFD packet to send [12:12:49]OFD Sender: No OFD packet to send [12:12:54]OFD Sender: No OFD packet to send [12:12:59]OFD Sender: No OFD packet to send [12:13:04]OFD Sender: No OFD packet to send [12:13:09]OFD Sender: No OFD packet to send [12:13:14]OFD Sender: No OFD packet to send [12:13:19]OFD Sender: No OFD packet to send [12:13:24]OFD Sender: No OFD packet to send [12:13:29]OFD Sender: No OFD packet to send [12:13:34]OFD Sender: No OFD packet to send [12:13:39]OFD Sender: No OFD packet to send [12:13:44]OFD Sender: No OFD packet to send [12:13:50]OFD Sender: No OFD packet to send [12:13:55]OFD Sender: No OFD packet to send [12:14:00]OFD Sender: No OFD packet to send [12:14:05]OFD Sender: No OFD packet to send [12:14:10]OFD Sender: No OFD packet to send [12:14:15]OFD Sender: No OFD packet to send [12:14:20]OFD Sender: No OFD packet to send [12:14:25]OFD Sender: No OFD packet to send [12:14:30]OFD Sender: No OFD packet to send [12:14:35]OFD Sender: No OFD packet to send [12:14:40]OFD Sender: No OFD packet to send [12:14:45]OFD Sender: No OFD packet to send [12:14:50]OFD Sender: No OFD packet to send [12:14:55]OFD Sender: No OFD packet to send [12:15:00]OFD Sender: No OFD packet to send [12:15:05]OFD Sender: No OFD packet to send [12:15:10]OFD Sender: No OFD packet to send [12:15:15]OFD Sender: No OFD packet to send [12:15:20]OFD Sender: No OFD packet to send [12:15:25]OFD Sender: No OFD packet to send [12:15:30]OFD Sender: No OFD packet to send [12:15:35]OFD Sender: No OFD packet to send [12:15:40]OFD Sender: No OFD packet to send [12:15:45]OFD Sender: No OFD packet to send [12:15:50]OFD Sender: No OFD packet to send [12:15:55]OFD Sender: No OFD packet to send [12:16:00]OFD Sender: No OFD packet to send [12:16:05]OFD Sender: No OFD packet to send [12:16:10]OFD Sender: No OFD packet to send [12:16:15]OFD Sender: No OFD packet to send [12:16:20]OFD Sender: No OFD packet to send [12:16:25]OFD Sender: No OFD packet to send [12:16:30]OFD Sender: No OFD packet to send [12:16:35]OFD Sender: No OFD packet to send [12:16:40]OFD Sender: No OFD packet to send [12:16:45]OFD Sender: No OFD packet to send [12:16:50]OFD Sender: No OFD packet to send [12:16:55]OFD Sender: No OFD packet to send [12:17:00]OFD Sender: No OFD packet to send [12:17:05]OFD Sender: No OFD packet to send [12:17:10]OFD Sender: No OFD packet to send [12:17:15]OFD Sender: No OFD packet to send [12:17:20]OFD Sender: No OFD packet to send [12:17:25]OFD Sender: No OFD packet to send [12:17:30]OFD Sender: No OFD packet to send [12:17:35]OFD Sender: No OFD packet to send [12:17:40]OFD Sender: No OFD packet to send [12:17:45]OFD Sender: No OFD packet to send [12:17:48]accept exits with 9 [12:17:48]New connection [12:17:48]New thread 3067452772 created [12:17:48]Thread 3067596132 joined [12:17:48]Waiting for new connection... [12:17:48] Sock 9.Parse request [12:17:48]Sock 9.Check first char [12:17:48]Sock 9.First char is OK [12:17:48]request: POST /json_proto HTTP/1.0 [12:17:48]Method: POST [12:17:48]URL: /json_proto [12:17:48]Method is POST - this is cgi request [12:17:48]url: /json_proto [12:17:48]query_string will be loaded in cgi processing [12:17:48]execute_cgi json_proto POST (null) [12:17:48]execute_cgi path=json_proto method=POST [12:17:48]POST find Content-Length [12:17:48]Host: 172.17.50.4:8080 [12:17:48]Content-Length: 575 [12:17:48]Content-Type: application/json [12:17:48] [12:17:48]POST finish read [12:17:48]Found Content-Length = 575 [12:17:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134926", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:48]execute_script... [12:17: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)134926", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 137.00, "quantity" : 1.000, "sum" : 137.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 137.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:17:48]POST & json_proto [12:17:48]process_json_proto [12:17:48]json parsed OK: [12:17:48]protocol is kg_v1.0 [12:17:48]action value=close_receipt [12:17:48]process_action close_receipt [12:17:48]cmd_close_receipt [12:17:48]MH_GetDate [12:17:48]Write to MH i2c: F0 00 00 96 09 8E [12:17:48]Write i2c OK [12:17:48]MH_I2C_Read... [12:17:48]Read from MH i2c: F0 [12:17:48]MH_I2C_Read... [12:17:48]Read from MH i2c: F0 09 00 [12:17:48]MH_I2C_Read... [12:17:48]Read from MH i2c: F0 09 00 96 09 00 F0 97 17 67 3B 12 16 67 66 [12:17:48]GetLastDocTimeStamp 1729598500 [12:17:48]current date 1729599472 [12:17:48]FM_GetShiftState [12:17:48]SAM_PROTO_GetShiftState [12:17:48]wFMCommunicate request_size=4 [12:17:48]MH_SAM_APDU [12:17:48]CAPDU: 80 13 01 00 [12:17:48]Write to MH i2c: E2 08 00 97 09 80 13 01 00 00 00 00 00 1D [12:17:48]Write i2c OK [12:17:48]MH_I2C_Read... [12:17:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:17:48]Read from MH i2c: E2 [12:17:48]MH_I2C_Read... [12:17:48]Read from MH i2c: E2 0E 00 [12:17:48]MH_I2C_Read... [12:17:48]Read from MH i2c: E2 0E 00 97 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 15 [12:17:48]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:17:48]wFMCommunicate OK [12:17:48]SAM_PROTO_GetShiftState done [12:17:48]FM_GetShiftState done [12:17:48]opened in 1729555332 [12:17:48]opened+sec_in_day 1729641732 [12:17:48]quantity*price = 13700 [12:17:48]sum+1 = 13701 [12:17:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 137.00 НСП 1% : 1.21 НДС 12% : 14.55 Наличными: 137.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 26 22.10.2024 12:17 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24407 ФПД: 124569846074343 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T121752&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24407&fm=124569846074343&tin=02508201610067®Number=0000000000098120&sum=13700 0 [12:17:49]StoreToDocumentArchive [12:17:49]shift 462 fd 24407 [12:17:49]save to /storage/0462/doc_00024407 [12:17:49]save last doc name /storage/0462/doc_00024407 to /storage/kkm_last_doc_name [12:17:49]save OK [12:17:49]Clear old archive folders... [12:17:49]ProcessDocumentItem done err = 0, tmpTLVsize=259 [12:17:49]tlvbuf is 00D70BC0 [12:17:49]SAM_PROTO_ClearQueue [12:17:49]wFMCommunicate request_size=4 [12:17:49]MH_SAM_APDU [12:17:49]CAPDU: 80 09 00 00 [12:17:49]Write to MH i2c: E2 08 00 A4 09 80 09 00 00 00 00 00 00 1F [12:17:49]Write i2c OK [12:17:49]MH_I2C_Read... [12:17:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:17:49]Read from MH i2c: E2 [12:17:49]MH_I2C_Read... [12:17:49]Read from MH i2c: E2 03 00 [12:17:49]MH_I2C_Read... [12:17:49]Read from MH i2c: E2 03 00 A4 09 00 90 00 21 [12:17:49]RAPDU: 90 00 [12:17:49]wFMCommunicate OK [12:17:49]SAM_PROTO_ClearQueue done [12:17:49]KKMCreateOFDPacket [12:17:49]OFDProtocolAddRootSTLVToBuf [12:17:49]FM_MakeSignedData [12:17:49]FM_MakeSignedData [12:17:49]SAM_PROTO_SignData [12:17:49]wFMCommunicate request_size=4 [12:17:49]MH_SAM_APDU [12:17:49]CAPDU: 80 0D 01 02 [12:17:49]Write to MH i2c: E2 08 00 A5 09 80 0D 01 02 00 00 00 00 27 [12:17:49]Write i2c OK [12:17:49]MH_I2C_Read... [12:17:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:17:49]Read from MH i2c: E2 [12:17:49]MH_I2C_Read... [12:17:49]Read from MH i2c: E2 03 00 [12:17:49]MH_I2C_Read... [12:17:49]Read from MH i2c: E2 03 00 A5 09 00 90 00 22 [12:17:49]RAPDU: 90 00 [12:17:49]wFMCommunicate OK [12:17:49]wFMCommunicate request_size=255 [12:17:49]MH_SAM_APDU [12:17:49]CAPDU: 80 0D 02 02 FA 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 F0 97 17 67 0E 04 04 00 CE 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 57 [12:17:49]Write to MH i2c: E2 02 01 A6 09 80 0D 02 02 FA 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 F0 97 17 67 0E 04 04 00 CE 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 57 00 00 24 [12:17:49]Write i2c OK [12:17:49]MH_I2C_Read... [12:17:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:50]Read from MH i2c: E2 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 03 00 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 03 00 A6 09 00 90 00 23 [12:17:50]RAPDU: 90 00 [12:17:50]wFMCommunicate OK [12:17:50]wFMCommunicate request_size=18 [12:17:50]MH_SAM_APDU [12:17:50]CAPDU: 80 0D 02 02 0D 5F 00 00 35 04 06 00 71 4B AD 6C CB E7 [12:17:50]Write to MH i2c: E2 15 00 A7 09 80 0D 02 02 0D 00 5F 00 00 35 04 06 00 71 4B AD 6C CB E7 00 00 69 [12:17:50]Write i2c OK [12:17:50]MH_I2C_Read... [12:17:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:17:50]Read from MH i2c: E2 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 03 00 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 03 00 A7 09 00 90 00 24 [12:17:50]RAPDU: 90 00 [12:17:50]wFMCommunicate OK [12:17:50]wFMCommunicate request_size=4 [12:17:50]MH_SAM_APDU [12:17:50]CAPDU: 80 0D 03 02 [12:17:50]Write to MH i2c: E2 08 00 A8 09 80 0D 03 02 00 00 00 00 2C [12:17:50]Write i2c OK [12:17:50]MH_I2C_Read... [12:17:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:17:50]Read from MH i2c: E2 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 0B 00 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 0B 00 A8 09 00 BB B9 B5 9F 04 B7 AB 02 90 00 5D [12:17:50]RAPDU: BB B9 B5 9F 04 B7 AB 02 90 00 [12:17:50]wFMCommunicate OK [12:17:50]SAM_PROTO_SignData done [12:17:50]FM_MakeSignedData done [12:17:50]CreateOFDProtocolMessage [12:17:50]wFMCommunicate request_size=4 [12:17:50]MH_SAM_APDU [12:17:50]CAPDU: 80 11 00 00 [12:17:50]Write to MH i2c: E2 08 00 A9 09 80 11 00 00 00 00 00 00 2C [12:17:50]Write i2c OK [12:17:50]MH_I2C_Read... [12:17:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:17:50]Read from MH i2c: E2 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 17 00 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: E2 17 00 A9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 79 [12:17:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:17:50]wFMCommunicate OK [12:17:50]CreateOFDProtocolMessage done [12:17:50]OFDSenderStorePacket 24407 [12:17:50]StoreOFDPacket docnum=24407 [12:17: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 17 01 00 00 80 D0 0F 01 0A F4 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 F0 97 17 67 0E 04 04 00 CE 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 57 5F 00 00 35 04 06 00 71 4B AD 6C CB E7 BB B9 B5 9F 04 B7 AB 02 [12:17:50]CheckFolder [12:17:50]dirname=/storage/ofd_packets [12:17:50]CheckFolder done [12:17:50]ProducePacketName [12:17:50]name=ofd_packets/00024407 [12:17:50]NVStorageSaveData ofd_packets/00024407 [12:17:50]File name is /storage/ofd_packets/00024407 [12:17:50]Write 309 bytes [12:17:50]NVStorageSaveData done [12:17:50]OFDSenderStorePacket done [12:17:50]KKMCreateOFDPacket done [12:17:50]NVStorageSaveData kkm_last_timestamp [12:17:50]File name is /storage/kkm_last_timestamp [12:17:50]Write 4 bytes [12:17:50]NVStorageSaveData done [12:17:50]ExternCall_PrintAddStr [12:17:50]wPrintStart [12:17:50]Write to MH i2c: 01 00 00 AA 09 B3 [12:17:50]OFD Sender: Processing packet 24407 [packets to send 5, broken 4] [12:17:50]ProducePacketName [12:17:50]name=ofd_packets/00024407 [12:17:50]OFD Sender: To server: pG, [12:17:50]CommunicateWithHost lk.salyk.kg:30040 [12:17:50]ConnectInit lk.salyk.kg [12:17:50]Write i2c OK [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: 01 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: 01 07 00 [12:17:50]MH_I2C_Read... [12:17:50]Read from MH i2c: 01 07 00 AA 09 00 00 00 00 00 FF 0F C8 [12:17:50]RasterBufferAndPrint [12:17:50]line Счет N : (3)134926 [12:17:50]line ИНН: 02508201610067 [12:17:50]line Контрольно-Кассовый Чек [12:17:50]line ПРОДАЖА [12:17:50]line Товар: 48744713 [12:17:50]line LD Compact Purple Beat [12:17:50]line 1.000 * 137.00 [12:17:50]line = 137.00 [12:17:50]line НДС 12% НСП 1% [12:17:50]line > о реализуемом товаре [12:17:50]line ИТОГО: 137.00 [12:17:50]line НСП 1% : 1.21 [12:17:50]line НДС 12% : 14.55 [12:17:50]line Наличными: 137.00 [12:17:50]line Безнал.: 0.00 [12:17:50]line Место: АЗС № 85 "Партнер Нефть" [12:17:50]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:17:50]line СНО: Общий режим [12:17:50]line Чек 26 22.10.2024 12:17 [12:17:50]line Смена: 462 ФФД: 1.0 [12:17:50]line ЗНМ: 0300000166 [12:17:50]line РНМ: 0000000000098120 [12:17:50]line Версия ККМ: 001 [12:17:50]line ФМ: 0000000000965420 [12:17:50]line ФД: 24407 [12:17:50]line ФПД: 124569846074343 [12:17:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T121752&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24407&fm=124569846074343&tin=02508201610067®Number=0000000000098120&sum=13700 [12:17:50]Connected sock=6 [12:17: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 17 01 00 00 80 D0 0F 01 0A F4 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 35 00 00 00 00 13 04 06 00 84 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 79 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AF 05 00 00 00 00 07 04 06 00 84 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 F0 97 17 67 0E 04 04 00 CE 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 57 5F 00 00 35 04 06 00 71 4B AD 6C CB E7 BB B9 B5 9F 04 B7 AB 02 [12:17:50]line 0 [12:17:50]written 0, free lines is 4095 [12:17: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 83 CD 47 00 CA 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 57 5F 00 00 F4 03 04 00 93 43 17 67 B6 04 01 00 00 F5 62 31 42 23 7D 76 DD [12:17:50]CommunicateWithHost err = 0 [12:17:50]CheckOFDResponse [12:17:50]1017 (14) - 77093643461234 [12:17:50]1041 (16) - 0000000000965420 [12:17:50]1040 (4) - 24407 [12:17:50]1012 (4) - 22.10.2024 06:17 [12:17:50]1206 (1) - 0 [12:17:50]OFD Sender: Remove packet 24407 [12:17:50]ProducePacketName [12:17:50]name=ofd_packets/00024407 [12:17:50]NVStorageDeleteData [12:17:51]Write to MH i2c: 01 00 00 D2 09 DB [12:17:51]Write i2c OK [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: 01 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: 01 07 00 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: 01 07 00 D2 09 00 00 00 00 00 22 0D 11 [12:17:51]RasterBufferAndPrint [12:17:51]line [12:17:51]line [12:17:51]line [12:17:51]line [12:17:51]line [12:17:51]written 0, free lines is 3369 [12:17:51]process_action close_receipt done [12:17:51]requested_data is exist [12:17:51]produce_requested_data [12:17:51]requested_item fm.sn is exist - process it [12:17:51]wFMCommunicate request_size=4 [12:17:51]MH_SAM_APDU [12:17:51]CAPDU: 80 11 00 00 [12:17:51]Write to MH i2c: E2 08 00 D9 09 80 11 00 00 00 00 00 00 5C [12:17:51]Write i2c OK [12:17:51]MH_I2C_Read... [12:17:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:17:51]Read from MH i2c: E2 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 17 00 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 17 00 D9 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A9 [12:17:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:17:51]wFMCommunicate OK [12:17:51]requested_item fd.num is exist - process it [12:17:51]SAM_PROTO_GetFieldsCounters [12:17:51]wFMCommunicate request_size=4 [12:17:51]MH_SAM_APDU [12:17:51]CAPDU: 80 13 00 00 [12:17:51]Write to MH i2c: E2 08 00 DA 09 80 13 00 00 00 00 00 00 5F [12:17:51]Write i2c OK [12:17:51]MH_I2C_Read... [12:17:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:17:51]Read from MH i2c: E2 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 62 00 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 62 00 DA 09 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 57 5F 00 00 0E 04 04 00 CE 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 48 [12:17: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 57 5F 00 00 0E 04 04 00 CE 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 [12:17:51]wFMCommunicate OK [12:17:51]SAM_PROTO_GetFieldsCounters done [12:17:51]requested_item shift.num is exist - process it [12:17:51]requested_item shift.opened is exist - process it [12:17:51]req_shift_opened [12:17:51]FM_GetShiftState [12:17:51]SAM_PROTO_GetShiftState [12:17:51]wFMCommunicate request_size=4 [12:17:51]MH_SAM_APDU [12:17:51]CAPDU: 80 13 01 00 [12:17:51]Write to MH i2c: E2 08 00 DB 09 80 13 01 00 00 00 00 00 61 [12:17:51]Write i2c OK [12:17:51]MH_I2C_Read... [12:17:51]OFD Sender: No OFD packet to send [12:17:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:17:51]Read from MH i2c: E2 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 0E 00 [12:17:51]MH_I2C_Read... [12:17:51]Read from MH i2c: E2 0E 00 DB 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 59 [12:17:51]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:17:51]wFMCommunicate OK [12:17:51]SAM_PROTO_GetShiftState done [12:17:51]FM_GetShiftState done [12:17:51]req_shift_opened done [12:17:51]requested_item shift.open_date is exist - process it [12:17:51]req_shift_open_date [12:17:51]req_shift_open_date done [12:17:51]produce_requested_data done [12:17:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24407,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:17:51]process_action_free close_receipt [12:17:51]json_value_free [12:17:51]json_value_free done [12:17:51]process_json_proto returns [12:17:51]Send response to host [12:17:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24407,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:17:51]free response buf [12:17:51]execute_script done [12:17:51]execute_script returns [12:17:51]free content buf [12:17:51]Sock 9.Close socket [12:17:51]Sock 9.Thread stoped [12:17:56]OFD Sender: No OFD packet to send [12:18:01]OFD Sender: No OFD packet to send [12:18:06]OFD Sender: No OFD packet to send [12:18:11]OFD Sender: No OFD packet to send [12:18:16]OFD Sender: No OFD packet to send [12:18:21]OFD Sender: No OFD packet to send [12:18:26]OFD Sender: No OFD packet to send [12:18:31]OFD Sender: No OFD packet to send [12:18:36]OFD Sender: No OFD packet to send [12:18:41]OFD Sender: No OFD packet to send [12:18:46]OFD Sender: No OFD packet to send [12:18:51]OFD Sender: No OFD packet to send [12:18:56]OFD Sender: No OFD packet to send [12:19:01]OFD Sender: No OFD packet to send [12:19:06]OFD Sender: No OFD packet to send [12:19:11]OFD Sender: No OFD packet to send [12:19:16]OFD Sender: No OFD packet to send [12:19:21]OFD Sender: No OFD packet to send [12:19:26]OFD Sender: No OFD packet to send [12:19:31]OFD Sender: No OFD packet to send [12:19:36]OFD Sender: No OFD packet to send [12:19:41]OFD Sender: No OFD packet to send [12:19:46]OFD Sender: No OFD packet to send [12:19:51]OFD Sender: No OFD packet to send [12:19:56]OFD Sender: No OFD packet to send [12:20:01]OFD Sender: No OFD packet to send [12:20:06]OFD Sender: No OFD packet to send [12:20:11]OFD Sender: No OFD packet to send [12:20:16]OFD Sender: No OFD packet to send [12:20:21]OFD Sender: No OFD packet to send [12:20:26]OFD Sender: No OFD packet to send [12:20:31]OFD Sender: No OFD packet to send [12:20:36]OFD Sender: No OFD packet to send [12:20:41]OFD Sender: No OFD packet to send [12:20:46]OFD Sender: No OFD packet to send [12:20:51]OFD Sender: No OFD packet to send [12:20:56]OFD Sender: No OFD packet to send [12:21:01]OFD Sender: No OFD packet to send [12:21:06]OFD Sender: No OFD packet to send [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:53]accept exits with 7 [12:22:53]New connection [12:22:53]New thread 3067596132 created [12:22:53]Thread 3067452772 joined [12:22:53]Waiting for new connection... [12:22:53] Sock 7.Parse request [12:22:53]Sock 7.Check first char [12:22:53]Sock 7.First char is OK [12:22:53]request: POST /json_proto HTTP/1.0 [12:22:53]Method: POST [12:22:53]URL: /json_proto [12:22:53]Method is POST - this is cgi request [12:22:53]url: /json_proto [12:22:53]query_string will be loaded in cgi processing [12:22:53]execute_cgi json_proto POST (null) [12:22:53]execute_cgi path=json_proto method=POST [12:22:53]POST find Content-Length [12:22:53]Host: 172.17.50.4:8080 [12:22:53]Content-Length: 658 [12:22:53]Content-Type: application/json [12:22:53] [12:22:53]POST finish read [12:22:53]Found Content-Length = 658 [12:22:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134927", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 5.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" ] } } [12:22:53]execute_script... [12:22:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134927", "tax_sys" : 0, "items" : [ { "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 5.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" ] } } [12:22:53]POST & json_proto [12:22:53]process_json_proto [12:22:53]json parsed OK: [12:22:53]protocol is kg_v1.0 [12:22:53]action value=close_receipt [12:22:53]process_action close_receipt [12:22:53]cmd_close_receipt [12:22:53]MH_GetDate [12:22:53]Write to MH i2c: F0 00 00 DC 09 D4 [12:22:53]Write i2c OK [12:22:53]MH_I2C_Read... [12:22:53]Read from MH i2c: F0 [12:22:53]MH_I2C_Read... [12:22:53]Read from MH i2c: F0 09 00 [12:22:53]MH_I2C_Read... [12:22:53]Read from MH i2c: F0 09 00 DC 09 00 21 99 17 67 3B 12 16 67 DF [12:22:53]GetLastDocTimeStamp 1729599472 [12:22:53]current date 1729599777 [12:22:53]FM_GetShiftState [12:22:53]SAM_PROTO_GetShiftState [12:22:53]wFMCommunicate request_size=4 [12:22:53]MH_SAM_APDU [12:22:53]CAPDU: 80 13 01 00 [12:22:53]Write to MH i2c: E2 08 00 DD 09 80 13 01 00 00 00 00 00 63 [12:22:53]Write i2c OK [12:22:53]MH_I2C_Read... [12:22:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:22:53]Read from MH i2c: E2 [12:22:53]MH_I2C_Read... [12:22:53]Read from MH i2c: E2 0E 00 [12:22:53]MH_I2C_Read... [12:22:53]Read from MH i2c: E2 0E 00 DD 09 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 5B [12:22:53]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:22:53]wFMCommunicate OK [12:22:53]SAM_PROTO_GetShiftState done [12:22:53]FM_GetShiftState done [12:22:53]opened in 1729555332 [12:22:53]opened+sec_in_day 1729641732 [12:22:53]quantity*price = 2000 [12:22:53]sum+1 = 2001 [12:22:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 20.00 НСП 1% : 0.18 НДС 12% : 2.12 Наличными: 20.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 27 22.10.2024 12:22 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24408 ФПД: 112160994048217 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T122257&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24408&fm=112160994048217&tin=02508201610067®Number=0000000000098120&sum=2000 0 [12:22:54]StoreToDocumentArchive [12:22:54]shift 462 fd 24408 [12:22:54]save to /storage/0462/doc_00024408 [12:22:54]save last doc name /storage/0462/doc_00024408 to /storage/kkm_last_doc_name [12:22:54]save OK [12:22:54]Clear old archive folders... [12:22:54]ProcessDocumentItem done err = 0, tmpTLVsize=278 [12:22:54]tlvbuf is 00D5DFC0 [12:22:54]SAM_PROTO_ClearQueue [12:22:54]wFMCommunicate request_size=4 [12:22:54]MH_SAM_APDU [12:22:54]CAPDU: 80 09 00 00 [12:22:54]Write to MH i2c: E2 08 00 EA 09 80 09 00 00 00 00 00 00 65 [12:22:54]Write i2c OK [12:22:54]MH_I2C_Read... [12:22:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:22:54]Read from MH i2c: E2 [12:22:54]MH_I2C_Read... [12:22:54]Read from MH i2c: E2 03 00 [12:22:54]MH_I2C_Read... [12:22:54]Read from MH i2c: E2 03 00 EA 09 00 90 00 67 [12:22:54]RAPDU: 90 00 [12:22:54]wFMCommunicate OK [12:22:54]SAM_PROTO_ClearQueue done [12:22:54]KKMCreateOFDPacket [12:22:54]OFDProtocolAddRootSTLVToBuf [12:22:54]FM_MakeSignedData [12:22:54]FM_MakeSignedData [12:22:54]SAM_PROTO_SignData [12:22:54]wFMCommunicate request_size=4 [12:22:54]MH_SAM_APDU [12:22:54]CAPDU: 80 0D 01 02 [12:22:54]Write to MH i2c: E2 08 00 EB 09 80 0D 01 02 00 00 00 00 6D [12:22:54]Write i2c OK [12:22:54]MH_I2C_Read... [12:22:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:22:54]Read from MH i2c: E2 [12:22:54]MH_I2C_Read... [12:22:54]Read from MH i2c: E2 03 00 [12:22:54]MH_I2C_Read... [12:22:54]Read from MH i2c: E2 03 00 EB 09 00 90 00 68 [12:22:54]RAPDU: 90 00 [12:22:54]wFMCommunicate OK [12:22:54]wFMCommunicate request_size=255 [12:22:54]MH_SAM_APDU [12:22:54]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 90 01 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 1B 00 00 00 F4 03 04 00 21 99 17 67 0E 04 04 00 CE 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 [12:22:54]Write to MH i2c: E2 02 01 EC 09 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 90 01 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 1B 00 00 00 F4 03 04 00 21 99 17 67 0E 04 04 00 CE 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 02 [12:22:54]Write i2c OK [12:22:54]MH_I2C_Read... [12:22:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:55]Read from MH i2c: E2 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 03 00 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 03 00 EC 09 00 90 00 69 [12:22:55]RAPDU: 90 00 [12:22:55]wFMCommunicate OK [12:22:55]wFMCommunicate request_size=37 [12:22:55]MH_SAM_APDU [12:22:55]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 58 5F 00 00 35 04 06 00 66 02 84 35 38 D9 [12:22:55]Write to MH i2c: E2 28 00 ED 09 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 58 5F 00 00 35 04 06 00 66 02 84 35 38 D9 00 00 AA [12:22:55]Write i2c OK [12:22:55]MH_I2C_Read... [12:22:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:22:55]Read from MH i2c: E2 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 03 00 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 03 00 ED 09 00 90 00 6A [12:22:55]RAPDU: 90 00 [12:22:55]wFMCommunicate OK [12:22:55]wFMCommunicate request_size=4 [12:22:55]MH_SAM_APDU [12:22:55]CAPDU: 80 0D 03 02 [12:22:55]Write to MH i2c: E2 08 00 EE 09 80 0D 03 02 00 00 00 00 72 [12:22:55]Write i2c OK [12:22:55]MH_I2C_Read... [12:22:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:22:55]Read from MH i2c: E2 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 0B 00 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 0B 00 EE 09 00 70 71 55 60 4D 7A 64 DB 90 00 0F [12:22:55]RAPDU: 70 71 55 60 4D 7A 64 DB 90 00 [12:22:55]wFMCommunicate OK [12:22:55]SAM_PROTO_SignData done [12:22:55]FM_MakeSignedData done [12:22:55]CreateOFDProtocolMessage [12:22:55]wFMCommunicate request_size=4 [12:22:55]MH_SAM_APDU [12:22:55]CAPDU: 80 11 00 00 [12:22:55]Write to MH i2c: E2 08 00 EF 09 80 11 00 00 00 00 00 00 72 [12:22:55]Write i2c OK [12:22:55]MH_I2C_Read... [12:22:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:55]Read from MH i2c: E2 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 17 00 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: E2 17 00 EF 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BF [12:22:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:22:55]wFMCommunicate OK [12:22:55]CreateOFDProtocolMessage done [12:22:55]OFDSenderStorePacket 24408 [12:22:55]StoreOFDPacket docnum=24408 [12:22:55]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 27 B9 22 01 49 08 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 90 01 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 1B 00 00 00 F4 03 04 00 21 99 17 67 0E 04 04 00 CE 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 58 5F 00 00 35 04 06 00 66 02 84 35 38 D9 70 71 55 60 4D 7A 64 DB [12:22:55]CheckFolder [12:22:55]dirname=/storage/ofd_packets [12:22:55]CheckFolder done [12:22:55]ProducePacketName [12:22:55]name=ofd_packets/00024408 [12:22:55]NVStorageSaveData ofd_packets/00024408 [12:22:55]File name is /storage/ofd_packets/00024408 [12:22:55]Write 328 bytes [12:22:55]NVStorageSaveData done [12:22:55]OFDSenderStorePacket done [12:22:55]KKMCreateOFDPacket done [12:22:55]NVStorageSaveData kkm_last_timestamp [12:22:55]File name is /storage/kkm_last_timestamp [12:22:55]Write 4 bytes [12:22:55]NVStorageSaveData done [12:22:55]ExternCall_PrintAddStr [12:22:55]wPrintStart [12:22:55]Write to MH i2c: 01 00 00 F0 09 F9 [12:22:55]OFD Sender: Processing packet 24408 [packets to send 5, broken 4] [12:22:55]ProducePacketName [12:22:55]name=ofd_packets/00024408 [12:22:55]OFD Sender: To server: pG, [12:22:55]CommunicateWithHost lk.salyk.kg:30040 [12:22:55]ConnectInit lk.salyk.kg [12:22:55]Write i2c OK [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: 01 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: 01 07 00 [12:22:55]MH_I2C_Read... [12:22:55]Read from MH i2c: 01 07 00 F0 09 00 00 00 00 00 FF 0F 0E [12:22:55]RasterBufferAndPrint [12:22:55]line Счет N : (3)134927 [12:22:55]line ИНН: 02508201610067 [12:22:55]line Контрольно-Кассовый Чек [12:22:55]line ПРОДАЖА [12:22:55]line Товар: 2000031750019 [12:22:55]line Пакет Партнер Нефть [12:22:55]line 5.000 * 4.00 [12:22:55]line = 20.00 [12:22:55]line НДС 12% НСП 1% [12:22:55]line > о реализуемом товаре [12:22:55]line ИТОГО: 20.00 [12:22:55]line НСП 1% : 0.18 [12:22:55]line НДС 12% : 2.12 [12:22:55]line Наличными: 20.00 [12:22:55]line Безнал.: 0.00 [12:22:55]line Место: АЗС № 85 "Партнер Нефть" [12:22:55]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:22:55]line СНО: Общий режим [12:22:55]line Чек 27 22.10.2024 12:22 [12:22:55]line Смена: 462 ФФД: 1.0 [12:22:55]line ЗНМ: 0300000166 [12:22:55]line РНМ: 0000000000098120 [12:22:55]line Версия ККМ: 001 [12:22:55]line ФМ: 0000000000965420 [12:22:55]line ФД: 24408 [12:22:55]line ФПД: 112160994048217 [12:22:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T122257&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24408&fm=112160994048217&tin=02508201610067®Number=0000000000098120&sum=2000 [12:22:55]line 0 [12:22:55]written 0, free lines is 4095 [12:22:55]Connected sock=10 [12:22:55]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 27 B9 22 01 49 08 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 90 01 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 1B 00 00 00 F4 03 04 00 21 99 17 67 0E 04 04 00 CE 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 58 5F 00 00 35 04 06 00 66 02 84 35 38 D9 70 71 55 60 4D 7A 64 DB [12:22:55]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 F4 EA 47 00 7B 3A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 58 5F 00 00 F4 03 04 00 C4 44 17 67 B6 04 01 00 00 3C 81 5C 22 F8 1A A2 22 [12:22:55]CommunicateWithHost err = 0 [12:22:55]CheckOFDResponse [12:22:55]1017 (14) - 77093643461234 [12:22:55]1041 (16) - 0000000000965420 [12:22:55]1040 (4) - 24408 [12:22:55]1012 (4) - 22.10.2024 06:23 [12:22:55]1206 (1) - 0 [12:22:55]OFD Sender: Remove packet 24408 [12:22:55]ProducePacketName [12:22:55]name=ofd_packets/00024408 [12:22:55]NVStorageDeleteData [12:22:56]Write to MH i2c: 01 00 00 18 0A 22 [12:22:56]Write i2c OK [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: 01 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: 01 07 00 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: 01 07 00 18 0A 00 00 00 00 00 1F 0D 55 [12:22:56]RasterBufferAndPrint [12:22:56]line [12:22:56]line [12:22:56]line [12:22:56]line [12:22:56]line [12:22:56]written 0, free lines is 3365 [12:22:56]process_action close_receipt done [12:22:56]requested_data is exist [12:22:56]produce_requested_data [12:22:56]requested_item fm.sn is exist - process it [12:22:56]wFMCommunicate request_size=4 [12:22:56]MH_SAM_APDU [12:22:56]CAPDU: 80 11 00 00 [12:22:56]Write to MH i2c: E2 08 00 1F 0A 80 11 00 00 00 00 00 00 A3 [12:22:56]Write i2c OK [12:22:56]MH_I2C_Read... [12:22:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:22:56]Read from MH i2c: E2 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 17 00 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 17 00 1F 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F0 [12:22:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:22:56]wFMCommunicate OK [12:22:56]requested_item fd.num is exist - process it [12:22:56]SAM_PROTO_GetFieldsCounters [12:22:56]wFMCommunicate request_size=4 [12:22:56]MH_SAM_APDU [12:22:56]CAPDU: 80 13 00 00 [12:22:56]Write to MH i2c: E2 08 00 20 0A 80 13 00 00 00 00 00 00 A6 [12:22:56]Write i2c OK [12:22:56]MH_I2C_Read... [12:22:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:22:56]Read from MH i2c: E2 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 62 00 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 62 00 20 0A 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 58 5F 00 00 0E 04 04 00 CE 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 93 [12:22:56]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 58 5F 00 00 0E 04 04 00 CE 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 [12:22:56]wFMCommunicate OK [12:22:56]SAM_PROTO_GetFieldsCounters done [12:22:56]requested_item shift.num is exist - process it [12:22:56]requested_item shift.opened is exist - process it [12:22:56]req_shift_opened [12:22:56]FM_GetShiftState [12:22:56]SAM_PROTO_GetShiftState [12:22:56]wFMCommunicate request_size=4 [12:22:56]MH_SAM_APDU [12:22:56]CAPDU: 80 13 01 00 [12:22:56]Write to MH i2c: E2 08 00 21 0A 80 13 01 00 00 00 00 00 A8 [12:22:56]Write i2c OK [12:22:56]MH_I2C_Read... [12:22:56]OFD Sender: No OFD packet to send [12:22:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:22:56]Read from MH i2c: E2 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 0E 00 [12:22:56]MH_I2C_Read... [12:22:56]Read from MH i2c: E2 0E 00 21 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A0 [12:22:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:22:56]wFMCommunicate OK [12:22:56]SAM_PROTO_GetShiftState done [12:22:56]FM_GetShiftState done [12:22:56]req_shift_opened done [12:22:56]requested_item shift.open_date is exist - process it [12:22:56]req_shift_open_date [12:22:56]req_shift_open_date done [12:22:56]produce_requested_data done [12:22:56]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24408,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:22:56]process_action_free close_receipt [12:22:56]json_value_free [12:22:56]json_value_free done [12:22:56]process_json_proto returns [12:22:56]Send response to host [12:22:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24408,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:22:56]free response buf [12:22:56]execute_script done [12:22:56]execute_script returns [12:22:56]free content buf [12:22:56]Sock 7.Close socket [12:22:56]Sock 7.Thread stoped [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:41]OFD Sender: No OFD packet to send [12:27:46]OFD Sender: No OFD packet to send [12:27:51]OFD Sender: No OFD packet to send [12:27:56]OFD Sender: No OFD packet to send [12:28:01]OFD Sender: No OFD packet to send [12:28:06]OFD Sender: No OFD packet to send [12:28:11]OFD Sender: No OFD packet to send [12:28:16]OFD Sender: No OFD packet to send [12:28:21]OFD Sender: No OFD packet to send [12:28:26]OFD Sender: No OFD packet to send [12:28:31]OFD Sender: No OFD packet to send [12:28:36]OFD Sender: No OFD packet to send [12:28:41]OFD Sender: No OFD packet to send [12:28:46]OFD Sender: No OFD packet to send [12:28:51]OFD Sender: No OFD packet to send [12:28:56]OFD Sender: No OFD packet to send [12:29:01]OFD Sender: No OFD packet to send [12:29:06]OFD Sender: No OFD packet to send [12:29:11]OFD Sender: No OFD packet to send [12:29:16]OFD Sender: No OFD packet to send [12:29:21]OFD Sender: No OFD packet to send [12:29:26]OFD Sender: No OFD packet to send [12:29:31]OFD Sender: No OFD packet to send [12:29:36]OFD Sender: No OFD packet to send [12:29:41]OFD Sender: No OFD packet to send [12:29:46]OFD Sender: No OFD packet to send [12:29:51]OFD Sender: No OFD packet to send [12:29:56]OFD Sender: No OFD packet to send [12:30:01]OFD Sender: No OFD packet to send [12:30:06]OFD Sender: No OFD packet to send [12:30:11]OFD Sender: No OFD packet to send [12:30:16]OFD Sender: No OFD packet to send [12:30:21]OFD Sender: No OFD packet to send [12:30:26]OFD Sender: No OFD packet to send [12:30:31]OFD Sender: No OFD packet to send [12:30:36]OFD Sender: No OFD packet to send [12:30:41]OFD Sender: No OFD packet to send [12:30:46]OFD Sender: No OFD packet to send [12:30:51]OFD Sender: No OFD packet to send [12:30:56]OFD Sender: No OFD packet to send [12:31:01]OFD Sender: No OFD packet to send [12:31:06]OFD Sender: No OFD packet to send [12:31:11]OFD Sender: No OFD packet to send [12:31:16]OFD Sender: No OFD packet to send [12:31:21]OFD Sender: No OFD packet to send [12:31:26]OFD Sender: No OFD packet to send [12:31:31]OFD Sender: No OFD packet to send [12:31:36]OFD Sender: No OFD packet to send [12:31:41]OFD Sender: No OFD packet to send [12:31:46]OFD Sender: No OFD packet to send [12:31:51]OFD Sender: No OFD packet to send [12:31:56]OFD Sender: No OFD packet to send [12:32:01]OFD Sender: No OFD packet to send [12:32:06]OFD Sender: No OFD packet to send [12:32:11]OFD Sender: No OFD packet to send [12:32:16]OFD Sender: No OFD packet to send [12:32:21]OFD Sender: No OFD packet to send [12:32:26]OFD Sender: No OFD packet to send [12:32:31]OFD Sender: No OFD packet to send [12:32:36]OFD Sender: No OFD packet to send [12:32:41]OFD Sender: No OFD packet to send [12:32:46]OFD Sender: No OFD packet to send [12:32:51]OFD Sender: No OFD packet to send [12:32:56]OFD Sender: No OFD packet to send [12:33:01]OFD Sender: No OFD packet to send [12:33:06]OFD Sender: No OFD packet to send [12:33:11]OFD Sender: No OFD packet to send [12:33:16]OFD Sender: No OFD packet to send [12:33:21]OFD Sender: No OFD packet to send [12:33:26]OFD Sender: No OFD packet to send [12:33:31]OFD Sender: No OFD packet to send [12:33:36]OFD Sender: No OFD packet to send [12:33:41]OFD Sender: No OFD packet to send [12:33:46]OFD Sender: No OFD packet to send [12:33:51]OFD Sender: No OFD packet to send [12:33:56]OFD Sender: No OFD packet to send [12:34:01]OFD Sender: No OFD packet to send [12:34:06]OFD Sender: No OFD packet to send [12:34:11]OFD Sender: No OFD packet to send [12:34:16]OFD Sender: No OFD packet to send [12:34:21]OFD Sender: No OFD packet to send [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:32]OFD Sender: No OFD packet to send [12:35:37]OFD Sender: No OFD packet to send [12:35:42]OFD Sender: No OFD packet to send [12:35:47]OFD Sender: No OFD packet to send [12:35:52]OFD Sender: No OFD packet to send [12:35:57]OFD Sender: No OFD packet to send [12:36:02]OFD Sender: No OFD packet to send [12:36:07]OFD Sender: No OFD packet to send [12:36:12]OFD Sender: No OFD packet to send [12:36:17]OFD Sender: No OFD packet to send [12:36:22]OFD Sender: No OFD packet to send [12:36:27]OFD Sender: No OFD packet to send [12:36:32]OFD Sender: No OFD packet to send [12:36:37]OFD Sender: No OFD packet to send [12:36:42]OFD Sender: No OFD packet to send [12:36:47]OFD Sender: No OFD packet to send [12:36:52]OFD Sender: No OFD packet to send [12:36:57]OFD Sender: No OFD packet to send [12:37:02]OFD Sender: No OFD packet to send [12:37:07]OFD Sender: No OFD packet to send [12:37:12]OFD Sender: No OFD packet to send [12:37:17]OFD Sender: No OFD packet to send [12:37:22]OFD Sender: No OFD packet to send [12:37:27]OFD Sender: No OFD packet to send [12:37:32]OFD Sender: No OFD packet to send [12:37:37]OFD Sender: No OFD packet to send [12:37:42]OFD Sender: No OFD packet to send [12:37:47]OFD Sender: No OFD packet to send [12:37:52]OFD Sender: No OFD packet to send [12:37:57]OFD Sender: No OFD packet to send [12:38:02]OFD Sender: No OFD packet to send [12:38:07]OFD Sender: No OFD packet to send [12:38:12]OFD Sender: No OFD packet to send [12:38:17]OFD Sender: No OFD packet to send [12:38:22]OFD Sender: No OFD packet to send [12:38:27]OFD Sender: No OFD packet to send [12:38:32]OFD Sender: No OFD packet to send [12:38:37]OFD Sender: No OFD packet to send [12:38:42]OFD Sender: No OFD packet to send [12:38:47]OFD Sender: No OFD packet to send [12:38:52]OFD Sender: No OFD packet to send [12:38:57]OFD Sender: No OFD packet to send [12:39:02]OFD Sender: No OFD packet to send [12:39:07]OFD Sender: No OFD packet to send [12:39:12]OFD Sender: No OFD packet to send [12:39:17]OFD Sender: No OFD packet to send [12:39:22]OFD Sender: No OFD packet to send [12:39:27]OFD Sender: No OFD packet to send [12:39:32]OFD Sender: No OFD packet to send [12:39:37]OFD Sender: No OFD packet to send [12:39:42]OFD Sender: No OFD packet to send [12:39:43]accept exits with 9 [12:39:43]New connection [12:39:43]New thread 3067452772 created [12:39:43]Thread 3067596132 joined [12:39:43]Waiting for new connection... [12:39:43] Sock 9.Parse request [12:39:43]Sock 9.Check first char [12:39:43]Sock 9.First char is OK [12:39:43]request: POST /json_proto HTTP/1.0 [12:39:43]Method: POST [12:39:43]URL: /json_proto [12:39:43]Method is POST - this is cgi request [12:39:43]url: /json_proto [12:39:43]query_string will be loaded in cgi processing [12:39:43]execute_cgi json_proto POST (null) [12:39:43]execute_cgi path=json_proto method=POST [12:39:43]POST find Content-Length [12:39:43]Host: 172.17.50.4:8080 [12:39:43]Content-Length: 700 [12:39:43]Content-Type: application/json [12:39:43] [12:39:43]POST finish read [12:39:43]Found Content-Length = 700 [12:39:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134928", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:43]execute_script... [12:39: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)134928", "tax_sys" : 0, "items" : [ { "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:39:43]POST & json_proto [12:39:43]process_json_proto [12:39:43]json parsed OK: [12:39:43]protocol is kg_v1.0 [12:39:43]action value=close_receipt [12:39:43]process_action close_receipt [12:39:43]cmd_close_receipt [12:39:43]MH_GetDate [12:39:43]Write to MH i2c: F0 00 00 22 0A 1B [12:39:43]Write i2c OK [12:39:43]MH_I2C_Read... [12:39:43]Read from MH i2c: F0 [12:39:43]MH_I2C_Read... [12:39:43]Read from MH i2c: F0 09 00 [12:39:43]MH_I2C_Read... [12:39:43]Read from MH i2c: F0 09 00 22 0A 00 13 9D 17 67 3B 12 16 67 1C [12:39:43]GetLastDocTimeStamp 1729599777 [12:39:43]current date 1729600787 [12:39:43]FM_GetShiftState [12:39:43]SAM_PROTO_GetShiftState [12:39:43]wFMCommunicate request_size=4 [12:39:43]MH_SAM_APDU [12:39:43]CAPDU: 80 13 01 00 [12:39:43]Write to MH i2c: E2 08 00 23 0A 80 13 01 00 00 00 00 00 AA [12:39:43]Write i2c OK [12:39:43]MH_I2C_Read... [12:39:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:43]Read from MH i2c: E2 [12:39:43]MH_I2C_Read... [12:39:43]Read from MH i2c: E2 0E 00 [12:39:43]MH_I2C_Read... [12:39:43]Read from MH i2c: E2 0E 00 23 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A2 [12:39:43]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:39:43]wFMCommunicate OK [12:39:43]SAM_PROTO_GetShiftState done [12:39:43]FM_GetShiftState done [12:39:43]opened in 1729555332 [12:39:43]opened+sec_in_day 1729641732 [12:39:43]quantity*price = 9000 [12:39:43]sum+1 = 9001 [12:39:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 28 22.10.2024 12:39 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24409 ФПД: 213806280408437 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T123947&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24409&fm=213806280408437&tin=02508201610067®Number=0000000000098120&sum=9000 0 [12:39:44]StoreToDocumentArchive [12:39:44]shift 462 fd 24409 [12:39:44]save to /storage/0462/doc_00024409 [12:39:44]save last doc name /storage/0462/doc_00024409 to /storage/kkm_last_doc_name [12:39:44]save OK [12:39:44]Clear old archive folders... [12:39:44]ProcessDocumentItem done err = 0, tmpTLVsize=299 [12:39:44]tlvbuf is 00D4A5F0 [12:39:44]SAM_PROTO_ClearQueue [12:39:44]wFMCommunicate request_size=4 [12:39:44]MH_SAM_APDU [12:39:44]CAPDU: 80 09 00 00 [12:39:44]Write to MH i2c: E2 08 00 30 0A 80 09 00 00 00 00 00 00 AC [12:39:44]Write i2c OK [12:39:44]MH_I2C_Read... [12:39:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:39:44]Read from MH i2c: E2 [12:39:44]MH_I2C_Read... [12:39:44]Read from MH i2c: E2 03 00 [12:39:44]MH_I2C_Read... [12:39:44]Read from MH i2c: E2 03 00 30 0A 00 90 00 AE [12:39:44]RAPDU: 90 00 [12:39:44]wFMCommunicate OK [12:39:44]SAM_PROTO_ClearQueue done [12:39:44]KKMCreateOFDPacket [12:39:44]OFDProtocolAddRootSTLVToBuf [12:39:44]FM_MakeSignedData [12:39:44]FM_MakeSignedData [12:39:44]SAM_PROTO_SignData [12:39:44]wFMCommunicate request_size=4 [12:39:44]MH_SAM_APDU [12:39:44]CAPDU: 80 0D 01 02 [12:39:44]Write to MH i2c: E2 08 00 31 0A 80 0D 01 02 00 00 00 00 B4 [12:39:44]Write i2c OK [12:39:44]MH_I2C_Read... [12:39:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:39:44]Read from MH i2c: E2 [12:39:44]MH_I2C_Read... [12:39:44]Read from MH i2c: E2 03 00 [12:39:44]MH_I2C_Read... [12:39:44]Read from MH i2c: E2 03 00 31 0A 00 90 00 AF [12:39:44]RAPDU: 90 00 [12:39:44]wFMCommunicate OK [12:39:44]wFMCommunicate request_size=255 [12:39:44]MH_SAM_APDU [12:39:44]CAPDU: 80 0D 02 02 FA 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 13 9D 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 [12:39:44]Write to MH i2c: E2 02 01 32 0A 80 0D 02 02 FA 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 13 9D 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 00 00 84 [12:39:44]Write i2c OK [12:39:44]MH_I2C_Read... [12:39:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:45]Read from MH i2c: E2 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 03 00 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 03 00 32 0A 00 90 00 B0 [12:39:45]RAPDU: 90 00 [12:39:45]wFMCommunicate OK [12:39:45]wFMCommunicate request_size=58 [12:39:45]MH_SAM_APDU [12:39:45]CAPDU: 80 0D 02 02 35 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 59 5F 00 00 35 04 06 00 C2 74 A7 64 FD 75 [12:39:45]Write to MH i2c: E2 3D 00 33 0A 80 0D 02 02 35 00 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 59 5F 00 00 35 04 06 00 C2 74 A7 64 FD 75 00 00 06 [12:39:45]Write i2c OK [12:39:45]MH_I2C_Read... [12:39:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:39:45]Read from MH i2c: E2 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 03 00 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 03 00 33 0A 00 90 00 B1 [12:39:45]RAPDU: 90 00 [12:39:45]wFMCommunicate OK [12:39:45]wFMCommunicate request_size=4 [12:39:45]MH_SAM_APDU [12:39:45]CAPDU: 80 0D 03 02 [12:39:45]Write to MH i2c: E2 08 00 34 0A 80 0D 03 02 00 00 00 00 B9 [12:39:45]Write i2c OK [12:39:45]MH_I2C_Read... [12:39:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:39:45]Read from MH i2c: E2 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 0B 00 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 0B 00 34 0A 00 AE 18 A0 F9 98 E7 C6 72 90 00 D0 [12:39:45]RAPDU: AE 18 A0 F9 98 E7 C6 72 90 00 [12:39:45]wFMCommunicate OK [12:39:45]SAM_PROTO_SignData done [12:39:45]FM_MakeSignedData done [12:39:45]CreateOFDProtocolMessage [12:39:45]wFMCommunicate request_size=4 [12:39:45]MH_SAM_APDU [12:39:45]CAPDU: 80 11 00 00 [12:39:45]Write to MH i2c: E2 08 00 35 0A 80 11 00 00 00 00 00 00 B9 [12:39:45]Write i2c OK [12:39:45]MH_I2C_Read... [12:39:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:45]Read from MH i2c: E2 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 17 00 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: E2 17 00 35 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 06 [12:39: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:39:45]wFMCommunicate OK [12:39:45]CreateOFDProtocolMessage done [12:39:45]OFDSenderStorePacket 24409 [12:39:45]StoreOFDPacket docnum=24409 [12:39: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 3F 01 00 00 E1 0A 37 01 A2 83 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 13 9D 17 67 0E 04 04 00 CE 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 59 5F 00 00 35 04 06 00 C2 74 A7 64 FD 75 AE 18 A0 F9 98 E7 C6 72 [12:39:45]CheckFolder [12:39:45]dirname=/storage/ofd_packets [12:39:45]CheckFolder done [12:39:45]ProducePacketName [12:39:45]name=ofd_packets/00024409 [12:39:45]NVStorageSaveData ofd_packets/00024409 [12:39:45]File name is /storage/ofd_packets/00024409 [12:39:45]Write 349 bytes [12:39:45]NVStorageSaveData done [12:39:45]OFDSenderStorePacket done [12:39:45]KKMCreateOFDPacket done [12:39:45]NVStorageSaveData kkm_last_timestamp [12:39:45]File name is /storage/kkm_last_timestamp [12:39:45]Write 4 bytes [12:39:45]NVStorageSaveData done [12:39:45]ExternCall_PrintAddStr [12:39:45]wPrintStart [12:39:45]Write to MH i2c: 01 00 00 36 0A 40 [12:39:45]Write i2c OK [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: 01 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: 01 07 00 [12:39:45]MH_I2C_Read... [12:39:45]Read from MH i2c: 01 07 00 36 0A 00 00 00 00 00 FF 0F 55 [12:39:45]RasterBufferAndPrint [12:39:45]line Счет N : (3)134928 [12:39:45]line ИНН: 02508201610067 [12:39:45]line Контрольно-Кассовый Чек [12:39:45]line ПРОДАЖА [12:39:45]line Товар: 4870002325113 [12:39:45]line Напиток PEPSI газированный ст 0,25л [12:39:45]line 1.000 * 90.00 [12:39:45]line = 90.00 [12:39:45]line НДС 12% НСП 1% [12:39:45]line > о реализуемом товаре [12:39:45]line ИТОГО: 90.00 [12:39:45]line НСП 1% : 0.80 [12:39:45]line НДС 12% : 9.56 [12:39:45]line Наличными: 90.00 [12:39:45]line Безнал.: 0.00 [12:39:45]line Место: АЗС № 85 "Партнер Нефть" [12:39:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:39:45]line СНО: Общий режим [12:39:45]line Чек 28 22.10.2024 12:39 [12:39:45]line Смена: 462 ФФД: 1.0 [12:39:45]line ЗНМ: 0300000166 [12:39:45]line РНМ: 0000000000098120 [12:39:45]line Версия ККМ: 001 [12:39:45]line ФМ: 0000000000965420 [12:39:45]line ФД: 24409 [12:39:45]line ФПД: 213806280408437 [12:39:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T123947&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24409&fm=213806280408437&tin=02508201610067®Number=0000000000098120&sum=9000 [12:39:45]line 0 [12:39:45]OFD Sender: Processing packet 24409 [packets to send 5, broken 4] [12:39:45]ProducePacketName [12:39:45]name=ofd_packets/00024409 [12:39:45]OFD Sender: To server: pG, [12:39:45]CommunicateWithHost lk.salyk.kg:30040 [12:39:45]ConnectInit lk.salyk.kg [12:39:45]written 0, free lines is 4095 [12:39:45]Connected sock=10 [12:39: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 3F 01 00 00 E1 0A 37 01 A2 83 5A 03 01 00 03 00 2B 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 13 9D 17 67 0E 04 04 00 CE 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 59 5F 00 00 35 04 06 00 C2 74 A7 64 FD 75 AE 18 A0 F9 98 E7 C6 72 [12:39: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 22 4B 47 00 C2 26 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 59 5F 00 00 F4 03 04 00 B6 48 17 67 B6 04 01 00 00 C0 5D 63 30 97 4B BF 94 [12:39:46]CommunicateWithHost err = 0 [12:39:46]CheckOFDResponse [12:39:46]1017 (14) - 77093643461234 [12:39:46]1041 (16) - 0000000000965420 [12:39:46]1040 (4) - 24409 [12:39:46]1012 (4) - 22.10.2024 06:39 [12:39:46]1206 (1) - 0 [12:39:46]OFD Sender: Remove packet 24409 [12:39:46]ProducePacketName [12:39:46]name=ofd_packets/00024409 [12:39:46]NVStorageDeleteData [12:39:46]Write to MH i2c: 01 00 00 5F 0A 69 [12:39:46]Write i2c OK [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: 01 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: 01 07 00 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: 01 07 00 5F 0A 00 00 00 00 00 08 0D 85 [12:39:46]RasterBufferAndPrint [12:39:46]line [12:39:46]line [12:39:46]line [12:39:46]line [12:39:46]line [12:39:46]written 0, free lines is 3345 [12:39:46]process_action close_receipt done [12:39:46]requested_data is exist [12:39:46]produce_requested_data [12:39:46]requested_item fm.sn is exist - process it [12:39:46]wFMCommunicate request_size=4 [12:39:46]MH_SAM_APDU [12:39:46]CAPDU: 80 11 00 00 [12:39:46]Write to MH i2c: E2 08 00 66 0A 80 11 00 00 00 00 00 00 EA [12:39:46]Write i2c OK [12:39:46]MH_I2C_Read... [12:39:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:39:46]Read from MH i2c: E2 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 17 00 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 17 00 66 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 37 [12:39: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:39:46]wFMCommunicate OK [12:39:46]requested_item fd.num is exist - process it [12:39:46]SAM_PROTO_GetFieldsCounters [12:39:46]wFMCommunicate request_size=4 [12:39:46]MH_SAM_APDU [12:39:46]CAPDU: 80 13 00 00 [12:39:46]Write to MH i2c: E2 08 00 67 0A 80 13 00 00 00 00 00 00 ED [12:39:46]Write i2c OK [12:39:46]MH_I2C_Read... [12:39:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:39:46]Read from MH i2c: E2 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 62 00 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 62 00 67 0A 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 59 5F 00 00 0E 04 04 00 CE 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 DE [12:39: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 59 5F 00 00 0E 04 04 00 CE 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:39:46]wFMCommunicate OK [12:39:46]SAM_PROTO_GetFieldsCounters done [12:39:46]requested_item shift.num is exist - process it [12:39:46]requested_item shift.opened is exist - process it [12:39:46]req_shift_opened [12:39:46]FM_GetShiftState [12:39:46]SAM_PROTO_GetShiftState [12:39:46]wFMCommunicate request_size=4 [12:39:46]MH_SAM_APDU [12:39:46]CAPDU: 80 13 01 00 [12:39:46]Write to MH i2c: E2 08 00 68 0A 80 13 01 00 00 00 00 00 EF [12:39:46]Write i2c OK [12:39:46]MH_I2C_Read... [12:39:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:39:46]Read from MH i2c: E2 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 0E 00 [12:39:46]MH_I2C_Read... [12:39:46]Read from MH i2c: E2 0E 00 68 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E7 [12:39:46]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:39:46]wFMCommunicate OK [12:39:46]SAM_PROTO_GetShiftState done [12:39:46]FM_GetShiftState done [12:39:46]req_shift_opened done [12:39:46]requested_item shift.open_date is exist - process it [12:39:46]req_shift_open_date [12:39:46]req_shift_open_date done [12:39:46]produce_requested_data done [12:39:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24409,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:39:46]process_action_free close_receipt [12:39:46]json_value_free [12:39:46]json_value_free done [12:39:46]process_json_proto returns [12:39:46]Send response to host [12:39:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24409,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:39:46]free response buf [12:39:46]execute_script done [12:39:46]execute_script returns [12:39:46]free content buf [12:39:46]Sock 9.Close socket [12:39:46]Sock 9.Thread stoped [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]accept exits with 7 [12:40:11]New connection [12:40:11]New thread 3067596132 created [12:40:11]Thread 3067452772 joined [12:40:11]Waiting for new connection... [12:40:11] Sock 7.Parse request [12:40:11]Sock 7.Check first char [12:40:11]Sock 7.First char is OK [12:40:11]request: POST /json_proto HTTP/1.0 [12:40:11]Method: POST [12:40:11]URL: /json_proto [12:40:11]Method is POST - this is cgi request [12:40:11]url: /json_proto [12:40:11]query_string will be loaded in cgi processing [12:40:11]execute_cgi json_proto POST (null) [12:40:11]execute_cgi path=json_proto method=POST [12:40:11]POST find Content-Length [12:40:11]Host: 172.17.50.4:8080 [12:40:11]Content-Length: 608 [12:40:11]Content-Type: application/json [12:40:11] [12:40:11]POST finish read [12:40:11]Found Content-Length = 608 [12:40:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134929", "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" ] } } [12:40:11]execute_script... [12:40: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)134929", "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" ] } } [12:40:11]POST & json_proto [12:40:11]process_json_proto [12:40:11]json parsed OK: [12:40:11]protocol is kg_v1.0 [12:40:11]action value=close_receipt [12:40:11]process_action close_receipt [12:40:11]cmd_close_receipt [12:40:11]MH_GetDate [12:40:11]Write to MH i2c: F0 00 00 69 0A 62 [12:40:11]Write i2c OK [12:40:11]MH_I2C_Read... [12:40:11]Read from MH i2c: F0 [12:40:11]MH_I2C_Read... [12:40:11]Read from MH i2c: F0 09 00 [12:40:11]MH_I2C_Read... [12:40:11]Read from MH i2c: F0 09 00 69 0A 00 2F 9D 17 67 3B 12 16 67 7F [12:40:11]GetLastDocTimeStamp 1729600787 [12:40:11]current date 1729600815 [12:40:11]FM_GetShiftState [12:40:11]SAM_PROTO_GetShiftState [12:40:11]wFMCommunicate request_size=4 [12:40:11]MH_SAM_APDU [12:40:11]CAPDU: 80 13 01 00 [12:40:11]Write to MH i2c: E2 08 00 6A 0A 80 13 01 00 00 00 00 00 F1 [12:40:11]Write i2c OK [12:40:11]MH_I2C_Read... [12:40:11]OFD Sender: No OFD packet to send [12:40:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:11]Read from MH i2c: E2 [12:40:11]MH_I2C_Read... [12:40:11]Read from MH i2c: E2 0E 00 [12:40:11]MH_I2C_Read... [12:40:11]Read from MH i2c: E2 0E 00 6A 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E9 [12:40:11]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:40:11]wFMCommunicate OK [12:40:11]SAM_PROTO_GetShiftState done [12:40:11]FM_GetShiftState done [12:40:11]opened in 1729555332 [12:40:11]opened+sec_in_day 1729641732 [12:40:11]quantity*price = 1000 [12:40:11]sum+1 = 1001 [12:40:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 29 22.10.2024 12:40 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24410 ФПД: 48988223981127 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T124015&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24410&fm=48988223981127&tin=02508201610067®Number=0000000000098120&sum=1000 0 [12:40:12]StoreToDocumentArchive [12:40:12]shift 462 fd 24410 [12:40:12]save to /storage/0462/doc_00024410 [12:40:12]save last doc name /storage/0462/doc_00024410 to /storage/kkm_last_doc_name [12:40:12]save OK [12:40:12]Clear old archive folders... [12:40:12]ProcessDocumentItem done err = 0, tmpTLVsize=267 [12:40:12]tlvbuf is 00D49F60 [12:40:12]SAM_PROTO_ClearQueue [12:40:12]wFMCommunicate request_size=4 [12:40:12]MH_SAM_APDU [12:40:12]CAPDU: 80 09 00 00 [12:40:12]Write to MH i2c: E2 08 00 77 0A 80 09 00 00 00 00 00 00 F3 [12:40:12]Write i2c OK [12:40:12]MH_I2C_Read... [12:40:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:40:12]Read from MH i2c: E2 [12:40:12]MH_I2C_Read... [12:40:12]Read from MH i2c: E2 03 00 [12:40:12]MH_I2C_Read... [12:40:12]Read from MH i2c: E2 03 00 77 0A 00 90 00 F5 [12:40:12]RAPDU: 90 00 [12:40:12]wFMCommunicate OK [12:40:12]SAM_PROTO_ClearQueue done [12:40:12]KKMCreateOFDPacket [12:40:12]OFDProtocolAddRootSTLVToBuf [12:40:12]FM_MakeSignedData [12:40:12]FM_MakeSignedData [12:40:12]SAM_PROTO_SignData [12:40:12]wFMCommunicate request_size=4 [12:40:12]MH_SAM_APDU [12:40:12]CAPDU: 80 0D 01 02 [12:40:12]Write to MH i2c: E2 08 00 78 0A 80 0D 01 02 00 00 00 00 FB [12:40:12]Write i2c OK [12:40:12]MH_I2C_Read... [12:40:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:40:12]Read from MH i2c: E2 [12:40:12]MH_I2C_Read... [12:40:12]Read from MH i2c: E2 03 00 [12:40:12]MH_I2C_Read... [12:40:12]Read from MH i2c: E2 03 00 78 0A 00 90 00 F6 [12:40:12]RAPDU: 90 00 [12:40:12]wFMCommunicate OK [12:40:12]wFMCommunicate request_size=255 [12:40:12]MH_SAM_APDU [12:40:12]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 1D 00 00 00 F4 03 04 00 2F 9D 17 67 0E 04 04 00 CE 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 [12:40:12]Write to MH i2c: E2 02 01 79 0A 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 1D 00 00 00 F4 03 04 00 2F 9D 17 67 0E 04 04 00 CE 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 C3 [12:40:12]Write i2c OK [12:40:12]MH_I2C_Read... [12:40:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:13]Read from MH i2c: E2 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 03 00 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 03 00 79 0A 00 90 00 F7 [12:40:13]RAPDU: 90 00 [12:40:13]wFMCommunicate OK [12:40:13]wFMCommunicate request_size=26 [12:40:13]MH_SAM_APDU [12:40:13]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 5A 5F 00 00 35 04 06 00 2C 8D F5 B0 46 47 [12:40:13]Write to MH i2c: E2 1D 00 7A 0A 80 0D 02 02 15 00 34 32 30 10 04 04 00 5A 5F 00 00 35 04 06 00 2C 8D F5 B0 46 47 00 00 B9 [12:40:13]Write i2c OK [12:40:13]MH_I2C_Read... [12:40:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:13]Read from MH i2c: E2 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 03 00 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 03 00 7A 0A 00 90 00 F8 [12:40:13]RAPDU: 90 00 [12:40:13]wFMCommunicate OK [12:40:13]wFMCommunicate request_size=4 [12:40:13]MH_SAM_APDU [12:40:13]CAPDU: 80 0D 03 02 [12:40:13]Write to MH i2c: E2 08 00 7B 0A 80 0D 03 02 00 00 00 00 00 [12:40:13]Write i2c OK [12:40:13]MH_I2C_Read... [12:40:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:40:13]Read from MH i2c: E2 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 0B 00 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 0B 00 7B 0A 00 FD C7 98 9F F2 5F D8 15 90 00 3A [12:40:13]RAPDU: FD C7 98 9F F2 5F D8 15 90 00 [12:40:13]wFMCommunicate OK [12:40:13]SAM_PROTO_SignData done [12:40:13]FM_MakeSignedData done [12:40:13]CreateOFDProtocolMessage [12:40:13]wFMCommunicate request_size=4 [12:40:13]MH_SAM_APDU [12:40:13]CAPDU: 80 11 00 00 [12:40:13]Write to MH i2c: E2 08 00 7C 0A 80 11 00 00 00 00 00 00 00 [12:40:13]Write i2c OK [12:40:13]MH_I2C_Read... [12:40:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:13]Read from MH i2c: E2 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 17 00 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: E2 17 00 7C 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4D [12:40:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:40:13]wFMCommunicate OK [12:40:13]CreateOFDProtocolMessage done [12:40:13]OFDSenderStorePacket 24410 [12:40:13]StoreOFDPacket docnum=24410 [12:40:13]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 CE 9F 17 01 F6 6F 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 1D 00 00 00 F4 03 04 00 2F 9D 17 67 0E 04 04 00 CE 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 5A 5F 00 00 35 04 06 00 2C 8D F5 B0 46 47 FD C7 98 9F F2 5F D8 15 [12:40:13]CheckFolder [12:40:13]dirname=/storage/ofd_packets [12:40:13]CheckFolder done [12:40:13]ProducePacketName [12:40:13]name=ofd_packets/00024410 [12:40:13]NVStorageSaveData ofd_packets/00024410 [12:40:13]File name is /storage/ofd_packets/00024410 [12:40:13]Write 317 bytes [12:40:13]NVStorageSaveData done [12:40:13]OFDSenderStorePacket done [12:40:13]KKMCreateOFDPacket done [12:40:13]NVStorageSaveData kkm_last_timestamp [12:40:13]File name is /storage/kkm_last_timestamp [12:40:13]Write 4 bytes [12:40:13]NVStorageSaveData done [12:40:13]ExternCall_PrintAddStr [12:40:13]wPrintStart [12:40:13]Write to MH i2c: 01 00 00 7D 0A 87 [12:40:13]Write i2c OK [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: 01 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: 01 07 00 [12:40:13]MH_I2C_Read... [12:40:13]Read from MH i2c: 01 07 00 7D 0A 00 00 00 00 00 FF 0F 9C [12:40:13]RasterBufferAndPrint [12:40:13]line Счет N : (3)134929 [12:40:13]line ИНН: 02508201610067 [12:40:13]line Контрольно-Кассовый Чек [12:40:13]line ПРОДАЖА [12:40:13]line Товар: 46231529 [12:40:13]line Mentos ПФ Арбуз 6*100*2 [12:40:13]line 1.000 * 10.00 [12:40:13]line = 10.00 [12:40:13]line НДС 12% НСП 1% [12:40:13]line > о реализуемом товаре [12:40:13]line ИТОГО: 10.00 [12:40:13]line НСП 1% : 0.09 [12:40:13]line НДС 12% : 1.06 [12:40:13]line Наличными: 10.00 [12:40:13]line Безнал.: 0.00 [12:40:13]line Место: АЗС № 85 "Партнер Нефть" [12:40:13]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:40:13]line СНО: Общий режим [12:40:13]line Чек 29 22.10.2024 12:40 [12:40:13]line Смена: 462 ФФД: 1.0 [12:40:13]line ЗНМ: 0300000166 [12:40:13]line РНМ: 0000000000098120 [12:40:13]line Версия ККМ: 001 [12:40:13]line ФМ: 0000000000965420 [12:40:13]line ФД: 24410 [12:40:13]line ФПД: 48988223981127 [12:40:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T124015&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24410&fm=48988223981127&tin=02508201610067®Number=0000000000098120&sum=1000 [12:40:13]line 0 [12:40:13]OFD Sender: Processing packet 24410 [packets to send 5, broken 4] [12:40:13]ProducePacketName [12:40:13]name=ofd_packets/00024410 [12:40:13]OFD Sender: To server: pG, [12:40:13]CommunicateWithHost lk.salyk.kg:30040 [12:40:13]ConnectInit lk.salyk.kg [12:40:13]written 0, free lines is 4095 [12:40:13]Connected sock=10 [12:40: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 1F 01 00 00 CE 9F 17 01 F6 6F 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 1D 00 00 00 F4 03 04 00 2F 9D 17 67 0E 04 04 00 CE 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 5A 5F 00 00 35 04 06 00 2C 8D F5 B0 46 47 FD C7 98 9F F2 5F D8 15 [12:40: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 9C 78 47 00 1E CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5A 5F 00 00 F4 03 04 00 D2 48 17 67 B6 04 01 00 00 85 DD 5E B0 0C A7 C3 3C [12:40:13]CommunicateWithHost err = 0 [12:40:13]CheckOFDResponse [12:40:13]1017 (14) - 77093643461234 [12:40:13]1041 (16) - 0000000000965420 [12:40:13]1040 (4) - 24410 [12:40:13]1012 (4) - 22.10.2024 06:40 [12:40:13]1206 (1) - 0 [12:40:13]OFD Sender: Remove packet 24410 [12:40:13]ProducePacketName [12:40:13]name=ofd_packets/00024410 [12:40:13]NVStorageDeleteData [12:40:14]Write to MH i2c: 01 00 00 A5 0A AF [12:40:14]Write i2c OK [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: 01 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: 01 07 00 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: 01 07 00 A5 0A 00 00 00 00 00 24 0D E7 [12:40:14]RasterBufferAndPrint [12:40:14]line [12:40:14]line [12:40:14]line [12:40:14]line [12:40:14]line [12:40:14]written 0, free lines is 3371 [12:40:14]process_action close_receipt done [12:40:14]requested_data is exist [12:40:14]produce_requested_data [12:40:14]requested_item fm.sn is exist - process it [12:40:14]wFMCommunicate request_size=4 [12:40:14]MH_SAM_APDU [12:40:14]CAPDU: 80 11 00 00 [12:40:14]Write to MH i2c: E2 08 00 AC 0A 80 11 00 00 00 00 00 00 30 [12:40:14]Write i2c OK [12:40:14]MH_I2C_Read... [12:40:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:14]Read from MH i2c: E2 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 17 00 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 17 00 AC 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7D [12:40:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:40:14]wFMCommunicate OK [12:40:14]requested_item fd.num is exist - process it [12:40:14]SAM_PROTO_GetFieldsCounters [12:40:14]wFMCommunicate request_size=4 [12:40:14]MH_SAM_APDU [12:40:14]CAPDU: 80 13 00 00 [12:40:14]Write to MH i2c: E2 08 00 AD 0A 80 13 00 00 00 00 00 00 33 [12:40:14]Write i2c OK [12:40:14]MH_I2C_Read... [12:40:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:40:14]Read from MH i2c: E2 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 62 00 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 62 00 AD 0A 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 5A 5F 00 00 0E 04 04 00 CE 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 28 [12:40:14]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 5A 5F 00 00 0E 04 04 00 CE 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:40:14]wFMCommunicate OK [12:40:14]SAM_PROTO_GetFieldsCounters done [12:40:14]requested_item shift.num is exist - process it [12:40:14]requested_item shift.opened is exist - process it [12:40:14]req_shift_opened [12:40:14]FM_GetShiftState [12:40:14]SAM_PROTO_GetShiftState [12:40:14]wFMCommunicate request_size=4 [12:40:14]MH_SAM_APDU [12:40:14]CAPDU: 80 13 01 00 [12:40:14]Write to MH i2c: E2 08 00 AE 0A 80 13 01 00 00 00 00 00 35 [12:40:14]Write i2c OK [12:40:14]MH_I2C_Read... [12:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:14]Read from MH i2c: E2 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 0E 00 [12:40:14]MH_I2C_Read... [12:40:14]Read from MH i2c: E2 0E 00 AE 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 2D [12:40:14]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:40:14]wFMCommunicate OK [12:40:14]SAM_PROTO_GetShiftState done [12:40:14]FM_GetShiftState done [12:40:14]req_shift_opened done [12:40:14]requested_item shift.open_date is exist - process it [12:40:14]req_shift_open_date [12:40:14]req_shift_open_date done [12:40:14]produce_requested_data done [12:40:14]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24410,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:40:14]process_action_free close_receipt [12:40:14]json_value_free [12:40:14]json_value_free done [12:40:14]process_json_proto returns [12:40:14]Send response to host [12:40:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24410,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:40:14]free response buf [12:40:14]execute_script done [12:40:14]execute_script returns [12:40:14]free content buf [12:40:14]Sock 7.Close socket [12:40:14]Sock 7.Thread stoped [12:40:14]OFD Sender: No OFD packet to send [12:40:19]OFD Sender: No OFD packet to send [12:40:24]OFD Sender: No OFD packet to send [12:40:29]OFD Sender: No OFD packet to send [12:40:34]OFD Sender: No OFD packet to send [12:40:39]OFD Sender: No OFD packet to send [12:40:44]OFD Sender: No OFD packet to send [12:40:49]OFD Sender: No OFD packet to send [12:40:54]OFD Sender: No OFD packet to send [12:40:59]OFD Sender: No OFD packet to send [12:41:04]OFD Sender: No OFD packet to send [12:41:09]OFD Sender: No OFD packet to send [12:41:14]OFD Sender: No OFD packet to send [12:41:19]OFD Sender: No OFD packet to send [12:41:24]OFD Sender: No OFD packet to send [12:41:29]OFD Sender: No OFD packet to send [12:41:34]OFD Sender: No OFD packet to send [12:41:39]OFD Sender: No OFD packet to send [12:41:44]OFD Sender: No OFD packet to send [12:41:49]OFD Sender: No OFD packet to send [12:41:54]OFD Sender: No OFD packet to send [12:41:59]OFD Sender: No OFD packet to send [12:42:04]OFD Sender: No OFD packet to send [12:42:09]OFD Sender: No OFD packet to send [12:42:14]OFD Sender: No OFD packet to send [12:42:19]OFD Sender: No OFD packet to send [12:42:24]OFD Sender: No OFD packet to send [12:42:29]OFD Sender: No OFD packet to send [12:42:34]OFD Sender: No OFD packet to send [12:42:39]OFD Sender: No OFD packet to send [12:42:44]OFD Sender: No OFD packet to send [12:42:49]OFD Sender: No OFD packet to send [12:42:54]OFD Sender: No OFD packet to send [12:42:59]OFD Sender: No OFD packet to send [12:43:04]OFD Sender: No OFD packet to send [12:43:09]OFD Sender: No OFD packet to send [12:43:14]OFD Sender: No OFD packet to send [12:43:19]OFD Sender: No OFD packet to send [12:43:24]OFD Sender: No OFD packet to send [12:43:29]OFD Sender: No OFD packet to send [12:43:34]OFD Sender: No OFD packet to send [12:43:39]OFD Sender: No OFD packet to send [12:43:44]OFD Sender: No OFD packet to send [12:43:49]OFD Sender: No OFD packet to send [12:43:54]OFD Sender: No OFD packet to send [12:43:59]OFD Sender: No OFD packet to send [12:44:04]OFD Sender: No OFD packet to send [12:44:09]OFD Sender: No OFD packet to send [12:44:14]OFD Sender: No OFD packet to send [12:44:19]OFD Sender: No OFD packet to send [12:44:24]OFD Sender: No OFD packet to send [12:44:29]OFD Sender: No OFD packet to send [12:44:34]OFD Sender: No OFD packet to send [12:44:39]OFD Sender: No OFD packet to send [12:44:44]OFD Sender: No OFD packet to send [12:44:49]OFD Sender: No OFD packet to send [12:44:54]OFD Sender: No OFD packet to send [12:44:59]OFD Sender: No OFD packet to send [12:45:04]OFD Sender: No OFD packet to send [12:45:09]OFD Sender: No OFD packet to send [12:45:14]OFD Sender: No OFD packet to send [12:45:19]OFD Sender: No OFD packet to send [12:45:24]OFD Sender: No OFD packet to send [12:45:29]OFD Sender: No OFD packet to send [12:45:34]OFD Sender: No OFD packet to send [12:45:39]OFD Sender: No OFD packet to send [12:45:44]OFD Sender: No OFD packet to send [12:45:49]OFD Sender: No OFD packet to send [12:45:54]OFD Sender: No OFD packet to send [12:45:59]OFD Sender: No OFD packet to send [12:46:04]OFD Sender: No OFD packet to send [12:46:09]OFD Sender: No OFD packet to send [12:46:14]OFD Sender: No OFD packet to send [12:46:19]OFD Sender: No OFD packet to send [12:46:24]OFD Sender: No OFD packet to send [12:46:29]OFD Sender: No OFD packet to send [12:46:34]OFD Sender: No OFD packet to send [12:46:39]OFD Sender: No OFD packet to send [12:46:44]OFD Sender: No OFD packet to send [12:46:49]OFD Sender: No OFD packet to send [12:46:54]OFD Sender: No OFD packet to send [12:46:59]OFD Sender: No OFD packet to send [12:47:04]OFD Sender: No OFD packet to send [12:47:09]OFD Sender: No OFD packet to send [12:47:14]OFD Sender: No OFD packet to send [12:47:19]OFD Sender: No OFD packet to send [12:47:24]OFD Sender: No OFD packet to send [12:47:29]OFD Sender: No OFD packet to send [12:47:34]OFD Sender: No OFD packet to send [12:47:39]OFD Sender: No OFD packet to send [12:47:44]OFD Sender: No OFD packet to send [12:47:49]OFD Sender: No OFD packet to send [12:47:54]OFD Sender: No OFD packet to send [12:47:59]OFD Sender: No OFD packet to send [12:48:04]OFD Sender: No OFD packet to send [12:48:09]OFD Sender: No OFD packet to send [12:48:14]OFD Sender: No OFD packet to send [12:48:19]OFD Sender: No OFD packet to send [12:48:24]OFD Sender: No OFD packet to send [12:48:29]OFD Sender: No OFD packet to send [12:48:34]OFD Sender: No OFD packet to send [12:48:39]OFD Sender: No OFD packet to send [12:48:44]OFD Sender: No OFD packet to send [12:48:49]OFD Sender: No OFD packet to send [12:48:54]OFD Sender: No OFD packet to send [12:48:59]OFD Sender: No OFD packet to send [12:49:04]OFD Sender: No OFD packet to send [12:49:09]OFD Sender: No OFD packet to send [12:49:14]OFD Sender: No OFD packet to send [12:49:19]OFD Sender: No OFD packet to send [12:49:24]OFD Sender: No OFD packet to send [12:49:29]OFD Sender: No OFD packet to send [12:49:34]OFD Sender: No OFD packet to send [12:49:39]OFD Sender: No OFD packet to send [12:49:44]OFD Sender: No OFD packet to send [12:49:49]OFD Sender: No OFD packet to send [12:49:54]OFD Sender: No OFD packet to send [12:49:59]OFD Sender: No OFD packet to send [12:50:04]OFD Sender: No OFD packet to send [12:50:09]OFD Sender: No OFD packet to send [12:50:14]OFD Sender: No OFD packet to send [12:50:19]OFD Sender: No OFD packet to send [12:50:24]OFD Sender: No OFD packet to send [12:50:29]OFD Sender: No OFD packet to send [12:50:34]OFD Sender: No OFD packet to send [12:50:39]OFD Sender: No OFD packet to send [12:50:44]OFD Sender: No OFD packet to send [12:50:49]OFD Sender: No OFD packet to send [12:50:54]OFD Sender: No OFD packet to send [12:50:59]OFD Sender: No OFD packet to send [12:51:04]OFD Sender: No OFD packet to send [12:51:09]OFD Sender: No OFD packet to send [12:51:14]OFD Sender: No OFD packet to send [12:51:19]OFD Sender: No OFD packet to send [12:51:24]OFD Sender: No OFD packet to send [12:51:29]OFD Sender: No OFD packet to send [12:51:34]OFD Sender: No OFD packet to send [12:51:39]OFD Sender: No OFD packet to send [12:51:44]OFD Sender: No OFD packet to send [12:51:49]OFD Sender: No OFD packet to send [12:51:54]OFD Sender: No OFD packet to send [12:51:59]OFD Sender: No OFD packet to send [12:52:04]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:40]OFD Sender: No OFD packet to send [12:52:45]OFD Sender: No OFD packet to send [12:52:50]OFD Sender: No OFD packet to send [12:52:55]OFD Sender: No OFD packet to send [12:53:00]OFD Sender: No OFD packet to send [12:53:05]OFD Sender: No OFD packet to send [12:53:10]OFD Sender: No OFD packet to send [12:53:15]OFD Sender: No OFD packet to send [12:53:20]OFD Sender: No OFD packet to send [12:53:25]OFD Sender: No OFD packet to send [12:53:30]OFD Sender: No OFD packet to send [12:53:35]OFD Sender: No OFD packet to send [12:53:40]OFD Sender: No OFD packet to send [12:53:45]OFD Sender: No OFD packet to send [12:53:50]OFD Sender: No OFD packet to send [12:53:55]OFD Sender: No OFD packet to send [12:54:00]OFD Sender: No OFD packet to send [12:54:05]OFD Sender: No OFD packet to send [12:54:10]OFD Sender: No OFD packet to send [12:54:15]OFD Sender: No OFD packet to send [12:54:20]OFD Sender: No OFD packet to send [12:54:25]OFD Sender: No OFD packet to send [12:54:30]OFD Sender: No OFD packet to send [12:54:35]OFD Sender: No OFD packet to send [12:54:40]OFD Sender: No OFD packet to send [12:54:45]OFD Sender: No OFD packet to send [12:54:50]OFD Sender: No OFD packet to send [12:54:55]OFD Sender: No OFD packet to send [12:55:00]OFD Sender: No OFD packet to send [12:55:05]OFD Sender: No OFD packet to send [12:55:10]OFD Sender: No OFD packet to send [12:55:15]OFD Sender: No OFD packet to send [12:55:20]OFD Sender: No OFD packet to send [12:55:25]OFD Sender: No OFD packet to send [12:55:30]OFD Sender: No OFD packet to send [12:55:35]OFD Sender: No OFD packet to send [12:55:40]OFD Sender: No OFD packet to send [12:55:45]OFD Sender: No OFD packet to send [12:55:50]OFD Sender: No OFD packet to send [12:55:55]OFD Sender: No OFD packet to send [12:56:00]OFD Sender: No OFD packet to send [12:56:05]OFD Sender: No OFD packet to send [12:56:09]accept exits with 9 [12:56:09]New connection [12:56:09]New thread 3067452772 created [12:56:09]Thread 3067596132 joined [12:56:09]Waiting for new connection... [12:56:09] Sock 9.Parse request [12:56:09]Sock 9.Check first char [12:56:09]Sock 9.First char is OK [12:56:09]request: POST /json_proto HTTP/1.0 [12:56:09]Method: POST [12:56:09]URL: /json_proto [12:56:09]Method is POST - this is cgi request [12:56:09]url: /json_proto [12:56:09]query_string will be loaded in cgi processing [12:56:09]execute_cgi json_proto POST (null) [12:56:09]execute_cgi path=json_proto method=POST [12:56:09]POST find Content-Length [12:56:09]Host: 172.17.50.4:8080 [12:56:09]Content-Length: 623 [12:56:09]Content-Type: application/json [12:56:09] [12:56:09]POST finish read [12:56:09]Found Content-Length = 623 [12:56:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134930", "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" ] } } [12:56:09]execute_script... [12:56:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134930", "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" ] } } [12:56:09]POST & json_proto [12:56:09]process_json_proto [12:56:09]json parsed OK: [12:56:09]protocol is kg_v1.0 [12:56:09]action value=close_receipt [12:56:09]process_action close_receipt [12:56:09]cmd_close_receipt [12:56:09]MH_GetDate [12:56:09]Write to MH i2c: F0 00 00 AF 0A A8 [12:56:09]Write i2c OK [12:56:09]MH_I2C_Read... [12:56:09]Read from MH i2c: F0 [12:56:09]MH_I2C_Read... [12:56:09]Read from MH i2c: F0 09 00 [12:56:09]MH_I2C_Read... [12:56:09]Read from MH i2c: F0 09 00 AF 0A 00 ED A0 17 67 3B 12 16 67 86 [12:56:09]GetLastDocTimeStamp 1729600815 [12:56:09]current date 1729601773 [12:56:09]FM_GetShiftState [12:56:09]SAM_PROTO_GetShiftState [12:56:09]wFMCommunicate request_size=4 [12:56:09]MH_SAM_APDU [12:56:09]CAPDU: 80 13 01 00 [12:56:09]Write to MH i2c: E2 08 00 B0 0A 80 13 01 00 00 00 00 00 37 [12:56:09]Write i2c OK [12:56:09]MH_I2C_Read... [12:56:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:09]Read from MH i2c: E2 [12:56:09]MH_I2C_Read... [12:56:09]Read from MH i2c: E2 0E 00 [12:56:09]MH_I2C_Read... [12:56:09]Read from MH i2c: E2 0E 00 B0 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 2F [12:56:09]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:56:09]wFMCommunicate OK [12:56:09]SAM_PROTO_GetShiftState done [12:56:09]FM_GetShiftState done [12:56:09]opened in 1729555332 [12:56:09]opened+sec_in_day 1729641732 [12:56:09]quantity*price = 14400 [12:56:09]sum+1 = 14401 [12:56:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 30 22.10.2024 12:56 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24411 ФПД: 268972498390613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T125613&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24411&fm=268972498390613&tin=02508201610067®Number=0000000000098120&sum=14400 0 [12:56:10]StoreToDocumentArchive [12:56:10]shift 462 fd 24411 [12:56:10]save to /storage/0462/doc_00024411 [12:56:10]save last doc name /storage/0462/doc_00024411 to /storage/kkm_last_doc_name [12:56:10]save OK [12:56:10]Clear old archive folders... [12:56:10]ProcessDocumentItem done err = 0, tmpTLVsize=275 [12:56:10]tlvbuf is 00DB3990 [12:56:10]SAM_PROTO_ClearQueue [12:56:10]wFMCommunicate request_size=4 [12:56:10]MH_SAM_APDU [12:56:10]CAPDU: 80 09 00 00 [12:56:10]Write to MH i2c: E2 08 00 BD 0A 80 09 00 00 00 00 00 00 39 [12:56:10]Write i2c OK [12:56:10]MH_I2C_Read... [12:56:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:56:10]Read from MH i2c: E2 [12:56:10]MH_I2C_Read... [12:56:10]Read from MH i2c: E2 03 00 [12:56:10]MH_I2C_Read... [12:56:10]Read from MH i2c: E2 03 00 BD 0A 00 90 00 3B [12:56:10]RAPDU: 90 00 [12:56:10]wFMCommunicate OK [12:56:10]SAM_PROTO_ClearQueue done [12:56:10]KKMCreateOFDPacket [12:56:10]OFDProtocolAddRootSTLVToBuf [12:56:10]FM_MakeSignedData [12:56:10]FM_MakeSignedData [12:56:10]SAM_PROTO_SignData [12:56:10]wFMCommunicate request_size=4 [12:56:10]MH_SAM_APDU [12:56:10]CAPDU: 80 0D 01 02 [12:56:10]Write to MH i2c: E2 08 00 BE 0A 80 0D 01 02 00 00 00 00 41 [12:56:10]Write i2c OK [12:56:10]MH_I2C_Read... [12:56:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:56:10]Read from MH i2c: E2 [12:56:10]MH_I2C_Read... [12:56:10]Read from MH i2c: E2 03 00 [12:56:10]MH_I2C_Read... [12:56:10]Read from MH i2c: E2 03 00 BE 0A 00 90 00 3C [12:56:10]RAPDU: 90 00 [12:56:10]wFMCommunicate OK [12:56:10]wFMCommunicate request_size=255 [12:56:10]MH_SAM_APDU [12:56:10]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 1E 00 00 00 F4 03 04 00 ED A0 17 67 0E 04 04 00 CE 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 [12:56:10]Write to MH i2c: E2 02 01 BF 0A 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 1E 00 00 00 F4 03 04 00 ED A0 17 67 0E 04 04 00 CE 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 39 [12:56:10]Write i2c OK [12:56:10]MH_I2C_Read... [12:56:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:11]Read from MH i2c: E2 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 03 00 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 03 00 BF 0A 00 90 00 3D [12:56:11]RAPDU: 90 00 [12:56:11]wFMCommunicate OK [12:56:11]wFMCommunicate request_size=34 [12:56:11]MH_SAM_APDU [12:56:11]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5B 5F 00 00 35 04 06 00 F4 A1 0A 38 8E 55 [12:56:11]Write to MH i2c: E2 25 00 C0 0A 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5B 5F 00 00 35 04 06 00 F4 A1 0A 38 8E 55 00 00 73 [12:56:11]Write i2c OK [12:56:11]MH_I2C_Read... [12:56:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:56:11]Read from MH i2c: E2 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 03 00 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 03 00 C0 0A 00 90 00 3E [12:56:11]RAPDU: 90 00 [12:56:11]wFMCommunicate OK [12:56:11]wFMCommunicate request_size=4 [12:56:11]MH_SAM_APDU [12:56:11]CAPDU: 80 0D 03 02 [12:56:11]Write to MH i2c: E2 08 00 C1 0A 80 0D 03 02 00 00 00 00 46 [12:56:11]Write i2c OK [12:56:11]MH_I2C_Read... [12:56:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:56:11]Read from MH i2c: E2 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 0B 00 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 0B 00 C1 0A 00 9D 03 76 11 FE B3 42 24 90 00 85 [12:56:11]RAPDU: 9D 03 76 11 FE B3 42 24 90 00 [12:56:11]wFMCommunicate OK [12:56:11]SAM_PROTO_SignData done [12:56:11]FM_MakeSignedData done [12:56:11]CreateOFDProtocolMessage [12:56:11]wFMCommunicate request_size=4 [12:56:11]MH_SAM_APDU [12:56:11]CAPDU: 80 11 00 00 [12:56:11]Write to MH i2c: E2 08 00 C2 0A 80 11 00 00 00 00 00 00 46 [12:56:11]Write i2c OK [12:56:11]MH_I2C_Read... [12:56:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:11]Read from MH i2c: E2 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 17 00 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: E2 17 00 C2 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 93 [12:56: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:56:11]wFMCommunicate OK [12:56:11]CreateOFDProtocolMessage done [12:56:11]OFDSenderStorePacket 24411 [12:56:11]StoreOFDPacket docnum=24411 [12:56: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 27 01 00 00 26 10 1F 01 80 2B 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 1E 00 00 00 F4 03 04 00 ED A0 17 67 0E 04 04 00 CE 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 5B 5F 00 00 35 04 06 00 F4 A1 0A 38 8E 55 9D 03 76 11 FE B3 42 24 [12:56:11]CheckFolder [12:56:11]dirname=/storage/ofd_packets [12:56:11]CheckFolder done [12:56:11]ProducePacketName [12:56:11]name=ofd_packets/00024411 [12:56:11]NVStorageSaveData ofd_packets/00024411 [12:56:11]File name is /storage/ofd_packets/00024411 [12:56:11]Write 325 bytes [12:56:11]NVStorageSaveData done [12:56:11]OFDSenderStorePacket done [12:56:11]KKMCreateOFDPacket done [12:56:11]NVStorageSaveData kkm_last_timestamp [12:56:11]File name is /storage/kkm_last_timestamp [12:56:11]Write 4 bytes [12:56:11]NVStorageSaveData done [12:56:11]ExternCall_PrintAddStr [12:56:11]wPrintStart [12:56:11]Write to MH i2c: 01 00 00 C3 0A CD [12:56:11]Write i2c OK [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: 01 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: 01 07 00 [12:56:11]MH_I2C_Read... [12:56:11]Read from MH i2c: 01 07 00 C3 0A 00 00 00 00 00 FF 0F E2 [12:56:11]RasterBufferAndPrint [12:56:11]line Счет N : (3)134930 [12:56:11]line ИНН: 02508201610067 [12:56:11]line Контрольно-Кассовый Чек [12:56:11]line ПРОДАЖА [12:56:11]line Товар: 48743587 [12:56:11]line Сигареты Winston XStyle Silver [12:56:11]line 1.000 * 144.00 [12:56:11]line = 144.00 [12:56:11]line НДС 12% НСП 1% [12:56:11]line > о реализуемом товаре [12:56:11]line ИТОГО: 144.00 [12:56:11]line НСП 1% : 1.27 [12:56:11]line НДС 12% : 15.29 [12:56:11]line Наличными: 144.00 [12:56:11]line Безнал.: 0.00 [12:56:11]line Место: АЗС № 85 "Партнер Нефть" [12:56:11]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [12:56:11]line СНО: Общий режим [12:56:11]line Чек 30 22.10.2024 12:56 [12:56:11]line Смена: 462 ФФД: 1.0 [12:56:11]line ЗНМ: 0300000166 [12:56:11]line РНМ: 0000000000098120 [12:56:11]line Версия ККМ: 001 [12:56:11]line ФМ: 0000000000965420 [12:56:11]line ФД: 24411 [12:56:11]line ФПД: 268972498390613 [12:56:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T125613&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24411&fm=268972498390613&tin=02508201610067®Number=0000000000098120&sum=14400 [12:56:11]line 0 [12:56:11]OFD Sender: Processing packet 24411 [packets to send 5, broken 4] [12:56:11]ProducePacketName [12:56:11]name=ofd_packets/00024411 [12:56:11]OFD Sender: To server: pG, [12:56:11]CommunicateWithHost lk.salyk.kg:30040 [12:56:11]ConnectInit lk.salyk.kg [12:56:11]written 0, free lines is 4095 [12:56:11]Connected sock=10 [12:56:11]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 26 10 1F 01 80 2B 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 1E 00 00 00 F4 03 04 00 ED A0 17 67 0E 04 04 00 CE 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 5B 5F 00 00 35 04 06 00 F4 A1 0A 38 8E 55 9D 03 76 11 FE B3 42 24 [12:56: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 18 B7 47 00 E7 E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5B 5F 00 00 F4 03 04 00 90 4C 17 67 B6 04 01 00 00 DD 66 79 95 F1 B0 C4 66 [12:56:11]CommunicateWithHost err = 0 [12:56:11]CheckOFDResponse [12:56:11]1017 (14) - 77093643461234 [12:56:11]1041 (16) - 0000000000965420 [12:56:11]1040 (4) - 24411 [12:56:11]1012 (4) - 22.10.2024 06:56 [12:56:11]1206 (1) - 0 [12:56:11]OFD Sender: Remove packet 24411 [12:56:11]ProducePacketName [12:56:11]name=ofd_packets/00024411 [12:56:11]NVStorageDeleteData [12:56:12]Write to MH i2c: 01 00 00 EC 0A F6 [12:56:12]Write i2c OK [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: 01 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: 01 07 00 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: 01 07 00 EC 0A 00 00 00 00 00 08 0D 12 [12:56:12]RasterBufferAndPrint [12:56:12]line [12:56:12]line [12:56:12]line [12:56:12]line [12:56:12]line [12:56:12]written 0, free lines is 3342 [12:56:12]process_action close_receipt done [12:56:12]requested_data is exist [12:56:12]produce_requested_data [12:56:12]requested_item fm.sn is exist - process it [12:56:12]wFMCommunicate request_size=4 [12:56:12]MH_SAM_APDU [12:56:12]CAPDU: 80 11 00 00 [12:56:12]Write to MH i2c: E2 08 00 F3 0A 80 11 00 00 00 00 00 00 77 [12:56:12]Write i2c OK [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 [12:56:12]MH_I2C_Read... [12:56:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:56:12]Read from MH i2c: E2 17 00 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 17 00 F3 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C4 [12:56:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [12:56:12]wFMCommunicate OK [12:56:12]requested_item fd.num is exist - process it [12:56:12]SAM_PROTO_GetFieldsCounters [12:56:12]wFMCommunicate request_size=4 [12:56:12]MH_SAM_APDU [12:56:12]CAPDU: 80 13 00 00 [12:56:12]Write to MH i2c: E2 08 00 F4 0A 80 13 00 00 00 00 00 00 7A [12:56:12]Write i2c OK [12:56:12]MH_I2C_Read... [12:56:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:56:12]Read from MH i2c: E2 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 62 00 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 62 00 F4 0A 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 5B 5F 00 00 0E 04 04 00 CE 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 73 [12:56: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 5B 5F 00 00 0E 04 04 00 CE 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:56:12]wFMCommunicate OK [12:56:12]SAM_PROTO_GetFieldsCounters done [12:56:12]requested_item shift.num is exist - process it [12:56:12]requested_item shift.opened is exist - process it [12:56:12]req_shift_opened [12:56:12]FM_GetShiftState [12:56:12]SAM_PROTO_GetShiftState [12:56:12]wFMCommunicate request_size=4 [12:56:12]MH_SAM_APDU [12:56:12]CAPDU: 80 13 01 00 [12:56:12]Write to MH i2c: E2 08 00 F5 0A 80 13 01 00 00 00 00 00 7C [12:56:12]Write i2c OK [12:56:12]MH_I2C_Read... [12:56:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:56:12]Read from MH i2c: E2 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 0E 00 [12:56:12]MH_I2C_Read... [12:56:12]Read from MH i2c: E2 0E 00 F5 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 74 [12:56:12]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [12:56:12]wFMCommunicate OK [12:56:12]SAM_PROTO_GetShiftState done [12:56:12]FM_GetShiftState done [12:56:12]req_shift_opened done [12:56:12]requested_item shift.open_date is exist - process it [12:56:12]req_shift_open_date [12:56:12]req_shift_open_date done [12:56:12]produce_requested_data done [12:56:12]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24411,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [12:56:12]process_action_free close_receipt [12:56:12]json_value_free [12:56:12]json_value_free done [12:56:12]process_json_proto returns [12:56:12]Send response to host [12:56:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24411,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [12:56:12]free response buf [12:56:12]execute_script done [12:56:12]execute_script returns [12:56:12]free content buf [12:56:12]Sock 9.Close socket [12:56:12]Sock 9.Thread stoped [12:56:12]OFD Sender: No OFD packet to send [12:56:17]OFD Sender: No OFD packet to send [12:56:22]OFD Sender: No OFD packet to send [12:56:27]OFD Sender: No OFD packet to send [12:56:32]OFD Sender: No OFD packet to send [12:56:37]OFD Sender: No OFD packet to send [12:56:42]OFD Sender: No OFD packet to send [12:56:47]OFD Sender: No OFD packet to send [12:56:52]OFD Sender: No OFD packet to send [12:56:57]OFD Sender: No OFD packet to send [12:57:02]OFD Sender: No OFD packet to send [12:57:07]OFD Sender: No OFD packet to send [12:57:12]OFD Sender: No OFD packet to send [12:57:17]OFD Sender: No OFD packet to send [12:57:22]OFD Sender: No OFD packet to send [12:57:27]OFD Sender: No OFD packet to send [12:57:32]OFD Sender: No OFD packet to send [12:57:37]OFD Sender: No OFD packet to send [12:57:42]OFD Sender: No OFD packet to send [12:57:47]OFD Sender: No OFD packet to send [12:57:52]OFD Sender: No OFD packet to send [12:57:57]OFD Sender: No OFD packet to send [12:58:02]OFD Sender: No OFD packet to send [12:58:07]OFD Sender: No OFD packet to send [12:58:12]OFD Sender: No OFD packet to send [12:58:17]OFD Sender: No OFD packet to send [12:58:22]OFD Sender: No OFD packet to send [12:58:27]OFD Sender: No OFD packet to send [12:58:32]OFD Sender: No OFD packet to send [12:58:37]OFD Sender: No OFD packet to send [12:58:42]OFD Sender: No OFD packet to send [12:58:47]OFD Sender: No OFD packet to send [12:58:52]OFD Sender: No OFD packet to send [12:58:57]OFD Sender: No OFD packet to send [12:59:02]OFD Sender: No OFD packet to send [12:59:07]OFD Sender: No OFD packet to send [12:59:12]OFD Sender: No OFD packet to send [12:59:17]OFD Sender: No OFD packet to send [12:59:22]OFD Sender: No OFD packet to send [12:59:27]OFD Sender: No OFD packet to send [12:59:32]OFD Sender: No OFD packet to send [12:59:37]OFD Sender: No OFD packet to send [12:59:42]OFD Sender: No OFD packet to send [12:59:47]OFD Sender: No OFD packet to send [12:59:52]OFD Sender: No OFD packet to send [12:59:57]OFD Sender: No OFD packet to send [13:00:02]OFD Sender: No OFD packet to send [13:00:07]OFD Sender: No OFD packet to send [13:00:12]OFD Sender: No OFD packet to send [13:00:17]OFD Sender: No OFD packet to send [13:00:22]OFD Sender: No OFD packet to send [13:00:27]OFD Sender: No OFD packet to send [13:00:32]OFD Sender: No OFD packet to send [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:12]OFD Sender: No OFD packet to send [13:01:17]OFD Sender: No OFD packet to send [13:01:22]OFD Sender: No OFD packet to send [13:01:27]OFD Sender: No OFD packet to send [13:01:32]OFD Sender: No OFD packet to send [13:01:37]OFD Sender: No OFD packet to send [13:01:42]OFD Sender: No OFD packet to send [13:01:47]OFD Sender: No OFD packet to send [13:01:52]OFD Sender: No OFD packet to send [13:01:57]OFD Sender: No OFD packet to send [13:02:02]OFD Sender: No OFD packet to send [13:02:07]OFD Sender: No OFD packet to send [13:02:12]OFD Sender: No OFD packet to send [13:02:17]OFD Sender: No OFD packet to send [13:02:22]OFD Sender: No OFD packet to send [13:02:27]OFD Sender: No OFD packet to send [13:02:32]OFD Sender: No OFD packet to send [13:02:37]OFD Sender: No OFD packet to send [13:02:42]OFD Sender: No OFD packet to send [13:02:47]OFD Sender: No OFD packet to send [13:02:52]OFD Sender: No OFD packet to send [13:02:57]OFD Sender: No OFD packet to send [13:03:02]OFD Sender: No OFD packet to send [13:03:07]OFD Sender: No OFD packet to send [13:03:12]OFD Sender: No OFD packet to send [13:03:17]OFD Sender: No OFD packet to send [13:03:22]OFD Sender: No OFD packet to send [13:03:27]OFD Sender: No OFD packet to send [13:03:32]OFD Sender: No OFD packet to send [13:03:37]OFD Sender: No OFD packet to send [13:03:42]OFD Sender: No OFD packet to send [13:03:47]OFD Sender: No OFD packet to send [13:03:52]OFD Sender: No OFD packet to send [13:03:57]OFD Sender: No OFD packet to send [13:04:02]OFD Sender: No OFD packet to send [13:04:07]OFD Sender: No OFD packet to send [13:04:12]OFD Sender: No OFD packet to send [13:04:17]OFD Sender: No OFD packet to send [13:04:22]OFD Sender: No OFD packet to send [13:04:27]OFD Sender: No OFD packet to send [13:04:32]OFD Sender: No OFD packet to send [13:04:37]OFD Sender: No OFD packet to send [13:04:42]OFD Sender: No OFD packet to send [13:04:47]OFD Sender: No OFD packet to send [13:04:52]OFD Sender: No OFD packet to send [13:04:57]OFD Sender: No OFD packet to send [13:05:02]OFD Sender: No OFD packet to send [13:05:07]OFD Sender: No OFD packet to send [13:05:12]OFD Sender: No OFD packet to send [13:05:17]OFD Sender: No OFD packet to send [13:05:22]OFD Sender: No OFD packet to send [13:05:27]OFD Sender: No OFD packet to send [13:05:32]OFD Sender: No OFD packet to send [13:05:37]OFD Sender: No OFD packet to send [13:05:42]OFD Sender: No OFD packet to send [13:05:47]OFD Sender: No OFD packet to send [13:05:52]OFD Sender: No OFD packet to send [13:05:57]OFD Sender: No OFD packet to send [13:06:02]OFD Sender: No OFD packet to send [13:06:07]OFD Sender: No OFD packet to send [13:06:12]OFD Sender: No OFD packet to send [13:06:17]OFD Sender: No OFD packet to send [13:06:22]OFD Sender: No OFD packet to send [13:06:27]OFD Sender: No OFD packet to send [13:06:32]OFD Sender: No OFD packet to send [13:06:37]OFD Sender: No OFD packet to send [13:06:42]OFD Sender: No OFD packet to send [13:06:47]OFD Sender: No OFD packet to send [13:06:52]OFD Sender: No OFD packet to send [13:06:57]OFD Sender: No OFD packet to send [13:07:02]OFD Sender: No OFD packet to send [13:07:07]OFD Sender: No OFD packet to send [13:07:12]OFD Sender: No OFD packet to send [13:07:17]OFD Sender: No OFD packet to send [13:07:22]OFD Sender: No OFD packet to send [13:07:27]OFD Sender: No OFD packet to send [13:07:32]OFD Sender: No OFD packet to send [13:07:37]OFD Sender: No OFD packet to send [13:07:42]OFD Sender: No OFD packet to send [13:07:47]OFD Sender: No OFD packet to send [13:07:52]OFD Sender: No OFD packet to send [13:07:57]OFD Sender: No OFD packet to send [13:08:02]OFD Sender: No OFD packet to send [13:08:07]OFD Sender: No OFD packet to send [13:08:12]OFD Sender: No OFD packet to send [13:08:17]OFD Sender: No OFD packet to send [13:08:22]OFD Sender: No OFD packet to send [13:08:27]OFD Sender: No OFD packet to send [13:08:32]OFD Sender: No OFD packet to send [13:08:37]OFD Sender: No OFD packet to send [13:08:42]OFD Sender: No OFD packet to send [13:08:47]OFD Sender: No OFD packet to send [13:08:52]OFD Sender: No OFD packet to send [13:08:57]OFD Sender: No OFD packet to send [13:09:02]OFD Sender: No OFD packet to send [13:09:07]OFD Sender: No OFD packet to send [13:09:12]OFD Sender: No OFD packet to send [13:09:17]OFD Sender: No OFD packet to send [13:09:23]OFD Sender: No OFD packet to send [13:09:28]OFD Sender: No OFD packet to send [13:09:33]OFD Sender: No OFD packet to send [13:09:38]OFD Sender: No OFD packet to send [13:09:43]OFD Sender: No OFD packet to send [13:09:48]OFD Sender: No OFD packet to send [13:09:53]OFD Sender: No OFD packet to send [13:09:58]OFD Sender: No OFD packet to send [13:10:03]OFD Sender: No OFD packet to send [13:10:08]OFD Sender: No OFD packet to send [13:10:13]OFD Sender: No OFD packet to send [13:10:18]OFD Sender: No OFD packet to send [13:10:23]OFD Sender: No OFD packet to send [13:10:28]OFD Sender: No OFD packet to send [13:10:33]OFD Sender: No OFD packet to send [13:10:38]OFD Sender: No OFD packet to send [13:10:43]OFD Sender: No OFD packet to send [13:10:48]OFD Sender: No OFD packet to send [13:10:53]OFD Sender: No OFD packet to send [13:10:58]OFD Sender: No OFD packet to send [13:11:03]OFD Sender: No OFD packet to send [13:11:08]OFD Sender: No OFD packet to send [13:11:13]OFD Sender: No OFD packet to send [13:11:18]OFD Sender: No OFD packet to send [13:11:23]OFD Sender: No OFD packet to send [13:11:28]OFD Sender: No OFD packet to send [13:11:33]OFD Sender: No OFD packet to send [13:11:38]OFD Sender: No OFD packet to send [13:11:43]OFD Sender: No OFD packet to send [13:11:48]OFD Sender: No OFD packet to send [13:11:53]OFD Sender: No OFD packet to send [13:11:58]OFD Sender: No OFD packet to send [13:12:03]OFD Sender: No OFD packet to send [13:12:08]OFD Sender: No OFD packet to send [13:12:13]OFD Sender: No OFD packet to send [13:12:18]OFD Sender: No OFD packet to send [13:12:23]OFD Sender: No OFD packet to send [13:12:28]OFD Sender: No OFD packet to send [13:12:33]OFD Sender: No OFD packet to send [13:12:38]OFD Sender: No OFD packet to send [13:12:43]OFD Sender: No OFD packet to send [13:12:48]OFD Sender: No OFD packet to send [13:12:53]OFD Sender: No OFD packet to send [13:12:58]OFD Sender: No OFD packet to send [13:13:03]OFD Sender: No OFD packet to send [13:13:08]OFD Sender: No OFD packet to send [13:13:13]OFD Sender: No OFD packet to send [13:13:18]OFD Sender: No OFD packet to send [13:13:23]OFD Sender: No OFD packet to send [13:13:28]OFD Sender: No OFD packet to send [13:13:33]OFD Sender: No OFD packet to send [13:13:38]OFD Sender: No OFD packet to send [13:13:43]OFD Sender: No OFD packet to send [13:13:48]OFD Sender: No OFD packet to send [13:13:53]OFD Sender: No OFD packet to send [13:13:58]OFD Sender: No OFD packet to send [13:14:03]OFD Sender: No OFD packet to send [13:14:08]OFD Sender: No OFD packet to send [13:14:13]OFD Sender: No OFD packet to send [13:14:18]OFD Sender: No OFD packet to send [13:14:23]OFD Sender: No OFD packet to send [13:14:28]OFD Sender: No OFD packet to send [13:14:33]OFD Sender: No OFD packet to send [13:14:38]OFD Sender: No OFD packet to send [13:14:43]OFD Sender: No OFD packet to send [13:14:48]OFD Sender: No OFD packet to send [13:14:53]OFD Sender: No OFD packet to send [13:14:58]OFD Sender: No OFD packet to send [13:15:03]OFD Sender: No OFD packet to send [13:15:08]OFD Sender: No OFD packet to send [13:15:13]OFD Sender: No OFD packet to send [13:15:18]OFD Sender: No OFD packet to send [13:15:23]OFD Sender: No OFD packet to send [13:15:28]OFD Sender: No OFD packet to send [13:15:33]OFD Sender: No OFD packet to send [13:15:38]OFD Sender: No OFD packet to send [13:15:43]OFD Sender: No OFD packet to send [13:15:48]OFD Sender: No OFD packet to send [13:15:53]OFD Sender: No OFD packet to send [13:15:58]OFD Sender: No OFD packet to send [13:16:03]OFD Sender: No OFD packet to send [13:16:08]OFD Sender: No OFD packet to send [13:16:13]OFD Sender: No OFD packet to send [13:16:18]OFD Sender: No OFD packet to send [13:16:23]OFD Sender: No OFD packet to send [13:16:28]OFD Sender: No OFD packet to send [13:16:33]OFD Sender: No OFD packet to send [13:16:38]OFD Sender: No OFD packet to send [13:16:43]OFD Sender: No OFD packet to send [13:16:48]OFD Sender: No OFD packet to send [13:16:53]OFD Sender: No OFD packet to send [13:16:58]OFD Sender: No OFD packet to send [13:17:03]OFD Sender: No OFD packet to send [13:17:08]OFD Sender: No OFD packet to send [13:17:13]OFD Sender: No OFD packet to send [13:17:18]OFD Sender: No OFD packet to send [13:17:23]OFD Sender: No OFD packet to send [13:17:28]OFD Sender: No OFD packet to send [13:17:33]OFD Sender: No OFD packet to send [13:17:38]OFD Sender: No OFD packet to send [13:17:43]OFD Sender: No OFD packet to send [13:17:48]OFD Sender: No OFD packet to send [13:17:53]OFD Sender: No OFD packet to send [13:17:58]OFD Sender: No OFD packet to send [13:18:00]accept exits with 7 [13:18:00]New connection [13:18:00]New thread 3067596132 created [13:18:00]Thread 3067452772 joined [13:18:00]Waiting for new connection... [13:18:00] Sock 7.Parse request [13:18:00]Sock 7.Check first char [13:18:00]Sock 7.First char is OK [13:18:00]request: POST /json_proto HTTP/1.0 [13:18:00]Method: POST [13:18:00]URL: /json_proto [13:18:00]Method is POST - this is cgi request [13:18:00]url: /json_proto [13:18:00]query_string will be loaded in cgi processing [13:18:00]execute_cgi json_proto POST (null) [13:18:00]execute_cgi path=json_proto method=POST [13:18:00]POST find Content-Length [13:18:00]Host: 172.17.50.4:8080 [13:18:00]Content-Length: 626 [13:18:00]Content-Type: application/json [13:18:00] [13:18:00]POST finish read [13:18:00]Found Content-Length = 626 [13:18:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134931", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:18:00]execute_script... [13:18: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)134931", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:18:00]POST & json_proto [13:18:00]process_json_proto [13:18:00]json parsed OK: [13:18:00]protocol is kg_v1.0 [13:18:00]action value=close_receipt [13:18:00]process_action close_receipt [13:18:00]cmd_close_receipt [13:18:00]MH_GetDate [13:18:00]Write to MH i2c: F0 00 00 F6 0A EF [13:18:00]Write i2c OK [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: F0 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: F0 09 00 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: F0 09 00 F6 0A 00 0C A6 17 67 3B 12 16 67 F2 [13:18:00]GetLastDocTimeStamp 1729601773 [13:18:00]current date 1729603084 [13:18:00]FM_GetShiftState [13:18:00]SAM_PROTO_GetShiftState [13:18:00]wFMCommunicate request_size=4 [13:18:00]MH_SAM_APDU [13:18:00]CAPDU: 80 13 01 00 [13:18:00]Write to MH i2c: E2 08 00 F7 0A 80 13 01 00 00 00 00 00 7E [13:18:00]Write i2c OK [13:18:00]MH_I2C_Read... [13:18:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:00]Read from MH i2c: E2 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: E2 0E 00 [13:18:00]MH_I2C_Read... [13:18:00]Read from MH i2c: E2 0E 00 F7 0A 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 76 [13:18:00]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:18:00]wFMCommunicate OK [13:18:00]SAM_PROTO_GetShiftState done [13:18:00]FM_GetShiftState done [13:18:00]opened in 1729555332 [13:18:00]opened+sec_in_day 1729641732 [13:18:00]quantity*price = 13400 [13:18:00]sum+1 = 13401 [13:18: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 СНО: Общий режим Чек 31 22.10.2024 13:18 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24412 ФПД: 147705004130991 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T131804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24412&fm=147705004130991&tin=02508201610067®Number=0000000000098120&sum=13400 0 [13:18:01]StoreToDocumentArchive [13:18:01]shift 462 fd 24412 [13:18:01]save to /storage/0462/doc_00024412 [13:18:01]save last doc name /storage/0462/doc_00024412 to /storage/kkm_last_doc_name [13:18:01]save OK [13:18:01]Clear old archive folders... [13:18:01]ProcessDocumentItem done err = 0, tmpTLVsize=278 [13:18:01]tlvbuf is 00DB3990 [13:18:01]SAM_PROTO_ClearQueue [13:18:01]wFMCommunicate request_size=4 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 09 00 00 [13:18:01]Write to MH i2c: E2 08 00 04 0B 80 09 00 00 00 00 00 00 81 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 04 0B 00 90 00 83 [13:18:01]RAPDU: 90 00 [13:18:01]wFMCommunicate OK [13:18:01]SAM_PROTO_ClearQueue done [13:18:01]KKMCreateOFDPacket [13:18:01]OFDProtocolAddRootSTLVToBuf [13:18:01]FM_MakeSignedData [13:18:01]FM_MakeSignedData [13:18:01]SAM_PROTO_SignData [13:18:01]wFMCommunicate request_size=4 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 0D 01 02 [13:18:01]Write to MH i2c: E2 08 00 05 0B 80 0D 01 02 00 00 00 00 89 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 05 0B 00 90 00 84 [13:18:01]RAPDU: 90 00 [13:18:01]wFMCommunicate OK [13:18:01]wFMCommunicate request_size=255 [13:18:01]MH_SAM_APDU [13:18:01]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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 0C A6 17 67 0E 04 04 00 CE 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 [13:18:01]Write to MH i2c: E2 02 01 06 0B 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 0C A6 17 67 0E 04 04 00 CE 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 D7 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:01]Read from MH i2c: E2 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 [13:18:01]MH_I2C_Read... [13:18:01]Read from MH i2c: E2 03 00 06 0B 00 90 00 85 [13:18:01]RAPDU: 90 00 [13:18:01]wFMCommunicate OK [13:18:01]wFMCommunicate request_size=37 [13:18:01]MH_SAM_APDU [13:18:01]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5C 5F 00 00 35 04 06 00 86 56 40 4D 82 AF [13:18:01]Write to MH i2c: E2 28 00 07 0B 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5C 5F 00 00 35 04 06 00 86 56 40 4D 82 AF 00 00 32 [13:18:01]Write i2c OK [13:18:01]MH_I2C_Read... [13:18:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:18:02]Read from MH i2c: E2 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 03 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 03 00 07 0B 00 90 00 86 [13:18:02]RAPDU: 90 00 [13:18:02]wFMCommunicate OK [13:18:02]wFMCommunicate request_size=4 [13:18:02]MH_SAM_APDU [13:18:02]CAPDU: 80 0D 03 02 [13:18:02]Write to MH i2c: E2 08 00 08 0B 80 0D 03 02 00 00 00 00 8E [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:18:02]Read from MH i2c: E2 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 0B 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 0B 00 08 0B 00 12 DE 7B D3 D5 C9 52 B0 90 00 6D [13:18:02]RAPDU: 12 DE 7B D3 D5 C9 52 B0 90 00 [13:18:02]wFMCommunicate OK [13:18:02]SAM_PROTO_SignData done [13:18:02]FM_MakeSignedData done [13:18:02]CreateOFDProtocolMessage [13:18:02]wFMCommunicate request_size=4 [13:18:02]MH_SAM_APDU [13:18:02]CAPDU: 80 11 00 00 [13:18:02]Write to MH i2c: E2 08 00 09 0B 80 11 00 00 00 00 00 00 8E [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:02]Read from MH i2c: E2 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 17 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 17 00 09 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DB [13:18:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:18:02]wFMCommunicate OK [13:18:02]CreateOFDProtocolMessage done [13:18:02]OFDSenderStorePacket 24412 [13:18:02]StoreOFDPacket docnum=24412 [13:18: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 2A 01 00 00 70 A5 22 01 82 36 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 0C A6 17 67 0E 04 04 00 CE 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 5C 5F 00 00 35 04 06 00 86 56 40 4D 82 AF 12 DE 7B D3 D5 C9 52 B0 [13:18:02]CheckFolder [13:18:02]dirname=/storage/ofd_packets [13:18:02]CheckFolder done [13:18:02]ProducePacketName [13:18:02]name=ofd_packets/00024412 [13:18:02]NVStorageSaveData ofd_packets/00024412 [13:18:02]File name is /storage/ofd_packets/00024412 [13:18:02]Write 328 bytes [13:18:02]NVStorageSaveData done [13:18:02]OFDSenderStorePacket done [13:18:02]KKMCreateOFDPacket done [13:18:02]NVStorageSaveData kkm_last_timestamp [13:18:02]File name is /storage/kkm_last_timestamp [13:18:02]Write 4 bytes [13:18:02]NVStorageSaveData done [13:18:02]ExternCall_PrintAddStr [13:18:02]wPrintStart [13:18:02]Write to MH i2c: 01 00 00 0A 0B 15 [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 07 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 07 00 0A 0B 00 00 00 00 00 FF 0F 2A [13:18:02]RasterBufferAndPrint [13:18:02]line Счет N : (3)134931 [13:18:02]line ИНН: 02508201610067 [13:18:02]line Контрольно-Кассовый Чек [13:18:02]line ПРОДАЖА [13:18:02]line Товар: 48743389 [13:18:02]line Сигареты BOND STREET compact blue [13:18:02]line 1.000 * 134.00 [13:18:02]line = 134.00 [13:18:02]line НДС 12% НСП 1% [13:18:02]line > о реализуемом товаре [13:18:02]line ИТОГО: 134.00 [13:18:02]line НСП 1% : 1.19 [13:18:02]line НДС 12% : 14.23 [13:18:02]line Наличными: 134.00 [13:18:02]line Безнал.: 0.00 [13:18:02]line Место: АЗС № 85 "Партнер Нефть" [13:18:02]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:18:02]line СНО: Общий режим [13:18:02]line Чек 31 22.10.2024 13:18 [13:18:02]line Смена: 462 ФФД: 1.0 [13:18:02]line ЗНМ: 0300000166 [13:18:02]line РНМ: 0000000000098120 [13:18:02]line Версия ККМ: 001 [13:18:02]line ФМ: 0000000000965420 [13:18:02]line ФД: 24412 [13:18:02]line ФПД: 147705004130991 [13:18:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T131804&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24412&fm=147705004130991&tin=02508201610067®Number=0000000000098120&sum=13400 [13:18:02]line 0 [13:18:02]OFD Sender: Processing packet 24412 [packets to send 5, broken 4] [13:18:02]ProducePacketName [13:18:02]name=ofd_packets/00024412 [13:18:02]OFD Sender: To server: pG, [13:18:02]CommunicateWithHost lk.salyk.kg:30040 [13:18:02]ConnectInit lk.salyk.kg [13:18:02]written 0, free lines is 4095 [13:18:02]Write to MH i2c: 01 00 00 33 0B 3E [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 07 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: 01 07 00 33 0B 00 00 00 00 00 04 0D 56 [13:18:02]RasterBufferAndPrint [13:18:02]line [13:18:02]line [13:18:02]line [13:18:02]line [13:18:02]line [13:18:02]written 0, free lines is 3338 [13:18:02]process_action close_receipt done [13:18:02]requested_data is exist [13:18:02]produce_requested_data [13:18:02]requested_item fm.sn is exist - process it [13:18:02]wFMCommunicate request_size=4 [13:18:02]MH_SAM_APDU [13:18:02]CAPDU: 80 11 00 00 [13:18:02]Write to MH i2c: E2 08 00 3A 0B 80 11 00 00 00 00 00 00 BF [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:18:02]Read from MH i2c: E2 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 17 00 [13:18:02]MH_I2C_Read... [13:18:02]Read from MH i2c: E2 17 00 3A 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0C [13:18:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:18:02]wFMCommunicate OK [13:18:02]requested_item fd.num is exist - process it [13:18:02]SAM_PROTO_GetFieldsCounters [13:18:02]wFMCommunicate request_size=4 [13:18:02]MH_SAM_APDU [13:18:02]CAPDU: 80 13 00 00 [13:18:02]Write to MH i2c: E2 08 00 3B 0B 80 13 00 00 00 00 00 00 C2 [13:18:02]Write i2c OK [13:18:02]MH_I2C_Read... [13:18:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:18:03]Read from MH i2c: E2 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 62 00 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 62 00 3B 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 5C 5F 00 00 0E 04 04 00 CE 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 BF [13:18: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 5C 5F 00 00 0E 04 04 00 CE 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 [13:18:03]wFMCommunicate OK [13:18:03]SAM_PROTO_GetFieldsCounters done [13:18:03]requested_item shift.num is exist - process it [13:18:03]requested_item shift.opened is exist - process it [13:18:03]req_shift_opened [13:18:03]FM_GetShiftState [13:18:03]SAM_PROTO_GetShiftState [13:18:03]wFMCommunicate request_size=4 [13:18:03]MH_SAM_APDU [13:18:03]CAPDU: 80 13 01 00 [13:18:03]Write to MH i2c: E2 08 00 3C 0B 80 13 01 00 00 00 00 00 C4 [13:18:03]Write i2c OK [13:18:03]MH_I2C_Read... [13:18:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:18:03]Read from MH i2c: E2 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 0E 00 [13:18:03]MH_I2C_Read... [13:18:03]Read from MH i2c: E2 0E 00 3C 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 BC [13:18:03]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:18:03]wFMCommunicate OK [13:18:03]SAM_PROTO_GetShiftState done [13:18:03]FM_GetShiftState done [13:18:03]req_shift_opened done [13:18:03]requested_item shift.open_date is exist - process it [13:18:03]req_shift_open_date [13:18:03]req_shift_open_date done [13:18:03]produce_requested_data done [13:18:03]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24412,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [13:18:03]process_action_free close_receipt [13:18:03]json_value_free [13:18:03]json_value_free done [13:18:03]process_json_proto returns [13:18:03]Send response to host [13:18:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24412,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [13:18:03]free response buf [13:18:03]execute_script done [13:18:03]execute_script returns [13:18:03]free content buf [13:18:03]Sock 7.Close socket [13:18:03]Sock 7.Thread stoped [13:20:14]ConnectInit Can't connect to host [13:20:14]CommunicateWithHost connect error [13:20:14]CommunicateWithHost err = -1 [13:20:14]OFD Sender: Server communicate error [13:20:19]OFD Sender: Processing packet 24412 [packets to send 5, broken 4] [13:20:19]ProducePacketName [13:20:19]name=ofd_packets/00024412 [13:20:19]OFD Sender: To server: pG, [13:20:19]CommunicateWithHost lk.salyk.kg:30040 [13:20:19]ConnectInit lk.salyk.kg [13:20:19]Connected sock=7 [13:20: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 2A 01 00 00 70 A5 22 01 82 36 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 1F 00 00 00 F4 03 04 00 0C A6 17 67 0E 04 04 00 CE 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 5C 5F 00 00 35 04 06 00 86 56 40 4D 82 AF 12 DE 7B D3 D5 C9 52 B0 [13:20:19]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 BD 71 47 00 B6 6D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5C 5F 00 00 F4 03 04 00 38 52 17 67 B6 04 01 00 00 55 34 9D 90 A9 6D 40 FD [13:20:19]CommunicateWithHost err = 0 [13:20:19]CheckOFDResponse [13:20:19]1017 (14) - 77093643461234 [13:20:19]1041 (16) - 0000000000965420 [13:20:19]1040 (4) - 24412 [13:20:19]1012 (4) - 22.10.2024 07:20 [13:20:19]1206 (1) - 0 [13:20:19]OFD Sender: Remove packet 24412 [13:20:19]ProducePacketName [13:20:19]name=ofd_packets/00024412 [13:20:19]NVStorageDeleteData [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:30]OFD Sender: No OFD packet to send [13:20:35]OFD Sender: No OFD packet to send [13:20:40]OFD Sender: No OFD packet to send [13:20:45]OFD Sender: No OFD packet to send [13:20:50]OFD Sender: No OFD packet to send [13:20:55]OFD Sender: No OFD packet to send [13:21:00]OFD Sender: No OFD packet to send [13:21:05]OFD Sender: No OFD packet to send [13:21:10]OFD Sender: No OFD packet to send [13:21:15]OFD Sender: No OFD packet to send [13:21:20]OFD Sender: No OFD packet to send [13:21:25]OFD Sender: No OFD packet to send [13:21:30]OFD Sender: No OFD packet to send [13:21:35]OFD Sender: No OFD packet to send [13:21:40]OFD Sender: No OFD packet to send [13:21:45]OFD Sender: No OFD packet to send [13:21:50]OFD Sender: No OFD packet to send [13:21:55]OFD Sender: No OFD packet to send [13:22:00]OFD Sender: No OFD packet to send [13:22:05]OFD Sender: No OFD packet to send [13:22:10]OFD Sender: No OFD packet to send [13:22:15]OFD Sender: No OFD packet to send [13:22:20]OFD Sender: No OFD packet to send [13:22:25]OFD Sender: No OFD packet to send [13:22:30]OFD Sender: No OFD packet to send [13:22:35]OFD Sender: No OFD packet to send [13:22:40]OFD Sender: No OFD packet to send [13:22:45]OFD Sender: No OFD packet to send [13:22:50]OFD Sender: No OFD packet to send [13:22:55]OFD Sender: No OFD packet to send [13:23:00]OFD Sender: No OFD packet to send [13:23:05]OFD Sender: No OFD packet to send [13:23:10]OFD Sender: No OFD packet to send [13:23:15]OFD Sender: No OFD packet to send [13:23:20]OFD Sender: No OFD packet to send [13:23:25]OFD Sender: No OFD packet to send [13:23:30]OFD Sender: No OFD packet to send [13:23:35]OFD Sender: No OFD packet to send [13:23:40]OFD Sender: No OFD packet to send [13:23:45]OFD Sender: No OFD packet to send [13:23:50]OFD Sender: No OFD packet to send [13:23:55]OFD Sender: No OFD packet to send [13:24:00]OFD Sender: No OFD packet to send [13:24:05]OFD Sender: No OFD packet to send [13:24:10]OFD Sender: No OFD packet to send [13:24:15]OFD Sender: No OFD packet to send [13:24:20]OFD Sender: No OFD packet to send [13:24:25]OFD Sender: No OFD packet to send [13:24:30]OFD Sender: No OFD packet to send [13:24:35]OFD Sender: No OFD packet to send [13:24:40]OFD Sender: No OFD packet to send [13:24:45]OFD Sender: No OFD packet to send [13:24:50]OFD Sender: No OFD packet to send [13:24:55]OFD Sender: No OFD packet to send [13:25:00]OFD Sender: No OFD packet to send [13:25:05]OFD Sender: No OFD packet to send [13:25: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:33]accept exits with 9 [13:31:33]New connection [13:31:33]New thread 3067452772 created [13:31:33]Thread 3067596132 joined [13:31:33]Waiting for new connection... [13:31:33] Sock 9.Parse request [13:31:33]Sock 9.Check first char [13:31:33]Sock 9.First char is OK [13:31:33]request: POST /json_proto HTTP/1.0 [13:31:33]Method: POST [13:31:33]URL: /json_proto [13:31:33]Method is POST - this is cgi request [13:31:33]url: /json_proto [13:31:33]query_string will be loaded in cgi processing [13:31:33]execute_cgi json_proto POST (null) [13:31:33]execute_cgi path=json_proto method=POST [13:31:33]POST find Content-Length [13:31:33]Host: 172.17.50.4:8080 [13:31:33]Content-Length: 649 [13:31:33]Content-Type: application/json [13:31:33] [13:31:33]POST finish read [13:31:33]Found Content-Length = 649 [13:31:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134932", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:33]execute_script... [13:31: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)134932", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:31:33]POST & json_proto [13:31:33]process_json_proto [13:31:33]json parsed OK: [13:31:33]protocol is kg_v1.0 [13:31:33]action value=close_receipt [13:31:33]process_action close_receipt [13:31:33]cmd_close_receipt [13:31:33]MH_GetDate [13:31:33]Write to MH i2c: F0 00 00 3D 0B 37 [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: F0 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: F0 09 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: F0 09 00 3D 0B 00 39 A9 17 67 3B 12 16 67 6A [13:31:33]GetLastDocTimeStamp 1729603084 [13:31:33]current date 1729603897 [13:31:33]FM_GetShiftState [13:31:33]SAM_PROTO_GetShiftState [13:31:33]wFMCommunicate request_size=4 [13:31:33]MH_SAM_APDU [13:31:33]CAPDU: 80 13 01 00 [13:31:33]Write to MH i2c: E2 08 00 3E 0B 80 13 01 00 00 00 00 00 C6 [13:31:33]Write i2c OK [13:31:33]MH_I2C_Read... [13:31:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:33]Read from MH i2c: E2 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 0E 00 [13:31:33]MH_I2C_Read... [13:31:33]Read from MH i2c: E2 0E 00 3E 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 BE [13:31:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:31:33]wFMCommunicate OK [13:31:33]SAM_PROTO_GetShiftState done [13:31:33]FM_GetShiftState done [13:31:33]opened in 1729555332 [13:31:33]opened+sec_in_day 1729641732 [13:31:33]quantity*price = 17000 [13:31:33]sum+1 = 17001 [13:31:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 32 22.10.2024 13:31 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24413 ФПД: 274104068362023 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T133137&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24413&fm=274104068362023&tin=02508201610067®Number=0000000000098120&sum=17000 0 [13:31:34]StoreToDocumentArchive [13:31:34]shift 462 fd 24413 [13:31:34]save to /storage/0462/doc_00024413 [13:31:34]save last doc name /storage/0462/doc_00024413 to /storage/kkm_last_doc_name [13:31:34]save OK [13:31:34]Clear old archive folders... [13:31:34]ProcessDocumentItem done err = 0, tmpTLVsize=277 [13:31:34]tlvbuf is B6F5E840 [13:31:34]SAM_PROTO_ClearQueue [13:31:34]wFMCommunicate request_size=4 [13:31:34]MH_SAM_APDU [13:31:34]CAPDU: 80 09 00 00 [13:31:34]Write to MH i2c: E2 08 00 4B 0B 80 09 00 00 00 00 00 00 C8 [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:31:34]Read from MH i2c: E2 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: E2 03 00 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: E2 03 00 4B 0B 00 90 00 CA [13:31:34]RAPDU: 90 00 [13:31:34]wFMCommunicate OK [13:31:34]SAM_PROTO_ClearQueue done [13:31:34]KKMCreateOFDPacket [13:31:34]OFDProtocolAddRootSTLVToBuf [13:31:34]FM_MakeSignedData [13:31:34]FM_MakeSignedData [13:31:34]SAM_PROTO_SignData [13:31:34]wFMCommunicate request_size=4 [13:31:34]MH_SAM_APDU [13:31:34]CAPDU: 80 0D 01 02 [13:31:34]Write to MH i2c: E2 08 00 4C 0B 80 0D 01 02 00 00 00 00 D0 [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:31:34]Read from MH i2c: E2 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: E2 03 00 [13:31:34]MH_I2C_Read... [13:31:34]Read from MH i2c: E2 03 00 4C 0B 00 90 00 CB [13:31:34]RAPDU: 90 00 [13:31:34]wFMCommunicate OK [13:31:34]wFMCommunicate request_size=255 [13:31:34]MH_SAM_APDU [13:31:34]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 39 A9 17 67 0E 04 04 00 CE 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 [13:31:34]Write to MH i2c: E2 02 01 4D 0B 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 39 A9 17 67 0E 04 04 00 CE 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 49 [13:31:34]Write i2c OK [13:31:34]MH_I2C_Read... [13:31:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:34]Read from MH i2c: E2 [13:31:34]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 03 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 03 00 4D 0B 00 90 00 CC [13:31:35]RAPDU: 90 00 [13:31:35]wFMCommunicate OK [13:31:35]wFMCommunicate request_size=36 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5D 5F 00 00 35 04 06 00 F9 4B D3 A0 4F 27 [13:31:35]Write to MH i2c: E2 27 00 4E 0B 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5D 5F 00 00 35 04 06 00 F9 4B D3 A0 4F 27 00 00 DB [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:31:35]Read from MH i2c: E2 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 03 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 03 00 4E 0B 00 90 00 CD [13:31:35]RAPDU: 90 00 [13:31:35]wFMCommunicate OK [13:31:35]wFMCommunicate request_size=4 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 0D 03 02 [13:31:35]Write to MH i2c: E2 08 00 4F 0B 80 0D 03 02 00 00 00 00 D5 [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:31:35]Read from MH i2c: E2 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 0B 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 0B 00 4F 0B 00 66 64 6C AB 4D 03 36 39 90 00 76 [13:31:35]RAPDU: 66 64 6C AB 4D 03 36 39 90 00 [13:31:35]wFMCommunicate OK [13:31:35]SAM_PROTO_SignData done [13:31:35]FM_MakeSignedData done [13:31:35]CreateOFDProtocolMessage [13:31:35]wFMCommunicate request_size=4 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 11 00 00 [13:31:35]Write to MH i2c: E2 08 00 50 0B 80 11 00 00 00 00 00 00 D5 [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:35]Read from MH i2c: E2 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 17 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: E2 17 00 50 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 22 [13:31:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:31:35]wFMCommunicate OK [13:31:35]CreateOFDProtocolMessage done [13:31:35]OFDSenderStorePacket 24413 [13:31:35]StoreOFDPacket docnum=24413 [13:31:35]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 D8 D9 21 01 41 1E 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 39 A9 17 67 0E 04 04 00 CE 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 5D 5F 00 00 35 04 06 00 F9 4B D3 A0 4F 27 66 64 6C AB 4D 03 36 39 [13:31:35]CheckFolder [13:31:35]dirname=/storage/ofd_packets [13:31:35]CheckFolder done [13:31:35]ProducePacketName [13:31:35]name=ofd_packets/00024413 [13:31:35]NVStorageSaveData ofd_packets/00024413 [13:31:35]File name is /storage/ofd_packets/00024413 [13:31:35]Write 327 bytes [13:31:35]NVStorageSaveData done [13:31:35]OFDSenderStorePacket done [13:31:35]KKMCreateOFDPacket done [13:31:35]NVStorageSaveData kkm_last_timestamp [13:31:35]File name is /storage/kkm_last_timestamp [13:31:35]Write 4 bytes [13:31:35]NVStorageSaveData done [13:31:35]ExternCall_PrintAddStr [13:31:35]wPrintStart [13:31:35]Write to MH i2c: 01 00 00 51 0B 5C [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 07 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 07 00 51 0B 00 00 00 00 00 FF 0F 71 [13:31:35]RasterBufferAndPrint [13:31:35]line Счет N : (3)134932 [13:31:35]line ИНН: 02508201610067 [13:31:35]line Контрольно-Кассовый Чек [13:31:35]line ПРОДАЖА [13:31:35]line Товар: 8901086040008 [13:31:35]line Жид/ст ПН летняя 4,5л [13:31:35]line 1.000 * 170.00 [13:31:35]line = 170.00 [13:31:35]line НДС 12% НСП 1% [13:31:35]line > о реализуемом товаре [13:31:35]line ИТОГО: 170.00 [13:31:35]line НСП 1% : 1.50 [13:31:35]line НДС 12% : 18.05 [13:31:35]line Наличными: 170.00 [13:31:35]line Безнал.: 0.00 [13:31:35]line Место: АЗС № 85 "Партнер Нефть" [13:31:35]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:31:35]line СНО: Общий режим [13:31:35]line Чек 32 22.10.2024 13:31 [13:31:35]line Смена: 462 ФФД: 1.0 [13:31:35]line ЗНМ: 0300000166 [13:31:35]line РНМ: 0000000000098120 [13:31:35]line Версия ККМ: 001 [13:31:35]line ФМ: 0000000000965420 [13:31:35]line ФД: 24413 [13:31:35]line ФПД: 274104068362023 [13:31:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T133137&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24413&fm=274104068362023&tin=02508201610067®Number=0000000000098120&sum=17000 [13:31:35]line 0 [13:31:35]OFD Sender: Processing packet 24413 [packets to send 5, broken 4] [13:31:35]ProducePacketName [13:31:35]name=ofd_packets/00024413 [13:31:35]OFD Sender: To server: pG, [13:31:35]CommunicateWithHost lk.salyk.kg:30040 [13:31:35]ConnectInit lk.salyk.kg [13:31:35]written 0, free lines is 4095 [13:31:35]Connected sock=10 [13:31:35]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 D8 D9 21 01 41 1E 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 39 A9 17 67 0E 04 04 00 CE 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 5D 5F 00 00 35 04 06 00 F9 4B D3 A0 4F 27 66 64 6C AB 4D 03 36 39 [13:31:35]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 60 14 47 00 69 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5D 5F 00 00 F4 03 04 00 DC 54 17 67 B6 04 01 00 00 EA 58 75 1E DC CC 93 EE [13:31:35]CommunicateWithHost err = 0 [13:31:35]CheckOFDResponse [13:31:35]1017 (14) - 77093643461234 [13:31:35]1041 (16) - 0000000000965420 [13:31:35]1040 (4) - 24413 [13:31:35]1012 (4) - 22.10.2024 07:31 [13:31:35]1206 (1) - 0 [13:31:35]OFD Sender: Remove packet 24413 [13:31:35]ProducePacketName [13:31:35]name=ofd_packets/00024413 [13:31:35]NVStorageDeleteData [13:31:35]Write to MH i2c: 01 00 00 79 0B 84 [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 07 00 [13:31:35]MH_I2C_Read... [13:31:35]Read from MH i2c: 01 07 00 79 0B 00 00 00 00 00 36 0D CE [13:31:35]RasterBufferAndPrint [13:31:35]line [13:31:35]line [13:31:35]line [13:31:35]line [13:31:35]line [13:31:35]written 0, free lines is 3388 [13:31:35]process_action close_receipt done [13:31:35]requested_data is exist [13:31:35]produce_requested_data [13:31:35]requested_item fm.sn is exist - process it [13:31:35]wFMCommunicate request_size=4 [13:31:35]MH_SAM_APDU [13:31:35]CAPDU: 80 11 00 00 [13:31:35]Write to MH i2c: E2 08 00 80 0B 80 11 00 00 00 00 00 00 05 [13:31:35]Write i2c OK [13:31:35]MH_I2C_Read... [13:31:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:31:36]Read from MH i2c: E2 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 17 00 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 17 00 80 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 52 [13:31:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:31:36]wFMCommunicate OK [13:31:36]requested_item fd.num is exist - process it [13:31:36]SAM_PROTO_GetFieldsCounters [13:31:36]wFMCommunicate request_size=4 [13:31:36]MH_SAM_APDU [13:31:36]CAPDU: 80 13 00 00 [13:31:36]Write to MH i2c: E2 08 00 81 0B 80 13 00 00 00 00 00 00 08 [13:31:36]Write i2c OK [13:31:36]MH_I2C_Read... [13:31:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:31:36]Read from MH i2c: E2 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 62 00 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 62 00 81 0B 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 5D 5F 00 00 0E 04 04 00 CE 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 09 [13:31: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 5D 5F 00 00 0E 04 04 00 CE 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 [13:31:36]wFMCommunicate OK [13:31:36]SAM_PROTO_GetFieldsCounters done [13:31:36]requested_item shift.num is exist - process it [13:31:36]requested_item shift.opened is exist - process it [13:31:36]req_shift_opened [13:31:36]FM_GetShiftState [13:31:36]SAM_PROTO_GetShiftState [13:31:36]wFMCommunicate request_size=4 [13:31:36]MH_SAM_APDU [13:31:36]CAPDU: 80 13 01 00 [13:31:36]Write to MH i2c: E2 08 00 82 0B 80 13 01 00 00 00 00 00 0A [13:31:36]Write i2c OK [13:31:36]MH_I2C_Read... [13:31:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:31:36]Read from MH i2c: E2 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 0E 00 [13:31:36]MH_I2C_Read... [13:31:36]Read from MH i2c: E2 0E 00 82 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 02 [13:31:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:31:36]wFMCommunicate OK [13:31:36]SAM_PROTO_GetShiftState done [13:31:36]FM_GetShiftState done [13:31:36]req_shift_opened done [13:31:36]requested_item shift.open_date is exist - process it [13:31:36]req_shift_open_date [13:31:36]req_shift_open_date done [13:31:36]produce_requested_data done [13:31:36]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24413,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [13:31:36]process_action_free close_receipt [13:31:36]json_value_free [13:31:36]json_value_free done [13:31:36]process_json_proto returns [13:31:36]Send response to host [13:31:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24413,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [13:31:36]free response buf [13:31:36]execute_script done [13:31:36]execute_script returns [13:31:36]free content buf [13:31:36]Sock 9.Close socket [13:31:36]Sock 9.Thread stoped [13:31:36]OFD Sender: No OFD packet to send [13:31:41]OFD Sender: No OFD packet to send [13:31:46]OFD Sender: No OFD packet to send [13:31:51]OFD Sender: No OFD packet to send [13:31:56]OFD Sender: No OFD packet to send [13:32:01]OFD Sender: No OFD packet to send [13:32:06]OFD Sender: No OFD packet to send [13:32:11]OFD Sender: No OFD packet to send [13:32:16]OFD Sender: No OFD packet to send [13:32:21]OFD Sender: No OFD packet to send [13:32:26]OFD Sender: No OFD packet to send [13:32:31]OFD Sender: No OFD packet to send [13:32:36]OFD Sender: No OFD packet to send [13:32:41]OFD Sender: No OFD packet to send [13:32:46]OFD Sender: No OFD packet to send [13:32:51]OFD Sender: No OFD packet to send [13:32:56]OFD Sender: No OFD packet to send [13:33:01]OFD Sender: No OFD packet to send [13:33:06]OFD Sender: No OFD packet to send [13:33:11]OFD Sender: No OFD packet to send [13:33:16]OFD Sender: No OFD packet to send [13:33:21]OFD Sender: No OFD packet to send [13:33:26]OFD Sender: No OFD packet to send [13:33:31]OFD Sender: No OFD packet to send [13:33:36]OFD Sender: No OFD packet to send [13:33:41]OFD Sender: No OFD packet to send [13:33:46]OFD Sender: No OFD packet to send [13:33:51]OFD Sender: No OFD packet to send [13:33:56]OFD Sender: No OFD packet to send [13:34:01]OFD Sender: No OFD packet to send [13:34:06]OFD Sender: No OFD packet to send [13:34:11]OFD Sender: No OFD packet to send [13:34:16]OFD Sender: No OFD packet to send [13:34:21]OFD Sender: No OFD packet to send [13:34:26]OFD Sender: No OFD packet to send [13:34:31]OFD Sender: No OFD packet to send [13:34:36]OFD Sender: No OFD packet to send [13:34:41]OFD Sender: No OFD packet to send [13:34:46]OFD Sender: No OFD packet to send [13:34:51]OFD Sender: No OFD packet to send [13:34:56]OFD Sender: No OFD packet to send [13:35:01]OFD Sender: No OFD packet to send [13:35:06]OFD Sender: No OFD packet to send [13:35:11]OFD Sender: No OFD packet to send [13:35:16]OFD Sender: No OFD packet to send [13:35:21]OFD Sender: No OFD packet to send [13:35:26]OFD Sender: No OFD packet to send [13:35:31]OFD Sender: No OFD packet to send [13:35:36]OFD Sender: No OFD packet to send [13:35:41]OFD Sender: No OFD packet to send [13:35:46]OFD Sender: No OFD packet to send [13:35:51]OFD Sender: No OFD packet to send [13:35:56]OFD Sender: No OFD packet to send [13:36:01]OFD Sender: No OFD packet to send [13:36:06]OFD Sender: No OFD packet to send [13:36:11]OFD Sender: No OFD packet to send [13:36:16]OFD Sender: No OFD packet to send [13:36:21]OFD Sender: No OFD packet to send [13:36:26]OFD Sender: No OFD packet to send [13:36:31]OFD Sender: No OFD packet to send [13:36:36]OFD Sender: No OFD packet to send [13:36:41]OFD Sender: No OFD packet to send [13:36:46]OFD Sender: No OFD packet to send [13:36:51]OFD Sender: No OFD packet to send [13:36:56]OFD Sender: No OFD packet to send [13:37:01]OFD Sender: No OFD packet to send [13:37:06]OFD Sender: No OFD packet to send [13:37:11]OFD Sender: No OFD packet to send [13:37:16]OFD Sender: No OFD packet to send [13:37:21]OFD Sender: No OFD packet to send [13:37:26]OFD Sender: No OFD packet to send [13:37:31]OFD Sender: No OFD packet to send [13:37:36]OFD Sender: No OFD packet to send [13:37:41]OFD Sender: No OFD packet to send [13:37:46]OFD Sender: No OFD packet to send [13:37:51]OFD Sender: No OFD packet to send [13:37:56]OFD Sender: No OFD packet to send [13:38:01]OFD Sender: No OFD packet to send [13:38:06]OFD Sender: No OFD packet to send [13:38:11]OFD Sender: No OFD packet to send [13:38:16]OFD Sender: No OFD packet to send [13:38:21]OFD Sender: No OFD packet to send [13:38:26]OFD Sender: No OFD packet to send [13:38:31]OFD Sender: No OFD packet to send [13:38:36]OFD Sender: No OFD packet to send [13:38:41]OFD Sender: No OFD packet to send [13:38:46]OFD Sender: No OFD packet to send [13:38:51]OFD Sender: No OFD packet to send [13:38:56]OFD Sender: No OFD packet to send [13:39:01]OFD Sender: No OFD packet to send [13:39:06]OFD Sender: No OFD packet to send [13:39:11]OFD Sender: No OFD packet to send [13:39:16]OFD Sender: No OFD packet to send [13:39:21]OFD Sender: No OFD packet to send [13:39:26]OFD Sender: No OFD packet to send [13:39:31]OFD Sender: No OFD packet to send [13:39:36]OFD Sender: No OFD packet to send [13:39:41]OFD Sender: No OFD packet to send [13:39:46]OFD Sender: No OFD packet to send [13:39:51]OFD Sender: No OFD packet to send [13:39:56]OFD Sender: No OFD packet to send [13:40:01]OFD Sender: No OFD packet to send [13:40:06]OFD Sender: No OFD packet to send [13:40:11]OFD Sender: No OFD packet to send [13:40:16]OFD Sender: No OFD packet to send [13:40:21]OFD Sender: No OFD packet to send [13:40:26]OFD Sender: No OFD packet to send [13:40:31]OFD Sender: No OFD packet to send [13:40:36]OFD Sender: No OFD packet to send [13:40:41]OFD Sender: No OFD packet to send [13:40:46]OFD Sender: No OFD packet to send [13:40:51]OFD Sender: No OFD packet to send [13:40:56]OFD Sender: No OFD packet to send [13:41:01]OFD Sender: No OFD packet to send [13:41:06]OFD Sender: No OFD packet to send [13:41:11]OFD Sender: No OFD packet to send [13:41:16]OFD Sender: No OFD packet to send [13:41:21]OFD Sender: No OFD packet to send [13:41:26]OFD Sender: No OFD packet to send [13:41:31]OFD Sender: No OFD packet to send [13:41:36]OFD Sender: No OFD packet to send [13:41:41]OFD Sender: No OFD packet to send [13:41:46]OFD Sender: No OFD packet to send [13:41:51]OFD Sender: No OFD packet to send [13:41:56]OFD Sender: No OFD packet to send [13:42:01]OFD Sender: No OFD packet to send [13:42:06]OFD Sender: No OFD packet to send [13:42:11]OFD Sender: No OFD packet to send [13:42:16]OFD Sender: No OFD packet to send [13:42:21]OFD Sender: No OFD packet to send [13:42:26]OFD Sender: No OFD packet to send [13:42:31]OFD Sender: No OFD packet to send [13:42:36]OFD Sender: No OFD packet to send [13:42:41]OFD Sender: No OFD packet to send [13:42:46]OFD Sender: No OFD packet to send [13:42:51]OFD Sender: No OFD packet to send [13:42:56]OFD Sender: No OFD packet to send [13:43:01]OFD Sender: No OFD packet to send [13:43:06]OFD Sender: No OFD packet to send [13:43:11]OFD Sender: No OFD packet to send [13:43:16]OFD Sender: No OFD packet to send [13:43:21]OFD Sender: No OFD packet to send [13:43:26]OFD Sender: No OFD packet to send [13:43:31]OFD Sender: No OFD packet to send [13:43:36]OFD Sender: No OFD packet to send [13:43:41]OFD Sender: No OFD packet to send [13:43:46]OFD Sender: No OFD packet to send [13:43:51]OFD Sender: No OFD packet to send [13:43:56]OFD Sender: No OFD packet to send [13:44:01]OFD Sender: No OFD packet to send [13:44:06]OFD Sender: No OFD packet to send [13:44:11]OFD Sender: No OFD packet to send [13:44:16]OFD Sender: No OFD packet to send [13:44:21]OFD Sender: No OFD packet to send [13:44:26]OFD Sender: No OFD packet to send [13:44:31]OFD Sender: No OFD packet to send [13:44:36]OFD Sender: No OFD packet to send [13:44:41]OFD Sender: No OFD packet to send [13:44:46]OFD Sender: No OFD packet to send [13:44:51]OFD Sender: No OFD packet to send [13:44:56]OFD Sender: No OFD packet to send [13:45:01]OFD Sender: No OFD packet to send [13:45:06]OFD Sender: No OFD packet to send [13:45:11]OFD Sender: No OFD packet to send [13:45:16]OFD Sender: No OFD packet to send [13:45:21]OFD Sender: No OFD packet to send [13:45:26]OFD Sender: No OFD packet to send [13:45:31]OFD Sender: No OFD packet to send [13:45:36]OFD Sender: No OFD packet to send [13:45:41]OFD Sender: No OFD packet to send [13:45:46]OFD Sender: No OFD packet to send [13:45:51]OFD Sender: No OFD packet to send [13:45:56]OFD Sender: No OFD packet to send [13:46:01]OFD Sender: No OFD packet to send [13:46:06]OFD Sender: No OFD packet to send [13:46:11]OFD Sender: No OFD packet to send [13:46:16]OFD Sender: No OFD packet to send [13:46:21]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:08]accept exits with 7 [13:47:08]New connection [13:47:08]New thread 3067596132 created [13:47:08]Thread 3067452772 joined [13:47:08]Waiting for new connection... [13:47:08] Sock 7.Parse request [13:47:08]Sock 7.Check first char [13:47:08]Sock 7.First char is OK [13:47:08]request: POST /json_proto HTTP/1.0 [13:47:08]Method: POST [13:47:08]URL: /json_proto [13:47:08]Method is POST - this is cgi request [13:47:08]url: /json_proto [13:47:08]query_string will be loaded in cgi processing [13:47:08]execute_cgi json_proto POST (null) [13:47:08]execute_cgi path=json_proto method=POST [13:47:08]POST find Content-Length [13:47:08]Host: 172.17.50.4:8080 [13:47:08]Content-Length: 619 [13:47:08]Content-Type: application/json [13:47:08] [13:47:08]POST finish read [13:47:08]Found Content-Length = 619 [13:47:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134933", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:08]execute_script... [13:47: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)134933", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:47:08]POST & json_proto [13:47:08]process_json_proto [13:47:08]json parsed OK: [13:47:08]protocol is kg_v1.0 [13:47:08]action value=close_receipt [13:47:08]process_action close_receipt [13:47:08]cmd_close_receipt [13:47:08]MH_GetDate [13:47:08]Write to MH i2c: F0 00 00 83 0B 7D [13:47:08]Write i2c OK [13:47:08]MH_I2C_Read... [13:47:08]Read from MH i2c: F0 [13:47:08]MH_I2C_Read... [13:47:08]Read from MH i2c: F0 09 00 [13:47:08]MH_I2C_Read... [13:47:08]Read from MH i2c: F0 09 00 83 0B 00 E0 AC 17 67 3B 12 16 67 5A [13:47:08]GetLastDocTimeStamp 1729603897 [13:47:08]current date 1729604832 [13:47:08]FM_GetShiftState [13:47:08]SAM_PROTO_GetShiftState [13:47:08]wFMCommunicate request_size=4 [13:47:08]MH_SAM_APDU [13:47:08]CAPDU: 80 13 01 00 [13:47:08]Write to MH i2c: E2 08 00 84 0B 80 13 01 00 00 00 00 00 0C [13:47:08]Write i2c OK [13:47:08]MH_I2C_Read... [13:47:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:08]Read from MH i2c: E2 [13:47:08]MH_I2C_Read... [13:47:08]Read from MH i2c: E2 0E 00 [13:47:08]MH_I2C_Read... [13:47:08]Read from MH i2c: E2 0E 00 84 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 04 [13:47:08]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:47:08]wFMCommunicate OK [13:47:08]SAM_PROTO_GetShiftState done [13:47:08]FM_GetShiftState done [13:47:08]opened in 1729555332 [13:47:08]opened+sec_in_day 1729641732 [13:47:08]quantity*price = 14400 [13:47:08]sum+1 = 14401 [13:47:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 33 22.10.2024 13:47 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24414 ФПД: 69283282926613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T134712&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24414&fm=69283282926613&tin=02508201610067®Number=0000000000098120&sum=14400 0 [13:47:09]StoreToDocumentArchive [13:47:09]shift 462 fd 24414 [13:47:09]save to /storage/0462/doc_00024414 [13:47:09]save last doc name /storage/0462/doc_00024414 to /storage/kkm_last_doc_name [13:47:09]save OK [13:47:09]Clear old archive folders... [13:47:09]ProcessDocumentItem done err = 0, tmpTLVsize=271 [13:47:09]tlvbuf is 00DB4840 [13:47:09]SAM_PROTO_ClearQueue [13:47:09]wFMCommunicate request_size=4 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 09 00 00 [13:47:09]Write to MH i2c: E2 08 00 91 0B 80 09 00 00 00 00 00 00 0E [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:47:09]Read from MH i2c: E2 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 91 0B 00 90 00 10 [13:47:09]RAPDU: 90 00 [13:47:09]wFMCommunicate OK [13:47:09]SAM_PROTO_ClearQueue done [13:47:09]KKMCreateOFDPacket [13:47:09]OFDProtocolAddRootSTLVToBuf [13:47:09]FM_MakeSignedData [13:47:09]FM_MakeSignedData [13:47:09]SAM_PROTO_SignData [13:47:09]wFMCommunicate request_size=4 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 0D 01 02 [13:47:09]Write to MH i2c: E2 08 00 92 0B 80 0D 01 02 00 00 00 00 16 [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:47:09]Read from MH i2c: E2 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 92 0B 00 90 00 11 [13:47:09]RAPDU: 90 00 [13:47:09]wFMCommunicate OK [13:47:09]wFMCommunicate request_size=255 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 AC 17 67 0E 04 04 00 CE 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:47:09]Write to MH i2c: E2 02 01 93 0B 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 AC 17 67 0E 04 04 00 CE 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 04 [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:09]Read from MH i2c: E2 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 93 0B 00 90 00 12 [13:47:09]RAPDU: 90 00 [13:47:09]wFMCommunicate OK [13:47:09]wFMCommunicate request_size=30 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 5E 5F 00 00 35 04 06 00 3F 03 45 77 BC 15 [13:47:09]Write to MH i2c: E2 21 00 94 0B 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 5E 5F 00 00 35 04 06 00 3F 03 45 77 BC 15 00 00 98 [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:47:09]Read from MH i2c: E2 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 03 00 94 0B 00 90 00 13 [13:47:09]RAPDU: 90 00 [13:47:09]wFMCommunicate OK [13:47:09]wFMCommunicate request_size=4 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 0D 03 02 [13:47:09]Write to MH i2c: E2 08 00 95 0B 80 0D 03 02 00 00 00 00 1B [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:47:09]Read from MH i2c: E2 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 0B 00 [13:47:09]MH_I2C_Read... [13:47:09]Read from MH i2c: E2 0B 00 95 0B 00 D1 A9 97 B5 B5 3B 83 C3 90 00 18 [13:47:09]RAPDU: D1 A9 97 B5 B5 3B 83 C3 90 00 [13:47:09]wFMCommunicate OK [13:47:09]SAM_PROTO_SignData done [13:47:09]FM_MakeSignedData done [13:47:09]CreateOFDProtocolMessage [13:47:09]wFMCommunicate request_size=4 [13:47:09]MH_SAM_APDU [13:47:09]CAPDU: 80 11 00 00 [13:47:09]Write to MH i2c: E2 08 00 96 0B 80 11 00 00 00 00 00 00 1B [13:47:09]Write i2c OK [13:47:09]MH_I2C_Read... [13:47:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:10]Read from MH i2c: E2 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: E2 17 00 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: E2 17 00 96 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 68 [13:47:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:47:10]wFMCommunicate OK [13:47:10]CreateOFDProtocolMessage done [13:47:10]OFDSenderStorePacket 24414 [13:47:10]StoreOFDPacket docnum=24414 [13:47: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 23 01 00 00 2E CE 1B 01 FA 3C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 AC 17 67 0E 04 04 00 CE 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 5E 5F 00 00 35 04 06 00 3F 03 45 77 BC 15 D1 A9 97 B5 B5 3B 83 C3 [13:47:10]CheckFolder [13:47:10]dirname=/storage/ofd_packets [13:47:10]CheckFolder done [13:47:10]ProducePacketName [13:47:10]name=ofd_packets/00024414 [13:47:10]NVStorageSaveData ofd_packets/00024414 [13:47:10]File name is /storage/ofd_packets/00024414 [13:47:10]Write 321 bytes [13:47:10]NVStorageSaveData done [13:47:10]OFDSenderStorePacket done [13:47:10]KKMCreateOFDPacket done [13:47:10]NVStorageSaveData kkm_last_timestamp [13:47:10]File name is /storage/kkm_last_timestamp [13:47:10]Write 4 bytes [13:47:10]NVStorageSaveData done [13:47:10]ExternCall_PrintAddStr [13:47:10]wPrintStart [13:47:10]Write to MH i2c: 01 00 00 97 0B A2 [13:47:10]Write i2c OK [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 07 00 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 07 00 97 0B 00 00 00 00 00 FF 0F B7 [13:47:10]RasterBufferAndPrint [13:47:10]line Счет N : (3)134933 [13:47:10]line ИНН: 02508201610067 [13:47:10]line Контрольно-Кассовый Чек [13:47:10]line ПРОДАЖА [13:47:10]line Товар: 47802995 [13:47:10]line Сигареты Winston XS Silver [13:47:10]line 1.000 * 144.00 [13:47:10]line = 144.00 [13:47:10]line НДС 12% НСП 1% [13:47:10]line > о реализуемом товаре [13:47:10]line ИТОГО: 144.00 [13:47:10]line НСП 1% : 1.27 [13:47:10]line НДС 12% : 15.29 [13:47:10]line Наличными: 144.00 [13:47:10]line Безнал.: 0.00 [13:47:10]line Место: АЗС № 85 "Партнер Нефть" [13:47:10]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [13:47:10]line СНО: Общий режим [13:47:10]line Чек 33 22.10.2024 13:47 [13:47:10]line Смена: 462 ФФД: 1.0 [13:47:10]line ЗНМ: 0300000166 [13:47:10]line РНМ: 0000000000098120 [13:47:10]line Версия ККМ: 001 [13:47:10]line ФМ: 0000000000965420 [13:47:10]line ФД: 24414 [13:47:10]line ФПД: 69283282926613 [13:47:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T134712&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24414&fm=69283282926613&tin=02508201610067®Number=0000000000098120&sum=14400 [13:47:10]OFD Sender: Processing packet 24414 [packets to send 5, broken 4] [13:47:10]ProducePacketName [13:47:10]name=ofd_packets/00024414 [13:47:10]OFD Sender: To server: pG, [13:47:10]CommunicateWithHost lk.salyk.kg:30040 [13:47:10]ConnectInit lk.salyk.kg [13:47:10]line 0 [13:47:10]written 0, free lines is 4095 [13:47:10]Connected sock=10 [13:47: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 23 01 00 00 2E CE 1B 01 FA 3C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 21 00 00 00 F4 03 04 00 E0 AC 17 67 0E 04 04 00 CE 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 5E 5F 00 00 35 04 06 00 3F 03 45 77 BC 15 D1 A9 97 B5 B5 3B 83 C3 [13:47: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 4E 53 47 00 BD 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 5E 5F 00 00 F4 03 04 00 83 58 17 67 B6 04 01 00 00 A9 A9 17 20 1D CC 52 56 [13:47:10]CommunicateWithHost err = 0 [13:47:10]CheckOFDResponse [13:47:10]1017 (14) - 77093643461234 [13:47:10]1041 (16) - 0000000000965420 [13:47:10]1040 (4) - 24414 [13:47:10]1012 (4) - 22.10.2024 07:47 [13:47:10]1206 (1) - 0 [13:47:10]OFD Sender: Remove packet 24414 [13:47:10]ProducePacketName [13:47:10]name=ofd_packets/00024414 [13:47:10]NVStorageDeleteData [13:47:10]Write to MH i2c: 01 00 00 BF 0B CA [13:47:10]Write i2c OK [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 07 00 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: 01 07 00 BF 0B 00 00 00 00 00 20 0D FE [13:47:10]RasterBufferAndPrint [13:47:10]line [13:47:10]line [13:47:10]line [13:47:10]line [13:47:10]line [13:47:10]written 0, free lines is 3366 [13:47:10]process_action close_receipt done [13:47:10]requested_data is exist [13:47:10]produce_requested_data [13:47:10]requested_item fm.sn is exist - process it [13:47:10]wFMCommunicate request_size=4 [13:47:10]MH_SAM_APDU [13:47:10]CAPDU: 80 11 00 00 [13:47:10]Write to MH i2c: E2 08 00 C6 0B 80 11 00 00 00 00 00 00 4B [13:47:10]Write i2c OK [13:47:10]MH_I2C_Read... [13:47:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:47:10]Read from MH i2c: E2 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: E2 17 00 [13:47:10]MH_I2C_Read... [13:47:10]Read from MH i2c: E2 17 00 C6 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 98 [13:47:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [13:47:10]wFMCommunicate OK [13:47:10]requested_item fd.num is exist - process it [13:47:10]SAM_PROTO_GetFieldsCounters [13:47:10]wFMCommunicate request_size=4 [13:47:10]MH_SAM_APDU [13:47:10]CAPDU: 80 13 00 00 [13:47:10]Write to MH i2c: E2 08 00 C7 0B 80 13 00 00 00 00 00 00 4E [13:47:10]Write i2c OK [13:47:10]MH_I2C_Read... [13:47:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:47:11]Read from MH i2c: E2 [13:47:11]MH_I2C_Read... [13:47:11]Read from MH i2c: E2 62 00 [13:47:11]MH_I2C_Read... [13:47:11]Read from MH i2c: E2 62 00 C7 0B 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 5E 5F 00 00 0E 04 04 00 CE 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 53 [13:47: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 5E 5F 00 00 0E 04 04 00 CE 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 [13:47:11]wFMCommunicate OK [13:47:11]SAM_PROTO_GetFieldsCounters done [13:47:11]requested_item shift.num is exist - process it [13:47:11]requested_item shift.opened is exist - process it [13:47:11]req_shift_opened [13:47:11]FM_GetShiftState [13:47:11]SAM_PROTO_GetShiftState [13:47:11]wFMCommunicate request_size=4 [13:47:11]MH_SAM_APDU [13:47:11]CAPDU: 80 13 01 00 [13:47:11]Write to MH i2c: E2 08 00 C8 0B 80 13 01 00 00 00 00 00 50 [13:47:11]Write i2c OK [13:47:11]MH_I2C_Read... [13:47:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:47:11]Read from MH i2c: E2 [13:47:11]MH_I2C_Read... [13:47:11]Read from MH i2c: E2 0E 00 [13:47:11]MH_I2C_Read... [13:47:11]Read from MH i2c: E2 0E 00 C8 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 48 [13:47:11]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [13:47:11]wFMCommunicate OK [13:47:11]SAM_PROTO_GetShiftState done [13:47:11]FM_GetShiftState done [13:47:11]req_shift_opened done [13:47:11]requested_item shift.open_date is exist - process it [13:47:11]req_shift_open_date [13:47:11]req_shift_open_date done [13:47:11]produce_requested_data done [13:47:11]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24414,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [13:47:11]process_action_free close_receipt [13:47:11]json_value_free [13:47:11]json_value_free done [13:47:11]process_json_proto returns [13:47:11]Send response to host [13:47:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24414,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [13:47:11]free response buf [13:47:11]execute_script done [13:47:11]execute_script returns [13:47:11]free content buf [13:47:11]Sock 7.Close socket [13:47:11]Sock 7.Thread stoped [13:47:11]OFD Sender: No OFD packet to send [13:47:16]OFD Sender: No OFD packet to send [13:47:21]OFD Sender: No OFD packet to send [13:47:26]OFD Sender: No OFD packet to send [13:47:31]OFD Sender: No OFD packet to send [13:47:36]OFD Sender: No OFD packet to send [13:47:41]OFD Sender: No OFD packet to send [13:47:46]OFD Sender: No OFD packet to send [13:47:51]OFD Sender: No OFD packet to send [13:47:56]OFD Sender: No OFD packet to send [13:48:01]OFD Sender: No OFD packet to send [13:48:06]OFD Sender: No OFD packet to send [13:48:11]OFD Sender: No OFD packet to send [13:48:16]OFD Sender: No OFD packet to send [13:48:21]OFD Sender: No OFD packet to send [13:48:26]OFD Sender: No OFD packet to send [13:48:31]OFD Sender: No OFD packet to send [13:48:36]OFD Sender: No OFD packet to send [13:48:41]OFD Sender: No OFD packet to send [13:48:46]OFD Sender: No OFD packet to send [13:48:51]OFD Sender: No OFD packet to send [13:48:56]OFD Sender: No OFD packet to send [13:49:01]OFD Sender: No OFD packet to send [13:49:06]OFD Sender: No OFD packet to send [13:49:11]OFD Sender: No OFD packet to send [13:49:16]OFD Sender: No OFD packet to send [13:49:21]OFD Sender: No OFD packet to send [13:49:26]OFD Sender: No OFD packet to send [13:49:31]OFD Sender: No OFD packet to send [13:49:36]OFD Sender: No OFD packet to send [13:49:41]OFD Sender: No OFD packet to send [13:49:46]OFD Sender: No OFD packet to send [13:49:51]OFD Sender: No OFD packet to send [13:49:56]OFD Sender: No OFD packet to send [13:50:01]OFD Sender: No OFD packet to send [13:50:06]OFD Sender: No OFD packet to send [13:50:11]OFD Sender: No OFD packet to send [13:50:16]OFD Sender: No OFD packet to send [13:50:21]OFD Sender: No OFD packet to send [13:50:26]OFD Sender: No OFD packet to send [13:50:31]OFD Sender: No OFD packet to send [13:50:36]OFD Sender: No OFD packet to send [13:50:41]OFD Sender: No OFD packet to send [13:50:46]OFD Sender: No OFD packet to send [13:50:51]OFD Sender: No OFD packet to send [13:50:56]OFD Sender: No OFD packet to send [13:51:01]OFD Sender: No OFD packet to send [13:51:06]OFD Sender: No OFD packet to send [13:51:11]OFD Sender: No OFD packet to send [13:51:16]OFD Sender: No OFD packet to send [13:51:21]OFD Sender: No OFD packet to send [13:51:26]OFD Sender: No OFD packet to send [13:51:31]OFD Sender: No OFD packet to send [13:51:36]OFD Sender: No OFD packet to send [13:51:41]OFD Sender: No OFD packet to send [13:51:46]OFD Sender: No OFD packet to send [13:51:51]OFD Sender: No OFD packet to send [13:51:56]OFD Sender: No OFD packet to send [13:52:01]OFD Sender: No OFD packet to send [13:52:06]OFD Sender: No OFD packet to send [13:52:11]OFD Sender: No OFD packet to send [13:52:16]OFD Sender: No OFD packet to send [13:52:21]OFD Sender: No OFD packet to send [13:52:26]OFD Sender: No OFD packet to send [13:52:31]OFD Sender: No OFD packet to send [13:52:36]OFD Sender: No OFD packet to send [13:52:41]OFD Sender: No OFD packet to send [13:52:46]OFD Sender: No OFD packet to send [13:52:51]OFD Sender: No OFD packet to send [13:52:56]OFD Sender: No OFD packet to send [13:53:01]OFD Sender: No OFD packet to send [13:53:06]OFD Sender: No OFD packet to send [13:53:11]OFD Sender: No OFD packet to send [13:53:16]OFD Sender: No OFD packet to send [13:53:21]OFD Sender: No OFD packet to send [13:53:26]OFD Sender: No OFD packet to send [13:53:31]OFD Sender: No OFD packet to send [13:53:36]OFD Sender: No OFD packet to send [13:53:41]OFD Sender: No OFD packet to send [13:53:46]OFD Sender: No OFD packet to send [13:53:51]OFD Sender: No OFD packet to send [13:53:56]OFD Sender: No OFD packet to send [13:54:01]OFD Sender: No OFD packet to send [13:54:06]OFD Sender: No OFD packet to send [13:54:11]OFD Sender: No OFD packet to send [13:54:16]OFD Sender: No OFD packet to send [13:54:21]OFD Sender: No OFD packet to send [13:54:26]OFD Sender: No OFD packet to send [13:54:31]OFD Sender: No OFD packet to send [13:54:36]OFD Sender: No OFD packet to send [13:54:41]OFD Sender: No OFD packet to send [13:54:46]OFD Sender: No OFD packet to send [13:54:51]OFD Sender: No OFD packet to send [13:54:56]OFD Sender: No OFD packet to send [13:55:01]OFD Sender: No OFD packet to send [13:55:06]OFD Sender: No OFD packet to send [13:55:11]OFD Sender: No OFD packet to send [13:55:16]OFD Sender: No OFD packet to send [13:55:21]OFD Sender: No OFD packet to send [13:55:26]OFD Sender: No OFD packet to send [13:55:31]OFD Sender: No OFD packet to send [13:55:36]OFD Sender: No OFD packet to send [13:55:41]OFD Sender: No OFD packet to send [13:55:46]OFD Sender: No OFD packet to send [13:55:51]OFD Sender: No OFD packet to send [13:55:56]OFD Sender: No OFD packet to send [13:56:01]OFD Sender: No OFD packet to send [13:56:06]OFD Sender: No OFD packet to send [13:56:11]OFD Sender: No OFD packet to send [13:56:16]OFD Sender: No OFD packet to send [13:56:21]OFD Sender: No OFD packet to send [13:56:26]OFD Sender: No OFD packet to send [13:56:31]OFD Sender: No OFD packet to send [13:56:36]OFD Sender: No OFD packet to send [13:56:41]OFD Sender: No OFD packet to send [13:56:46]OFD Sender: No OFD packet to send [13:56:51]OFD Sender: No OFD packet to send [13:56:56]OFD Sender: No OFD packet to send [13:57:01]OFD Sender: No OFD packet to send [13:57:06]OFD Sender: No OFD packet to send [13:57:11]OFD Sender: No OFD packet to send [13:57:16]OFD Sender: No OFD packet to send [13:57:21]OFD Sender: No OFD packet to send [13:57:26]OFD Sender: No OFD packet to send [13:57:31]OFD Sender: No OFD packet to send [13:57:36]OFD Sender: No OFD packet to send [13:57:41]OFD Sender: No OFD packet to send [13:57:46]OFD Sender: No OFD packet to send [13:57:51]OFD Sender: No OFD packet to send [13:57:56]OFD Sender: No OFD packet to send [13:58:01]OFD Sender: No OFD packet to send [13:58:06]OFD Sender: No OFD packet to send [13:58:11]OFD Sender: No OFD packet to send [13:58:16]OFD Sender: No OFD packet to send [13:58:21]OFD Sender: No OFD packet to send [13:58:26]OFD Sender: No OFD packet to send [13:58:31]OFD Sender: No OFD packet to send [13:58:36]OFD Sender: No OFD packet to send [13:58:41]OFD Sender: No OFD packet to send [13:58:46]OFD Sender: No OFD packet to send [13:58:51]OFD Sender: No OFD packet to send [13:58:56]OFD Sender: No OFD packet to send [13:59:01]OFD Sender: No OFD packet to send [13:59:06]OFD Sender: No OFD packet to send [13:59:11]OFD Sender: No OFD packet to send [13:59:16]OFD Sender: No OFD packet to send [13:59:21]OFD Sender: No OFD packet to send [13:59:26]OFD Sender: No OFD packet to send [13:59:31]OFD Sender: No OFD packet to send [13:59:36]OFD Sender: No OFD packet to send [13:59:41]OFD Sender: No OFD packet to send [13:59:46]OFD Sender: No OFD packet to send [13:59:51]OFD Sender: No OFD packet to send [13:59:56]OFD Sender: No OFD packet to send [14:00:01]OFD Sender: No OFD packet to send [14:00:06]OFD Sender: No OFD packet to send [14:00:11]OFD Sender: No OFD packet to send [14:00:16]OFD Sender: No OFD packet to send [14:00:21]OFD Sender: No OFD packet to send [14:00:26]OFD Sender: No OFD packet to send [14:00:31]OFD Sender: No OFD packet to send [14:00:36]OFD Sender: No OFD packet to send [14:00:41]OFD Sender: No OFD packet to send [14:00:46]OFD Sender: No OFD packet to send [14:00:51]OFD Sender: No OFD packet to send [14:00:56]OFD Sender: No OFD packet to send [14:01:01]OFD Sender: No OFD packet to send [14:01:06]OFD Sender: No OFD packet to send [14:01:11]OFD Sender: No OFD packet to send [14:01:16]OFD Sender: No OFD packet to send [14:01:21]OFD Sender: No OFD packet to send [14:01:26]OFD Sender: No OFD packet to send [14:01:31]OFD Sender: No OFD packet to send [14:01:36]OFD Sender: No OFD packet to send [14:01:41]OFD Sender: No OFD packet to send [14:01:46]OFD Sender: No OFD packet to send [14:01:51]OFD Sender: No OFD packet to send [14:01:56]OFD Sender: No OFD packet to send [14:02:01]OFD Sender: No OFD packet to send [14:02:06]OFD Sender: No OFD packet to send [14:02:11]OFD Sender: No OFD packet to send [14:02:16]OFD Sender: No OFD packet to send [14:02:21]OFD Sender: No OFD packet to send [14:02:26]OFD Sender: No OFD packet to send [14:02:31]OFD Sender: No OFD packet to send [14:02:36]OFD Sender: No OFD packet to send [14:02:41]OFD Sender: No OFD packet to send [14:02:46]OFD Sender: No OFD packet to send [14:02:51]OFD Sender: No OFD packet to send [14:02:56]OFD Sender: No OFD packet to send [14:03:01]OFD Sender: No OFD packet to send [14:03:06]OFD Sender: No OFD packet to send [14:03:11]OFD Sender: No OFD packet to send [14:03:16]OFD Sender: No OFD packet to send [14:03:21]OFD Sender: No OFD packet to send [14:03:26]OFD Sender: No OFD packet to send [14:03:31]OFD Sender: No OFD packet to send [14:03:36]OFD Sender: No OFD packet to send [14:03:41]OFD Sender: No OFD packet to send [14:03:46]OFD Sender: No OFD packet to send [14:03:51]OFD Sender: No OFD packet to send [14:03:56]OFD Sender: No OFD packet to send [14:04:01]OFD Sender: No OFD packet to send [14:04:06]OFD Sender: No OFD packet to send [14:04:11]OFD Sender: No OFD packet to send [14:04:16]OFD Sender: No OFD packet to send [14:04:21]OFD Sender: No OFD packet to send [14:04:26]OFD Sender: No OFD packet to send [14:04:31]OFD Sender: No OFD packet to send [14:04:37]OFD Sender: No OFD packet to send [14:04:42]OFD Sender: No OFD packet to send [14:04:47]OFD Sender: No OFD packet to send [14:04:52]OFD Sender: No OFD packet to send [14:04:57]OFD Sender: No OFD packet to send [14:05:02]OFD Sender: No OFD packet to send [14:05:07]OFD Sender: No OFD packet to send [14:05:12]OFD Sender: No OFD packet to send [14:05:17]OFD Sender: No OFD packet to send [14:05:22]OFD Sender: No OFD packet to send [14:05:27]OFD Sender: No OFD packet to send [14:05:32]OFD Sender: No OFD packet to send [14:05:37]OFD Sender: No OFD packet to send [14:05:42]OFD Sender: No OFD packet to send [14:05:47]OFD Sender: No OFD packet to send [14:05:52]OFD Sender: No OFD packet to send [14:05:57]OFD Sender: No OFD packet to send [14:06:02]OFD Sender: No OFD packet to send [14:06:07]OFD Sender: No OFD packet to send [14:06:12]OFD Sender: No OFD packet to send [14:06:17]OFD Sender: No OFD packet to send [14:06:22]OFD Sender: No OFD packet to send [14:06:27]OFD Sender: No OFD packet to send [14:06:32]OFD Sender: No OFD packet to send [14:06:37]OFD Sender: No OFD packet to send [14:06:42]OFD Sender: No OFD packet to send [14:06:47]OFD Sender: No OFD packet to send [14:06:52]OFD Sender: No OFD packet to send [14:06:57]OFD Sender: No OFD packet to send [14:07:02]OFD Sender: No OFD packet to send [14:07:07]OFD Sender: No OFD packet to send [14:07:12]OFD Sender: No OFD packet to send [14:07:17]OFD Sender: No OFD packet to send [14:07:22]OFD Sender: No OFD packet to send [14:07:27]OFD Sender: No OFD packet to send [14:07:32]OFD Sender: No OFD packet to send [14:07:37]OFD Sender: No OFD packet to send [14:07:42]OFD Sender: No OFD packet to send [14:07:47]OFD Sender: No OFD packet to send [14:07:52]OFD Sender: No OFD packet to send [14:07:57]OFD Sender: No OFD packet to send [14:08:02]OFD Sender: No OFD packet to send [14:08:07]OFD Sender: No OFD packet to send [14:08:12]OFD Sender: No OFD packet to send [14:08:17]OFD Sender: No OFD packet to send [14:08:22]OFD Sender: No OFD packet to send [14:08:27]OFD Sender: No OFD packet to send [14:08:32]OFD Sender: No OFD packet to send [14:08:37]OFD Sender: No OFD packet to send [14:08:42]OFD Sender: No OFD packet to send [14:08:47]OFD Sender: No OFD packet to send [14:08:52]OFD Sender: No OFD packet to send [14:08:57]OFD Sender: No OFD packet to send [14:09:02]OFD Sender: No OFD packet to send [14:09:07]OFD Sender: No OFD packet to send [14:09:12]OFD Sender: No OFD packet to send [14:09:17]OFD Sender: No OFD packet to send [14:09:22]OFD Sender: No OFD packet to send [14:09:27]OFD Sender: No OFD packet to send [14:09:32]OFD Sender: No OFD packet to send [14:09:37]OFD Sender: No OFD packet to send [14:09:42]OFD Sender: No OFD packet to send [14:09:47]OFD Sender: No OFD packet to send [14:09:52]OFD Sender: No OFD packet to send [14:09:57]OFD Sender: No OFD packet to send [14:10:02]OFD Sender: No OFD packet to send [14:10:07]OFD Sender: No OFD packet to send [14:10:12]OFD Sender: No OFD packet to send [14:10:17]OFD Sender: No OFD packet to send [14:10:22]OFD Sender: No OFD packet to send [14:10:27]OFD Sender: No OFD packet to send [14:10:32]OFD Sender: No OFD packet to send [14:10:37]OFD Sender: No OFD packet to send [14:10:42]OFD Sender: No OFD packet to send [14:10:47]OFD Sender: No OFD packet to send [14:10:52]OFD Sender: No OFD packet to send [14:10:57]OFD Sender: No OFD packet to send [14:11:02]OFD Sender: No OFD packet to send [14:11:07]OFD Sender: No OFD packet to send [14:11:12]OFD Sender: No OFD packet to send [14:11:17]OFD Sender: No OFD packet to send [14:11:22]OFD Sender: No OFD packet to send [14:11:27]OFD Sender: No OFD packet to send [14:11:32]OFD Sender: No OFD packet to send [14:11:37]OFD Sender: No OFD packet to send [14:11:42]OFD Sender: No OFD packet to send [14:11:47]OFD Sender: No OFD packet to send [14:11:52]OFD Sender: No OFD packet to send [14:11:57]OFD Sender: No OFD packet to send [14:12:02]OFD Sender: No OFD packet to send [14:12:07]OFD Sender: No OFD packet to send [14:12:12]OFD Sender: No OFD packet to send [14:12:17]OFD Sender: No OFD packet to send [14:12:22]OFD Sender: No OFD packet to send [14:12:27]OFD Sender: No OFD packet to send [14:12:32]OFD Sender: No OFD packet to send [14:12:37]OFD Sender: No OFD packet to send [14:12:42]OFD Sender: No OFD packet to send [14:12:47]OFD Sender: No OFD packet to send [14:12:52]OFD Sender: No OFD packet to send [14:12:57]OFD Sender: No OFD packet to send [14:13:02]OFD Sender: No OFD packet to send [14:13:07]OFD Sender: No OFD packet to send [14:13:12]OFD Sender: No OFD packet to send [14:13:17]OFD Sender: No OFD packet to send [14:13:22]OFD Sender: No OFD packet to send [14:13:27]OFD Sender: No OFD packet to send [14:13:32]OFD Sender: No OFD packet to send [14:13:37]OFD Sender: No OFD packet to send [14:13:42]OFD Sender: No OFD packet to send [14:13:47]OFD Sender: No OFD packet to send [14:13:52]OFD Sender: No OFD packet to send [14:13:57]OFD Sender: No OFD packet to send [14:14:02]OFD Sender: No OFD packet to send [14:14:07]OFD Sender: No OFD packet to send [14:14:12]OFD Sender: No OFD packet to send [14:14:17]OFD Sender: No OFD packet to send [14:14:22]OFD Sender: No OFD packet to send [14:14:27]OFD Sender: No OFD packet to send [14:14:32]OFD Sender: No OFD packet to send [14:14:37]OFD Sender: No OFD packet to send [14:14:42]OFD Sender: No OFD packet to send [14:14:47]OFD Sender: No OFD packet to send [14:14:52]OFD Sender: No OFD packet to send [14:14:57]OFD Sender: No OFD packet to send [14:15:02]OFD Sender: No OFD packet to send [14:15:07]OFD Sender: No OFD packet to send [14:15:12]OFD Sender: No OFD packet to send [14:15:17]OFD Sender: No OFD packet to send [14:15:22]OFD Sender: No OFD packet to send [14:15:27]OFD Sender: No OFD packet to send [14:15:32]OFD Sender: No OFD packet to send [14:15:37]OFD Sender: No OFD packet to send [14:15:42]OFD Sender: No OFD packet to send [14:15:47]OFD Sender: No OFD packet to send [14:15:52]OFD Sender: No OFD packet to send [14:15:57]OFD Sender: No OFD packet to send [14:16:02]OFD Sender: No OFD packet to send [14:16:07]OFD Sender: No OFD packet to send [14:16:12]OFD Sender: No OFD packet to send [14:16:17]OFD Sender: No OFD packet to send [14:16:22]OFD Sender: No OFD packet to send [14:16:27]OFD Sender: No OFD packet to send [14:16:32]OFD Sender: No OFD packet to send [14:16:37]OFD Sender: No OFD packet to send [14:16:42]OFD Sender: No OFD packet to send [14:16:47]OFD Sender: No OFD packet to send [14:16:52]OFD Sender: No OFD packet to send [14:16:57]OFD Sender: No OFD packet to send [14:17:02]OFD Sender: No OFD packet to send [14:17:07]OFD Sender: No OFD packet to send [14:17:12]OFD Sender: No OFD packet to send [14:17:17]OFD Sender: No OFD packet to send [14:17:22]OFD Sender: No OFD packet to send [14:17:27]OFD Sender: No OFD packet to send [14:17:32]OFD Sender: No OFD packet to send [14:17:37]OFD Sender: No OFD packet to send [14:17:42]OFD Sender: No OFD packet to send [14:17:47]OFD Sender: No OFD packet to send [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:12]OFD Sender: No OFD packet to send [14:25:17]OFD Sender: No OFD packet to send [14:25:22]OFD Sender: No OFD packet to send [14:25:27]OFD Sender: No OFD packet to send [14:25:32]OFD Sender: No OFD packet to send [14:25:37]accept exits with 9 [14:25:37]New connection [14:25:37]New thread 3067452772 created [14:25:37]Thread 3067596132 joined [14:25:37]Waiting for new connection... [14:25:37] Sock 9.Parse request [14:25:37]Sock 9.Check first char [14:25:37]Sock 9.First char is OK [14:25:37]request: POST /json_proto HTTP/1.0 [14:25:37]Method: POST [14:25:37]URL: /json_proto [14:25:37]Method is POST - this is cgi request [14:25:37]url: /json_proto [14:25:37]query_string will be loaded in cgi processing [14:25:37]execute_cgi json_proto POST (null) [14:25:37]execute_cgi path=json_proto method=POST [14:25:37]POST find Content-Length [14:25:37]Host: 172.17.50.4:8080 [14:25:37]Content-Length: 862 [14:25:37]Content-Type: application/json [14:25:37] [14:25:37]POST finish read [14:25:37]Found Content-Length = 862 [14:25:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134934", "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 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 474.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:37]execute_script... [14:25:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134934", "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 }]} ,{ "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 2.000, "sum" : 320.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 474.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:25:37]POST & json_proto [14:25:37]process_json_proto [14:25:37]json parsed OK: [14:25:37]protocol is kg_v1.0 [14:25:37]action value=close_receipt [14:25:37]process_action close_receipt [14:25:37]cmd_close_receipt [14:25:37]MH_GetDate [14:25:37]Write to MH i2c: F0 00 00 C9 0B C3 [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: F0 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: F0 09 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: F0 09 00 C9 0B 00 E5 B5 17 67 3B 12 16 67 AE [14:25:37]GetLastDocTimeStamp 1729604832 [14:25:37]current date 1729607141 [14:25:37]FM_GetShiftState [14:25:37]SAM_PROTO_GetShiftState [14:25:37]wFMCommunicate request_size=4 [14:25:37]MH_SAM_APDU [14:25:37]CAPDU: 80 13 01 00 [14:25:37]Write to MH i2c: E2 08 00 CA 0B 80 13 01 00 00 00 00 00 52 [14:25:37]Write i2c OK [14:25:37]MH_I2C_Read... [14:25:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:37]Read from MH i2c: E2 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: E2 0E 00 [14:25:37]MH_I2C_Read... [14:25:37]Read from MH i2c: E2 0E 00 CA 0B 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 4A [14:25:37]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:25:37]wFMCommunicate OK [14:25:37]SAM_PROTO_GetShiftState done [14:25:37]FM_GetShiftState done [14:25:37]opened in 1729555332 [14:25:37]opened+sec_in_day 1729641732 [14:25:37]quantity*price = 15400 [14:25:37]sum+1 = 15401 [14:25:37]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48742245 Сигареты Parliament Silver Blue 2.000 * 160.00 = 320.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 474.00 НСП 1% : 4.19 НДС 12% : 50.33 Наличными: 474.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 34 22.10.2024 14:25 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24415 ФПД: 119632599130574 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142541&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24415&fm=119632599130574&tin=02508201610067®Number=0000000000098120&sum=47400 0 [14:25:38]StoreToDocumentArchive [14:25:38]shift 462 fd 24415 [14:25:38]save to /storage/0462/doc_00024415 [14:25:38]save last doc name /storage/0462/doc_00024415 to /storage/kkm_last_doc_name [14:25:38]save OK [14:25:38]Clear old archive folders... [14:25:38]ProcessDocumentItem done err = 0, tmpTLVsize=380 [14:25:38]tlvbuf is 00D54350 [14:25:38]SAM_PROTO_ClearQueue [14:25:38]wFMCommunicate request_size=4 [14:25:38]MH_SAM_APDU [14:25:38]CAPDU: 80 09 00 00 [14:25:38]Write to MH i2c: E2 08 00 D7 0B 80 09 00 00 00 00 00 00 54 [14:25:38]Write i2c OK [14:25:38]MH_I2C_Read... [14:25:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:25:38]Read from MH i2c: E2 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 03 00 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 03 00 D7 0B 00 90 00 56 [14:25:38]RAPDU: 90 00 [14:25:38]wFMCommunicate OK [14:25:38]SAM_PROTO_ClearQueue done [14:25:38]KKMCreateOFDPacket [14:25:38]OFDProtocolAddRootSTLVToBuf [14:25:38]FM_MakeSignedData [14:25:38]FM_MakeSignedData [14:25:38]SAM_PROTO_SignData [14:25:38]wFMCommunicate request_size=4 [14:25:38]MH_SAM_APDU [14:25:38]CAPDU: 80 0D 01 02 [14:25:38]Write to MH i2c: E2 08 00 D8 0B 80 0D 01 02 00 00 00 00 5C [14:25:38]Write i2c OK [14:25:38]MH_I2C_Read... [14:25:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:25:38]Read from MH i2c: E2 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 03 00 [14:25:38]MH_I2C_Read... [14:25:38]Read from MH i2c: E2 03 00 D8 0B 00 90 00 57 [14:25:38]RAPDU: 90 00 [14:25:38]wFMCommunicate OK [14:25:38]wFMCommunicate request_size=255 [14:25:38]MH_SAM_APDU [14:25:38]CAPDU: 80 0D 02 02 FA 03 00 7C 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 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 B9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 01 00 00 [14:25:38]Write to MH i2c: E2 02 01 D9 0B 80 0D 02 02 FA 00 03 00 7C 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 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 B9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 01 00 00 00 00 5D [14:25:38]Write i2c OK [14:25:38]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 D9 0B 00 90 00 58 [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]wFMCommunicate request_size=139 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 0D 02 02 86 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 13 00 00 00 00 07 04 06 00 28 B9 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 E5 B5 17 67 0E 04 04 00 CE 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 5F 5F 00 00 35 04 06 00 6C CE 22 93 21 CE [14:25:39]Write to MH i2c: E2 8E 00 DA 0B 80 0D 02 02 86 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 13 00 00 00 00 07 04 06 00 28 B9 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 E5 B5 17 67 0E 04 04 00 CE 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 5F 5F 00 00 35 04 06 00 6C CE 22 93 21 CE 00 00 CF [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 03 00 DA 0B 00 90 00 59 [14:25:39]RAPDU: 90 00 [14:25:39]wFMCommunicate OK [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 0D 03 02 [14:25:39]Write to MH i2c: E2 08 00 DB 0B 80 0D 03 02 00 00 00 00 61 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0B 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 0B 00 DB 0B 00 5A 3C 30 F9 6A 7B 04 0E 90 00 18 [14:25:39]RAPDU: 5A 3C 30 F9 6A 7B 04 0E 90 00 [14:25:39]wFMCommunicate OK [14:25:39]SAM_PROTO_SignData done [14:25:39]FM_MakeSignedData done [14:25:39]CreateOFDProtocolMessage [14:25:39]wFMCommunicate request_size=4 [14:25:39]MH_SAM_APDU [14:25:39]CAPDU: 80 11 00 00 [14:25:39]Write to MH i2c: E2 08 00 DC 0B 80 11 00 00 00 00 00 00 61 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:39]Read from MH i2c: E2 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 17 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: E2 17 00 DC 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AE [14:25:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:25:39]wFMCommunicate OK [14:25:39]CreateOFDProtocolMessage done [14:25:39]OFDSenderStorePacket 24415 [14:25:39]StoreOFDPacket docnum=24415 [14:25:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 01 00 00 98 9D 88 01 1F C3 5A 03 01 00 03 00 7C 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 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 B9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 13 00 00 00 00 07 04 06 00 28 B9 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 E5 B5 17 67 0E 04 04 00 CE 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 5F 5F 00 00 35 04 06 00 6C CE 22 93 21 CE 5A 3C 30 F9 6A 7B 04 0E [14:25:39]CheckFolder [14:25:39]dirname=/storage/ofd_packets [14:25:39]CheckFolder done [14:25:39]ProducePacketName [14:25:39]name=ofd_packets/00024415 [14:25:39]NVStorageSaveData ofd_packets/00024415 [14:25:39]File name is /storage/ofd_packets/00024415 [14:25:39]Write 430 bytes [14:25:39]NVStorageSaveData done [14:25:39]OFDSenderStorePacket done [14:25:39]KKMCreateOFDPacket done [14:25:39]NVStorageSaveData kkm_last_timestamp [14:25:39]File name is /storage/kkm_last_timestamp [14:25:39]Write 4 bytes [14:25:39]NVStorageSaveData done [14:25:39]ExternCall_PrintAddStr [14:25:39]wPrintStart [14:25:39]Write to MH i2c: 01 00 00 DD 0B E8 [14:25:39]Write i2c OK [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: 01 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: 01 07 00 [14:25:39]MH_I2C_Read... [14:25:39]Read from MH i2c: 01 07 00 DD 0B 00 00 00 00 00 FF 0F FD [14:25:39]RasterBufferAndPrint [14:25:39]line Счет N : (3)134934 [14:25:39]line ИНН: 02508201610067 [14:25:39]line Контрольно-Кассовый Чек [14:25:39]line ПРОДАЖА [14:25:39]line Товар: 46230614 [14:25:39]line Сигареты Richmond Red Edition [14:25:39]line 1.000 * 154.00 [14:25:39]line = 154.00 [14:25:39]line НДС 12% НСП 1% [14:25:39]line > о реализуемом товаре [14:25:39]line Товар: 48742245 [14:25:39]line Сигареты Parliament Silver Blue [14:25:39]line 2.000 * 160.00 [14:25:39]line = 320.00 [14:25:39]line НДС 12% НСП 1% [14:25:39]line > о реализуемом товаре [14:25:39]line ИТОГО: 474.00 [14:25:39]line НСП 1% : 4.19 [14:25:39]line НДС 12% : 50.33 [14:25:39]line Наличными: 474.00 [14:25:39]line Безнал.: 0.00 [14:25:39]line Место: АЗС № 85 "Партнер Нефть" [14:25:39]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:25:39]line СНО: Общий режим [14:25:39]line Чек 34 22.10.2024 14:25 [14:25:39]line Смена: 462 ФФД: 1.0 [14:25:39]line ЗНМ: 0300000166 [14:25:39]line РНМ: 0000000000098120 [14:25:39]line Версия ККМ: 001 [14:25:39]line ФМ: 0000000000965420 [14:25:39]line ФД: 24415 [14:25:39]line ФПД: 119632599130574 [14:25:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142541&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24415&fm=119632599130574&tin=02508201610067®Number=0000000000098120&sum=47400 [14:25:39]line 0 [14:25:39]OFD Sender: Processing packet 24415 [packets to send 5, broken 4] [14:25:39]ProducePacketName [14:25:39]name=ofd_packets/00024415 [14:25:39]OFD Sender: To server: pG, [14:25:39]CommunicateWithHost lk.salyk.kg:30040 [14:25:39]ConnectInit lk.salyk.kg [14:25:39]written 0, free lines is 4095 [14:25:39]Connected sock=11 [14:25:39]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 90 01 00 00 98 9D 88 01 1F C3 5A 03 01 00 03 00 7C 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 23 04 66 00 8A 04 08 00 34 38 37 34 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 00 7D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 B9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A3 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 13 00 00 00 00 07 04 06 00 28 B9 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 E5 B5 17 67 0E 04 04 00 CE 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 5F 5F 00 00 35 04 06 00 6C CE 22 93 21 CE 5A 3C 30 F9 6A 7B 04 0E [14:25:40]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 F7 B9 47 00 9F E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 5F 5F 00 00 F4 03 04 00 89 61 17 67 B6 04 01 00 00 07 C8 44 34 10 44 C2 9A [14:25:40]CommunicateWithHost err = 0 [14:25:40]CheckOFDResponse [14:25:40]1017 (14) - 77093643461234 [14:25:40]1041 (16) - 0000000000965420 [14:25:40]1040 (4) - 24415 [14:25:40]1012 (4) - 22.10.2024 08:25 [14:25:40]1206 (1) - 0 [14:25:40]OFD Sender: Remove packet 24415 [14:25:40]ProducePacketName [14:25:40]name=ofd_packets/00024415 [14:25:40]NVStorageDeleteData [14:25:40]Write to MH i2c: 01 00 00 0D 0C 19 [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: 01 07 00 0D 0C 00 00 00 00 00 9F 0C CB [14:25:40]RasterBufferAndPrint [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]line [14:25:40]written 0, free lines is 3239 [14:25:40]process_action close_receipt done [14:25:40]requested_data is exist [14:25:40]produce_requested_data [14:25:40]requested_item fm.sn is exist - process it [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 11 00 00 [14:25:40]Write to MH i2c: E2 08 00 14 0C 80 11 00 00 00 00 00 00 9A [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 17 00 14 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E7 [14:25:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:25:40]wFMCommunicate OK [14:25:40]requested_item fd.num is exist - process it [14:25:40]SAM_PROTO_GetFieldsCounters [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 13 00 00 [14:25:40]Write to MH i2c: E2 08 00 15 0C 80 13 00 00 00 00 00 00 9D [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 62 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 62 00 15 0C 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 5F 5F 00 00 0E 04 04 00 CE 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 A6 [14:25:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 5F 5F 00 00 0E 04 04 00 CE 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 [14:25:40]wFMCommunicate OK [14:25:40]SAM_PROTO_GetFieldsCounters done [14:25:40]requested_item shift.num is exist - process it [14:25:40]requested_item shift.opened is exist - process it [14:25:40]req_shift_opened [14:25:40]FM_GetShiftState [14:25:40]SAM_PROTO_GetShiftState [14:25:40]wFMCommunicate request_size=4 [14:25:40]MH_SAM_APDU [14:25:40]CAPDU: 80 13 01 00 [14:25:40]Write to MH i2c: E2 08 00 16 0C 80 13 01 00 00 00 00 00 9F [14:25:40]Write i2c OK [14:25:40]MH_I2C_Read... [14:25:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:25:40]Read from MH i2c: E2 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 0E 00 [14:25:40]MH_I2C_Read... [14:25:40]Read from MH i2c: E2 0E 00 16 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 97 [14:25:40]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:25:40]wFMCommunicate OK [14:25:40]SAM_PROTO_GetShiftState done [14:25:40]FM_GetShiftState done [14:25:40]req_shift_opened done [14:25:40]requested_item shift.open_date is exist - process it [14:25:40]req_shift_open_date [14:25:40]req_shift_open_date done [14:25:40]produce_requested_data done [14:25:40]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24415,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [14:25:40]process_action_free close_receipt [14:25:40]json_value_free [14:25:40]json_value_free done [14:25:40]process_json_proto returns [14:25:40]Send response to host [14:25:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24415,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [14:25:40]free response buf [14:25:40]execute_script done [14:25:40]execute_script returns [14:25:40]free content buf [14:25:40]Sock 9.Close socket [14:25:40]Sock 9.Thread stoped [14:25:40]OFD Sender: No OFD packet to send [14:25:45]OFD Sender: No OFD packet to send [14:25:50]OFD Sender: No OFD packet to send [14:25:55]OFD Sender: No OFD packet to send [14:26:00]OFD Sender: No OFD packet to send [14:26:05]OFD Sender: No OFD packet to send [14:26:10]OFD Sender: No OFD packet to send [14:26:15]OFD Sender: No OFD packet to send [14:26:20]OFD Sender: No OFD packet to send [14:26:25]OFD Sender: No OFD packet to send [14:26:30]OFD Sender: No OFD packet to send [14:26:35]OFD Sender: No OFD packet to send [14:26:40]OFD Sender: No OFD packet to send [14:26:42]accept exits with 7 [14:26:42]New connection [14:26:42]New thread 3067596132 created [14:26:42]Thread 3067452772 joined [14:26:42]Waiting for new connection... [14:26:42] Sock 7.Parse request [14:26:42]Sock 7.Check first char [14:26:42]Sock 7.First char is OK [14:26:42]request: POST /json_proto HTTP/1.0 [14:26:42]Method: POST [14:26:42]URL: /json_proto [14:26:42]Method is POST - this is cgi request [14:26:42]url: /json_proto [14:26:42]query_string will be loaded in cgi processing [14:26:42]execute_cgi json_proto POST (null) [14:26:42]execute_cgi path=json_proto method=POST [14:26:42]POST find Content-Length [14:26:42]Host: 172.17.50.4:8080 [14:26:42]Content-Length: 917 [14:26:42]Content-Type: application/json [14:26:42] [14:26:42]POST finish read [14:26:42]Found Content-Length = 917 [14:26:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134935", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 409.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:26:42]execute_script... [14:26: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)134935", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4602441011131", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041B\u0438\u043C\u043E\u043D\u0430\u0434 0,5\u043B \u0441\u0442 (Gabb trade)", "price" : 125.00, "quantity" : 2.000, "sum" : 250.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 409.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:26:42]POST & json_proto [14:26:42]process_json_proto [14:26:42]json parsed OK: [14:26:42]protocol is kg_v1.0 [14:26:42]action value=close_receipt [14:26:42]process_action close_receipt [14:26:42]cmd_close_receipt [14:26:42]MH_GetDate [14:26:42]Write to MH i2c: F0 00 00 17 0C 12 [14:26:42]Write i2c OK [14:26:42]MH_I2C_Read... [14:26:42]Read from MH i2c: F0 [14:26:42]MH_I2C_Read... [14:26:42]Read from MH i2c: F0 09 00 [14:26:42]MH_I2C_Read... [14:26:42]Read from MH i2c: F0 09 00 17 0C 00 26 B6 17 67 3B 12 16 67 3F [14:26:42]GetLastDocTimeStamp 1729607141 [14:26:42]current date 1729607206 [14:26:42]FM_GetShiftState [14:26:42]SAM_PROTO_GetShiftState [14:26:42]wFMCommunicate request_size=4 [14:26:42]MH_SAM_APDU [14:26:42]CAPDU: 80 13 01 00 [14:26:42]Write to MH i2c: E2 08 00 18 0C 80 13 01 00 00 00 00 00 A1 [14:26:42]Write i2c OK [14:26:42]MH_I2C_Read... [14:26:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:26:42]Read from MH i2c: E2 [14:26:42]MH_I2C_Read... [14:26:42]Read from MH i2c: E2 0E 00 [14:26:42]MH_I2C_Read... [14:26:42]Read from MH i2c: E2 0E 00 18 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 99 [14:26:42]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:26:42]wFMCommunicate OK [14:26:42]SAM_PROTO_GetShiftState done [14:26:42]FM_GetShiftState done [14:26:42]opened in 1729555332 [14:26:42]opened+sec_in_day 1729641732 [14:26:42]quantity*price = 15900 [14:26:42]sum+1 = 15901 [14:26:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4602441011131 Напиток Лимонад 0,5л ст (Gabb trade) 2.000 * 125.00 = 250.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 409.00 НСП 1% : 3.62 НДС 12% : 43.43 Наличными: 409.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 35 22.10.2024 14:26 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24416 ФПД: 121805373715405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142646&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24416&fm=121805373715405&tin=02508201610067®Number=0000000000098120&sum=40900 0 [14:26:43]StoreToDocumentArchive [14:26:43]shift 462 fd 24416 [14:26:43]save to /storage/0462/doc_00024416 [14:26:43]save last doc name /storage/0462/doc_00024416 to /storage/kkm_last_doc_name [14:26:43]save OK [14:26:43]Clear old archive folders... [14:26:43]ProcessDocumentItem done err = 0, tmpTLVsize=399 [14:26:43]tlvbuf is 00D4DF70 [14:26:43]SAM_PROTO_ClearQueue [14:26:43]wFMCommunicate request_size=4 [14:26:43]MH_SAM_APDU [14:26:43]CAPDU: 80 09 00 00 [14:26:43]Write to MH i2c: E2 08 00 25 0C 80 09 00 00 00 00 00 00 A3 [14:26:43]Write i2c OK [14:26:43]MH_I2C_Read... [14:26:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:26:43]Read from MH i2c: E2 [14:26:43]MH_I2C_Read... [14:26:43]Read from MH i2c: E2 03 00 [14:26:43]MH_I2C_Read... [14:26:43]Read from MH i2c: E2 03 00 25 0C 00 90 00 A5 [14:26:43]RAPDU: 90 00 [14:26:43]wFMCommunicate OK [14:26:43]SAM_PROTO_ClearQueue done [14:26:43]KKMCreateOFDPacket [14:26:43]OFDProtocolAddRootSTLVToBuf [14:26:43]FM_MakeSignedData [14:26:43]FM_MakeSignedData [14:26:43]SAM_PROTO_SignData [14:26:43]wFMCommunicate request_size=4 [14:26:43]MH_SAM_APDU [14:26:43]CAPDU: 80 0D 01 02 [14:26:43]Write to MH i2c: E2 08 00 26 0C 80 0D 01 02 00 00 00 00 AB [14:26:43]Write i2c OK [14:26:43]MH_I2C_Read... [14:26:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:26:43]Read from MH i2c: E2 [14:26:43]MH_I2C_Read... [14:26:43]Read from MH i2c: E2 03 00 [14:26:43]MH_I2C_Read... [14:26:43]Read from MH i2c: E2 03 00 26 0C 00 90 00 A6 [14:26:43]RAPDU: 90 00 [14:26:43]wFMCommunicate OK [14:26:43]wFMCommunicate request_size=255 [14:26:43]MH_SAM_APDU [14:26:43]CAPDU: 80 0D 02 02 FA 03 00 8F 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 9F 00 00 00 00 EB 03 [14:26:43]Write to MH i2c: E2 02 01 27 0C 80 0D 02 02 FA 00 03 00 8F 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 9F 00 00 00 00 EB 03 00 00 1C [14:26:43]Write i2c OK [14:26:43]MH_I2C_Read... [14:26:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:26:44]Read from MH i2c: E2 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 03 00 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 03 00 27 0C 00 90 00 A7 [14:26:44]RAPDU: 90 00 [14:26:44]wFMCommunicate OK [14:26:44]wFMCommunicate request_size=158 [14:26:44]MH_SAM_APDU [14:26:44]CAPDU: 80 0D 02 02 99 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 10 00 00 00 00 07 04 06 00 C4 9F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 26 B6 17 67 0E 04 04 00 CE 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 60 5F 00 00 35 04 06 00 6E C8 06 08 33 CD [14:26:44]Write to MH i2c: E2 A1 00 28 0C 80 0D 02 02 99 00 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 10 00 00 00 00 07 04 06 00 C4 9F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 26 B6 17 67 0E 04 04 00 CE 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 60 5F 00 00 35 04 06 00 6E C8 06 08 33 CD 00 00 48 [14:26:44]Write i2c OK [14:26:44]MH_I2C_Read... [14:26:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:26:44]Read from MH i2c: E2 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 03 00 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 03 00 28 0C 00 90 00 A8 [14:26:44]RAPDU: 90 00 [14:26:44]wFMCommunicate OK [14:26:44]wFMCommunicate request_size=4 [14:26:44]MH_SAM_APDU [14:26:44]CAPDU: 80 0D 03 02 [14:26:44]Write to MH i2c: E2 08 00 29 0C 80 0D 03 02 00 00 00 00 B0 [14:26:44]Write i2c OK [14:26:44]MH_I2C_Read... [14:26:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:26:44]Read from MH i2c: E2 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 0B 00 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 0B 00 29 0C 00 70 CA 43 55 F5 73 D7 4C 90 00 0E [14:26:44]RAPDU: 70 CA 43 55 F5 73 D7 4C 90 00 [14:26:44]wFMCommunicate OK [14:26:44]SAM_PROTO_SignData done [14:26:44]FM_MakeSignedData done [14:26:44]CreateOFDProtocolMessage [14:26:44]wFMCommunicate request_size=4 [14:26:44]MH_SAM_APDU [14:26:44]CAPDU: 80 11 00 00 [14:26:44]Write to MH i2c: E2 08 00 2A 0C 80 11 00 00 00 00 00 00 B0 [14:26:44]Write i2c OK [14:26:44]MH_I2C_Read... [14:26:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:26:44]Read from MH i2c: E2 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 17 00 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: E2 17 00 2A 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FD [14:26:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:26:44]wFMCommunicate OK [14:26:44]CreateOFDProtocolMessage done [14:26:44]OFDSenderStorePacket 24416 [14:26:44]StoreOFDPacket docnum=24416 [14:26: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 A3 01 00 00 05 4E 9B 01 1F AE 5A 03 01 00 03 00 8F 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 10 00 00 00 00 07 04 06 00 C4 9F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 26 B6 17 67 0E 04 04 00 CE 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 60 5F 00 00 35 04 06 00 6E C8 06 08 33 CD 70 CA 43 55 F5 73 D7 4C [14:26:44]CheckFolder [14:26:44]dirname=/storage/ofd_packets [14:26:44]CheckFolder done [14:26:44]ProducePacketName [14:26:44]name=ofd_packets/00024416 [14:26:44]NVStorageSaveData ofd_packets/00024416 [14:26:44]File name is /storage/ofd_packets/00024416 [14:26:44]Write 449 bytes [14:26:44]NVStorageSaveData done [14:26:44]OFDSenderStorePacket done [14:26:44]KKMCreateOFDPacket done [14:26:44]NVStorageSaveData kkm_last_timestamp [14:26:44]File name is /storage/kkm_last_timestamp [14:26:44]Write 4 bytes [14:26:44]NVStorageSaveData done [14:26:44]ExternCall_PrintAddStr [14:26:44]wPrintStart [14:26:44]Write to MH i2c: 01 00 00 2B 0C 37 [14:26:44]Write i2c OK [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: 01 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: 01 07 00 [14:26:44]MH_I2C_Read... [14:26:44]Read from MH i2c: 01 07 00 2B 0C 00 00 00 00 00 FF 0F 4C [14:26:44]RasterBufferAndPrint [14:26:44]line Счет N : (3)134935 [14:26:44]line ИНН: 02508201610067 [14:26:44]line Контрольно-Кассовый Чек [14:26:44]line ПРОДАЖА [14:26:44]line Товар: 4640030091645 [14:26:44]line Сигареты ESSE Exchange M [14:26:44]line 1.000 * 159.00 [14:26:44]line = 159.00 [14:26:44]line НДС 12% НСП 1% [14:26:44]line > о реализуемом товаре [14:26:44]line Товар: 4602441011131 [14:26:44]line Напиток Лимонад 0,5л ст (Gabb trade) [14:26:44]line 2.000 * 125.00 [14:26:44]line = 250.00 [14:26:44]line НДС 12% НСП 1% [14:26:44]line > о реализуемом товаре [14:26:44]line ИТОГО: 409.00 [14:26:44]line НСП 1% : 3.62 [14:26:44]line НДС 12% : 43.43 [14:26:44]line Наличными: 409.00 [14:26:44]line Безнал.: 0.00 [14:26:44]line Место: АЗС № 85 "Партнер Нефть" [14:26:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:26:44]line СНО: Общий режим [14:26:44]line Чек 35 22.10.2024 14:26 [14:26:44]line Смена: 462 ФФД: 1.0 [14:26:44]line ЗНМ: 0300000166 [14:26:44]line РНМ: 0000000000098120 [14:26:44]line Версия ККМ: 001 [14:26:44]line ФМ: 0000000000965420 [14:26:44]line ФД: 24416 [14:26:44]line ФПД: 121805373715405 [14:26:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142646&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24416&fm=121805373715405&tin=02508201610067®Number=0000000000098120&sum=40900 [14:26:44]line 0 [14:26:44]OFD Sender: Processing packet 24416 [packets to send 5, broken 4] [14:26:44]ProducePacketName [14:26:44]name=ofd_packets/00024416 [14:26:44]OFD Sender: To server: pG, [14:26:44]CommunicateWithHost lk.salyk.kg:30040 [14:26:44]ConnectInit lk.salyk.kg [14:26:44]written 0, free lines is 4095 [14:26:44]Connected sock=10 [14:26: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 A3 01 00 00 05 4E 9B 01 1F AE 5A 03 01 00 03 00 8F 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 30 32 34 34 31 30 31 31 31 33 31 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 30 2C 35 D0 BB 20 D1 81 D1 82 20 28 47 61 62 62 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 A8 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 9F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F7 10 00 00 00 00 07 04 06 00 C4 9F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 26 B6 17 67 0E 04 04 00 CE 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 60 5F 00 00 35 04 06 00 6E C8 06 08 33 CD 70 CA 43 55 F5 73 D7 4C [14:26:45]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 6B 49 47 00 69 C6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 60 5F 00 00 F4 03 04 00 CA 61 17 67 B6 04 01 00 00 89 67 9E D8 9D 75 4A 7E [14:26:45]CommunicateWithHost err = 0 [14:26:45]CheckOFDResponse [14:26:45]1017 (14) - 77093643461234 [14:26:45]1041 (16) - 0000000000965420 [14:26:45]1040 (4) - 24416 [14:26:45]1012 (4) - 22.10.2024 08:26 [14:26:45]1206 (1) - 0 [14:26:45]OFD Sender: Remove packet 24416 [14:26:45]ProducePacketName [14:26:45]name=ofd_packets/00024416 [14:26:45]NVStorageDeleteData [14:26:45]Write to MH i2c: 01 00 00 5A 0C 66 [14:26:45]Write i2c OK [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: 01 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: 01 07 00 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: 01 07 00 5A 0C 00 00 00 00 00 C8 0C 41 [14:26:45]RasterBufferAndPrint [14:26:45]line [14:26:45]line [14:26:45]line [14:26:45]line [14:26:45]line [14:26:45]written 0, free lines is 3280 [14:26:45]process_action close_receipt done [14:26:45]requested_data is exist [14:26:45]produce_requested_data [14:26:45]requested_item fm.sn is exist - process it [14:26:45]wFMCommunicate request_size=4 [14:26:45]MH_SAM_APDU [14:26:45]CAPDU: 80 11 00 00 [14:26:45]Write to MH i2c: E2 08 00 61 0C 80 11 00 00 00 00 00 00 E7 [14:26:45]Write i2c OK [14:26:45]MH_I2C_Read... [14:26:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:26:45]Read from MH i2c: E2 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 17 00 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 17 00 61 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 34 [14:26:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:26:45]wFMCommunicate OK [14:26:45]requested_item fd.num is exist - process it [14:26:45]SAM_PROTO_GetFieldsCounters [14:26:45]wFMCommunicate request_size=4 [14:26:45]MH_SAM_APDU [14:26:45]CAPDU: 80 13 00 00 [14:26:45]Write to MH i2c: E2 08 00 62 0C 80 13 00 00 00 00 00 00 EA [14:26:45]Write i2c OK [14:26:45]MH_I2C_Read... [14:26:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:26:45]Read from MH i2c: E2 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 62 00 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 62 00 62 0C 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 60 5F 00 00 0E 04 04 00 CE 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 F7 [14:26: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 60 5F 00 00 0E 04 04 00 CE 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 [14:26:45]wFMCommunicate OK [14:26:45]SAM_PROTO_GetFieldsCounters done [14:26:45]requested_item shift.num is exist - process it [14:26:45]requested_item shift.opened is exist - process it [14:26:45]req_shift_opened [14:26:45]FM_GetShiftState [14:26:45]SAM_PROTO_GetShiftState [14:26:45]wFMCommunicate request_size=4 [14:26:45]MH_SAM_APDU [14:26:45]CAPDU: 80 13 01 00 [14:26:45]Write to MH i2c: E2 08 00 63 0C 80 13 01 00 00 00 00 00 EC [14:26:45]Write i2c OK [14:26:45]MH_I2C_Read... [14:26:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:26:45]Read from MH i2c: E2 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 0E 00 [14:26:45]MH_I2C_Read... [14:26:45]Read from MH i2c: E2 0E 00 63 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E4 [14:26:45]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:26:45]wFMCommunicate OK [14:26:45]SAM_PROTO_GetShiftState done [14:26:45]FM_GetShiftState done [14:26:45]req_shift_opened done [14:26:45]requested_item shift.open_date is exist - process it [14:26:45]req_shift_open_date [14:26:45]req_shift_open_date done [14:26:45]produce_requested_data done [14:26:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24416,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [14:26:45]process_action_free close_receipt [14:26:45]json_value_free [14:26:45]json_value_free done [14:26:45]process_json_proto returns [14:26:45]Send response to host [14:26:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24416,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [14:26:45]free response buf [14:26:45]execute_script done [14:26:45]execute_script returns [14:26:45]free content buf [14:26:45]Sock 7.Close socket [14:26:45]Sock 7.Thread stoped [14:26:45]OFD Sender: No OFD packet to send [14:26:50]OFD Sender: No OFD packet to send [14:26:55]OFD Sender: No OFD packet to send [14:27:00]OFD Sender: No OFD packet to send [14:27:05]OFD Sender: No OFD packet to send [14:27:10]OFD Sender: No OFD packet to send [14:27:15]OFD Sender: No OFD packet to send [14:27:20]OFD Sender: No OFD packet to send [14:27:25]OFD Sender: No OFD packet to send [14:27:30]OFD Sender: No OFD packet to send [14:27:33]accept exits with 9 [14:27:33]New connection [14:27:33]New thread 3067452772 created [14:27:33]Thread 3067596132 joined [14:27:33]Waiting for new connection... [14:27:33] Sock 9.Parse request [14:27:33]Sock 9.Check first char [14:27:33]Sock 9.First char is OK [14:27:33]request: POST /json_proto HTTP/1.0 [14:27:33]Method: POST [14:27:33]URL: /json_proto [14:27:33]Method is POST - this is cgi request [14:27:33]url: /json_proto [14:27:33]query_string will be loaded in cgi processing [14:27:33]execute_cgi json_proto POST (null) [14:27:33]execute_cgi path=json_proto method=POST [14:27:33]POST find Content-Length [14:27:33]Host: 172.17.50.4:8080 [14:27:33]Content-Length: 1053 [14:27:33]Content-Type: application/json [14:27:33] [14:27:33]POST finish read [14:27:33]Found Content-Length = 1053 [14:27:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134936", "tax_sys" : 0, "items" : [ { "code": "46114709", "name": "\u0416\u0435\u0432 \u041C\u0435\u043D\u0442\u043E\u0441 \u0422\u0443\u0442\u0442\u0438 \u0424\u0440\u0443\u0442\u0442\u0438 8*6*54\u0433 \u0431\u0430\u043D\u043A\u0430", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:27:33]execute_script... [14:27: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)134936", "tax_sys" : 0, "items" : [ { "code": "46114709", "name": "\u0416\u0435\u0432 \u041C\u0435\u043D\u0442\u043E\u0441 \u0422\u0443\u0442\u0442\u0438 \u0424\u0440\u0443\u0442\u0442\u0438 8*6*54\u0433 \u0431\u0430\u043D\u043A\u0430", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000088680", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E, \u0430\u043D\u0430\u043D\u0430\u0441 0,33 \u0436/\u0431", "price" : 90.00, "quantity" : 2.000, "sum" : 180.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 385.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:27:33]POST & json_proto [14:27:33]process_json_proto [14:27:33]json parsed OK: [14:27:33]protocol is kg_v1.0 [14:27:33]action value=close_receipt [14:27:33]process_action close_receipt [14:27:33]cmd_close_receipt [14:27:33]MH_GetDate [14:27:33]Write to MH i2c: F0 00 00 64 0C 5F [14:27:33]Write i2c OK [14:27:33]MH_I2C_Read... [14:27:33]Read from MH i2c: F0 [14:27:33]MH_I2C_Read... [14:27:33]Read from MH i2c: F0 09 00 [14:27:33]MH_I2C_Read... [14:27:33]Read from MH i2c: F0 09 00 64 0C 00 59 B6 17 67 3B 12 16 67 BF [14:27:33]GetLastDocTimeStamp 1729607206 [14:27:33]current date 1729607257 [14:27:33]FM_GetShiftState [14:27:33]SAM_PROTO_GetShiftState [14:27:33]wFMCommunicate request_size=4 [14:27:33]MH_SAM_APDU [14:27:33]CAPDU: 80 13 01 00 [14:27:33]Write to MH i2c: E2 08 00 65 0C 80 13 01 00 00 00 00 00 EE [14:27:33]Write i2c OK [14:27:33]MH_I2C_Read... [14:27:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:33]Read from MH i2c: E2 [14:27:33]MH_I2C_Read... [14:27:33]Read from MH i2c: E2 0E 00 [14:27:33]MH_I2C_Read... [14:27:33]Read from MH i2c: E2 0E 00 65 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E6 [14:27:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:27:33]wFMCommunicate OK [14:27:33]SAM_PROTO_GetShiftState done [14:27:33]FM_GetShiftState done [14:27:33]opened in 1729555332 [14:27:33]opened+sec_in_day 1729641732 [14:27:33]quantity*price = 20500 [14:27:33]sum+1 = 20501 [14:27:33]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000088680 Холодный чай Fuse манго, ананас 0,33 ж/б 2.000 * 90.00 = 180.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 385.00 НСП 1% : 3.40 НДС 12% : 40.88 Наличными: 385.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 36 22.10.2024 14:27 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24417 ФПД: 255403891472378 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142737&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24417&fm=255403891472378&tin=02508201610067®Number=0000000000098120&sum=38500 0 [14:27:34]StoreToDocumentArchive [14:27:34]shift 462 fd 24417 [14:27:34]save to /storage/0462/doc_00024417 [14:27:34]save last doc name /storage/0462/doc_00024417 to /storage/kkm_last_doc_name [14:27:34]save OK [14:27:34]Clear old archive folders... [14:27:34]ProcessDocumentItem done err = 0, tmpTLVsize=436 [14:27:34]tlvbuf is 00DB4E70 [14:27:34]SAM_PROTO_ClearQueue [14:27:34]wFMCommunicate request_size=4 [14:27:34]MH_SAM_APDU [14:27:34]CAPDU: 80 09 00 00 [14:27:34]Write to MH i2c: E2 08 00 72 0C 80 09 00 00 00 00 00 00 F0 [14:27:34]Write i2c OK [14:27:34]MH_I2C_Read... [14:27:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:27:34]Read from MH i2c: E2 [14:27:34]MH_I2C_Read... [14:27:34]Read from MH i2c: E2 03 00 [14:27:34]MH_I2C_Read... [14:27:34]Read from MH i2c: E2 03 00 72 0C 00 90 00 F2 [14:27:34]RAPDU: 90 00 [14:27:34]wFMCommunicate OK [14:27:34]SAM_PROTO_ClearQueue done [14:27:34]KKMCreateOFDPacket [14:27:34]OFDProtocolAddRootSTLVToBuf [14:27:34]FM_MakeSignedData [14:27:34]FM_MakeSignedData [14:27:34]SAM_PROTO_SignData [14:27:34]wFMCommunicate request_size=4 [14:27:34]MH_SAM_APDU [14:27:34]CAPDU: 80 0D 01 02 [14:27:34]Write to MH i2c: E2 08 00 73 0C 80 0D 01 02 00 00 00 00 F8 [14:27:34]Write i2c OK [14:27:34]MH_I2C_Read... [14:27:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:27:34]Read from MH i2c: E2 [14:27:34]MH_I2C_Read... [14:27:34]Read from MH i2c: E2 03 00 [14:27:34]MH_I2C_Read... [14:27:34]Read from MH i2c: E2 03 00 73 0C 00 90 00 F3 [14:27:34]RAPDU: 90 00 [14:27:34]wFMCommunicate OK [14:27:34]wFMCommunicate request_size=255 [14:27:34]MH_SAM_APDU [14:27:34]CAPDU: 80 0D 02 02 FA 03 00 B4 01 1E 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 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 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 [14:27:34]Write to MH i2c: E2 02 01 74 0C 80 0D 02 02 FA 00 03 00 B4 01 1E 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 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 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 00 00 24 [14:27:34]Write i2c OK [14:27:34]MH_I2C_Read... [14:27:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:35]Read from MH i2c: E2 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 03 00 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 03 00 74 0C 00 90 00 F4 [14:27:35]RAPDU: 90 00 [14:27:35]wFMCommunicate OK [14:27:35]wFMCommunicate request_size=195 [14:27:35]MH_SAM_APDU [14:27:35]CAPDU: 80 0D 02 02 BE 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 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 59 B6 17 67 0E 04 04 00 CE 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 61 5F 00 00 35 04 06 00 E8 49 DA 39 B7 FA [14:27:35]Write to MH i2c: E2 C6 00 75 0C 80 0D 02 02 BE 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 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 59 B6 17 67 0E 04 04 00 CE 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 61 5F 00 00 35 04 06 00 E8 49 DA 39 B7 FA 00 00 9A [14:27:35]Write i2c OK [14:27:35]MH_I2C_Read... [14:27:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:35]Read from MH i2c: E2 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 03 00 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 03 00 75 0C 00 90 00 F5 [14:27:35]RAPDU: 90 00 [14:27:35]wFMCommunicate OK [14:27:35]wFMCommunicate request_size=4 [14:27:35]MH_SAM_APDU [14:27:35]CAPDU: 80 0D 03 02 [14:27:35]Write to MH i2c: E2 08 00 76 0C 80 0D 03 02 00 00 00 00 FD [14:27:35]Write i2c OK [14:27:35]MH_I2C_Read... [14:27:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:27:35]Read from MH i2c: E2 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 0B 00 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 0B 00 76 0C 00 2D 0C F7 33 23 52 2E 60 90 00 64 [14:27:35]RAPDU: 2D 0C F7 33 23 52 2E 60 90 00 [14:27:35]wFMCommunicate OK [14:27:35]SAM_PROTO_SignData done [14:27:35]FM_MakeSignedData done [14:27:35]CreateOFDProtocolMessage [14:27:35]wFMCommunicate request_size=4 [14:27:35]MH_SAM_APDU [14:27:35]CAPDU: 80 11 00 00 [14:27:35]Write to MH i2c: E2 08 00 77 0C 80 11 00 00 00 00 00 00 FD [14:27:35]Write i2c OK [14:27:35]MH_I2C_Read... [14:27:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:35]Read from MH i2c: E2 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 17 00 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: E2 17 00 77 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4A [14:27:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:27:35]wFMCommunicate OK [14:27:35]CreateOFDProtocolMessage done [14:27:35]OFDSenderStorePacket 24417 [14:27:35]StoreOFDPacket docnum=24417 [14:27:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 C8 01 00 00 1B 0E C0 01 44 6C 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 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 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 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 59 B6 17 67 0E 04 04 00 CE 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 61 5F 00 00 35 04 06 00 E8 49 DA 39 B7 FA 2D 0C F7 33 23 52 2E 60 [14:27:35]CheckFolder [14:27:35]dirname=/storage/ofd_packets [14:27:35]CheckFolder done [14:27:35]ProducePacketName [14:27:35]name=ofd_packets/00024417 [14:27:35]NVStorageSaveData ofd_packets/00024417 [14:27:35]File name is /storage/ofd_packets/00024417 [14:27:35]Write 486 bytes [14:27:35]NVStorageSaveData done [14:27:35]OFDSenderStorePacket done [14:27:35]KKMCreateOFDPacket done [14:27:35]NVStorageSaveData kkm_last_timestamp [14:27:35]File name is /storage/kkm_last_timestamp [14:27:35]Write 4 bytes [14:27:35]NVStorageSaveData done [14:27:35]ExternCall_PrintAddStr [14:27:35]wPrintStart [14:27:35]Write to MH i2c: 01 00 00 78 0C 84 [14:27:35]OFD Sender: Processing packet 24417 [packets to send 5, broken 4] [14:27:35]ProducePacketName [14:27:35]name=ofd_packets/00024417 [14:27:35]OFD Sender: To server: pG, [14:27:35]CommunicateWithHost lk.salyk.kg:30040 [14:27:35]ConnectInit lk.salyk.kg [14:27:35]Write i2c OK [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: 01 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: 01 07 00 [14:27:35]MH_I2C_Read... [14:27:35]Read from MH i2c: 01 07 00 78 0C 00 00 00 00 00 FF 0F 99 [14:27:35]RasterBufferAndPrint [14:27:35]line Счет N : (3)134936 [14:27:35]line ИНН: 02508201610067 [14:27:35]line Контрольно-Кассовый Чек [14:27:35]line ПРОДАЖА [14:27:35]line Товар: 46114709 [14:27:35]line Жев Ментос Тутти Фрутти 8*6*54г банка [14:27:35]line 1.000 * 205.00 [14:27:35]line = 205.00 [14:27:35]line НДС 12% НСП 1% [14:27:35]line > о реализуемом товаре [14:27:35]line Товар: 5449000088680 [14:27:35]line Холодный чай Fuse манго, ананас 0,33 ж/б [14:27:35]line 2.000 * 90.00 [14:27:35]line = 180.00 [14:27:35]line НДС 12% НСП 1% [14:27:35]line > о реализуемом товаре [14:27:35]line ИТОГО: 385.00 [14:27:35]line НСП 1% : 3.40 [14:27:35]line НДС 12% : 40.88 [14:27:35]line Наличными: 385.00 [14:27:35]line Безнал.: 0.00 [14:27:35]line Место: АЗС № 85 "Партнер Нефть" [14:27:35]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:27:35]line СНО: Общий режим [14:27:35]line Чек 36 22.10.2024 14:27 [14:27:35]line Смена: 462 ФФД: 1.0 [14:27:35]line ЗНМ: 0300000166 [14:27:35]line РНМ: 0000000000098120 [14:27:35]line Версия ККМ: 001 [14:27:35]line ФМ: 0000000000965420 [14:27:35]line ФД: 24417 [14:27:35]line ФПД: 255403891472378 [14:27:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142737&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24417&fm=255403891472378&tin=02508201610067®Number=0000000000098120&sum=38500 [14:27:35]line 0 [14:27:35]written 0, free lines is 4095 [14:27:35]Connected sock=11 [14:27:35]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 C8 01 00 00 1B 0E C0 01 44 6C 5A 03 01 00 03 00 B4 01 1E 04 01 00 01 23 04 7E 00 8A 04 08 00 34 36 31 31 34 37 30 39 06 04 3F 00 D0 96 D0 B5 D0 B2 20 D0 9C D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 A2 D1 83 D1 82 D1 82 D0 B8 20 D0 A4 D1 80 D1 83 D1 82 D1 82 D0 B8 20 38 2A 36 2A 35 34 D0 B3 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 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 23 04 84 00 8A 04 0D 00 35 34 34 39 30 30 30 30 38 38 36 38 30 06 04 40 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 33 33 20 D0 B6 2F D0 B1 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F8 0F 00 00 00 00 07 04 06 00 64 96 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 59 B6 17 67 0E 04 04 00 CE 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 61 5F 00 00 35 04 06 00 E8 49 DA 39 B7 FA 2D 0C F7 33 23 52 2E 60 [14:27: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 02 07 47 00 A6 F8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 61 5F 00 00 F4 03 04 00 FD 61 17 67 B6 04 01 00 00 38 D6 B6 AF 7D 75 E0 30 [14:27:36]CommunicateWithHost err = 0 [14:27:36]CheckOFDResponse [14:27:36]1017 (14) - 77093643461234 [14:27:36]1041 (16) - 0000000000965420 [14:27:36]1040 (4) - 24417 [14:27:36]1012 (4) - 22.10.2024 08:27 [14:27:36]1206 (1) - 0 [14:27:36]OFD Sender: Remove packet 24417 [14:27:36]ProducePacketName [14:27:36]name=ofd_packets/00024417 [14:27:36]NVStorageDeleteData [14:27:36]Write to MH i2c: 01 00 00 A8 0C B4 [14:27:36]Write i2c OK [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: 01 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: 01 07 00 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: 01 07 00 A8 0C 00 00 00 00 00 C4 0C 8B [14:27:36]RasterBufferAndPrint [14:27:36]line [14:27:36]line [14:27:36]line [14:27:36]line [14:27:36]line [14:27:36]written 0, free lines is 3277 [14:27:36]process_action close_receipt done [14:27:36]requested_data is exist [14:27:36]produce_requested_data [14:27:36]requested_item fm.sn is exist - process it [14:27:36]wFMCommunicate request_size=4 [14:27:36]MH_SAM_APDU [14:27:36]CAPDU: 80 11 00 00 [14:27:36]Write to MH i2c: E2 08 00 AF 0C 80 11 00 00 00 00 00 00 35 [14:27:36]Write i2c OK [14:27:36]MH_I2C_Read... [14:27:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:36]Read from MH i2c: E2 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 17 00 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 17 00 AF 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 82 [14:27:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:27:36]wFMCommunicate OK [14:27:36]requested_item fd.num is exist - process it [14:27:36]SAM_PROTO_GetFieldsCounters [14:27:36]wFMCommunicate request_size=4 [14:27:36]MH_SAM_APDU [14:27:36]CAPDU: 80 13 00 00 [14:27:36]Write to MH i2c: E2 08 00 B0 0C 80 13 00 00 00 00 00 00 38 [14:27:36]Write i2c OK [14:27:36]MH_I2C_Read... [14:27:36]OFD Sender: No OFD packet to send [14:27:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:27:36]Read from MH i2c: E2 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 62 00 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 62 00 B0 0C 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 61 5F 00 00 0E 04 04 00 CE 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 49 [14:27: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 61 5F 00 00 0E 04 04 00 CE 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 [14:27:36]wFMCommunicate OK [14:27:36]SAM_PROTO_GetFieldsCounters done [14:27:36]requested_item shift.num is exist - process it [14:27:36]requested_item shift.opened is exist - process it [14:27:36]req_shift_opened [14:27:36]FM_GetShiftState [14:27:36]SAM_PROTO_GetShiftState [14:27:36]wFMCommunicate request_size=4 [14:27:36]MH_SAM_APDU [14:27:36]CAPDU: 80 13 01 00 [14:27:36]Write to MH i2c: E2 08 00 B1 0C 80 13 01 00 00 00 00 00 3A [14:27:36]Write i2c OK [14:27:36]MH_I2C_Read... [14:27:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:36]Read from MH i2c: E2 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 0E 00 [14:27:36]MH_I2C_Read... [14:27:36]Read from MH i2c: E2 0E 00 B1 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 32 [14:27:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:27:36]wFMCommunicate OK [14:27:36]SAM_PROTO_GetShiftState done [14:27:36]FM_GetShiftState done [14:27:36]req_shift_opened done [14:27:36]requested_item shift.open_date is exist - process it [14:27:36]req_shift_open_date [14:27:36]req_shift_open_date done [14:27:36]produce_requested_data done [14:27:36]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24417,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [14:27:36]process_action_free close_receipt [14:27:36]json_value_free [14:27:36]json_value_free done [14:27:36]process_json_proto returns [14:27:36]Send response to host [14:27:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24417,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [14:27:36]free response buf [14:27:36]execute_script done [14:27:36]execute_script returns [14:27:36]free content buf [14:27:36]Sock 9.Close socket [14:27:36]Sock 9.Thread stoped [14:27:41]OFD Sender: No OFD packet to send [14:27:46]OFD Sender: No OFD packet to send [14:27:46]accept exits with 7 [14:27:46]New connection [14:27:46]New thread 3067596132 created [14:27:46]Thread 3067452772 joined [14:27:46]Waiting for new connection... [14:27:46] Sock 7.Parse request [14:27:46]Sock 7.Check first char [14:27:46]Sock 7.First char is OK [14:27:46]request: POST /json_proto HTTP/1.0 [14:27:46]Method: POST [14:27:46]URL: /json_proto [14:27:46]Method is POST - this is cgi request [14:27:46]url: /json_proto [14:27:46]query_string will be loaded in cgi processing [14:27:46]execute_cgi json_proto POST (null) [14:27:46]execute_cgi path=json_proto method=POST [14:27:46]POST find Content-Length [14:27:46]Host: 172.17.50.4:8080 [14:27:46]Content-Length: 680 [14:27:46]Content-Type: application/json [14:27:46] [14:27:46]POST finish read [14:27:46]Found Content-Length = 680 [14:27:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2886048", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:27:46]execute_script... [14:27:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2886048", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 76.20, "quantity" : 13.130, "sum" : 1000.51, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:27:46]POST & json_proto [14:27:46]process_json_proto [14:27:46]json parsed OK: [14:27:46]protocol is kg_v1.0 [14:27:46]action value=close_receipt [14:27:46]process_action close_receipt [14:27:46]cmd_close_receipt [14:27:46]MH_GetDate [14:27:46]Write to MH i2c: F0 00 00 B2 0C AD [14:27:46]Write i2c OK [14:27:46]MH_I2C_Read... [14:27:46]Read from MH i2c: F0 [14:27:46]MH_I2C_Read... [14:27:46]Read from MH i2c: F0 09 00 [14:27:46]MH_I2C_Read... [14:27:46]Read from MH i2c: F0 09 00 B2 0C 00 66 B6 17 67 3B 12 16 67 1A [14:27:46]GetLastDocTimeStamp 1729607257 [14:27:46]current date 1729607270 [14:27:46]FM_GetShiftState [14:27:46]SAM_PROTO_GetShiftState [14:27:46]wFMCommunicate request_size=4 [14:27:46]MH_SAM_APDU [14:27:46]CAPDU: 80 13 01 00 [14:27:46]Write to MH i2c: E2 08 00 B3 0C 80 13 01 00 00 00 00 00 3C [14:27:46]Write i2c OK [14:27:46]MH_I2C_Read... [14:27:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:46]Read from MH i2c: E2 [14:27:46]MH_I2C_Read... [14:27:46]Read from MH i2c: E2 0E 00 [14:27:46]MH_I2C_Read... [14:27:46]Read from MH i2c: E2 0E 00 B3 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 34 [14:27:46]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:27:46]wFMCommunicate OK [14:27:46]SAM_PROTO_GetShiftState done [14:27:46]FM_GetShiftState done [14:27:46]opened in 1729555332 [14:27:46]opened+sec_in_day 1729641732 [14:27:46]quantity*price = 100050 [14:27:46]sum+1 = 100052 [14:27:46]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.51 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.25 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 37 22.10.2024 14:27 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24418 ФПД: 102971770045169 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142750&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24418&fm=102971770045169&tin=02508201610067®Number=0000000000098120&sum=100000 [14:27:48]StoreToDocumentArchive [14:27:48]shift 462 fd 24418 [14:27:48]save to /storage/0462/doc_00024418 [14:27:48]save last doc name /storage/0462/doc_00024418 to /storage/kkm_last_doc_name [14:27:48]save OK [14:27:48]Clear old archive folders... [14:27:48]ProcessDocumentItem done err = 0, tmpTLVsize=248 [14:27:48]tlvbuf is 00D4AF00 [14:27:48]SAM_PROTO_ClearQueue [14:27:48]wFMCommunicate request_size=4 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 09 00 00 [14:27:48]Write to MH i2c: E2 08 00 C0 0C 80 09 00 00 00 00 00 00 3E [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 C0 0C 00 90 00 40 [14:27:48]RAPDU: 90 00 [14:27:48]wFMCommunicate OK [14:27:48]SAM_PROTO_ClearQueue done [14:27:48]KKMCreateOFDPacket [14:27:48]OFDProtocolAddRootSTLVToBuf [14:27:48]FM_MakeSignedData [14:27:48]FM_MakeSignedData [14:27:48]SAM_PROTO_SignData [14:27:48]wFMCommunicate request_size=4 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 0D 01 02 [14:27:48]Write to MH i2c: E2 08 00 C1 0C 80 0D 01 02 00 00 00 00 46 [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 C1 0C 00 90 00 41 [14:27:48]RAPDU: 90 00 [14:27:48]wFMCommunicate OK [14:27:48]wFMCommunicate request_size=255 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 0D 02 02 FA 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 66 B6 17 67 0E 04 04 00 CE 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 62 5F 00 00 35 04 06 00 5D A6 FB C6 [14:27:48]Write to MH i2c: E2 02 01 C2 0C 80 0D 02 02 FA 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 66 B6 17 67 0E 04 04 00 CE 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 62 5F 00 00 35 04 06 00 5D A6 FB C6 00 00 D3 [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 C2 0C 00 90 00 42 [14:27:48]RAPDU: 90 00 [14:27:48]wFMCommunicate OK [14:27:48]wFMCommunicate request_size=7 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 0D 02 02 02 82 F1 [14:27:48]Write to MH i2c: E2 0A 00 C3 0C 80 0D 02 02 02 00 82 F1 00 00 C0 [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 03 00 C3 0C 00 90 00 43 [14:27:48]RAPDU: 90 00 [14:27:48]wFMCommunicate OK [14:27:48]wFMCommunicate request_size=4 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 0D 03 02 [14:27:48]Write to MH i2c: E2 08 00 C4 0C 80 0D 03 02 00 00 00 00 4B [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 0B 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 0B 00 C4 0C 00 4B 58 C1 F0 58 1C FA 64 90 00 72 [14:27:48]RAPDU: 4B 58 C1 F0 58 1C FA 64 90 00 [14:27:48]wFMCommunicate OK [14:27:48]SAM_PROTO_SignData done [14:27:48]FM_MakeSignedData done [14:27:48]CreateOFDProtocolMessage [14:27:48]wFMCommunicate request_size=4 [14:27:48]MH_SAM_APDU [14:27:48]CAPDU: 80 11 00 00 [14:27:48]Write to MH i2c: E2 08 00 C5 0C 80 11 00 00 00 00 00 00 4B [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:48]Read from MH i2c: E2 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 17 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: E2 17 00 C5 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 98 [14:27: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:27:48]wFMCommunicate OK [14:27:48]CreateOFDProtocolMessage done [14:27:48]OFDSenderStorePacket 24418 [14:27:48]StoreOFDPacket docnum=24418 [14:27: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 0C 01 00 00 CC 8D 04 01 18 0C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 66 B6 17 67 0E 04 04 00 CE 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 62 5F 00 00 35 04 06 00 5D A6 FB C6 82 F1 4B 58 C1 F0 58 1C FA 64 [14:27:48]CheckFolder [14:27:48]dirname=/storage/ofd_packets [14:27:48]CheckFolder done [14:27:48]ProducePacketName [14:27:48]name=ofd_packets/00024418 [14:27:48]NVStorageSaveData ofd_packets/00024418 [14:27:48]File name is /storage/ofd_packets/00024418 [14:27:48]Write 298 bytes [14:27:48]NVStorageSaveData done [14:27:48]OFDSenderStorePacket done [14:27:48]KKMCreateOFDPacket done [14:27:48]NVStorageSaveData kkm_last_timestamp [14:27:48]File name is /storage/kkm_last_timestamp [14:27:48]Write 4 bytes [14:27:48]NVStorageSaveData done [14:27:48]ExternCall_PrintAddStr [14:27:48]wPrintStart [14:27:48]Write to MH i2c: 01 00 00 C6 0C D2 [14:27:48]Write i2c OK [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: 01 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: 01 07 00 [14:27:48]MH_I2C_Read... [14:27:48]Read from MH i2c: 01 07 00 C6 0C 00 00 00 00 00 FF 0F E7 [14:27:48]RasterBufferAndPrint [14:27:48]line Счет N : (1)2886048 [14:27:48]line ИНН: 02508201610067 [14:27:48]line Контрольно-Кассовый Чек [14:27:48]line ПРОДАЖА [14:27:48]line ТРК (МРК, ГНК) : 51 [14:27:48]line Товар: 2710194210 [14:27:48]line ДТ-К-5 [14:27:48]line 13.130 * 76.20 [14:27:48]line = 1000.51 [14:27:48]line НДС 12% НСП 1% [14:27:48]line > о реализуемом товаре [14:27:48]line ОКРУГЛЕНИЕ: -0.51 [14:27:48]line ИТОГО: 1000.00 [14:27:48]line Внесено: 1000.00 [14:27:48]line СДАЧА: 0.00 [14:27:48]line НСП 1% : 8.85 [14:27:48]line НДС 12% : 106.25 [14:27:48]line Наличными: 1000.00 [14:27:48]line Безнал.: 0.00 [14:27:48]line Место: АЗС № 85 "Партнер Нефть" [14:27:48]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [14:27:48]line СНО: Общий режим [14:27:48]line Чек 37 22.10.2024 14:27 [14:27:48]line Смена: 462 ФФД: 1.0 [14:27:48]line ЗНМ: 0300000166 [14:27:48]line РНМ: 0000000000098120 [14:27:48]line Версия ККМ: 001 [14:27:48]line ФМ: 0000000000965420 [14:27:48]line ФД: 24418 [14:27:48]line ФПД: 102971770045169 [14:27:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T142750&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24418&fm=102971770045169&tin=02508201610067®Number=0000000000098120&sum=100000 [14:27:48]OFD Sender: Processing packet 24418 [packets to send 5, broken 4] [14:27:48]ProducePacketName [14:27:48]name=ofd_packets/00024418 [14:27:48]OFD Sender: To server: pG, [14:27:48]CommunicateWithHost lk.salyk.kg:30040 [14:27:48]ConnectInit lk.salyk.kg [14:27:48]written 0, free lines is 4095 [14:27:48]Connected sock=10 [14:27: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 0C 01 00 00 CC 8D 04 01 18 0C 5A 03 01 00 03 00 F8 00 1E 04 01 00 01 23 04 4A 00 8A 04 0A 00 32 37 31 30 31 39 34 32 31 30 06 04 09 00 D0 94 D0 A2 2D D0 9A 2D 35 FF 03 08 00 03 4A 33 00 00 00 00 00 37 04 06 00 C4 1D 00 00 00 00 13 04 06 00 D3 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 29 00 00 00 00 07 04 06 00 A0 86 01 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 66 B6 17 67 0E 04 04 00 CE 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 62 5F 00 00 35 04 06 00 5D A6 FB C6 82 F1 4B 58 C1 F0 58 1C FA 64 [14:27: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 57 26 47 00 B2 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 62 5F 00 00 F4 03 04 00 0A 62 17 67 B6 04 01 00 00 43 67 54 C5 E3 29 25 00 [14:27:49]CommunicateWithHost err = 0 [14:27:49]CheckOFDResponse [14:27:49]1017 (14) - 77093643461234 [14:27:49]1041 (16) - 0000000000965420 [14:27:49]1040 (4) - 24418 [14:27:49]1012 (4) - 22.10.2024 08:27 [14:27:49]1206 (1) - 0 [14:27:49]OFD Sender: Remove packet 24418 [14:27:49]ProducePacketName [14:27:49]name=ofd_packets/00024418 [14:27:49]NVStorageDeleteData [14:27:49]Write to MH i2c: 01 00 00 F1 0C FD [14:27:49]Write i2c OK [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: 01 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: 01 07 00 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: 01 07 00 F1 0C 00 00 00 00 00 F9 0C 09 [14:27:49]RasterBufferAndPrint [14:27:49]line [14:27:49]line [14:27:49]line [14:27:49]line [14:27:49]line [14:27:49]written 0, free lines is 3330 [14:27:49]process_action close_receipt done [14:27:49]requested_data is exist [14:27:49]produce_requested_data [14:27:49]requested_item fm.sn is exist - process it [14:27:49]wFMCommunicate request_size=4 [14:27:49]MH_SAM_APDU [14:27:49]CAPDU: 80 11 00 00 [14:27:49]Write to MH i2c: E2 08 00 F8 0C 80 11 00 00 00 00 00 00 7E [14:27:49]Write i2c OK [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 [14:27:49]MH_I2C_Read... [14:27:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:27:49]Read from MH i2c: E2 17 00 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 17 00 F8 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CB [14:27:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [14:27:49]wFMCommunicate OK [14:27:49]requested_item fd.num is exist - process it [14:27:49]SAM_PROTO_GetFieldsCounters [14:27:49]wFMCommunicate request_size=4 [14:27:49]MH_SAM_APDU [14:27:49]CAPDU: 80 13 00 00 [14:27:49]Write to MH i2c: E2 08 00 F9 0C 80 13 00 00 00 00 00 00 81 [14:27:49]Write i2c OK [14:27:49]MH_I2C_Read... [14:27:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:27:49]Read from MH i2c: E2 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 62 00 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 62 00 F9 0C 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 62 5F 00 00 0E 04 04 00 CE 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 96 [14:27: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 62 5F 00 00 0E 04 04 00 CE 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 [14:27:49]wFMCommunicate OK [14:27:49]SAM_PROTO_GetFieldsCounters done [14:27:49]requested_item shift.num is exist - process it [14:27:49]requested_item shift.opened is exist - process it [14:27:49]req_shift_opened [14:27:49]FM_GetShiftState [14:27:49]SAM_PROTO_GetShiftState [14:27:49]wFMCommunicate request_size=4 [14:27:49]MH_SAM_APDU [14:27:49]CAPDU: 80 13 01 00 [14:27:49]Write to MH i2c: E2 08 00 FA 0C 80 13 01 00 00 00 00 00 83 [14:27:49]Write i2c OK [14:27:49]MH_I2C_Read... [14:27:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:27:49]Read from MH i2c: E2 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 0E 00 [14:27:49]MH_I2C_Read... [14:27:49]Read from MH i2c: E2 0E 00 FA 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7B [14:27:49]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [14:27:49]wFMCommunicate OK [14:27:49]SAM_PROTO_GetShiftState done [14:27:49]FM_GetShiftState done [14:27:49]req_shift_opened done [14:27:49]requested_item shift.open_date is exist - process it [14:27:49]req_shift_open_date [14:27:49]req_shift_open_date done [14:27:49]produce_requested_data done [14:27:49]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24418,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [14:27:49]process_action_free close_receipt [14:27:49]json_value_free [14:27:49]json_value_free done [14:27:49]process_json_proto returns [14:27:49]Send response to host [14:27:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24418,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [14:27:49]free response buf [14:27:49]execute_script done [14:27:49]execute_script returns [14:27:49]free content buf [14:27:49]Sock 7.Close socket [14:27:49]Sock 7.Thread stoped [14:27:49]OFD Sender: No OFD packet to send [14:27:54]OFD Sender: No OFD packet to send [14:27:59]OFD Sender: No OFD packet to send [14:28:04]OFD Sender: No OFD packet to send [14:28:09]OFD Sender: No OFD packet to send [14:28:14]OFD Sender: No OFD packet to send [14:28:19]OFD Sender: No OFD packet to send [14:28:24]OFD Sender: No OFD packet to send [14:28:29]OFD Sender: No OFD packet to send [14:28:34]OFD Sender: No OFD packet to send [14:28:39]OFD Sender: No OFD packet to send [14:28:44]OFD Sender: No OFD packet to send [14:28:49]OFD Sender: No OFD packet to send [14:28:54]OFD Sender: No OFD packet to send [14:28:59]OFD Sender: No OFD packet to send [14:29:04]OFD Sender: No OFD packet to send [14:29:09]OFD Sender: No OFD packet to send [14:29:14]OFD Sender: No OFD packet to send [14:29:19]OFD Sender: No OFD packet to send [14:29:24]OFD Sender: No OFD packet to send [14:29:29]OFD Sender: No OFD packet to send [14:29:34]OFD Sender: No OFD packet to send [14:29:39]OFD Sender: No OFD packet to send [14:29:44]OFD Sender: No OFD packet to send [14:29:49]OFD Sender: No OFD packet to send [14:29:54]OFD Sender: No OFD packet to send [14:29:59]OFD Sender: No OFD packet to send [14:30:04]OFD Sender: No OFD packet to send [14:30:09]OFD Sender: No OFD packet to send [14:30:14]OFD Sender: No OFD packet to send [14:30:19]OFD Sender: No OFD packet to send [14:30:24]OFD Sender: No OFD packet to send [14:30:29]OFD Sender: No OFD packet to send [14:30:34]OFD Sender: No OFD packet to send [14:30:39]OFD Sender: No OFD packet to send [14:30:44]OFD Sender: No OFD packet to send [14:30:49]OFD Sender: No OFD packet to send [14:30:54]OFD Sender: No OFD packet to send [14:30:59]OFD Sender: No OFD packet to send [14:31:04]OFD Sender: No OFD packet to send [14:31:09]OFD Sender: No OFD packet to send [14:31:14]OFD Sender: No OFD packet to send [14:31:19]OFD Sender: No OFD packet to send [14:31:24]OFD Sender: No OFD packet to send [14:31:29]OFD Sender: No OFD packet to send [14:31:34]OFD Sender: No OFD packet to send [14:31:39]OFD Sender: No OFD packet to send [14:31:44]OFD Sender: No OFD packet to send [14:31:49]OFD Sender: No OFD packet to send [14:31:54]OFD Sender: No OFD packet to send [14:31:59]OFD Sender: No OFD packet to send [14:32:04]OFD Sender: No OFD packet to send [14:32:09]OFD Sender: No OFD packet to send [14:32:14]OFD Sender: No OFD packet to send [14:32:19]OFD Sender: No OFD packet to send [14:32:24]OFD Sender: No OFD packet to send [14:32:29]OFD Sender: No OFD packet to send [14:32:34]OFD Sender: No OFD packet to send [14:32:39]OFD Sender: No OFD packet to send [14:32:44]OFD Sender: No OFD packet to send [14:32:49]OFD Sender: No OFD packet to send [14:32:54]OFD Sender: No OFD packet to send [14:32:59]OFD Sender: No OFD packet to send [14:33:04]OFD Sender: No OFD packet to send [14:33:09]OFD Sender: No OFD packet to send [14:33:14]OFD Sender: No OFD packet to send [14:33:19]OFD Sender: No OFD packet to send [14:33:24]OFD Sender: No OFD packet to send [14:33:29]OFD Sender: No OFD packet to send [14:33:34]OFD Sender: No OFD packet to send [14:33:39]OFD Sender: No OFD packet to send [14:33:44]OFD Sender: No OFD packet to send [14:33:49]OFD Sender: No OFD packet to send [14:33:55]OFD Sender: No OFD packet to send [14:34:00]OFD Sender: No OFD packet to send [14:34:05]OFD Sender: No OFD packet to send [14:34:10]OFD Sender: No OFD packet to send [14:34:15]OFD Sender: No OFD packet to send [14:34:20]OFD Sender: No OFD packet to send [14:34:25]OFD Sender: No OFD packet to send [14:34:30]OFD Sender: No OFD packet to send [14:34:35]OFD Sender: No OFD packet to send [14:34:40]OFD Sender: No OFD packet to send [14:34:45]OFD Sender: No OFD packet to send [14:34:50]OFD Sender: No OFD packet to send [14:34:55]OFD Sender: No OFD packet to send [14:35:00]OFD Sender: No OFD packet to send [14:35:05]OFD Sender: No OFD packet to send [14:35:10]OFD Sender: No OFD packet to send [14:35:15]OFD Sender: No OFD packet to send [14:35:20]OFD Sender: No OFD packet to send [14:35:25]OFD Sender: No OFD packet to send [14:35:30]OFD Sender: No OFD packet to send [14:35:35]OFD Sender: No OFD packet to send [14:35:40]OFD Sender: No OFD packet to send [14:35:45]OFD Sender: No OFD packet to send [14:35:50]OFD Sender: No OFD packet to send [14:35:55]OFD Sender: No OFD packet to send [14:36:00]OFD Sender: No OFD packet to send [14:36:05]OFD Sender: No OFD packet to send [14:36:10]OFD Sender: No OFD packet to send [14:36:15]OFD Sender: No OFD packet to send [14:36:20]OFD Sender: No OFD packet to send [14:36:25]OFD Sender: No OFD packet to send [14:36:30]OFD Sender: No OFD packet to send [14:36:35]OFD Sender: No OFD packet to send [14:36:40]OFD Sender: No OFD packet to send [14:36:45]OFD Sender: No OFD packet to send [14:36:50]OFD Sender: No OFD packet to send [14:36:55]OFD Sender: No OFD packet to send [14:37:00]OFD Sender: No OFD packet to send [14:37:05]OFD Sender: No OFD packet to send [14:37:10]OFD Sender: No OFD packet to send [14:37:15]OFD Sender: No OFD packet to send [14:37:20]OFD Sender: No OFD packet to send [14:37:25]OFD Sender: No OFD packet to send [14:37:30]OFD Sender: No OFD packet to send [14:37:35]OFD Sender: No OFD packet to send [14:37:40]OFD Sender: No OFD packet to send [14:37:45]OFD Sender: No OFD packet to send [14:37:50]OFD Sender: No OFD packet to send [14:37:55]OFD Sender: No OFD packet to send [14:38:00]OFD Sender: No OFD packet to send [14:38:05]OFD Sender: No OFD packet to send [14:38:10]OFD Sender: No OFD packet to send [14:38:15]OFD Sender: No OFD packet to send [14:38:20]OFD Sender: No OFD packet to send [14:38:25]OFD Sender: No OFD packet to send [14:38:30]OFD Sender: No OFD packet to send [14:38:35]OFD Sender: No OFD packet to send [14:38:40]OFD Sender: No OFD packet to send [14:38:45]OFD Sender: No OFD packet to send [14:38:50]OFD Sender: No OFD packet to send [14:38:55]OFD Sender: No OFD packet to send [14:39:00]OFD Sender: No OFD packet to send [14:39:05]OFD Sender: No OFD packet to send [14:39:10]OFD Sender: No OFD packet to send [14:39:15]OFD Sender: No OFD packet to send [14:39:20]OFD Sender: No OFD packet to send [14:39:25]OFD Sender: No OFD packet to send [14:39:30]OFD Sender: No OFD packet to send [14:39:35]OFD Sender: No OFD packet to send [14:39:40]OFD Sender: No OFD packet to send [14:39:45]OFD Sender: No OFD packet to send [14:39:50]OFD Sender: No OFD packet to send [14:39:55]OFD Sender: No OFD packet to send [14:40:00]OFD Sender: No OFD packet to send [14:40:05]OFD Sender: No OFD packet to send [14:40:10]OFD Sender: No OFD packet to send [14:40:15]OFD Sender: No OFD packet to send [14:40:20]OFD Sender: No OFD packet to send [14:40:25]OFD Sender: No OFD packet to send [14:40:30]OFD Sender: No OFD packet to send [14:40:35]OFD Sender: No OFD packet to send [14:40:40]OFD Sender: No OFD packet to send [14:40:45]OFD Sender: No OFD packet to send [14:40:50]OFD Sender: No OFD packet to send [14:40:55]OFD Sender: No OFD packet to send [14:41:00]OFD Sender: No OFD packet to send [14:41:05]OFD Sender: No OFD packet to send [14:41:10]OFD Sender: No OFD packet to send [14:41:15]OFD Sender: No OFD packet to send [14:41:20]OFD Sender: No OFD packet to send [14:41:25]OFD Sender: No OFD packet to send [14:41:30]OFD Sender: No OFD packet to send [14:41:35]OFD Sender: No OFD packet to send [14:41:40]OFD Sender: No OFD packet to send [14:41:45]OFD Sender: No OFD packet to send [14:41:50]OFD Sender: No OFD packet to send [14:41:55]OFD Sender: No OFD packet to send [14:42:00]OFD Sender: No OFD packet to send [14:42:05]OFD Sender: No OFD packet to send [14:42:10]OFD Sender: No OFD packet to send [14:42:15]OFD Sender: No OFD packet to send [14:42:20]OFD Sender: No OFD packet to send [14:42:25]OFD Sender: No OFD packet to send [14:42:30]OFD Sender: No OFD packet to send [14:42:35]OFD Sender: No OFD packet to send [14:42:40]OFD Sender: No OFD packet to send [14:42:45]OFD Sender: No OFD packet to send [14:42:50]OFD Sender: No OFD packet to send [14:42:55]OFD Sender: No OFD packet to send [14:43:00]OFD Sender: No OFD packet to send [14:43:05]OFD Sender: No OFD packet to send [14:43:10]OFD Sender: No OFD packet to send [14:43:15]OFD Sender: No OFD packet to send [14:43:20]OFD Sender: No OFD packet to send [14:43:25]OFD Sender: No OFD packet to send [14:43:30]OFD Sender: No OFD packet to send [14:43:35]OFD Sender: No OFD packet to send [14:43:40]OFD Sender: No OFD packet to send [14:43:45]OFD Sender: No OFD packet to send [14:43:50]OFD Sender: No OFD packet to send [14:43:55]OFD Sender: No OFD packet to send [14:44:00]OFD Sender: No OFD packet to send [14:44:05]OFD Sender: No OFD packet to send [14:44:10]OFD Sender: No OFD packet to send [14:44:15]OFD Sender: No OFD packet to send [14:44:20]OFD Sender: No OFD packet to send [14:44:25]OFD Sender: No OFD packet to send [14:44:30]OFD Sender: No OFD packet to send [14:44:35]OFD Sender: No OFD packet to send [14:44:40]OFD Sender: No OFD packet to send [14:44:45]OFD Sender: No OFD packet to send [14:44:50]OFD Sender: No OFD packet to send [14:44:55]OFD Sender: No OFD packet to send [14:45:00]OFD Sender: No OFD packet to send [14:45:05]OFD Sender: No OFD packet to send [14:45:10]OFD Sender: No OFD packet to send [14:45:15]OFD Sender: No OFD packet to send [14:45:20]OFD Sender: No OFD packet to send [14:45:25]OFD Sender: No OFD packet to send [14:45:30]OFD Sender: No OFD packet to send [14:45:35]OFD Sender: No OFD packet to send [14:45:40]OFD Sender: No OFD packet to send [14:45:45]OFD Sender: No OFD packet to send [14:45:50]OFD Sender: No OFD packet to send [14:45:55]OFD Sender: No OFD packet to send [14:46:00]OFD Sender: No OFD packet to send [14:46:05]OFD Sender: No OFD packet to send [14:46:10]OFD Sender: No OFD packet to send [14:46:15]OFD Sender: No OFD packet to send [14:46:20]OFD Sender: No OFD packet to send [14:46:25]OFD Sender: No OFD packet to send [14:46:30]OFD Sender: No OFD packet to send [14:46:35]OFD Sender: No OFD packet to send [14:46:40]OFD Sender: No OFD packet to send [14:46:45]OFD Sender: No OFD packet to send [14:46:50]OFD Sender: No OFD packet to send [14:46:55]OFD Sender: No OFD packet to send [14:47:00]OFD Sender: No OFD packet to send [14:47:05]OFD Sender: No OFD packet to send [14:47:10]OFD Sender: No OFD packet to send [14:47:15]OFD Sender: No OFD packet to send [14:47:20]OFD Sender: No OFD packet to send [14:47:25]OFD Sender: No OFD packet to send [14:47:30]OFD Sender: No OFD packet to send [14:47:35]OFD Sender: No OFD packet to send [14:47:40]OFD Sender: No OFD packet to send [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:02:01]OFD Sender: No OFD packet to send [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [15:03:21]OFD Sender: No OFD packet to send [15:03:26]OFD Sender: No OFD packet to send [15:03:31]OFD Sender: No OFD packet to send [15:03:36]OFD Sender: No OFD packet to send [15:03:41]OFD Sender: No OFD packet to send [15:03:46]OFD Sender: No OFD packet to send [15:03:51]OFD Sender: No OFD packet to send [15:03:56]OFD Sender: No OFD packet to send [15:04:01]OFD Sender: No OFD packet to send [15:04:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [15:06:46]OFD Sender: No OFD packet to send [15:06:51]OFD Sender: No OFD packet to send [15:06:56]OFD Sender: No OFD packet to send [15:07:01]OFD Sender: No OFD packet to send [15:07:06]OFD Sender: No OFD packet to send [15:07:11]OFD Sender: No OFD packet to send [15:07:16]OFD Sender: No OFD packet to send [15:07:21]OFD Sender: No OFD packet to send [15:07:26]OFD Sender: No OFD packet to send [15:07:31]OFD Sender: No OFD packet to send [15:07:36]OFD Sender: No OFD packet to send [15:07:41]OFD Sender: No OFD packet to send [15:07:46]OFD Sender: No OFD packet to send [15:07:51]OFD Sender: No OFD packet to send [15:07:56]OFD Sender: No OFD packet to send [15:08:01]OFD Sender: No OFD packet to send [15:08:06]OFD Sender: No OFD packet to send [15:08:11]OFD Sender: No OFD packet to send [15:08:16]OFD Sender: No OFD packet to send [15:08:21]OFD Sender: No OFD packet to send [15:08:26]OFD Sender: No OFD packet to send [15:08:31]OFD Sender: No OFD packet to send [15:08:36]OFD Sender: No OFD packet to send [15:08:41]OFD Sender: No OFD packet to send [15:08:46]OFD Sender: No OFD packet to send [15:08:51]OFD Sender: No OFD packet to send [15:08:56]OFD Sender: No OFD packet to send [15:09:01]OFD Sender: No OFD packet to send [15:09:06]OFD Sender: No OFD packet to send [15:09:11]OFD Sender: No OFD packet to send [15:09:16]OFD Sender: No OFD packet to send [15:09:21]OFD Sender: No OFD packet to send [15:09:26]OFD Sender: No OFD packet to send [15:09:31]OFD Sender: No OFD packet to send [15:09:36]OFD Sender: No OFD packet to send [15:09:41]OFD Sender: No OFD packet to send [15:09:46]OFD Sender: No OFD packet to send [15:09:51]OFD Sender: No OFD packet to send [15:09:56]OFD Sender: No OFD packet to send [15:10:01]OFD Sender: No OFD packet to send [15:10:06]OFD Sender: No OFD packet to send [15:10:11]OFD Sender: No OFD packet to send [15:10:16]OFD Sender: No OFD packet to send [15:10:21]OFD Sender: No OFD packet to send [15:10:26]OFD Sender: No OFD packet to send [15:10:31]OFD Sender: No OFD packet to send [15:10:36]OFD Sender: No OFD packet to send [15:10:41]OFD Sender: No OFD packet to send [15:10:46]OFD Sender: No OFD packet to send [15:10:51]OFD Sender: No OFD packet to send [15:10:56]OFD Sender: No OFD packet to send [15:11:01]OFD Sender: No OFD packet to send [15:11:06]OFD Sender: No OFD packet to send [15:11:11]OFD Sender: No OFD packet to send [15:11:16]OFD Sender: No OFD packet to send [15:11:21]OFD Sender: No OFD packet to send [15:11:26]OFD Sender: No OFD packet to send [15:11:31]OFD Sender: No OFD packet to send [15:11:36]OFD Sender: No OFD packet to send [15:11:41]OFD Sender: No OFD packet to send [15:11:46]OFD Sender: No OFD packet to send [15:11:51]OFD Sender: No OFD packet to send [15:11:56]OFD Sender: No OFD packet to send [15:12:01]OFD Sender: No OFD packet to send [15:12:06]OFD Sender: No OFD packet to send [15:12:11]OFD Sender: No OFD packet to send [15:12:16]OFD Sender: No OFD packet to send [15:12:21]OFD Sender: No OFD packet to send [15:12:26]OFD Sender: No OFD packet to send [15:12:31]OFD Sender: No OFD packet to send [15:12:36]OFD Sender: No OFD packet to send [15:12:41]OFD Sender: No OFD packet to send [15:12:43]accept exits with 9 [15:12:43]New connection [15:12:43]New thread 3067452772 created [15:12:43]Thread 3067596132 joined [15:12:43]Waiting for new connection... [15:12:43] Sock 9.Parse request [15:12:43]Sock 9.Check first char [15:12:43]Sock 9.First char is OK [15:12:43]request: POST /json_proto HTTP/1.0 [15:12:43]Method: POST [15:12:43]URL: /json_proto [15:12:43]Method is POST - this is cgi request [15:12:43]url: /json_proto [15:12:43]query_string will be loaded in cgi processing [15:12:43]execute_cgi json_proto POST (null) [15:12:43]execute_cgi path=json_proto method=POST [15:12:43]POST find Content-Length [15:12:43]Host: 172.17.50.4:8080 [15:12:43]Content-Length: 1228 [15:12:43]Content-Type: application/json [15:12:43] [15:12:43]POST finish read [15:12:43]Found Content-Length = 1228 [15:12:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134937", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:43]execute_script... [15:12: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)134937", "tax_sys" : 0, "items" : [ { "code": "5449000027450", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "54491472", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 275.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:12:43]POST & json_proto [15:12:43]process_json_proto [15:12:43]json parsed OK: [15:12:43]protocol is kg_v1.0 [15:12:43]action value=close_receipt [15:12:43]process_action close_receipt [15:12:43]cmd_close_receipt [15:12:43]MH_GetDate [15:12:43]Write to MH i2c: F0 00 00 FB 0C F6 [15:12:43]Write i2c OK [15:12:43]MH_I2C_Read... [15:12:43]Read from MH i2c: F0 [15:12:43]MH_I2C_Read... [15:12:43]Read from MH i2c: F0 09 00 [15:12:43]MH_I2C_Read... [15:12:43]Read from MH i2c: F0 09 00 FB 0C 00 EF C0 17 67 3B 12 16 67 F6 [15:12:43]GetLastDocTimeStamp 1729607270 [15:12:43]current date 1729609967 [15:12:43]FM_GetShiftState [15:12:43]SAM_PROTO_GetShiftState [15:12:43]wFMCommunicate request_size=4 [15:12:43]MH_SAM_APDU [15:12:43]CAPDU: 80 13 01 00 [15:12:43]Write to MH i2c: E2 08 00 FC 0C 80 13 01 00 00 00 00 00 85 [15:12:43]Write i2c OK [15:12:43]MH_I2C_Read... [15:12:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:43]Read from MH i2c: E2 [15:12:43]MH_I2C_Read... [15:12:43]Read from MH i2c: E2 0E 00 [15:12:43]MH_I2C_Read... [15:12:43]Read from MH i2c: E2 0E 00 FC 0C 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7D [15:12:43]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:12:43]wFMCommunicate OK [15:12:43]SAM_PROTO_GetShiftState done [15:12:43]FM_GetShiftState done [15:12:43]opened in 1729555332 [15:12:43]opened+sec_in_day 1729641732 [15:12:43]quantity*price = 7500 [15:12:43]sum+1 = 7501 [15:12:43]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 54491472 Напиток Кока-Кола 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000054227 Напиток Кока-Кола 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 275.00 НСП 1% : 2.43 НДС 12% : 29.19 Наличными: 275.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 38 22.10.2024 15:12 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24419 ФПД: 94776470850597 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T151247&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24419&fm=94776470850597&tin=02508201610067®Number=0000000000098120&sum=27500 0 [15:12:44]StoreToDocumentArchive [15:12:44]shift 462 fd 24419 [15:12:44]save to /storage/0462/doc_00024419 [15:12:44]save last doc name /storage/0462/doc_00024419 to /storage/kkm_last_doc_name [15:12:44]save OK [15:12:44]Clear old archive folders... [15:12:44]ProcessDocumentItem done err = 0, tmpTLVsize=508 [15:12:44]tlvbuf is 00D78210 [15:12:44]SAM_PROTO_ClearQueue [15:12:44]wFMCommunicate request_size=4 [15:12:44]MH_SAM_APDU [15:12:44]CAPDU: 80 09 00 00 [15:12:44]Write to MH i2c: E2 08 00 09 0D 80 09 00 00 00 00 00 00 88 [15:12:44]Write i2c OK [15:12:44]MH_I2C_Read... [15:12:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:12:44]Read from MH i2c: E2 [15:12:44]MH_I2C_Read... [15:12:44]Read from MH i2c: E2 03 00 [15:12:44]MH_I2C_Read... [15:12:44]Read from MH i2c: E2 03 00 09 0D 00 90 00 8A [15:12:44]RAPDU: 90 00 [15:12:44]wFMCommunicate OK [15:12:44]SAM_PROTO_ClearQueue done [15:12:44]KKMCreateOFDPacket [15:12:44]OFDProtocolAddRootSTLVToBuf [15:12:44]FM_MakeSignedData [15:12:44]FM_MakeSignedData [15:12:44]SAM_PROTO_SignData [15:12:44]wFMCommunicate request_size=4 [15:12:44]MH_SAM_APDU [15:12:44]CAPDU: 80 0D 01 02 [15:12:44]Write to MH i2c: E2 08 00 0A 0D 80 0D 01 02 00 00 00 00 90 [15:12:44]Write i2c OK [15:12:44]MH_I2C_Read... [15:12:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:12:44]Read from MH i2c: E2 [15:12:44]MH_I2C_Read... [15:12:44]Read from MH i2c: E2 03 00 [15:12:44]MH_I2C_Read... [15:12:44]Read from MH i2c: E2 03 00 0A 0D 00 90 00 8B [15:12:44]RAPDU: 90 00 [15:12:44]wFMCommunicate OK [15:12:44]wFMCommunicate request_size=255 [15:12:44]MH_SAM_APDU [15:12:44]CAPDU: 80 0D 02 02 FA 03 00 FC 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 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 68 00 8A 04 0D 00 35 34 34 [15:12:45]Write to MH i2c: E2 02 01 0B 0D 80 0D 02 02 FA 00 03 00 FC 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 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 68 00 8A 04 0D 00 35 34 34 00 00 90 [15:12:45]Write i2c OK [15:12:45]MH_I2C_Read... [15:12:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:45]Read from MH i2c: E2 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 0B 0D 00 90 00 8C [15:12:45]RAPDU: 90 00 [15:12:45]wFMCommunicate OK [15:12:45]wFMCommunicate request_size=255 [15:12:45]MH_SAM_APDU [15:12:45]CAPDU: 80 0D 02 02 FA 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 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 EF C0 17 67 0E 04 04 00 CE 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 63 5F [15:12:45]Write to MH i2c: E2 02 01 0C 0D 80 0D 02 02 FA 00 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 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 EF C0 17 67 0E 04 04 00 CE 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 63 5F 00 00 51 [15:12:45]Write i2c OK [15:12:45]MH_I2C_Read... [15:12:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:45]Read from MH i2c: E2 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 0C 0D 00 90 00 8D [15:12:45]RAPDU: 90 00 [15:12:45]wFMCommunicate OK [15:12:45]wFMCommunicate request_size=17 [15:12:45]MH_SAM_APDU [15:12:45]CAPDU: 80 0D 02 02 0C 00 00 35 04 06 00 56 32 DD E0 CC 25 [15:12:45]Write to MH i2c: E2 14 00 0D 0D 80 0D 02 02 0C 00 00 00 35 04 06 00 56 32 DD E0 CC 25 00 00 21 [15:12:45]Write i2c OK [15:12:45]MH_I2C_Read... [15:12:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:12:45]Read from MH i2c: E2 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 03 00 0D 0D 00 90 00 8E [15:12:45]RAPDU: 90 00 [15:12:45]wFMCommunicate OK [15:12:45]wFMCommunicate request_size=4 [15:12:45]MH_SAM_APDU [15:12:45]CAPDU: 80 0D 03 02 [15:12:45]Write to MH i2c: E2 08 00 0E 0D 80 0D 03 02 00 00 00 00 96 [15:12:45]Write i2c OK [15:12:45]MH_I2C_Read... [15:12:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:12:45]Read from MH i2c: E2 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 0B 00 [15:12:45]MH_I2C_Read... [15:12:45]Read from MH i2c: E2 0B 00 0E 0D 00 81 62 F9 DF 8A DE E9 8B 90 00 2E [15:12:45]RAPDU: 81 62 F9 DF 8A DE E9 8B 90 00 [15:12:45]wFMCommunicate OK [15:12:45]SAM_PROTO_SignData done [15:12:45]FM_MakeSignedData done [15:12:45]CreateOFDProtocolMessage [15:12:45]wFMCommunicate request_size=4 [15:12:45]MH_SAM_APDU [15:12:45]CAPDU: 80 11 00 00 [15:12:45]Write to MH i2c: E2 08 00 0F 0D 80 11 00 00 00 00 00 00 96 [15:12:45]Write i2c OK [15:12:45]MH_I2C_Read... [15:12:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:46]Read from MH i2c: E2 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: E2 17 00 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: E2 17 00 0F 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E3 [15:12:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:12:46]wFMCommunicate OK [15:12:46]CreateOFDProtocolMessage done [15:12:46]OFDSenderStorePacket 24419 [15:12:46]StoreOFDPacket docnum=24419 [15:12:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 02 00 00 BB E0 08 02 BC E2 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 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 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 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 EF C0 17 67 0E 04 04 00 CE 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 63 5F 00 00 35 04 06 00 56 32 DD E0 CC 25 81 62 F9 DF 8A DE E9 8B [15:12:46]CheckFolder [15:12:46]dirname=/storage/ofd_packets [15:12:46]CheckFolder done [15:12:46]ProducePacketName [15:12:46]name=ofd_packets/00024419 [15:12:46]NVStorageSaveData ofd_packets/00024419 [15:12:46]File name is /storage/ofd_packets/00024419 [15:12:46]Write 558 bytes [15:12:46]NVStorageSaveData done [15:12:46]OFDSenderStorePacket done [15:12:46]KKMCreateOFDPacket done [15:12:46]NVStorageSaveData kkm_last_timestamp [15:12:46]File name is /storage/kkm_last_timestamp [15:12:46]Write 4 bytes [15:12:46]NVStorageSaveData done [15:12:46]ExternCall_PrintAddStr [15:12:46]wPrintStart [15:12:46]Write to MH i2c: 01 00 00 10 0D 1D [15:12:46]Write i2c OK [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 07 00 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 07 00 10 0D 00 00 00 00 00 FF 0F 32 [15:12:46]RasterBufferAndPrint [15:12:46]line Счет N : (3)134937 [15:12:46]line ИНН: 02508201610067 [15:12:46]line Контрольно-Кассовый Чек [15:12:46]line ПРОДАЖА [15:12:46]line Товар: 5449000027450 [15:12:46]line Напиток FuzeTea чай манго,ром 0,5л [15:12:46]line 1.000 * 75.00 [15:12:46]line = 75.00 [15:12:46]line НДС 12% НСП 1% [15:12:46]line > о реализуемом товаре [15:12:46]line Товар: 54491472 [15:12:46]line Напиток Кока-Кола 0,5л [15:12:46]line 1.000 * 75.00 [15:12:46]line = 75.00 [15:12:46]line НДС 12% НСП 1% [15:12:46]line > о реализуемом товаре [15:12:46]line Товар: 5449000054227 [15:12:46]line Напиток Кока-Кола 1л [15:12:46]line 1.000 * 125.00 [15:12:46]line = 125.00 [15:12:46]line НДС 12% НСП 1% [15:12:46]line > о реализуемом товаре [15:12:46]line ИТОГО: 275.00 [15:12:46]line НСП 1% : 2.43 [15:12:46]line НДС 12% : 29.19 [15:12:46]line Наличными: 275.00 [15:12:46]line Безнал.: 0.00 [15:12:46]line Место: АЗС № 85 "Партнер Нефть" [15:12:46]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:12:46]line СНО: Общий режим [15:12:46]line Чек 38 22.10.2024 15:12 [15:12:46]line Смена: 462 ФФД: 1.0 [15:12:46]line ЗНМ: 0300000166 [15:12:46]line РНМ: 0000000000098120 [15:12:46]line Версия ККМ: 001 [15:12:46]line ФМ: 0000000000965420 [15:12:46]line ФД: 24419 [15:12:46]line ФПД: 94776470850597 [15:12:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T151247&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24419&fm=94776470850597&tin=02508201610067®Number=0000000000098120&sum=27500 [15:12:46]OFD Sender: Processing packet 24419 [packets to send 5, broken 4] [15:12:46]ProducePacketName [15:12:46]name=ofd_packets/00024419 [15:12:46]OFD Sender: To server: pG, [15:12:46]CommunicateWithHost lk.salyk.kg:30040 [15:12:46]ConnectInit lk.salyk.kg [15:12:46]line 0 [15:12:46]written 0, free lines is 4095 [15:12:46]Connected sock=10 [15:12: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 10 02 00 00 BB E0 08 02 BC E2 5A 03 01 00 03 00 FC 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 35 30 06 04 35 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 65 00 8A 04 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 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 6C 6B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F3 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 67 0B 00 00 00 00 07 04 06 00 6C 6B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 EF C0 17 67 0E 04 04 00 CE 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 63 5F 00 00 35 04 06 00 56 32 DD E0 CC 25 81 62 F9 DF 8A DE E9 8B [15:12: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 19 40 47 00 A5 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 63 5F 00 00 F4 03 04 00 93 6C 17 67 B6 04 01 00 00 38 CB 63 F1 24 75 DE B2 [15:12:46]CommunicateWithHost err = 0 [15:12:46]CheckOFDResponse [15:12:46]1017 (14) - 77093643461234 [15:12:46]1041 (16) - 0000000000965420 [15:12:46]1040 (4) - 24419 [15:12:46]1012 (4) - 22.10.2024 09:12 [15:12:46]1206 (1) - 0 [15:12:46]OFD Sender: Remove packet 24419 [15:12:46]ProducePacketName [15:12:46]name=ofd_packets/00024419 [15:12:46]NVStorageDeleteData [15:12:46]Write to MH i2c: 01 00 00 45 0D 52 [15:12:46]Write i2c OK [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 07 00 [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: 01 07 00 45 0D 00 00 00 00 00 62 0C C7 [15:12:46]RasterBufferAndPrint [15:12:46]line [15:12:46]line [15:12:46]line [15:12:46]line [15:12:46]line [15:12:46]written 0, free lines is 3179 [15:12:46]process_action close_receipt done [15:12:46]requested_data is exist [15:12:46]produce_requested_data [15:12:46]requested_item fm.sn is exist - process it [15:12:46]wFMCommunicate request_size=4 [15:12:46]MH_SAM_APDU [15:12:46]CAPDU: 80 11 00 00 [15:12:46]Write to MH i2c: E2 08 00 4C 0D 80 11 00 00 00 00 00 00 D3 [15:12:46]Write i2c OK [15:12:46]MH_I2C_Read... [15:12:46]Read from MH i2c: E2 [15:12:46]MH_I2C_Read... [15:12:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:12:47]Read from MH i2c: E2 17 00 [15:12:47]MH_I2C_Read... [15:12:47]Read from MH i2c: E2 17 00 4C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 20 [15:12:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:12:47]wFMCommunicate OK [15:12:47]requested_item fd.num is exist - process it [15:12:47]SAM_PROTO_GetFieldsCounters [15:12:47]wFMCommunicate request_size=4 [15:12:47]MH_SAM_APDU [15:12:47]CAPDU: 80 13 00 00 [15:12:47]Write to MH i2c: E2 08 00 4D 0D 80 13 00 00 00 00 00 00 D6 [15:12:47]Write i2c OK [15:12:47]MH_I2C_Read... [15:12:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:12:47]Read from MH i2c: E2 [15:12:47]MH_I2C_Read... [15:12:47]Read from MH i2c: E2 62 00 [15:12:47]MH_I2C_Read... [15:12:47]Read from MH i2c: E2 62 00 4D 0D 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 63 5F 00 00 0E 04 04 00 CE 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 EF [15:12:47]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 63 5F 00 00 0E 04 04 00 CE 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 [15:12:47]wFMCommunicate OK [15:12:47]SAM_PROTO_GetFieldsCounters done [15:12:47]requested_item shift.num is exist - process it [15:12:47]requested_item shift.opened is exist - process it [15:12:47]req_shift_opened [15:12:47]FM_GetShiftState [15:12:47]SAM_PROTO_GetShiftState [15:12:47]wFMCommunicate request_size=4 [15:12:47]MH_SAM_APDU [15:12:47]CAPDU: 80 13 01 00 [15:12:47]Write to MH i2c: E2 08 00 4E 0D 80 13 01 00 00 00 00 00 D8 [15:12:47]Write i2c OK [15:12:47]MH_I2C_Read... [15:12:47]OFD Sender: No OFD packet to send [15:12:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:12:47]Read from MH i2c: E2 [15:12:47]MH_I2C_Read... [15:12:47]Read from MH i2c: E2 0E 00 [15:12:47]MH_I2C_Read... [15:12:47]Read from MH i2c: E2 0E 00 4E 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D0 [15:12:47]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:12:47]wFMCommunicate OK [15:12:47]SAM_PROTO_GetShiftState done [15:12:47]FM_GetShiftState done [15:12:47]req_shift_opened done [15:12:47]requested_item shift.open_date is exist - process it [15:12:47]req_shift_open_date [15:12:47]req_shift_open_date done [15:12:47]produce_requested_data done [15:12:47]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24419,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:12:47]process_action_free close_receipt [15:12:47]json_value_free [15:12:47]json_value_free done [15:12:47]process_json_proto returns [15:12:47]Send response to host [15:12:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24419,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:12:47]free response buf [15:12:47]execute_script done [15:12:47]execute_script returns [15:12:47]free content buf [15:12:47]Sock 9.Close socket [15:12:47]Sock 9.Thread stoped [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:03]accept exits with 7 [15:13:03]New connection [15:13:03]New thread 3067596132 created [15:13:03]Thread 3067452772 joined [15:13:03]Waiting for new connection... [15:13:03] Sock 7.Parse request [15:13:03]Sock 7.Check first char [15:13:03]Sock 7.First char is OK [15:13:03]request: POST /json_proto HTTP/1.0 [15:13:03]Method: POST [15:13:03]URL: /json_proto [15:13:03]Method is POST - this is cgi request [15:13:03]url: /json_proto [15:13:03]query_string will be loaded in cgi processing [15:13:03]execute_cgi json_proto POST (null) [15:13:03]execute_cgi path=json_proto method=POST [15:13:03]POST find Content-Length [15:13:03]Host: 172.17.50.4:8080 [15:13:03]Content-Length: 620 [15:13:03]Content-Type: application/json [15:13:03] [15:13:03]POST finish read [15:13:03]Found Content-Length = 620 [15:13:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134938", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:03]execute_script... [15:13: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)134938", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 1.000, "sum" : 139.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 139.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:13:03]POST & json_proto [15:13:03]process_json_proto [15:13:03]json parsed OK: [15:13:03]protocol is kg_v1.0 [15:13:03]action value=close_receipt [15:13:03]process_action close_receipt [15:13:03]cmd_close_receipt [15:13:03]MH_GetDate [15:13:03]Write to MH i2c: F0 00 00 4F 0D 4B [15:13:03]Write i2c OK [15:13:03]MH_I2C_Read... [15:13:03]Read from MH i2c: F0 [15:13:03]MH_I2C_Read... [15:13:03]Read from MH i2c: F0 09 00 [15:13:03]MH_I2C_Read... [15:13:03]Read from MH i2c: F0 09 00 4F 0D 00 03 C1 17 67 3B 12 16 67 60 [15:13:03]GetLastDocTimeStamp 1729609967 [15:13:03]current date 1729609987 [15:13:03]FM_GetShiftState [15:13:03]SAM_PROTO_GetShiftState [15:13:03]wFMCommunicate request_size=4 [15:13:03]MH_SAM_APDU [15:13:03]CAPDU: 80 13 01 00 [15:13:03]Write to MH i2c: E2 08 00 50 0D 80 13 01 00 00 00 00 00 DA [15:13:03]Write i2c OK [15:13:03]MH_I2C_Read... [15:13:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:13:03]Read from MH i2c: E2 [15:13:03]MH_I2C_Read... [15:13:03]Read from MH i2c: E2 0E 00 [15:13:03]MH_I2C_Read... [15:13:03]Read from MH i2c: E2 0E 00 50 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D2 [15:13:03]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:13:03]wFMCommunicate OK [15:13:03]SAM_PROTO_GetShiftState done [15:13:03]FM_GetShiftState done [15:13:03]opened in 1729555332 [15:13:03]opened+sec_in_day 1729641732 [15:13:03]quantity*price = 13900 [15:13:03]sum+1 = 13901 [15:13:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 39 22.10.2024 15:13 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24420 ФПД: 216389111488750 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T151307&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24420&fm=216389111488750&tin=02508201610067®Number=0000000000098120&sum=13900 0 [15:13:04]StoreToDocumentArchive [15:13:04]shift 462 fd 24420 [15:13:04]save to /storage/0462/doc_00024420 [15:13:04]save last doc name /storage/0462/doc_00024420 to /storage/kkm_last_doc_name [15:13:04]save OK [15:13:04]Clear old archive folders... [15:13:04]ProcessDocumentItem done err = 0, tmpTLVsize=272 [15:13:04]tlvbuf is 00D5F720 [15:13:04]SAM_PROTO_ClearQueue [15:13:04]wFMCommunicate request_size=4 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 09 00 00 [15:13:04]Write to MH i2c: E2 08 00 5D 0D 80 09 00 00 00 00 00 00 DC [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 5D 0D 00 90 00 DE [15:13:04]RAPDU: 90 00 [15:13:04]wFMCommunicate OK [15:13:04]SAM_PROTO_ClearQueue done [15:13:04]KKMCreateOFDPacket [15:13:04]OFDProtocolAddRootSTLVToBuf [15:13:04]FM_MakeSignedData [15:13:04]FM_MakeSignedData [15:13:04]SAM_PROTO_SignData [15:13:04]wFMCommunicate request_size=4 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 0D 01 02 [15:13:04]Write to MH i2c: E2 08 00 5E 0D 80 0D 01 02 00 00 00 00 E4 [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 5E 0D 00 90 00 DF [15:13:04]RAPDU: 90 00 [15:13:04]wFMCommunicate OK [15:13:04]wFMCommunicate request_size=255 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 03 C1 17 67 0E 04 04 00 CE 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 [15:13:04]Write to MH i2c: E2 02 01 5F 0D 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 03 C1 17 67 0E 04 04 00 CE 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 00 00 48 [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 5F 0D 00 90 00 E0 [15:13:04]RAPDU: 90 00 [15:13:04]wFMCommunicate OK [15:13:04]wFMCommunicate request_size=31 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 34 32 30 10 04 04 00 64 5F 00 00 35 04 06 00 C4 CE 04 1F A0 EE [15:13:04]Write to MH i2c: E2 22 00 60 0D 80 0D 02 02 1A 00 30 30 39 36 35 34 32 30 10 04 04 00 64 5F 00 00 35 04 06 00 C4 CE 04 1F A0 EE 00 00 12 [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 03 00 60 0D 00 90 00 E1 [15:13:04]RAPDU: 90 00 [15:13:04]wFMCommunicate OK [15:13:04]wFMCommunicate request_size=4 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 0D 03 02 [15:13:04]Write to MH i2c: E2 08 00 61 0D 80 0D 03 02 00 00 00 00 E9 [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 0B 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 0B 00 61 0D 00 C4 23 F5 78 C5 F0 3E 5E 90 00 8F [15:13:04]RAPDU: C4 23 F5 78 C5 F0 3E 5E 90 00 [15:13:04]wFMCommunicate OK [15:13:04]SAM_PROTO_SignData done [15:13:04]FM_MakeSignedData done [15:13:04]CreateOFDProtocolMessage [15:13:04]wFMCommunicate request_size=4 [15:13:04]MH_SAM_APDU [15:13:04]CAPDU: 80 11 00 00 [15:13:04]Write to MH i2c: E2 08 00 62 0D 80 11 00 00 00 00 00 00 E9 [15:13:04]Write i2c OK [15:13:04]MH_I2C_Read... [15:13:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:13:04]Read from MH i2c: E2 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 17 00 [15:13:04]MH_I2C_Read... [15:13:04]Read from MH i2c: E2 17 00 62 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 36 [15:13:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:13:05]wFMCommunicate OK [15:13:05]CreateOFDProtocolMessage done [15:13:05]OFDSenderStorePacket 24420 [15:13:05]StoreOFDPacket docnum=24420 [15:13:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 24 01 00 00 97 FB 1C 01 26 90 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 03 C1 17 67 0E 04 04 00 CE 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 64 5F 00 00 35 04 06 00 C4 CE 04 1F A0 EE C4 23 F5 78 C5 F0 3E 5E [15:13:05]CheckFolder [15:13:05]dirname=/storage/ofd_packets [15:13:05]CheckFolder done [15:13:05]ProducePacketName [15:13:05]name=ofd_packets/00024420 [15:13:05]NVStorageSaveData ofd_packets/00024420 [15:13:05]File name is /storage/ofd_packets/00024420 [15:13:05]Write 322 bytes [15:13:05]NVStorageSaveData done [15:13:05]OFDSenderStorePacket done [15:13:05]KKMCreateOFDPacket done [15:13:05]NVStorageSaveData kkm_last_timestamp [15:13:05]File name is /storage/kkm_last_timestamp [15:13:05]Write 4 bytes [15:13:05]NVStorageSaveData done [15:13:05]ExternCall_PrintAddStr [15:13:05]wPrintStart [15:13:05]Write to MH i2c: 01 00 00 63 0D 70 [15:13:05]Write i2c OK [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 07 00 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 07 00 63 0D 00 00 00 00 00 FF 0F 85 [15:13:05]RasterBufferAndPrint [15:13:05]line Счет N : (3)134938 [15:13:05]line ИНН: 02508201610067 [15:13:05]line Контрольно-Кассовый Чек [15:13:05]line ПРОДАЖА [15:13:05]line Товар: 48745000 [15:13:05]line Сигареты Winston Purple Mix [15:13:05]line 1.000 * 139.00 [15:13:05]line = 139.00 [15:13:05]line НДС 12% НСП 1% [15:13:05]line > о реализуемом товаре [15:13:05]line ИТОГО: 139.00 [15:13:05]line НСП 1% : 1.23 [15:13:05]line НДС 12% : 14.76 [15:13:05]line Наличными: 139.00 [15:13:05]line Безнал.: 0.00 [15:13:05]line Место: АЗС № 85 "Партнер Нефть" [15:13:05]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:13:05]line СНО: Общий режим [15:13:05]line Чек 39 22.10.2024 15:13 [15:13:05]line Смена: 462 ФФД: 1.0 [15:13:05]line ЗНМ: 0300000166 [15:13:05]line РНМ: 0000000000098120 [15:13:05]line Версия ККМ: 001 [15:13:05]line ФМ: 0000000000965420 [15:13:05]line ФД: 24420 [15:13:05]line ФПД: 216389111488750 [15:13:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T151307&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24420&fm=216389111488750&tin=02508201610067®Number=0000000000098120&sum=13900 [15:13:05]OFD Sender: Processing packet 24420 [packets to send 5, broken 4] [15:13:05]ProducePacketName [15:13:05]name=ofd_packets/00024420 [15:13:05]OFD Sender: To server: pG, [15:13:05]CommunicateWithHost lk.salyk.kg:30040 [15:13:05]ConnectInit lk.salyk.kg [15:13:05]line 0 [15:13:05]written 0, free lines is 4095 [15:13:05]Connected sock=10 [15:13: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 24 01 00 00 97 FB 1C 01 26 90 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 4C 36 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 03 C1 17 67 0E 04 04 00 CE 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 64 5F 00 00 35 04 06 00 C4 CE 04 1F A0 EE C4 23 F5 78 C5 F0 3E 5E [15:13: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 83 EA 47 00 1A 21 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 64 5F 00 00 F4 03 04 00 A6 6C 17 67 B6 04 01 00 00 B0 A0 65 D2 65 6D A6 BA [15:13:05]CommunicateWithHost err = 0 [15:13:05]CheckOFDResponse [15:13:05]1017 (14) - 77093643461234 [15:13:05]1041 (16) - 0000000000965420 [15:13:05]1040 (4) - 24420 [15:13:05]1012 (4) - 22.10.2024 09:13 [15:13:05]1206 (1) - 0 [15:13:05]OFD Sender: Remove packet 24420 [15:13:05]ProducePacketName [15:13:05]name=ofd_packets/00024420 [15:13:05]NVStorageDeleteData [15:13:05]Write to MH i2c: 01 00 00 8B 0D 98 [15:13:05]Write i2c OK [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 07 00 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: 01 07 00 8B 0D 00 00 00 00 00 10 0D BC [15:13:05]RasterBufferAndPrint [15:13:05]line [15:13:05]line [15:13:05]line [15:13:05]line [15:13:05]line [15:13:05]written 0, free lines is 3353 [15:13:05]process_action close_receipt done [15:13:05]requested_data is exist [15:13:05]produce_requested_data [15:13:05]requested_item fm.sn is exist - process it [15:13:05]wFMCommunicate request_size=4 [15:13:05]MH_SAM_APDU [15:13:05]CAPDU: 80 11 00 00 [15:13:05]Write to MH i2c: E2 08 00 92 0D 80 11 00 00 00 00 00 00 19 [15:13:05]Write i2c OK [15:13:05]MH_I2C_Read... [15:13:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:13:05]Read from MH i2c: E2 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: E2 17 00 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: E2 17 00 92 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 66 [15:13:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:13:05]wFMCommunicate OK [15:13:05]requested_item fd.num is exist - process it [15:13:05]SAM_PROTO_GetFieldsCounters [15:13:05]wFMCommunicate request_size=4 [15:13:05]MH_SAM_APDU [15:13:05]CAPDU: 80 13 00 00 [15:13:05]Write to MH i2c: E2 08 00 93 0D 80 13 00 00 00 00 00 00 1C [15:13:05]Write i2c OK [15:13:05]MH_I2C_Read... [15:13:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:13:05]Read from MH i2c: E2 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: E2 62 00 [15:13:05]MH_I2C_Read... [15:13:05]Read from MH i2c: E2 62 00 93 0D 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 64 5F 00 00 0E 04 04 00 CE 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 39 [15:13: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 64 5F 00 00 0E 04 04 00 CE 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 [15:13:05]wFMCommunicate OK [15:13:05]SAM_PROTO_GetFieldsCounters done [15:13:05]requested_item shift.num is exist - process it [15:13:05]requested_item shift.opened is exist - process it [15:13:05]req_shift_opened [15:13:05]FM_GetShiftState [15:13:05]SAM_PROTO_GetShiftState [15:13:05]wFMCommunicate request_size=4 [15:13:05]MH_SAM_APDU [15:13:05]CAPDU: 80 13 01 00 [15:13:05]Write to MH i2c: E2 08 00 94 0D 80 13 01 00 00 00 00 00 1E [15:13:05]Write i2c OK [15:13:05]MH_I2C_Read... [15:13:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:13:06]Read from MH i2c: E2 [15:13:06]MH_I2C_Read... [15:13:06]Read from MH i2c: E2 0E 00 [15:13:06]MH_I2C_Read... [15:13:06]Read from MH i2c: E2 0E 00 94 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 16 [15:13:06]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:13:06]wFMCommunicate OK [15:13:06]SAM_PROTO_GetShiftState done [15:13:06]FM_GetShiftState done [15:13:06]req_shift_opened done [15:13:06]requested_item shift.open_date is exist - process it [15:13:06]req_shift_open_date [15:13:06]req_shift_open_date done [15:13:06]produce_requested_data done [15:13:06]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24420,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:13:06]process_action_free close_receipt [15:13:06]json_value_free [15:13:06]json_value_free done [15:13:06]process_json_proto returns [15:13:06]Send response to host [15:13:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24420,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:13:06]free response buf [15:13:06]execute_script done [15:13:06]execute_script returns [15:13:06]free content buf [15:13:06]Sock 7.Close socket [15:13:06]Sock 7.Thread stoped [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:56]OFD Sender: No OFD packet to send [15:19:01]OFD Sender: No OFD packet to send [15:19:06]OFD Sender: No OFD packet to send [15:19:11]OFD Sender: No OFD packet to send [15:19:16]OFD Sender: No OFD packet to send [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:41]OFD Sender: No OFD packet to send [15:23:46]OFD Sender: No OFD packet to send [15:23:51]OFD Sender: No OFD packet to send [15:23:56]OFD Sender: No OFD packet to send [15:24:01]OFD Sender: No OFD packet to send [15:24:06]OFD Sender: No OFD packet to send [15:24:11]OFD Sender: No OFD packet to send [15:24:16]OFD Sender: No OFD packet to send [15:24:21]OFD Sender: No OFD packet to send [15:24:26]OFD Sender: No OFD packet to send [15:24:31]OFD Sender: No OFD packet to send [15:24:36]OFD Sender: No OFD packet to send [15:24:41]OFD Sender: No OFD packet to send [15:24:46]OFD Sender: No OFD packet to send [15:24:51]OFD Sender: No OFD packet to send [15:24:56]OFD Sender: No OFD packet to send [15:25:01]OFD Sender: No OFD packet to send [15:25:06]OFD Sender: No OFD packet to send [15:25:11]OFD Sender: No OFD packet to send [15:25:16]OFD Sender: No OFD packet to send [15:25:21]OFD Sender: No OFD packet to send [15:25:26]OFD Sender: No OFD packet to send [15:25:31]OFD Sender: No OFD packet to send [15:25:36]OFD Sender: No OFD packet to send [15:25:41]OFD Sender: No OFD packet to send [15:25:46]OFD Sender: No OFD packet to send [15:25:51]OFD Sender: No OFD packet to send [15:25:56]OFD Sender: No OFD packet to send [15:26:01]OFD Sender: No OFD packet to send [15:26:06]OFD Sender: No OFD packet to send [15:26:11]OFD Sender: No OFD packet to send [15:26:16]OFD Sender: No OFD packet to send [15:26:21]OFD Sender: No OFD packet to send [15:26:26]OFD Sender: No OFD packet to send [15:26:31]OFD Sender: No OFD packet to send [15:26:36]OFD Sender: No OFD packet to send [15:26:41]OFD Sender: No OFD packet to send [15:26:46]OFD Sender: No OFD packet to send [15:26:51]OFD Sender: No OFD packet to send [15:26:56]OFD Sender: No OFD packet to send [15:27:01]OFD Sender: No OFD packet to send [15:27:06]OFD Sender: No OFD packet to send [15:27:11]OFD Sender: No OFD packet to send [15:27:16]OFD Sender: No OFD packet to send [15:27:21]OFD Sender: No OFD packet to send [15:27:26]OFD Sender: No OFD packet to send [15:27:31]OFD Sender: No OFD packet to send [15:27:36]OFD Sender: No OFD packet to send [15:27:41]OFD Sender: No OFD packet to send [15:27:46]OFD Sender: No OFD packet to send [15:27:51]OFD Sender: No OFD packet to send [15:27:56]OFD Sender: No OFD packet to send [15:28:01]OFD Sender: No OFD packet to send [15:28:06]OFD Sender: No OFD packet to send [15:28:11]OFD Sender: No OFD packet to send [15:28:16]OFD Sender: No OFD packet to send [15:28:21]OFD Sender: No OFD packet to send [15:28:26]OFD Sender: No OFD packet to send [15:28:31]OFD Sender: No OFD packet to send [15:28:36]OFD Sender: No OFD packet to send [15:28:41]OFD Sender: No OFD packet to send [15:28:46]OFD Sender: No OFD packet to send [15:28:51]OFD Sender: No OFD packet to send [15:28:56]OFD Sender: No OFD packet to send [15:29:01]OFD Sender: No OFD packet to send [15:29:06]OFD Sender: No OFD packet to send [15:29:11]OFD Sender: No OFD packet to send [15:29:16]OFD Sender: No OFD packet to send [15:29:21]OFD Sender: No OFD packet to send [15:29:26]OFD Sender: No OFD packet to send [15:29:31]OFD Sender: No OFD packet to send [15:29:36]OFD Sender: No OFD packet to send [15:29:41]OFD Sender: No OFD packet to send [15:29:46]OFD Sender: No OFD packet to send [15:29:51]OFD Sender: No OFD packet to send [15:29:56]OFD Sender: No OFD packet to send [15:30:01]OFD Sender: No OFD packet to send [15:30:06]OFD Sender: No OFD packet to send [15:30:11]OFD Sender: No OFD packet to send [15:30:16]OFD Sender: No OFD packet to send [15:30:21]OFD Sender: No OFD packet to send [15:30:26]OFD Sender: No OFD packet to send [15:30:31]OFD Sender: No OFD packet to send [15:30:36]OFD Sender: No OFD packet to send [15:30:41]OFD Sender: No OFD packet to send [15:30:46]OFD Sender: No OFD packet to send [15:30:51]OFD Sender: No OFD packet to send [15:30:56]OFD Sender: No OFD packet to send [15:31:01]OFD Sender: No OFD packet to send [15:31:06]OFD Sender: No OFD packet to send [15:31:11]OFD Sender: No OFD packet to send [15:31:16]OFD Sender: No OFD packet to send [15:31:21]OFD Sender: No OFD packet to send [15:31:26]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]accept exits with 9 [15:42:07]New connection [15:42:07]New thread 3067452772 created [15:42:07]Thread 3067596132 joined [15:42:07]Waiting for new connection... [15:42:07] Sock 9.Parse request [15:42:07]Sock 9.Check first char [15:42:07]Sock 9.First char is OK [15:42:07]request: POST /json_proto HTTP/1.0 [15:42:07]Method: POST [15:42:07]URL: /json_proto [15:42:07]Method is POST - this is cgi request [15:42:07]url: /json_proto [15:42:07]query_string will be loaded in cgi processing [15:42:07]execute_cgi json_proto POST (null) [15:42:07]execute_cgi path=json_proto method=POST [15:42:07]POST find Content-Length [15:42:07]Host: 172.17.50.4:8080 [15:42:07]Content-Length: 647 [15:42:07]Content-Type: application/json [15:42:07] [15:42:07]POST finish read [15:42:07]Found Content-Length = 647 [15:42:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134939", "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 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:42:07]execute_script... [15:42: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)134939", "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 }]} ], "payments": [ { "type": 0, "sum" : 265.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:42:07]POST & json_proto [15:42:07]process_json_proto [15:42:07]json parsed OK: [15:42:07]protocol is kg_v1.0 [15:42:07]action value=close_receipt [15:42:07]process_action close_receipt [15:42:07]cmd_close_receipt [15:42:07]MH_GetDate [15:42:07]Write to MH i2c: F0 00 00 95 0D 91 [15:42:07]Write i2c OK [15:42:07]MH_I2C_Read... [15:42:07]Read from MH i2c: F0 [15:42:07]MH_I2C_Read... [15:42:07]Read from MH i2c: F0 09 00 [15:42:07]MH_I2C_Read... [15:42:07]Read from MH i2c: F0 09 00 95 0D 00 D3 C7 17 67 3B 12 16 67 7C [15:42:07]GetLastDocTimeStamp 1729609987 [15:42:07]current date 1729611731 [15:42:07]FM_GetShiftState [15:42:07]SAM_PROTO_GetShiftState [15:42:07]wFMCommunicate request_size=4 [15:42:07]MH_SAM_APDU [15:42:07]CAPDU: 80 13 01 00 [15:42:07]Write to MH i2c: E2 08 00 96 0D 80 13 01 00 00 00 00 00 20 [15:42:07]Write i2c OK [15:42:07]MH_I2C_Read... [15:42:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:07]Read from MH i2c: E2 [15:42:07]MH_I2C_Read... [15:42:07]Read from MH i2c: E2 0E 00 [15:42:07]MH_I2C_Read... [15:42:07]Read from MH i2c: E2 0E 00 96 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 18 [15:42:07]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:42:07]wFMCommunicate OK [15:42:07]SAM_PROTO_GetShiftState done [15:42:07]FM_GetShiftState done [15:42:07]opened in 1729555332 [15:42:07]opened+sec_in_day 1729641732 [15:42:07]quantity*price = 26500 [15:42:07]sum+1 = 26501 [15:42:07]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 265.00 НСП 1% : 2.34 НДС 12% : 28.14 Наличными: 265.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 40 22.10.2024 15:42 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24421 ФПД: 257366636158165 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154211&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24421&fm=257366636158165&tin=02508201610067®Number=0000000000098120&sum=26500 0 [15:42:08]StoreToDocumentArchive [15:42:08]shift 462 fd 24421 [15:42:08]save to /storage/0462/doc_00024421 [15:42:08]save last doc name /storage/0462/doc_00024421 to /storage/kkm_last_doc_name [15:42:08]save OK [15:42:08]Clear old archive folders... [15:42:08]ProcessDocumentItem done err = 0, tmpTLVsize=279 [15:42:08]tlvbuf is 00D6AEA0 [15:42:08]SAM_PROTO_ClearQueue [15:42:08]wFMCommunicate request_size=4 [15:42:08]MH_SAM_APDU [15:42:08]CAPDU: 80 09 00 00 [15:42:08]Write to MH i2c: E2 08 00 A3 0D 80 09 00 00 00 00 00 00 22 [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 A3 0D 00 90 00 24 [15:42:08]RAPDU: 90 00 [15:42:08]wFMCommunicate OK [15:42:08]SAM_PROTO_ClearQueue done [15:42:08]KKMCreateOFDPacket [15:42:08]OFDProtocolAddRootSTLVToBuf [15:42:08]FM_MakeSignedData [15:42:08]FM_MakeSignedData [15:42:08]SAM_PROTO_SignData [15:42:08]wFMCommunicate request_size=4 [15:42:08]MH_SAM_APDU [15:42:08]CAPDU: 80 0D 01 02 [15:42:08]Write to MH i2c: E2 08 00 A4 0D 80 0D 01 02 00 00 00 00 2A [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 A4 0D 00 90 00 25 [15:42:08]RAPDU: 90 00 [15:42:08]wFMCommunicate OK [15:42:08]wFMCommunicate request_size=255 [15:42:08]MH_SAM_APDU [15:42:08]CAPDU: 80 0D 02 02 FA 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D3 C7 17 67 0E 04 04 00 CE 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 [15:42:08]Write to MH i2c: E2 02 01 A5 0D 80 0D 02 02 FA 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D3 C7 17 67 0E 04 04 00 CE 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 A3 [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 A5 0D 00 90 00 26 [15:42:08]RAPDU: 90 00 [15:42:08]wFMCommunicate OK [15:42:08]wFMCommunicate request_size=38 [15:42:08]MH_SAM_APDU [15:42:08]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 65 5F 00 00 35 04 06 00 EA 12 D6 EC DC D5 [15:42:08]Write to MH i2c: E2 29 00 A6 0D 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 65 5F 00 00 35 04 06 00 EA 12 D6 EC DC D5 00 00 E3 [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 03 00 A6 0D 00 90 00 27 [15:42:08]RAPDU: 90 00 [15:42:08]wFMCommunicate OK [15:42:08]wFMCommunicate request_size=4 [15:42:08]MH_SAM_APDU [15:42:08]CAPDU: 80 0D 03 02 [15:42:08]Write to MH i2c: E2 08 00 A7 0D 80 0D 03 02 00 00 00 00 2F [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 0B 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 0B 00 A7 0D 00 48 EC D9 48 0B 8F C7 34 90 00 1A [15:42:08]RAPDU: 48 EC D9 48 0B 8F C7 34 90 00 [15:42:08]wFMCommunicate OK [15:42:08]SAM_PROTO_SignData done [15:42:08]FM_MakeSignedData done [15:42:08]CreateOFDProtocolMessage [15:42:08]wFMCommunicate request_size=4 [15:42:08]MH_SAM_APDU [15:42:08]CAPDU: 80 11 00 00 [15:42:08]Write to MH i2c: E2 08 00 A8 0D 80 11 00 00 00 00 00 00 2F [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:08]Read from MH i2c: E2 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 17 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: E2 17 00 A8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7C [15: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 [15:42:08]wFMCommunicate OK [15:42:08]CreateOFDProtocolMessage done [15:42:08]OFDSenderStorePacket 24421 [15:42:08]StoreOFDPacket docnum=24421 [15: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 2B 01 00 00 FA B2 23 01 A4 C6 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D3 C7 17 67 0E 04 04 00 CE 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 65 5F 00 00 35 04 06 00 EA 12 D6 EC DC D5 48 EC D9 48 0B 8F C7 34 [15:42:08]CheckFolder [15:42:08]dirname=/storage/ofd_packets [15:42:08]CheckFolder done [15:42:08]ProducePacketName [15:42:08]name=ofd_packets/00024421 [15:42:08]NVStorageSaveData ofd_packets/00024421 [15:42:08]File name is /storage/ofd_packets/00024421 [15:42:08]Write 329 bytes [15:42:08]NVStorageSaveData done [15:42:08]OFDSenderStorePacket done [15:42:08]KKMCreateOFDPacket done [15:42:08]NVStorageSaveData kkm_last_timestamp [15:42:08]File name is /storage/kkm_last_timestamp [15:42:08]Write 4 bytes [15:42:08]NVStorageSaveData done [15:42:08]ExternCall_PrintAddStr [15:42:08]wPrintStart [15:42:08]Write to MH i2c: 01 00 00 A9 0D B6 [15:42:08]Write i2c OK [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: 01 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: 01 07 00 [15:42:08]MH_I2C_Read... [15:42:08]Read from MH i2c: 01 07 00 A9 0D 00 00 00 00 00 FF 0F CB [15:42:08]RasterBufferAndPrint [15:42:08]line Счет N : (3)134939 [15:42:08]line ИНН: 02508201610067 [15:42:08]line Контрольно-Кассовый Чек [15:42:08]line ПРОДАЖА [15:42:08]line Товар: 90448300 [15:42:08]line Энерг напиток Red Bull 0,355л [15:42:08]line 1.000 * 265.00 [15:42:08]line = 265.00 [15:42:08]line НДС 12% НСП 1% [15:42:08]line > о реализуемом товаре [15:42:08]line ИТОГО: 265.00 [15:42:08]line НСП 1% : 2.34 [15:42:08]line НДС 12% : 28.14 [15:42:08]line Наличными: 265.00 [15:42:08]line Безнал.: 0.00 [15:42:08]line Место: АЗС № 85 "Партнер Нефть" [15:42:08]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:42:08]line СНО: Общий режим [15:42:08]line Чек 40 22.10.2024 15:42 [15:42:08]line Смена: 462 ФФД: 1.0 [15:42:08]line ЗНМ: 0300000166 [15:42:08]line РНМ: 0000000000098120 [15:42:08]line Версия ККМ: 001 [15:42:08]line ФМ: 0000000000965420 [15:42:08]line ФД: 24421 [15:42:08]line ФПД: 257366636158165 [15:42:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154211&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24421&fm=257366636158165&tin=02508201610067®Number=0000000000098120&sum=26500 [15:42:09]line 0 [15:42:09]OFD Sender: Processing packet 24421 [packets to send 5, broken 4] [15:42:09]ProducePacketName [15:42:09]name=ofd_packets/00024421 [15:42:09]OFD Sender: To server: pG, [15:42:09]CommunicateWithHost lk.salyk.kg:30040 [15:42:09]ConnectInit lk.salyk.kg [15:42:09]written 0, free lines is 4095 [15:42:09]Connected sock=10 [15:42:09]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 FA B2 23 01 A4 C6 5A 03 01 00 03 00 17 01 1E 04 01 00 01 23 04 69 00 8A 04 08 00 39 30 34 34 38 33 30 30 06 04 2A 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 42 75 6C 6C 20 30 2C 33 35 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 84 67 00 00 00 00 13 04 06 00 84 67 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 67 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FE 0A 00 00 00 00 07 04 06 00 84 67 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 28 00 00 00 F4 03 04 00 D3 C7 17 67 0E 04 04 00 CE 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 65 5F 00 00 35 04 06 00 EA 12 D6 EC DC D5 48 EC D9 48 0B 8F C7 34 [15:42:09]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 AF 47 00 A6 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 65 5F 00 00 F4 03 04 00 76 73 17 67 B6 04 01 00 00 E2 09 AB 66 7B 2E 2B A0 [15:42:09]CommunicateWithHost err = 0 [15:42:09]CheckOFDResponse [15:42:09]1017 (14) - 77093643461234 [15:42:09]1041 (16) - 0000000000965420 [15:42:09]1040 (4) - 24421 [15:42:09]1012 (4) - 22.10.2024 09:42 [15:42:09]1206 (1) - 0 [15:42:09]OFD Sender: Remove packet 24421 [15:42:09]ProducePacketName [15:42:09]name=ofd_packets/00024421 [15:42:09]NVStorageDeleteData [15:42:09]Write to MH i2c: 01 00 00 D1 0D DE [15:42:09]Write i2c OK [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: 01 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: 01 07 00 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: 01 07 00 D1 0D 00 00 00 00 00 3A 0D 2C [15:42:09]RasterBufferAndPrint [15:42:09]line [15:42:09]line [15:42:09]line [15:42:09]line [15:42:09]line [15:42:09]written 0, free lines is 3392 [15:42:09]process_action close_receipt done [15:42:09]requested_data is exist [15:42:09]produce_requested_data [15:42:09]requested_item fm.sn is exist - process it [15:42:09]wFMCommunicate request_size=4 [15:42:09]MH_SAM_APDU [15:42:09]CAPDU: 80 11 00 00 [15:42:09]Write to MH i2c: E2 08 00 D8 0D 80 11 00 00 00 00 00 00 5F [15:42:09]Write i2c OK [15:42:09]MH_I2C_Read... [15:42:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:09]Read from MH i2c: E2 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 17 00 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 17 00 D8 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AC [15: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 [15:42:09]wFMCommunicate OK [15:42:09]requested_item fd.num is exist - process it [15:42:09]SAM_PROTO_GetFieldsCounters [15:42:09]wFMCommunicate request_size=4 [15:42:09]MH_SAM_APDU [15:42:09]CAPDU: 80 13 00 00 [15:42:09]Write to MH i2c: E2 08 00 D9 0D 80 13 00 00 00 00 00 00 62 [15:42:09]Write i2c OK [15:42:09]MH_I2C_Read... [15:42:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:42:09]Read from MH i2c: E2 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 62 00 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 62 00 D9 0D 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 65 5F 00 00 0E 04 04 00 CE 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 83 [15: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 65 5F 00 00 0E 04 04 00 CE 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:42:09]wFMCommunicate OK [15:42:09]SAM_PROTO_GetFieldsCounters done [15:42:09]requested_item shift.num is exist - process it [15:42:09]requested_item shift.opened is exist - process it [15:42:09]req_shift_opened [15:42:09]FM_GetShiftState [15:42:09]SAM_PROTO_GetShiftState [15:42:09]wFMCommunicate request_size=4 [15:42:09]MH_SAM_APDU [15:42:09]CAPDU: 80 13 01 00 [15:42:09]Write to MH i2c: E2 08 00 DA 0D 80 13 01 00 00 00 00 00 64 [15:42:09]Write i2c OK [15:42:09]MH_I2C_Read... [15:42:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:09]Read from MH i2c: E2 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 0E 00 [15:42:09]MH_I2C_Read... [15:42:09]Read from MH i2c: E2 0E 00 DA 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 5C [15:42:09]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:42:09]wFMCommunicate OK [15:42:09]SAM_PROTO_GetShiftState done [15:42:09]FM_GetShiftState done [15:42:09]req_shift_opened done [15:42:09]requested_item shift.open_date is exist - process it [15:42:09]req_shift_open_date [15:42:09]req_shift_open_date done [15:42:09]produce_requested_data done [15:42:09]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24421,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:42:09]process_action_free close_receipt [15:42:09]json_value_free [15:42:09]json_value_free done [15:42:09]process_json_proto returns [15:42:09]Send response to host [15:42:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24421,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:42:09]free response buf [15:42:09]execute_script done [15:42:09]execute_script returns [15:42:09]free content buf [15:42:09]Sock 9.Close socket [15:42:09]Sock 9.Thread stoped [15:42:10]OFD Sender: No OFD packet to send [15:42:11]accept exits with 7 [15:42:11]New connection [15:42:11]New thread 3067596132 created [15:42:11]Thread 3067452772 joined [15:42:11]Waiting for new connection... [15:42:11] Sock 7.Parse request [15:42:11]Sock 7.Check first char [15:42:11]Sock 7.First char is OK [15:42:11]request: POST /json_proto HTTP/1.0 [15:42:11]Method: POST [15:42:11]URL: /json_proto [15:42:11]Method is POST - this is cgi request [15:42:11]url: /json_proto [15:42:11]query_string will be loaded in cgi processing [15:42:11]execute_cgi json_proto POST (null) [15:42:11]execute_cgi path=json_proto method=POST [15:42:11]POST find Content-Length [15:42:11]Host: 172.17.50.4:8080 [15:42:11]Content-Length: 608 [15:42:11]Content-Type: application/json [15:42:11] [15:42:11]POST finish read [15:42:11]Found Content-Length = 608 [15:42:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134940", "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" ] } } [15:42:11]execute_script... [15:42: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)134940", "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" ] } } [15:42:11]POST & json_proto [15:42:11]process_json_proto [15:42:11]json parsed OK: [15:42:11]protocol is kg_v1.0 [15:42:11]action value=close_receipt [15:42:11]process_action close_receipt [15:42:11]cmd_close_receipt [15:42:11]MH_GetDate [15:42:11]Write to MH i2c: F0 00 00 DB 0D D7 [15:42:11]Write i2c OK [15:42:11]MH_I2C_Read... [15:42:11]Read from MH i2c: F0 [15:42:11]MH_I2C_Read... [15:42:11]Read from MH i2c: F0 09 00 [15:42:11]MH_I2C_Read... [15:42:11]Read from MH i2c: F0 09 00 DB 0D 00 D7 C7 17 67 3B 12 16 67 C6 [15:42:11]GetLastDocTimeStamp 1729611731 [15:42:11]current date 1729611735 [15:42:11]FM_GetShiftState [15:42:11]SAM_PROTO_GetShiftState [15:42:11]wFMCommunicate request_size=4 [15:42:11]MH_SAM_APDU [15:42:11]CAPDU: 80 13 01 00 [15:42:11]Write to MH i2c: E2 08 00 DC 0D 80 13 01 00 00 00 00 00 66 [15:42:11]Write i2c OK [15:42:11]MH_I2C_Read... [15:42:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:11]Read from MH i2c: E2 [15:42:11]MH_I2C_Read... [15:42:11]Read from MH i2c: E2 0E 00 [15:42:11]MH_I2C_Read... [15:42:11]Read from MH i2c: E2 0E 00 DC 0D 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 5E [15:42:11]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:42:11]wFMCommunicate OK [15:42:11]SAM_PROTO_GetShiftState done [15:42:11]FM_GetShiftState done [15:42:11]opened in 1729555332 [15:42:11]opened+sec_in_day 1729641732 [15:42:11]quantity*price = 1000 [15:42:11]sum+1 = 1001 [15:42:11]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 41 22.10.2024 15:42 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24422 ФПД: 167556140652266 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154215&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24422&fm=167556140652266&tin=02508201610067®Number=0000000000098120&sum=1000 0 [15:42:12]StoreToDocumentArchive [15:42:12]shift 462 fd 24422 [15:42:12]save to /storage/0462/doc_00024422 [15:42:12]save last doc name /storage/0462/doc_00024422 to /storage/kkm_last_doc_name [15:42:12]save OK [15:42:12]Clear old archive folders... [15:42:12]ProcessDocumentItem done err = 0, tmpTLVsize=267 [15:42:12]tlvbuf is 00D86AC0 [15:42:12]SAM_PROTO_ClearQueue [15:42:12]wFMCommunicate request_size=4 [15:42:12]MH_SAM_APDU [15:42:12]CAPDU: 80 09 00 00 [15:42:12]Write to MH i2c: E2 08 00 E9 0D 80 09 00 00 00 00 00 00 68 [15:42:12]Write i2c OK [15:42:12]MH_I2C_Read... [15:42:12]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:42:12]Read from MH i2c: E2 [15:42:12]MH_I2C_Read... [15:42:12]Read from MH i2c: E2 03 00 [15:42:12]MH_I2C_Read... [15:42:12]Read from MH i2c: E2 03 00 E9 0D 00 90 00 6A [15:42:12]RAPDU: 90 00 [15:42:12]wFMCommunicate OK [15:42:12]SAM_PROTO_ClearQueue done [15:42:12]KKMCreateOFDPacket [15:42:12]OFDProtocolAddRootSTLVToBuf [15:42:12]FM_MakeSignedData [15:42:12]FM_MakeSignedData [15:42:12]SAM_PROTO_SignData [15:42:12]wFMCommunicate request_size=4 [15:42:12]MH_SAM_APDU [15:42:12]CAPDU: 80 0D 01 02 [15:42:12]Write to MH i2c: E2 08 00 EA 0D 80 0D 01 02 00 00 00 00 70 [15:42:12]Write i2c OK [15:42:12]MH_I2C_Read... [15:42:12]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:42:12]Read from MH i2c: E2 [15:42:12]MH_I2C_Read... [15:42:12]Read from MH i2c: E2 03 00 [15:42:12]MH_I2C_Read... [15:42:12]Read from MH i2c: E2 03 00 EA 0D 00 90 00 6B [15:42:12]RAPDU: 90 00 [15:42:12]wFMCommunicate OK [15:42:12]wFMCommunicate request_size=255 [15:42:12]MH_SAM_APDU [15:42:12]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 29 00 00 00 F4 03 04 00 D7 C7 17 67 0E 04 04 00 CE 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 [15:42:12]Write to MH i2c: E2 02 01 EB 0D 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 29 00 00 00 F4 03 04 00 D7 C7 17 67 0E 04 04 00 CE 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 16 [15:42:12]Write i2c OK [15:42:12]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 03 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 03 00 EB 0D 00 90 00 6C [15:42:13]RAPDU: 90 00 [15:42:13]wFMCommunicate OK [15:42:13]wFMCommunicate request_size=26 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 66 5F 00 00 35 04 06 00 98 64 34 3E 56 EA [15:42:13]Write to MH i2c: E2 1D 00 EC 0D 80 0D 02 02 15 00 34 32 30 10 04 04 00 66 5F 00 00 35 04 06 00 98 64 34 3E 56 EA 00 00 FD [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 03 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 03 00 EC 0D 00 90 00 6D [15:42:13]RAPDU: 90 00 [15:42:13]wFMCommunicate OK [15:42:13]wFMCommunicate request_size=4 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 0D 03 02 [15:42:13]Write to MH i2c: E2 08 00 ED 0D 80 0D 03 02 00 00 00 00 75 [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 0B 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 0B 00 ED 0D 00 B0 F9 3F F7 D4 33 88 56 90 00 3A [15:42:13]RAPDU: B0 F9 3F F7 D4 33 88 56 90 00 [15:42:13]wFMCommunicate OK [15:42:13]SAM_PROTO_SignData done [15:42:13]FM_MakeSignedData done [15:42:13]CreateOFDProtocolMessage [15:42:13]wFMCommunicate request_size=4 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 11 00 00 [15:42:13]Write to MH i2c: E2 08 00 EE 0D 80 11 00 00 00 00 00 00 75 [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 17 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 17 00 EE 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C2 [15:42:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:42:13]wFMCommunicate OK [15:42:13]CreateOFDProtocolMessage done [15:42:13]OFDSenderStorePacket 24422 [15:42:13]StoreOFDPacket docnum=24422 [15:42:13]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 4E DA 17 01 F6 83 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 29 00 00 00 F4 03 04 00 D7 C7 17 67 0E 04 04 00 CE 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 66 5F 00 00 35 04 06 00 98 64 34 3E 56 EA B0 F9 3F F7 D4 33 88 56 [15:42:13]CheckFolder [15:42:13]dirname=/storage/ofd_packets [15:42:13]CheckFolder done [15:42:13]ProducePacketName [15:42:13]name=ofd_packets/00024422 [15:42:13]NVStorageSaveData ofd_packets/00024422 [15:42:13]File name is /storage/ofd_packets/00024422 [15:42:13]Write 317 bytes [15:42:13]NVStorageSaveData done [15:42:13]OFDSenderStorePacket done [15:42:13]KKMCreateOFDPacket done [15:42:13]NVStorageSaveData kkm_last_timestamp [15:42:13]File name is /storage/kkm_last_timestamp [15:42:13]Write 4 bytes [15:42:13]NVStorageSaveData done [15:42:13]ExternCall_PrintAddStr [15:42:13]wPrintStart [15:42:13]Write to MH i2c: 01 00 00 EF 0D FC [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 07 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 07 00 EF 0D 00 00 00 00 00 FF 0F 11 [15:42:13]RasterBufferAndPrint [15:42:13]line Счет N : (3)134940 [15:42:13]line ИНН: 02508201610067 [15:42:13]line Контрольно-Кассовый Чек [15:42:13]line ПРОДАЖА [15:42:13]line Товар: 46231529 [15:42:13]line Mentos ПФ Арбуз 6*100*2 [15:42:13]line 1.000 * 10.00 [15:42:13]line = 10.00 [15:42:13]line НДС 12% НСП 1% [15:42:13]line > о реализуемом товаре [15:42:13]line ИТОГО: 10.00 [15:42:13]line НСП 1% : 0.09 [15:42:13]line НДС 12% : 1.06 [15:42:13]line Наличными: 10.00 [15:42:13]line Безнал.: 0.00 [15:42:13]line Место: АЗС № 85 "Партнер Нефть" [15:42:13]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:42:13]line СНО: Общий режим [15:42:13]line Чек 41 22.10.2024 15:42 [15:42:13]line Смена: 462 ФФД: 1.0 [15:42:13]line ЗНМ: 0300000166 [15:42:13]line РНМ: 0000000000098120 [15:42:13]line Версия ККМ: 001 [15:42:13]line ФМ: 0000000000965420 [15:42:13]line ФД: 24422 [15:42:13]line ФПД: 167556140652266 [15:42:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154215&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24422&fm=167556140652266&tin=02508201610067®Number=0000000000098120&sum=1000 [15:42:13]line 0 [15:42:13]written 0, free lines is 4095 [15:42:13]OFD Sender: Processing packet 24422 [packets to send 5, broken 4] [15:42:13]ProducePacketName [15:42:13]name=ofd_packets/00024422 [15:42:13]OFD Sender: To server: pG, [15:42:13]CommunicateWithHost lk.salyk.kg:30040 [15:42:13]ConnectInit lk.salyk.kg [15:42:13]Connected sock=10 [15:42: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 1F 01 00 00 4E DA 17 01 F6 83 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 29 00 00 00 F4 03 04 00 D7 C7 17 67 0E 04 04 00 CE 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 66 5F 00 00 35 04 06 00 98 64 34 3E 56 EA B0 F9 3F F7 D4 33 88 56 [15:42: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 27 42 47 00 0A 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 66 5F 00 00 F4 03 04 00 7A 73 17 67 B6 04 01 00 00 36 D2 76 70 3D 36 69 C6 [15:42:13]CommunicateWithHost err = 0 [15:42:13]CheckOFDResponse [15:42:13]1017 (14) - 77093643461234 [15:42:13]1041 (16) - 0000000000965420 [15:42:13]1040 (4) - 24422 [15:42:13]1012 (4) - 22.10.2024 09:42 [15:42:13]1206 (1) - 0 [15:42:13]OFD Sender: Remove packet 24422 [15:42:13]ProducePacketName [15:42:13]name=ofd_packets/00024422 [15:42:13]NVStorageDeleteData [15:42:13]Write to MH i2c: 01 00 00 17 0E 25 [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 07 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: 01 07 00 17 0E 00 00 00 00 00 2A 0D 63 [15:42:13]RasterBufferAndPrint [15:42:13]line [15:42:13]line [15:42:13]line [15:42:13]line [15:42:13]line [15:42:13]written 0, free lines is 3380 [15:42:13]process_action close_receipt done [15:42:13]requested_data is exist [15:42:13]produce_requested_data [15:42:13]requested_item fm.sn is exist - process it [15:42:13]wFMCommunicate request_size=4 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 11 00 00 [15:42:13]Write to MH i2c: E2 08 00 1E 0E 80 11 00 00 00 00 00 00 A6 [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 17 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 17 00 1E 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [15:42:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:42:13]wFMCommunicate OK [15:42:13]requested_item fd.num is exist - process it [15:42:13]SAM_PROTO_GetFieldsCounters [15:42:13]wFMCommunicate request_size=4 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 13 00 00 [15:42:13]Write to MH i2c: E2 08 00 1F 0E 80 13 00 00 00 00 00 00 A9 [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:42:13]Read from MH i2c: E2 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 62 00 [15:42:13]MH_I2C_Read... [15:42:13]Read from MH i2c: E2 62 00 1F 0E 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 66 5F 00 00 0E 04 04 00 CE 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 CE [15:42: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 66 5F 00 00 0E 04 04 00 CE 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:42:13]wFMCommunicate OK [15:42:13]SAM_PROTO_GetFieldsCounters done [15:42:13]requested_item shift.num is exist - process it [15:42:13]requested_item shift.opened is exist - process it [15:42:13]req_shift_opened [15:42:13]FM_GetShiftState [15:42:13]SAM_PROTO_GetShiftState [15:42:13]wFMCommunicate request_size=4 [15:42:13]MH_SAM_APDU [15:42:13]CAPDU: 80 13 01 00 [15:42:13]Write to MH i2c: E2 08 00 20 0E 80 13 01 00 00 00 00 00 AB [15:42:13]Write i2c OK [15:42:13]MH_I2C_Read... [15:42:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:42:14]Read from MH i2c: E2 [15:42:14]MH_I2C_Read... [15:42:14]Read from MH i2c: E2 0E 00 [15:42:14]MH_I2C_Read... [15:42:14]Read from MH i2c: E2 0E 00 20 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A3 [15:42:14]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:42:14]wFMCommunicate OK [15:42:14]SAM_PROTO_GetShiftState done [15:42:14]FM_GetShiftState done [15:42:14]req_shift_opened done [15:42:14]requested_item shift.open_date is exist - process it [15:42:14]req_shift_open_date [15:42:14]req_shift_open_date done [15:42:14]produce_requested_data done [15:42:14]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24422,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:42:14]process_action_free close_receipt [15:42:14]json_value_free [15:42:14]json_value_free done [15:42:14]process_json_proto returns [15:42:14]Send response to host [15:42:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24422,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:42:14]free response buf [15:42:14]execute_script done [15:42:14]execute_script returns [15:42:14]free content buf [15:42:14]Sock 7.Close socket [15:42:14]Sock 7.Thread stoped [15:42:14]OFD Sender: No OFD packet to send [15:42:19]OFD Sender: No OFD packet to send [15:42:24]OFD Sender: No OFD packet to send [15:42:29]OFD Sender: No OFD packet to send [15:42:34]OFD Sender: No OFD packet to send [15:42:39]OFD Sender: No OFD packet to send [15:42:44]OFD Sender: No OFD packet to send [15:42:49]OFD Sender: No OFD packet to send [15:42:54]OFD Sender: No OFD packet to send [15:42:59]OFD Sender: No OFD packet to send [15:43:04]OFD Sender: No OFD packet to send [15:43:09]OFD Sender: No OFD packet to send [15:43:14]OFD Sender: No OFD packet to send [15:43:19]OFD Sender: No OFD packet to send [15:43:24]OFD Sender: No OFD packet to send [15:43:29]OFD Sender: No OFD packet to send [15:43:34]OFD Sender: No OFD packet to send [15:43:39]OFD Sender: No OFD packet to send [15:43:44]OFD Sender: No OFD packet to send [15:43:49]OFD Sender: No OFD packet to send [15:43:54]OFD Sender: No OFD packet to send [15:43:59]OFD Sender: No OFD packet to send [15:44:04]OFD Sender: No OFD packet to send [15:44:09]OFD Sender: No OFD packet to send [15:44:14]OFD Sender: No OFD packet to send [15:44:19]OFD Sender: No OFD packet to send [15:44:24]OFD Sender: No OFD packet to send [15:44:29]OFD Sender: No OFD packet to send [15:44:34]OFD Sender: No OFD packet to send [15:44:39]OFD Sender: No OFD packet to send [15:44:44]OFD Sender: No OFD packet to send [15:44:49]OFD Sender: No OFD packet to send [15:44:54]OFD Sender: No OFD packet to send [15:44:59]OFD Sender: No OFD packet to send [15:45:04]OFD Sender: No OFD packet to send [15:45:09]OFD Sender: No OFD packet to send [15:45:14]OFD Sender: No OFD packet to send [15:45:19]OFD Sender: No OFD packet to send [15:45:24]OFD Sender: No OFD packet to send [15:45:29]OFD Sender: No OFD packet to send [15:45:34]OFD Sender: No OFD packet to send [15:45:39]OFD Sender: No OFD packet to send [15:45:44]OFD Sender: No OFD packet to send [15:45:49]OFD Sender: No OFD packet to send [15:45:54]OFD Sender: No OFD packet to send [15:45:59]OFD Sender: No OFD packet to send [15:46:04]OFD Sender: No OFD packet to send [15:46:09]OFD Sender: No OFD packet to send [15:46:14]OFD Sender: No OFD packet to send [15:46:19]OFD Sender: No OFD packet to send [15:46:24]OFD Sender: No OFD packet to send [15:46:29]OFD Sender: No OFD packet to send [15:46:34]OFD Sender: No OFD packet to send [15:46:39]OFD Sender: No OFD packet to send [15:46:44]OFD Sender: No OFD packet to send [15:46:49]OFD Sender: No OFD packet to send [15:46:54]OFD Sender: No OFD packet to send [15:46:59]OFD Sender: No OFD packet to send [15:47:04]OFD Sender: No OFD packet to send [15:47:09]OFD Sender: No OFD packet to send [15:47:14]OFD Sender: No OFD packet to send [15:47:19]OFD Sender: No OFD packet to send [15:47:24]OFD Sender: No OFD packet to send [15:47:29]OFD Sender: No OFD packet to send [15:47:34]OFD Sender: No OFD packet to send [15:47:39]OFD Sender: No OFD packet to send [15:47:44]OFD Sender: No OFD packet to send [15:47:49]OFD Sender: No OFD packet to send [15:47:54]OFD Sender: No OFD packet to send [15:47:59]OFD Sender: No OFD packet to send [15:48:04]OFD Sender: No OFD packet to send [15:48:09]OFD Sender: No OFD packet to send [15:48:14]OFD Sender: No OFD packet to send [15:48:19]OFD Sender: No OFD packet to send [15:48:24]OFD Sender: No OFD packet to send [15:48:29]OFD Sender: No OFD packet to send [15:48:34]OFD Sender: No OFD packet to send [15:48:39]OFD Sender: No OFD packet to send [15:48:44]OFD Sender: No OFD packet to send [15:48:49]OFD Sender: No OFD packet to send [15:48:54]OFD Sender: No OFD packet to send [15:48:59]OFD Sender: No OFD packet to send [15:49:04]OFD Sender: No OFD packet to send [15:49:09]OFD Sender: No OFD packet to send [15:49:14]OFD Sender: No OFD packet to send [15:49:19]OFD Sender: No OFD packet to send [15:49:24]OFD Sender: No OFD packet to send [15:49:29]OFD Sender: No OFD packet to send [15:49:34]OFD Sender: No OFD packet to send [15:49:39]OFD Sender: No OFD packet to send [15:49:42]accept exits with 9 [15:49:42]New connection [15:49:42]New thread 3067452772 created [15:49:42]Thread 3067596132 joined [15:49:42]Waiting for new connection... [15:49:42] Sock 9.Parse request [15:49:42]Sock 9.Check first char [15:49:42]Sock 9.First char is OK [15:49:42]request: POST /json_proto HTTP/1.0 [15:49:42]Method: POST [15:49:42]URL: /json_proto [15:49:42]Method is POST - this is cgi request [15:49:42]url: /json_proto [15:49:42]query_string will be loaded in cgi processing [15:49:42]execute_cgi json_proto POST (null) [15:49:42]execute_cgi path=json_proto method=POST [15:49:42]POST find Content-Length [15:49:42]Host: 172.17.50.4:8080 [15:49:42]Content-Length: 939 [15:49:42]Content-Type: application/json [15:49:42] [15:49:42]POST finish read [15:49:42]Found Content-Length = 939 [15:49:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134941", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 1.000, "sum" : 17.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 112.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:49:42]execute_script... [15:49:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134941", "tax_sys" : 0, "items" : [ { "code": "4700000483259", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Nitro Fresh \u041C\u043E\u0445\u0438\u0442\u043E", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4620017451303", "name": "\u041A\u0430\u0440.\u0441 \u0436\u0435\u0432.\u043A\u043E\u043D\u0444.\u0421\u0442\u0440\u0430\u0439\u043A 11.3\u0433/50", "price" : 17.00, "quantity" : 1.000, "sum" : 17.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 112.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:49:42]POST & json_proto [15:49:42]process_json_proto [15:49:42]json parsed OK: [15:49:42]protocol is kg_v1.0 [15:49:42]action value=close_receipt [15:49:42]process_action close_receipt [15:49:42]cmd_close_receipt [15:49:42]MH_GetDate [15:49:42]Write to MH i2c: F0 00 00 21 0E 1E [15:49:42]Write i2c OK [15:49:42]MH_I2C_Read... [15:49:42]Read from MH i2c: F0 [15:49:42]MH_I2C_Read... [15:49:42]Read from MH i2c: F0 09 00 [15:49:42]MH_I2C_Read... [15:49:42]Read from MH i2c: F0 09 00 21 0E 00 9A C9 17 67 3B 12 16 67 D2 [15:49:42]GetLastDocTimeStamp 1729611735 [15:49:42]current date 1729612186 [15:49:42]FM_GetShiftState [15:49:42]SAM_PROTO_GetShiftState [15:49:42]wFMCommunicate request_size=4 [15:49:42]MH_SAM_APDU [15:49:42]CAPDU: 80 13 01 00 [15:49:42]Write to MH i2c: E2 08 00 22 0E 80 13 01 00 00 00 00 00 AD [15:49:42]Write i2c OK [15:49:42]MH_I2C_Read... [15:49:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:49:42]Read from MH i2c: E2 [15:49:42]MH_I2C_Read... [15:49:42]Read from MH i2c: E2 0E 00 [15:49:42]MH_I2C_Read... [15:49:42]Read from MH i2c: E2 0E 00 22 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A5 [15:49:42]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:49:42]wFMCommunicate OK [15:49:42]SAM_PROTO_GetShiftState done [15:49:42]FM_GetShiftState done [15:49:42]opened in 1729555332 [15:49:42]opened+sec_in_day 1729641732 [15:49:42]quantity*price = 9500 [15:49:42]sum+1 = 9501 [15:49:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4620017451303 Кар.с жев.конф.Страйк 11.3г/50 1.000 * 17.00 = 17.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 112.00 НСП 1% : 0.99 НДС 12% : 11.89 Наличными: 112.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 42 22.10.2024 15:49 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24423 ФПД: 267024933417768 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154946&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24423&fm=267024933417768&tin=02508201610067®Number=0000000000098120&sum=11200 0 [15:49:43]StoreToDocumentArchive [15:49:43]shift 462 fd 24423 [15:49:43]save to /storage/0462/doc_00024423 [15:49:43]save last doc name /storage/0462/doc_00024423 to /storage/kkm_last_doc_name [15:49:43]save OK [15:49:43]Clear old archive folders... [15:49:43]ProcessDocumentItem done err = 0, tmpTLVsize=401 [15:49:43]tlvbuf is 00D667A0 [15:49:43]SAM_PROTO_ClearQueue [15:49:43]wFMCommunicate request_size=4 [15:49:43]MH_SAM_APDU [15:49:43]CAPDU: 80 09 00 00 [15:49:43]Write to MH i2c: E2 08 00 2F 0E 80 09 00 00 00 00 00 00 AF [15:49:43]Write i2c OK [15:49:43]MH_I2C_Read... [15:49:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:49:43]Read from MH i2c: E2 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 2F 0E 00 90 00 B1 [15:49:43]RAPDU: 90 00 [15:49:43]wFMCommunicate OK [15:49:43]SAM_PROTO_ClearQueue done [15:49:43]KKMCreateOFDPacket [15:49:43]OFDProtocolAddRootSTLVToBuf [15:49:43]FM_MakeSignedData [15:49:43]FM_MakeSignedData [15:49:43]SAM_PROTO_SignData [15:49:43]wFMCommunicate request_size=4 [15:49:43]MH_SAM_APDU [15:49:43]CAPDU: 80 0D 01 02 [15:49:43]Write to MH i2c: E2 08 00 30 0E 80 0D 01 02 00 00 00 00 B7 [15:49:43]Write i2c OK [15:49:43]MH_I2C_Read... [15:49:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:49:43]Read from MH i2c: E2 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 30 0E 00 90 00 B2 [15:49:43]RAPDU: 90 00 [15:49:43]wFMCommunicate OK [15:49:43]wFMCommunicate request_size=255 [15:49:43]MH_SAM_APDU [15:49:43]CAPDU: 80 0D 02 02 FA 03 00 91 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2B 00 00 00 00 [15:49:43]Write to MH i2c: E2 02 01 31 0E 80 0D 02 02 FA 00 03 00 91 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2B 00 00 00 00 00 00 29 [15:49:43]Write i2c OK [15:49:43]MH_I2C_Read... [15:49:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:49:43]Read from MH i2c: E2 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 [15:49:43]MH_I2C_Read... [15:49:43]Read from MH i2c: E2 03 00 31 0E 00 90 00 B3 [15:49:43]RAPDU: 90 00 [15:49:43]wFMCommunicate OK [15:49:43]wFMCommunicate request_size=160 [15:49:43]MH_SAM_APDU [15:49:43]CAPDU: 80 0D 02 02 9B EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 04 00 00 00 00 07 04 06 00 C0 2B 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 9A C9 17 67 0E 04 04 00 CE 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 67 5F 00 00 35 04 06 00 F2 DB 96 4D 73 28 [15:49:43]Write to MH i2c: E2 A3 00 32 0E 80 0D 02 02 9B 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 04 00 00 00 00 07 04 06 00 C0 2B 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 9A C9 17 67 0E 04 04 00 CE 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 67 5F 00 00 35 04 06 00 F2 DB 96 4D 73 28 00 00 04 [15:49:43]Write i2c OK [15:49:43]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 [15:49:44]MH_I2C_Read... [15:49:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:49:44]Read from MH i2c: E2 03 00 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 03 00 32 0E 00 90 00 B4 [15:49:44]RAPDU: 90 00 [15:49:44]wFMCommunicate OK [15:49:44]wFMCommunicate request_size=4 [15:49:44]MH_SAM_APDU [15:49:44]CAPDU: 80 0D 03 02 [15:49:44]Write to MH i2c: E2 08 00 33 0E 80 0D 03 02 00 00 00 00 BC [15:49:44]Write i2c OK [15:49:44]MH_I2C_Read... [15:49:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:49:44]Read from MH i2c: E2 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 0B 00 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 0B 00 33 0E 00 8B CA 32 96 1B C4 AA 57 90 00 BA [15:49:44]RAPDU: 8B CA 32 96 1B C4 AA 57 90 00 [15:49:44]wFMCommunicate OK [15:49:44]SAM_PROTO_SignData done [15:49:44]FM_MakeSignedData done [15:49:44]CreateOFDProtocolMessage [15:49:44]wFMCommunicate request_size=4 [15:49:44]MH_SAM_APDU [15:49:44]CAPDU: 80 11 00 00 [15:49:44]Write to MH i2c: E2 08 00 34 0E 80 11 00 00 00 00 00 00 BC [15:49:44]Write i2c OK [15:49:44]MH_I2C_Read... [15:49:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:49:44]Read from MH i2c: E2 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 17 00 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: E2 17 00 34 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 09 [15:49:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:49:44]wFMCommunicate OK [15:49:44]CreateOFDProtocolMessage done [15:49:44]OFDSenderStorePacket 24423 [15:49:44]StoreOFDPacket docnum=24423 [15:49: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 A5 01 00 00 86 7A 9D 01 AF 34 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 04 00 00 00 00 07 04 06 00 C0 2B 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 9A C9 17 67 0E 04 04 00 CE 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 67 5F 00 00 35 04 06 00 F2 DB 96 4D 73 28 8B CA 32 96 1B C4 AA 57 [15:49:44]CheckFolder [15:49:44]dirname=/storage/ofd_packets [15:49:44]CheckFolder done [15:49:44]ProducePacketName [15:49:44]name=ofd_packets/00024423 [15:49:44]NVStorageSaveData ofd_packets/00024423 [15:49:44]File name is /storage/ofd_packets/00024423 [15:49:44]Write 451 bytes [15:49:44]NVStorageSaveData done [15:49:44]OFDSenderStorePacket done [15:49:44]KKMCreateOFDPacket done [15:49:44]NVStorageSaveData kkm_last_timestamp [15:49:44]File name is /storage/kkm_last_timestamp [15:49:44]Write 4 bytes [15:49:44]NVStorageSaveData done [15:49:44]ExternCall_PrintAddStr [15:49:44]wPrintStart [15:49:44]Write to MH i2c: 01 00 00 35 0E 43 [15:49:44]Write i2c OK [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: 01 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: 01 07 00 [15:49:44]MH_I2C_Read... [15:49:44]Read from MH i2c: 01 07 00 35 0E 00 00 00 00 00 FF 0F 58 [15:49:44]RasterBufferAndPrint [15:49:44]line Счет N : (3)134941 [15:49:44]line ИНН: 02508201610067 [15:49:44]line Контрольно-Кассовый Чек [15:49:44]line ПРОДАЖА [15:49:44]line Товар: 4700000483259 [15:49:44]line Напиток Nitro Fresh Мохито [15:49:44]line 1.000 * 95.00 [15:49:44]line = 95.00 [15:49:44]line НДС 12% НСП 1% [15:49:44]line > о реализуемом товаре [15:49:44]line Товар: 4620017451303 [15:49:44]line Кар.с жев.конф.Страйк 11.3г/50 [15:49:44]line 1.000 * 17.00 [15:49:44]line = 17.00 [15:49:44]line НДС 12% НСП 1% [15:49:44]line > о реализуемом товаре [15:49:44]line ИТОГО: 112.00 [15:49:44]line НСП 1% : 0.99 [15:49:44]line НДС 12% : 11.89 [15:49:44]line Наличными: 112.00 [15:49:44]line Безнал.: 0.00 [15:49:44]line Место: АЗС № 85 "Партнер Нефть" [15:49:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:49:44]line СНО: Общий режим [15:49:44]line Чек 42 22.10.2024 15:49 [15:49:44]line Смена: 462 ФФД: 1.0 [15:49:44]line ЗНМ: 0300000166 [15:49:44]line РНМ: 0000000000098120 [15:49:44]line Версия ККМ: 001 [15:49:44]line ФМ: 0000000000965420 [15:49:44]line ФД: 24423 [15:49:44]line ФПД: 267024933417768 [15:49:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T154946&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24423&fm=267024933417768&tin=02508201610067®Number=0000000000098120&sum=11200 [15:49:44]OFD Sender: Processing packet 24423 [packets to send 5, broken 4] [15:49:44]ProducePacketName [15:49:44]name=ofd_packets/00024423 [15:49:44]OFD Sender: To server: pG, [15:49:44]CommunicateWithHost lk.salyk.kg:30040 [15:49:44]ConnectInit lk.salyk.kg [15:49:44]line 0 [15:49:44]written 0, free lines is 4095 [15:49:44]Connected sock=10 [15:49: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 A5 01 00 00 86 7A 9D 01 AF 34 5A 03 01 00 03 00 91 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 33 32 35 39 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4E 69 74 72 6F 20 46 72 65 73 68 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 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 74 00 8A 04 0D 00 34 36 32 30 30 31 37 34 35 31 33 30 33 06 04 30 00 D0 9A D0 B0 D1 80 2E D1 81 20 D0 B6 D0 B5 D0 B2 2E D0 BA D0 BE D0 BD D1 84 2E D0 A1 D1 82 D1 80 D0 B0 D0 B9 D0 BA 20 31 31 2E 33 D0 B3 2F 35 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 06 00 00 00 00 13 04 06 00 A4 06 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 63 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 04 00 00 00 00 07 04 06 00 C0 2B 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 9A C9 17 67 0E 04 04 00 CE 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 67 5F 00 00 35 04 06 00 F2 DB 96 4D 73 28 8B CA 32 96 1B C4 AA 57 [15:49: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 B2 E2 47 00 50 B9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 67 5F 00 00 F4 03 04 00 3D 75 17 67 B6 04 01 00 00 5A 23 9B 97 14 6C B8 00 [15:49:44]CommunicateWithHost err = 0 [15:49:44]CheckOFDResponse [15:49:44]1017 (14) - 77093643461234 [15:49:44]1041 (16) - 0000000000965420 [15:49:44]1040 (4) - 24423 [15:49:44]1012 (4) - 22.10.2024 09:49 [15:49:44]1206 (1) - 0 [15:49:44]OFD Sender: Remove packet 24423 [15:49:44]ProducePacketName [15:49:44]name=ofd_packets/00024423 [15:49:44]NVStorageDeleteData [15:49:45]Write to MH i2c: 01 00 00 64 0E 72 [15:49:45]Write i2c OK [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: 01 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: 01 07 00 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: 01 07 00 64 0E 00 00 00 00 00 C3 0C 48 [15:49:45]RasterBufferAndPrint [15:49:45]line [15:49:45]line [15:49:45]line [15:49:45]line [15:49:45]line [15:49:45]written 0, free lines is 3275 [15:49:45]process_action close_receipt done [15:49:45]requested_data is exist [15:49:45]produce_requested_data [15:49:45]requested_item fm.sn is exist - process it [15:49:45]wFMCommunicate request_size=4 [15:49:45]MH_SAM_APDU [15:49:45]CAPDU: 80 11 00 00 [15:49:45]Write to MH i2c: E2 08 00 6B 0E 80 11 00 00 00 00 00 00 F3 [15:49:45]Write i2c OK [15:49:45]MH_I2C_Read... [15:49:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:49:45]Read from MH i2c: E2 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 17 00 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 17 00 6B 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 40 [15:49:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:49:45]wFMCommunicate OK [15:49:45]requested_item fd.num is exist - process it [15:49:45]SAM_PROTO_GetFieldsCounters [15:49:45]wFMCommunicate request_size=4 [15:49:45]MH_SAM_APDU [15:49:45]CAPDU: 80 13 00 00 [15:49:45]Write to MH i2c: E2 08 00 6C 0E 80 13 00 00 00 00 00 00 F6 [15:49:45]Write i2c OK [15:49:45]MH_I2C_Read... [15:49:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:49:45]Read from MH i2c: E2 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 62 00 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 62 00 6C 0E 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 67 5F 00 00 0E 04 04 00 CE 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 1F [15:49:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 67 5F 00 00 0E 04 04 00 CE 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 [15:49:45]wFMCommunicate OK [15:49:45]SAM_PROTO_GetFieldsCounters done [15:49:45]requested_item shift.num is exist - process it [15:49:45]requested_item shift.opened is exist - process it [15:49:45]req_shift_opened [15:49:45]FM_GetShiftState [15:49:45]SAM_PROTO_GetShiftState [15:49:45]wFMCommunicate request_size=4 [15:49:45]MH_SAM_APDU [15:49:45]CAPDU: 80 13 01 00 [15:49:45]Write to MH i2c: E2 08 00 6D 0E 80 13 01 00 00 00 00 00 F8 [15:49:45]Write i2c OK [15:49:45]MH_I2C_Read... [15:49:45]OFD Sender: No OFD packet to send [15:49:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:49:45]Read from MH i2c: E2 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 0E 00 [15:49:45]MH_I2C_Read... [15:49:45]Read from MH i2c: E2 0E 00 6D 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F0 [15:49:45]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:49:45]wFMCommunicate OK [15:49:45]SAM_PROTO_GetShiftState done [15:49:45]FM_GetShiftState done [15:49:45]req_shift_opened done [15:49:45]requested_item shift.open_date is exist - process it [15:49:45]req_shift_open_date [15:49:45]req_shift_open_date done [15:49:45]produce_requested_data done [15:49:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24423,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:49:45]process_action_free close_receipt [15:49:45]json_value_free [15:49:45]json_value_free done [15:49:45]process_json_proto returns [15:49:45]Send response to host [15:49:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24423,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:49:45]free response buf [15:49:45]execute_script done [15:49:45]execute_script returns [15:49:45]free content buf [15:49:45]Sock 9.Close socket [15:49:45]Sock 9.Thread stoped [15:49:50]OFD Sender: No OFD packet to send [15:49:55]OFD Sender: No OFD packet to send [15:50:00]OFD Sender: No OFD packet to send [15:50:05]OFD Sender: No OFD packet to send [15:50:10]OFD Sender: No OFD packet to send [15:50:15]OFD Sender: No OFD packet to send [15:50:20]OFD Sender: No OFD packet to send [15:50:25]OFD Sender: No OFD packet to send [15:50:30]OFD Sender: No OFD packet to send [15:50:35]OFD Sender: No OFD packet to send [15:50:40]OFD Sender: No OFD packet to send [15:50:45]OFD Sender: No OFD packet to send [15:50:50]OFD Sender: No OFD packet to send [15:50:55]OFD Sender: No OFD packet to send [15:51:00]OFD Sender: No OFD packet to send [15:51:05]OFD Sender: No OFD packet to send [15:51:10]OFD Sender: No OFD packet to send [15:51:15]OFD Sender: No OFD packet to send [15:51:20]OFD Sender: No OFD packet to send [15:51:25]OFD Sender: No OFD packet to send [15:51:30]OFD Sender: No OFD packet to send [15:51:35]OFD Sender: No OFD packet to send [15:51:40]OFD Sender: No OFD packet to send [15:51:45]OFD Sender: No OFD packet to send [15:51:50]OFD Sender: No OFD packet to send [15:51:55]OFD Sender: No OFD packet to send [15:52:00]OFD Sender: No OFD packet to send [15:52:05]OFD Sender: No OFD packet to send [15:52:10]OFD Sender: No OFD packet to send [15:52:15]OFD Sender: No OFD packet to send [15:52:20]OFD Sender: No OFD packet to send [15:52:25]OFD Sender: No OFD packet to send [15:52:30]OFD Sender: No OFD packet to send [15:52:35]OFD Sender: No OFD packet to send [15:52:40]OFD Sender: No OFD packet to send [15:52:45]OFD Sender: No OFD packet to send [15:52:50]OFD Sender: No OFD packet to send [15:52:55]OFD Sender: No OFD packet to send [15:53:00]OFD Sender: No OFD packet to send [15:53:05]OFD Sender: No OFD packet to send [15:53:10]OFD Sender: No OFD packet to send [15:53:15]OFD Sender: No OFD packet to send [15:53:20]OFD Sender: No OFD packet to send [15:53:25]OFD Sender: No OFD packet to send [15:53:30]OFD Sender: No OFD packet to send [15:53:35]OFD Sender: No OFD packet to send [15:53:40]OFD Sender: No OFD packet to send [15:53:45]OFD Sender: No OFD packet to send [15:53:50]OFD Sender: No OFD packet to send [15:53:55]OFD Sender: No OFD packet to send [15:54:00]OFD Sender: No OFD packet to send [15:54:05]OFD Sender: No OFD packet to send [15:54:10]OFD Sender: No OFD packet to send [15:54:15]OFD Sender: No OFD packet to send [15:54:20]OFD Sender: No OFD packet to send [15:54:25]OFD Sender: No OFD packet to send [15:54:30]OFD Sender: No OFD packet to send [15:54:35]OFD Sender: No OFD packet to send [15:54:40]OFD Sender: No OFD packet to send [15:54:45]OFD Sender: No OFD packet to send [15:54:50]OFD Sender: No OFD packet to send [15:54:55]OFD Sender: No OFD packet to send [15:55:00]OFD Sender: No OFD packet to send [15:55:05]OFD Sender: No OFD packet to send [15:55:10]OFD Sender: No OFD packet to send [15:55:15]OFD Sender: No OFD packet to send [15:55:20]OFD Sender: No OFD packet to send [15:55:25]OFD Sender: No OFD packet to send [15:55:30]OFD Sender: No OFD packet to send [15:55:35]OFD Sender: No OFD packet to send [15:55:40]OFD Sender: No OFD packet to send [15:55:45]OFD Sender: No OFD packet to send [15:55:50]OFD Sender: No OFD packet to send [15:55:55]OFD Sender: No OFD packet to send [15:56:00]OFD Sender: No OFD packet to send [15:56:05]OFD Sender: No OFD packet to send [15:56:10]OFD Sender: No OFD packet to send [15:56:15]OFD Sender: No OFD packet to send [15:56:20]OFD Sender: No OFD packet to send [15:56:25]OFD Sender: No OFD packet to send [15:56:30]OFD Sender: No OFD packet to send [15:56:35]OFD Sender: No OFD packet to send [15:56:40]OFD Sender: No OFD packet to send [15:56:45]OFD Sender: No OFD packet to send [15:56:50]OFD Sender: No OFD packet to send [15:56:55]OFD Sender: No OFD packet to send [15:57:00]OFD Sender: No OFD packet to send [15:57:05]OFD Sender: No OFD packet to send [15:57:10]OFD Sender: No OFD packet to send [15:57:15]OFD Sender: No OFD packet to send [15:57:20]OFD Sender: No OFD packet to send [15:57:25]OFD Sender: No OFD packet to send [15:57:30]OFD Sender: No OFD packet to send [15:57:35]OFD Sender: No OFD packet to send [15:57:40]OFD Sender: No OFD packet to send [15:57:45]OFD Sender: No OFD packet to send [15:57:50]OFD Sender: No OFD packet to send [15:57:55]OFD Sender: No OFD packet to send [15:58:00]OFD Sender: No OFD packet to send [15:58:05]OFD Sender: No OFD packet to send [15:58:10]OFD Sender: No OFD packet to send [15:58:15]OFD Sender: No OFD packet to send [15:58:20]OFD Sender: No OFD packet to send [15:58:25]OFD Sender: No OFD packet to send [15:58:30]OFD Sender: No OFD packet to send [15:58:35]OFD Sender: No OFD packet to send [15:58:40]OFD Sender: No OFD packet to send [15:58:45]OFD Sender: No OFD packet to send [15:58:50]OFD Sender: No OFD packet to send [15:58:55]OFD Sender: No OFD packet to send [15:59:00]OFD Sender: No OFD packet to send [15:59:05]OFD Sender: No OFD packet to send [15:59:10]OFD Sender: No OFD packet to send [15:59:15]OFD Sender: No OFD packet to send [15:59:20]OFD Sender: No OFD packet to send [15:59:25]OFD Sender: No OFD packet to send [15:59:30]OFD Sender: No OFD packet to send [15:59:35]accept exits with 7 [15:59:35]New connection [15:59:35]New thread 3067596132 created [15:59:35]Thread 3067452772 joined [15:59:35]Waiting for new connection... [15:59:35] Sock 7.Parse request [15:59:35]Sock 7.Check first char [15:59:35]Sock 7.First char is OK [15:59:35]request: POST /json_proto HTTP/1.0 [15:59:35]Method: POST [15:59:35]URL: /json_proto [15:59:35]Method is POST - this is cgi request [15:59:35]url: /json_proto [15:59:35]query_string will be loaded in cgi processing [15:59:35]execute_cgi json_proto POST (null) [15:59:35]execute_cgi path=json_proto method=POST [15:59:35]POST find Content-Length [15:59:35]Host: 172.17.50.4:8080 [15:59:35]Content-Length: 669 [15:59:35]Content-Type: application/json [15:59:35] [15:59:35]POST finish read [15:59:35]Found Content-Length = 669 [15:59:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134942", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:35]execute_script... [15:59: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)134942", "tax_sys" : 0, "items" : [ { "code": "4700040114137", "name": "\u0421\u0443\u043B\u0442\u0430\u043D \u0447\u0430\u0439 1\u043B. \u0437\u0435\u043B \u043B\u0438\u043C\u043E\u043D", "price" : 89.00, "quantity" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 89.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:59:35]POST & json_proto [15:59:35]process_json_proto [15:59:35]json parsed OK: [15:59:35]protocol is kg_v1.0 [15:59:35]action value=close_receipt [15:59:35]process_action close_receipt [15:59:35]cmd_close_receipt [15:59:35]MH_GetDate [15:59:35]Write to MH i2c: F0 00 00 6E 0E 6B [15:59:35]Write i2c OK [15:59:35]MH_I2C_Read... [15:59:35]Read from MH i2c: F0 [15:59:35]MH_I2C_Read... [15:59:35]Read from MH i2c: F0 09 00 [15:59:35]MH_I2C_Read... [15:59:35]Read from MH i2c: F0 09 00 6E 0E 00 EB CB 17 67 3B 12 16 67 72 [15:59:35]GetLastDocTimeStamp 1729612186 [15:59:35]current date 1729612779 [15:59:35]FM_GetShiftState [15:59:35]SAM_PROTO_GetShiftState [15:59:35]wFMCommunicate request_size=4 [15:59:35]MH_SAM_APDU [15:59:35]CAPDU: 80 13 01 00 [15:59:35]Write to MH i2c: E2 08 00 6F 0E 80 13 01 00 00 00 00 00 FA [15:59:35]Write i2c OK [15:59:35]MH_I2C_Read... [15:59:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:35]Read from MH i2c: E2 [15:59:35]MH_I2C_Read... [15:59:35]Read from MH i2c: E2 0E 00 [15:59:35]MH_I2C_Read... [15:59:35]Read from MH i2c: E2 0E 00 6F 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 F2 [15:59:35]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:59:35]wFMCommunicate OK [15:59:35]SAM_PROTO_GetShiftState done [15:59:35]FM_GetShiftState done [15:59:35]opened in 1729555332 [15:59:35]opened+sec_in_day 1729641732 [15:59:35]quantity*price = 8900 [15:59:35]sum+1 = 8901 [15:59:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 89.00 НСП 1% : 0.79 НДС 12% : 9.45 Наличными: 89.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 43 22.10.2024 15:59 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24424 ФПД: 137271292418262 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155939&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24424&fm=137271292418262&tin=02508201610067®Number=0000000000098120&sum=8900 0 [15:59:36]StoreToDocumentArchive [15:59:36]shift 462 fd 24424 [15:59:36]save to /storage/0462/doc_00024424 [15:59:36]save last doc name /storage/0462/doc_00024424 to /storage/kkm_last_doc_name [15:59:36]save OK [15:59:36]Clear old archive folders... [15:59:36]ProcessDocumentItem done err = 0, tmpTLVsize=284 [15:59:36]tlvbuf is 00D4E4D0 [15:59:36]SAM_PROTO_ClearQueue [15:59:36]wFMCommunicate request_size=4 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 09 00 00 [15:59:36]Write to MH i2c: E2 08 00 7C 0E 80 09 00 00 00 00 00 00 FC [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 7C 0E 00 90 00 FE [15:59:36]RAPDU: 90 00 [15:59:36]wFMCommunicate OK [15:59:36]SAM_PROTO_ClearQueue done [15:59:36]KKMCreateOFDPacket [15:59:36]OFDProtocolAddRootSTLVToBuf [15:59:36]FM_MakeSignedData [15:59:36]FM_MakeSignedData [15:59:36]SAM_PROTO_SignData [15:59:36]wFMCommunicate request_size=4 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 0D 01 02 [15:59:36]Write to MH i2c: E2 08 00 7D 0E 80 0D 01 02 00 00 00 00 04 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 7D 0E 00 90 00 FF [15:59:36]RAPDU: 90 00 [15:59:36]wFMCommunicate OK [15:59:36]wFMCommunicate request_size=255 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EB CB 17 67 0E 04 04 00 CE 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 [15:59:36]Write to MH i2c: E2 02 01 7E 0E 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EB CB 17 67 0E 04 04 00 CE 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 00 00 73 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 7E 0E 00 90 00 00 [15:59:36]RAPDU: 90 00 [15:59:36]wFMCommunicate OK [15:59:36]wFMCommunicate request_size=43 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 68 5F 00 00 35 04 06 00 7C D8 F6 9F 58 D6 [15:59:36]Write to MH i2c: E2 2E 00 7F 0E 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 68 5F 00 00 35 04 06 00 7C D8 F6 9F 58 D6 00 00 C7 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 03 00 7F 0E 00 90 00 01 [15:59:36]RAPDU: 90 00 [15:59:36]wFMCommunicate OK [15:59:36]wFMCommunicate request_size=4 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 0D 03 02 [15:59:36]Write to MH i2c: E2 08 00 80 0E 80 0D 03 02 00 00 00 00 09 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 0B 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 0B 00 80 0E 00 4D B3 75 D2 D8 CF ED 54 90 00 39 [15:59:36]RAPDU: 4D B3 75 D2 D8 CF ED 54 90 00 [15:59:36]wFMCommunicate OK [15:59:36]SAM_PROTO_SignData done [15:59:36]FM_MakeSignedData done [15:59:36]CreateOFDProtocolMessage [15:59:36]wFMCommunicate request_size=4 [15:59:36]MH_SAM_APDU [15:59:36]CAPDU: 80 11 00 00 [15:59:36]Write to MH i2c: E2 08 00 81 0E 80 11 00 00 00 00 00 00 09 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:36]Read from MH i2c: E2 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 17 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: E2 17 00 81 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 56 [15:59:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:59:36]wFMCommunicate OK [15:59:36]CreateOFDProtocolMessage done [15:59:36]OFDSenderStorePacket 24424 [15:59:36]StoreOFDPacket docnum=24424 [15:59: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 30 01 00 00 8A F1 28 01 A2 AE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EB CB 17 67 0E 04 04 00 CE 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 68 5F 00 00 35 04 06 00 7C D8 F6 9F 58 D6 4D B3 75 D2 D8 CF ED 54 [15:59:36]CheckFolder [15:59:36]dirname=/storage/ofd_packets [15:59:36]CheckFolder done [15:59:36]ProducePacketName [15:59:36]name=ofd_packets/00024424 [15:59:36]NVStorageSaveData ofd_packets/00024424 [15:59:36]File name is /storage/ofd_packets/00024424 [15:59:36]Write 334 bytes [15:59:36]NVStorageSaveData done [15:59:36]OFDSenderStorePacket done [15:59:36]KKMCreateOFDPacket done [15:59:36]NVStorageSaveData kkm_last_timestamp [15:59:36]File name is /storage/kkm_last_timestamp [15:59:36]Write 4 bytes [15:59:36]NVStorageSaveData done [15:59:36]ExternCall_PrintAddStr [15:59:36]wPrintStart [15:59:36]Write to MH i2c: 01 00 00 82 0E 90 [15:59:36]Write i2c OK [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: 01 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: 01 07 00 [15:59:36]MH_I2C_Read... [15:59:36]Read from MH i2c: 01 07 00 82 0E 00 00 00 00 00 FF 0F A5 [15:59:36]RasterBufferAndPrint [15:59:36]line Счет N : (3)134942 [15:59:36]line ИНН: 02508201610067 [15:59:36]line Контрольно-Кассовый Чек [15:59:36]line ПРОДАЖА [15:59:36]line Товар: 4700040114137 [15:59:36]line Султан чай 1л. зел лимон [15:59:36]line 1.000 * 89.00 [15:59:36]line = 89.00 [15:59:36]line НДС 12% НСП 1% [15:59:36]line > о реализуемом товаре [15:59:36]line ИТОГО: 89.00 [15:59:36]line НСП 1% : 0.79 [15:59:36]line НДС 12% : 9.45 [15:59:36]line Наличными: 89.00 [15:59:36]line Безнал.: 0.00 [15:59:36]line Место: АЗС № 85 "Партнер Нефть" [15:59:36]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:59:36]line СНО: Общий режим [15:59:36]line Чек 43 22.10.2024 15:59 [15:59:36]line Смена: 462 ФФД: 1.0 [15:59:36]line ЗНМ: 0300000166 [15:59:36]line РНМ: 0000000000098120 [15:59:36]line Версия ККМ: 001 [15:59:36]line ФМ: 0000000000965420 [15:59:36]line ФД: 24424 [15:59:36]line ФПД: 137271292418262 [15:59:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155939&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24424&fm=137271292418262&tin=02508201610067®Number=0000000000098120&sum=8900 [15:59:37]OFD Sender: Processing packet 24424 [packets to send 5, broken 4] [15:59:37]ProducePacketName [15:59:37]name=ofd_packets/00024424 [15:59:37]OFD Sender: To server: pG, [15:59:37]CommunicateWithHost lk.salyk.kg:30040 [15:59:37]ConnectInit lk.salyk.kg [15:59:37]line 0 [15:59:37]written 0, free lines is 4095 [15:59:37]Connected sock=10 [15:59: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 30 01 00 00 8A F1 28 01 A2 AE 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 37 30 30 30 34 30 31 31 34 31 33 37 06 04 2A 00 D0 A1 D1 83 D0 BB D1 82 D0 B0 D0 BD 20 D1 87 D0 B0 D0 B9 20 31 D0 BB 2E 20 D0 B7 D0 B5 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C4 22 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 03 00 00 00 00 07 04 06 00 C4 22 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 EB CB 17 67 0E 04 04 00 CE 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 68 5F 00 00 35 04 06 00 7C D8 F6 9F 58 D6 4D B3 75 D2 D8 CF ED 54 [15:59: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 FB 80 47 00 46 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 68 5F 00 00 F4 03 04 00 8E 77 17 67 B6 04 01 00 00 5D 8B 9E F7 ED 0D 35 B4 [15:59:37]CommunicateWithHost err = 0 [15:59:37]CheckOFDResponse [15:59:37]1017 (14) - 77093643461234 [15:59:37]1041 (16) - 0000000000965420 [15:59:37]1040 (4) - 24424 [15:59:37]1012 (4) - 22.10.2024 09:59 [15:59:37]1206 (1) - 0 [15:59:37]OFD Sender: Remove packet 24424 [15:59:37]ProducePacketName [15:59:37]name=ofd_packets/00024424 [15:59:37]NVStorageDeleteData [15:59:37]Write to MH i2c: 01 00 00 AA 0E B8 [15:59:37]Write i2c OK [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: 01 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: 01 07 00 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: 01 07 00 AA 0E 00 00 00 00 00 1E 0D EA [15:59:37]RasterBufferAndPrint [15:59:37]line [15:59:37]line [15:59:37]line [15:59:37]line [15:59:37]line [15:59:37]written 0, free lines is 3366 [15:59:37]process_action close_receipt done [15:59:37]requested_data is exist [15:59:37]produce_requested_data [15:59:37]requested_item fm.sn is exist - process it [15:59:37]wFMCommunicate request_size=4 [15:59:37]MH_SAM_APDU [15:59:37]CAPDU: 80 11 00 00 [15:59:37]Write to MH i2c: E2 08 00 B1 0E 80 11 00 00 00 00 00 00 39 [15:59:37]Write i2c OK [15:59:37]MH_I2C_Read... [15:59:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:37]Read from MH i2c: E2 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 17 00 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 17 00 B1 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 86 [15:59:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:59:37]wFMCommunicate OK [15:59:37]requested_item fd.num is exist - process it [15:59:37]SAM_PROTO_GetFieldsCounters [15:59:37]wFMCommunicate request_size=4 [15:59:37]MH_SAM_APDU [15:59:37]CAPDU: 80 13 00 00 [15:59:37]Write to MH i2c: E2 08 00 B2 0E 80 13 00 00 00 00 00 00 3C [15:59:37]Write i2c OK [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 [15:59:37]MH_I2C_Read... [15:59:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:37]Read from MH i2c: E2 62 00 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 62 00 B2 0E 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 68 5F 00 00 0E 04 04 00 CE 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 69 [15:59: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 68 5F 00 00 0E 04 04 00 CE 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 [15:59:37]wFMCommunicate OK [15:59:37]SAM_PROTO_GetFieldsCounters done [15:59:37]requested_item shift.num is exist - process it [15:59:37]requested_item shift.opened is exist - process it [15:59:37]req_shift_opened [15:59:37]FM_GetShiftState [15:59:37]SAM_PROTO_GetShiftState [15:59:37]wFMCommunicate request_size=4 [15:59:37]MH_SAM_APDU [15:59:37]CAPDU: 80 13 01 00 [15:59:37]Write to MH i2c: E2 08 00 B3 0E 80 13 01 00 00 00 00 00 3E [15:59:37]Write i2c OK [15:59:37]MH_I2C_Read... [15:59:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:37]Read from MH i2c: E2 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 0E 00 [15:59:37]MH_I2C_Read... [15:59:37]Read from MH i2c: E2 0E 00 B3 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 36 [15:59:37]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:59:37]wFMCommunicate OK [15:59:37]SAM_PROTO_GetShiftState done [15:59:37]FM_GetShiftState done [15:59:37]req_shift_opened done [15:59:37]requested_item shift.open_date is exist - process it [15:59:37]req_shift_open_date [15:59:37]req_shift_open_date done [15:59:37]produce_requested_data done [15:59:37]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24424,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:59:37]process_action_free close_receipt [15:59:37]json_value_free [15:59:37]json_value_free done [15:59:37]process_json_proto returns [15:59:37]Send response to host [15:59:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24424,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:59:37]free response buf [15:59:37]execute_script done [15:59:37]execute_script returns [15:59:37]free content buf [15:59:37]Sock 7.Close socket [15:59:37]Sock 7.Thread stoped [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:48]accept exits with 9 [15:59:48]New connection [15:59:48]New thread 3067452772 created [15:59:48]Thread 3067596132 joined [15:59:48]Waiting for new connection... [15:59:48] Sock 9.Parse request [15:59:48]Sock 9.Check first char [15:59:48]Sock 9.First char is OK [15:59:48]request: POST /json_proto HTTP/1.0 [15:59:48]Method: POST [15:59:48]URL: /json_proto [15:59:48]Method is POST - this is cgi request [15:59:48]url: /json_proto [15:59:48]query_string will be loaded in cgi processing [15:59:48]execute_cgi json_proto POST (null) [15:59:48]execute_cgi path=json_proto method=POST [15:59:48]POST find Content-Length [15:59:48]Host: 172.17.50.4:8080 [15:59:48]Content-Length: 654 [15:59:48]Content-Type: application/json [15:59:48] [15:59:48]POST finish read [15:59:48]Found Content-Length = 654 [15:59:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134943", "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" ] } } [15:59:48]execute_script... [15:59: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)134943", "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" ] } } [15:59:48]POST & json_proto [15:59:48]process_json_proto [15:59:48]json parsed OK: [15:59:48]protocol is kg_v1.0 [15:59:48]action value=close_receipt [15:59:48]process_action close_receipt [15:59:48]cmd_close_receipt [15:59:48]MH_GetDate [15:59:48]Write to MH i2c: F0 00 00 B4 0E B1 [15:59:48]Write i2c OK [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: F0 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: F0 09 00 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: F0 09 00 B4 0E 00 F8 CB 17 67 3B 12 16 67 C5 [15:59:48]GetLastDocTimeStamp 1729612779 [15:59:48]current date 1729612792 [15:59:48]FM_GetShiftState [15:59:48]SAM_PROTO_GetShiftState [15:59:48]wFMCommunicate request_size=4 [15:59:48]MH_SAM_APDU [15:59:48]CAPDU: 80 13 01 00 [15:59:48]Write to MH i2c: E2 08 00 B5 0E 80 13 01 00 00 00 00 00 40 [15:59:48]Write i2c OK [15:59:48]MH_I2C_Read... [15:59:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:48]Read from MH i2c: E2 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 0E 00 [15:59:48]MH_I2C_Read... [15:59:48]Read from MH i2c: E2 0E 00 B5 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 38 [15:59:48]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:59:48]wFMCommunicate OK [15:59:48]SAM_PROTO_GetShiftState done [15:59:48]FM_GetShiftState done [15:59:48]opened in 1729555332 [15:59:48]opened+sec_in_day 1729641732 [15:59:48]quantity*price = 9500 [15:59:48]sum+1 = 9501 [15:59:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 44 22.10.2024 15:59 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24425 ФПД: 59184512558891 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155952&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24425&fm=59184512558891&tin=02508201610067®Number=0000000000098120&sum=9500 0 [15:59:49]StoreToDocumentArchive [15:59:49]shift 462 fd 24425 [15:59:49]save to /storage/0462/doc_00024425 [15:59:49]save last doc name /storage/0462/doc_00024425 to /storage/kkm_last_doc_name [15:59:49]save OK [15:59:49]Clear old archive folders... [15:59:49]ProcessDocumentItem done err = 0, tmpTLVsize=293 [15:59:49]tlvbuf is 00DA56D0 [15:59:49]SAM_PROTO_ClearQueue [15:59:49]wFMCommunicate request_size=4 [15:59:49]MH_SAM_APDU [15:59:49]CAPDU: 80 09 00 00 [15:59:49]Write to MH i2c: E2 08 00 C2 0E 80 09 00 00 00 00 00 00 42 [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 C2 0E 00 90 00 44 [15:59:49]RAPDU: 90 00 [15:59:49]wFMCommunicate OK [15:59:49]SAM_PROTO_ClearQueue done [15:59:49]KKMCreateOFDPacket [15:59:49]OFDProtocolAddRootSTLVToBuf [15:59:49]FM_MakeSignedData [15:59:49]FM_MakeSignedData [15:59:49]SAM_PROTO_SignData [15:59:49]wFMCommunicate request_size=4 [15:59:49]MH_SAM_APDU [15:59:49]CAPDU: 80 0D 01 02 [15:59:49]Write to MH i2c: E2 08 00 C3 0E 80 0D 01 02 00 00 00 00 4A [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 C3 0E 00 90 00 45 [15:59:49]RAPDU: 90 00 [15:59:49]wFMCommunicate OK [15:59:49]wFMCommunicate request_size=255 [15:59:49]MH_SAM_APDU [15:59:49]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 37 30 30 30 30 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 2C 00 00 00 F4 03 04 00 F8 CB 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [15:59:49]Write to MH i2c: E2 02 01 C4 0E 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 2C 00 00 00 F4 03 04 00 F8 CB 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 26 [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 C4 0E 00 90 00 46 [15:59:49]RAPDU: 90 00 [15:59:49]wFMCommunicate OK [15:59:49]wFMCommunicate request_size=52 [15:59:49]MH_SAM_APDU [15:59:49]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 69 5F 00 00 35 04 06 00 35 D3 F7 D8 E7 2B [15:59:49]Write to MH i2c: E2 37 00 C5 0E 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 69 5F 00 00 35 04 06 00 35 D3 F7 D8 E7 2B 00 00 B6 [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 03 00 C5 0E 00 90 00 47 [15:59:49]RAPDU: 90 00 [15:59:49]wFMCommunicate OK [15:59:49]wFMCommunicate request_size=4 [15:59:49]MH_SAM_APDU [15:59:49]CAPDU: 80 0D 03 02 [15:59:49]Write to MH i2c: E2 08 00 C6 0E 80 0D 03 02 00 00 00 00 4F [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 0B 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 0B 00 C6 0E 00 8E D5 2E E0 4E B7 3A CF 90 00 CF [15:59:49]RAPDU: 8E D5 2E E0 4E B7 3A CF 90 00 [15:59:49]wFMCommunicate OK [15:59:49]SAM_PROTO_SignData done [15:59:49]FM_MakeSignedData done [15:59:49]CreateOFDProtocolMessage [15:59:49]wFMCommunicate request_size=4 [15:59:49]MH_SAM_APDU [15:59:49]CAPDU: 80 11 00 00 [15:59:49]Write to MH i2c: E2 08 00 C7 0E 80 11 00 00 00 00 00 00 4F [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:49]Read from MH i2c: E2 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 17 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: E2 17 00 C7 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9C [15:59: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:59:49]wFMCommunicate OK [15:59:49]CreateOFDProtocolMessage done [15:59:49]OFDSenderStorePacket 24425 [15:59:49]StoreOFDPacket docnum=24425 [15:59: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 39 01 00 00 FE 1F 31 01 56 56 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 2C 00 00 00 F4 03 04 00 F8 CB 17 67 0E 04 04 00 CE 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 69 5F 00 00 35 04 06 00 35 D3 F7 D8 E7 2B 8E D5 2E E0 4E B7 3A CF [15:59:49]CheckFolder [15:59:49]dirname=/storage/ofd_packets [15:59:49]CheckFolder done [15:59:49]ProducePacketName [15:59:49]name=ofd_packets/00024425 [15:59:49]NVStorageSaveData ofd_packets/00024425 [15:59:49]File name is /storage/ofd_packets/00024425 [15:59:49]Write 343 bytes [15:59:49]NVStorageSaveData done [15:59:49]OFDSenderStorePacket done [15:59:49]KKMCreateOFDPacket done [15:59:49]NVStorageSaveData kkm_last_timestamp [15:59:49]File name is /storage/kkm_last_timestamp [15:59:49]Write 4 bytes [15:59:49]NVStorageSaveData done [15:59:49]ExternCall_PrintAddStr [15:59:49]wPrintStart [15:59:49]Write to MH i2c: 01 00 00 C8 0E D6 [15:59:49]Write i2c OK [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: 01 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: 01 07 00 [15:59:49]MH_I2C_Read... [15:59:49]Read from MH i2c: 01 07 00 C8 0E 00 00 00 00 00 FF 0F EB [15:59:49]RasterBufferAndPrint [15:59:49]line Счет N : (3)134943 [15:59:49]line ИНН: 02508201610067 [15:59:49]line Контрольно-Кассовый Чек [15:59:49]line ПРОДАЖА [15:59:49]line Товар: 4700000480050 [15:59:49]line Напиток Nitro Energy эн green ж/б 0,45л [15:59:49]line 1.000 * 95.00 [15:59:49]line = 95.00 [15:59:49]line НДС 12% НСП 1% [15:59:49]line > о реализуемом товаре [15:59:49]line ИТОГО: 95.00 [15:59:49]line НСП 1% : 0.84 [15:59:49]line НДС 12% : 10.09 [15:59:49]line Наличными: 95.00 [15:59:49]line Безнал.: 0.00 [15:59:49]line Место: АЗС № 85 "Партнер Нефть" [15:59:49]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [15:59:49]line СНО: Общий режим [15:59:49]line Чек 44 22.10.2024 15:59 [15:59:49]line Смена: 462 ФФД: 1.0 [15:59:49]line ЗНМ: 0300000166 [15:59:49]line РНМ: 0000000000098120 [15:59:49]line Версия ККМ: 001 [15:59:49]line ФМ: 0000000000965420 [15:59:49]line ФД: 24425 [15:59:49]line ФПД: 59184512558891 [15:59:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T155952&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24425&fm=59184512558891&tin=02508201610067®Number=0000000000098120&sum=9500 [15:59:49]line 0 [15:59:49]written 0, free lines is 4095 [15:59:49]OFD Sender: Processing packet 24425 [packets to send 5, broken 4] [15:59:49]ProducePacketName [15:59:49]name=ofd_packets/00024425 [15:59:49]OFD Sender: To server: pG, [15:59:49]CommunicateWithHost lk.salyk.kg:30040 [15:59:49]ConnectInit lk.salyk.kg [15:59:50]Connected sock=10 [15:59: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 39 01 00 00 FE 1F 31 01 56 56 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 2C 00 00 00 F4 03 04 00 F8 CB 17 67 0E 04 04 00 CE 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 69 5F 00 00 35 04 06 00 35 D3 F7 D8 E7 2B 8E D5 2E E0 4E B7 3A CF [15:59: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 78 96 47 00 07 DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 69 5F 00 00 F4 03 04 00 9B 77 17 67 B6 04 01 00 00 D8 3A B5 35 1C 25 E2 D9 [15:59:50]CommunicateWithHost err = 0 [15:59:50]CheckOFDResponse [15:59:50]1017 (14) - 77093643461234 [15:59:50]1041 (16) - 0000000000965420 [15:59:50]1040 (4) - 24425 [15:59:50]1012 (4) - 22.10.2024 09:59 [15:59:50]1206 (1) - 0 [15:59:50]OFD Sender: Remove packet 24425 [15:59:50]ProducePacketName [15:59:50]name=ofd_packets/00024425 [15:59:50]NVStorageDeleteData [15:59:50]Write to MH i2c: 01 00 00 F1 0E FF [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: 01 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: 01 07 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: 01 07 00 F1 0E 00 00 00 00 00 20 0D 33 [15:59:50]RasterBufferAndPrint [15:59:50]line [15:59:50]line [15:59:50]line [15:59:50]line [15:59:50]line [15:59:50]written 0, free lines is 3369 [15:59:50]process_action close_receipt done [15:59:50]requested_data is exist [15:59:50]produce_requested_data [15:59:50]requested_item fm.sn is exist - process it [15:59:50]wFMCommunicate request_size=4 [15:59:50]MH_SAM_APDU [15:59:50]CAPDU: 80 11 00 00 [15:59:50]Write to MH i2c: E2 08 00 F8 0E 80 11 00 00 00 00 00 00 80 [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:59:50]Read from MH i2c: E2 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 17 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 17 00 F8 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CD [15:59:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [15:59:50]wFMCommunicate OK [15:59:50]requested_item fd.num is exist - process it [15:59:50]SAM_PROTO_GetFieldsCounters [15:59:50]wFMCommunicate request_size=4 [15:59:50]MH_SAM_APDU [15:59:50]CAPDU: 80 13 00 00 [15:59:50]Write to MH i2c: E2 08 00 F9 0E 80 13 00 00 00 00 00 00 83 [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:59:50]Read from MH i2c: E2 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 62 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 62 00 F9 0E 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 69 5F 00 00 0E 04 04 00 CE 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 B4 [15:59: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 69 5F 00 00 0E 04 04 00 CE 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 [15:59:50]wFMCommunicate OK [15:59:50]SAM_PROTO_GetFieldsCounters done [15:59:50]requested_item shift.num is exist - process it [15:59:50]requested_item shift.opened is exist - process it [15:59:50]req_shift_opened [15:59:50]FM_GetShiftState [15:59:50]SAM_PROTO_GetShiftState [15:59:50]wFMCommunicate request_size=4 [15:59:50]MH_SAM_APDU [15:59:50]CAPDU: 80 13 01 00 [15:59:50]Write to MH i2c: E2 08 00 FA 0E 80 13 01 00 00 00 00 00 85 [15:59:50]Write i2c OK [15:59:50]MH_I2C_Read... [15:59:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:59:50]Read from MH i2c: E2 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 0E 00 [15:59:50]MH_I2C_Read... [15:59:50]Read from MH i2c: E2 0E 00 FA 0E 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7D [15:59:50]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [15:59:50]wFMCommunicate OK [15:59:50]SAM_PROTO_GetShiftState done [15:59:50]FM_GetShiftState done [15:59:50]req_shift_opened done [15:59:50]requested_item shift.open_date is exist - process it [15:59:50]req_shift_open_date [15:59:50]req_shift_open_date done [15:59:50]produce_requested_data done [15:59:50]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24425,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [15:59:50]process_action_free close_receipt [15:59:50]json_value_free [15:59:50]json_value_free done [15:59:50]process_json_proto returns [15:59:50]Send response to host [15:59:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24425,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [15:59:50]free response buf [15:59:50]execute_script done [15:59:50]execute_script returns [15:59:50]free content buf [15:59:50]Sock 9.Close socket [15:59:50]Sock 9.Thread stoped [15:59:50]OFD Sender: No OFD packet to send [15:59:55]OFD Sender: No OFD packet to send [16:00:00]OFD Sender: No OFD packet to send [17:03:29]ConnectInit Can't connect to host [17:03:32]OFD Sender: No OFD packet to send [17:03:37]OFD Sender: No OFD packet to send [17:03:42]OFD Sender: No OFD packet to send [17:03:47]OFD Sender: No OFD packet to send [17:03:52]OFD Sender: No OFD packet to send [17:03:57]OFD Sender: No OFD packet to send [17:04:02]OFD Sender: No OFD packet to send [17:04:07]OFD Sender: No OFD packet to send [17:04:12]OFD Sender: No OFD packet to send [17:04:17]OFD Sender: No OFD packet to send [17:04:22]OFD Sender: No OFD packet to send [17:04:27]OFD Sender: No OFD packet to send [17:04:32]OFD Sender: No OFD packet to send [17:04:37]OFD Sender: No OFD packet to send [17:04:42]OFD Sender: No OFD packet to send [17:04:47]OFD Sender: No OFD packet to send [17:04:52]OFD Sender: No OFD packet to send [17:04:57]OFD Sender: No OFD packet to send [17:05:02]OFD Sender: No OFD packet to send [17:05:07]OFD Sender: No OFD packet to send [17:05:12]OFD Sender: No OFD packet to send [17:05:17]OFD Sender: No OFD packet to send [17:05:22]OFD Sender: No OFD packet to send [17:05:27]OFD Sender: No OFD packet to send [17:05:32]OFD Sender: No OFD packet to send [17:05:37]OFD Sender: No OFD packet to send [17:05:42]OFD Sender: No OFD packet to send [17:05:47]OFD Sender: No OFD packet to send [17:05:52]OFD Sender: No OFD packet to send [17:05:57]OFD Sender: No OFD packet to send [17:06:02]OFD Sender: No OFD packet to send [17:06:07]OFD Sender: No OFD packet to send [17:06:12]OFD Sender: No OFD packet to send [17:06:17]OFD Sender: No OFD packet to send [17:06:22]OFD Sender: No OFD packet to send [17:06:27]OFD Sender: No OFD packet to send [17:06:32]OFD Sender: No OFD packet to send [17:06:37]OFD Sender: No OFD packet to send [17:06:42]OFD Sender: No OFD packet to send [17:06:47]OFD Sender: No OFD packet to send [17:06:52]OFD Sender: No OFD packet to send [17:06:57]OFD Sender: No OFD packet to send [17:07:02]OFD Sender: No OFD packet to send [17:07:07]OFD Sender: No OFD packet to send [17:07:12]OFD Sender: No OFD packet to send [17:07:17]OFD Sender: No OFD packet to send [17:07:22]OFD Sender: No OFD packet to send [17:07:27]OFD Sender: No OFD packet to send [17:07:32]OFD Sender: No OFD packet to send [17:07:37]OFD Sender: No OFD packet to send [17:07:42]OFD Sender: No OFD packet to send [17:07:47]OFD Sender: No OFD packet to send [17:07:52]OFD Sender: No OFD packet to send [17:07:57]OFD Sender: No OFD packet to send [17:08:02]OFD Sender: No OFD packet to send [17:08:07]OFD Sender: No OFD packet to send [17:08:12]OFD Sender: No OFD packet to send [17:08:17]OFD Sender: No OFD packet to send [17:08:22]OFD Sender: No OFD packet to send [17:08:27]OFD Sender: No OFD packet to send [17:08:32]OFD Sender: No OFD packet to send [17:08:37]OFD Sender: No OFD packet to send [17:08:42]OFD Sender: No OFD packet to send [17:08:47]OFD Sender: No OFD packet to send [17:08:52]OFD Sender: No OFD packet to send [17:08:57]OFD Sender: No OFD packet to send [17:09:02]OFD Sender: No OFD packet to send [17:09:07]OFD Sender: No OFD packet to send [17:09:12]OFD Sender: No OFD packet to send [17:09:17]OFD Sender: No OFD packet to send [17:09:22]OFD Sender: No OFD packet to send [17:09:27]OFD Sender: No OFD packet to send [17:09:32]OFD Sender: No OFD packet to send [17:09:37]OFD Sender: No OFD packet to send [17:09:42]OFD Sender: No OFD packet to send [17:09:47]OFD Sender: No OFD packet to send [17:09:52]OFD Sender: No OFD packet to send [17:09:57]OFD Sender: No OFD packet to send [17:10:02]OFD Sender: No OFD packet to send [17:10:07]OFD Sender: No OFD packet to send [17:10:12]OFD Sender: No OFD packet to send [17:10:17]OFD Sender: No OFD packet to send [17:10:22]OFD Sender: No OFD packet to send [17:10:27]OFD Sender: No OFD packet to send [17:10:32]OFD Sender: No OFD packet to send [17:10:37]OFD Sender: No OFD packet to send [17:10:42]OFD Sender: No OFD packet to send [17:10:47]OFD Sender: No OFD packet to send [17:10:52]OFD Sender: No OFD packet to send [17:10:57]OFD Sender: No OFD packet to send [17:11:02]OFD Sender: No OFD packet to send [17:11:07]OFD Sender: No OFD packet to send [17:11:12]OFD Sender: No OFD packet to send [17:11:17]OFD Sender: No OFD packet to send [17:11:22]OFD Sender: No OFD packet to send [17:11:27]OFD Sender: No OFD packet to send [17:11:32]OFD Sender: No OFD packet to send [17:11:37]OFD Sender: No OFD packet to send [17:11:42]OFD Sender: No OFD packet to send [17:11:47]OFD Sender: No OFD packet to send [17:11:52]OFD Sender: No OFD packet to send [17:11:57]OFD Sender: No OFD packet to send [17:12:02]OFD Sender: No OFD packet to send [17:12:07]OFD Sender: No OFD packet to send [17:12:12]OFD Sender: No OFD packet to send [17:12:17]OFD Sender: No OFD packet to send [17:12:22]OFD Sender: No OFD packet to send [17:12:27]OFD Sender: No OFD packet to send [17:12:32]OFD Sender: No OFD packet to send [17:12:37]OFD Sender: No OFD packet to send [17:12:42]OFD Sender: No OFD packet to send [17:12:47]OFD Sender: No OFD packet to send [17:12:52]OFD Sender: No OFD packet to send [17:12:57]OFD Sender: No OFD packet to send [17:13:02]OFD Sender: No OFD packet to send [17:13:07]OFD Sender: No OFD packet to send [17:13:12]OFD Sender: No OFD packet to send [17:13:17]OFD Sender: No OFD packet to send [17:13:22]OFD Sender: No OFD packet to send [17:13:27]OFD Sender: No OFD packet to send [17:13:32]OFD Sender: No OFD packet to send [17:13:37]OFD Sender: No OFD packet to send [17:13:42]OFD Sender: No OFD packet to send [17:13:47]OFD Sender: No OFD packet to send [17:13:52]OFD Sender: No OFD packet to send [17:13:57]OFD Sender: No OFD packet to send [17:14:02]OFD Sender: No OFD packet to send [17:14:07]OFD Sender: No OFD packet to send [17:14:12]OFD Sender: No OFD packet to send [17:14:17]OFD Sender: No OFD packet to send [17:14:22]OFD Sender: No OFD packet to send [17:14:27]OFD Sender: No OFD packet to send [17:14:32]OFD Sender: No OFD packet to send [17:14:37]OFD Sender: No OFD packet to send [17:14:42]OFD Sender: No OFD packet to send [17:14:47]OFD Sender: No OFD packet to send [17:14:52]OFD Sender: No OFD packet to send [17:14:57]OFD Sender: No OFD packet to send [17:15:02]OFD Sender: No OFD packet to send [17:15:07]OFD Sender: No OFD packet to send [17:15:12]OFD Sender: No OFD packet to send [17:15:17]OFD Sender: No OFD packet to send [17:15:22]OFD Sender: No OFD packet to send [17:15:27]OFD Sender: No OFD packet to send [17:15:32]OFD Sender: No OFD packet to send [17:15:37]OFD Sender: No OFD packet to send [17:15:42]OFD Sender: No OFD packet to send [17:15:47]OFD Sender: No OFD packet to send [17:15:52]OFD Sender: No OFD packet to send [17:15:57]OFD Sender: No OFD packet to send [17:16:02]OFD Sender: No OFD packet to send [17:16:07]OFD Sender: No OFD packet to send [17:16:12]OFD Sender: No OFD packet to send [17:16:17]OFD Sender: No OFD packet to send [17:16:22]OFD Sender: No OFD packet to send [17:16:27]OFD Sender: No OFD packet to send [17:16:32]OFD Sender: No OFD packet to send [17:16:37]OFD Sender: No OFD packet to send [17:16:42]OFD Sender: No OFD packet to send [17:16:47]OFD Sender: No OFD packet to send [17:16:52]OFD Sender: No OFD packet to send [17:16:57]OFD Sender: No OFD packet to send [17:17:02]OFD Sender: No OFD packet to send [17:17:07]OFD Sender: No OFD packet to send [17:17:12]OFD Sender: No OFD packet to send [17:17:17]OFD Sender: No OFD packet to send [17:17:22]OFD Sender: No OFD packet to send [17:17:27]OFD Sender: No OFD packet to send [17:17:32]OFD Sender: No OFD packet to send [17:17:37]OFD Sender: No OFD packet to send [17:17:42]OFD Sender: No OFD packet to send [17:17:47]OFD Sender: No OFD packet to send [17:17:52]OFD Sender: No OFD packet to send [17:17:57]OFD Sender: No OFD packet to send [17:18:02]OFD Sender: No OFD packet to send [17:18:07]OFD Sender: No OFD packet to send [17:18:12]OFD Sender: No OFD packet to send [17:18:17]OFD Sender: No OFD packet to send [17:18:22]OFD Sender: No OFD packet to send [17:18:27]OFD Sender: No OFD packet to send [17:18:32]OFD Sender: No OFD packet to send [17:18:37]OFD Sender: No OFD packet to send [17:18:42]OFD Sender: No OFD packet to send [17:18:47]OFD Sender: No OFD packet to send [17:18:52]OFD Sender: No OFD packet to send [17:18:57]OFD Sender: No OFD packet to send [17:19:02]OFD Sender: No OFD packet to send [17:19:07]OFD Sender: No OFD packet to send [17:19:12]OFD Sender: No OFD packet to send [17:19:17]OFD Sender: No OFD packet to send [17:19:22]OFD Sender: No OFD packet to send [17:19:27]OFD Sender: No OFD packet to send [17:19:32]OFD Sender: No OFD packet to send [17:19:37]OFD Sender: No OFD packet to send [17:19:42]OFD Sender: No OFD packet to send [17:19:47]OFD Sender: No OFD packet to send [17:19:52]OFD Sender: No OFD packet to send [17:19:57]OFD Sender: No OFD packet to send [17:20:02]OFD Sender: No OFD packet to send [17:20:07]OFD Sender: No OFD packet to send [17:20:12]OFD Sender: No OFD packet to send [17:20:17]OFD Sender: No OFD packet to send [17:20:22]OFD Sender: No OFD packet to send [17:20:27]OFD Sender: No OFD packet to send [17:20:32]OFD Sender: No OFD packet to send [17:20:37]OFD Sender: No OFD packet to send [17:20:42]OFD Sender: No OFD packet to send [17:20:47]OFD Sender: No OFD packet to send [17:20:52]OFD Sender: No OFD packet to send [17:20:57]OFD Sender: No OFD packet to send [17:21:02]OFD Sender: No OFD packet to send [17:21:07]OFD Sender: No OFD packet to send [17:21:12]OFD Sender: No OFD packet to send [17:21:17]OFD Sender: No OFD packet to send [17:21:22]OFD Sender: No OFD packet to send [17:21:27]OFD Sender: No OFD packet to send [17:21:32]OFD Sender: No OFD packet to send [17:21:37]OFD Sender: No OFD packet to send [17:21:42]OFD Sender: No OFD packet to send [17:21:47]OFD Sender: No OFD packet to send [17:21:52]OFD Sender: No OFD packet to send [17:21:57]OFD Sender: No OFD packet to send [17:22:02]OFD Sender: No OFD packet to send [17:22:07]OFD Sender: No OFD packet to send [17:22:12]OFD Sender: No OFD packet to send [17:22:17]OFD Sender: No OFD packet to send [17:22:22]OFD Sender: No OFD packet to send [17:22:27]OFD Sender: No OFD packet to send [17:22:32]OFD Sender: No OFD packet to send [17:22:37]OFD Sender: No OFD packet to send [17:22:42]OFD Sender: No OFD packet to send [17:22:47]OFD Sender: No OFD packet to send [17:22:52]OFD Sender: No OFD packet to send [17:22:57]OFD Sender: No OFD packet to send [17:23:02]OFD Sender: No OFD packet to send [17:23:08]OFD Sender: No OFD packet to send [17:23:13]OFD Sender: No OFD packet to send [17:23:18]OFD Sender: No OFD packet to send [17:23:23]OFD Sender: No OFD packet to send [17:23:28]OFD Sender: No OFD packet to send [17:23:33]OFD Sender: No OFD packet to send [17:23:38]OFD Sender: No OFD packet to send [17:23:43]OFD Sender: No OFD packet to send [17:23:48]OFD Sender: No OFD packet to send [17:23:53]OFD Sender: No OFD packet to send [17:23:58]OFD Sender: No OFD packet to send [17:24:03]OFD Sender: No OFD packet to send [17:24:08]OFD Sender: No OFD packet to send [17:24:13]OFD Sender: No OFD packet to send [17:24:18]OFD Sender: No OFD packet to send [17:24:23]OFD Sender: No OFD packet to send [17:24:28]OFD Sender: No OFD packet to send [17:24:33]OFD Sender: No OFD packet to send [17:24:38]OFD Sender: No OFD packet to send [17:24:43]OFD Sender: No OFD packet to send [17:24:48]OFD Sender: No OFD packet to send [17:24:53]OFD Sender: No OFD packet to send [17:24:58]OFD Sender: No OFD packet to send [17:25:03]OFD Sender: No OFD packet to send [17:25:08]OFD Sender: No OFD packet to send [17:25:13]OFD Sender: No OFD packet to send [17:25:18]OFD Sender: No OFD packet to send [17:25:23]OFD Sender: No OFD packet to send [17:25:28]OFD Sender: No OFD packet to send [17:25:33]OFD Sender: No OFD packet to send [17:25:38]OFD Sender: No OFD packet to send [17:25:43]OFD Sender: No OFD packet to send [17:25:48]OFD Sender: No OFD packet to send [17:25:53]OFD Sender: No OFD packet to send [17:25:58]OFD Sender: No OFD packet to send [17:26:03]OFD Sender: No OFD packet to send [17:26:08]OFD Sender: No OFD packet to send [17:26:13]OFD Sender: No OFD packet to send [17:26:18]OFD Sender: No OFD packet to send [17:26:23]OFD Sender: No OFD packet to send [17:26:28]OFD Sender: No OFD packet to send [17:26:33]OFD Sender: No OFD packet to send [17:26:38]OFD Sender: No OFD packet to send [17:26:43]OFD Sender: No OFD packet to send [17:26:48]OFD Sender: No OFD packet to send [17:26:53]OFD Sender: No OFD packet to send [17:26:58]OFD Sender: No OFD packet to send [17:27:03]OFD Sender: No OFD packet to send [17:27:08]OFD Sender: No OFD packet to send [17:27:13]OFD Sender: No OFD packet to send [17:27:18]OFD Sender: No OFD packet to send [17:27:23]OFD Sender: No OFD packet to send [17:27:28]OFD Sender: No OFD packet to send [17:27:33]OFD Sender: No OFD packet to send [17:27:38]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:30]accept exits with 10 [17:30:30]New connection [17:30:30]New thread 3067452772 created [17:30:30]Thread 3067596132 joined [17:30:30]Waiting for new connection... [17:30:30] Sock 10.Parse request [17:30:30]Sock 10.Check first char [17:30:30]Sock 10.First char is OK [17:30:30]request: POST /json_proto HTTP/1.0 [17:30:30]Method: POST [17:30:30]URL: /json_proto [17:30:30]Method is POST - this is cgi request [17:30:30]url: /json_proto [17:30:30]query_string will be loaded in cgi processing [17:30:30]execute_cgi json_proto POST (null) [17:30:30]execute_cgi path=json_proto method=POST [17:30:30]POST find Content-Length [17:30:30]Host: 172.17.50.4:8080 [17:30:30]Content-Length: 608 [17:30:30]Content-Type: application/json [17:30:30] [17:30:30]POST finish read [17:30:30]Found Content-Length = 608 [17:30:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134947", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:30:30]execute_script... [17:30:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134947", "tax_sys" : 0, "items" : [ { "code": "46231529", "name": "Mentos \u041F\u0424 \u0410\u0440\u0431\u0443\u0437 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:30:30]POST & json_proto [17:30:30]process_json_proto [17:30:30]json parsed OK: [17:30:30]protocol is kg_v1.0 [17:30:30]action value=close_receipt [17:30:30]process_action close_receipt [17:30:30]cmd_close_receipt [17:30:30]MH_GetDate [17:30:30]Write to MH i2c: F0 00 00 CE 0F CC [17:30:30]Write i2c OK [17:30:30]MH_I2C_Read... [17:30:30]Read from MH i2c: F0 [17:30:30]MH_I2C_Read... [17:30:30]Read from MH i2c: F0 09 00 [17:30:30]MH_I2C_Read... [17:30:30]Read from MH i2c: F0 09 00 CE 0F 00 3B E1 17 67 3B 12 16 67 39 [17:30:30]GetLastDocTimeStamp 1729614622 [17:30:30]current date 1729618235 [17:30:30]FM_GetShiftState [17:30:30]SAM_PROTO_GetShiftState [17:30:30]wFMCommunicate request_size=4 [17:30:30]MH_SAM_APDU [17:30:30]CAPDU: 80 13 01 00 [17:30:30]Write to MH i2c: E2 08 00 CF 0F 80 13 01 00 00 00 00 00 5B [17:30:30]Write i2c OK [17:30:30]MH_I2C_Read... [17:30:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:30:30]Read from MH i2c: E2 [17:30:30]MH_I2C_Read... [17:30:30]Read from MH i2c: E2 0E 00 [17:30:30]MH_I2C_Read... [17:30:30]Read from MH i2c: E2 0E 00 CF 0F 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 53 [17:30:30]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [17:30:30]wFMCommunicate OK [17:30:30]SAM_PROTO_GetShiftState done [17:30:30]FM_GetShiftState done [17:30:31]opened in 1729555332 [17:30:31]opened+sec_in_day 1729641732 [17:30:31]quantity*price = 1000 [17:30:31]sum+1 = 1001 [17:30:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 48 22.10.2024 17:30 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24429 ФПД: 29983428378018 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T173035&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24429&fm=29983428378018&tin=02508201610067®Number=0000000000098120&sum=1000 0 [17:30:32]StoreToDocumentArchive [17:30:32]shift 462 fd 24429 [17:30:32]save to /storage/0462/doc_00024429 [17:30:32]save last doc name /storage/0462/doc_00024429 to /storage/kkm_last_doc_name [17:30:32]save OK [17:30:32]Clear old archive folders... [17:30:32]ProcessDocumentItem done err = 0, tmpTLVsize=267 [17:30:32]tlvbuf is 00D568A0 [17:30:32]SAM_PROTO_ClearQueue [17:30:32]wFMCommunicate request_size=4 [17:30:32]MH_SAM_APDU [17:30:32]CAPDU: 80 09 00 00 [17:30:32]Write to MH i2c: E2 08 00 DC 0F 80 09 00 00 00 00 00 00 5D [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:30:32]Read from MH i2c: E2 03 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 DC 0F 00 90 00 5F [17:30:32]RAPDU: 90 00 [17:30:32]wFMCommunicate OK [17:30:32]SAM_PROTO_ClearQueue done [17:30:32]KKMCreateOFDPacket [17:30:32]OFDProtocolAddRootSTLVToBuf [17:30:32]FM_MakeSignedData [17:30:32]FM_MakeSignedData [17:30:32]SAM_PROTO_SignData [17:30:32]wFMCommunicate request_size=4 [17:30:32]MH_SAM_APDU [17:30:32]CAPDU: 80 0D 01 02 [17:30:32]Write to MH i2c: E2 08 00 DD 0F 80 0D 01 02 00 00 00 00 65 [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 DD 0F 00 90 00 60 [17:30:32]RAPDU: 90 00 [17:30:32]wFMCommunicate OK [17:30:32]wFMCommunicate request_size=255 [17:30:32]MH_SAM_APDU [17:30:32]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 30 00 00 00 F4 03 04 00 3B E1 17 67 0E 04 04 00 CE 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 [17:30:32]Write to MH i2c: E2 02 01 DE 0F 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 30 00 00 00 F4 03 04 00 3B E1 17 67 0E 04 04 00 CE 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 90 [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:30:32]Read from MH i2c: E2 03 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 DE 0F 00 90 00 61 [17:30:32]RAPDU: 90 00 [17:30:32]wFMCommunicate OK [17:30:32]wFMCommunicate request_size=26 [17:30:32]MH_SAM_APDU [17:30:32]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 6D 5F 00 00 35 04 06 00 1B 45 0F 98 FD A2 [17:30:32]Write to MH i2c: E2 1D 00 DF 0F 80 0D 02 02 15 00 34 32 30 10 04 04 00 6D 5F 00 00 35 04 06 00 1B 45 0F 98 FD A2 00 00 F1 [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 03 00 DF 0F 00 90 00 62 [17:30:32]RAPDU: 90 00 [17:30:32]wFMCommunicate OK [17:30:32]wFMCommunicate request_size=4 [17:30:32]MH_SAM_APDU [17:30:32]CAPDU: 80 0D 03 02 [17:30:32]Write to MH i2c: E2 08 00 E0 0F 80 0D 03 02 00 00 00 00 6A [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 0B 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 0B 00 E0 0F 00 AD 66 A3 D0 7C 4B 02 50 90 00 0A [17:30:32]RAPDU: AD 66 A3 D0 7C 4B 02 50 90 00 [17:30:32]wFMCommunicate OK [17:30:32]SAM_PROTO_SignData done [17:30:32]FM_MakeSignedData done [17:30:32]CreateOFDProtocolMessage [17:30:32]wFMCommunicate request_size=4 [17:30:32]MH_SAM_APDU [17:30:32]CAPDU: 80 11 00 00 [17:30:32]Write to MH i2c: E2 08 00 E1 0F 80 11 00 00 00 00 00 00 6A [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:30:32]Read from MH i2c: E2 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 17 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: E2 17 00 E1 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B7 [17:30:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:30:32]wFMCommunicate OK [17:30:32]CreateOFDProtocolMessage done [17:30:32]OFDSenderStorePacket 24429 [17:30:32]StoreOFDPacket docnum=24429 [17:30:32]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 37 17 01 57 13 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 30 00 00 00 F4 03 04 00 3B E1 17 67 0E 04 04 00 CE 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 6D 5F 00 00 35 04 06 00 1B 45 0F 98 FD A2 AD 66 A3 D0 7C 4B 02 50 [17:30:32]CheckFolder [17:30:32]dirname=/storage/ofd_packets [17:30:32]CheckFolder done [17:30:32]ProducePacketName [17:30:32]name=ofd_packets/00024429 [17:30:32]NVStorageSaveData ofd_packets/00024429 [17:30:32]File name is /storage/ofd_packets/00024429 [17:30:32]Write 317 bytes [17:30:32]NVStorageSaveData done [17:30:32]OFDSenderStorePacket done [17:30:32]KKMCreateOFDPacket done [17:30:32]NVStorageSaveData kkm_last_timestamp [17:30:32]File name is /storage/kkm_last_timestamp [17:30:32]Write 4 bytes [17:30:32]NVStorageSaveData done [17:30:32]ExternCall_PrintAddStr [17:30:32]wPrintStart [17:30:32]Write to MH i2c: 01 00 00 E2 0F F1 [17:30:32]Write i2c OK [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: 01 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: 01 07 00 [17:30:32]MH_I2C_Read... [17:30:32]Read from MH i2c: 01 07 00 E2 0F 00 00 00 00 00 FF 0F 06 [17:30:32]RasterBufferAndPrint [17:30:32]line Счет N : (3)134947 [17:30:32]line ИНН: 02508201610067 [17:30:32]line Контрольно-Кассовый Чек [17:30:32]line ПРОДАЖА [17:30:32]line Товар: 46231529 [17:30:32]line Mentos ПФ Арбуз 6*100*2 [17:30:32]line 1.000 * 10.00 [17:30:32]line = 10.00 [17:30:32]line НДС 12% НСП 1% [17:30:32]line > о реализуемом товаре [17:30:32]line ИТОГО: 10.00 [17:30:32]line НСП 1% : 0.09 [17:30:32]line НДС 12% : 1.06 [17:30:32]line Наличными: 10.00 [17:30:32]line Безнал.: 0.00 [17:30:32]line Место: АЗС № 85 "Партнер Нефть" [17:30:32]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [17:30:32]line СНО: Общий режим [17:30:32]line Чек 48 22.10.2024 17:30 [17:30:32]line Смена: 462 ФФД: 1.0 [17:30:32]line ЗНМ: 0300000166 [17:30:32]line РНМ: 0000000000098120 [17:30:32]line Версия ККМ: 001 [17:30:32]line ФМ: 0000000000965420 [17:30:32]line ФД: 24429 [17:30:32]line ФПД: 29983428378018 [17:30:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T173035&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24429&fm=29983428378018&tin=02508201610067®Number=0000000000098120&sum=1000 [17:30:33]OFD Sender: Processing packet 24429 [packets to send 5, broken 4] [17:30:33]ProducePacketName [17:30:33]name=ofd_packets/00024429 [17:30:33]OFD Sender: To server: pG, [17:30:33]CommunicateWithHost lk.salyk.kg:30040 [17:30:33]ConnectInit lk.salyk.kg [17:30:33]line 0 [17:30:33]written 0, free lines is 4095 [17:30:33]Connected sock=9 [17:30:33]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 37 17 01 57 13 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 30 00 00 00 F4 03 04 00 3B E1 17 67 0E 04 04 00 CE 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 6D 5F 00 00 35 04 06 00 1B 45 0F 98 FD A2 AD 66 A3 D0 7C 4B 02 50 [17:30:33]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 FA 47 00 A3 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 6D 5F 00 00 F4 03 04 00 DE 8C 17 67 B6 04 01 00 00 CD 4F 08 8C 27 54 AC 0C [17:30:33]CommunicateWithHost err = 0 [17:30:33]CheckOFDResponse [17:30:33]1017 (14) - 77093643461234 [17:30:33]1041 (16) - 0000000000965420 [17:30:33]1040 (4) - 24429 [17:30:33]1012 (4) - 22.10.2024 11:30 [17:30:33]1206 (1) - 0 [17:30:33]OFD Sender: Remove packet 24429 [17:30:33]ProducePacketName [17:30:33]name=ofd_packets/00024429 [17:30:33]NVStorageDeleteData [17:30:33]Write to MH i2c: 01 00 00 0A 10 1A [17:30:33]Write i2c OK [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: 01 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: 01 07 00 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: 01 07 00 0A 10 00 00 00 00 00 1F 0D 4D [17:30:33]RasterBufferAndPrint [17:30:33]line [17:30:33]line [17:30:33]line [17:30:33]line [17:30:33]line [17:30:33]written 0, free lines is 3365 [17:30:33]process_action close_receipt done [17:30:33]requested_data is exist [17:30:33]produce_requested_data [17:30:33]requested_item fm.sn is exist - process it [17:30:33]wFMCommunicate request_size=4 [17:30:33]MH_SAM_APDU [17:30:33]CAPDU: 80 11 00 00 [17:30:33]Write to MH i2c: E2 08 00 11 10 80 11 00 00 00 00 00 00 9B [17:30:33]Write i2c OK [17:30:33]MH_I2C_Read... [17:30:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:30:33]Read from MH i2c: E2 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 17 00 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 17 00 11 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E8 [17:30:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [17:30:33]wFMCommunicate OK [17:30:33]requested_item fd.num is exist - process it [17:30:33]SAM_PROTO_GetFieldsCounters [17:30:33]wFMCommunicate request_size=4 [17:30:33]MH_SAM_APDU [17:30:33]CAPDU: 80 13 00 00 [17:30:33]Write to MH i2c: E2 08 00 12 10 80 13 00 00 00 00 00 00 9E [17:30:33]Write i2c OK [17:30:33]MH_I2C_Read... [17:30:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:30:33]Read from MH i2c: E2 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 62 00 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 62 00 12 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 6D 5F 00 00 0E 04 04 00 CE 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 DF [17:30:33]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 6D 5F 00 00 0E 04 04 00 CE 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:30:33]wFMCommunicate OK [17:30:33]SAM_PROTO_GetFieldsCounters done [17:30:33]requested_item shift.num is exist - process it [17:30:33]requested_item shift.opened is exist - process it [17:30:33]req_shift_opened [17:30:33]FM_GetShiftState [17:30:33]SAM_PROTO_GetShiftState [17:30:33]wFMCommunicate request_size=4 [17:30:33]MH_SAM_APDU [17:30:33]CAPDU: 80 13 01 00 [17:30:33]Write to MH i2c: E2 08 00 13 10 80 13 01 00 00 00 00 00 A0 [17:30:33]Write i2c OK [17:30:33]MH_I2C_Read... [17:30:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:30:33]Read from MH i2c: E2 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 0E 00 [17:30:33]MH_I2C_Read... [17:30:33]Read from MH i2c: E2 0E 00 13 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 98 [17:30:33]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [17:30:33]wFMCommunicate OK [17:30:33]SAM_PROTO_GetShiftState done [17:30:33]FM_GetShiftState done [17:30:33]req_shift_opened done [17:30:33]requested_item shift.open_date is exist - process it [17:30:33]req_shift_open_date [17:30:33]req_shift_open_date done [17:30:33]produce_requested_data done [17:30:33]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24429,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [17:30:33]process_action_free close_receipt [17:30:33]json_value_free [17:30:33]json_value_free done [17:30:33]process_json_proto returns [17:30:33]Send response to host [17:30:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24429,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [17:30:33]free response buf [17:30:33]execute_script done [17:30:33]execute_script returns [17:30:33]free content buf [17:30:33]Sock 10.Close socket [17:30:33]Sock 10.Thread stoped [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:29]OFD Sender: No OFD packet to send [17:34:34]OFD Sender: No OFD packet to send [17:34:39]OFD Sender: No OFD packet to send [17:34:44]OFD Sender: No OFD packet to send [17:34:49]OFD Sender: No OFD packet to send [17:34:54]OFD Sender: No OFD packet to send [17:34:59]OFD Sender: No OFD packet to send [17:35:04]OFD Sender: No OFD packet to send [17:35:09]OFD Sender: No OFD packet to send [17:35:14]OFD Sender: No OFD packet to send [17:35:19]OFD Sender: No OFD packet to send [17:35:24]OFD Sender: No OFD packet to send [17:35:29]OFD Sender: No OFD packet to send [17:35:34]OFD Sender: No OFD packet to send [17:35:39]OFD Sender: No OFD packet to send [17:35:44]OFD Sender: No OFD packet to send [17:35:49]OFD Sender: No OFD packet to send [17:35:54]OFD Sender: No OFD packet to send [17:35:59]OFD Sender: No OFD packet to send [17:36:04]OFD Sender: No OFD packet to send [17:36:09]OFD Sender: No OFD packet to send [17:36:14]OFD Sender: No OFD packet to send [17:36:19]OFD Sender: No OFD packet to send [17:36:24]OFD Sender: No OFD packet to send [17:36:29]OFD Sender: No OFD packet to send [17:36:34]OFD Sender: No OFD packet to send [17:36:39]OFD Sender: No OFD packet to send [17:36:44]OFD Sender: No OFD packet to send [17:36:49]OFD Sender: No OFD packet to send [17:36:54]OFD Sender: No OFD packet to send [17:36:59]OFD Sender: No OFD packet to send [17:37:04]OFD Sender: No OFD packet to send [17:37:09]OFD Sender: No OFD packet to send [17:37:14]OFD Sender: No OFD packet to send [17:37:19]OFD Sender: No OFD packet to send [17:37:24]OFD Sender: No OFD packet to send [17:37:29]OFD Sender: No OFD packet to send [17:37:34]OFD Sender: No OFD packet to send [17:37:39]OFD Sender: No OFD packet to send [17:37:44]OFD Sender: No OFD packet to send [17:37:49]OFD Sender: No OFD packet to send [17:37:54]OFD Sender: No OFD packet to send [17:37:59]OFD Sender: No OFD packet to send [17:38:04]OFD Sender: No OFD packet to send [17:38:09]OFD Sender: No OFD packet to send [17:38:14]OFD Sender: No OFD packet to send [17:38:19]OFD Sender: No OFD packet to send [17:38:24]OFD Sender: No OFD packet to send [17:38:29]OFD Sender: No OFD packet to send [17:38:34]OFD Sender: No OFD packet to send [17:38:39]OFD Sender: No OFD packet to send [17:38:44]OFD Sender: No OFD packet to send [17:38:49]OFD Sender: No OFD packet to send [17:38:54]OFD Sender: No OFD packet to send [17:38:59]OFD Sender: No OFD packet to send [17:39:04]OFD Sender: No OFD packet to send [17:39:09]OFD Sender: No OFD packet to send [17:39:14]OFD Sender: No OFD packet to send [17:39:19]OFD Sender: No OFD packet to send [17:39:24]OFD Sender: No OFD packet to send [17:39:29]OFD Sender: No OFD packet to send [17:39:34]OFD Sender: No OFD packet to send [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:49]OFD Sender: No OFD packet to send [17:48:54]OFD Sender: No OFD packet to send [17:48:59]OFD Sender: No OFD packet to send [17:49:04]OFD Sender: No OFD packet to send [17:49:09]OFD Sender: No OFD packet to send [17:49:14]OFD Sender: No OFD packet to send [17:49:19]OFD Sender: No OFD packet to send [17:49:24]OFD Sender: No OFD packet to send [17:49:29]OFD Sender: No OFD packet to send [17:49:34]OFD Sender: No OFD packet to send [17:49:39]OFD Sender: No OFD packet to send [17:49:44]OFD Sender: No OFD packet to send [17:49:49]OFD Sender: No OFD packet to send [17:49:54]OFD Sender: No OFD packet to send [17:49:59]OFD Sender: No OFD packet to send [17:50:04]OFD Sender: No OFD packet to send [17:50:09]OFD Sender: No OFD packet to send [17:50:14]OFD Sender: No OFD packet to send [17:50:19]OFD Sender: No OFD packet to send [17:50:24]OFD Sender: No OFD packet to send [17:50:29]OFD Sender: No OFD packet to send [17:50:34]OFD Sender: No OFD packet to send [17:50:39]OFD Sender: No OFD packet to send [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:05]OFD Sender: No OFD packet to send [17:56:10]OFD Sender: No OFD packet to send [17:56:15]OFD Sender: No OFD packet to send [17:56:20]OFD Sender: No OFD packet to send [17:56:25]OFD Sender: No OFD packet to send [17:56:30]OFD Sender: No OFD packet to send [17:56:35]OFD Sender: No OFD packet to send [17:56:40]OFD Sender: No OFD packet to send [17:56:45]OFD Sender: No OFD packet to send [17:56:50]OFD Sender: No OFD packet to send [17:56:55]OFD Sender: No OFD packet to send [17:57:00]OFD Sender: No OFD packet to send [17:57:05]OFD Sender: No OFD packet to send [17:57:10]OFD Sender: No OFD packet to send [17:57:15]OFD Sender: No OFD packet to send [17:57:20]OFD Sender: No OFD packet to send [17:57:25]OFD Sender: No OFD packet to send [17:57:30]OFD Sender: No OFD packet to send [17:57:35]OFD Sender: No OFD packet to send [17:57:40]OFD Sender: No OFD packet to send [17:57:45]OFD Sender: No OFD packet to send [17:57:50]OFD Sender: No OFD packet to send [17:57:55]OFD Sender: No OFD packet to send [17:58:00]OFD Sender: No OFD packet to send [17:58:05]OFD Sender: No OFD packet to send [17:58:10]OFD Sender: No OFD packet to send [17:58:15]OFD Sender: No OFD packet to send [17:58:20]OFD Sender: No OFD packet to send [17:58:25]OFD Sender: No OFD packet to send [17:58:30]OFD Sender: No OFD packet to send [17:58:35]OFD Sender: No OFD packet to send [17:58:40]OFD Sender: No OFD packet to send [17:58:45]OFD Sender: No OFD packet to send [17:58:50]OFD Sender: No OFD packet to send [17:58:55]OFD Sender: No OFD packet to send [17:59:00]OFD Sender: No OFD packet to send [17:59:05]OFD Sender: No OFD packet to send [17:59:10]OFD Sender: No OFD packet to send [17:59:15]OFD Sender: No OFD packet to send [17:59:20]OFD Sender: No OFD packet to send [17:59:25]OFD Sender: No OFD packet to send [17:59:30]OFD Sender: No OFD packet to send [17:59:35]OFD Sender: No OFD packet to send [17:59:40]OFD Sender: No OFD packet to send [17:59:45]OFD Sender: No OFD packet to send [17:59:50]OFD Sender: No OFD packet to send [17:59:55]OFD Sender: No OFD packet to send [18:00:00]OFD Sender: No OFD packet to send [18:00:05]OFD Sender: No OFD packet to send [18:00:10]OFD Sender: No OFD packet to send [18:00:15]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:20]OFD Sender: No OFD packet to send [18:09:25]OFD Sender: No OFD packet to send [18:09:30]OFD Sender: No OFD packet to send [18:09:35]OFD Sender: No OFD packet to send [18:09:40]OFD Sender: No OFD packet to send [18:09:45]OFD Sender: No OFD packet to send [18:09:50]OFD Sender: No OFD packet to send [18:09:55]OFD Sender: No OFD packet to send [18:10:00]OFD Sender: No OFD packet to send [18:10:05]OFD Sender: No OFD packet to send [18:10:10]OFD Sender: No OFD packet to send [18:10:15]OFD Sender: No OFD packet to send [18:10:20]OFD Sender: No OFD packet to send [18:10:25]OFD Sender: No OFD packet to send [18:10:30]OFD Sender: No OFD packet to send [18:10:35]OFD Sender: No OFD packet to send [18:10:40]OFD Sender: No OFD packet to send [18:10:45]OFD Sender: No OFD packet to send [18:10:50]OFD Sender: No OFD packet to send [18:10:55]OFD Sender: No OFD packet to send [18:11:00]OFD Sender: No OFD packet to send [18:11:05]OFD Sender: No OFD packet to send [18:11:10]OFD Sender: No OFD packet to send [18:11:15]OFD Sender: No OFD packet to send [18:11:20]OFD Sender: No OFD packet to send [18:11:25]OFD Sender: No OFD packet to send [18:11:30]OFD Sender: No OFD packet to send [18:11:35]OFD Sender: No OFD packet to send [18:11:40]OFD Sender: No OFD packet to send [18:11:45]OFD Sender: No OFD packet to send [18:11:50]OFD Sender: No OFD packet to send [18:11:55]OFD Sender: No OFD packet to send [18:12:00]OFD Sender: No OFD packet to send [18:12:05]OFD Sender: No OFD packet to send [18:12:10]OFD Sender: No OFD packet to send [18:12:15]OFD Sender: No OFD packet to send [18:12:20]OFD Sender: No OFD packet to send [18:12:25]OFD Sender: No OFD packet to send [18:12:30]OFD Sender: No OFD packet to send [18:12:35]OFD Sender: No OFD packet to send [18:12:40]OFD Sender: No OFD packet to send [18:12:45]OFD Sender: No OFD packet to send [18:12:50]OFD Sender: No OFD packet to send [18:12:55]OFD Sender: No OFD packet to send [18:13:00]OFD Sender: No OFD packet to send [18:13:05]OFD Sender: No OFD packet to send [18:13:10]OFD Sender: No OFD packet to send [18:13:15]OFD Sender: No OFD packet to send [18:13:20]OFD Sender: No OFD packet to send [18:13:25]OFD Sender: No OFD packet to send [18:13:30]OFD Sender: No OFD packet to send [18:13:35]OFD Sender: No OFD packet to send [18:13:40]OFD Sender: No OFD packet to send [18:13:45]OFD Sender: No OFD packet to send [18:13:50]OFD Sender: No OFD packet to send [18:13:55]OFD Sender: No OFD packet to send [18:14:00]OFD Sender: No OFD packet to send [18:14:05]OFD Sender: No OFD packet to send [18:14:10]OFD Sender: No OFD packet to send [18:14:15]OFD Sender: No OFD packet to send [18:14:20]OFD Sender: No OFD packet to send [18:14:25]OFD Sender: No OFD packet to send [18:14:30]OFD Sender: No OFD packet to send [18:14:35]OFD Sender: No OFD packet to send [18:14:40]OFD Sender: No OFD packet to send [18:14:45]OFD Sender: No OFD packet to send [18:14:50]OFD Sender: No OFD packet to send [18:14:55]OFD Sender: No OFD packet to send [18:15:00]OFD Sender: No OFD packet to send [18:15:05]OFD Sender: No OFD packet to send [18:15:10]OFD Sender: No OFD packet to send [18:15:15]OFD Sender: No OFD packet to send [18:15:20]OFD Sender: No OFD packet to send [18:15:25]OFD Sender: No OFD packet to send [18:15:30]OFD Sender: No OFD packet to send [18:15:35]OFD Sender: No OFD packet to send [18:15:40]OFD Sender: No OFD packet to send [18:15:45]OFD Sender: No OFD packet to send [18:15:50]OFD Sender: No OFD packet to send [18:15:55]OFD Sender: No OFD packet to send [18:16:00]OFD Sender: No OFD packet to send [18:16:05]OFD Sender: No OFD packet to send [18:16:10]OFD Sender: No OFD packet to send [18:16:15]OFD Sender: No OFD packet to send [18:16:20]OFD Sender: No OFD packet to send [18:16:25]OFD Sender: No OFD packet to send [18:16:30]OFD Sender: No OFD packet to send [18:16:35]OFD Sender: No OFD packet to send [18:16:40]OFD Sender: No OFD packet to send [18:16:45]OFD Sender: No OFD packet to send [18:16:50]OFD Sender: No OFD packet to send [18:16:55]OFD Sender: No OFD packet to send [18:17:00]OFD Sender: No OFD packet to send [18:17:05]OFD Sender: No OFD packet to send [18:17:10]OFD Sender: No OFD packet to send [18:17:15]OFD Sender: No OFD packet to send [18:17:19]accept exits with 7 [18:17:19]New connection [18:17:19]New thread 3067596132 created [18:17:19]Thread 3067452772 joined [18:17:19]Waiting for new connection... [18:17:19] Sock 7.Parse request [18:17:19]Sock 7.Check first char [18:17:19]Sock 7.First char is OK [18:17:19]request: POST /json_proto HTTP/1.0 [18:17:19]Method: POST [18:17:19]URL: /json_proto [18:17:19]Method is POST - this is cgi request [18:17:19]url: /json_proto [18:17:19]query_string will be loaded in cgi processing [18:17:19]execute_cgi json_proto POST (null) [18:17:19]execute_cgi path=json_proto method=POST [18:17:19]POST find Content-Length [18:17:19]Host: 172.17.50.4:8080 [18:17:19]Content-Length: 626 [18:17:19]Content-Type: application/json [18:17:19] [18:17:19]POST finish read [18:17:19]Found Content-Length = 626 [18:17:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134948", "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" ] } } [18:17:19]execute_script... [18:17: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)134948", "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" ] } } [18:17:19]POST & json_proto [18:17:19]process_json_proto [18:17:19]json parsed OK: [18:17:19]protocol is kg_v1.0 [18:17:19]action value=close_receipt [18:17:19]process_action close_receipt [18:17:19]cmd_close_receipt [18:17:19]MH_GetDate [18:17:19]Write to MH i2c: F0 00 00 14 10 13 [18:17:19]Write i2c OK [18:17:19]MH_I2C_Read... [18:17:19]Read from MH i2c: F0 [18:17:19]MH_I2C_Read... [18:17:19]Read from MH i2c: F0 09 00 [18:17:19]MH_I2C_Read... [18:17:19]Read from MH i2c: F0 09 00 14 10 00 34 EC 17 67 3B 12 16 67 84 [18:17:19]GetLastDocTimeStamp 1729618235 [18:17:19]current date 1729621044 [18:17:19]FM_GetShiftState [18:17:19]SAM_PROTO_GetShiftState [18:17:19]wFMCommunicate request_size=4 [18:17:19]MH_SAM_APDU [18:17:19]CAPDU: 80 13 01 00 [18:17:19]Write to MH i2c: E2 08 00 15 10 80 13 01 00 00 00 00 00 A2 [18:17:19]Write i2c OK [18:17:19]MH_I2C_Read... [18:17:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:19]Read from MH i2c: E2 [18:17:19]MH_I2C_Read... [18:17:19]Read from MH i2c: E2 0E 00 [18:17:19]MH_I2C_Read... [18:17:19]Read from MH i2c: E2 0E 00 15 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 9A [18:17:19]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:17:19]wFMCommunicate OK [18:17:19]SAM_PROTO_GetShiftState done [18:17:19]FM_GetShiftState done [18:17:19]opened in 1729555332 [18:17:19]opened+sec_in_day 1729641732 [18:17:19]quantity*price = 13900 [18:17:19]sum+1 = 13901 [18:17:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 49 22.10.2024 18:17 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24430 ФПД: 211914254038360 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T181724&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24430&fm=211914254038360&tin=02508201610067®Number=0000000000098120&sum=13900 0 [18:17:20]StoreToDocumentArchive [18:17:20]shift 462 fd 24430 [18:17:20]save to /storage/0462/doc_00024430 [18:17:20]save last doc name /storage/0462/doc_00024430 to /storage/kkm_last_doc_name [18:17:20]save OK [18:17:20]Clear old archive folders... [18:17:20]ProcessDocumentItem done err = 0, tmpTLVsize=278 [18:17:20]tlvbuf is 00DA56D0 [18:17:20]SAM_PROTO_ClearQueue [18:17:20]wFMCommunicate request_size=4 [18:17:20]MH_SAM_APDU [18:17:20]CAPDU: 80 09 00 00 [18:17:20]Write to MH i2c: E2 08 00 22 10 80 09 00 00 00 00 00 00 A4 [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]OFD Sender: No OFD packet to send [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:17:21]Read from MH i2c: E2 03 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 22 10 00 90 00 A6 [18:17:21]RAPDU: 90 00 [18:17:21]wFMCommunicate OK [18:17:21]SAM_PROTO_ClearQueue done [18:17:21]KKMCreateOFDPacket [18:17:21]OFDProtocolAddRootSTLVToBuf [18:17:21]FM_MakeSignedData [18:17:21]FM_MakeSignedData [18:17:21]SAM_PROTO_SignData [18:17:21]wFMCommunicate request_size=4 [18:17:21]MH_SAM_APDU [18:17:21]CAPDU: 80 0D 01 02 [18:17:21]Write to MH i2c: E2 08 00 23 10 80 0D 01 02 00 00 00 00 AC [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 23 10 00 90 00 A7 [18:17:21]RAPDU: 90 00 [18:17:21]wFMCommunicate OK [18:17:21]wFMCommunicate request_size=255 [18:17:21]MH_SAM_APDU [18:17:21]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 31 00 00 00 F4 03 04 00 34 EC 17 67 0E 04 04 00 CE 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 [18:17:21]Write to MH i2c: E2 02 01 24 10 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 31 00 00 00 F4 03 04 00 34 EC 17 67 0E 04 04 00 CE 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 85 [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 24 10 00 90 00 A8 [18:17:21]RAPDU: 90 00 [18:17:21]wFMCommunicate OK [18:17:21]wFMCommunicate request_size=37 [18:17:21]MH_SAM_APDU [18:17:21]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 6E 5F 00 00 35 04 06 00 C0 BC 21 D5 B5 58 [18:17:21]Write to MH i2c: E2 28 00 25 10 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 6E 5F 00 00 35 04 06 00 C0 BC 21 D5 B5 58 00 00 4C [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 03 00 25 10 00 90 00 A9 [18:17:21]RAPDU: 90 00 [18:17:21]wFMCommunicate OK [18:17:21]wFMCommunicate request_size=4 [18:17:21]MH_SAM_APDU [18:17:21]CAPDU: 80 0D 03 02 [18:17:21]Write to MH i2c: E2 08 00 26 10 80 0D 03 02 00 00 00 00 B1 [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 0B 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 0B 00 26 10 00 B3 CC 0F 1D FA CA 66 B5 90 00 3C [18:17:21]RAPDU: B3 CC 0F 1D FA CA 66 B5 90 00 [18:17:21]wFMCommunicate OK [18:17:21]SAM_PROTO_SignData done [18:17:21]FM_MakeSignedData done [18:17:21]CreateOFDProtocolMessage [18:17:21]wFMCommunicate request_size=4 [18:17:21]MH_SAM_APDU [18:17:21]CAPDU: 80 11 00 00 [18:17:21]Write to MH i2c: E2 08 00 27 10 80 11 00 00 00 00 00 00 B1 [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:21]Read from MH i2c: E2 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 17 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: E2 17 00 27 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FE [18:17:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:17:21]wFMCommunicate OK [18:17:21]CreateOFDProtocolMessage done [18:17:21]OFDSenderStorePacket 24430 [18:17:21]StoreOFDPacket docnum=24430 [18:17: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 2A 01 00 00 36 0B 22 01 77 66 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 31 00 00 00 F4 03 04 00 34 EC 17 67 0E 04 04 00 CE 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 6E 5F 00 00 35 04 06 00 C0 BC 21 D5 B5 58 B3 CC 0F 1D FA CA 66 B5 [18:17:21]CheckFolder [18:17:21]dirname=/storage/ofd_packets [18:17:21]CheckFolder done [18:17:21]ProducePacketName [18:17:21]name=ofd_packets/00024430 [18:17:21]NVStorageSaveData ofd_packets/00024430 [18:17:21]File name is /storage/ofd_packets/00024430 [18:17:21]Write 328 bytes [18:17:21]NVStorageSaveData done [18:17:21]OFDSenderStorePacket done [18:17:21]KKMCreateOFDPacket done [18:17:21]NVStorageSaveData kkm_last_timestamp [18:17:21]File name is /storage/kkm_last_timestamp [18:17:21]Write 4 bytes [18:17:21]NVStorageSaveData done [18:17:21]ExternCall_PrintAddStr [18:17:21]wPrintStart [18:17:21]Write to MH i2c: 01 00 00 28 10 38 [18:17:21]OFD Sender: Processing packet 24430 [packets to send 5, broken 4] [18:17:21]ProducePacketName [18:17:21]name=ofd_packets/00024430 [18:17:21]OFD Sender: To server: pG, [18:17:21]CommunicateWithHost lk.salyk.kg:30040 [18:17:21]ConnectInit lk.salyk.kg [18:17:21]Write i2c OK [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: 01 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: 01 07 00 [18:17:21]MH_I2C_Read... [18:17:21]Read from MH i2c: 01 07 00 28 10 00 00 00 00 00 FF 0F 4D [18:17:21]RasterBufferAndPrint [18:17:21]line Счет N : (3)134948 [18:17:21]line ИНН: 02508201610067 [18:17:21]line Контрольно-Кассовый Чек [18:17:21]line ПРОДАЖА [18:17:21]line Товар: 48741224 [18:17:21]line Сигареты Winston Super Slims Blue [18:17:21]line 1.000 * 139.00 [18:17:21]line = 139.00 [18:17:21]line НДС 12% НСП 1% [18:17:21]line > о реализуемом товаре [18:17:21]line ИТОГО: 139.00 [18:17:21]line НСП 1% : 1.23 [18:17:21]line НДС 12% : 14.76 [18:17:21]line Наличными: 139.00 [18:17:21]line Безнал.: 0.00 [18:17:21]line Место: АЗС № 85 "Партнер Нефть" [18:17:21]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:17:21]line СНО: Общий режим [18:17:21]line Чек 49 22.10.2024 18:17 [18:17:21]line Смена: 462 ФФД: 1.0 [18:17:21]line ЗНМ: 0300000166 [18:17:21]line РНМ: 0000000000098120 [18:17:21]line Версия ККМ: 001 [18:17:21]line ФМ: 0000000000965420 [18:17:21]line ФД: 24430 [18:17:21]line ФПД: 211914254038360 [18:17:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T181724&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24430&fm=211914254038360&tin=02508201610067®Number=0000000000098120&sum=13900 [18:17:21]line 0 [18:17:21]Connected sock=10 [18:17: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 2A 01 00 00 36 0B 22 01 77 66 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 31 00 00 00 F4 03 04 00 34 EC 17 67 0E 04 04 00 CE 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 6E 5F 00 00 35 04 06 00 C0 BC 21 D5 B5 58 B3 CC 0F 1D FA CA 66 B5 [18:17:21]written 0, free lines is 4095 [18:17: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 78 ED 47 00 1D DF A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 6E 5F 00 00 F4 03 04 00 D7 97 17 67 B6 04 01 00 00 3E 49 CA 4E 04 91 5F A5 [18:17:22]CommunicateWithHost err = 0 [18:17:22]CheckOFDResponse [18:17:22]1017 (14) - 77093643461234 [18:17:22]1041 (16) - 0000000000965420 [18:17:22]1040 (4) - 24430 [18:17:22]1012 (4) - 22.10.2024 12:17 [18:17:22]1206 (1) - 0 [18:17:22]OFD Sender: Remove packet 24430 [18:17:22]ProducePacketName [18:17:22]name=ofd_packets/00024430 [18:17:22]NVStorageDeleteData [18:17:22]Write to MH i2c: 01 00 00 51 10 61 [18:17:22]Write i2c OK [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: 01 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: 01 07 00 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: 01 07 00 51 10 00 00 00 00 00 09 0D 7E [18:17:22]RasterBufferAndPrint [18:17:22]line [18:17:22]line [18:17:22]line [18:17:22]line [18:17:22]line [18:17:22]written 0, free lines is 3343 [18:17:22]process_action close_receipt done [18:17:22]requested_data is exist [18:17:22]produce_requested_data [18:17:22]requested_item fm.sn is exist - process it [18:17:22]wFMCommunicate request_size=4 [18:17:22]MH_SAM_APDU [18:17:22]CAPDU: 80 11 00 00 [18:17:22]Write to MH i2c: E2 08 00 58 10 80 11 00 00 00 00 00 00 E2 [18:17:22]Write i2c OK [18:17:22]MH_I2C_Read... [18:17:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:17:22]Read from MH i2c: E2 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 17 00 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 17 00 58 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2F [18:17:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:17:22]wFMCommunicate OK [18:17:22]requested_item fd.num is exist - process it [18:17:22]SAM_PROTO_GetFieldsCounters [18:17:22]wFMCommunicate request_size=4 [18:17:22]MH_SAM_APDU [18:17:22]CAPDU: 80 13 00 00 [18:17:22]Write to MH i2c: E2 08 00 59 10 80 13 00 00 00 00 00 00 E5 [18:17:22]Write i2c OK [18:17:22]MH_I2C_Read... [18:17:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:17:22]Read from MH i2c: E2 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 62 00 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 62 00 59 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 6E 5F 00 00 0E 04 04 00 CE 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 2A [18:17: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 6E 5F 00 00 0E 04 04 00 CE 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 [18:17:22]wFMCommunicate OK [18:17:22]SAM_PROTO_GetFieldsCounters done [18:17:22]requested_item shift.num is exist - process it [18:17:22]requested_item shift.opened is exist - process it [18:17:22]req_shift_opened [18:17:22]FM_GetShiftState [18:17:22]SAM_PROTO_GetShiftState [18:17:22]wFMCommunicate request_size=4 [18:17:22]MH_SAM_APDU [18:17:22]CAPDU: 80 13 01 00 [18:17:22]Write to MH i2c: E2 08 00 5A 10 80 13 01 00 00 00 00 00 E7 [18:17:22]Write i2c OK [18:17:22]MH_I2C_Read... [18:17:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:17:22]Read from MH i2c: E2 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 0E 00 [18:17:22]MH_I2C_Read... [18:17:22]Read from MH i2c: E2 0E 00 5A 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 DF [18:17:22]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:17:22]wFMCommunicate OK [18:17:22]SAM_PROTO_GetShiftState done [18:17:22]FM_GetShiftState done [18:17:22]req_shift_opened done [18:17:22]requested_item shift.open_date is exist - process it [18:17:22]req_shift_open_date [18:17:22]req_shift_open_date done [18:17:22]produce_requested_data done [18:17:22]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24430,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [18:17:22]process_action_free close_receipt [18:17:22]json_value_free [18:17:22]json_value_free done [18:17:22]process_json_proto returns [18:17:22]Send response to host [18:17:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24430,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [18:17:22]free response buf [18:17:22]execute_script done [18:17:22]execute_script returns [18:17:22]free content buf [18:17:22]Sock 7.Close socket [18:17:22]Sock 7.Thread stoped [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:43]OFD Sender: No OFD packet to send [18:25:48]OFD Sender: No OFD packet to send [18:25:53]OFD Sender: No OFD packet to send [18:25:58]OFD Sender: No OFD packet to send [18:26:03]OFD Sender: No OFD packet to send [18:26:08]OFD Sender: No OFD packet to send [18:26:13]OFD Sender: No OFD packet to send [18:26:18]OFD Sender: No OFD packet to send [18:26:23]OFD Sender: No OFD packet to send [18:26:28]OFD Sender: No OFD packet to send [18:26:33]OFD Sender: No OFD packet to send [18:26:38]OFD Sender: No OFD packet to send [18:26:43]OFD Sender: No OFD packet to send [18:26:48]OFD Sender: No OFD packet to send [18:26:53]OFD Sender: No OFD packet to send [18:26:58]OFD Sender: No OFD packet to send [18:27:03]OFD Sender: No OFD packet to send [18:27:08]OFD Sender: No OFD packet to send [18:27:13]OFD Sender: No OFD packet to send [18:27:18]OFD Sender: No OFD packet to send [18:27:23]OFD Sender: No OFD packet to send [18:27:28]OFD Sender: No OFD packet to send [18:27:33]OFD Sender: No OFD packet to send [18:27:38]OFD Sender: No OFD packet to send [18:27:43]OFD Sender: No OFD packet to send [18:27:48]OFD Sender: No OFD packet to send [18:27:53]OFD Sender: No OFD packet to send [18:27:58]OFD Sender: No OFD packet to send [18:28:03]OFD Sender: No OFD packet to send [18:28:08]OFD Sender: No OFD packet to send [18:28:13]OFD Sender: No OFD packet to send [18:28:18]OFD Sender: No OFD packet to send [18:28:23]OFD Sender: No OFD packet to send [18:28:28]OFD Sender: No OFD packet to send [18:28:33]OFD Sender: No OFD packet to send [18:28:38]OFD Sender: No OFD packet to send [18:28:43]OFD Sender: No OFD packet to send [18:28:48]OFD Sender: No OFD packet to send [18:28:53]OFD Sender: No OFD packet to send [18:28:58]OFD Sender: No OFD packet to send [18:29:03]OFD Sender: No OFD packet to send [18:29:08]OFD Sender: No OFD packet to send [18:29:13]OFD Sender: No OFD packet to send [18:29:18]OFD Sender: No OFD packet to send [18:29:23]OFD Sender: No OFD packet to send [18:29:28]OFD Sender: No OFD packet to send [18:29:33]OFD Sender: No OFD packet to send [18:29:38]OFD Sender: No OFD packet to send [18:29:43]OFD Sender: No OFD packet to send [18:29:48]OFD Sender: No OFD packet to send [18:29:53]OFD Sender: No OFD packet to send [18:29:58]OFD Sender: No OFD packet to send [18:30:03]OFD Sender: No OFD packet to send [18:30:08]OFD Sender: No OFD packet to send [18:30:13]OFD Sender: No OFD packet to send [18:30:18]OFD Sender: No OFD packet to send [18:30:23]OFD Sender: No OFD packet to send [18:30:28]OFD Sender: No OFD packet to send [18:30:33]OFD Sender: No OFD packet to send [18:30:38]OFD Sender: No OFD packet to send [18:30:43]OFD Sender: No OFD packet to send [18:30:48]OFD Sender: No OFD packet to send [18:30:53]OFD Sender: No OFD packet to send [18:30:58]OFD Sender: No OFD packet to send [18:31:03]OFD Sender: No OFD packet to send [18:31:08]OFD Sender: No OFD packet to send [18:31:13]OFD Sender: No OFD packet to send [18:31:18]OFD Sender: No OFD packet to send [18:31:23]OFD Sender: No OFD packet to send [18:31:28]OFD Sender: No OFD packet to send [18:31:33]OFD Sender: No OFD packet to send [18:31:38]OFD Sender: No OFD packet to send [18:31:43]OFD Sender: No OFD packet to send [18:31:48]OFD Sender: No OFD packet to send [18:31:53]OFD Sender: No OFD packet to send [18:31:58]OFD Sender: No OFD packet to send [18:32:03]OFD Sender: No OFD packet to send [18:32:08]OFD Sender: No OFD packet to send [18:32:13]OFD Sender: No OFD packet to send [18:32:18]OFD Sender: No OFD packet to send [18:32:23]OFD Sender: No OFD packet to send [18:32:28]OFD Sender: No OFD packet to send [18:32:33]OFD Sender: No OFD packet to send [18:32:38]OFD Sender: No OFD packet to send [18:32:43]OFD Sender: No OFD packet to send [18:32:48]OFD Sender: No OFD packet to send [18:32:53]OFD Sender: No OFD packet to send [18:32:58]OFD Sender: No OFD packet to send [18:33:03]OFD Sender: No OFD packet to send [18:33:08]OFD Sender: No OFD packet to send [18:33:13]OFD Sender: No OFD packet to send [18:33:18]OFD Sender: No OFD packet to send [18:33:23]OFD Sender: No OFD packet to send [18:33:26]accept exits with 9 [18:33:26]New connection [18:33:26]New thread 3067452772 created [18:33:26]Thread 3067596132 joined [18:33:26]Waiting for new connection... [18:33:26] Sock 9.Parse request [18:33:26]Sock 9.Check first char [18:33:26]Sock 9.First char is OK [18:33:26]request: POST /json_proto HTTP/1.0 [18:33:26]Method: POST [18:33:26]URL: /json_proto [18:33:26]Method is POST - this is cgi request [18:33:26]url: /json_proto [18:33:26]query_string will be loaded in cgi processing [18:33:26]execute_cgi json_proto POST (null) [18:33:26]execute_cgi path=json_proto method=POST [18:33:26]POST find Content-Length [18:33:26]Host: 172.17.50.4:8080 [18:33:26]Content-Length: 712 [18:33:26]Content-Type: application/json [18:33:26] [18:33:26]POST finish read [18:33:26]Found Content-Length = 712 [18:33:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134949", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:26]execute_script... [18:33: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)134949", "tax_sys" : 0, "items" : [ { "code": "50173617", "name": "\u0416\u0435\u0432 Orbit Eucalyptus", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:33:26]POST & json_proto [18:33:26]process_json_proto [18:33:26]json parsed OK: [18:33:26]protocol is kg_v1.0 [18:33:26]action value=close_receipt [18:33:26]process_action close_receipt [18:33:26]cmd_close_receipt [18:33:26]MH_GetDate [18:33:26]Write to MH i2c: F0 00 00 5B 10 5A [18:33:26]Write i2c OK [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 09 00 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: F0 09 00 5B 10 00 FB EF 17 67 3B 12 16 67 95 [18:33:26]GetLastDocTimeStamp 1729621044 [18:33:26]current date 1729622011 [18:33:26]FM_GetShiftState [18:33:26]SAM_PROTO_GetShiftState [18:33:26]wFMCommunicate request_size=4 [18:33:26]MH_SAM_APDU [18:33:26]CAPDU: 80 13 01 00 [18:33:26]Write to MH i2c: E2 08 00 5C 10 80 13 01 00 00 00 00 00 E9 [18:33:26]Write i2c OK [18:33:26]MH_I2C_Read... [18:33:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:26]Read from MH i2c: E2 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: E2 0E 00 [18:33:26]MH_I2C_Read... [18:33:26]Read from MH i2c: E2 0E 00 5C 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E1 [18:33:26]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:33:26]wFMCommunicate OK [18:33:26]SAM_PROTO_GetShiftState done [18:33:26]FM_GetShiftState done [18:33:26]opened in 1729555332 [18:33:26]opened+sec_in_day 1729641732 [18:33:26]quantity*price = 4500 [18:33:26]sum+1 = 4501 [18:33:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 50 22.10.2024 18:33 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24431 ФПД: 111967554846091 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T183331&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24431&fm=111967554846091&tin=02508201610067®Number=0000000000098120&sum=4500 0 [18:33:27]StoreToDocumentArchive [18:33:27]shift 462 fd 24431 [18:33:27]save to /storage/0462/doc_00024431 [18:33:27]save last doc name /storage/0462/doc_00024431 to /storage/kkm_last_doc_name [18:33:27]save OK [18:33:27]Clear old archive folders... [18:33:27]ProcessDocumentItem done err = 0, tmpTLVsize=260 [18:33:27]tlvbuf is 00DA9C10 [18:33:27]SAM_PROTO_ClearQueue [18:33:27]wFMCommunicate request_size=4 [18:33:27]MH_SAM_APDU [18:33:27]CAPDU: 80 09 00 00 [18:33:27]Write to MH i2c: E2 08 00 69 10 80 09 00 00 00 00 00 00 EB [18:33:27]Write i2c OK [18:33:27]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 69 10 00 90 00 ED [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]SAM_PROTO_ClearQueue done [18:33:28]KKMCreateOFDPacket [18:33:28]OFDProtocolAddRootSTLVToBuf [18:33:28]FM_MakeSignedData [18:33:28]FM_MakeSignedData [18:33:28]SAM_PROTO_SignData [18:33:28]wFMCommunicate request_size=4 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 01 02 [18:33:28]Write to MH i2c: E2 08 00 6A 10 80 0D 01 02 00 00 00 00 F3 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 6A 10 00 90 00 EE [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]wFMCommunicate request_size=255 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 FB EF 17 67 0E 04 04 00 CE 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 [18:33:28]Write to MH i2c: E2 02 01 6B 10 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 FB EF 17 67 0E 04 04 00 CE 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 00 00 CA [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 6B 10 00 90 00 EF [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]wFMCommunicate request_size=19 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 02 02 0E 6F 5F 00 00 35 04 06 00 65 D5 7A 55 3D 8B [18:33:28]Write to MH i2c: E2 16 00 6C 10 80 0D 02 02 0E 00 6F 5F 00 00 35 04 06 00 65 D5 7A 55 3D 8B 00 00 F0 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 03 00 6C 10 00 90 00 F0 [18:33:28]RAPDU: 90 00 [18:33:28]wFMCommunicate OK [18:33:28]wFMCommunicate request_size=4 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 0D 03 02 [18:33:28]Write to MH i2c: E2 08 00 6D 10 80 0D 03 02 00 00 00 00 F8 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]OFD Sender: No OFD packet to send [18:33:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 0B 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 0B 00 6D 10 00 D0 1D BD F8 5E A6 46 25 90 00 0A [18:33:28]RAPDU: D0 1D BD F8 5E A6 46 25 90 00 [18:33:28]wFMCommunicate OK [18:33:28]SAM_PROTO_SignData done [18:33:28]FM_MakeSignedData done [18:33:28]CreateOFDProtocolMessage [18:33:28]wFMCommunicate request_size=4 [18:33:28]MH_SAM_APDU [18:33:28]CAPDU: 80 11 00 00 [18:33:28]Write to MH i2c: E2 08 00 6E 10 80 11 00 00 00 00 00 00 F8 [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:28]Read from MH i2c: E2 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 17 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: E2 17 00 6E 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 45 [18: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 [18:33:28]wFMCommunicate OK [18:33:28]CreateOFDProtocolMessage done [18:33:28]OFDSenderStorePacket 24431 [18:33:28]StoreOFDPacket docnum=24431 [18: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 18 01 00 00 56 53 10 01 AC 69 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 FB EF 17 67 0E 04 04 00 CE 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 6F 5F 00 00 35 04 06 00 65 D5 7A 55 3D 8B D0 1D BD F8 5E A6 46 25 [18:33:28]CheckFolder [18:33:28]dirname=/storage/ofd_packets [18:33:28]CheckFolder done [18:33:28]ProducePacketName [18:33:28]name=ofd_packets/00024431 [18:33:28]NVStorageSaveData ofd_packets/00024431 [18:33:28]File name is /storage/ofd_packets/00024431 [18:33:28]Write 310 bytes [18:33:28]NVStorageSaveData done [18:33:28]OFDSenderStorePacket done [18:33:28]KKMCreateOFDPacket done [18:33:28]NVStorageSaveData kkm_last_timestamp [18:33:28]File name is /storage/kkm_last_timestamp [18:33:28]Write 4 bytes [18:33:28]NVStorageSaveData done [18:33:28]ExternCall_PrintAddStr [18:33:28]wPrintStart [18:33:28]Write to MH i2c: 01 00 00 6F 10 7F [18:33:28]Write i2c OK [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 07 00 [18:33:28]MH_I2C_Read... [18:33:28]Read from MH i2c: 01 07 00 6F 10 00 00 00 00 00 FF 0F 94 [18:33:28]RasterBufferAndPrint [18:33:28]line Счет N : (3)134949 [18:33:28]line ИНН: 02508201610067 [18:33:28]line Контрольно-Кассовый Чек [18:33:28]line ПРОДАЖА [18:33:28]line Товар: 50173617 [18:33:28]line Жев Orbit Eucalyptus [18:33:28]line 1.000 * 45.00 [18:33:28]line = 45.00 [18:33:28]line НДС 12% НСП 1% [18:33:28]line > о реализуемом товаре [18:33:28]line ИТОГО: 45.00 [18:33:28]line НСП 1% : 0.40 [18:33:28]line НДС 12% : 4.78 [18:33:28]line Наличными: 0.00 [18:33:28]line Безнал.: 45.00 [18:33:28]line Место: АЗС № 85 "Партнер Нефть" [18:33:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:33:28]line СНО: Общий режим [18:33:28]line Чек 50 22.10.2024 18:33 [18:33:28]line Смена: 462 ФФД: 1.0 [18:33:28]line ЗНМ: 0300000166 [18:33:28]line РНМ: 0000000000098120 [18:33:28]line Версия ККМ: 001 [18:33:28]line Платежная система: Mbank [18:33:28]line ФМ: 0000000000965420 [18:33:28]line ФД: 24431 [18:33:28]line ФПД: 111967554846091 [18:33:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T183331&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24431&fm=111967554846091&tin=02508201610067®Number=0000000000098120&sum=4500 [18:33:28]OFD Sender: Processing packet 24431 [packets to send 5, broken 4] [18:33:28]ProducePacketName [18:33:28]name=ofd_packets/00024431 [18:33:28]OFD Sender: To server: pG, [18:33:28]CommunicateWithHost lk.salyk.kg:30040 [18:33:28]ConnectInit lk.salyk.kg [18:33:28]line 0 [18:33:28]written 0, free lines is 4095 [18:33:29]Connected sock=11 [18: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 18 01 00 00 56 53 10 01 AC 69 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 35 30 31 37 33 36 31 37 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 45 75 63 61 6C 79 70 74 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 FB EF 17 67 0E 04 04 00 CE 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 6F 5F 00 00 35 04 06 00 65 D5 7A 55 3D 8B D0 1D BD F8 5E A6 46 25 [18: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 62 47 00 27 B6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 6F 5F 00 00 F4 03 04 00 9E 9B 17 67 B6 04 01 00 00 B1 24 BC C2 05 33 2D 06 [18:33:29]CommunicateWithHost err = 0 [18:33:29]CheckOFDResponse [18:33:29]1017 (14) - 77093643461234 [18:33:29]1041 (16) - 0000000000965420 [18:33:29]1040 (4) - 24431 [18:33:29]1012 (4) - 22.10.2024 12:33 [18:33:29]1206 (1) - 0 [18:33:29]OFD Sender: Remove packet 24431 [18:33:29]ProducePacketName [18:33:29]name=ofd_packets/00024431 [18:33:29]NVStorageDeleteData [18:33:29]Write to MH i2c: 01 00 00 98 10 A8 [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 07 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: 01 07 00 98 10 00 00 00 00 00 10 0D CC [18:33:29]RasterBufferAndPrint [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]line [18:33:29]written 0, free lines is 3348 [18:33:29]process_action close_receipt done [18:33:29]requested_data is exist [18:33:29]produce_requested_data [18:33:29]requested_item fm.sn is exist - process it [18:33:29]wFMCommunicate request_size=4 [18:33:29]MH_SAM_APDU [18:33:29]CAPDU: 80 11 00 00 [18:33:29]Write to MH i2c: E2 08 00 9F 10 80 11 00 00 00 00 00 00 29 [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:33:29]Read from MH i2c: E2 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 17 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 17 00 9F 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 76 [18: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 [18:33:29]wFMCommunicate OK [18:33:29]requested_item fd.num is exist - process it [18:33:29]SAM_PROTO_GetFieldsCounters [18:33:29]wFMCommunicate request_size=4 [18:33:29]MH_SAM_APDU [18:33:29]CAPDU: 80 13 00 00 [18:33:29]Write to MH i2c: E2 08 00 A0 10 80 13 00 00 00 00 00 00 2C [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:33:29]Read from MH i2c: E2 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 62 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 62 00 A0 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 6F 5F 00 00 0E 04 04 00 CE 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 75 [18: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 6F 5F 00 00 0E 04 04 00 CE 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 [18:33:29]wFMCommunicate OK [18:33:29]SAM_PROTO_GetFieldsCounters done [18:33:29]requested_item shift.num is exist - process it [18:33:29]requested_item shift.opened is exist - process it [18:33:29]req_shift_opened [18:33:29]FM_GetShiftState [18:33:29]SAM_PROTO_GetShiftState [18:33:29]wFMCommunicate request_size=4 [18:33:29]MH_SAM_APDU [18:33:29]CAPDU: 80 13 01 00 [18:33:29]Write to MH i2c: E2 08 00 A1 10 80 13 01 00 00 00 00 00 2E [18:33:29]Write i2c OK [18:33:29]MH_I2C_Read... [18:33:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:33:29]Read from MH i2c: E2 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 0E 00 [18:33:29]MH_I2C_Read... [18:33:29]Read from MH i2c: E2 0E 00 A1 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 26 [18:33:29]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:33:29]wFMCommunicate OK [18:33:29]SAM_PROTO_GetShiftState done [18:33:29]FM_GetShiftState done [18:33:29]req_shift_opened done [18:33:29]requested_item shift.open_date is exist - process it [18:33:29]req_shift_open_date [18:33:29]req_shift_open_date done [18:33:29]produce_requested_data done [18:33:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24431,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [18:33:29]process_action_free close_receipt [18:33:29]json_value_free [18:33:29]json_value_free done [18:33:29]process_json_proto returns [18:33:29]Send response to host [18:33:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24431,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [18:33:29]free response buf [18:33:29]execute_script done [18:33:29]execute_script returns [18:33:29]free content buf [18:33:29]Sock 9.Close socket [18:33:29]Sock 9.Thread stoped [18:33:29]OFD Sender: No OFD packet to send [18:33:34]OFD Sender: No OFD packet to send [18:33:39]OFD Sender: No OFD packet to send [18:33:44]OFD Sender: No OFD packet to send [18:33:49]OFD Sender: No OFD packet to send [18:33:54]OFD Sender: No OFD packet to send [18:33:59]OFD Sender: No OFD packet to send [18:34:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [18:35:24]OFD Sender: No OFD packet to send [18:35:29]OFD Sender: No OFD packet to send [18:35:34]OFD Sender: No OFD packet to send [18:35:39]OFD Sender: No OFD packet to send [18:35:44]OFD Sender: No OFD packet to send [18:35:49]OFD Sender: No OFD packet to send [18:35:54]OFD Sender: No OFD packet to send [18:35:59]OFD Sender: No OFD packet to send [18:36:04]OFD Sender: No OFD packet to send [18:36:09]OFD Sender: No OFD packet to send [18:36:14]OFD Sender: No OFD packet to send [18:36:19]OFD Sender: No OFD packet to send [18:36:24]OFD Sender: No OFD packet to send [18:36:29]OFD Sender: No OFD packet to send [18:36:34]OFD Sender: No OFD packet to send [18:36:39]OFD Sender: No OFD packet to send [18:36:44]OFD Sender: No OFD packet to send [18:36:49]OFD Sender: No OFD packet to send [18:36:54]OFD Sender: No OFD packet to send [18:36:59]OFD Sender: No OFD packet to send [18:37:04]OFD Sender: No OFD packet to send [18:37:09]OFD Sender: No OFD packet to send [18:37:14]OFD Sender: No OFD packet to send [18:37:19]OFD Sender: No OFD packet to send [18:37:24]OFD Sender: No OFD packet to send [18:37:29]OFD Sender: No OFD packet to send [18:37:34]OFD Sender: No OFD packet to send [18:37:39]OFD Sender: No OFD packet to send [18:37:44]OFD Sender: No OFD packet to send [18:37:49]OFD Sender: No OFD packet to send [18:37:54]OFD Sender: No OFD packet to send [18:37:59]OFD Sender: No OFD packet to send [18:38:04]OFD Sender: No OFD packet to send [18:38:09]OFD Sender: No OFD packet to send [18:38:14]OFD Sender: No OFD packet to send [18:38:19]OFD Sender: No OFD packet to send [18:38:24]OFD Sender: No OFD packet to send [18:38:29]OFD Sender: No OFD packet to send [18:38:34]OFD Sender: No OFD packet to send [18:38:39]OFD Sender: No OFD packet to send [18:38:44]OFD Sender: No OFD packet to send [18:38:49]OFD Sender: No OFD packet to send [18:38:54]OFD Sender: No OFD packet to send [18:38:59]OFD Sender: No OFD packet to send [18:39:04]OFD Sender: No OFD packet to send [18:39:09]OFD Sender: No OFD packet to send [18:39:14]OFD Sender: No OFD packet to send [18:39:19]OFD Sender: No OFD packet to send [18:39:24]OFD Sender: No OFD packet to send [18:39:29]OFD Sender: No OFD packet to send [18:39:34]OFD Sender: No OFD packet to send [18:39:39]OFD Sender: No OFD packet to send [18:39:44]OFD Sender: No OFD packet to send [18:39:49]OFD Sender: No OFD packet to send [18:39:54]OFD Sender: No OFD packet to send [18:39:59]OFD Sender: No OFD packet to send [18:40:04]OFD Sender: No OFD packet to send [18:40:09]OFD Sender: No OFD packet to send [18:40:14]OFD Sender: No OFD packet to send [18:40:19]OFD Sender: No OFD packet to send [18:40:24]OFD Sender: No OFD packet to send [18:40:29]OFD Sender: No OFD packet to send [18:40:34]OFD Sender: No OFD packet to send [18:40:39]OFD Sender: No OFD packet to send [18:40:44]OFD Sender: No OFD packet to send [18:40:49]OFD Sender: No OFD packet to send [18:40:54]OFD Sender: No OFD packet to send [18:40:59]OFD Sender: No OFD packet to send [18:41:04]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:12]accept exits with 7 [18:52:12]New connection [18:52:12]New thread 3067596132 created [18:52:12]Thread 3067452772 joined [18:52:12]Waiting for new connection... [18:52:12] Sock 7.Parse request [18:52:12]Sock 7.Check first char [18:52:12]Sock 7.First char is OK [18:52:12]request: POST /json_proto HTTP/1.0 [18:52:12]Method: POST [18:52:12]URL: /json_proto [18:52:12]Method is POST - this is cgi request [18:52:12]url: /json_proto [18:52:12]query_string will be loaded in cgi processing [18:52:12]execute_cgi json_proto POST (null) [18:52:12]execute_cgi path=json_proto method=POST [18:52:12]POST find Content-Length [18:52:12]Host: 172.17.50.4:8080 [18:52:12]Content-Length: 621 [18:52:12]Content-Type: application/json [18:52:12] [18:52:12]POST finish read [18:52:12]Found Content-Length = 621 [18:52:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134950", "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:52:12]execute_script... [18:52: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)134950", "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:52:12]POST & json_proto [18:52:12]process_json_proto [18:52:12]json parsed OK: [18:52:12]protocol is kg_v1.0 [18:52:12]action value=close_receipt [18:52:12]process_action close_receipt [18:52:12]cmd_close_receipt [18:52:12]MH_GetDate [18:52:12]Write to MH i2c: F0 00 00 A2 10 A1 [18:52:12]Write i2c OK [18:52:12]MH_I2C_Read... [18:52:12]Read from MH i2c: F0 [18:52:12]MH_I2C_Read... [18:52:12]Read from MH i2c: F0 09 00 [18:52:12]MH_I2C_Read... [18:52:12]Read from MH i2c: F0 09 00 A2 10 00 61 F4 17 67 3B 12 16 67 47 [18:52:12]GetLastDocTimeStamp 1729622011 [18:52:12]current date 1729623137 [18:52:12]FM_GetShiftState [18:52:12]SAM_PROTO_GetShiftState [18:52:12]wFMCommunicate request_size=4 [18:52:12]MH_SAM_APDU [18:52:12]CAPDU: 80 13 01 00 [18:52:12]Write to MH i2c: E2 08 00 A3 10 80 13 01 00 00 00 00 00 30 [18:52:12]Write i2c OK [18:52:12]MH_I2C_Read... [18:52:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:52:12]Read from MH i2c: E2 [18:52:12]MH_I2C_Read... [18:52:12]Read from MH i2c: E2 0E 00 [18:52:12]MH_I2C_Read... [18:52:12]Read from MH i2c: E2 0E 00 A3 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 28 [18:52:12]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:52:12]wFMCommunicate OK [18:52:12]SAM_PROTO_GetShiftState done [18:52:12]FM_GetShiftState done [18:52:12]opened in 1729555332 [18:52:12]opened+sec_in_day 1729641732 [18:52:12]quantity*price = 14400 [18:52:12]sum+1 = 14401 [18:52:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 51 22.10.2024 18:52 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24432 ФПД: 10185984572982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T185217&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24432&fm=10185984572982&tin=02508201610067®Number=0000000000098120&sum=14400 0 [18:52:13]StoreToDocumentArchive [18:52:13]shift 462 fd 24432 [18:52:13]save to /storage/0462/doc_00024432 [18:52:13]save last doc name /storage/0462/doc_00024432 to /storage/kkm_last_doc_name [18:52:13]save OK [18:52:13]Clear old archive folders... [18:52:13]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:52:13]tlvbuf is 00D6AB60 [18:52:13]SAM_PROTO_ClearQueue [18:52:13]wFMCommunicate request_size=4 [18:52:13]MH_SAM_APDU [18:52:13]CAPDU: 80 09 00 00 [18:52:13]Write to MH i2c: E2 08 00 B0 10 80 09 00 00 00 00 00 00 32 [18:52:13]Write i2c OK [18:52:13]MH_I2C_Read... [18:52:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:52:13]Read from MH i2c: E2 [18:52:13]MH_I2C_Read... [18:52:13]Read from MH i2c: E2 03 00 [18:52:13]MH_I2C_Read... [18:52:13]Read from MH i2c: E2 03 00 B0 10 00 90 00 34 [18:52:13]RAPDU: 90 00 [18:52:13]wFMCommunicate OK [18:52:13]SAM_PROTO_ClearQueue done [18:52:13]KKMCreateOFDPacket [18:52:13]OFDProtocolAddRootSTLVToBuf [18:52:13]FM_MakeSignedData [18:52:13]FM_MakeSignedData [18:52:13]SAM_PROTO_SignData [18:52:13]wFMCommunicate request_size=4 [18:52:13]MH_SAM_APDU [18:52:13]CAPDU: 80 0D 01 02 [18:52:13]Write to MH i2c: E2 08 00 B1 10 80 0D 01 02 00 00 00 00 3A [18:52:13]Write i2c OK [18:52:13]MH_I2C_Read... [18:52:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:52:13]Read from MH i2c: E2 [18:52:13]MH_I2C_Read... [18:52:13]Read from MH i2c: E2 03 00 [18:52:13]MH_I2C_Read... [18:52:13]Read from MH i2c: E2 03 00 B1 10 00 90 00 35 [18:52:13]RAPDU: 90 00 [18:52:13]wFMCommunicate OK [18:52:13]wFMCommunicate request_size=255 [18:52:13]MH_SAM_APDU [18:52:13]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 33 00 00 00 F4 03 04 00 61 F4 17 67 0E 04 04 00 CE 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:52:13]Write to MH i2c: E2 02 01 B2 10 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 33 00 00 00 F4 03 04 00 61 F4 17 67 0E 04 04 00 CE 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 74 [18:52:13]Write i2c OK [18:52:13]MH_I2C_Read... [18:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:52:14]Read from MH i2c: E2 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 03 00 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 03 00 B2 10 00 90 00 36 [18:52:14]RAPDU: 90 00 [18:52:14]wFMCommunicate OK [18:52:14]wFMCommunicate request_size=32 [18:52:14]MH_SAM_APDU [18:52:14]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 70 5F 00 00 35 04 06 00 09 43 9B FD FE 36 [18:52:14]Write to MH i2c: E2 23 00 B3 10 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 70 5F 00 00 35 04 06 00 09 43 9B FD FE 36 00 00 7B [18:52:14]Write i2c OK [18:52:14]MH_I2C_Read... [18:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:52:14]Read from MH i2c: E2 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 03 00 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 03 00 B3 10 00 90 00 37 [18:52:14]RAPDU: 90 00 [18:52:14]wFMCommunicate OK [18:52:14]wFMCommunicate request_size=4 [18:52:14]MH_SAM_APDU [18:52:14]CAPDU: 80 0D 03 02 [18:52:14]Write to MH i2c: E2 08 00 B4 10 80 0D 03 02 00 00 00 00 3F [18:52:14]Write i2c OK [18:52:14]MH_I2C_Read... [18:52:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:52:14]Read from MH i2c: E2 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 0B 00 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 0B 00 B4 10 00 72 A8 85 3A DB 48 30 50 90 00 BC [18:52:14]RAPDU: 72 A8 85 3A DB 48 30 50 90 00 [18:52:14]wFMCommunicate OK [18:52:14]SAM_PROTO_SignData done [18:52:14]FM_MakeSignedData done [18:52:14]CreateOFDProtocolMessage [18:52:14]wFMCommunicate request_size=4 [18:52:14]MH_SAM_APDU [18:52:14]CAPDU: 80 11 00 00 [18:52:14]Write to MH i2c: E2 08 00 B5 10 80 11 00 00 00 00 00 00 3F [18:52:14]Write i2c OK [18:52:14]MH_I2C_Read... [18:52:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:52:14]Read from MH i2c: E2 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 17 00 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: E2 17 00 B5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8C [18:52:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:52:14]wFMCommunicate OK [18:52:14]CreateOFDProtocolMessage done [18:52:14]OFDSenderStorePacket 24432 [18:52:14]StoreOFDPacket docnum=24432 [18:52: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 25 01 00 00 13 21 1D 01 0B 40 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 33 00 00 00 F4 03 04 00 61 F4 17 67 0E 04 04 00 CE 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 70 5F 00 00 35 04 06 00 09 43 9B FD FE 36 72 A8 85 3A DB 48 30 50 [18:52:14]CheckFolder [18:52:14]dirname=/storage/ofd_packets [18:52:14]CheckFolder done [18:52:14]ProducePacketName [18:52:14]name=ofd_packets/00024432 [18:52:14]NVStorageSaveData ofd_packets/00024432 [18:52:14]File name is /storage/ofd_packets/00024432 [18:52:14]Write 323 bytes [18:52:14]NVStorageSaveData done [18:52:14]OFDSenderStorePacket done [18:52:14]KKMCreateOFDPacket done [18:52:14]NVStorageSaveData kkm_last_timestamp [18:52:14]File name is /storage/kkm_last_timestamp [18:52:14]Write 4 bytes [18:52:14]NVStorageSaveData done [18:52:14]ExternCall_PrintAddStr [18:52:14]wPrintStart [18:52:14]Write to MH i2c: 01 00 00 B6 10 C6 [18:52:14]Write i2c OK [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: 01 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: 01 07 00 [18:52:14]MH_I2C_Read... [18:52:14]Read from MH i2c: 01 07 00 B6 10 00 00 00 00 00 FF 0F DB [18:52:14]RasterBufferAndPrint [18:52:14]line Счет N : (3)134950 [18:52:14]line ИНН: 02508201610067 [18:52:14]line Контрольно-Кассовый Чек [18:52:14]line ПРОДАЖА [18:52:14]line Товар: 48743570 [18:52:14]line Сигареты Winston XStyle Blue [18:52:14]line 1.000 * 144.00 [18:52:14]line = 144.00 [18:52:14]line НДС 12% НСП 1% [18:52:14]line > о реализуемом товаре [18:52:14]line ИТОГО: 144.00 [18:52:14]line НСП 1% : 1.27 [18:52:14]line НДС 12% : 15.29 [18:52:14]line Наличными: 144.00 [18:52:14]line Безнал.: 0.00 [18:52:14]line Место: АЗС № 85 "Партнер Нефть" [18:52:14]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [18:52:14]line СНО: Общий режим [18:52:14]line Чек 51 22.10.2024 18:52 [18:52:14]line Смена: 462 ФФД: 1.0 [18:52:14]line ЗНМ: 0300000166 [18:52:14]line РНМ: 0000000000098120 [18:52:14]line Версия ККМ: 001 [18:52:14]line ФМ: 0000000000965420 [18:52:14]line ФД: 24432 [18:52:14]line ФПД: 10185984572982 [18:52:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T185217&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24432&fm=10185984572982&tin=02508201610067®Number=0000000000098120&sum=14400 [18:52:14]line 0 [18:52:14]OFD Sender: Processing packet 24432 [packets to send 5, broken 4] [18:52:14]ProducePacketName [18:52:14]name=ofd_packets/00024432 [18:52:14]OFD Sender: To server: pG, [18:52:14]CommunicateWithHost lk.salyk.kg:30040 [18:52:14]ConnectInit lk.salyk.kg [18:52:14]written 0, free lines is 4095 [18:52:15]Connected sock=10 [18:52: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 25 01 00 00 13 21 1D 01 0B 40 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 33 00 00 00 F4 03 04 00 61 F4 17 67 0E 04 04 00 CE 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 70 5F 00 00 35 04 06 00 09 43 9B FD FE 36 72 A8 85 3A DB 48 30 50 [18:52:15]Write to MH i2c: 01 00 00 DE 10 EE [18:52:15]Write i2c OK [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: 01 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: 01 07 00 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: 01 07 00 DE 10 00 00 00 00 00 0F 0D 11 [18:52:15]RasterBufferAndPrint [18:52:15]line [18:52:15]line [18:52:15]line [18:52:15]line [18:52:15]line [18:52:15]written 0, free lines is 3349 [18:52:15]process_action close_receipt done [18:52:15]requested_data is exist [18:52:15]produce_requested_data [18:52:15]requested_item fm.sn is exist - process it [18:52:15]wFMCommunicate request_size=4 [18:52:15]MH_SAM_APDU [18:52:15]CAPDU: 80 11 00 00 [18:52:15]Write to MH i2c: E2 08 00 E5 10 80 11 00 00 00 00 00 00 6F [18:52:15]Write i2c OK [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 [18:52:15]MH_I2C_Read... [18:52:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:52:15]Read from MH i2c: E2 17 00 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 17 00 E5 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 BC [18:52:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [18:52:15]wFMCommunicate OK [18:52:15]requested_item fd.num is exist - process it [18:52:15]SAM_PROTO_GetFieldsCounters [18:52:15]wFMCommunicate request_size=4 [18:52:15]MH_SAM_APDU [18:52:15]CAPDU: 80 13 00 00 [18:52:15]Write to MH i2c: E2 08 00 E6 10 80 13 00 00 00 00 00 00 72 [18:52:15]Write i2c OK [18:52:15]MH_I2C_Read... [18:52: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 F7 40 47 00 02 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 70 5F 00 00 F4 03 04 00 04 A0 17 67 B6 04 01 00 00 64 C7 24 A5 3B 50 84 7E [18:52:15]CommunicateWithHost err = 0 [18:52:15]CheckOFDResponse [18:52:15]1017 (14) - 77093643461234 [18:52:15]1041 (16) - 0000000000965420 [18:52:15]1040 (4) - 24432 [18:52:15]1012 (4) - 22.10.2024 12:52 [18:52:15]1206 (1) - 0 [18:52:15]OFD Sender: Remove packet 24432 [18:52:15]ProducePacketName [18:52:15]name=ofd_packets/00024432 [18:52:15]NVStorageDeleteData [18:52:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:52:15]Read from MH i2c: E2 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 62 00 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 62 00 E6 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 70 5F 00 00 0E 04 04 00 CE 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 BF [18:52: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 70 5F 00 00 0E 04 04 00 CE 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:52:15]wFMCommunicate OK [18:52:15]SAM_PROTO_GetFieldsCounters done [18:52:15]requested_item shift.num is exist - process it [18:52:15]requested_item shift.opened is exist - process it [18:52:15]req_shift_opened [18:52:15]FM_GetShiftState [18:52:15]SAM_PROTO_GetShiftState [18:52:15]wFMCommunicate request_size=4 [18:52:15]MH_SAM_APDU [18:52:15]CAPDU: 80 13 01 00 [18:52:15]Write to MH i2c: E2 08 00 E7 10 80 13 01 00 00 00 00 00 74 [18:52:15]Write i2c OK [18:52:15]MH_I2C_Read... [18:52:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:52:15]Read from MH i2c: E2 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 0E 00 [18:52:15]MH_I2C_Read... [18:52:15]Read from MH i2c: E2 0E 00 E7 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 6C [18:52:15]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [18:52:15]wFMCommunicate OK [18:52:15]SAM_PROTO_GetShiftState done [18:52:15]FM_GetShiftState done [18:52:15]req_shift_opened done [18:52:15]requested_item shift.open_date is exist - process it [18:52:15]req_shift_open_date [18:52:15]req_shift_open_date done [18:52:15]produce_requested_data done [18:52:15]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24432,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [18:52:15]process_action_free close_receipt [18:52:15]json_value_free [18:52:15]json_value_free done [18:52:15]process_json_proto returns [18:52:15]Send response to host [18:52:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24432,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [18:52:15]free response buf [18:52:15]execute_script done [18:52:15]execute_script returns [18:52:15]free content buf [18:52:15]Sock 7.Close socket [18:52:15]Sock 7.Thread stoped [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:45]OFD Sender: No OFD packet to send [18:55:50]OFD Sender: No OFD packet to send [18:55:55]OFD Sender: No OFD packet to send [18:56:00]OFD Sender: No OFD packet to send [18:56:05]OFD Sender: No OFD packet to send [18:56:10]OFD Sender: No OFD packet to send [18:56:15]OFD Sender: No OFD packet to send [18:56:20]OFD Sender: No OFD packet to send [18:56:25]OFD Sender: No OFD packet to send [18:56:30]OFD Sender: No OFD packet to send [18:56:35]OFD Sender: No OFD packet to send [18:56:40]OFD Sender: No OFD packet to send [18:56:45]OFD Sender: No OFD packet to send [18:56:50]OFD Sender: No OFD packet to send [18:56:55]OFD Sender: No OFD packet to send [18:57:00]OFD Sender: No OFD packet to send [18:57:05]OFD Sender: No OFD packet to send [18:57:10]OFD Sender: No OFD packet to send [18:57:15]OFD Sender: No OFD packet to send [18:57:20]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]OFD Sender: No OFD packet to send [19:03:26]OFD Sender: No OFD packet to send [19:03:31]OFD Sender: No OFD packet to send [19:03:36]OFD Sender: No OFD packet to send [19:03:41]OFD Sender: No OFD packet to send [19:03:46]OFD Sender: No OFD packet to send [19:03:51]OFD Sender: No OFD packet to send [19:03:56]OFD Sender: No OFD packet to send [19:03:56]accept exits with 9 [19:03:56]New connection [19:03:56]New thread 3067452772 created [19:03:56]Thread 3067596132 joined [19:03:56]Waiting for new connection... [19:03:56] Sock 9.Parse request [19:03:56]Sock 9.Check first char [19:03:56]Sock 9.First char is OK [19:03:56]request: POST /json_proto HTTP/1.0 [19:03:56]Method: POST [19:03:56]URL: /json_proto [19:03:56]Method is POST - this is cgi request [19:03:56]url: /json_proto [19:03:56]query_string will be loaded in cgi processing [19:03:56]execute_cgi json_proto POST (null) [19:03:56]execute_cgi path=json_proto method=POST [19:03:56]POST find Content-Length [19:03:56]Host: 172.17.50.4:8080 [19:03:56]Content-Length: 626 [19:03:56]Content-Type: application/json [19:03:56] [19:03:56]POST finish read [19:03:56]Found Content-Length = 626 [19:03:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134951", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 3.000, "sum" : 402.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 402.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:03:56]execute_script... [19:03:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134951", "tax_sys" : 0, "items" : [ { "code": "48743389", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B BOND STREET compact blue", "price" : 134.00, "quantity" : 3.000, "sum" : 402.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 402.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:03:56]POST & json_proto [19:03:56]process_json_proto [19:03:56]json parsed OK: [19:03:56]protocol is kg_v1.0 [19:03:56]action value=close_receipt [19:03:56]process_action close_receipt [19:03:56]cmd_close_receipt [19:03:56]MH_GetDate [19:03:56]Write to MH i2c: F0 00 00 E8 10 E7 [19:03:56]Write i2c OK [19:03:56]MH_I2C_Read... [19:03:56]Read from MH i2c: F0 [19:03:56]MH_I2C_Read... [19:03:56]Read from MH i2c: F0 09 00 [19:03:56]MH_I2C_Read... [19:03:56]Read from MH i2c: F0 09 00 E8 10 00 21 F7 17 67 3B 12 16 67 50 [19:03:56]GetLastDocTimeStamp 1729623137 [19:03:56]current date 1729623841 [19:03:56]FM_GetShiftState [19:03:56]SAM_PROTO_GetShiftState [19:03:56]wFMCommunicate request_size=4 [19:03:56]MH_SAM_APDU [19:03:56]CAPDU: 80 13 01 00 [19:03:56]Write to MH i2c: E2 08 00 E9 10 80 13 01 00 00 00 00 00 76 [19:03:56]Write i2c OK [19:03:56]MH_I2C_Read... [19:03:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:03:56]Read from MH i2c: E2 [19:03:56]MH_I2C_Read... [19:03:56]Read from MH i2c: E2 0E 00 [19:03:56]MH_I2C_Read... [19:03:56]Read from MH i2c: E2 0E 00 E9 10 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 6E [19:03:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:03:56]wFMCommunicate OK [19:03:56]SAM_PROTO_GetShiftState done [19:03:56]FM_GetShiftState done [19:03:56]opened in 1729555332 [19:03:56]opened+sec_in_day 1729641732 [19:03:56]quantity*price = 40200 [19:03:56]sum+1 = 40201 [19:03:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 402.00 НСП 1% : 3.56 НДС 12% : 42.69 Наличными: 402.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 52 22.10.2024 19:04 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24433 ФПД: 40075963579492 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190401&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24433&fm=40075963579492&tin=02508201610067®Number=0000000000098120&sum=40200 0 [19:03:57]StoreToDocumentArchive [19:03:57]shift 462 fd 24433 [19:03:57]save to /storage/0462/doc_00024433 [19:03:57]save last doc name /storage/0462/doc_00024433 to /storage/kkm_last_doc_name [19:03:57]save OK [19:03:57]Clear old archive folders... [19:03:57]ProcessDocumentItem done err = 0, tmpTLVsize=278 [19:03:57]tlvbuf is 00D56EF0 [19:03:57]SAM_PROTO_ClearQueue [19:03:57]wFMCommunicate request_size=4 [19:03:57]MH_SAM_APDU [19:03:57]CAPDU: 80 09 00 00 [19:03:57]Write to MH i2c: E2 08 00 F6 10 80 09 00 00 00 00 00 00 78 [19:03:57]Write i2c OK [19:03:57]MH_I2C_Read... [19:03:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:03:57]Read from MH i2c: E2 [19:03:57]MH_I2C_Read... [19:03:57]Read from MH i2c: E2 03 00 [19:03:57]MH_I2C_Read... [19:03:57]Read from MH i2c: E2 03 00 F6 10 00 90 00 7A [19:03:57]RAPDU: 90 00 [19:03:57]wFMCommunicate OK [19:03:57]SAM_PROTO_ClearQueue done [19:03:57]KKMCreateOFDPacket [19:03:57]OFDProtocolAddRootSTLVToBuf [19:03:57]FM_MakeSignedData [19:03:57]FM_MakeSignedData [19:03:57]SAM_PROTO_SignData [19:03:57]wFMCommunicate request_size=4 [19:03:57]MH_SAM_APDU [19:03:57]CAPDU: 80 0D 01 02 [19:03:57]Write to MH i2c: E2 08 00 F7 10 80 0D 01 02 00 00 00 00 80 [19:03:57]Write i2c OK [19:03:57]MH_I2C_Read... [19:03:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:03:58]Read from MH i2c: E2 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 F7 10 00 90 00 7B [19:03:58]RAPDU: 90 00 [19:03:58]wFMCommunicate OK [19:03:58]wFMCommunicate request_size=255 [19:03:58]MH_SAM_APDU [19:03:58]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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 10 00 00 00 00 07 04 06 00 08 9D 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 21 F7 17 67 0E 04 04 00 CE 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 [19:03:58]Write to MH i2c: E2 02 01 F8 10 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 10 00 00 00 00 07 04 06 00 08 9D 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 21 F7 17 67 0E 04 04 00 CE 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 83 [19:03:58]Write i2c OK [19:03:58]MH_I2C_Read... [19:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:03:58]Read from MH i2c: E2 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 F8 10 00 90 00 7C [19:03:58]RAPDU: 90 00 [19:03:58]wFMCommunicate OK [19:03:58]wFMCommunicate request_size=37 [19:03:58]MH_SAM_APDU [19:03:58]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 71 5F 00 00 35 04 06 00 24 72 E9 92 BC 64 [19:03:58]Write to MH i2c: E2 28 00 F9 10 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 71 5F 00 00 35 04 06 00 24 72 E9 92 BC 64 00 00 D5 [19:03:58]Write i2c OK [19:03:58]MH_I2C_Read... [19:03:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:03:58]Read from MH i2c: E2 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 03 00 F9 10 00 90 00 7D [19:03:58]RAPDU: 90 00 [19:03:58]wFMCommunicate OK [19:03:58]wFMCommunicate request_size=4 [19:03:58]MH_SAM_APDU [19:03:58]CAPDU: 80 0D 03 02 [19:03:58]Write to MH i2c: E2 08 00 FA 10 80 0D 03 02 00 00 00 00 85 [19:03:58]Write i2c OK [19:03:58]MH_I2C_Read... [19:03:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:03:58]Read from MH i2c: E2 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 0B 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 0B 00 FA 10 00 D8 76 E8 4A EE 78 2D 62 90 00 FB [19:03:58]RAPDU: D8 76 E8 4A EE 78 2D 62 90 00 [19:03:58]wFMCommunicate OK [19:03:58]SAM_PROTO_SignData done [19:03:58]FM_MakeSignedData done [19:03:58]CreateOFDProtocolMessage [19:03:58]wFMCommunicate request_size=4 [19:03:58]MH_SAM_APDU [19:03:58]CAPDU: 80 11 00 00 [19:03:58]Write to MH i2c: E2 08 00 FB 10 80 11 00 00 00 00 00 00 85 [19:03:58]Write i2c OK [19:03:58]MH_I2C_Read... [19:03:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:03:58]Read from MH i2c: E2 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 17 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: E2 17 00 FB 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D2 [19:03:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:03:58]wFMCommunicate OK [19:03:58]CreateOFDProtocolMessage done [19:03:58]OFDSenderStorePacket 24433 [19:03:58]StoreOFDPacket docnum=24433 [19:03:58]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 58 66 22 01 13 CD 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 10 00 00 00 00 07 04 06 00 08 9D 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 21 F7 17 67 0E 04 04 00 CE 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 71 5F 00 00 35 04 06 00 24 72 E9 92 BC 64 D8 76 E8 4A EE 78 2D 62 [19:03:58]CheckFolder [19:03:58]dirname=/storage/ofd_packets [19:03:58]CheckFolder done [19:03:58]ProducePacketName [19:03:58]name=ofd_packets/00024433 [19:03:58]NVStorageSaveData ofd_packets/00024433 [19:03:58]File name is /storage/ofd_packets/00024433 [19:03:58]Write 328 bytes [19:03:58]NVStorageSaveData done [19:03:58]OFDSenderStorePacket done [19:03:58]KKMCreateOFDPacket done [19:03:58]NVStorageSaveData kkm_last_timestamp [19:03:58]File name is /storage/kkm_last_timestamp [19:03:58]Write 4 bytes [19:03:58]NVStorageSaveData done [19:03:58]ExternCall_PrintAddStr [19:03:58]wPrintStart [19:03:58]Write to MH i2c: 01 00 00 FC 10 0C [19:03:58]Write i2c OK [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: 01 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: 01 07 00 [19:03:58]MH_I2C_Read... [19:03:58]Read from MH i2c: 01 07 00 FC 10 00 00 00 00 00 FF 0F 21 [19:03:58]RasterBufferAndPrint [19:03:58]line Счет N : (3)134951 [19:03:58]line ИНН: 02508201610067 [19:03:58]line Контрольно-Кассовый Чек [19:03:58]line ПРОДАЖА [19:03:58]line Товар: 48743389 [19:03:58]line Сигареты BOND STREET compact blue [19:03:58]line 3.000 * 134.00 [19:03:58]line = 402.00 [19:03:58]line НДС 12% НСП 1% [19:03:58]line > о реализуемом товаре [19:03:58]line ИТОГО: 402.00 [19:03:58]line НСП 1% : 3.56 [19:03:58]line НДС 12% : 42.69 [19:03:58]line Наличными: 402.00 [19:03:58]line Безнал.: 0.00 [19:03:58]line Место: АЗС № 85 "Партнер Нефть" [19:03:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:03:58]line СНО: Общий режим [19:03:58]line Чек 52 22.10.2024 19:04 [19:03:58]line Смена: 462 ФФД: 1.0 [19:03:58]line ЗНМ: 0300000166 [19:03:58]line РНМ: 0000000000098120 [19:03:58]line Версия ККМ: 001 [19:03:58]line ФМ: 0000000000965420 [19:03:58]line ФД: 24433 [19:03:58]line ФПД: 40075963579492 [19:03:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190401&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24433&fm=40075963579492&tin=02508201610067®Number=0000000000098120&sum=40200 [19:03:58]OFD Sender: Processing packet 24433 [packets to send 5, broken 4] [19:03:58]ProducePacketName [19:03:58]name=ofd_packets/00024433 [19:03:58]OFD Sender: To server: pG, [19:03:58]CommunicateWithHost lk.salyk.kg:30040 [19:03:58]ConnectInit lk.salyk.kg [19:03:58]line 0 [19:03:58]written 0, free lines is 4095 [19:03:58]Connected sock=10 [19:03:58]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 58 66 22 01 13 CD 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 33 33 38 39 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 42 4F 4E 44 20 53 54 52 45 45 54 20 63 6F 6D 70 61 63 74 20 62 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 08 9D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AD 10 00 00 00 00 07 04 06 00 08 9D 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 21 F7 17 67 0E 04 04 00 CE 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 71 5F 00 00 35 04 06 00 24 72 E9 92 BC 64 D8 76 E8 4A EE 78 2D 62 [19:03:59]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 6C 47 00 F1 CB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 71 5F 00 00 F4 03 04 00 C4 A2 17 67 B6 04 01 00 00 EE 45 32 1C C6 6F A1 16 [19:03:59]CommunicateWithHost err = 0 [19:03:59]CheckOFDResponse [19:03:59]1017 (14) - 77093643461234 [19:03:59]1041 (16) - 0000000000965420 [19:03:59]1040 (4) - 24433 [19:03:59]1012 (4) - 22.10.2024 13:04 [19:03:59]1206 (1) - 0 [19:03:59]OFD Sender: Remove packet 24433 [19:03:59]ProducePacketName [19:03:59]name=ofd_packets/00024433 [19:03:59]NVStorageDeleteData [19:03:59]Write to MH i2c: 01 00 00 25 11 36 [19:03:59]Write i2c OK [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: 01 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: 01 07 00 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: 01 07 00 25 11 00 00 00 00 00 09 0D 53 [19:03:59]RasterBufferAndPrint [19:03:59]line [19:03:59]line [19:03:59]line [19:03:59]line [19:03:59]line [19:03:59]written 0, free lines is 3343 [19:03:59]process_action close_receipt done [19:03:59]requested_data is exist [19:03:59]produce_requested_data [19:03:59]requested_item fm.sn is exist - process it [19:03:59]wFMCommunicate request_size=4 [19:03:59]MH_SAM_APDU [19:03:59]CAPDU: 80 11 00 00 [19:03:59]Write to MH i2c: E2 08 00 2C 11 80 11 00 00 00 00 00 00 B7 [19:03:59]Write i2c OK [19:03:59]MH_I2C_Read... [19:03:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:03:59]Read from MH i2c: E2 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 17 00 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 17 00 2C 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 04 [19:03:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:03:59]wFMCommunicate OK [19:03:59]requested_item fd.num is exist - process it [19:03:59]SAM_PROTO_GetFieldsCounters [19:03:59]wFMCommunicate request_size=4 [19:03:59]MH_SAM_APDU [19:03:59]CAPDU: 80 13 00 00 [19:03:59]Write to MH i2c: E2 08 00 2D 11 80 13 00 00 00 00 00 00 BA [19:03:59]Write i2c OK [19:03:59]MH_I2C_Read... [19:03:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:03:59]Read from MH i2c: E2 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 62 00 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 62 00 2D 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 71 5F 00 00 0E 04 04 00 CE 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 0B [19:03:59]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 71 5F 00 00 0E 04 04 00 CE 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 [19:03:59]wFMCommunicate OK [19:03:59]SAM_PROTO_GetFieldsCounters done [19:03:59]requested_item shift.num is exist - process it [19:03:59]requested_item shift.opened is exist - process it [19:03:59]req_shift_opened [19:03:59]FM_GetShiftState [19:03:59]SAM_PROTO_GetShiftState [19:03:59]wFMCommunicate request_size=4 [19:03:59]MH_SAM_APDU [19:03:59]CAPDU: 80 13 01 00 [19:03:59]Write to MH i2c: E2 08 00 2E 11 80 13 01 00 00 00 00 00 BC [19:03:59]Write i2c OK [19:03:59]MH_I2C_Read... [19:03:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:03:59]Read from MH i2c: E2 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 0E 00 [19:03:59]MH_I2C_Read... [19:03:59]Read from MH i2c: E2 0E 00 2E 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B4 [19:03:59]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:03:59]wFMCommunicate OK [19:03:59]SAM_PROTO_GetShiftState done [19:03:59]FM_GetShiftState done [19:03:59]req_shift_opened done [19:03:59]requested_item shift.open_date is exist - process it [19:03:59]req_shift_open_date [19:03:59]req_shift_open_date done [19:03:59]produce_requested_data done [19:03:59]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24433,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:03:59]process_action_free close_receipt [19:03:59]json_value_free [19:03:59]json_value_free done [19:03:59]process_json_proto returns [19:03:59]Send response to host [19:03:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24433,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:03:59]free response buf [19:03:59]execute_script done [19:03:59]execute_script returns [19:03:59]free content buf [19:03:59]Sock 9.Close socket [19:03:59]Sock 9.Thread stoped [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05:29]OFD Sender: No OFD packet to send [19:05:34]OFD Sender: No OFD packet to send [19:05:39]OFD Sender: No OFD packet to send [19:05:44]OFD Sender: No OFD packet to send [19:05:49]OFD Sender: No OFD packet to send [19:05:54]OFD Sender: No OFD packet to send [19:05:59]OFD Sender: No OFD packet to send [19:06:04]OFD Sender: No OFD packet to send [19:06:09]OFD Sender: No OFD packet to send [19:06:14]OFD Sender: No OFD packet to send [19:06:19]OFD Sender: No OFD packet to send [19:06:24]OFD Sender: No OFD packet to send [19:06:29]OFD Sender: No OFD packet to send [19:06:34]OFD Sender: No OFD packet to send [19:06:39]OFD Sender: No OFD packet to send [19:06:44]OFD Sender: No OFD packet to send [19:06:49]OFD Sender: No OFD packet to send [19:06:54]OFD Sender: No OFD packet to send [19:06:59]OFD Sender: No OFD packet to send [19:07:04]OFD Sender: No OFD packet to send [19:07:09]OFD Sender: No OFD packet to send [19:07:14]OFD Sender: No OFD packet to send [19:07:19]OFD Sender: No OFD packet to send [19:07:24]OFD Sender: No OFD packet to send [19:07:29]OFD Sender: No OFD packet to send [19:07:34]OFD Sender: No OFD packet to send [19:07:39]OFD Sender: No OFD packet to send [19:07:44]OFD Sender: No OFD packet to send [19:07:49]OFD Sender: No OFD packet to send [19:07:54]OFD Sender: No OFD packet to send [19:07:59]OFD Sender: No OFD packet to send [19:08:04]OFD Sender: No OFD packet to send [19:08:09]OFD Sender: No OFD packet to send [19:08:14]OFD Sender: No OFD packet to send [19:08:19]OFD Sender: No OFD packet to send [19:08:24]OFD Sender: No OFD packet to send [19:08:26]accept exits with 7 [19:08:26]New connection [19:08:26]New thread 3067596132 created [19:08:26]Thread 3067452772 joined [19:08:26]Waiting for new connection... [19:08:26] Sock 7.Parse request [19:08:26]Sock 7.Check first char [19:08:26]Sock 7.First char is OK [19:08:26]request: POST /json_proto HTTP/1.0 [19:08:26]Method: POST [19:08:26]URL: /json_proto [19:08:26]Method is POST - this is cgi request [19:08:26]url: /json_proto [19:08:26]query_string will be loaded in cgi processing [19:08:26]execute_cgi json_proto POST (null) [19:08:26]execute_cgi path=json_proto method=POST [19:08:26]POST find Content-Length [19:08:26]Host: 172.17.50.4:8080 [19:08:26]Content-Length: 624 [19:08:26]Content-Type: application/json [19:08:26] [19:08:26]POST finish read [19:08:26]Found Content-Length = 624 [19:08:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134952", "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" ] } } [19:08:26]execute_script... [19:08: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)134952", "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" ] } } [19:08:26]POST & json_proto [19:08:26]process_json_proto [19:08:26]json parsed OK: [19:08:26]protocol is kg_v1.0 [19:08:26]action value=close_receipt [19:08:26]process_action close_receipt [19:08:26]cmd_close_receipt [19:08:26]MH_GetDate [19:08:26]Write to MH i2c: F0 00 00 2F 11 2F [19:08:26]Write i2c OK [19:08:26]MH_I2C_Read... [19:08:26]Read from MH i2c: F0 [19:08:26]MH_I2C_Read... [19:08:26]Read from MH i2c: F0 09 00 [19:08:26]MH_I2C_Read... [19:08:26]Read from MH i2c: F0 09 00 2F 11 00 2F F8 17 67 3B 12 16 67 A7 [19:08:26]GetLastDocTimeStamp 1729623841 [19:08:26]current date 1729624111 [19:08:26]FM_GetShiftState [19:08:26]SAM_PROTO_GetShiftState [19:08:26]wFMCommunicate request_size=4 [19:08:26]MH_SAM_APDU [19:08:26]CAPDU: 80 13 01 00 [19:08:26]Write to MH i2c: E2 08 00 30 11 80 13 01 00 00 00 00 00 BE [19:08:26]Write i2c OK [19:08:26]MH_I2C_Read... [19:08:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:26]Read from MH i2c: E2 [19:08:26]MH_I2C_Read... [19:08:26]Read from MH i2c: E2 0E 00 [19:08:26]MH_I2C_Read... [19:08:26]Read from MH i2c: E2 0E 00 30 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B6 [19:08:26]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:08:26]wFMCommunicate OK [19:08:26]SAM_PROTO_GetShiftState done [19:08:26]FM_GetShiftState done [19:08:26]opened in 1729555332 [19:08:26]opened+sec_in_day 1729641732 [19:08:26]quantity*price = 14700 [19:08:26]sum+1 = 14701 [19:08:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 147.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 53 22.10.2024 19:08 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24434 ФПД: 185590688396043 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24434&fm=185590688396043&tin=02508201610067®Number=0000000000098120&sum=14700 0 [19:08:27]StoreToDocumentArchive [19:08:27]shift 462 fd 24434 [19:08:27]save to /storage/0462/doc_00024434 [19:08:27]save last doc name /storage/0462/doc_00024434 to /storage/kkm_last_doc_name [19:08:27]save OK [19:08:27]Clear old archive folders... [19:08:27]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:08:27]tlvbuf is B6FF5650 [19:08:27]SAM_PROTO_ClearQueue [19:08:27]wFMCommunicate request_size=4 [19:08:27]MH_SAM_APDU [19:08:27]CAPDU: 80 09 00 00 [19:08:27]Write to MH i2c: E2 08 00 3D 11 80 09 00 00 00 00 00 00 C0 [19:08:27]Write i2c OK [19:08:27]MH_I2C_Read... [19:08:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:08:27]Read from MH i2c: E2 [19:08:27]MH_I2C_Read... [19:08:27]Read from MH i2c: E2 03 00 [19:08:27]MH_I2C_Read... [19:08:27]Read from MH i2c: E2 03 00 3D 11 00 90 00 C2 [19:08:27]RAPDU: 90 00 [19:08:27]wFMCommunicate OK [19:08:27]SAM_PROTO_ClearQueue done [19:08:27]KKMCreateOFDPacket [19:08:27]OFDProtocolAddRootSTLVToBuf [19:08:27]FM_MakeSignedData [19:08:27]FM_MakeSignedData [19:08:27]SAM_PROTO_SignData [19:08:27]wFMCommunicate request_size=4 [19:08:27]MH_SAM_APDU [19:08:27]CAPDU: 80 0D 01 02 [19:08:27]Write to MH i2c: E2 08 00 3E 11 80 0D 01 02 00 00 00 00 C8 [19:08:27]Write i2c OK [19:08:27]MH_I2C_Read... [19:08:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:08:28]Read from MH i2c: E2 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 3E 11 00 90 00 C3 [19:08:28]RAPDU: 90 00 [19:08:28]wFMCommunicate OK [19:08:28]wFMCommunicate request_size=255 [19:08:28]MH_SAM_APDU [19:08:28]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 35 00 00 00 F4 03 04 00 2F F8 17 67 0E 04 04 00 CE 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 [19:08:28]Write to MH i2c: E2 02 01 3F 11 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 35 00 00 00 F4 03 04 00 2F F8 17 67 0E 04 04 00 CE 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 32 [19:08:28]Write i2c OK [19:08:28]MH_I2C_Read... [19:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:28]Read from MH i2c: E2 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 3F 11 00 90 00 C4 [19:08:28]RAPDU: 90 00 [19:08:28]wFMCommunicate OK [19:08:28]wFMCommunicate request_size=35 [19:08:28]MH_SAM_APDU [19:08:28]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 72 5F 00 00 35 04 06 00 A8 CB 33 0E 33 0B [19:08:28]Write to MH i2c: E2 26 00 40 11 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 72 5F 00 00 35 04 06 00 A8 CB 33 0E 33 0B 00 00 7B [19:08:28]Write i2c OK [19:08:28]MH_I2C_Read... [19:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:08:28]Read from MH i2c: E2 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 03 00 40 11 00 90 00 C5 [19:08:28]RAPDU: 90 00 [19:08:28]wFMCommunicate OK [19:08:28]wFMCommunicate request_size=4 [19:08:28]MH_SAM_APDU [19:08:28]CAPDU: 80 0D 03 02 [19:08:28]Write to MH i2c: E2 08 00 41 11 80 0D 03 02 00 00 00 00 CD [19:08:28]Write i2c OK [19:08:28]MH_I2C_Read... [19:08:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:08:28]Read from MH i2c: E2 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 0B 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 0B 00 41 11 00 29 D7 9B 68 DA 56 0B 8C 90 00 98 [19:08:28]RAPDU: 29 D7 9B 68 DA 56 0B 8C 90 00 [19:08:28]wFMCommunicate OK [19:08:28]SAM_PROTO_SignData done [19:08:28]FM_MakeSignedData done [19:08:28]CreateOFDProtocolMessage [19:08:28]wFMCommunicate request_size=4 [19:08:28]MH_SAM_APDU [19:08:28]CAPDU: 80 11 00 00 [19:08:28]Write to MH i2c: E2 08 00 42 11 80 11 00 00 00 00 00 00 CD [19:08:28]Write i2c OK [19:08:28]MH_I2C_Read... [19:08:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:28]Read from MH i2c: E2 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 17 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: E2 17 00 42 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 1A [19:08:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:08:28]wFMCommunicate OK [19:08:28]CreateOFDProtocolMessage done [19:08:28]OFDSenderStorePacket 24434 [19:08:28]StoreOFDPacket docnum=24434 [19:08: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 28 01 00 00 0A 82 20 01 F4 A6 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 35 00 00 00 F4 03 04 00 2F F8 17 67 0E 04 04 00 CE 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 72 5F 00 00 35 04 06 00 A8 CB 33 0E 33 0B 29 D7 9B 68 DA 56 0B 8C [19:08:28]CheckFolder [19:08:28]dirname=/storage/ofd_packets [19:08:28]CheckFolder done [19:08:28]ProducePacketName [19:08:28]name=ofd_packets/00024434 [19:08:28]NVStorageSaveData ofd_packets/00024434 [19:08:28]File name is /storage/ofd_packets/00024434 [19:08:28]Write 326 bytes [19:08:28]NVStorageSaveData done [19:08:28]OFDSenderStorePacket done [19:08:28]KKMCreateOFDPacket done [19:08:28]NVStorageSaveData kkm_last_timestamp [19:08:28]File name is /storage/kkm_last_timestamp [19:08:28]Write 4 bytes [19:08:28]NVStorageSaveData done [19:08:28]ExternCall_PrintAddStr [19:08:28]wPrintStart [19:08:28]Write to MH i2c: 01 00 00 43 11 54 [19:08:28]Write i2c OK [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: 01 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: 01 07 00 [19:08:28]MH_I2C_Read... [19:08:28]Read from MH i2c: 01 07 00 43 11 00 00 00 00 00 FF 0F 69 [19:08:28]RasterBufferAndPrint [19:08:28]line Счет N : (3)134952 [19:08:28]line ИНН: 02508201610067 [19:08:28]line Контрольно-Кассовый Чек [19:08:28]line ПРОДАЖА [19:08:28]line Товар: 48744683 [19:08:28]line Сигареты Winston XStyle Caster+ [19:08:28]line 1.000 * 147.00 [19:08:28]line = 147.00 [19:08:28]line НДС 12% НСП 1% [19:08:28]line > о реализуемом товаре [19:08:28]line ИТОГО: 147.00 [19:08:28]line НСП 1% : 1.30 [19:08:28]line НДС 12% : 15.61 [19:08:28]line Наличными: 147.00 [19:08:28]line Безнал.: 0.00 [19:08:28]line Место: АЗС № 85 "Партнер Нефть" [19:08:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:08:28]line СНО: Общий режим [19:08:28]line Чек 53 22.10.2024 19:08 [19:08:28]line Смена: 462 ФФД: 1.0 [19:08:28]line ЗНМ: 0300000166 [19:08:28]line РНМ: 0000000000098120 [19:08:28]line Версия ККМ: 001 [19:08:28]line ФМ: 0000000000965420 [19:08:28]line ФД: 24434 [19:08:28]line ФПД: 185590688396043 [19:08:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24434&fm=185590688396043&tin=02508201610067®Number=0000000000098120&sum=14700 [19:08:28]line 0 [19:08:28]OFD Sender: Processing packet 24434 [packets to send 5, broken 4] [19:08:28]ProducePacketName [19:08:28]name=ofd_packets/00024434 [19:08:28]OFD Sender: To server: pG, [19:08:28]CommunicateWithHost lk.salyk.kg:30040 [19:08:28]ConnectInit lk.salyk.kg [19:08:28]written 0, free lines is 4095 [19:08:28]Connected sock=10 [19:08: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 28 01 00 00 0A 82 20 01 F4 A6 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 35 00 00 00 F4 03 04 00 2F F8 17 67 0E 04 04 00 CE 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 72 5F 00 00 35 04 06 00 A8 CB 33 0E 33 0B 29 D7 9B 68 DA 56 0B 8C [19:08: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 FA 33 47 00 BE 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 72 5F 00 00 F4 03 04 00 D2 A3 17 67 B6 04 01 00 00 42 6B 5E 78 90 6A A7 F7 [19:08:29]CommunicateWithHost err = 0 [19:08:29]CheckOFDResponse [19:08:29]1017 (14) - 77093643461234 [19:08:29]1041 (16) - 0000000000965420 [19:08:29]1040 (4) - 24434 [19:08:29]1012 (4) - 22.10.2024 13:08 [19:08:29]1206 (1) - 0 [19:08:29]OFD Sender: Remove packet 24434 [19:08:29]ProducePacketName [19:08:29]name=ofd_packets/00024434 [19:08:29]NVStorageDeleteData [19:08:29]Write to MH i2c: 01 00 00 6C 11 7D [19:08:29]Write i2c OK [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: 01 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: 01 07 00 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: 01 07 00 6C 11 00 00 00 00 00 04 0D 95 [19:08:29]RasterBufferAndPrint [19:08:29]line [19:08:29]line [19:08:29]line [19:08:29]line [19:08:29]line [19:08:29]written 0, free lines is 3338 [19:08:29]process_action close_receipt done [19:08:29]requested_data is exist [19:08:29]produce_requested_data [19:08:29]requested_item fm.sn is exist - process it [19:08:29]wFMCommunicate request_size=4 [19:08:29]MH_SAM_APDU [19:08:29]CAPDU: 80 11 00 00 [19:08:29]Write to MH i2c: E2 08 00 73 11 80 11 00 00 00 00 00 00 FE [19:08:29]Write i2c OK [19:08:29]MH_I2C_Read... [19:08:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:08:29]Read from MH i2c: E2 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 17 00 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 17 00 73 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4B [19:08:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:08:29]wFMCommunicate OK [19:08:29]requested_item fd.num is exist - process it [19:08:29]SAM_PROTO_GetFieldsCounters [19:08:29]wFMCommunicate request_size=4 [19:08:29]MH_SAM_APDU [19:08:29]CAPDU: 80 13 00 00 [19:08:29]Write to MH i2c: E2 08 00 74 11 80 13 00 00 00 00 00 00 01 [19:08:29]Write i2c OK [19:08:29]MH_I2C_Read... [19:08:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:08:29]Read from MH i2c: E2 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 62 00 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 62 00 74 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 72 5F 00 00 0E 04 04 00 CE 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 56 [19:08: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 72 5F 00 00 0E 04 04 00 CE 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 [19:08:29]wFMCommunicate OK [19:08:29]SAM_PROTO_GetFieldsCounters done [19:08:29]requested_item shift.num is exist - process it [19:08:29]requested_item shift.opened is exist - process it [19:08:29]req_shift_opened [19:08:29]FM_GetShiftState [19:08:29]SAM_PROTO_GetShiftState [19:08:29]wFMCommunicate request_size=4 [19:08:29]MH_SAM_APDU [19:08:29]CAPDU: 80 13 01 00 [19:08:29]Write to MH i2c: E2 08 00 75 11 80 13 01 00 00 00 00 00 03 [19:08:29]Write i2c OK [19:08:29]MH_I2C_Read... [19:08:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:08:29]Read from MH i2c: E2 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 0E 00 [19:08:29]MH_I2C_Read... [19:08:29]Read from MH i2c: E2 0E 00 75 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 FB [19:08:29]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:08:29]wFMCommunicate OK [19:08:29]SAM_PROTO_GetShiftState done [19:08:29]FM_GetShiftState done [19:08:29]req_shift_opened done [19:08:29]requested_item shift.open_date is exist - process it [19:08:29]req_shift_open_date [19:08:29]req_shift_open_date done [19:08:29]produce_requested_data done [19:08:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24434,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:08:29]process_action_free close_receipt [19:08:29]json_value_free [19:08:29]json_value_free done [19:08:29]process_json_proto returns [19:08:29]Send response to host [19:08:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24434,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:08:29]free response buf [19:08:29]execute_script done [19:08:29]execute_script returns [19:08:29]free content buf [19:08:29]Sock 7.Close socket [19:08:29]Sock 7.Thread stoped [19:08:29]OFD Sender: No OFD packet to send [19:08:34]OFD Sender: No OFD packet to send [19:08:39]OFD Sender: No OFD packet to send [19:08:44]OFD Sender: No OFD packet to send [19:08:49]OFD Sender: No OFD packet to send [19:08:54]OFD Sender: No OFD packet to send [19:08:59]OFD Sender: No OFD packet to send [19:09:04]OFD Sender: No OFD packet to send [19:09:09]OFD Sender: No OFD packet to send [19:09:14]OFD Sender: No OFD packet to send [19:09:19]OFD Sender: No OFD packet to send [19:09:24]OFD Sender: No OFD packet to send [19:09:29]OFD Sender: No OFD packet to send [19:09:34]OFD Sender: No OFD packet to send [19:09:39]OFD Sender: No OFD packet to send [19:09:44]OFD Sender: No OFD packet to send [19:09:49]OFD Sender: No OFD packet to send [19:09:54]OFD Sender: No OFD packet to send [19:09:54]accept exits with 9 [19:09:54]New connection [19:09:54]New thread 3067452772 created [19:09:54]Thread 3067596132 joined [19:09:54]Waiting for new connection... [19:09:54] Sock 9.Parse request [19:09:54]Sock 9.Check first char [19:09:54]Sock 9.First char is OK [19:09:54]request: POST /json_proto HTTP/1.0 [19:09:54]Method: POST [19:09:54]URL: /json_proto [19:09:54]Method is POST - this is cgi request [19:09:54]url: /json_proto [19:09:54]query_string will be loaded in cgi processing [19:09:54]execute_cgi json_proto POST (null) [19:09:54]execute_cgi path=json_proto method=POST [19:09:54]POST find Content-Length [19:09:54]Host: 172.17.50.4:8080 [19:09:54]Content-Length: 751 [19:09:54]Content-Type: application/json [19:09:54] [19:09:54]POST finish read [19:09:54]Found Content-Length = 751 [19:09:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134953", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:09:54]execute_script... [19:09:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134953", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 147.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:09:54]POST & json_proto [19:09:54]process_json_proto [19:09:54]json parsed OK: [19:09:54]protocol is kg_v1.0 [19:09:54]action value=close_receipt [19:09:54]process_action close_receipt [19:09:54]cmd_close_receipt [19:09:54]MH_GetDate [19:09:54]Write to MH i2c: F0 00 00 76 11 76 [19:09:54]Write i2c OK [19:09:54]MH_I2C_Read... [19:09:54]Read from MH i2c: F0 [19:09:54]MH_I2C_Read... [19:09:54]Read from MH i2c: F0 09 00 [19:09:54]MH_I2C_Read... [19:09:54]Read from MH i2c: F0 09 00 76 11 00 87 F8 17 67 3B 12 16 67 46 [19:09:54]GetLastDocTimeStamp 1729624111 [19:09:54]current date 1729624199 [19:09:54]FM_GetShiftState [19:09:54]SAM_PROTO_GetShiftState [19:09:54]wFMCommunicate request_size=4 [19:09:54]MH_SAM_APDU [19:09:54]CAPDU: 80 13 01 00 [19:09:54]Write to MH i2c: E2 08 00 77 11 80 13 01 00 00 00 00 00 05 [19:09:54]Write i2c OK [19:09:54]MH_I2C_Read... [19:09:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:54]Read from MH i2c: E2 [19:09:54]MH_I2C_Read... [19:09:54]Read from MH i2c: E2 0E 00 [19:09:54]MH_I2C_Read... [19:09:54]Read from MH i2c: E2 0E 00 77 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 FD [19:09:54]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:09:54]wFMCommunicate OK [19:09:54]SAM_PROTO_GetShiftState done [19:09:54]FM_GetShiftState done [19:09:54]opened in 1729555332 [19:09:54]opened+sec_in_day 1729641732 [19:09:54]quantity*price = 14700 [19:09:54]sum+1 = 14701 [19:09:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 147.00 НСП 1% : 1.30 НДС 12% : 15.61 Наличными: 0.00 Безнал.: 147.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 54 22.10.2024 19:09 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24435 ФПД: 21517737764503 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190959&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24435&fm=21517737764503&tin=02508201610067®Number=0000000000098120&sum=14700 0 [19:09:55]StoreToDocumentArchive [19:09:55]shift 462 fd 24435 [19:09:55]save to /storage/0462/doc_00024435 [19:09:55]save last doc name /storage/0462/doc_00024435 to /storage/kkm_last_doc_name [19:09:55]save OK [19:09:55]Clear old archive folders... [19:09:55]ProcessDocumentItem done err = 0, tmpTLVsize=276 [19:09:55]tlvbuf is 00D53620 [19:09:55]SAM_PROTO_ClearQueue [19:09:55]wFMCommunicate request_size=4 [19:09:55]MH_SAM_APDU [19:09:55]CAPDU: 80 09 00 00 [19:09:55]Write to MH i2c: E2 08 00 84 11 80 09 00 00 00 00 00 00 07 [19:09:55]Write i2c OK [19:09:55]MH_I2C_Read... [19:09:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:09:55]Read from MH i2c: E2 [19:09:55]MH_I2C_Read... [19:09:55]Read from MH i2c: E2 03 00 [19:09:55]MH_I2C_Read... [19:09:55]Read from MH i2c: E2 03 00 84 11 00 90 00 09 [19:09:55]RAPDU: 90 00 [19:09:55]wFMCommunicate OK [19:09:55]SAM_PROTO_ClearQueue done [19:09:55]KKMCreateOFDPacket [19:09:55]OFDProtocolAddRootSTLVToBuf [19:09:55]FM_MakeSignedData [19:09:55]FM_MakeSignedData [19:09:55]SAM_PROTO_SignData [19:09:55]wFMCommunicate request_size=4 [19:09:55]MH_SAM_APDU [19:09:55]CAPDU: 80 0D 01 02 [19:09:55]Write to MH i2c: E2 08 00 85 11 80 0D 01 02 00 00 00 00 0F [19:09:55]Write i2c OK [19:09:55]MH_I2C_Read... [19:09:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:09:56]Read from MH i2c: E2 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 85 11 00 90 00 0A [19:09:56]RAPDU: 90 00 [19:09:56]wFMCommunicate OK [19:09:56]wFMCommunicate request_size=255 [19:09:56]MH_SAM_APDU [19:09:56]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 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 F8 17 67 0E 04 04 00 CE 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 [19:09:56]Write to MH i2c: E2 02 01 86 11 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 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 F8 17 67 0E 04 04 00 CE 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 D2 [19:09:56]Write i2c OK [19:09:56]MH_I2C_Read... [19:09:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:56]Read from MH i2c: E2 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 86 11 00 90 00 0B [19:09:56]RAPDU: 90 00 [19:09:56]wFMCommunicate OK [19:09:56]wFMCommunicate request_size=35 [19:09:56]MH_SAM_APDU [19:09:56]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 73 5F 00 00 35 04 06 00 13 91 FD 1D A6 97 [19:09:56]Write to MH i2c: E2 26 00 87 11 80 0D 02 02 1E 00 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 73 5F 00 00 35 04 06 00 13 91 FD 1D A6 97 00 00 CC [19:09:56]Write i2c OK [19:09:56]MH_I2C_Read... [19:09:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:56]Read from MH i2c: E2 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 03 00 87 11 00 90 00 0C [19:09:56]RAPDU: 90 00 [19:09:56]wFMCommunicate OK [19:09:56]wFMCommunicate request_size=4 [19:09:56]MH_SAM_APDU [19:09:56]CAPDU: 80 0D 03 02 [19:09:56]Write to MH i2c: E2 08 00 88 11 80 0D 03 02 00 00 00 00 14 [19:09:56]Write i2c OK [19:09:56]MH_I2C_Read... [19:09:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:09:56]Read from MH i2c: E2 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 0B 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 0B 00 88 11 00 87 C5 3D AE A1 2D 5D 1E 90 00 95 [19:09:56]RAPDU: 87 C5 3D AE A1 2D 5D 1E 90 00 [19:09:56]wFMCommunicate OK [19:09:56]SAM_PROTO_SignData done [19:09:56]FM_MakeSignedData done [19:09:56]CreateOFDProtocolMessage [19:09:56]wFMCommunicate request_size=4 [19:09:56]MH_SAM_APDU [19:09:56]CAPDU: 80 11 00 00 [19:09:56]Write to MH i2c: E2 08 00 89 11 80 11 00 00 00 00 00 00 14 [19:09:56]Write i2c OK [19:09:56]MH_I2C_Read... [19:09:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:56]Read from MH i2c: E2 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 17 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: E2 17 00 89 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 61 [19:09:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:09:56]wFMCommunicate OK [19:09:56]CreateOFDProtocolMessage done [19:09:56]OFDSenderStorePacket 24435 [19:09:56]StoreOFDPacket docnum=24435 [19:09:56]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 6A F9 20 01 D3 D2 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 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 F8 17 67 0E 04 04 00 CE 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 73 5F 00 00 35 04 06 00 13 91 FD 1D A6 97 87 C5 3D AE A1 2D 5D 1E [19:09:56]CheckFolder [19:09:56]dirname=/storage/ofd_packets [19:09:56]CheckFolder done [19:09:56]ProducePacketName [19:09:56]name=ofd_packets/00024435 [19:09:56]NVStorageSaveData ofd_packets/00024435 [19:09:56]File name is /storage/ofd_packets/00024435 [19:09:56]Write 326 bytes [19:09:56]NVStorageSaveData done [19:09:56]OFDSenderStorePacket done [19:09:56]KKMCreateOFDPacket done [19:09:56]NVStorageSaveData kkm_last_timestamp [19:09:56]File name is /storage/kkm_last_timestamp [19:09:56]Write 4 bytes [19:09:56]NVStorageSaveData done [19:09:56]ExternCall_PrintAddStr [19:09:56]wPrintStart [19:09:56]Write to MH i2c: 01 00 00 8A 11 9B [19:09:56]OFD Sender: Processing packet 24435 [packets to send 5, broken 4] [19:09:56]ProducePacketName [19:09:56]name=ofd_packets/00024435 [19:09:56]OFD Sender: To server: pG, [19:09:56]CommunicateWithHost lk.salyk.kg:30040 [19:09:56]ConnectInit lk.salyk.kg [19:09:56]Write i2c OK [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: 01 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: 01 07 00 [19:09:56]MH_I2C_Read... [19:09:56]Read from MH i2c: 01 07 00 8A 11 00 00 00 00 00 FF 0F B0 [19:09:56]RasterBufferAndPrint [19:09:56]line Счет N : (3)134953 [19:09:56]line ИНН: 02508201610067 [19:09:56]line Контрольно-Кассовый Чек [19:09:56]line ПРОДАЖА [19:09:56]line Товар: 48744683 [19:09:56]line Сигареты Winston XStyle Caster+ [19:09:56]line 1.000 * 147.00 [19:09:56]line = 147.00 [19:09:56]line НДС 12% НСП 1% [19:09:56]line > о реализуемом товаре [19:09:56]line ИТОГО: 147.00 [19:09:56]line НСП 1% : 1.30 [19:09:56]line НДС 12% : 15.61 [19:09:56]line Наличными: 0.00 [19:09:56]line Безнал.: 147.00 [19:09:56]line Место: АЗС № 85 "Партнер Нефть" [19:09:56]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:09:56]line СНО: Общий режим [19:09:56]line Чек 54 22.10.2024 19:09 [19:09:56]line Смена: 462 ФФД: 1.0 [19:09:56]line ЗНМ: 0300000166 [19:09:56]line РНМ: 0000000000098120 [19:09:56]line Версия ККМ: 001 [19:09:56]line Платежная система: Mbank [19:09:56]line ФМ: 0000000000965420 [19:09:56]line ФД: 24435 [19:09:56]line ФПД: 21517737764503 [19:09:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T190959&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24435&fm=21517737764503&tin=02508201610067®Number=0000000000098120&sum=14700 [19:09:56]Connected sock=10 [19:09:56]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 6A F9 20 01 D3 D2 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 00 00 00 00 00 00 39 04 06 00 6C 39 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 87 F8 17 67 0E 04 04 00 CE 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 73 5F 00 00 35 04 06 00 13 91 FD 1D A6 97 87 C5 3D AE A1 2D 5D 1E [19:09:56]line 0 [19:09:56]written 0, free lines is 4095 [19:09: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 A6 69 47 00 8B 78 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 73 5F 00 00 F4 03 04 00 2A A4 17 67 B6 04 01 00 00 BC F7 B6 94 54 A7 DD BB [19:09:57]CommunicateWithHost err = 0 [19:09:57]CheckOFDResponse [19:09:57]1017 (14) - 77093643461234 [19:09:57]1041 (16) - 0000000000965420 [19:09:57]1040 (4) - 24435 [19:09:57]1012 (4) - 22.10.2024 13:10 [19:09:57]1206 (1) - 0 [19:09:57]OFD Sender: Remove packet 24435 [19:09:57]ProducePacketName [19:09:57]name=ofd_packets/00024435 [19:09:57]NVStorageDeleteData [19:09:57]Write to MH i2c: 01 00 00 B4 11 C5 [19:09:57]Write i2c OK [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: 01 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: 01 07 00 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: 01 07 00 B4 11 00 00 00 00 00 F4 0C CC [19:09:57]RasterBufferAndPrint [19:09:57]line [19:09:57]line [19:09:57]line [19:09:57]line [19:09:57]line [19:09:57]written 0, free lines is 3323 [19:09:57]process_action close_receipt done [19:09:57]requested_data is exist [19:09:57]produce_requested_data [19:09:57]requested_item fm.sn is exist - process it [19:09:57]wFMCommunicate request_size=4 [19:09:57]MH_SAM_APDU [19:09:57]CAPDU: 80 11 00 00 [19:09:57]Write to MH i2c: E2 08 00 BB 11 80 11 00 00 00 00 00 00 46 [19:09:57]Write i2c OK [19:09:57]MH_I2C_Read... [19:09:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:57]Read from MH i2c: E2 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 17 00 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 17 00 BB 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 93 [19:09:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:09:57]wFMCommunicate OK [19:09:57]requested_item fd.num is exist - process it [19:09:57]SAM_PROTO_GetFieldsCounters [19:09:57]wFMCommunicate request_size=4 [19:09:57]MH_SAM_APDU [19:09:57]CAPDU: 80 13 00 00 [19:09:57]Write to MH i2c: E2 08 00 BC 11 80 13 00 00 00 00 00 00 49 [19:09:57]Write i2c OK [19:09:57]MH_I2C_Read... [19:09:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:09:57]Read from MH i2c: E2 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 62 00 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 62 00 BC 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 73 5F 00 00 0E 04 04 00 CE 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 A2 [19:09:57]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 73 5F 00 00 0E 04 04 00 CE 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:09:57]wFMCommunicate OK [19:09:57]SAM_PROTO_GetFieldsCounters done [19:09:57]requested_item shift.num is exist - process it [19:09:57]requested_item shift.opened is exist - process it [19:09:57]req_shift_opened [19:09:57]FM_GetShiftState [19:09:57]SAM_PROTO_GetShiftState [19:09:57]wFMCommunicate request_size=4 [19:09:57]MH_SAM_APDU [19:09:57]CAPDU: 80 13 01 00 [19:09:57]Write to MH i2c: E2 08 00 BD 11 80 13 01 00 00 00 00 00 4B [19:09:57]Write i2c OK [19:09:57]MH_I2C_Read... [19:09:57]OFD Sender: No OFD packet to send [19:09:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:57]Read from MH i2c: E2 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 0E 00 [19:09:57]MH_I2C_Read... [19:09:57]Read from MH i2c: E2 0E 00 BD 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 43 [19:09:57]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:09:57]wFMCommunicate OK [19:09:57]SAM_PROTO_GetShiftState done [19:09:57]FM_GetShiftState done [19:09:57]req_shift_opened done [19:09:57]requested_item shift.open_date is exist - process it [19:09:57]req_shift_open_date [19:09:57]req_shift_open_date done [19:09:57]produce_requested_data done [19:09:57]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24435,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:09:57]process_action_free close_receipt [19:09:57]json_value_free [19:09:57]json_value_free done [19:09:57]process_json_proto returns [19:09:57]Send response to host [19:09:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24435,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:09:57]free response buf [19:09:57]execute_script done [19:09:57]execute_script returns [19:09:57]free content buf [19:09:57]Sock 9.Close socket [19:09:57]Sock 9.Thread stoped [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:36]accept exits with 7 [19:14:36]New connection [19:14:36]New thread 3067596132 created [19:14:36]Thread 3067452772 joined [19:14:36]Waiting for new connection... [19:14:36] Sock 7.Parse request [19:14:36]Sock 7.Check first char [19:14:36]Sock 7.First char is OK [19:14:36]request: POST /json_proto HTTP/1.0 [19:14:36]Method: POST [19:14:36]URL: /json_proto [19:14:36]Method is POST - this is cgi request [19:14:36]url: /json_proto [19:14:36]query_string will be loaded in cgi processing [19:14:36]execute_cgi json_proto POST (null) [19:14:36]execute_cgi path=json_proto method=POST [19:14:36]POST find Content-Length [19:14:36]Host: 172.17.50.4:8080 [19:14:36]Content-Length: 632 [19:14:36]Content-Type: application/json [19:14:36] [19:14:36]POST finish read [19:14:36]Found Content-Length = 632 [19:14:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134954", "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:14:36]execute_script... [19:14: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)134954", "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:14:36]POST & json_proto [19:14:36]process_json_proto [19:14:36]json parsed OK: [19:14:36]protocol is kg_v1.0 [19:14:36]action value=close_receipt [19:14:36]process_action close_receipt [19:14:36]cmd_close_receipt [19:14:36]MH_GetDate [19:14:36]Write to MH i2c: F0 00 00 BE 11 BE [19:14:36]Write i2c OK [19:14:36]MH_I2C_Read... [19:14:36]Read from MH i2c: F0 [19:14:36]MH_I2C_Read... [19:14:36]Read from MH i2c: F0 09 00 [19:14:36]MH_I2C_Read... [19:14:36]Read from MH i2c: F0 09 00 BE 11 00 A1 F9 17 67 3B 12 16 67 A9 [19:14:36]GetLastDocTimeStamp 1729624199 [19:14:36]current date 1729624481 [19:14:36]FM_GetShiftState [19:14:36]SAM_PROTO_GetShiftState [19:14:36]wFMCommunicate request_size=4 [19:14:36]MH_SAM_APDU [19:14:36]CAPDU: 80 13 01 00 [19:14:36]Write to MH i2c: E2 08 00 BF 11 80 13 01 00 00 00 00 00 4D [19:14:36]Write i2c OK [19:14:36]MH_I2C_Read... [19:14:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:36]Read from MH i2c: E2 [19:14:36]MH_I2C_Read... [19:14:36]Read from MH i2c: E2 0E 00 [19:14:36]MH_I2C_Read... [19:14:36]Read from MH i2c: E2 0E 00 BF 11 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 45 [19:14:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:14:36]wFMCommunicate OK [19:14:36]SAM_PROTO_GetShiftState done [19:14:36]FM_GetShiftState done [19:14:36]opened in 1729555332 [19:14:36]opened+sec_in_day 1729641732 [19:14:36]quantity*price = 6000 [19:14:36]sum+1 = 6001 [19:14:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 55 22.10.2024 19:14 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24436 ФПД: 222749931723954 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T191441&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24436&fm=222749931723954&tin=02508201610067®Number=0000000000098120&sum=6000 0 [19:14:37]StoreToDocumentArchive [19:14:37]shift 462 fd 24436 [19:14:37]save to /storage/0462/doc_00024436 [19:14:37]save last doc name /storage/0462/doc_00024436 to /storage/kkm_last_doc_name [19:14:37]save OK [19:14:37]Clear old archive folders... [19:14:37]ProcessDocumentItem done err = 0, tmpTLVsize=271 [19:14:37]tlvbuf is 00D71A60 [19:14:37]SAM_PROTO_ClearQueue [19:14:37]wFMCommunicate request_size=4 [19:14:37]MH_SAM_APDU [19:14:37]CAPDU: 80 09 00 00 [19:14:37]Write to MH i2c: E2 08 00 CC 11 80 09 00 00 00 00 00 00 4F [19:14:37]Write i2c OK [19:14:37]MH_I2C_Read... [19:14:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:14:37]Read from MH i2c: E2 [19:14:37]MH_I2C_Read... [19:14:37]Read from MH i2c: E2 03 00 [19:14:37]MH_I2C_Read... [19:14:37]Read from MH i2c: E2 03 00 CC 11 00 90 00 51 [19:14:37]RAPDU: 90 00 [19:14:37]wFMCommunicate OK [19:14:37]SAM_PROTO_ClearQueue done [19:14:37]KKMCreateOFDPacket [19:14:37]OFDProtocolAddRootSTLVToBuf [19:14:37]FM_MakeSignedData [19:14:37]FM_MakeSignedData [19:14:37]SAM_PROTO_SignData [19:14:37]wFMCommunicate request_size=4 [19:14:37]MH_SAM_APDU [19:14:37]CAPDU: 80 0D 01 02 [19:14:37]Write to MH i2c: E2 08 00 CD 11 80 0D 01 02 00 00 00 00 57 [19:14:37]Write i2c OK [19:14:37]MH_I2C_Read... [19:14:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:14:38]Read from MH i2c: E2 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 CD 11 00 90 00 52 [19:14:38]RAPDU: 90 00 [19:14:38]wFMCommunicate OK [19:14:38]wFMCommunicate request_size=255 [19:14:38]MH_SAM_APDU [19:14:38]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 37 00 00 00 F4 03 04 00 A1 F9 17 67 0E 04 04 00 CE 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:14:38]Write to MH i2c: E2 02 01 CE 11 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 37 00 00 00 F4 03 04 00 A1 F9 17 67 0E 04 04 00 CE 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 C6 [19:14:38]Write i2c OK [19:14:38]MH_I2C_Read... [19:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:38]Read from MH i2c: E2 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 CE 11 00 90 00 53 [19:14:38]RAPDU: 90 00 [19:14:38]wFMCommunicate OK [19:14:38]wFMCommunicate request_size=30 [19:14:38]MH_SAM_APDU [19:14:38]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 74 5F 00 00 35 04 06 00 CA 97 02 8D DC B2 [19:14:38]Write to MH i2c: E2 21 00 CF 11 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 74 5F 00 00 35 04 06 00 CA 97 02 8D DC B2 00 00 9E [19:14:38]Write i2c OK [19:14:38]MH_I2C_Read... [19:14:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:14:38]Read from MH i2c: E2 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 03 00 CF 11 00 90 00 54 [19:14:38]RAPDU: 90 00 [19:14:38]wFMCommunicate OK [19:14:38]wFMCommunicate request_size=4 [19:14:38]MH_SAM_APDU [19:14:38]CAPDU: 80 0D 03 02 [19:14:38]Write to MH i2c: E2 08 00 D0 11 80 0D 03 02 00 00 00 00 5C [19:14:38]Write i2c OK [19:14:38]MH_I2C_Read... [19:14:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:14:38]Read from MH i2c: E2 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 0B 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 0B 00 D0 11 00 7D 87 76 19 7F 22 9B F5 90 00 21 [19:14:38]RAPDU: 7D 87 76 19 7F 22 9B F5 90 00 [19:14:38]wFMCommunicate OK [19:14:38]SAM_PROTO_SignData done [19:14:38]FM_MakeSignedData done [19:14:38]CreateOFDProtocolMessage [19:14:38]wFMCommunicate request_size=4 [19:14:38]MH_SAM_APDU [19:14:38]CAPDU: 80 11 00 00 [19:14:38]Write to MH i2c: E2 08 00 D1 11 80 11 00 00 00 00 00 00 5C [19:14:38]Write i2c OK [19:14:38]MH_I2C_Read... [19:14:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:38]Read from MH i2c: E2 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 17 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: E2 17 00 D1 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A9 [19:14:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:14:38]wFMCommunicate OK [19:14:38]CreateOFDProtocolMessage done [19:14:38]OFDSenderStorePacket 24436 [19:14:38]StoreOFDPacket docnum=24436 [19:14: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 23 01 00 00 C0 EC 1B 01 AE 3E 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 37 00 00 00 F4 03 04 00 A1 F9 17 67 0E 04 04 00 CE 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 74 5F 00 00 35 04 06 00 CA 97 02 8D DC B2 7D 87 76 19 7F 22 9B F5 [19:14:38]CheckFolder [19:14:38]dirname=/storage/ofd_packets [19:14:38]CheckFolder done [19:14:38]ProducePacketName [19:14:38]name=ofd_packets/00024436 [19:14:38]NVStorageSaveData ofd_packets/00024436 [19:14:38]File name is /storage/ofd_packets/00024436 [19:14:38]Write 321 bytes [19:14:38]NVStorageSaveData done [19:14:38]OFDSenderStorePacket done [19:14:38]KKMCreateOFDPacket done [19:14:38]NVStorageSaveData kkm_last_timestamp [19:14:38]File name is /storage/kkm_last_timestamp [19:14:38]Write 4 bytes [19:14:38]NVStorageSaveData done [19:14:38]ExternCall_PrintAddStr [19:14:38]wPrintStart [19:14:38]Write to MH i2c: 01 00 00 D2 11 E3 [19:14:38]Write i2c OK [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: 01 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: 01 07 00 [19:14:38]MH_I2C_Read... [19:14:38]Read from MH i2c: 01 07 00 D2 11 00 00 00 00 00 FF 0F F8 [19:14:38]RasterBufferAndPrint [19:14:38]line Счет N : (3)134954 [19:14:38]line ИНН: 02508201610067 [19:14:38]line Контрольно-Кассовый Чек [19:14:38]line ПРОДАЖА [19:14:38]line Товар: 4700025313937 [19:14:38]line ВОДКА МЯГКАЯ 0,1л [19:14:38]line 1.000 * 60.00 [19:14:38]line = 60.00 [19:14:38]line НДС 12% НСП 1% [19:14:38]line > о реализуемом товаре [19:14:38]line ИТОГО: 60.00 [19:14:38]line НСП 1% : 0.53 [19:14:38]line НДС 12% : 6.37 [19:14:38]line Наличными: 60.00 [19:14:38]line Безнал.: 0.00 [19:14:38]line Место: АЗС № 85 "Партнер Нефть" [19:14:38]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:14:38]line СНО: Общий режим [19:14:38]line Чек 55 22.10.2024 19:14 [19:14:38]line Смена: 462 ФФД: 1.0 [19:14:38]line ЗНМ: 0300000166 [19:14:38]line РНМ: 0000000000098120 [19:14:38]line Версия ККМ: 001 [19:14:38]line ФМ: 0000000000965420 [19:14:38]line ФД: 24436 [19:14:38]line ФПД: 222749931723954 [19:14:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T191441&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24436&fm=222749931723954&tin=02508201610067®Number=0000000000098120&sum=6000 [19:14:38]line 0 [19:14:38]OFD Sender: Processing packet 24436 [packets to send 5, broken 4] [19:14:38]ProducePacketName [19:14:38]name=ofd_packets/00024436 [19:14:38]OFD Sender: To server: pG, [19:14:38]CommunicateWithHost lk.salyk.kg:30040 [19:14:38]ConnectInit lk.salyk.kg [19:14:38]written 0, free lines is 4095 [19:14:38]Connected sock=10 [19:14: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 23 01 00 00 C0 EC 1B 01 AE 3E 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 37 00 00 00 F4 03 04 00 A1 F9 17 67 0E 04 04 00 CE 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 74 5F 00 00 35 04 06 00 CA 97 02 8D DC B2 7D 87 76 19 7F 22 9B F5 [19:14:39]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 E1 47 00 C0 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 74 5F 00 00 F4 03 04 00 44 A5 17 67 B6 04 01 00 00 B7 30 DC 65 87 3A 09 F0 [19:14:39]CommunicateWithHost err = 0 [19:14:39]CheckOFDResponse [19:14:39]1017 (14) - 77093643461234 [19:14:39]1041 (16) - 0000000000965420 [19:14:39]1040 (4) - 24436 [19:14:39]1012 (4) - 22.10.2024 13:14 [19:14:39]1206 (1) - 0 [19:14:39]OFD Sender: Remove packet 24436 [19:14:39]ProducePacketName [19:14:39]name=ofd_packets/00024436 [19:14:39]NVStorageDeleteData [19:14:39]Write to MH i2c: 01 00 00 FA 11 0B [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: 01 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: 01 07 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: 01 07 00 FA 11 00 00 00 00 00 25 0D 44 [19:14:39]RasterBufferAndPrint [19:14:39]line [19:14:39]line [19:14:39]line [19:14:39]line [19:14:39]line [19:14:39]written 0, free lines is 3371 [19:14:39]process_action close_receipt done [19:14:39]requested_data is exist [19:14:39]produce_requested_data [19:14:39]requested_item fm.sn is exist - process it [19:14:39]wFMCommunicate request_size=4 [19:14:39]MH_SAM_APDU [19:14:39]CAPDU: 80 11 00 00 [19:14:39]Write to MH i2c: E2 08 00 01 12 80 11 00 00 00 00 00 00 8D [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:14:39]Read from MH i2c: E2 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 17 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 17 00 01 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DA [19:14:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:14:39]wFMCommunicate OK [19:14:39]requested_item fd.num is exist - process it [19:14:39]SAM_PROTO_GetFieldsCounters [19:14:39]wFMCommunicate request_size=4 [19:14:39]MH_SAM_APDU [19:14:39]CAPDU: 80 13 00 00 [19:14:39]Write to MH i2c: E2 08 00 02 12 80 13 00 00 00 00 00 00 90 [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:14:39]Read from MH i2c: E2 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 62 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 62 00 02 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 74 5F 00 00 0E 04 04 00 CE 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 ED [19:14: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 74 5F 00 00 0E 04 04 00 CE 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 [19:14:39]wFMCommunicate OK [19:14:39]SAM_PROTO_GetFieldsCounters done [19:14:39]requested_item shift.num is exist - process it [19:14:39]requested_item shift.opened is exist - process it [19:14:39]req_shift_opened [19:14:39]FM_GetShiftState [19:14:39]SAM_PROTO_GetShiftState [19:14:39]wFMCommunicate request_size=4 [19:14:39]MH_SAM_APDU [19:14:39]CAPDU: 80 13 01 00 [19:14:39]Write to MH i2c: E2 08 00 03 12 80 13 01 00 00 00 00 00 92 [19:14:39]Write i2c OK [19:14:39]MH_I2C_Read... [19:14:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:14:39]Read from MH i2c: E2 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 0E 00 [19:14:39]MH_I2C_Read... [19:14:39]Read from MH i2c: E2 0E 00 03 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8A [19:14:39]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:14:39]wFMCommunicate OK [19:14:39]SAM_PROTO_GetShiftState done [19:14:39]FM_GetShiftState done [19:14:39]req_shift_opened done [19:14:39]requested_item shift.open_date is exist - process it [19:14:39]req_shift_open_date [19:14:39]req_shift_open_date done [19:14:39]produce_requested_data done [19:14:39]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24436,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:14:39]process_action_free close_receipt [19:14:39]json_value_free [19:14:39]json_value_free done [19:14:39]process_json_proto returns [19:14:39]Send response to host [19:14:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24436,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:14:39]free response buf [19:14:39]execute_script done [19:14:39]execute_script returns [19:14:39]free content buf [19:14:39]Sock 7.Close socket [19:14:39]Sock 7.Thread stoped [19:14:39]OFD Sender: No OFD packet to send [19:14:44]OFD Sender: No OFD packet to send [19:14:49]OFD Sender: No OFD packet to send [19:14:54]OFD Sender: No OFD packet to send [19:14:59]OFD Sender: No OFD packet to send [19:15:04]OFD Sender: No OFD packet to send [19:15:09]OFD Sender: No OFD packet to send [19:15:14]OFD Sender: No OFD packet to send [19:15:19]OFD Sender: No OFD packet to send [19:15:24]OFD Sender: No OFD packet to send [19:15:29]OFD Sender: No OFD packet to send [19:15:34]OFD Sender: No OFD packet to send [19:15:39]OFD Sender: No OFD packet to send [19:15:44]OFD Sender: No OFD packet to send [19:15:49]OFD Sender: No OFD packet to send [19:15:54]OFD Sender: No OFD packet to send [19:15:59]OFD Sender: No OFD packet to send [19:16:04]OFD Sender: No OFD packet to send [19:16:09]OFD Sender: No OFD packet to send [19:16:14]OFD Sender: No OFD packet to send [19:16:19]OFD Sender: No OFD packet to send [19:16:24]OFD Sender: No OFD packet to send [19:16:29]OFD Sender: No OFD packet to send [19:16:34]OFD Sender: No OFD packet to send [19:16:39]OFD Sender: No OFD packet to send [19:16:44]OFD Sender: No OFD packet to send [19:16:49]OFD Sender: No OFD packet to send [19:16:54]OFD Sender: No OFD packet to send [19:16:59]OFD Sender: No OFD packet to send [19:17:04]OFD Sender: No OFD packet to send [19:17:09]OFD Sender: No OFD packet to send [19:17:14]OFD Sender: No OFD packet to send [19:17:19]OFD Sender: No OFD packet to send [19:17:24]OFD Sender: No OFD packet to send [19:17:29]OFD Sender: No OFD packet to send [19:17:34]OFD Sender: No OFD packet to send [19:17:39]OFD Sender: No OFD packet to send [19:17:44]OFD Sender: No OFD packet to send [19:17:49]OFD Sender: No OFD packet to send [19:17:54]OFD Sender: No OFD packet to send [19:17:59]OFD Sender: No OFD packet to send [19:18:04]OFD Sender: No OFD packet to send [19:18:09]OFD Sender: No OFD packet to send [19:18:14]OFD Sender: No OFD packet to send [19:18:19]OFD Sender: No OFD packet to send [19:18:24]OFD Sender: No OFD packet to send [19:18:29]OFD Sender: No OFD packet to send [19:18:34]OFD Sender: No OFD packet to send [19:18:39]OFD Sender: No OFD packet to send [19:18:44]OFD Sender: No OFD packet to send [19:18:49]OFD Sender: No OFD packet to send [19:18:54]OFD Sender: No OFD packet to send [19:18:59]OFD Sender: No OFD packet to send [19:19:04]OFD Sender: No OFD packet to send [19:19:09]OFD Sender: No OFD packet to send [19:19:14]OFD Sender: No OFD packet to send [19:19:19]OFD Sender: No OFD packet to send [19:19:24]OFD Sender: No OFD packet to send [19:19:29]OFD Sender: No OFD packet to send [19:19:34]OFD Sender: No OFD packet to send [19:19:39]OFD Sender: No OFD packet to send [19:19:44]OFD Sender: No OFD packet to send [19:19:49]OFD Sender: No OFD packet to send [19:19:54]OFD Sender: No OFD packet to send [19:19:59]OFD Sender: No OFD packet to send [19:20:04]OFD Sender: No OFD packet to send [19:20:09]OFD Sender: No OFD packet to send [19:20:14]OFD Sender: No OFD packet to send [19:20:19]OFD Sender: No OFD packet to send [19:20:24]OFD Sender: No OFD packet to send [19:20:29]OFD Sender: No OFD packet to send [19:20:34]OFD Sender: No OFD packet to send [19:20:39]OFD Sender: No OFD packet to send [19:20:44]OFD Sender: No OFD packet to send [19:20:49]OFD Sender: No OFD packet to send [19:20:54]OFD Sender: No OFD packet to send [19:20:59]OFD Sender: No OFD packet to send [19:21:04]OFD Sender: No OFD packet to send [19:21:09]OFD Sender: No OFD packet to send [19:21:14]OFD Sender: No OFD packet to send [19:21:19]OFD Sender: No OFD packet to send [19:21:24]OFD Sender: No OFD packet to send [19:21:29]OFD Sender: No OFD packet to send [19:21:34]OFD Sender: No OFD packet to send [19:21:39]OFD Sender: No OFD packet to send [19:21:44]OFD Sender: No OFD packet to send [19:21:49]OFD Sender: No OFD packet to send [19:21:54]OFD Sender: No OFD packet to send [19:21:59]OFD Sender: No OFD packet to send [19:22:04]OFD Sender: No OFD packet to send [19:22:09]OFD Sender: No OFD packet to send [19:22:14]OFD Sender: No OFD packet to send [19:22:19]OFD Sender: No OFD packet to send [19:22:24]OFD Sender: No OFD packet to send [19:22:29]OFD Sender: No OFD packet to send [19:22:34]OFD Sender: No OFD packet to send [19:22:39]OFD Sender: No OFD packet to send [19:22:44]OFD Sender: No OFD packet to send [19:22:49]OFD Sender: No OFD packet to send [19:22:55]OFD Sender: No OFD packet to send [19:23:00]OFD Sender: No OFD packet to send [19:23:05]OFD Sender: No OFD packet to send [19:23:10]OFD Sender: No OFD packet to send [19:23:15]OFD Sender: No OFD packet to send [19:23:20]OFD Sender: No OFD packet to send [19:23:25]OFD Sender: No OFD packet to send [19:23:30]OFD Sender: No OFD packet to send [19:23:35]OFD Sender: No OFD packet to send [19:23:40]OFD Sender: No OFD packet to send [19:23:45]OFD Sender: No OFD packet to send [19:23:50]OFD Sender: No OFD packet to send [19:23:55]OFD Sender: No OFD packet to send [19:24:00]OFD Sender: No OFD packet to send [19:24:05]OFD Sender: No OFD packet to send [19:24:10]OFD Sender: No OFD packet to send [19:24:15]OFD Sender: No OFD packet to send [19:24:20]OFD Sender: No OFD packet to send [19:24:25]OFD Sender: No OFD packet to send [19:24:30]OFD Sender: No OFD packet to send [19:24:35]OFD Sender: No OFD packet to send [19:24:40]OFD Sender: No OFD packet to send [19:24:45]OFD Sender: No OFD packet to send [19:24:50]OFD Sender: No OFD packet to send [19:24:55]OFD Sender: No OFD packet to send [19:25:00]OFD Sender: No OFD packet to send [19:25:05]OFD Sender: No OFD packet to send [19:25:10]OFD Sender: No OFD packet to send [19:25:15]OFD Sender: No OFD packet to send [19:25:20]OFD Sender: No OFD packet to send [19:25:25]OFD Sender: No OFD packet to send [19:25:30]OFD Sender: No OFD packet to send [19:25:35]OFD Sender: No OFD packet to send [19:25:40]OFD Sender: No OFD packet to send [19:25:45]OFD Sender: No OFD packet to send [19:25:50]OFD Sender: No OFD packet to send [19:25:55]OFD Sender: No OFD packet to send [19:26:00]OFD Sender: No OFD packet to send [19:26:05]OFD Sender: No OFD packet to send [19:26:10]OFD Sender: No OFD packet to send [19:26:15]OFD Sender: No OFD packet to send [19:26:20]OFD Sender: No OFD packet to send [19:26:25]OFD Sender: No OFD packet to send [19:26:30]OFD Sender: No OFD packet to send [19:26:35]OFD Sender: No OFD packet to send [19:26:40]OFD Sender: No OFD packet to send [19:26:45]OFD Sender: No OFD packet to send [19:26:50]OFD Sender: No OFD packet to send [19:26:55]OFD Sender: No OFD packet to send [19:27:00]OFD Sender: No OFD packet to send [19:27:05]OFD Sender: No OFD packet to send [19:27:10]OFD Sender: No OFD packet to send [19:27:15]OFD Sender: No OFD packet to send [19:27:20]OFD Sender: No OFD packet to send [19:27:25]OFD Sender: No OFD packet to send [19:27:30]OFD Sender: No OFD packet to send [19:27:35]OFD Sender: No OFD packet to send [19:27:40]OFD Sender: No OFD packet to send [19:27:45]OFD Sender: No OFD packet to send [19:27:50]OFD Sender: No OFD packet to send [19:27:55]OFD Sender: No OFD packet to send [19:28:00]OFD Sender: No OFD packet to send [19:28:05]OFD Sender: No OFD packet to send [19:28:10]OFD Sender: No OFD packet to send [19:28:15]OFD Sender: No OFD packet to send [19:28:20]OFD Sender: No OFD packet to send [19:28:25]OFD Sender: No OFD packet to send [19:28:30]OFD Sender: No OFD packet to send [19:28:35]OFD Sender: No OFD packet to send [19:28:40]OFD Sender: No OFD packet to send [19:28:45]OFD Sender: No OFD packet to send [19:28:50]OFD Sender: No OFD packet to send [19:28:55]OFD Sender: No OFD packet to send [19:29:00]OFD Sender: No OFD packet to send [19:29:05]OFD Sender: No OFD packet to send [19:29:10]OFD Sender: No OFD packet to send [19:29:15]OFD Sender: No OFD packet to send [19:29:20]OFD Sender: No OFD packet to send [19:29:25]OFD Sender: No OFD packet to send [19:29:30]OFD Sender: No OFD packet to send [19:29:35]OFD Sender: No OFD packet to send [19:29:40]OFD Sender: No OFD packet to send [19:29:45]OFD Sender: No OFD packet to send [19:29:50]OFD Sender: No OFD packet to send [19:29:55]OFD Sender: No OFD packet to send [19:30:00]OFD Sender: No OFD packet to send [19:30:05]OFD Sender: No OFD packet to send [19:30:10]OFD Sender: No OFD packet to send [19:30:15]OFD Sender: No OFD packet to send [19:30:20]OFD Sender: No OFD packet to send [19:30:25]OFD Sender: No OFD packet to send [19:30:30]OFD Sender: No OFD packet to send [19:30:35]OFD Sender: No OFD packet to send [19:30:40]OFD Sender: No OFD packet to send [19:30:45]OFD Sender: No OFD packet to send [19:30:50]OFD Sender: No OFD packet to send [19:30:55]OFD Sender: No OFD packet to send [19:31:00]OFD Sender: No OFD packet to send [19:31:05]OFD Sender: No OFD packet to send [19:31:10]OFD Sender: No OFD packet to send [19:31:15]OFD Sender: No OFD packet to send [19:31:20]OFD Sender: No OFD packet to send [19:31:25]OFD Sender: No OFD packet to send [19:31:30]OFD Sender: No OFD packet to send [19:31:35]OFD Sender: No OFD packet to send [19:31:40]OFD Sender: No OFD packet to send [19:31:45]OFD Sender: No OFD packet to send [19:31:50]OFD Sender: No OFD packet to send [19:31:55]OFD Sender: No OFD packet to send [19:32:00]OFD Sender: No OFD packet to send [19:32:05]OFD Sender: No OFD packet to send [19:32:10]OFD Sender: No OFD packet to send [19:32:15]OFD Sender: No OFD packet to send [19:32:20]OFD Sender: No OFD packet to send [19:32:25]OFD Sender: No OFD packet to send [19:32:30]OFD Sender: No OFD packet to send [19:32:35]OFD Sender: No OFD packet to send [19:32:40]OFD Sender: No OFD packet to send [19:32:45]OFD Sender: No OFD packet to send [19:32:50]OFD Sender: No OFD packet to send [19:32:55]OFD Sender: No OFD packet to send [19:33:00]OFD Sender: No OFD packet to send [19:33:05]OFD Sender: No OFD packet to send [19:33:10]OFD Sender: No OFD packet to send [19:33:15]OFD Sender: No OFD packet to send [19:33:20]OFD Sender: No OFD packet to send [19:33:25]OFD Sender: No OFD packet to send [19:33:30]OFD Sender: No OFD packet to send [19:33:35]OFD Sender: No OFD packet to send [19:33:36]accept exits with 9 [19:33:36]New connection [19:33:36]New thread 3067452772 created [19:33:36]Thread 3067596132 joined [19:33:36]Waiting for new connection... [19:33:36] Sock 9.Parse request [19:33:36]Sock 9.Check first char [19:33:36]Sock 9.First char is OK [19:33:36]request: POST /json_proto HTTP/1.0 [19:33:36]Method: POST [19:33:36]URL: /json_proto [19:33:36]Method is POST - this is cgi request [19:33:36]url: /json_proto [19:33:36]query_string will be loaded in cgi processing [19:33:36]execute_cgi json_proto POST (null) [19:33:36]execute_cgi path=json_proto method=POST [19:33:36]POST find Content-Length [19:33:36]Host: 172.17.50.4:8080 [19:33:36]Content-Length: 683 [19:33:36]Content-Type: application/json [19:33:36] [19:33:36]POST finish read [19:33:36]Found Content-Length = 683 [19:33:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2886188", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:36]execute_script... [19:33: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 : (1)2886188", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 22", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.90, "quantity" : 29.900, "sum" : 2000.31, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 2000.00, "total" : 2000.00, "payments": [ { "type": 0, "sum" : 2000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:33:36]POST & json_proto [19:33:36]process_json_proto [19:33:36]json parsed OK: [19:33:36]protocol is kg_v1.0 [19:33:36]action value=close_receipt [19:33:36]process_action close_receipt [19:33:36]cmd_close_receipt [19:33:36]MH_GetDate [19:33:36]Write to MH i2c: F0 00 00 04 12 05 [19:33:36]Write i2c OK [19:33:36]MH_I2C_Read... [19:33:36]Read from MH i2c: F0 [19:33:36]MH_I2C_Read... [19:33:36]Read from MH i2c: F0 09 00 [19:33:36]MH_I2C_Read... [19:33:36]Read from MH i2c: F0 09 00 04 12 00 15 FE 17 67 3B 12 16 67 69 [19:33:36]GetLastDocTimeStamp 1729624481 [19:33:36]current date 1729625621 [19:33:36]FM_GetShiftState [19:33:36]SAM_PROTO_GetShiftState [19:33:36]wFMCommunicate request_size=4 [19:33:36]MH_SAM_APDU [19:33:36]CAPDU: 80 13 01 00 [19:33:36]Write to MH i2c: E2 08 00 05 12 80 13 01 00 00 00 00 00 94 [19:33:36]Write i2c OK [19:33:36]MH_I2C_Read... [19:33:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:36]Read from MH i2c: E2 [19:33:36]MH_I2C_Read... [19:33:36]Read from MH i2c: E2 0E 00 [19:33:36]MH_I2C_Read... [19:33:36]Read from MH i2c: E2 0E 00 05 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8C [19:33:36]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:33:36]wFMCommunicate OK [19:33:36]SAM_PROTO_GetShiftState done [19:33:36]FM_GetShiftState done [19:33:36]opened in 1729555332 [19:33:36]opened+sec_in_day 1729641732 [19:33:36]quantity*price = 200031 [19:33:36]sum+1 = 200032 [19:33:36]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.31 ИТОГО: 2000.00 Внесено: 2000.00 СДАЧА: 0.00 НСП 1% : 17.70 НДС 12% : 212.42 Наличными: 2000.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 56 22.10.2024 19:33 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24437 ФПД: 74468745265810 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193341&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24437&fm=74468745265810&tin=02508201610067®Number=0000000000098120&sum=200000 [19:33:37]StoreToDocumentArchive [19:33:37]shift 462 fd 24437 [19:33:37]save to /storage/0462/doc_00024437 [19:33:37]save last doc name /storage/0462/doc_00024437 to /storage/kkm_last_doc_name [19:33:37]save OK [19:33:37]Clear old archive folders... [19:33:37]ProcessDocumentItem done err = 0, tmpTLVsize=251 [19:33:37]tlvbuf is 00D715B0 [19:33:37]SAM_PROTO_ClearQueue [19:33:37]wFMCommunicate request_size=4 [19:33:37]MH_SAM_APDU [19:33:37]CAPDU: 80 09 00 00 [19:33:37]Write to MH i2c: E2 08 00 12 12 80 09 00 00 00 00 00 00 96 [19:33:37]Write i2c OK [19:33:37]MH_I2C_Read... [19:33:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:33:37]Read from MH i2c: E2 [19:33:37]MH_I2C_Read... [19:33:37]Read from MH i2c: E2 03 00 [19:33:37]MH_I2C_Read... [19:33:37]Read from MH i2c: E2 03 00 12 12 00 90 00 98 [19:33:37]RAPDU: 90 00 [19:33:37]wFMCommunicate OK [19:33:37]SAM_PROTO_ClearQueue done [19:33:37]KKMCreateOFDPacket [19:33:37]OFDProtocolAddRootSTLVToBuf [19:33:37]FM_MakeSignedData [19:33:37]FM_MakeSignedData [19:33:37]SAM_PROTO_SignData [19:33:37]wFMCommunicate request_size=4 [19:33:37]MH_SAM_APDU [19:33:37]CAPDU: 80 0D 01 02 [19:33:37]Write to MH i2c: E2 08 00 13 12 80 0D 01 02 00 00 00 00 9E [19:33:37]Write i2c OK [19:33:37]MH_I2C_Read... [19:33:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:33:38]Read from MH i2c: E2 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 13 12 00 90 00 99 [19:33:38]RAPDU: 90 00 [19:33:38]wFMCommunicate OK [19:33:38]wFMCommunicate request_size=255 [19:33:38]MH_SAM_APDU [19:33:38]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 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 15 FE 17 67 0E 04 04 00 CE 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 75 5F 00 00 35 04 06 00 43 [19:33:38]Write to MH i2c: E2 02 01 14 12 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 15 FE 17 67 0E 04 04 00 CE 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 75 5F 00 00 35 04 06 00 43 00 00 13 [19:33:38]Write i2c OK [19:33:38]MH_I2C_Read... [19:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:38]Read from MH i2c: E2 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 14 12 00 90 00 9A [19:33:38]RAPDU: 90 00 [19:33:38]wFMCommunicate OK [19:33:38]wFMCommunicate request_size=10 [19:33:38]MH_SAM_APDU [19:33:38]CAPDU: 80 0D 02 02 05 BA 9B 1B C2 92 [19:33:38]Write to MH i2c: E2 0D 00 15 12 80 0D 02 02 05 00 BA 9B 1B C2 92 00 00 6F [19:33:38]Write i2c OK [19:33:38]MH_I2C_Read... [19:33:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:33:38]Read from MH i2c: E2 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 03 00 15 12 00 90 00 9B [19:33:38]RAPDU: 90 00 [19:33:38]wFMCommunicate OK [19:33:38]wFMCommunicate request_size=4 [19:33:38]MH_SAM_APDU [19:33:38]CAPDU: 80 0D 03 02 [19:33:38]Write to MH i2c: E2 08 00 16 12 80 0D 03 02 00 00 00 00 A3 [19:33:38]Write i2c OK [19:33:38]MH_I2C_Read... [19:33:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:33:38]Read from MH i2c: E2 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 0B 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 0B 00 16 12 00 07 EB 96 FC B7 10 FF 93 90 00 81 [19:33:38]RAPDU: 07 EB 96 FC B7 10 FF 93 90 00 [19:33:38]wFMCommunicate OK [19:33:38]SAM_PROTO_SignData done [19:33:38]FM_MakeSignedData done [19:33:38]CreateOFDProtocolMessage [19:33:38]wFMCommunicate request_size=4 [19:33:38]MH_SAM_APDU [19:33:38]CAPDU: 80 11 00 00 [19:33:38]Write to MH i2c: E2 08 00 17 12 80 11 00 00 00 00 00 00 A3 [19:33:38]Write i2c OK [19:33:38]MH_I2C_Read... [19:33:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:38]Read from MH i2c: E2 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 17 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: E2 17 00 17 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F0 [19: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 [19:33:38]wFMCommunicate OK [19:33:38]CreateOFDProtocolMessage done [19:33:38]OFDSenderStorePacket 24437 [19:33:38]StoreOFDPacket docnum=24437 [19:33: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 0F 01 00 00 63 00 07 01 0F D0 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 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 15 FE 17 67 0E 04 04 00 CE 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 75 5F 00 00 35 04 06 00 43 BA 9B 1B C2 92 07 EB 96 FC B7 10 FF 93 [19:33:38]CheckFolder [19:33:38]dirname=/storage/ofd_packets [19:33:38]CheckFolder done [19:33:38]ProducePacketName [19:33:38]name=ofd_packets/00024437 [19:33:38]NVStorageSaveData ofd_packets/00024437 [19:33:38]File name is /storage/ofd_packets/00024437 [19:33:38]Write 301 bytes [19:33:38]NVStorageSaveData done [19:33:38]OFDSenderStorePacket done [19:33:38]KKMCreateOFDPacket done [19:33:38]NVStorageSaveData kkm_last_timestamp [19:33:38]File name is /storage/kkm_last_timestamp [19:33:38]Write 4 bytes [19:33:38]NVStorageSaveData done [19:33:38]ExternCall_PrintAddStr [19:33:38]wPrintStart [19:33:38]Write to MH i2c: 01 00 00 18 12 2A [19:33:38]Write i2c OK [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: 01 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: 01 07 00 [19:33:38]MH_I2C_Read... [19:33:38]Read from MH i2c: 01 07 00 18 12 00 00 00 00 00 FF 0F 3F [19:33:38]RasterBufferAndPrint [19:33:38]line Счет N : (1)2886188 [19:33:38]line ИНН: 02508201610067 [19:33:38]line Контрольно-Кассовый Чек [19:33:38]line ПРОДАЖА [19:33:38]line ТРК (МРК, ГНК) : 22 [19:33:38]line Товар: 2710124130 [19:33:38]line Аи-92-К-5 [19:33:38]line 29.900 * 66.90 [19:33:38]line = 2000.31 [19:33:38]line НДС 12% НСП 1% [19:33:38]line > о реализуемом товаре [19:33:38]line ОКРУГЛЕНИЕ: -0.31 [19:33:38]line ИТОГО: 2000.00 [19:33:38]line Внесено: 2000.00 [19:33:38]line СДАЧА: 0.00 [19:33:38]line НСП 1% : 17.70 [19:33:38]line НДС 12% : 212.42 [19:33:38]line Наличными: 2000.00 [19:33:38]line Безнал.: 0.00 [19:33:38]line Место: АЗС № 85 "Партнер Нефть" [19:33:38]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:33:38]line СНО: Общий режим [19:33:38]line Чек 56 22.10.2024 19:33 [19:33:38]line Смена: 462 ФФД: 1.0 [19:33:38]line ЗНМ: 0300000166 [19:33:38]line РНМ: 0000000000098120 [19:33:38]line Версия ККМ: 001 [19:33:38]line ФМ: 0000000000965420 [19:33:38]line ФД: 24437 [19:33:38]line ФПД: 74468745265810 [19:33:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193341&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24437&fm=74468745265810&tin=02508201610067®Number=0000000000098120&sum=200000 [19:33:38]OFD Sender: Processing packet 24437 [packets to send 5, broken 4] [19:33:38]ProducePacketName [19:33:38]name=ofd_packets/00024437 [19:33:38]OFD Sender: To server: pG, [19:33:38]CommunicateWithHost lk.salyk.kg:30040 [19:33:38]ConnectInit lk.salyk.kg [19:33:38]written 0, free lines is 4095 [19:33:39]Write to MH i2c: 01 00 00 43 12 55 [19:33:39]Write i2c OK [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: 01 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: 01 07 00 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: 01 07 00 43 12 00 00 00 00 00 FE 0C 66 [19:33:39]RasterBufferAndPrint [19:33:39]line [19:33:39]line [19:33:39]line [19:33:39]line [19:33:39]line [19:33:39]written 0, free lines is 3332 [19:33:39]process_action close_receipt done [19:33:39]requested_data is exist [19:33:39]produce_requested_data [19:33:39]requested_item fm.sn is exist - process it [19:33:39]wFMCommunicate request_size=4 [19:33:39]MH_SAM_APDU [19:33:39]CAPDU: 80 11 00 00 [19:33:39]Write to MH i2c: E2 08 00 4A 12 80 11 00 00 00 00 00 00 D6 [19:33:39]Write i2c OK [19:33:39]MH_I2C_Read... [19:33:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:33:39]Read from MH i2c: E2 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 17 00 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 17 00 4A 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 23 [19:33:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:33:39]wFMCommunicate OK [19:33:39]requested_item fd.num is exist - process it [19:33:39]SAM_PROTO_GetFieldsCounters [19:33:39]wFMCommunicate request_size=4 [19:33:39]MH_SAM_APDU [19:33:39]CAPDU: 80 13 00 00 [19:33:39]Write to MH i2c: E2 08 00 4B 12 80 13 00 00 00 00 00 00 D9 [19:33:39]Write i2c OK [19:33:39]MH_I2C_Read... [19:33:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:33:39]Read from MH i2c: E2 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 62 00 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 62 00 4B 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 75 5F 00 00 0E 04 04 00 CE 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 3A [19:33: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 75 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:33:39]wFMCommunicate OK [19:33:39]SAM_PROTO_GetFieldsCounters done [19:33:39]requested_item shift.num is exist - process it [19:33:39]requested_item shift.opened is exist - process it [19:33:39]req_shift_opened [19:33:39]FM_GetShiftState [19:33:39]SAM_PROTO_GetShiftState [19:33:39]wFMCommunicate request_size=4 [19:33:39]MH_SAM_APDU [19:33:39]CAPDU: 80 13 01 00 [19:33:39]Write to MH i2c: E2 08 00 4C 12 80 13 01 00 00 00 00 00 DB [19:33:39]Write i2c OK [19:33:39]MH_I2C_Read... [19:33:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:33:39]Read from MH i2c: E2 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 0E 00 [19:33:39]MH_I2C_Read... [19:33:39]Read from MH i2c: E2 0E 00 4C 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D3 [19:33:39]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:33:39]wFMCommunicate OK [19:33:39]SAM_PROTO_GetShiftState done [19:33:39]FM_GetShiftState done [19:33:39]req_shift_opened done [19:33:39]requested_item shift.open_date is exist - process it [19:33:39]req_shift_open_date [19:33:39]req_shift_open_date done [19:33:39]produce_requested_data done [19:33:39]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24437,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:33:39]process_action_free close_receipt [19:33:39]json_value_free [19:33:39]json_value_free done [19:33:39]process_json_proto returns [19:33:39]Send response to host [19:33:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24437,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:33:39]free response buf [19:33:39]execute_script done [19:33:39]execute_script returns [19:33:39]free content buf [19:33:39]Sock 9.Close socket [19:33:39]Sock 9.Thread stoped [19:34:53]accept exits with 7 [19:34:53]New connection [19:34:53]New thread 3067596132 created [19:34:53]Thread 3067452772 joined [19:34:53]Waiting for new connection... [19:34:53] Sock 7.Parse request [19:34:53]Sock 7.Check first char [19:34:53]Sock 7.First char is OK [19:34:53]request: POST /json_proto HTTP/1.0 [19:34:53]Method: POST [19:34:53]URL: /json_proto [19:34:53]Method is POST - this is cgi request [19:34:53]url: /json_proto [19:34:53]query_string will be loaded in cgi processing [19:34:53]execute_cgi json_proto POST (null) [19:34:53]execute_cgi path=json_proto method=POST [19:34:53]POST find Content-Length [19:34:53]Host: 172.17.50.4:8080 [19:34:53]Content-Length: 668 [19:34:53]Content-Type: application/json [19:34:53] [19:34:53]POST finish read [19:34:53]Found Content-Length = 668 [19:34:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134955", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:53]execute_script... [19:34:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134955", "tax_sys" : 0, "items" : [ { "code": "4670003195728", "name": "\u0410\u043D\u0442\u0438\u0444\u0440\u0438\u0437 SIBIRIA ANTIFREEZE \u041E\u0416-40 \u0436\u0435\u043B 1\u043B", "price" : 225.00, "quantity" : 2.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:34:53]POST & json_proto [19:34:53]process_json_proto [19:34:53]json parsed OK: [19:34:53]protocol is kg_v1.0 [19:34:53]action value=close_receipt [19:34:53]process_action close_receipt [19:34:53]cmd_close_receipt [19:34:53]MH_GetDate [19:34:53]Write to MH i2c: F0 00 00 4D 12 4E [19:34:53]Write i2c OK [19:34:53]MH_I2C_Read... [19:34:53]Read from MH i2c: F0 [19:34:53]MH_I2C_Read... [19:34:53]Read from MH i2c: F0 09 00 [19:34:53]MH_I2C_Read... [19:34:53]Read from MH i2c: F0 09 00 4D 12 00 62 FE 17 67 3B 12 16 67 FF [19:34:53]GetLastDocTimeStamp 1729625621 [19:34:53]current date 1729625698 [19:34:53]FM_GetShiftState [19:34:53]SAM_PROTO_GetShiftState [19:34:53]wFMCommunicate request_size=4 [19:34:53]MH_SAM_APDU [19:34:53]CAPDU: 80 13 01 00 [19:34:53]Write to MH i2c: E2 08 00 4E 12 80 13 01 00 00 00 00 00 DD [19:34:53]Write i2c OK [19:34:53]MH_I2C_Read... [19:34:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:53]Read from MH i2c: E2 [19:34:53]MH_I2C_Read... [19:34:53]Read from MH i2c: E2 0E 00 [19:34:53]MH_I2C_Read... [19:34:53]Read from MH i2c: E2 0E 00 4E 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 D5 [19:34:53]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:34:53]wFMCommunicate OK [19:34:53]SAM_PROTO_GetShiftState done [19:34:53]FM_GetShiftState done [19:34:53]opened in 1729555332 [19:34:53]opened+sec_in_day 1729641732 [19:34:53]quantity*price = 45000 [19:34:53]sum+1 = 45001 [19:34:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 57 22.10.2024 19:34 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24438 ФПД: 179338687987894 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193458&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24438&fm=179338687987894&tin=02508201610067®Number=0000000000098120&sum=45000 0 [19:34:54]StoreToDocumentArchive [19:34:54]shift 462 fd 24438 [19:34:54]save to /storage/0462/doc_00024438 [19:34:54]save last doc name /storage/0462/doc_00024438 to /storage/kkm_last_doc_name [19:34:54]save OK [19:34:54]Clear old archive folders... [19:34:54]ProcessDocumentItem done err = 0, tmpTLVsize=296 [19:34:54]tlvbuf is 00D516C0 [19:34:54]SAM_PROTO_ClearQueue [19:34:54]wFMCommunicate request_size=4 [19:34:54]MH_SAM_APDU [19:34:54]CAPDU: 80 09 00 00 [19:34:54]Write to MH i2c: E2 08 00 5B 12 80 09 00 00 00 00 00 00 DF [19:34:54]Write i2c OK [19:34:54]MH_I2C_Read... [19:34:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:34:54]Read from MH i2c: E2 [19:34:54]MH_I2C_Read... [19:34:54]Read from MH i2c: E2 03 00 [19:34:54]MH_I2C_Read... [19:34:54]Read from MH i2c: E2 03 00 5B 12 00 90 00 E1 [19:34:54]RAPDU: 90 00 [19:34:54]wFMCommunicate OK [19:34:54]SAM_PROTO_ClearQueue done [19:34:54]KKMCreateOFDPacket [19:34:54]OFDProtocolAddRootSTLVToBuf [19:34:54]FM_MakeSignedData [19:34:54]FM_MakeSignedData [19:34:54]SAM_PROTO_SignData [19:34:54]wFMCommunicate request_size=4 [19:34:54]MH_SAM_APDU [19:34:54]CAPDU: 80 0D 01 02 [19:34:54]Write to MH i2c: E2 08 00 5C 12 80 0D 01 02 00 00 00 00 E7 [19:34:54]Write i2c OK [19:34:54]MH_I2C_Read... [19:34:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:34:54]Read from MH i2c: E2 [19:34:54]MH_I2C_Read... [19:34:54]Read from MH i2c: E2 03 00 [19:34:54]MH_I2C_Read... [19:34:54]Read from MH i2c: E2 03 00 5C 12 00 90 00 E2 [19:34:54]RAPDU: 90 00 [19:34:54]wFMCommunicate OK [19:34:54]wFMCommunicate request_size=255 [19:34:54]MH_SAM_APDU [19:34:54]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 62 FE 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [19:34:54]Write to MH i2c: E2 02 01 5D 12 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 62 FE 17 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 27 [19:34:54]Write i2c OK [19:34:54]MH_I2C_Read... [19:34:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:55]Read from MH i2c: E2 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 03 00 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 03 00 5D 12 00 90 00 E3 [19:34:55]RAPDU: 90 00 [19:34:55]wFMCommunicate OK [19:34:55]wFMCommunicate request_size=55 [19:34:55]MH_SAM_APDU [19:34:55]CAPDU: 80 0D 02 02 32 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 76 5F 00 00 35 04 06 00 A3 1B 8A CA C0 B6 [19:34:55]Write to MH i2c: E2 3A 00 5E 12 80 0D 02 02 32 00 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 76 5F 00 00 35 04 06 00 A3 1B 8A CA C0 B6 00 00 95 [19:34:55]Write i2c OK [19:34:55]MH_I2C_Read... [19:34:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:34:55]Read from MH i2c: E2 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 03 00 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 03 00 5E 12 00 90 00 E4 [19:34:55]RAPDU: 90 00 [19:34:55]wFMCommunicate OK [19:34:55]wFMCommunicate request_size=4 [19:34:55]MH_SAM_APDU [19:34:55]CAPDU: 80 0D 03 02 [19:34:55]Write to MH i2c: E2 08 00 5F 12 80 0D 03 02 00 00 00 00 EC [19:34:55]Write i2c OK [19:34:55]MH_I2C_Read... [19:34:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:34:55]Read from MH i2c: E2 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 0B 00 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 0B 00 5F 12 00 84 A7 3F E3 82 13 5E 1C 90 00 49 [19:34:55]RAPDU: 84 A7 3F E3 82 13 5E 1C 90 00 [19:34:55]wFMCommunicate OK [19:34:55]SAM_PROTO_SignData done [19:34:55]FM_MakeSignedData done [19:34:55]CreateOFDProtocolMessage [19:34:55]wFMCommunicate request_size=4 [19:34:55]MH_SAM_APDU [19:34:55]CAPDU: 80 11 00 00 [19:34:55]Write to MH i2c: E2 08 00 60 12 80 11 00 00 00 00 00 00 EC [19:34:55]Write i2c OK [19:34:55]MH_I2C_Read... [19:34:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:55]Read from MH i2c: E2 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 17 00 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: E2 17 00 60 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 39 [19:34:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:34:55]wFMCommunicate OK [19:34:55]CreateOFDProtocolMessage done [19:34:55]OFDSenderStorePacket 24438 [19:34:55]StoreOFDPacket docnum=24438 [19:34:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3C 01 00 00 FE 0D 34 01 7F DC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 62 FE 17 67 0E 04 04 00 CE 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 76 5F 00 00 35 04 06 00 A3 1B 8A CA C0 B6 84 A7 3F E3 82 13 5E 1C [19:34:55]CheckFolder [19:34:55]dirname=/storage/ofd_packets [19:34:55]CheckFolder done [19:34:55]ProducePacketName [19:34:55]name=ofd_packets/00024438 [19:34:55]NVStorageSaveData ofd_packets/00024438 [19:34:55]File name is /storage/ofd_packets/00024438 [19:34:55]Write 346 bytes [19:34:55]NVStorageSaveData done [19:34:55]OFDSenderStorePacket done [19:34:55]KKMCreateOFDPacket done [19:34:55]NVStorageSaveData kkm_last_timestamp [19:34:55]File name is /storage/kkm_last_timestamp [19:34:55]Write 4 bytes [19:34:55]NVStorageSaveData done [19:34:55]ExternCall_PrintAddStr [19:34:55]wPrintStart [19:34:55]Write to MH i2c: 01 00 00 61 12 73 [19:34:55]Write i2c OK [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: 01 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: 01 07 00 [19:34:55]MH_I2C_Read... [19:34:55]Read from MH i2c: 01 07 00 61 12 00 00 00 00 00 FF 0F 88 [19:34:55]RasterBufferAndPrint [19:34:55]line Счет N : (3)134955 [19:34:55]line ИНН: 02508201610067 [19:34:55]line Контрольно-Кассовый Чек [19:34:55]line ПРОДАЖА [19:34:55]line Товар: 4670003195728 [19:34:55]line Антифриз SIBIRIA ANTIFREEZE ОЖ-40 жел 1л [19:34:55]line 2.000 * 225.00 [19:34:55]line = 450.00 [19:34:55]line НДС 12% НСП 1% [19:34:55]line > о реализуемом товаре [19:34:55]line ИТОГО: 450.00 [19:34:55]line НСП 1% : 3.98 [19:34:55]line НДС 12% : 47.79 [19:34:55]line Наличными: 450.00 [19:34:55]line Безнал.: 0.00 [19:34:55]line Место: АЗС № 85 "Партнер Нефть" [19:34:55]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:34:55]line СНО: Общий режим [19:34:55]line Чек 57 22.10.2024 19:34 [19:34:55]line Смена: 462 ФФД: 1.0 [19:34:55]line ЗНМ: 0300000166 [19:34:55]line РНМ: 0000000000098120 [19:34:55]line Версия ККМ: 001 [19:34:55]line ФМ: 0000000000965420 [19:34:55]line ФД: 24438 [19:34:55]line ФПД: 179338687987894 [19:34:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193458&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24438&fm=179338687987894&tin=02508201610067®Number=0000000000098120&sum=45000 [19:34:55]line 0 [19:34:55]written 0, free lines is 4095 [19:34:56]Write to MH i2c: 01 00 00 8A 12 9C [19:34:56]Write i2c OK [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: 01 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: 01 07 00 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: 01 07 00 8A 12 00 00 00 00 00 1F 0D CF [19:34:56]RasterBufferAndPrint [19:34:56]line [19:34:56]line [19:34:56]line [19:34:56]line [19:34:56]line [19:34:56]written 0, free lines is 3365 [19:34:56]process_action close_receipt done [19:34:56]requested_data is exist [19:34:56]produce_requested_data [19:34:56]requested_item fm.sn is exist - process it [19:34:56]wFMCommunicate request_size=4 [19:34:56]MH_SAM_APDU [19:34:56]CAPDU: 80 11 00 00 [19:34:56]Write to MH i2c: E2 08 00 91 12 80 11 00 00 00 00 00 00 1D [19:34:56]Write i2c OK [19:34:56]MH_I2C_Read... [19:34:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:34:56]Read from MH i2c: E2 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 17 00 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 17 00 91 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6A [19:34:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:34:56]wFMCommunicate OK [19:34:56]requested_item fd.num is exist - process it [19:34:56]SAM_PROTO_GetFieldsCounters [19:34:56]wFMCommunicate request_size=4 [19:34:56]MH_SAM_APDU [19:34:56]CAPDU: 80 13 00 00 [19:34:56]Write to MH i2c: E2 08 00 92 12 80 13 00 00 00 00 00 00 20 [19:34:56]Write i2c OK [19:34:56]MH_I2C_Read... [19:34:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:34:56]Read from MH i2c: E2 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 62 00 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 62 00 92 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 76 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [19:34:56]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 76 5F 00 00 0E 04 04 00 CE 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 [19:34:56]wFMCommunicate OK [19:34:56]SAM_PROTO_GetFieldsCounters done [19:34:56]requested_item shift.num is exist - process it [19:34:56]requested_item shift.opened is exist - process it [19:34:56]req_shift_opened [19:34:56]FM_GetShiftState [19:34:56]SAM_PROTO_GetShiftState [19:34:56]wFMCommunicate request_size=4 [19:34:56]MH_SAM_APDU [19:34:56]CAPDU: 80 13 01 00 [19:34:56]Write to MH i2c: E2 08 00 93 12 80 13 01 00 00 00 00 00 22 [19:34:56]Write i2c OK [19:34:56]MH_I2C_Read... [19:34:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:34:56]Read from MH i2c: E2 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 0E 00 [19:34:56]MH_I2C_Read... [19:34:56]Read from MH i2c: E2 0E 00 93 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1A [19:34:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:34:56]wFMCommunicate OK [19:34:56]SAM_PROTO_GetShiftState done [19:34:56]FM_GetShiftState done [19:34:56]req_shift_opened done [19:34:56]requested_item shift.open_date is exist - process it [19:34:56]req_shift_open_date [19:34:56]req_shift_open_date done [19:34:56]produce_requested_data done [19:34:56]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24438,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:34:56]process_action_free close_receipt [19:34:56]json_value_free [19:34:56]json_value_free done [19:34:56]process_json_proto returns [19:34:56]Send response to host [19:34:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24438,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:34:56]free response buf [19:34:56]execute_script done [19:34:56]execute_script returns [19:34:56]free content buf [19:34:56]Sock 7.Close socket [19:34:56]Sock 7.Thread stoped [19:35:43]accept exits with 9 [19:35:43]New connection [19:35:43]New thread 3067452772 created [19:35:43]Thread 3067596132 joined [19:35:43]Waiting for new connection... [19:35:43] Sock 9.Parse request [19:35:43]Sock 9.Check first char [19:35:43]Sock 9.First char is OK [19:35:43]request: POST /json_proto HTTP/1.0 [19:35:43]Method: POST [19:35:43]URL: /json_proto [19:35:43]Method is POST - this is cgi request [19:35:43]url: /json_proto [19:35:43]query_string will be loaded in cgi processing [19:35:43]execute_cgi json_proto POST (null) [19:35:43]execute_cgi path=json_proto method=POST [19:35:43]POST find Content-Length [19:35:43]Host: 172.17.50.4:8080 [19:35:43]Content-Length: 848 [19:35:43]Content-Type: application/json [19:35:43] [19:35:43]POST finish read [19:35:43]Found Content-Length = 848 [19:35:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134956", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:43]execute_script... [19:35:43]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134956", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 278.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:43]POST & json_proto [19:35:43]process_json_proto [19:35:43]json parsed OK: [19:35:43]protocol is kg_v1.0 [19:35:43]action value=close_receipt [19:35:43]process_action close_receipt [19:35:43]cmd_close_receipt [19:35:43]MH_GetDate [19:35:43]Write to MH i2c: F0 00 00 94 12 95 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: F0 09 00 94 12 00 94 FE 17 67 3B 12 16 67 78 [19:35:43]GetLastDocTimeStamp 1729625698 [19:35:43]current date 1729625748 [19:35:43]FM_GetShiftState [19:35:43]SAM_PROTO_GetShiftState [19:35:43]wFMCommunicate request_size=4 [19:35:43]MH_SAM_APDU [19:35:43]CAPDU: 80 13 01 00 [19:35:43]Write to MH i2c: E2 08 00 95 12 80 13 01 00 00 00 00 00 24 [19:35:43]Write i2c OK [19:35:43]MH_I2C_Read... [19:35:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:43]Read from MH i2c: E2 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 [19:35:43]MH_I2C_Read... [19:35:43]Read from MH i2c: E2 0E 00 95 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 1C [19:35:43]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:35:43]wFMCommunicate OK [19:35:43]SAM_PROTO_GetShiftState done [19:35:43]FM_GetShiftState done [19:35:43]opened in 1729555332 [19:35:43]opened+sec_in_day 1729641732 [19:35:43]quantity*price = 13400 [19:35:43]sum+1 = 13401 [19:35:43]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 58 22.10.2024 19:35 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24439 ФПД: 94436093388645 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193548&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24439&fm=94436093388645&tin=02508201610067®Number=0000000000098120&sum=27800 0 [19:35:44]StoreToDocumentArchive [19:35:44]shift 462 fd 24439 [19:35:44]save to /storage/0462/doc_00024439 [19:35:44]save last doc name /storage/0462/doc_00024439 to /storage/kkm_last_doc_name [19:35:44]save OK [19:35:44]Clear old archive folders... [19:35:44]ProcessDocumentItem done err = 0, tmpTLVsize=366 [19:35:44]tlvbuf is 00DA9900 [19:35:44]SAM_PROTO_ClearQueue [19:35:44]wFMCommunicate request_size=4 [19:35:44]MH_SAM_APDU [19:35:44]CAPDU: 80 09 00 00 [19:35:44]Write to MH i2c: E2 08 00 A2 12 80 09 00 00 00 00 00 00 26 [19:35:44]Write i2c OK [19:35:44]MH_I2C_Read... [19:35:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:44]Read from MH i2c: E2 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 [19:35:44]MH_I2C_Read... [19:35:44]Read from MH i2c: E2 03 00 A2 12 00 90 00 28 [19:35:44]RAPDU: 90 00 [19:35:44]wFMCommunicate OK [19:35:44]SAM_PROTO_ClearQueue done [19:35:44]KKMCreateOFDPacket [19:35:44]OFDProtocolAddRootSTLVToBuf [19:35:44]FM_MakeSignedData [19:35:44]FM_MakeSignedData [19:35:44]SAM_PROTO_SignData [19:35:44]wFMCommunicate request_size=4 [19:35:44]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 01 02 [19:35:45]Write to MH i2c: E2 08 00 A3 12 80 0D 01 02 00 00 00 00 2E [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 A3 12 00 90 00 29 [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=255 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 02 02 FA 03 00 6E 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 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 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 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 [19:35:45]Write to MH i2c: E2 02 01 A4 12 80 0D 02 02 FA 00 03 00 6E 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 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 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 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 3D [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 A4 12 00 90 00 2A [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=125 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 02 02 78 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 94 FE 17 67 0E 04 04 00 CE 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 77 5F 00 00 35 04 06 00 55 E3 9D CC E7 65 [19:35:45]Write to MH i2c: E2 80 00 A5 12 80 0D 02 02 78 00 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 94 FE 17 67 0E 04 04 00 CE 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 77 5F 00 00 35 04 06 00 55 E3 9D CC E7 65 00 00 C3 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 03 00 A5 12 00 90 00 2B [19:35:45]RAPDU: 90 00 [19:35:45]wFMCommunicate OK [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 0D 03 02 [19:35:45]Write to MH i2c: E2 08 00 A6 12 80 0D 03 02 00 00 00 00 33 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 0B 00 A6 12 00 8D 13 AE E1 70 BD 44 09 90 00 DD [19:35:45]RAPDU: 8D 13 AE E1 70 BD 44 09 90 00 [19:35:45]wFMCommunicate OK [19:35:45]SAM_PROTO_SignData done [19:35:45]FM_MakeSignedData done [19:35:45]CreateOFDProtocolMessage [19:35:45]wFMCommunicate request_size=4 [19:35:45]MH_SAM_APDU [19:35:45]CAPDU: 80 11 00 00 [19:35:45]Write to MH i2c: E2 08 00 A7 12 80 11 00 00 00 00 00 00 33 [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:45]Read from MH i2c: E2 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: E2 17 00 A7 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 80 [19:35:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:45]wFMCommunicate OK [19:35:45]CreateOFDProtocolMessage done [19:35:45]OFDSenderStorePacket 24439 [19:35:45]StoreOFDPacket docnum=24439 [19:35: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 82 01 00 00 E8 2B 7A 01 01 0A 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 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 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 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 94 FE 17 67 0E 04 04 00 CE 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 77 5F 00 00 35 04 06 00 55 E3 9D CC E7 65 8D 13 AE E1 70 BD 44 09 [19:35:45]CheckFolder [19:35:45]dirname=/storage/ofd_packets [19:35:45]CheckFolder done [19:35:45]ProducePacketName [19:35:45]name=ofd_packets/00024439 [19:35:45]NVStorageSaveData ofd_packets/00024439 [19:35:45]File name is /storage/ofd_packets/00024439 [19:35:45]Write 416 bytes [19:35:45]NVStorageSaveData done [19:35:45]OFDSenderStorePacket done [19:35:45]KKMCreateOFDPacket done [19:35:45]NVStorageSaveData kkm_last_timestamp [19:35:45]File name is /storage/kkm_last_timestamp [19:35:45]Write 4 bytes [19:35:45]NVStorageSaveData done [19:35:45]ExternCall_PrintAddStr [19:35:45]wPrintStart [19:35:45]Write to MH i2c: 01 00 00 A8 12 BA [19:35:45]Write i2c OK [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 [19:35:45]MH_I2C_Read... [19:35:45]Read from MH i2c: 01 07 00 A8 12 00 00 00 00 00 FF 0F CF [19:35:45]RasterBufferAndPrint [19:35:45]line Счет N : (3)134956 [19:35:45]line ИНН: 02508201610067 [19:35:45]line Контрольно-Кассовый Чек [19:35:45]line ПРОДАЖА [19:35:45]line Товар: 48741156 [19:35:45]line Сигареты LD Blue [19:35:45]line 1.000 * 134.00 [19:35:45]line = 134.00 [19:35:45]line НДС 12% НСП 1% [19:35:45]line > о реализуемом товаре [19:35:45]line Товар: 48743587 [19:35:45]line Сигареты Winston XStyle Silver [19:35:45]line 1.000 * 144.00 [19:35:45]line = 144.00 [19:35:45]line НДС 12% НСП 1% [19:35:45]line > о реализуемом товаре [19:35:45]line ИТОГО: 278.00 [19:35:45]line НСП 1% : 2.46 [19:35:45]line НДС 12% : 29.52 [19:35:45]line Наличными: 278.00 [19:35:45]line Безнал.: 0.00 [19:35:45]line Место: АЗС № 85 "Партнер Нефть" [19:35:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:35:45]line СНО: Общий режим [19:35:45]line Чек 58 22.10.2024 19:35 [19:35:45]line Смена: 462 ФФД: 1.0 [19:35:45]line ЗНМ: 0300000166 [19:35:45]line РНМ: 0000000000098120 [19:35:45]line Версия ККМ: 001 [19:35:45]line ФМ: 0000000000965420 [19:35:45]line ФД: 24439 [19:35:45]line ФПД: 94436093388645 [19:35:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193548&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24439&fm=94436093388645&tin=02508201610067®Number=0000000000098120&sum=27800 [19:35:45]line 0 [19:35:45]written 0, free lines is 4095 [19:35:46]Write to MH i2c: 01 00 00 D7 12 E9 [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: 01 07 00 D7 12 00 00 00 00 00 B4 0C B0 [19:35:46]RasterBufferAndPrint [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]line [19:35:46]written 0, free lines is 3256 [19:35:46]process_action close_receipt done [19:35:46]requested_data is exist [19:35:46]produce_requested_data [19:35:46]requested_item fm.sn is exist - process it [19:35:46]wFMCommunicate request_size=4 [19:35:46]MH_SAM_APDU [19:35:46]CAPDU: 80 11 00 00 [19:35:46]Write to MH i2c: E2 08 00 DE 12 80 11 00 00 00 00 00 00 6A [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:46]Read from MH i2c: E2 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 17 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 17 00 DE 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B7 [19:35:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:46]wFMCommunicate OK [19:35:46]requested_item fd.num is exist - process it [19:35:46]SAM_PROTO_GetFieldsCounters [19:35:46]wFMCommunicate request_size=4 [19:35:46]MH_SAM_APDU [19:35:46]CAPDU: 80 13 00 00 [19:35:46]Write to MH i2c: E2 08 00 DF 12 80 13 00 00 00 00 00 00 6D [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:46]Read from MH i2c: E2 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 62 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 62 00 DF 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 77 5F 00 00 0E 04 04 00 CE 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 D6 [19:35: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 77 5F 00 00 0E 04 04 00 CE 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 [19:35:46]wFMCommunicate OK [19:35:46]SAM_PROTO_GetFieldsCounters done [19:35:46]requested_item shift.num is exist - process it [19:35:46]requested_item shift.opened is exist - process it [19:35:46]req_shift_opened [19:35:46]FM_GetShiftState [19:35:46]SAM_PROTO_GetShiftState [19:35:46]wFMCommunicate request_size=4 [19:35:46]MH_SAM_APDU [19:35:46]CAPDU: 80 13 01 00 [19:35:46]Write to MH i2c: E2 08 00 E0 12 80 13 01 00 00 00 00 00 6F [19:35:46]Write i2c OK [19:35:46]MH_I2C_Read... [19:35:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:46]Read from MH i2c: E2 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 0E 00 [19:35:46]MH_I2C_Read... [19:35:46]Read from MH i2c: E2 0E 00 E0 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 67 [19:35:46]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:35:46]wFMCommunicate OK [19:35:46]SAM_PROTO_GetShiftState done [19:35:46]FM_GetShiftState done [19:35:46]req_shift_opened done [19:35:46]requested_item shift.open_date is exist - process it [19:35:46]req_shift_open_date [19:35:46]req_shift_open_date done [19:35:46]produce_requested_data done [19:35:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24439,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:35:46]process_action_free close_receipt [19:35:46]json_value_free [19:35:46]json_value_free done [19:35:46]process_json_proto returns [19:35:46]Send response to host [19:35:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24439,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:35:46]free response buf [19:35:46]execute_script done [19:35:46]execute_script returns [19:35:46]free content buf [19:35:46]Sock 9.Close socket [19:35:46]Sock 9.Thread stoped [19:35:51]accept exits with 7 [19:35:51]New connection [19:35:51]New thread 3067596132 created [19:35:51]Thread 3067452772 joined [19:35:51]Waiting for new connection... [19:35:51] Sock 7.Parse request [19:35:51]Sock 7.Check first char [19:35:51]Sock 7.First char is OK [19:35:51]request: POST /json_proto HTTP/1.0 [19:35:51]Method: POST [19:35:51]URL: /json_proto [19:35:51]Method is POST - this is cgi request [19:35:51]url: /json_proto [19:35:51]query_string will be loaded in cgi processing [19:35:51]execute_cgi json_proto POST (null) [19:35:51]execute_cgi path=json_proto method=POST [19:35:51]POST find Content-Length [19:35:51]Host: 172.17.50.4:8080 [19:35:51]Content-Length: 686 [19:35:51]Content-Type: application/json [19:35:51] [19:35:51]POST finish read [19:35:51]Found Content-Length = 686 [19:35:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)2886191", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711129700", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 38.90, "quantity" : 25.710, "sum" : 1000.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:51]execute_script... [19:35: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 : (1)2886191", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 71", "code": "2711129700", "name": "\u0413\u0410\u0417-\u041A-3", "price" : 38.90, "quantity" : 25.710, "sum" : 1000.12, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 1000.00, "total" : 1000.00, "payments": [ { "type": 0, "sum" : 1000.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:35:51]POST & json_proto [19:35:51]process_json_proto [19:35:51]json parsed OK: [19:35:51]protocol is kg_v1.0 [19:35:51]action value=close_receipt [19:35:51]process_action close_receipt [19:35:51]cmd_close_receipt [19:35:51]MH_GetDate [19:35:51]Write to MH i2c: F0 00 00 E1 12 E2 [19:35:51]Write i2c OK [19:35:51]MH_I2C_Read... [19:35:51]Read from MH i2c: F0 [19:35:51]MH_I2C_Read... [19:35:51]Read from MH i2c: F0 09 00 [19:35:51]MH_I2C_Read... [19:35:51]Read from MH i2c: F0 09 00 E1 12 00 9C FE 17 67 3B 12 16 67 CD [19:35:51]GetLastDocTimeStamp 1729625748 [19:35:51]current date 1729625756 [19:35:51]FM_GetShiftState [19:35:51]SAM_PROTO_GetShiftState [19:35:51]wFMCommunicate request_size=4 [19:35:51]MH_SAM_APDU [19:35:51]CAPDU: 80 13 01 00 [19:35:51]Write to MH i2c: E2 08 00 E2 12 80 13 01 00 00 00 00 00 71 [19:35:51]Write i2c OK [19:35:51]MH_I2C_Read... [19:35:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:51]Read from MH i2c: E2 [19:35:51]MH_I2C_Read... [19:35:51]Read from MH i2c: E2 0E 00 [19:35:51]MH_I2C_Read... [19:35:51]Read from MH i2c: E2 0E 00 E2 12 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 69 [19:35:51]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:35:51]wFMCommunicate OK [19:35:51]SAM_PROTO_GetShiftState done [19:35:51]FM_GetShiftState done [19:35:51]opened in 1729555332 [19:35:51]opened+sec_in_day 1729641732 [19:35:51]quantity*price = 100011 [19:35:51]sum+1 = 100013 [19:35:51]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.12 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.21 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 59 22.10.2024 19:35 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24440 ФПД: 77740470594834 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193556&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24440&fm=77740470594834&tin=02508201610067®Number=0000000000098120&sum=100000 [19:35:52]StoreToDocumentArchive [19:35:52]shift 462 fd 24440 [19:35:52]save to /storage/0462/doc_00024440 [19:35:52]save last doc name /storage/0462/doc_00024440 to /storage/kkm_last_doc_name [19:35:52]save OK [19:35:52]Clear old archive folders... [19:35:52]ProcessDocumentItem done err = 0, tmpTLVsize=250 [19:35:52]tlvbuf is 00D4E030 [19:35:52]SAM_PROTO_ClearQueue [19:35:52]wFMCommunicate request_size=4 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 09 00 00 [19:35:52]Write to MH i2c: E2 08 00 EF 12 80 09 00 00 00 00 00 00 73 [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 EF 12 00 90 00 75 [19:35:52]RAPDU: 90 00 [19:35:52]wFMCommunicate OK [19:35:52]SAM_PROTO_ClearQueue done [19:35:52]KKMCreateOFDPacket [19:35:52]OFDProtocolAddRootSTLVToBuf [19:35:52]FM_MakeSignedData [19:35:52]FM_MakeSignedData [19:35:52]SAM_PROTO_SignData [19:35:52]wFMCommunicate request_size=4 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 0D 01 02 [19:35:52]Write to MH i2c: E2 08 00 F0 12 80 0D 01 02 00 00 00 00 7B [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 F0 12 00 90 00 76 [19:35:52]RAPDU: 90 00 [19:35:52]wFMCommunicate OK [19:35:52]wFMCommunicate request_size=255 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 0D 02 02 FA 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 32 39 37 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 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 9C FE 17 67 0E 04 04 00 CE 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 78 5F 00 00 35 04 06 00 46 B4 [19:35:52]Write to MH i2c: E2 02 01 F1 12 80 0D 02 02 FA 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 32 39 37 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 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 9C FE 17 67 0E 04 04 00 CE 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 78 5F 00 00 35 04 06 00 46 B4 00 00 CD [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]ConnectInit Can't connect to host [19:35:52]CommunicateWithHost connect error [19:35:52]CommunicateWithHost err = -1 [19:35:52]OFD Sender: Server communicate error [19:35:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 F1 12 00 90 00 77 [19:35:52]RAPDU: 90 00 [19:35:52]wFMCommunicate OK [19:35:52]wFMCommunicate request_size=9 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 0D 02 02 04 5D 22 6D 12 [19:35:52]Write to MH i2c: E2 0C 00 F2 12 80 0D 02 02 04 00 5D 22 6D 12 00 00 84 [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]OFD Sender: Processing packet 24437 [packets to send 7, broken 4] [19:35:52]ProducePacketName [19:35:52]name=ofd_packets/00024437 [19:35:52]OFD Sender: To server: pG, [19:35:52]CommunicateWithHost lk.salyk.kg:30040 [19:35:52]ConnectInit lk.salyk.kg [19:35:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 03 00 F2 12 00 90 00 78 [19:35:52]RAPDU: 90 00 [19:35:52]wFMCommunicate OK [19:35:52]wFMCommunicate request_size=4 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 0D 03 02 [19:35:52]Write to MH i2c: E2 08 00 F3 12 80 0D 03 02 00 00 00 00 80 [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 0B 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 0B 00 F3 12 00 CE 0E C8 29 01 07 BC 04 90 00 16 [19:35:52]RAPDU: CE 0E C8 29 01 07 BC 04 90 00 [19:35:52]wFMCommunicate OK [19:35:52]SAM_PROTO_SignData done [19:35:52]FM_MakeSignedData done [19:35:52]CreateOFDProtocolMessage [19:35:52]wFMCommunicate request_size=4 [19:35:52]MH_SAM_APDU [19:35:52]CAPDU: 80 11 00 00 [19:35:52]Write to MH i2c: E2 08 00 F4 12 80 11 00 00 00 00 00 00 80 [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]Connected sock=10 [19:35:52]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 63 00 07 01 0F D0 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 CC 74 00 00 00 00 00 37 04 06 00 22 1A 00 00 00 00 13 04 06 00 5F 0D 03 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 0D 03 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EA 06 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 52 00 00 00 00 07 04 06 00 40 0D 03 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 15 FE 17 67 0E 04 04 00 CE 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 75 5F 00 00 35 04 06 00 43 BA 9B 1B C2 92 07 EB 96 FC B7 10 FF 93 [19:35:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:52]Read from MH i2c: E2 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 17 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: E2 17 00 F4 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CD [19:35:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:52]wFMCommunicate OK [19:35:52]CreateOFDProtocolMessage done [19:35:52]OFDSenderStorePacket 24440 [19:35:52]StoreOFDPacket docnum=24440 [19:35:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 0E 01 00 00 40 EB 06 01 3F 70 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 32 39 37 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 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 9C FE 17 67 0E 04 04 00 CE 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 78 5F 00 00 35 04 06 00 46 B4 5D 22 6D 12 CE 0E C8 29 01 07 BC 04 [19:35:52]CheckFolder [19:35:52]dirname=/storage/ofd_packets [19:35:52]CheckFolder done [19:35:52]ProducePacketName [19:35:52]name=ofd_packets/00024440 [19:35:52]NVStorageSaveData ofd_packets/00024440 [19:35:52]File name is /storage/ofd_packets/00024440 [19:35:52]Write 300 bytes [19:35:52]NVStorageSaveData done [19:35:52]OFDSenderStorePacket done [19:35:52]KKMCreateOFDPacket done [19:35:52]NVStorageSaveData kkm_last_timestamp [19:35:52]File name is /storage/kkm_last_timestamp [19:35:52]Write 4 bytes [19:35:52]NVStorageSaveData done [19:35:52]ExternCall_PrintAddStr [19:35:52]wPrintStart [19:35:52]Write to MH i2c: 01 00 00 F5 12 07 [19:35:52]Write i2c OK [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: 01 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: 01 07 00 [19:35:52]MH_I2C_Read... [19:35:52]Read from MH i2c: 01 07 00 F5 12 00 00 00 00 00 FF 0F 1C [19:35:52]RasterBufferAndPrint [19:35:52]line Счет N : (1)2886191 [19:35:52]line ИНН: 02508201610067 [19:35:52]line Контрольно-Кассовый Чек [19:35:52]line ПРОДАЖА [19:35:52]line ТРК (МРК, ГНК) : 71 [19:35:52]line Товар: 2711129700 [19:35:52]line ГАЗ-К-3 [19:35:53]line 25.710 * 38.90 [19:35:53]line = 1000.12 [19:35:53]line НДС 12% НСП 1% [19:35:53]line > о реализуемом товаре [19:35:53]line ОКРУГЛЕНИЕ: -0.12 [19:35:53]line ИТОГО: 1000.00 [19:35:53]line Внесено: 1000.00 [19:35:53]line СДАЧА: 0.00 [19:35:53]line НСП 1% : 8.85 [19:35:53]line НДС 12% : 106.21 [19:35:53]line Наличными: 1000.00 [19:35:53]line Безнал.: 0.00 [19:35:53]line Место: АЗС № 85 "Партнер Нефть" [19:35:53]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:35:53]line СНО: Общий режим [19:35:53]line Чек 59 22.10.2024 19:35 [19:35:53]line Смена: 462 ФФД: 1.0 [19:35:53]line ЗНМ: 0300000166 [19:35:53]line РНМ: 0000000000098120 [19:35:53]line Версия ККМ: 001 [19:35:53]line ФМ: 0000000000965420 [19:35:53]line ФД: 24440 [19:35:53]line ФПД: 77740470594834 [19:35:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T193556&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24440&fm=77740470594834&tin=02508201610067®Number=0000000000098120&sum=100000 [19:35:53]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 4C 47 00 6A 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 75 5F 00 00 F4 03 04 00 3E AA 17 67 B6 04 01 00 00 3B 22 55 0E 19 2F 8D 2F [19:35:53]CommunicateWithHost err = 0 [19:35:53]CheckOFDResponse [19:35:53]1017 (14) - 77093643461234 [19:35:53]1041 (16) - 0000000000965420 [19:35:53]1040 (4) - 24437 [19:35:53]1012 (4) - 22.10.2024 13:35 [19:35:53]1206 (1) - 0 [19:35:53]OFD Sender: Remove packet 24437 [19:35:53]ProducePacketName [19:35:53]name=ofd_packets/00024437 [19:35:53]NVStorageDeleteData [19:35:53]written 0, free lines is 4095 [19:35:53]Write to MH i2c: 01 00 00 20 13 33 [19:35:53]Write i2c OK [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: 01 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: 01 07 00 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: 01 07 00 20 13 00 00 00 00 00 F1 0C 37 [19:35:53]RasterBufferAndPrint [19:35:53]line [19:35:53]line [19:35:53]line [19:35:53]line [19:35:53]line [19:35:53]written 0, free lines is 3322 [19:35:53]process_action close_receipt done [19:35:53]requested_data is exist [19:35:53]produce_requested_data [19:35:53]requested_item fm.sn is exist - process it [19:35:53]wFMCommunicate request_size=4 [19:35:53]MH_SAM_APDU [19:35:53]CAPDU: 80 11 00 00 [19:35:53]Write to MH i2c: E2 08 00 27 13 80 11 00 00 00 00 00 00 B4 [19:35:53]Write i2c OK [19:35:53]MH_I2C_Read... [19:35:53]OFD Sender: Processing packet 24438 [packets to send 7, broken 4] [19:35:53]ProducePacketName [19:35:53]name=ofd_packets/00024438 [19:35:53]OFD Sender: To server: pG, [19:35:53]CommunicateWithHost lk.salyk.kg:30040 [19:35:53]ConnectInit lk.salyk.kg [19:35:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:35:53]Read from MH i2c: E2 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 17 00 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 17 00 27 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 01 [19:35:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:35:53]wFMCommunicate OK [19:35:53]requested_item fd.num is exist - process it [19:35:53]SAM_PROTO_GetFieldsCounters [19:35:53]wFMCommunicate request_size=4 [19:35:53]MH_SAM_APDU [19:35:53]CAPDU: 80 13 00 00 [19:35:53]Write to MH i2c: E2 08 00 28 13 80 13 00 00 00 00 00 00 B7 [19:35:53]Write i2c OK [19:35:53]MH_I2C_Read... [19:35:53]Connected sock=10 [19:35: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 3C 01 00 00 FE 0D 34 01 7F DC 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 37 30 30 30 33 31 39 35 37 32 38 06 04 36 00 D0 90 D0 BD D1 82 D0 B8 D1 84 D1 80 D0 B8 D0 B7 20 53 49 42 49 52 49 41 20 41 4E 54 49 46 52 45 45 5A 45 20 D0 9E D0 96 2D 34 30 20 D0 B6 D0 B5 D0 BB 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E4 57 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 62 FE 17 67 0E 04 04 00 CE 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 76 5F 00 00 35 04 06 00 A3 1B 8A CA C0 B6 84 A7 3F E3 82 13 5E 1C [19:35:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:35:53]Read from MH i2c: E2 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 62 00 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 62 00 28 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 78 5F 00 00 0E 04 04 00 CE 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 24 [19:35:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 78 5F 00 00 0E 04 04 00 CE 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 [19:35:53]wFMCommunicate OK [19:35:53]SAM_PROTO_GetFieldsCounters done [19:35:53]requested_item shift.num is exist - process it [19:35:53]requested_item shift.opened is exist - process it [19:35:53]req_shift_opened [19:35:53]FM_GetShiftState [19:35:53]SAM_PROTO_GetShiftState [19:35:53]wFMCommunicate request_size=4 [19:35:53]MH_SAM_APDU [19:35:53]CAPDU: 80 13 01 00 [19:35:53]Write to MH i2c: E2 08 00 29 13 80 13 01 00 00 00 00 00 B9 [19:35:53]Write i2c OK [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 [19:35:53]MH_I2C_Read... [19:35:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:35:53]Read from MH i2c: E2 0E 00 [19:35:53]MH_I2C_Read... [19:35:53]Read from MH i2c: E2 0E 00 29 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B1 [19:35:53]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:35:53]wFMCommunicate OK [19:35:53]SAM_PROTO_GetShiftState done [19:35:53]FM_GetShiftState done [19:35:53]req_shift_opened done [19:35:53]requested_item shift.open_date is exist - process it [19:35:53]req_shift_open_date [19:35:53]req_shift_open_date done [19:35:53]produce_requested_data done [19:35:53]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24440,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:35:53]process_action_free close_receipt [19:35:53]json_value_free [19:35:53]json_value_free done [19:35:53]process_json_proto returns [19:35:53]Send response to host [19:35:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24440,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:35:53]free response buf [19:35:53]execute_script done [19:35:53]execute_script returns [19:35:53]free content buf [19:35:53]Sock 7.Close socket [19:35:53]Sock 7.Thread stoped [19:35: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 DA FD 47 00 1B 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 76 5F 00 00 F4 03 04 00 3F AA 17 67 B6 04 01 00 00 00 54 7A 18 4F 45 8D 09 [19:35:54]CommunicateWithHost err = 0 [19:35:54]CheckOFDResponse [19:35:54]1017 (14) - 77093643461234 [19:35:54]1041 (16) - 0000000000965420 [19:35:54]1040 (4) - 24438 [19:35:54]1012 (4) - 22.10.2024 13:35 [19:35:54]1206 (1) - 0 [19:35:54]OFD Sender: Remove packet 24438 [19:35:54]ProducePacketName [19:35:54]name=ofd_packets/00024438 [19:35:54]NVStorageDeleteData [19:35:54]OFD Sender: Processing packet 24439 [packets to send 6, broken 4] [19:35:54]ProducePacketName [19:35:54]name=ofd_packets/00024439 [19:35:54]OFD Sender: To server: pG, [19:35:54]CommunicateWithHost lk.salyk.kg:30040 [19:35:54]ConnectInit lk.salyk.kg [19:35:54]Connected sock=7 [19:35: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 82 01 00 00 E8 2B 7A 01 01 0A 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 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 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 98 6C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 88 0B 00 00 00 00 07 04 06 00 98 6C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 94 FE 17 67 0E 04 04 00 CE 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 77 5F 00 00 35 04 06 00 55 E3 9D CC E7 65 8D 13 AE E1 70 BD 44 09 [19:35: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 56 F6 47 00 20 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 77 5F 00 00 F4 03 04 00 40 AA 17 67 B6 04 01 00 00 FD 06 4A 32 87 CF 35 C0 [19:35:54]CommunicateWithHost err = 0 [19:35:54]CheckOFDResponse [19:35:54]1017 (14) - 77093643461234 [19:35:54]1041 (16) - 0000000000965420 [19:35:54]1040 (4) - 24439 [19:35:54]1012 (4) - 22.10.2024 13:36 [19:35:54]1206 (1) - 0 [19:35:54]OFD Sender: Remove packet 24439 [19:35:54]ProducePacketName [19:35:54]name=ofd_packets/00024439 [19:35:54]NVStorageDeleteData [19:35:55]OFD Sender: Processing packet 24440 [packets to send 5, broken 4] [19:35:55]ProducePacketName [19:35:55]name=ofd_packets/00024440 [19:35:55]OFD Sender: To server: pG, [19:35:55]CommunicateWithHost lk.salyk.kg:30040 [19:35:55]ConnectInit lk.salyk.kg [19:35:55]Connected sock=7 [19:35:55]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 0E 01 00 00 40 EB 06 01 3F 70 5A 03 01 00 03 00 FA 00 1E 04 01 00 01 23 04 4C 00 8A 04 0A 00 32 37 31 31 31 32 39 37 30 30 06 04 0B 00 D0 93 D0 90 D0 97 2D D0 9A 2D 33 FF 03 08 00 03 6E 64 00 00 00 00 00 37 04 06 00 32 0F 00 00 00 00 13 04 06 00 AC 86 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 86 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7D 29 00 00 00 00 07 04 06 00 A0 86 01 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 9C FE 17 67 0E 04 04 00 CE 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 78 5F 00 00 35 04 06 00 46 B4 5D 22 6D 12 CE 0E C8 29 01 07 BC 04 [19:35:55]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 63 81 47 00 B0 FD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 78 5F 00 00 F4 03 04 00 41 AA 17 67 B6 04 01 00 00 AC 31 12 15 34 6B D3 F3 [19:35:55]CommunicateWithHost err = 0 [19:35:55]CheckOFDResponse [19:35:55]1017 (14) - 77093643461234 [19:35:55]1041 (16) - 0000000000965420 [19:35:55]1040 (4) - 24440 [19:35:55]1012 (4) - 22.10.2024 13:36 [19:35:55]1206 (1) - 0 [19:35:55]OFD Sender: Remove packet 24440 [19:35:55]ProducePacketName [19:35:55]name=ofd_packets/00024440 [19:35:55]NVStorageDeleteData [19:35:56]OFD Sender: No OFD packet to send [19:35:56]OFD Sender: No OFD packet to send [19:36:01]OFD Sender: No OFD packet to send [19:36:06]OFD Sender: No OFD packet to send [19:36:11]OFD Sender: No OFD packet to send [19:36:16]OFD Sender: No OFD packet to send [19:36:21]OFD Sender: No OFD packet to send [19:36:26]OFD Sender: No OFD packet to send [19:36:31]OFD Sender: No OFD packet to send [19:36:36]OFD Sender: No OFD packet to send [19:36:41]OFD Sender: No OFD packet to send [19:36:46]OFD Sender: No OFD packet to send [19:36:51]OFD Sender: No OFD packet to send [19:36:56]OFD Sender: No OFD packet to send [19:37:01]OFD Sender: No OFD packet to send [19:37:06]OFD Sender: No OFD packet to send [19:37:11]OFD Sender: No OFD packet to send [19:37:16]OFD Sender: No OFD packet to send [19:37:21]OFD Sender: No OFD packet to send [19:37:26]OFD Sender: No OFD packet to send [19:37:31]OFD Sender: No OFD packet to send [19:37:36]OFD Sender: No OFD packet to send [19:37:41]OFD Sender: No OFD packet to send [19:37:46]OFD Sender: No OFD packet to send [19:37:51]OFD Sender: No OFD packet to send [19:37:56]OFD Sender: No OFD packet to send [19:38:01]OFD Sender: No OFD packet to send [19:38:06]OFD Sender: No OFD packet to send [19:38:11]OFD Sender: No OFD packet to send [19:38:16]OFD Sender: No OFD packet to send [19:38:21]OFD Sender: No OFD packet to send [19:38:26]OFD Sender: No OFD packet to send [19:38:31]OFD Sender: No OFD packet to send [19:38:36]OFD Sender: No OFD packet to send [19:38:41]OFD Sender: No OFD packet to send [19:38:46]OFD Sender: No OFD packet to send [19:38:51]OFD Sender: No OFD packet to send [19:38:56]OFD Sender: No OFD packet to send [19:39:01]OFD Sender: No OFD packet to send [19:39:06]OFD Sender: No OFD packet to send [19:39:11]OFD Sender: No OFD packet to send [19:39:16]OFD Sender: No OFD packet to send [19:39:21]OFD Sender: No OFD packet to send [19:39:26]OFD Sender: No OFD packet to send [19:39:31]OFD Sender: No OFD packet to send [19:39:36]OFD Sender: No OFD packet to send [19:39:41]OFD Sender: No OFD packet to send [19:39:46]OFD Sender: No OFD packet to send [19:39:51]OFD Sender: No OFD packet to send [19:39:56]OFD Sender: No OFD packet to send [19:40:01]OFD Sender: No OFD packet to send [19:40:06]OFD Sender: No OFD packet to send [19:40:11]OFD Sender: No OFD packet to send [19:40:16]OFD Sender: No OFD packet to send [19:40:21]OFD Sender: No OFD packet to send [19:40:26]OFD Sender: No OFD packet to send [19:40:31]OFD Sender: No OFD packet to send [19:40:36]OFD Sender: No OFD packet to send [19:40:41]OFD Sender: No OFD packet to send [19:40:46]OFD Sender: No OFD packet to send [19:40:51]OFD Sender: No OFD packet to send [19:40:56]OFD Sender: No OFD packet to send [19:41:01]OFD Sender: No OFD packet to send [19:41:06]OFD Sender: No OFD packet to send [19:41:11]OFD Sender: No OFD packet to send [19:41:16]OFD Sender: No OFD packet to send [19:41:21]OFD Sender: No OFD packet to send [19:41:26]OFD Sender: No OFD packet to send [19:41:31]OFD Sender: No OFD packet to send [19:41:36]OFD Sender: No OFD packet to send [19:41:41]OFD Sender: No OFD packet to send [19:41:46]OFD Sender: No OFD packet to send [19:41:51]OFD Sender: No OFD packet to send [19:41:56]OFD Sender: No OFD packet to send [19:42:01]OFD Sender: No OFD packet to send [19:42:06]OFD Sender: No OFD packet to send [19:42:11]OFD Sender: No OFD packet to send [19:42:16]OFD Sender: No OFD packet to send [19:42:21]OFD Sender: No OFD packet to send [19:42:26]OFD Sender: No OFD packet to send [19:42:31]OFD Sender: No OFD packet to send [19:42:36]OFD Sender: No OFD packet to send [19:42:41]OFD Sender: No OFD packet to send [19:42:46]OFD Sender: No OFD packet to send [19:42:51]OFD Sender: No OFD packet to send [19:42:56]OFD Sender: No OFD packet to send [19:43:01]OFD Sender: No OFD packet to send [19:43:06]OFD Sender: No OFD packet to send [19:43:11]OFD Sender: No OFD packet to send [19:43:16]OFD Sender: No OFD packet to send [19:43:21]OFD Sender: No OFD packet to send [19:43:26]OFD Sender: No OFD packet to send [19:43:31]OFD Sender: No OFD packet to send [19:43:36]OFD Sender: No OFD packet to send [19:43:41]OFD Sender: No OFD packet to send [19:43:46]OFD Sender: No OFD packet to send [19:43:51]OFD Sender: No OFD packet to send [19:43:56]OFD Sender: No OFD packet to send [19:44:01]OFD Sender: No OFD packet to send [19:44:06]OFD Sender: No OFD packet to send [19:44:11]OFD Sender: No OFD packet to send [19:44:16]OFD Sender: No OFD packet to send [19:44:21]OFD Sender: No OFD packet to send [19:44:26]OFD Sender: No OFD packet to send [19:44:31]OFD Sender: No OFD packet to send [19:44:36]OFD Sender: No OFD packet to send [19:44:41]OFD Sender: No OFD packet to send [19:44:46]OFD Sender: No OFD packet to send [19:44:51]OFD Sender: No OFD packet to send [19:44:56]OFD Sender: No OFD packet to send [19:45:01]OFD Sender: No OFD packet to send [19:45:06]OFD Sender: No OFD packet to send [19:45:11]OFD Sender: No OFD packet to send [19:45:16]OFD Sender: No OFD packet to send [19:45:21]OFD Sender: No OFD packet to send [19:45:26]OFD Sender: No OFD packet to send [19:45:31]OFD Sender: No OFD packet to send [19:45:36]OFD Sender: No OFD packet to send [19:45:41]OFD Sender: No OFD packet to send [19:45:46]OFD Sender: No OFD packet to send [19:45:51]OFD Sender: No OFD packet to send [19:45:57]OFD Sender: No OFD packet to send [19:46:02]OFD Sender: No OFD packet to send [19:46:07]OFD Sender: No OFD packet to send [19:46:12]OFD Sender: No OFD packet to send [19:46:17]OFD Sender: No OFD packet to send [19:46:22]OFD Sender: No OFD packet to send [19:46:27]OFD Sender: No OFD packet to send [19:46:32]OFD Sender: No OFD packet to send [19:46:37]OFD Sender: No OFD packet to send [19:46:42]OFD Sender: No OFD packet to send [19:46:47]OFD Sender: No OFD packet to send [19:46:52]OFD Sender: No OFD packet to send [19:46:57]OFD Sender: No OFD packet to send [19:47:02]OFD Sender: No OFD packet to send [19:47:07]OFD Sender: No OFD packet to send [19:47:12]OFD Sender: No OFD packet to send [19:47:17]OFD Sender: No OFD packet to send [19:47:22]OFD Sender: No OFD packet to send [19:47:27]OFD Sender: No OFD packet to send [19:47:32]OFD Sender: No OFD packet to send [19:47:37]OFD Sender: No OFD packet to send [19:47:42]OFD Sender: No OFD packet to send [19:47:47]OFD Sender: No OFD packet to send [19:47:52]OFD Sender: No OFD packet to send [19:47:57]OFD Sender: No OFD packet to send [19:48:02]OFD Sender: No OFD packet to send [19:48:07]OFD Sender: No OFD packet to send [19:48:12]OFD Sender: No OFD packet to send [19:48:17]OFD Sender: No OFD packet to send [19:48:22]OFD Sender: No OFD packet to send [19:48:27]OFD Sender: No OFD packet to send [19:48:32]OFD Sender: No OFD packet to send [19:48:37]OFD Sender: No OFD packet to send [19:48:42]OFD Sender: No OFD packet to send [19:48:47]OFD Sender: No OFD packet to send [19:48:52]OFD Sender: No OFD packet to send [19:48:57]OFD Sender: No OFD packet to send [19:49:02]OFD Sender: No OFD packet to send [19:49:07]OFD Sender: No OFD packet to send [19:49:12]OFD Sender: No OFD packet to send [19:49:17]OFD Sender: No OFD packet to send [19:49:22]OFD Sender: No OFD packet to send [19:49:27]OFD Sender: No OFD packet to send [19:49:32]OFD Sender: No OFD packet to send [19:49:37]OFD Sender: No OFD packet to send [19:49:42]OFD Sender: No OFD packet to send [19:49:47]OFD Sender: No OFD packet to send [19:49:52]OFD Sender: No OFD packet to send [19:49:57]OFD Sender: No OFD packet to send [19:50:02]OFD Sender: No OFD packet to send [19:50:07]OFD Sender: No OFD packet to send [19:50:12]OFD Sender: No OFD packet to send [19:50:17]OFD Sender: No OFD packet to send [19:50:22]OFD Sender: No OFD packet to send [19:50:27]OFD Sender: No OFD packet to send [19:50:32]OFD Sender: No OFD packet to send [19:50:37]OFD Sender: No OFD packet to send [19:50:42]OFD Sender: No OFD packet to send [19:50:47]OFD Sender: No OFD packet to send [19:50:52]OFD Sender: No OFD packet to send [19:50:57]OFD Sender: No OFD packet to send [19:51:02]OFD Sender: No OFD packet to send [19:51:07]OFD Sender: No OFD packet to send [19:51:12]OFD Sender: No OFD packet to send [19:51:17]OFD Sender: No OFD packet to send [19:51:22]OFD Sender: No OFD packet to send [19:51:27]OFD Sender: No OFD packet to send [19:51:32]OFD Sender: No OFD packet to send [19:51:37]OFD Sender: No OFD packet to send [19:51:42]OFD Sender: No OFD packet to send [19:51:47]OFD Sender: No OFD packet to send [19:51:52]OFD Sender: No OFD packet to send [19:51:57]OFD Sender: No OFD packet to send [19:52:02]OFD Sender: No OFD packet to send [19:52:07]OFD Sender: No OFD packet to send [19:52:12]OFD Sender: No OFD packet to send [19:52:17]OFD Sender: No OFD packet to send [19:52:22]OFD Sender: No OFD packet to send [19:52:27]OFD Sender: No OFD packet to send [19:52:32]OFD Sender: No OFD packet to send [19:52:37]OFD Sender: No OFD packet to send [19:52:42]OFD Sender: No OFD packet to send [19:52:47]OFD Sender: No OFD packet to send [19:52:52]OFD Sender: No OFD packet to send [19:52:57]OFD Sender: No OFD packet to send [19:53:02]OFD Sender: No OFD packet to send [19:53:07]OFD Sender: No OFD packet to send [19:53:12]OFD Sender: No OFD packet to send [19:53:17]OFD Sender: No OFD packet to send [19:53:22]OFD Sender: No OFD packet to send [19:53:27]OFD Sender: No OFD packet to send [19:53:32]OFD Sender: No OFD packet to send [19:53:37]OFD Sender: No OFD packet to send [19:53:42]OFD Sender: No OFD packet to send [19:53:47]OFD Sender: No OFD packet to send [19:53:52]OFD Sender: No OFD packet to send [19:53:57]OFD Sender: No OFD packet to send [19:54:02]OFD Sender: No OFD packet to send [19:54:07]OFD Sender: No OFD packet to send [19:54:12]OFD Sender: No OFD packet to send [19:54:17]OFD Sender: No OFD packet to send [19:54:22]OFD Sender: No OFD packet to send [19:54:27]OFD Sender: No OFD packet to send [19:54:32]OFD Sender: No OFD packet to send [19:54:37]OFD Sender: No OFD packet to send [19:54:42]OFD Sender: No OFD packet to send [19:54:47]OFD Sender: No OFD packet to send [19:54:52]OFD Sender: No OFD packet to send [19:54:53]accept exits with 9 [19:54:53]New connection [19:54:53]New thread 3067452772 created [19:54:53]Thread 3067596132 joined [19:54:53]Waiting for new connection... [19:54:53] Sock 9.Parse request [19:54:53]Sock 9.Check first char [19:54:53]Sock 9.First char is OK [19:54:53]request: POST /json_proto HTTP/1.0 [19:54:53]Method: POST [19:54:53]URL: /json_proto [19:54:53]Method is POST - this is cgi request [19:54:53]url: /json_proto [19:54:53]query_string will be loaded in cgi processing [19:54:53]execute_cgi json_proto POST (null) [19:54:53]execute_cgi path=json_proto method=POST [19:54:53]POST find Content-Length [19:54:53]Host: 172.17.50.4:8080 [19:54:53]Content-Length: 1175 [19:54:53]Content-Type: application/json [19:54:53] [19:54:53]POST finish read [19:54:53]Found Content-Length = 1175 [19:54:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134957", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:53]execute_script... [19:54:53]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134957", "tax_sys" : 0, "items" : [ { "code": "4700003010483", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u044F\u0431\u043B\u043E\u043A\u043E \u041F\u042D\u0422 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607015232868", "name": "\u0412\u0430\u0444\u043B\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0432 \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u043E\u0439 \u0433\u043B\u0430\u0437\u0443\u0440\u0438 200\u0433", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 135.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:54:53]POST & json_proto [19:54:53]process_json_proto [19:54:53]json parsed OK: [19:54:53]protocol is kg_v1.0 [19:54:53]action value=close_receipt [19:54:53]process_action close_receipt [19:54:53]cmd_close_receipt [19:54:53]MH_GetDate [19:54:53]Write to MH i2c: F0 00 00 2A 13 2C [19:54:53]Write i2c OK [19:54:53]MH_I2C_Read... [19:54:53]Read from MH i2c: F0 [19:54:53]MH_I2C_Read... [19:54:53]Read from MH i2c: F0 09 00 [19:54:53]MH_I2C_Read... [19:54:53]Read from MH i2c: F0 09 00 2A 13 00 12 03 18 67 3B 12 16 67 93 [19:54:53]GetLastDocTimeStamp 1729625756 [19:54:53]current date 1729626898 [19:54:53]FM_GetShiftState [19:54:53]SAM_PROTO_GetShiftState [19:54:53]wFMCommunicate request_size=4 [19:54:53]MH_SAM_APDU [19:54:53]CAPDU: 80 13 01 00 [19:54:53]Write to MH i2c: E2 08 00 2B 13 80 13 01 00 00 00 00 00 BB [19:54:53]Write i2c OK [19:54:53]MH_I2C_Read... [19:54:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:53]Read from MH i2c: E2 [19:54:53]MH_I2C_Read... [19:54:53]Read from MH i2c: E2 0E 00 [19:54:53]MH_I2C_Read... [19:54:53]Read from MH i2c: E2 0E 00 2B 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 B3 [19:54:53]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:54:53]wFMCommunicate OK [19:54:53]SAM_PROTO_GetShiftState done [19:54:53]FM_GetShiftState done [19:54:53]opened in 1729555332 [19:54:53]opened+sec_in_day 1729641732 [19:54:53]quantity*price = 4000 [19:54:53]sum+1 = 4001 [19:54:53]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607015232868 Вафли Яшкино в шоколадной глазури 200г 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 135.00 НСП 1% : 1.19 НДС 12% : 14.34 Наличными: 0.00 Безнал.: 135.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 60 22.10.2024 19:54 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24441 ФПД: 88535240875459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T195458&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24441&fm=88535240875459&tin=02508201610067®Number=0000000000098120&sum=13500 0 [19:54:55]StoreToDocumentArchive [19:54:55]shift 462 fd 24441 [19:54:55]save to /storage/0462/doc_00024441 [19:54:55]save last doc name /storage/0462/doc_00024441 to /storage/kkm_last_doc_name [19:54:55]save OK [19:54:55]Clear old archive folders... [19:54:55]ProcessDocumentItem done err = 0, tmpTLVsize=438 [19:54:55]tlvbuf is 00D6AAC0 [19:54:55]SAM_PROTO_ClearQueue [19:54:55]wFMCommunicate request_size=4 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 09 00 00 [19:54:55]Write to MH i2c: E2 08 00 38 13 80 09 00 00 00 00 00 00 BD [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 38 13 00 90 00 BF [19:54:55]RAPDU: 90 00 [19:54:55]wFMCommunicate OK [19:54:55]SAM_PROTO_ClearQueue done [19:54:55]KKMCreateOFDPacket [19:54:55]OFDProtocolAddRootSTLVToBuf [19:54:55]FM_MakeSignedData [19:54:55]FM_MakeSignedData [19:54:55]SAM_PROTO_SignData [19:54:55]wFMCommunicate request_size=4 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 0D 01 02 [19:54:55]Write to MH i2c: E2 08 00 39 13 80 0D 01 02 00 00 00 00 C5 [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 39 13 00 90 00 C0 [19:54:55]RAPDU: 90 00 [19:54:55]wFMCommunicate OK [19:54:55]wFMCommunicate request_size=255 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 0D 02 02 FA 03 00 B6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 [19:54:55]Write to MH i2c: E2 02 01 3A 13 80 0D 02 02 FA 00 03 00 B6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 1D [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 3A 13 00 90 00 C1 [19:54:55]RAPDU: 90 00 [19:54:55]wFMCommunicate OK [19:54:55]wFMCommunicate request_size=197 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 0D 02 02 C0 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 12 03 18 67 0E 04 04 00 CE 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 79 5F 00 00 35 04 06 00 50 85 B7 95 1D C3 [19:54:55]Write to MH i2c: E2 C8 00 3B 13 80 0D 02 02 C0 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 12 03 18 67 0E 04 04 00 CE 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 79 5F 00 00 35 04 06 00 50 85 B7 95 1D C3 00 00 FF [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 03 00 3B 13 00 90 00 C2 [19:54:55]RAPDU: 90 00 [19:54:55]wFMCommunicate OK [19:54:55]wFMCommunicate request_size=4 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 0D 03 02 [19:54:55]Write to MH i2c: E2 08 00 3C 13 80 0D 03 02 00 00 00 00 CA [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 0B 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 0B 00 3C 13 00 E7 CE AF CE 05 F4 6C 40 90 00 A2 [19:54:55]RAPDU: E7 CE AF CE 05 F4 6C 40 90 00 [19:54:55]wFMCommunicate OK [19:54:55]SAM_PROTO_SignData done [19:54:55]FM_MakeSignedData done [19:54:55]CreateOFDProtocolMessage [19:54:55]wFMCommunicate request_size=4 [19:54:55]MH_SAM_APDU [19:54:55]CAPDU: 80 11 00 00 [19:54:55]Write to MH i2c: E2 08 00 3D 13 80 11 00 00 00 00 00 00 CA [19:54:55]Write i2c OK [19:54:55]MH_I2C_Read... [19:54:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:55]Read from MH i2c: E2 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 17 00 [19:54:55]MH_I2C_Read... [19:54:55]Read from MH i2c: E2 17 00 3D 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 17 [19:54:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:54:55]wFMCommunicate OK [19:54:55]CreateOFDProtocolMessage done [19:54:55]OFDSenderStorePacket 24441 [19:54:55]StoreOFDPacket docnum=24441 [19:54:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 CA 01 00 00 5D A8 C2 01 55 90 5A 03 01 00 03 00 B6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 12 03 18 67 0E 04 04 00 CE 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 79 5F 00 00 35 04 06 00 50 85 B7 95 1D C3 E7 CE AF CE 05 F4 6C 40 [19:54:55]CheckFolder [19:54:55]dirname=/storage/ofd_packets [19:54:55]CheckFolder done [19:54:56]ProducePacketName [19:54:56]name=ofd_packets/00024441 [19:54:56]NVStorageSaveData ofd_packets/00024441 [19:54:56]File name is /storage/ofd_packets/00024441 [19:54:56]Write 488 bytes [19:54:56]NVStorageSaveData done [19:54:56]OFDSenderStorePacket done [19:54:56]KKMCreateOFDPacket done [19:54:56]NVStorageSaveData kkm_last_timestamp [19:54:56]File name is /storage/kkm_last_timestamp [19:54:56]Write 4 bytes [19:54:56]NVStorageSaveData done [19:54:56]ExternCall_PrintAddStr [19:54:56]wPrintStart [19:54:56]Write to MH i2c: 01 00 00 3E 13 51 [19:54:56]Write i2c OK [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 07 00 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 07 00 3E 13 00 00 00 00 00 FF 0F 66 [19:54:56]RasterBufferAndPrint [19:54:56]line Счет N : (3)134957 [19:54:56]line ИНН: 02508201610067 [19:54:56]line Контрольно-Кассовый Чек [19:54:56]line ПРОДАЖА [19:54:56]line Товар: 4700003010483 [19:54:56]line Напиток Let`s Go! с/с яблоко ПЭТ 0,5л [19:54:56]line 1.000 * 40.00 [19:54:56]line = 40.00 [19:54:56]line НДС 12% НСП 1% [19:54:56]line > о реализуемом товаре [19:54:56]line Товар: 4607015232868 [19:54:56]line Вафли Яшкино в шоколадной глазури 200г [19:54:56]line 1.000 * 95.00 [19:54:56]line = 95.00 [19:54:56]line НДС 12% НСП 1% [19:54:56]line > о реализуемом товаре [19:54:56]line ИТОГО: 135.00 [19:54:56]line НСП 1% : 1.19 [19:54:56]line НДС 12% : 14.34 [19:54:56]line Наличными: 0.00 [19:54:56]line Безнал.: 135.00 [19:54:56]line Место: АЗС № 85 "Партнер Нефть" [19:54:56]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [19:54:56]line СНО: Общий режим [19:54:56]line Чек 60 22.10.2024 19:54 [19:54:56]line Смена: 462 ФФД: 1.0 [19:54:56]line ЗНМ: 0300000166 [19:54:56]line РНМ: 0000000000098120 [19:54:56]line Версия ККМ: 001 [19:54:56]line Платежная система: Mbank [19:54:56]line ФМ: 0000000000965420 [19:54:56]line ФД: 24441 [19:54:56]line ФПД: 88535240875459 [19:54:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T195458&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24441&fm=88535240875459&tin=02508201610067®Number=0000000000098120&sum=13500 [19:54:56]line 0 [19:54:56]written 0, free lines is 4095 [19:54:56]OFD Sender: Processing packet 24441 [packets to send 5, broken 4] [19:54:56]ProducePacketName [19:54:56]name=ofd_packets/00024441 [19:54:56]OFD Sender: To server: pG, [19:54:56]CommunicateWithHost lk.salyk.kg:30040 [19:54:56]ConnectInit lk.salyk.kg [19:54:56]Connected sock=10 [19:54:56]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 CA 01 00 00 5D A8 C2 01 55 90 5A 03 01 00 03 00 B6 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 34 38 33 06 04 38 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D1 8F D0 B1 D0 BB D0 BE D0 BA D0 BE 20 D0 9F D0 AD D0 A2 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 88 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 32 38 36 38 06 04 44 00 D0 92 D0 B0 D1 84 D0 BB D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D0 B2 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D0 BE D0 B9 20 D0 B3 D0 BB D0 B0 D0 B7 D1 83 D1 80 D0 B8 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 34 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 77 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9A 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 BC 34 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3C 00 00 00 F4 03 04 00 12 03 18 67 0E 04 04 00 CE 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 79 5F 00 00 35 04 06 00 50 85 B7 95 1D C3 E7 CE AF CE 05 F4 6C 40 [19:54:56]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 9B E5 47 00 3F 98 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 79 5F 00 00 F4 03 04 00 B5 AE 17 67 B6 04 01 00 00 AC 7B 8A 98 25 E2 B1 E2 [19:54:56]CommunicateWithHost err = 0 [19:54:56]CheckOFDResponse [19:54:56]1017 (14) - 77093643461234 [19:54:56]1041 (16) - 0000000000965420 [19:54:56]1040 (4) - 24441 [19:54:56]1012 (4) - 22.10.2024 13:55 [19:54:56]1206 (1) - 0 [19:54:56]OFD Sender: Remove packet 24441 [19:54:56]ProducePacketName [19:54:56]name=ofd_packets/00024441 [19:54:56]NVStorageDeleteData [19:54:56]Write to MH i2c: 01 00 00 6F 13 82 [19:54:56]Write i2c OK [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 07 00 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: 01 07 00 6F 13 00 00 00 00 00 C9 0C 5E [19:54:56]RasterBufferAndPrint [19:54:56]line [19:54:56]line [19:54:56]line [19:54:56]line [19:54:56]line [19:54:56]written 0, free lines is 3282 [19:54:56]process_action close_receipt done [19:54:56]requested_data is exist [19:54:56]produce_requested_data [19:54:56]requested_item fm.sn is exist - process it [19:54:56]wFMCommunicate request_size=4 [19:54:56]MH_SAM_APDU [19:54:56]CAPDU: 80 11 00 00 [19:54:56]Write to MH i2c: E2 08 00 76 13 80 11 00 00 00 00 00 00 03 [19:54:56]Write i2c OK [19:54:56]MH_I2C_Read... [19:54:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:54:56]Read from MH i2c: E2 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 17 00 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 17 00 76 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 50 [19:54:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [19:54:56]wFMCommunicate OK [19:54:56]requested_item fd.num is exist - process it [19:54:56]SAM_PROTO_GetFieldsCounters [19:54:56]wFMCommunicate request_size=4 [19:54:56]MH_SAM_APDU [19:54:56]CAPDU: 80 13 00 00 [19:54:56]Write to MH i2c: E2 08 00 77 13 80 13 00 00 00 00 00 00 06 [19:54:56]Write i2c OK [19:54:56]MH_I2C_Read... [19:54:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:54:56]Read from MH i2c: E2 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 62 00 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 62 00 77 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 79 5F 00 00 0E 04 04 00 CE 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 77 [19:54:56]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 79 5F 00 00 0E 04 04 00 CE 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 [19:54:56]wFMCommunicate OK [19:54:56]SAM_PROTO_GetFieldsCounters done [19:54:56]requested_item shift.num is exist - process it [19:54:56]requested_item shift.opened is exist - process it [19:54:56]req_shift_opened [19:54:56]FM_GetShiftState [19:54:56]SAM_PROTO_GetShiftState [19:54:56]wFMCommunicate request_size=4 [19:54:56]MH_SAM_APDU [19:54:56]CAPDU: 80 13 01 00 [19:54:56]Write to MH i2c: E2 08 00 78 13 80 13 01 00 00 00 00 00 08 [19:54:56]Write i2c OK [19:54:56]MH_I2C_Read... [19:54:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:54:56]Read from MH i2c: E2 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 0E 00 [19:54:56]MH_I2C_Read... [19:54:56]Read from MH i2c: E2 0E 00 78 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 00 [19:54:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [19:54:56]wFMCommunicate OK [19:54:56]SAM_PROTO_GetShiftState done [19:54:56]FM_GetShiftState done [19:54:56]req_shift_opened done [19:54:56]requested_item shift.open_date is exist - process it [19:54:56]req_shift_open_date [19:54:56]req_shift_open_date done [19:54:56]produce_requested_data done [19:54:56]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [19:54:56]process_action_free close_receipt [19:54:56]json_value_free [19:54:56]json_value_free done [19:54:56]process_json_proto returns [19:54:56]Send response to host [19:54:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [19:54:56]free response buf [19:54:56]execute_script done [19:54:56]execute_script returns [19:54:56]free content buf [19:54:56]Sock 9.Close socket [19:54:56]Sock 9.Thread stoped [19:54:56]OFD Sender: No OFD packet to send [19:55:01]OFD Sender: No OFD packet to send [19:55:06]OFD Sender: No OFD packet to send [19:55:11]OFD Sender: No OFD packet to send [19:55:16]OFD Sender: No OFD packet to send [19:55:21]OFD Sender: No OFD packet to send [19:55:26]OFD Sender: No OFD packet to send [19:55:31]OFD Sender: No OFD packet to send [19:55:36]OFD Sender: No OFD packet to send [19:55:41]OFD Sender: No OFD packet to send [19:55:46]OFD Sender: No OFD packet to send [19:55:51]OFD Sender: No OFD packet to send [19:55:56]OFD Sender: No OFD packet to send [19:56:01]OFD Sender: No OFD packet to send [19:56:06]OFD Sender: No OFD packet to send [19:56:11]OFD Sender: No OFD packet to send [19:56:16]OFD Sender: No OFD packet to send [19:56:21]OFD Sender: No OFD packet to send [19:56:26]OFD Sender: No OFD packet to send [19:56:31]OFD Sender: No OFD packet to send [19:56:36]OFD Sender: No OFD packet to send [19:56:41]OFD Sender: No OFD packet to send [19:56:46]OFD Sender: No OFD packet to send [19:56:51]OFD Sender: No OFD packet to send [19:56:56]OFD Sender: No OFD packet to send [19:57:01]OFD Sender: No OFD packet to send [19:57:06]OFD Sender: No OFD packet to send [19:57:11]OFD Sender: No OFD packet to send [19:57:16]OFD Sender: No OFD packet to send [19:57:21]OFD Sender: No OFD packet to send [19:57:26]OFD Sender: No OFD packet to send [19:57:31]OFD Sender: No OFD packet to send [19:57:37]OFD Sender: No OFD packet to send [19:57:42]OFD Sender: No OFD packet to send [19:57:47]OFD Sender: No OFD packet to send [19:57:52]OFD Sender: No OFD packet to send [19:57:57]OFD Sender: No OFD packet to send [19:58:02]OFD Sender: No OFD packet to send [19:58:07]OFD Sender: No OFD packet to send [19:58:12]OFD Sender: No OFD packet to send [19:58:17]OFD Sender: No OFD packet to send [19:58:22]OFD Sender: No OFD packet to send [19:58:27]OFD Sender: No OFD packet to send [19:58:32]OFD Sender: No OFD packet to send [19:58:37]OFD Sender: No OFD packet to send [19:58:42]OFD Sender: No OFD packet to send [19:58:47]OFD Sender: No OFD packet to send [19:58:52]OFD Sender: No OFD packet to send [19:58:57]OFD Sender: No OFD packet to send [19:59:02]OFD Sender: No OFD packet to send [19:59:07]OFD Sender: No OFD packet to send [19:59:12]OFD Sender: No OFD packet to send [19:59:17]OFD Sender: No OFD packet to send [19:59:22]OFD Sender: No OFD packet to send [19:59:27]OFD Sender: No OFD packet to send [19:59:32]OFD Sender: No OFD packet to send [19:59:37]OFD Sender: No OFD packet to send [19:59:42]OFD Sender: No OFD packet to send [19:59:47]OFD Sender: No OFD packet to send [19:59:52]OFD Sender: No OFD packet to send [19:59:57]OFD Sender: No OFD packet to send [20:00:02]OFD Sender: No OFD packet to send [20:00:07]OFD Sender: No OFD packet to send [20:00:12]OFD Sender: No OFD packet to send [20:00:17]OFD Sender: No OFD packet to send [20:00:22]OFD Sender: No OFD packet to send [20:00:27]OFD Sender: No OFD packet to send [20:00:32]OFD Sender: No OFD packet to send [20:00:37]OFD Sender: No OFD packet to send [20:00:42]OFD Sender: No OFD packet to send [20:00:47]OFD Sender: No OFD packet to send [20:00:52]OFD Sender: No OFD packet to send [20:00:57]OFD Sender: No OFD packet to send [20:01:02]OFD Sender: No OFD packet to send [20:01:07]OFD Sender: No OFD packet to send [20:01:12]OFD Sender: No OFD packet to send [20:01:17]OFD Sender: No OFD packet to send [20:01:22]OFD Sender: No OFD packet to send [20:01:27]OFD Sender: No OFD packet to send [20:01:32]OFD Sender: No OFD packet to send [20:01:37]OFD Sender: No OFD packet to send [20:01:42]OFD Sender: No OFD packet to send [20:01:47]OFD Sender: No OFD packet to send [20:01:52]OFD Sender: No OFD packet to send [20:01:57]OFD Sender: No OFD packet to send [20:02:02]OFD Sender: No OFD packet to send [20:02:07]OFD Sender: No OFD packet to send [20:02:12]OFD Sender: No OFD packet to send [20:02:17]OFD Sender: No OFD packet to send [20:02:22]OFD Sender: No OFD packet to send [20:02:27]OFD Sender: No OFD packet to send [20:02:32]OFD Sender: No OFD packet to send [20:02:37]OFD Sender: No OFD packet to send [20:02:42]OFD Sender: No OFD packet to send [20:02:47]OFD Sender: No OFD packet to send [20:02:52]OFD Sender: No OFD packet to send [20:02:57]OFD Sender: No OFD packet to send [20:03:02]OFD Sender: No OFD packet to send [20:03:07]OFD Sender: No OFD packet to send [20:03:12]OFD Sender: No OFD packet to send [20:03:17]OFD Sender: No OFD packet to send [20:03:22]OFD Sender: No OFD packet to send [20:03:27]OFD Sender: No OFD packet to send [20:03:32]OFD Sender: No OFD packet to send [20:03:37]OFD Sender: No OFD packet to send [20:03:42]OFD Sender: No OFD packet to send [20:03:47]OFD Sender: No OFD packet to send [20:03:52]OFD Sender: No OFD packet to send [20:03:57]OFD Sender: No OFD packet to send [20:04:02]OFD Sender: No OFD packet to send [20:04:07]OFD Sender: No OFD packet to send [20:04:12]OFD Sender: No OFD packet to send [20:04:17]OFD Sender: No OFD packet to send [20:04:22]OFD Sender: No OFD packet to send [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]OFD Sender: No OFD packet to send [20:12:27]OFD Sender: No OFD packet to send [20:12:32]OFD Sender: No OFD packet to send [20:12:37]OFD Sender: No OFD packet to send [20:12:42]OFD Sender: No OFD packet to send [20:12:47]OFD Sender: No OFD packet to send [20:12:52]OFD Sender: No OFD packet to send [20:12:57]OFD Sender: No OFD packet to send [20:13:02]OFD Sender: No OFD packet to send [20:13:07]OFD Sender: No OFD packet to send [20:13:12]OFD Sender: No OFD packet to send [20:13:17]OFD Sender: No OFD packet to send [20:13:22]OFD Sender: No OFD packet to send [20:13:27]OFD Sender: No OFD packet to send [20:13:32]OFD Sender: No OFD packet to send [20:13:37]OFD Sender: No OFD packet to send [20:13:42]OFD Sender: No OFD packet to send [20:13:47]OFD Sender: No OFD packet to send [20:13:52]OFD Sender: No OFD packet to send [20:13:57]OFD Sender: No OFD packet to send [20:14:02]OFD Sender: No OFD packet to send [20:14:07]OFD Sender: No OFD packet to send [20:14:12]OFD Sender: No OFD packet to send [20:14:17]OFD Sender: No OFD packet to send [20:14:22]OFD Sender: No OFD packet to send [20:14:27]OFD Sender: No OFD packet to send [20:14:32]OFD Sender: No OFD packet to send [20:14:37]OFD Sender: No OFD packet to send [20:14:42]OFD Sender: No OFD packet to send [20:14:47]OFD Sender: No OFD packet to send [20:14:52]OFD Sender: No OFD packet to send [20:14:57]OFD Sender: No OFD packet to send [20:15:02]OFD Sender: No OFD packet to send [20:15:07]OFD Sender: No OFD packet to send [20:15:12]OFD Sender: No OFD packet to send [20:15:17]OFD Sender: No OFD packet to send [20:15:22]OFD Sender: No OFD packet to send [20:15:27]OFD Sender: No OFD packet to send [20:15:32]OFD Sender: No OFD packet to send [20:15:37]OFD Sender: No OFD packet to send [20:15:42]OFD Sender: No OFD packet to send [20:15:47]OFD Sender: No OFD packet to send [20:15:52]OFD Sender: No OFD packet to send [20:15:57]OFD Sender: No OFD packet to send [20:16:02]OFD Sender: No OFD packet to send [20:16:07]OFD Sender: No OFD packet to send [20:16:12]OFD Sender: No OFD packet to send [20:16:17]OFD Sender: No OFD packet to send [20:16:22]OFD Sender: No OFD packet to send [20:16:27]OFD Sender: No OFD packet to send [20:16:32]OFD Sender: No OFD packet to send [20:16:37]OFD Sender: No OFD packet to send [20:16:42]OFD Sender: No OFD packet to send [20:16:47]OFD Sender: No OFD packet to send [20:16:52]OFD Sender: No OFD packet to send [20:16:57]OFD Sender: No OFD packet to send [20:17:02]OFD Sender: No OFD packet to send [20:17:07]OFD Sender: No OFD packet to send [20:17:12]OFD Sender: No OFD packet to send [20:17:17]OFD Sender: No OFD packet to send [20:17:22]OFD Sender: No OFD packet to send [20:17:27]OFD Sender: No OFD packet to send [20:17:32]OFD Sender: No OFD packet to send [20:17:37]OFD Sender: No OFD packet to send [20:17:42]OFD Sender: No OFD packet to send [20:17:47]OFD Sender: No OFD packet to send [20:17:52]OFD Sender: No OFD packet to send [20:17:57]OFD Sender: No OFD packet to send [20:18:02]OFD Sender: No OFD packet to send [20:18:07]OFD Sender: No OFD packet to send [20:18:12]OFD Sender: No OFD packet to send [20:18:17]OFD Sender: No OFD packet to send [20:18:22]OFD Sender: No OFD packet to send [20:18:27]OFD Sender: No OFD packet to send [20:18:32]OFD Sender: No OFD packet to send [20:18:37]OFD Sender: No OFD packet to send [20:18:42]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:49]accept exits with 7 [20:21:49]New connection [20:21:49]New thread 3067596132 created [20:21:49]Thread 3067452772 joined [20:21:49]Waiting for new connection... [20:21:49] Sock 7.Parse request [20:21:49]Sock 7.Check first char [20:21:49]Sock 7.First char is OK [20:21:49]request: POST /json_proto HTTP/1.0 [20:21:49]Method: POST [20:21:49]URL: /json_proto [20:21:49]Method is POST - this is cgi request [20:21:49]url: /json_proto [20:21:49]query_string will be loaded in cgi processing [20:21:49]execute_cgi json_proto POST (null) [20:21:49]execute_cgi path=json_proto method=POST [20:21:49]POST find Content-Length [20:21:49]Host: 172.17.50.4:8080 [20:21:49]Content-Length: 215 [20:21:49]Content-Type: application/json [20:21:49] [20:21:49]POST finish read [20:21:49]Found Content-Length = 215 [20:21:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:49]execute_script... [20:21:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:49]POST & json_proto [20:21:49]process_json_proto [20:21:49]json parsed OK: [20:21:49]protocol is kg_v1.0 [20:21:49]action value=get_value [20:21:49]process_action get_value [20:21:49]cmd_get_value [20:21:49]process_action get_value done [20:21:49]requested_data is exist [20:21:49]produce_requested_data [20:21:49]requested_item kkm.sn is exist - process it [20:21:49]requested_item kkm.ver is exist - process it [20:21:49]requested_item fm.sn is exist - process it [20:21:49]wFMCommunicate request_size=4 [20:21:49]MH_SAM_APDU [20:21:49]CAPDU: 80 11 00 00 [20:21:49]Write to MH i2c: E2 08 00 79 13 80 11 00 00 00 00 00 00 06 [20:21:49]Write i2c OK [20:21:49]MH_I2C_Read... [20:21:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:49]Read from MH i2c: E2 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 17 00 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 17 00 79 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 53 [20:21:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:21:49]wFMCommunicate OK [20:21:49]requested_item fd.num is exist - process it [20:21:49]SAM_PROTO_GetFieldsCounters [20:21:49]wFMCommunicate request_size=4 [20:21:49]MH_SAM_APDU [20:21:49]CAPDU: 80 13 00 00 [20:21:49]Write to MH i2c: E2 08 00 7A 13 80 13 00 00 00 00 00 00 09 [20:21:49]Write i2c OK [20:21:49]MH_I2C_Read... [20:21:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:21:49]Read from MH i2c: E2 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 62 00 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 62 00 7A 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 79 5F 00 00 0E 04 04 00 CE 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 7A [20:21: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 79 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:21:49]wFMCommunicate OK [20:21:49]SAM_PROTO_GetFieldsCounters done [20:21:49]requested_item shift.num is exist - process it [20:21:49]requested_item shift.opened is exist - process it [20:21:49]req_shift_opened [20:21:49]FM_GetShiftState [20:21:49]SAM_PROTO_GetShiftState [20:21:49]wFMCommunicate request_size=4 [20:21:49]MH_SAM_APDU [20:21:49]CAPDU: 80 13 01 00 [20:21:49]Write to MH i2c: E2 08 00 7B 13 80 13 01 00 00 00 00 00 0B [20:21:49]Write i2c OK [20:21:49]MH_I2C_Read... [20:21:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:49]Read from MH i2c: E2 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 0E 00 [20:21:49]MH_I2C_Read... [20:21:49]Read from MH i2c: E2 0E 00 7B 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 03 [20:21:49]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:21:49]wFMCommunicate OK [20:21:49]SAM_PROTO_GetShiftState done [20:21:49]FM_GetShiftState done [20:21:49]req_shift_opened done [20:21:49]requested_item shift.open_date is exist - process it [20:21:49]req_shift_open_date [20:21:49]req_shift_open_date done [20:21:49]produce_requested_data done [20:21:49]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [20:21:49]process_action_free get_value [20:21:49]json_value_free [20:21:49]json_value_free done [20:21:49]process_json_proto returns [20:21:49]Send response to host [20:21:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [20:21:49]free response buf [20:21:49]execute_script done [20:21:49]execute_script returns [20:21:49]free content buf [20:21:49]Sock 7.Close socket [20:21:49]Sock 7.Thread stoped [20:21:49]accept exits with 10 [20:21:49]New connection [20:21:49]New thread 3067452772 created [20:21:49]Thread 3067596132 joined [20:21:49]Waiting for new connection... [20:21:49] Sock 10.Parse request [20:21:49]Sock 10.Check first char [20:21:49]Sock 10.First char is OK [20:21:49]request: POST /json_proto HTTP/1.0 [20:21:49]Method: POST [20:21:49]URL: /json_proto [20:21:49]Method is POST - this is cgi request [20:21:49]url: /json_proto [20:21:49]query_string will be loaded in cgi processing [20:21:49]execute_cgi json_proto POST (null) [20:21:49]execute_cgi path=json_proto method=POST [20:21:49]POST find Content-Length [20:21:49]Host: 172.17.50.4:8080 [20:21:49]Content-Length: 331 [20:21:49]Content-Type: application/json [20:21:49] [20:21:49]POST finish read [20:21:49]Found Content-Length = 331 [20:21: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" ] } } [20:21:49]execute_script... [20:21: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" ] } } [20:21:49]POST & json_proto [20:21:49]process_json_proto [20:21:49]json parsed OK: [20:21:49]protocol is kg_v1.0 [20:21:49]action value=get_value [20:21:49]process_action get_value [20:21:49]cmd_get_value [20:21:49]process_action get_value done [20:21:49]requested_data is exist [20:21:49]produce_requested_data [20:21:49]requested_item fm.sale.total is exist - process it [20:21:49]SAM_PROTO_GetFMData [20:21:49]wFMCommunicate request_size=4 [20:21:49]MH_SAM_APDU [20:21:49]CAPDU: 80 13 03 00 [20:21:49]Write to MH i2c: E2 08 00 7C 13 80 13 03 00 00 00 00 00 0E [20:21:49]Write i2c OK [20:21:49]MH_I2C_Read... [20:21:50]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:21:50]Read from MH i2c: E2 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 7C 13 00 C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 E1 [20:21:50]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [20:21:50]wFMCommunicate OK [20:21:50]wFMCommunicate request_size=4 [20:21:50]MH_SAM_APDU [20:21:50]CAPDU: 80 17 00 00 [20:21:50]Write to MH i2c: E2 08 00 7D 13 80 17 00 00 00 00 00 00 10 [20:21:50]Write i2c OK [20:21:50]MH_I2C_Read... [20:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:50]Read from MH i2c: E2 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 7D 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 [20:21:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 [20:21:50]wFMCommunicate OK [20:21:50]wFMCommunicate request_size=4 [20:21:50]MH_SAM_APDU [20:21:50]CAPDU: 80 17 00 00 [20:21:50]Write to MH i2c: E2 08 00 7E 13 80 17 00 00 00 00 00 00 11 [20:21:50]Write i2c OK [20:21:50]MH_I2C_Read... [20:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:50]Read from MH i2c: E2 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 7E 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 26 [20:21: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 [20:21:50]wFMCommunicate OK [20:21:50]wFMCommunicate request_size=4 [20:21:50]MH_SAM_APDU [20:21:50]CAPDU: 80 17 00 00 [20:21:50]Write to MH i2c: E2 08 00 7F 13 80 17 00 00 00 00 00 00 12 [20:21:50]Write i2c OK [20:21:50]MH_I2C_Read... [20:21:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:50]Read from MH i2c: E2 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 [20:21:50]MH_I2C_Read... [20:21:50]Read from MH i2c: E2 FD 00 7F 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 8A [20:21: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 [20:21:50]wFMCommunicate OK [20:21:50]wFMCommunicate request_size=4 [20:21:50]MH_SAM_APDU [20:21:50]CAPDU: 80 17 00 00 [20:21:50]Write to MH i2c: E2 08 00 80 13 80 17 00 00 00 00 00 00 13 [20:21:50]Write i2c OK [20:21:50]MH_I2C_Read... [20:21:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:21:51]Read from MH i2c: E2 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 E1 00 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 E1 00 80 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 01 [20:21: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 [20:21:51]wFMCommunicate OK [20:21:51]SAM_PROTO_GetFMData done [20:21:51]requested_item fm.sale_refund.total is exist - process it [20:21:51]requested_item fm.buy.total is exist - process it [20:21:51]requested_item shift.sale.total is exist - process it [20:21:51]SAM_PROTO_GetShiftData [20:21:51]wFMCommunicate request_size=4 [20:21:51]MH_SAM_APDU [20:21:51]CAPDU: 80 13 02 00 [20:21:51]Write to MH i2c: E2 08 00 81 13 80 13 02 00 00 00 00 00 12 [20:21:51]Write i2c OK [20:21:51]MH_I2C_Read... [20:21:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:21:51]Read from MH i2c: E2 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 FD 00 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 FD 00 81 13 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 24 [20:21:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:21:51]wFMCommunicate OK [20:21:51]wFMCommunicate request_size=4 [20:21:51]MH_SAM_APDU [20:21:51]CAPDU: 80 17 00 00 [20:21:51]Write to MH i2c: E2 08 00 82 13 80 17 00 00 00 00 00 00 15 [20:21:51]Write i2c OK [20:21:51]MH_I2C_Read... [20:21:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:51]Read from MH i2c: E2 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 FD 00 [20:21:51]MH_I2C_Read... [20:21:51]Read from MH i2c: E2 FD 00 82 13 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 37 [20:21: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 [20:21:51]wFMCommunicate OK [20:21:51]wFMCommunicate request_size=4 [20:21:51]MH_SAM_APDU [20:21:51]CAPDU: 80 17 00 00 [20:21:51]Write to MH i2c: E2 08 00 83 13 80 17 00 00 00 00 00 00 16 [20:21:51]Write i2c OK [20:21:51]MH_I2C_Read... [20:21:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:52]Read from MH i2c: E2 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 FD 00 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 FD 00 83 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CD [20:21: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 [20:21:52]wFMCommunicate OK [20:21:52]wFMCommunicate request_size=4 [20:21:52]MH_SAM_APDU [20:21:52]CAPDU: 80 17 00 00 [20:21:52]Write to MH i2c: E2 08 00 84 13 80 17 00 00 00 00 00 00 17 [20:21:52]Write i2c OK [20:21:52]MH_I2C_Read... [20:21:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:52]Read from MH i2c: E2 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 FD 00 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 FD 00 84 13 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 89 [20:21: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 [20:21:52]wFMCommunicate OK [20:21:52]wFMCommunicate request_size=4 [20:21:52]MH_SAM_APDU [20:21:52]CAPDU: 80 17 00 00 [20:21:52]Write to MH i2c: E2 08 00 85 13 80 17 00 00 00 00 00 00 18 [20:21:52]Write i2c OK [20:21:52]MH_I2C_Read... [20:21:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:21:52]Read from MH i2c: E2 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 CB 00 [20:21:52]MH_I2C_Read... [20:21:52]Read from MH i2c: E2 CB 00 85 13 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 01 [20:21: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 [20:21:52]wFMCommunicate OK [20:21:52]SAM_PROTO_GetShiftData done [20:21:52]requested_item shift.sale.total_cash is exist - process it [20:21:52]requested_item shift.sale_refund.total is exist - process it [20:21:52]requested_item shift.sale_refund.total_cash is exist - process it [20:21:52]requested_item shift.buy.total is exist - process it [20:21:52]requested_item shift.buy.total_cash is exist - process it [20:21:52]produce_requested_data done [20:21:52]produce_requested_data return {"fm.sale.total":7404524.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":12623.00,"shift.sale.total_cash":11164.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} [20:21:52]process_action_free get_value [20:21:52]json_value_free [20:21:52]json_value_free done [20:21:52]process_json_proto returns [20:21:52]Send response to host [20:21:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7404524.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":12623.00,"shift.sale.total_cash":11164.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}}} [20:21:52]free response buf [20:21:52]execute_script done [20:21:52]execute_script returns [20:21:52]free content buf [20:21:52]Sock 10.Close socket [20:21:52]Sock 10.Thread stoped [20:21:52]accept exits with 7 [20:21:52]New connection [20:21:52]New thread 3067596132 created [20:21:52]Thread 3067452772 joined [20:21:52]Waiting for new connection... [20:21:52] Sock 7.Parse request [20:21:52]Sock 7.Check first char [20:21:52]Sock 7.First char is OK [20:21:52]request: POST /json_proto HTTP/1.0 [20:21:52]Method: POST [20:21:52]URL: /json_proto [20:21:52]Method is POST - this is cgi request [20:21:52]url: /json_proto [20:21:52]query_string will be loaded in cgi processing [20:21:52]execute_cgi json_proto POST (null) [20:21:52]execute_cgi path=json_proto method=POST [20:21:52]POST find Content-Length [20:21:52]Host: 172.17.50.4:8080 [20:21:52]Content-Length: 331 [20:21:52]Content-Type: application/json [20:21:52] [20:21:52]POST finish read [20:21:52]Found Content-Length = 331 [20:21:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:21:52]execute_script... [20:21:52]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [20:21:52]POST & json_proto [20:21:52]process_json_proto [20:21:52]json parsed OK: [20:21:52]protocol is kg_v1.0 [20:21:52]action value=get_value [20:21:52]process_action get_value [20:21:52]cmd_get_value [20:21:52]process_action get_value done [20:21:52]requested_data is exist [20:21:52]produce_requested_data [20:21:52]requested_item fm.sale.total is exist - process it [20:21:52]SAM_PROTO_GetFMData [20:21:52]wFMCommunicate request_size=4 [20:21:52]MH_SAM_APDU [20:21:52]CAPDU: 80 13 03 00 [20:21:52]Write to MH i2c: E2 08 00 86 13 80 13 03 00 00 00 00 00 18 [20:21:53]Write i2c OK [20:21:53]MH_I2C_Read... [20:21:53]OFD Sender: No OFD packet to send [20:21:53]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:21:53]Read from MH i2c: E2 [20:21:53]MH_I2C_Read... [20:21:53]Read from MH i2c: E2 FD 00 [20:21:53]MH_I2C_Read... [20:21:53]Read from MH i2c: E2 FD 00 86 13 00 C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 EB [20:21:53]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [20:21:53]wFMCommunicate OK [20:21:53]wFMCommunicate request_size=4 [20:21:53]MH_SAM_APDU [20:21:53]CAPDU: 80 17 00 00 [20:21:53]Write to MH i2c: E2 08 00 87 13 80 17 00 00 00 00 00 00 1A [20:21:53]Write i2c OK [20:21:53]MH_I2C_Read... [20:21:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:53]Read from MH i2c: E2 [20:21:53]MH_I2C_Read... [20:21:53]Read from MH i2c: E2 FD 00 [20:21:53]MH_I2C_Read... [20:21:53]Read from MH i2c: E2 FD 00 87 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 2D [20:21:53]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 [20:21:53]wFMCommunicate OK [20:21:53]wFMCommunicate request_size=4 [20:21:53]MH_SAM_APDU [20:21:53]CAPDU: 80 17 00 00 [20:21:53]Write to MH i2c: E2 08 00 88 13 80 17 00 00 00 00 00 00 1B [20:21:53]Write i2c OK [20:21:53]MH_I2C_Read... [20:21:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:54]Read from MH i2c: E2 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 FD 00 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 FD 00 88 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 30 [20:21:54]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:21:54]wFMCommunicate OK [20:21:54]wFMCommunicate request_size=4 [20:21:54]MH_SAM_APDU [20:21:54]CAPDU: 80 17 00 00 [20:21:54]Write to MH i2c: E2 08 00 89 13 80 17 00 00 00 00 00 00 1C [20:21:54]Write i2c OK [20:21:54]MH_I2C_Read... [20:21:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:54]Read from MH i2c: E2 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 FD 00 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 FD 00 89 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 94 [20:21:54]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:21:54]wFMCommunicate OK [20:21:54]wFMCommunicate request_size=4 [20:21:54]MH_SAM_APDU [20:21:54]CAPDU: 80 17 00 00 [20:21:54]Write to MH i2c: E2 08 00 8A 13 80 17 00 00 00 00 00 00 1D [20:21:54]Write i2c OK [20:21:54]MH_I2C_Read... [20:21:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:21:54]Read from MH i2c: E2 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 E1 00 [20:21:54]MH_I2C_Read... [20:21:54]Read from MH i2c: E2 E1 00 8A 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0B [20:21:54]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:21:55]wFMCommunicate OK [20:21:55]SAM_PROTO_GetFMData done [20:21:55]requested_item fm.sale_refund.total is exist - process it [20:21:55]requested_item fm.buy.total is exist - process it [20:21:55]requested_item shift.sale.total is exist - process it [20:21:55]SAM_PROTO_GetShiftData [20:21:55]wFMCommunicate request_size=4 [20:21:55]MH_SAM_APDU [20:21:55]CAPDU: 80 13 02 00 [20:21:55]Write to MH i2c: E2 08 00 8B 13 80 13 02 00 00 00 00 00 1C [20:21:55]Write i2c OK [20:21:55]MH_I2C_Read... [20:21:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:21:55]Read from MH i2c: E2 [20:21:55]MH_I2C_Read... [20:21:55]Read from MH i2c: E2 FD 00 [20:21:55]MH_I2C_Read... [20:21:55]Read from MH i2c: E2 FD 00 8B 13 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 2E [20:21:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:21:55]wFMCommunicate OK [20:21:55]wFMCommunicate request_size=4 [20:21:55]MH_SAM_APDU [20:21:55]CAPDU: 80 17 00 00 [20:21:55]Write to MH i2c: E2 08 00 8C 13 80 17 00 00 00 00 00 00 1F [20:21:55]Write i2c OK [20:21:55]MH_I2C_Read... [20:21:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:55]Read from MH i2c: E2 [20:21:55]MH_I2C_Read... [20:21:55]Read from MH i2c: E2 FD 00 [20:21:55]MH_I2C_Read... [20:21:55]Read from MH i2c: E2 FD 00 8C 13 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 41 [20:21: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 [20:21:56]wFMCommunicate OK [20:21:56]wFMCommunicate request_size=4 [20:21:56]MH_SAM_APDU [20:21:56]CAPDU: 80 17 00 00 [20:21:56]Write to MH i2c: E2 08 00 8D 13 80 17 00 00 00 00 00 00 20 [20:21:56]Write i2c OK [20:21:56]MH_I2C_Read... [20:21:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:56]Read from MH i2c: E2 [20:21:56]MH_I2C_Read... [20:21:56]Read from MH i2c: E2 FD 00 [20:21:56]MH_I2C_Read... [20:21:56]Read from MH i2c: E2 FD 00 8D 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 [20:21: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 [20:21:56]wFMCommunicate OK [20:21:56]wFMCommunicate request_size=4 [20:21:56]MH_SAM_APDU [20:21:56]CAPDU: 80 17 00 00 [20:21:56]Write to MH i2c: E2 08 00 8E 13 80 17 00 00 00 00 00 00 21 [20:21:56]Write i2c OK [20:21:56]MH_I2C_Read... [20:21:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:56]Read from MH i2c: E2 [20:21:56]MH_I2C_Read... [20:21:56]Read from MH i2c: E2 FD 00 [20:21:56]MH_I2C_Read... [20:21:56]Read from MH i2c: E2 FD 00 8E 13 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 93 [20:21: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 [20:21:56]wFMCommunicate OK [20:21:56]wFMCommunicate request_size=4 [20:21:56]MH_SAM_APDU [20:21:56]CAPDU: 80 17 00 00 [20:21:56]Write to MH i2c: E2 08 00 8F 13 80 17 00 00 00 00 00 00 22 [20:21:56]Write i2c OK [20:21:56]MH_I2C_Read... [20:21:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:21:57]Read from MH i2c: E2 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 CB 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 CB 00 8F 13 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 0B [20:21: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 [20:21:57]wFMCommunicate OK [20:21:57]SAM_PROTO_GetShiftData done [20:21:57]requested_item shift.sale.total_cash is exist - process it [20:21:57]requested_item shift.sale_refund.total is exist - process it [20:21:57]requested_item shift.sale_refund.total_cash is exist - process it [20:21:57]requested_item shift.buy.total is exist - process it [20:21:57]requested_item shift.buy.total_cash is exist - process it [20:21:57]produce_requested_data done [20:21:57]produce_requested_data return {"fm.sale.total":7404524.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":12623.00,"shift.sale.total_cash":11164.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} [20:21:57]process_action_free get_value [20:21:57]json_value_free [20:21:57]json_value_free done [20:21:57]process_json_proto returns [20:21:57]Send response to host [20:21:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7404524.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":12623.00,"shift.sale.total_cash":11164.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}}} [20:21:57]free response buf [20:21:57]execute_script done [20:21:57]execute_script returns [20:21:57]free content buf [20:21:57]Sock 7.Close socket [20:21:57]Sock 7.Thread stoped [20:21:57]accept exits with 9 [20:21:57]New connection [20:21:57]New thread 3067452772 created [20:21:57]Thread 3067596132 joined [20:21:57]Waiting for new connection... [20:21:57] Sock 9.Parse request [20:21:57]Sock 9.Check first char [20:21:57]Sock 9.First char is OK [20:21:57]request: POST /json_proto HTTP/1.0 [20:21:57]Method: POST [20:21:57]URL: /json_proto [20:21:57]Method is POST - this is cgi request [20:21:57]url: /json_proto [20:21:57]query_string will be loaded in cgi processing [20:21:57]execute_cgi json_proto POST (null) [20:21:57]execute_cgi path=json_proto method=POST [20:21:57]POST find Content-Length [20:21:57]Host: 172.17.50.4:8080 [20:21:57]Content-Length: 263 [20:21:57]Content-Type: application/json [20:21:57] [20:21:57]POST finish read [20:21:57]Found Content-Length = 263 [20:21:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u0442\u0430\u043B\u0438\u0435\u0432\u0430 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:57]execute_script... [20:21:57]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0430\u0442\u0430\u043B\u0438\u0435\u0432\u0430 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:21:57]POST & json_proto [20:21:57]process_json_proto [20:21:57]json parsed OK: [20:21:57]protocol is kg_v1.0 [20:21:57]action value=x_report [20:21:57]process_action x_report [20:21:57]cmd_x_report [20:21:57]MH_GetDate [20:21:57]Write to MH i2c: F0 00 00 90 13 92 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 09 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 09 00 90 13 00 6A 09 18 67 3B 12 16 67 57 [20:21:57]GetLastDocTimeStamp 1729626898 [20:21:57]current date 1729628522 [20:21:57]FM_GetShiftState [20:21:57]SAM_PROTO_GetShiftState [20:21:57]wFMCommunicate request_size=4 [20:21:57]MH_SAM_APDU [20:21:57]CAPDU: 80 13 01 00 [20:21:57]Write to MH i2c: E2 08 00 91 13 80 13 01 00 00 00 00 00 21 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:21:57]Read from MH i2c: E2 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 0E 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 0E 00 91 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 19 [20:21:57]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:21:57]wFMCommunicate OK [20:21:57]SAM_PROTO_GetShiftState done [20:21:57]FM_GetShiftState done [20:21:57]KKMCreateXReportDocument [20:21:57]Load OK [20:21:57]Malloc new data [20:21:57]MH_GetDate [20:21:57]Write to MH i2c: F0 00 00 92 13 94 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 09 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: F0 09 00 92 13 00 6A 09 18 67 3B 12 16 67 59 [20:21:57]Malloc new data [20:21:57]Malloc new data [20:21:57]wFMCommunicate request_size=4 [20:21:57]MH_SAM_APDU [20:21:57]CAPDU: 80 11 00 00 [20:21:57]Write to MH i2c: E2 08 00 93 13 80 11 00 00 00 00 00 00 20 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:21:57]Read from MH i2c: E2 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 17 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 17 00 93 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6D [20:21:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:21:57]wFMCommunicate OK [20:21:57]SAM_PROTO_GetFieldsCounters [20:21:57]wFMCommunicate request_size=4 [20:21:57]MH_SAM_APDU [20:21:57]CAPDU: 80 13 00 00 [20:21:57]Write to MH i2c: E2 08 00 94 13 80 13 00 00 00 00 00 00 23 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:21:57]Read from MH i2c: E2 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 62 00 [20:21:57]MH_I2C_Read... [20:21:57]Read from MH i2c: E2 62 00 94 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 79 5F 00 00 0E 04 04 00 CE 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 94 [20:21:57]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 79 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:21:57]wFMCommunicate OK [20:21:57]SAM_PROTO_GetFieldsCounters done [20:21:57]Malloc new data [20:21:57]Malloc new data [20:21:57]Malloc new data [20:21:57]KKMCreateXReportDocument OK [20:21:57]KKMSetXReportData OK [20:21:57]KKMPrepareXReportFMData [20:21:57]SAM_PROTO_GetShiftData [20:21:57]wFMCommunicate request_size=4 [20:21:57]MH_SAM_APDU [20:21:57]CAPDU: 80 13 02 00 [20:21:57]Write to MH i2c: E2 08 00 95 13 80 13 02 00 00 00 00 00 26 [20:21:57]Write i2c OK [20:21:57]MH_I2C_Read... [20:21:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:21:58]Read from MH i2c: E2 [20:21:58]MH_I2C_Read... [20:21:58]Read from MH i2c: E2 FD 00 [20:21:58]MH_I2C_Read... [20:21:58]Read from MH i2c: E2 FD 00 95 13 00 AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 38 [20:21:58]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 DC 42 13 70 04 03 00 F0 08 11 72 04 03 00 EC 39 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 OFD Sender: No OFD packet to send [20:21:58]03 03 00 A3 0B 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 2B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [20:21:58]wFMCommunicate OK [20:21:58]wFMCommunicate request_size=4 [20:21:58]MH_SAM_APDU [20:21:58]CAPDU: 80 17 00 00 [20:21:58]Write to MH i2c: E2 08 00 96 13 80 17 00 00 00 00 00 00 29 [20:21:58]Write i2c OK [20:21:58]MH_I2C_Read... [20:21:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:58]Read from MH i2c: E2 [20:21:58]MH_I2C_Read... [20:21:58]Read from MH i2c: E2 FD 00 [20:21:58]MH_I2C_Read... [20:21:58]Read from MH i2c: E2 FD 00 96 13 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 4B [20:21:58]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 [20:21:58]wFMCommunicate OK [20:21:58]wFMCommunicate request_size=4 [20:21:58]MH_SAM_APDU [20:21:58]CAPDU: 80 17 00 00 [20:21:58]Write to MH i2c: E2 08 00 97 13 80 17 00 00 00 00 00 00 2A [20:21:58]Write i2c OK [20:21:58]MH_I2C_Read... [20:21:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:59]Read from MH i2c: E2 [20:21:59]MH_I2C_Read... [20:21:59]Read from MH i2c: E2 FD 00 [20:21:59]MH_I2C_Read... [20:21:59]Read from MH i2c: E2 FD 00 97 13 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E1 [20:21:59]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 [20:21:59]wFMCommunicate OK [20:21:59]wFMCommunicate request_size=4 [20:21:59]MH_SAM_APDU [20:21:59]CAPDU: 80 17 00 00 [20:21:59]Write to MH i2c: E2 08 00 98 13 80 17 00 00 00 00 00 00 2B [20:21:59]Write i2c OK [20:21:59]MH_I2C_Read... [20:21:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:21:59]Read from MH i2c: E2 [20:21:59]MH_I2C_Read... [20:21:59]Read from MH i2c: E2 FD 00 [20:21:59]MH_I2C_Read... [20:21:59]Read from MH i2c: E2 FD 00 98 13 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 9D [20:21:59]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 [20:21:59]wFMCommunicate OK [20:21:59]wFMCommunicate request_size=4 [20:21:59]MH_SAM_APDU [20:21:59]CAPDU: 80 17 00 00 [20:21:59]Write to MH i2c: E2 08 00 99 13 80 17 00 00 00 00 00 00 2C [20:21:59]Write i2c OK [20:21:59]MH_I2C_Read... [20:22:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [20:22:00]Read from MH i2c: E2 [20:22:00]MH_I2C_Read... [20:22:00]Read from MH i2c: E2 CB 00 [20:22:00]MH_I2C_Read... [20:22:00]Read from MH i2c: E2 CB 00 99 13 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 15 [20:22:00]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 [20:22:00]wFMCommunicate OK [20:22:00]SAM_PROTO_GetShiftData done [20:22:00]1194 (1194) - счетчики итогов смены [20:22:00] 1134 (4) - 60 - количество чеков со всеми признаками расчетов [20:22:00] 1129 (155) - счетчики операций «приход» [20:22:00] 1135 (4) - 60 - количество чеков по признаку расчетов [20:22:00] 1201 (3) - 12623.00 - общая итоговая сумма в чеках [20:22:00] 1136 (3) - 11164.00 - итоговая сумма в чеках наличными [20:22:00] 1138 (3) - 1459.00 - итоговая сумма в чеках безналичными [20:22:00] 1024 (122) - суммы налогов [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 0% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1006 (12) - суммы НДС [20:22:00] 1010 (1) - 12% - код ставки НДС [20:22:00] 1011 (3) - 1340.51 - сумма НДС по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (11) - суммы НСП [20:22:00] 1014 (1) - 1% - код ставки НСП [20:22:00] 1015 (2) - 111.65 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 2% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 3% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 5% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1130 (141) - счетчики операций «возврат прихода» [20:22:00] 1135 (4) - 0 - количество чеков по признаку расчетов [20:22:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:22:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:22:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:22:00] 1024 (117) - суммы налогов [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 0% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 12% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 2% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 3% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 5% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1131 (141) - счетчики операций «расход» [20:22:00] 1135 (4) - 0 - количество чеков по признаку расчетов [20:22:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:22:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:22:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:22:00] 1024 (117) - суммы налогов [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 0% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 12% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 2% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 3% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 5% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1132 (141) - счетчики операций «возврат расхода» [20:22:00] 1135 (4) - 0 - количество чеков по признаку расчетов [20:22:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [20:22:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [20:22:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [20:22:00] 1024 (117) - суммы налогов [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 0% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1006 (9) - суммы НДС [20:22:00] 1010 (1) - 12% - код ставки НДС [20:22:00] 1011 (0) - 0.00 - сумма НДС по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 2% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 3% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 5% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 0,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1007 (9) - суммы НСП [20:22:00] 1014 (1) - 1,50% - код ставки НСП [20:22:00] 1015 (0) - 0.00 - сумма НСП по ставке [20:22:00] 1133 (588) - - счетчики коррекции - не используются [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1194 (04AA) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1134 (046E) [20:22:00]Malloc new data [20:22:00]Processing tag 1129 (0469) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1135 (046F) [20:22:00]Malloc new data [20:22:00]Processing tag 1201 (04B1) [20:22:00]Malloc new data [20:22:00]Processing tag 1136 (0470) [20:22:00]Malloc new data [20:22:00]Processing tag 1138 (0472) [20:22:00]Malloc new data [20:22:00]Processing tag 1024 (0400) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1006 (03EE) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1010 (03F2) [20:22:00]Malloc new data [20:22:00]Processing tag 1011 (03F3) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1006 (03EE) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1010 (03F2) [20:22:00]Malloc new data [20:22:00]Processing tag 1011 (03F3) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]SetTLVBufToDocument err=0 [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1130 (046A) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1135 (046F) [20:22:00]Malloc new data [20:22:00]Processing tag 1201 (04B1) [20:22:00]Malloc new data [20:22:00]Processing tag 1136 (0470) [20:22:00]Malloc new data [20:22:00]Processing tag 1138 (0472) [20:22:00]Malloc new data [20:22:00]Processing tag 1024 (0400) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1006 (03EE) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1010 (03F2) [20:22:00]Malloc new data [20:22:00]Processing tag 1011 (03F3) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1006 (03EE) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1010 (03F2) [20:22:00]Malloc new data [20:22:00]Processing tag 1011 (03F3) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:00]Malloc new data [20:22:00]Processing tag 1015 (03F7) [20:22:00]Malloc new data [20:22:00]SetTLVBufToDocument err=0 [20:22:00]Processing tag 1007 (03EF) [20:22:00]Load OK [20:22:00]SetTLVBufToDocument [20:22:00]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1131 (046B) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1135 (046F) [20:22:01]Malloc new data [20:22:01]Processing tag 1201 (04B1) [20:22:01]Malloc new data [20:22:01]Processing tag 1136 (0470) [20:22:01]Malloc new data [20:22:01]Processing tag 1138 (0472) [20:22:01]Malloc new data [20:22:01]Processing tag 1024 (0400) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1006 (03EE) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1010 (03F2) [20:22:01]Malloc new data [20:22:01]Processing tag 1011 (03F3) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1006 (03EE) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1010 (03F2) [20:22:01]Malloc new data [20:22:01]Processing tag 1011 (03F3) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1132 (046C) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1135 (046F) [20:22:01]Malloc new data [20:22:01]Processing tag 1201 (04B1) [20:22:01]Malloc new data [20:22:01]Processing tag 1136 (0470) [20:22:01]Malloc new data [20:22:01]Processing tag 1138 (0472) [20:22:01]Malloc new data [20:22:01]Processing tag 1024 (0400) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1006 (03EE) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1010 (03F2) [20:22:01]Malloc new data [20:22:01]Processing tag 1011 (03F3) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1006 (03EE) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1010 (03F2) [20:22:01]Malloc new data [20:22:01]Processing tag 1011 (03F3) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1007 (03EF) [20:22:01]Load OK [20:22:01]SetTLVBufToDocument [20:22:01]Processing tag 1014 (03F6) [20:22:01]Malloc new data [20:22:01]Processing tag 1015 (03F7) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Processing tag 1133 (046D) [20:22:01]Malloc new data [20:22:01]SetTLVBufToDocument err=0 [20:22:01]SetTLVBufToDocument err=0 [20:22:01]Malloc new data [20:22:01]SAM_PROTO_GetFMData [20:22:01]wFMCommunicate request_size=4 [20:22:01]MH_SAM_APDU [20:22:01]CAPDU: 80 13 03 00 [20:22:01]Write to MH i2c: E2 08 00 9A 13 80 13 03 00 00 00 00 00 2C [20:22:01]Write i2c OK [20:22:01]MH_I2C_Read... [20:22:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [20:22:01]Read from MH i2c: E2 [20:22:01]MH_I2C_Read... [20:22:01]Read from MH i2c: E2 FD 00 [20:22:01]MH_I2C_Read... [20:22:01]Read from MH i2c: E2 FD 00 9A 13 00 C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 FF [20:22:02]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [20:22:02]wFMCommunicate OK [20:22:02]wFMCommunicate request_size=4 [20:22:02]MH_SAM_APDU [20:22:02]CAPDU: 80 17 00 00 [20:22:02]Write to MH i2c: E2 08 00 9B 13 80 17 00 00 00 00 00 00 2E [20:22:02]Write i2c OK [20:22:02]MH_I2C_Read... [20:22:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:22:02]Read from MH i2c: E2 [20:22:02]MH_I2C_Read... [20:22:02]Read from MH i2c: E2 FD 00 [20:22:02]MH_I2C_Read... [20:22:02]Read from MH i2c: E2 FD 00 9B 13 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 41 [20:22:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 [20:22:02]wFMCommunicate OK [20:22:02]wFMCommunicate request_size=4 [20:22:02]MH_SAM_APDU [20:22:02]CAPDU: 80 17 00 00 [20:22:02]Write to MH i2c: E2 08 00 9C 13 80 17 00 00 00 00 00 00 2F [20:22:02]Write i2c OK [20:22:02]MH_I2C_Read... [20:22:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:22:02]Read from MH i2c: E2 [20:22:02]MH_I2C_Read... [20:22:02]Read from MH i2c: E2 FD 00 [20:22:02]MH_I2C_Read... [20:22:02]Read from MH i2c: E2 FD 00 9C 13 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 44 [20:22:03]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [20:22:03]wFMCommunicate OK [20:22:03]wFMCommunicate request_size=4 [20:22:03]MH_SAM_APDU [20:22:03]CAPDU: 80 17 00 00 [20:22:03]Write to MH i2c: E2 08 00 9D 13 80 17 00 00 00 00 00 00 30 [20:22:03]Write i2c OK [20:22:03]MH_I2C_Read... [20:22:03]OFD Sender: No OFD packet to send [20:22:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:22:03]Read from MH i2c: E2 [20:22:03]MH_I2C_Read... [20:22:03]Read from MH i2c: E2 FD 00 [20:22:03]MH_I2C_Read... [20:22:03]Read from MH i2c: E2 FD 00 9D 13 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 A8 [20:22:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [20:22:03]wFMCommunicate OK [20:22:03]wFMCommunicate request_size=4 [20:22:03]MH_SAM_APDU [20:22:03]CAPDU: 80 17 00 00 [20:22:03]Write to MH i2c: E2 08 00 9E 13 80 17 00 00 00 00 00 00 31 [20:22:03]Write i2c OK [20:22:03]MH_I2C_Read... [20:22:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [20:22:03]Read from MH i2c: E2 [20:22:03]MH_I2C_Read... [20:22:03]Read from MH i2c: E2 E1 00 [20:22:03]MH_I2C_Read... [20:22:04]Read from MH i2c: E2 E1 00 9E 13 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 1F [20:22:04]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [20:22:04]wFMCommunicate OK [20:22:04]SAM_PROTO_GetFMData done [20:22:04]FM_GetFMData:85 04 C0 04 6E 04 04 00 E4 5B 00 00 69 04 A0 00 6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 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 8E CC 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 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:22:04]oper:6F 04 04 00 54 5B 00 00 B1 04 04 00 3A 68 22 2C 70 04 04 00 64 F0 2C 24 72 04 04 00 D6 77 F5 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 89 F2 AF 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 47 F3 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 [20:22:05]total:3A 68 22 2C [20:22:05]Malloc new data [20:22:05]oper:6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 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 8E CC 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 [20:22:05]total:5C 45 AD 01 [20:22:05]Malloc new data [20:22:05]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:22:05]total: [20:22:05]Malloc new data [20:22:05]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [20:22:05]total: [20:22:05]Malloc new data [20:22:05]KKMPrepareXReportFMData err=0 [20:22:05]Х отчет ИНН: 02508201610067 Кассир: Маталиева Э. 22.10.2024 20:22 Смена: 266 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Всего чеков: 60 ИТОГИ ПРИХОД Чеков: 60 Общий итог: 12623.00 Итого наличными: 11164.00 Итого безнал.: 1459.00 НДС 0% : 0.00 НДС 12% : 1340.51 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 111.65 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 11164.00 НС Приход: 7404524.10 НС Возвр.Прихода: 281327.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965420 [20:22:05]StoreToDocumentArchive [20:22:05]MH_GetDate [20:22:05]Write to MH i2c: F0 00 00 9F 13 A1 [20:22:05]Write i2c OK [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: F0 [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: F0 09 00 [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: F0 09 00 9F 13 00 72 09 18 67 3B 12 16 67 6E [20:22:05]shift 266 fd 1729628530 [20:22:05]Create dir for shift 0266 [20:22:05]save to /storage/0266/doc_1729628530 [20:22:05]save last doc name /storage/0266/doc_1729628530 to /storage/kkm_last_doc_name [20:22:05]save OK [20:22:05]Clear old archive folders... [20:22:05]NVStorageSaveData kkm_last_timestamp [20:22:05]File name is /storage/kkm_last_timestamp [20:22:05]Write 4 bytes [20:22:05]NVStorageSaveData done [20:22:05]ExternCall_PrintAddStr [20:22:05]wPrintStart [20:22:05]Write to MH i2c: 01 00 00 A0 13 B3 [20:22:05]Write i2c OK [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: 01 [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: 01 07 00 [20:22:05]MH_I2C_Read... [20:22:05]Read from MH i2c: 01 07 00 A0 13 00 00 00 00 00 FF 0F C8 [20:22:05]RasterBufferAndPrint [20:22:05]line Х отчет [20:22:05]line ИНН: 02508201610067 [20:22:05]line Кассир: Маталиева Э. [20:22:05]line 22.10.2024 20:22 [20:22:05]line Смена: 266 [20:22:05]line РНМ: 0000000000098120 [20:22:05]line ЗНМ: 0300000166 [20:22:05]line СНО: Общий режим [20:22:05]line Всего чеков: 60 [20:22:05]line ИТОГИ ПРИХОД [20:22:05]line Чеков: 60 [20:22:05]line Общий итог: 12623.00 [20:22:05]line Итого наличными: 11164.00 [20:22:05]line Итого безнал.: 1459.00 [20:22:05]line НДС 0% : 0.00 [20:22:05]line НДС 12% : 1340.51 [20:22:05]line НСП 0% : 0.00 [20:22:05]line НСП 1,50% : 0.00 [20:22:05]line НСП 0,50% : 0.00 [20:22:05]line НСП 5% : 0.00 [20:22:05]line НСП 3% : 0.00 [20:22:05]line НСП 2% : 0.00 [20:22:05]line НСП 1% : 111.65 [20:22:05]line ИТОГИ ВОЗВРАТ ПРИХОДА [20:22:05]line Чеков: 0 [20:22:05]line Общий итог: 0.00 [20:22:05]line Итого наличными: 0.00 [20:22:05]line Итого безнал.: 0.00 [20:22:05]line НДС 0% : 0.00 [20:22:05]line НДС 12% : 0.00 [20:22:05]line НСП 0% : 0.00 [20:22:05]line НСП 1,50% : 0.00 [20:22:05]line НСП 0,50% : 0.00 [20:22:05]line НСП 5% : 0.00 [20:22:05]line НСП 3% : 0.00 [20:22:05]line НСП 2% : 0.00 [20:22:05]line НСП 1% : 0.00 [20:22:05]line ИТОГИ РАСХОД [20:22:05]line Чеков: 0 [20:22:05]line Общий итог: 0.00 [20:22:05]line Итого наличными: 0.00 [20:22:05]line Итого безнал.: 0.00 [20:22:05]line НДС 0% : 0.00 [20:22:05]line НДС 12% : 0.00 [20:22:05]line НСП 0% : 0.00 [20:22:05]line НСП 1,50% : 0.00 [20:22:05]line НСП 0,50% : 0.00 [20:22:05]line НСП 5% : 0.00 [20:22:05]line НСП 3% : 0.00 [20:22:05]line НСП 2% : 0.00 [20:22:05]line НСП 1% : 0.00 [20:22:05]line ИТОГИ ВОЗВРАТ РАСХОДА [20:22:05]line Чеков: 0 [20:22:05]line Общий итог: 0.00 [20:22:05]line Итого наличными: 0.00 [20:22:05]line Итого безнал.: 0.00 [20:22:05]line НДС 0% : 0.00 [20:22:05]line НДС 12% : 0.00 [20:22:05]line НСП 0% : 0.00 [20:22:05]line НСП 1,50% : 0.00 [20:22:05]line НСП 0,50% : 0.00 [20:22:05]line НСП 5% : 0.00 [20:22:05]line НСП 3% : 0.00 [20:22:05]line НСП 2% : 0.00 [20:22:05]line НСП 1% : 0.00 [20:22:05]line Сумма внесений: 0.00 [20:22:05]line Сумма выплат: 0.00 [20:22:05]line Нал. в кассе: 11164.00 [20:22:05]line НС Приход: 7404524.10 [20:22:05]line НС Возвр.Прихода: 281327.00 [20:22:05]line НС Расход: 0.00 [20:22:05]line НС Возвр.Расхода: 0.00 [20:22:05]line ФМ: 0000000000965420 [20:22:05]written 0, free lines is 4095 [20:22:06]Write to MH i2c: 01 00 00 EB 13 FE [20:22:06]Write i2c OK [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: 01 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: 01 07 00 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: 01 07 00 EB 13 00 00 00 00 00 00 0B 10 [20:22:06]RasterBufferAndPrint [20:22:06]line [20:22:06]line [20:22:06]line [20:22:06]line [20:22:06]line [20:22:06]written 0, free lines is 2855 [20:22:06]process_action x_report done [20:22:06]requested_data is exist [20:22:06]produce_requested_data [20:22:06]requested_item fd.num is exist - process it [20:22:06]SAM_PROTO_GetFieldsCounters [20:22:06]wFMCommunicate request_size=4 [20:22:06]MH_SAM_APDU [20:22:06]CAPDU: 80 13 00 00 [20:22:06]Write to MH i2c: E2 08 00 F2 13 80 13 00 00 00 00 00 00 81 [20:22:06]Write i2c OK [20:22:06]MH_I2C_Read... [20:22:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:22:06]Read from MH i2c: E2 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: E2 62 00 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: E2 62 00 F2 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 79 5F 00 00 0E 04 04 00 CE 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 F2 [20:22:06]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 79 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 3C 00 00 00 5E 04 04 00 3C 00 00 00 57 04 04 00 3D 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:22:06]wFMCommunicate OK [20:22:06]SAM_PROTO_GetFieldsCounters done [20:22:06]requested_item shift.num is exist - process it [20:22:06]requested_item shift.opened is exist - process it [20:22:06]req_shift_opened [20:22:06]FM_GetShiftState [20:22:06]SAM_PROTO_GetShiftState [20:22:06]wFMCommunicate request_size=4 [20:22:06]MH_SAM_APDU [20:22:06]CAPDU: 80 13 01 00 [20:22:06]Write to MH i2c: E2 08 00 F3 13 80 13 01 00 00 00 00 00 83 [20:22:06]Write i2c OK [20:22:06]MH_I2C_Read... [20:22:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:22:06]Read from MH i2c: E2 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: E2 0E 00 [20:22:06]MH_I2C_Read... [20:22:06]Read from MH i2c: E2 0E 00 F3 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7B [20:22:06]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:22:06]wFMCommunicate OK [20:22:06]SAM_PROTO_GetShiftState done [20:22:06]FM_GetShiftState done [20:22:06]req_shift_opened done [20:22:06]requested_item shift.open_date is exist - process it [20:22:06]req_shift_open_date [20:22:06]req_shift_open_date done [20:22:06]produce_requested_data done [20:22:06]produce_requested_data return {"fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [20:22:06]process_action_free x_report [20:22:06]json_value_free [20:22:06]json_value_free done [20:22:06]process_json_proto returns [20:22:06]Send response to host [20:22:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24441,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [20:22:06]free response buf [20:22:06]execute_script done [20:22:06]execute_script returns [20:22:06]free content buf [20:22:06]Sock 9.Close socket [20:22:06]Sock 9.Thread stoped [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:38]OFD Sender: No OFD packet to send [20:26:43]OFD Sender: No OFD packet to send [20:26:48]OFD Sender: No OFD packet to send [20:26:53]OFD Sender: No OFD packet to send [20:26:58]OFD Sender: No OFD packet to send [20:27:03]OFD Sender: No OFD packet to send [20:27:08]OFD Sender: No OFD packet to send [20:27:13]OFD Sender: No OFD packet to send [20:27:18]OFD Sender: No OFD packet to send [20:27:23]OFD Sender: No OFD packet to send [20:27:28]OFD Sender: No OFD packet to send [20:27:33]OFD Sender: No OFD packet to send [20:27:38]OFD Sender: No OFD packet to send [20:27:43]OFD Sender: No OFD packet to send [20:27:48]OFD Sender: No OFD packet to send [20:27:53]OFD Sender: No OFD packet to send [20:27:58]OFD Sender: No OFD packet to send [20:28:03]OFD Sender: No OFD packet to send [20:28:08]OFD Sender: No OFD packet to send [20:28:13]OFD Sender: No OFD packet to send [20:28:18]OFD Sender: No OFD packet to send [20:28:23]OFD Sender: No OFD packet to send [20:28:28]OFD Sender: No OFD packet to send [20:28:33]OFD Sender: No OFD packet to send [20:28:38]OFD Sender: No OFD packet to send [20:28:43]OFD Sender: No OFD packet to send [20:28:48]OFD Sender: No OFD packet to send [20:28:53]OFD Sender: No OFD packet to send [20:28:58]OFD Sender: No OFD packet to send [20:29:03]OFD Sender: No OFD packet to send [20:29:08]OFD Sender: No OFD packet to send [20:29:13]OFD Sender: No OFD packet to send [20:29:18]OFD Sender: No OFD packet to send [20:29:23]OFD Sender: No OFD packet to send [20:29:28]OFD Sender: No OFD packet to send [20:29:33]OFD Sender: No OFD packet to send [20:29:38]OFD Sender: No OFD packet to send [20:29:43]OFD Sender: No OFD packet to send [20:29:48]OFD Sender: No OFD packet to send [20:29:53]OFD Sender: No OFD packet to send [20:29:58]OFD Sender: No OFD packet to send [20:30:03]OFD Sender: No OFD packet to send [20:30:08]OFD Sender: No OFD packet to send [20:30:13]OFD Sender: No OFD packet to send [20:30:18]OFD Sender: No OFD packet to send [20:30:23]OFD Sender: No OFD packet to send [20:30:28]OFD Sender: No OFD packet to send [20:30:33]OFD Sender: No OFD packet to send [20:30:38]OFD Sender: No OFD packet to send [20:30:43]OFD Sender: No OFD packet to send [20:30:48]OFD Sender: No OFD packet to send [20:30:53]OFD Sender: No OFD packet to send [20:30:58]OFD Sender: No OFD packet to send [20:31:03]OFD Sender: No OFD packet to send [20:31:08]OFD Sender: No OFD packet to send [20:31:13]OFD Sender: No OFD packet to send [20:31:18]OFD Sender: No OFD packet to send [20:31:23]OFD Sender: No OFD packet to send [20:31:28]OFD Sender: No OFD packet to send [20:31:33]OFD Sender: No OFD packet to send [20:31:38]OFD Sender: No OFD packet to send [20:31:41]accept exits with 7 [20:31:41]New connection [20:31:41]New thread 3067596132 created [20:31:41]Thread 3067452772 joined [20:31:41]Waiting for new connection... [20:31:41] Sock 7.Parse request [20:31:41]Sock 7.Check first char [20:31:41]Sock 7.First char is OK [20:31:41]request: POST /json_proto HTTP/1.0 [20:31:41]Method: POST [20:31:41]URL: /json_proto [20:31:41]Method is POST - this is cgi request [20:31:41]url: /json_proto [20:31:41]query_string will be loaded in cgi processing [20:31:41]execute_cgi json_proto POST (null) [20:31:41]execute_cgi path=json_proto method=POST [20:31:41]POST find Content-Length [20:31:41]Host: 172.17.50.4:8080 [20:31:41]Content-Length: 1910 [20:31:41]Content-Type: application/json [20:31:41] [20:31:41]POST finish read [20:31:41]Found Content-Length = 1910 [20:31:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134958", "tax_sys" : 0, "items" : [ { "code": "8691216097162", "name": "\u041C\u0430\u0440\u0448\u043C\u0435\u043B\u043B\u043E\u0443 HARIBO Party 70\u0433\u0440 (24)", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090453", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Chervyachki ", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870145004968", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 9 \u043A\u0440\u0435\u043F\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870145004975", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 5 \u043C\u044F\u0433\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 398.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:31:41]execute_script... [20:31:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134958", "tax_sys" : 0, "items" : [ { "code": "8691216097162", "name": "\u041C\u0430\u0440\u0448\u043C\u0435\u043B\u043B\u043E\u0443 HARIBO Party 70\u0433\u0440 (24)", "price" : 84.00, "quantity" : 1.000, "sum" : 84.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8691216090453", "name": "\u0416\u0435\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043C\u0430\u0440\u043C\u0435\u043B\u0430\u0434 HARIBO Chervyachki ", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870145004968", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 9 \u043A\u0440\u0435\u043F\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870145004975", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 5 \u043C\u044F\u0433\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000031750019", "name": "\u041F\u0430\u043A\u0435\u0442 \u041F\u0430\u0440\u0442\u043D\u0435\u0440 \u041D\u0435\u0444\u0442\u044C", "price" : 4.00, "quantity" : 1.000, "sum" : 4.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 398.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:31:41]POST & json_proto [20:31:41]process_json_proto [20:31:41]json parsed OK: [20:31:41]protocol is kg_v1.0 [20:31:41]action value=close_receipt [20:31:41]process_action close_receipt [20:31:41]cmd_close_receipt [20:31:41]MH_GetDate [20:31:41]Write to MH i2c: F0 00 00 F4 13 F6 [20:31:41]Write i2c OK [20:31:41]MH_I2C_Read... [20:31:41]Read from MH i2c: F0 [20:31:41]MH_I2C_Read... [20:31:41]Read from MH i2c: F0 09 00 [20:31:41]MH_I2C_Read... [20:31:41]Read from MH i2c: F0 09 00 F4 13 00 B2 0B 18 67 3B 12 16 67 05 [20:31:41]GetLastDocTimeStamp 1729628522 [20:31:41]current date 1729629106 [20:31:41]FM_GetShiftState [20:31:41]SAM_PROTO_GetShiftState [20:31:41]wFMCommunicate request_size=4 [20:31:41]MH_SAM_APDU [20:31:41]CAPDU: 80 13 01 00 [20:31:41]Write to MH i2c: E2 08 00 F5 13 80 13 01 00 00 00 00 00 85 [20:31:41]Write i2c OK [20:31:41]MH_I2C_Read... [20:31:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:31:41]Read from MH i2c: E2 [20:31:41]MH_I2C_Read... [20:31:41]Read from MH i2c: E2 0E 00 [20:31:41]MH_I2C_Read... [20:31:41]Read from MH i2c: E2 0E 00 F5 13 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 7D [20:31:41]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:31:41]wFMCommunicate OK [20:31:41]SAM_PROTO_GetShiftState done [20:31:41]FM_GetShiftState done [20:31:41]opened in 1729555332 [20:31:41]opened+sec_in_day 1729641732 [20:31:41]quantity*price = 8400 [20:31:41]sum+1 = 8401 [20:31:41]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8691216090453 Жевательный мармелад HARIBO Chervyachki 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870145004968 Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870145004975 Пиво Жатецкий Гусь 5 мягкое 0,43л ж/б 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000031750019 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 398.00 НСП 1% : 3.51 НДС 12% : 42.26 Наличными: 398.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 61 22.10.2024 20:31 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24442 ФПД: 53795181564837 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203146&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24442&fm=53795181564837&tin=02508201610067®Number=0000000000098120&sum=39800 0 [20:31:42]StoreToDocumentArchive [20:31:42]shift 462 fd 24442 [20:31:42]save to /storage/0462/doc_00024442 [20:31:42]save last doc name /storage/0462/doc_00024442 to /storage/kkm_last_doc_name [20:31:42]save OK [20:31:42]Clear old archive folders... [20:31:42]Remove dir /storage/0266 [20:31:42]opendir ok [20:31:42]file . [20:31:42]file .. [20:31:42]file doc_1729628530 [20:31:42]remove file /storage/0266/doc_1729628530 [20:31:42]remove dir /storage/0266 [20:31:42]ProcessDocumentItem done err = 0, tmpTLVsize=796 [20:31:42]tlvbuf is 00D54530 [20:31:42]SAM_PROTO_ClearQueue [20:31:42]wFMCommunicate request_size=4 [20:31:42]MH_SAM_APDU [20:31:42]CAPDU: 80 09 00 00 [20:31:42]Write to MH i2c: E2 08 00 02 14 80 09 00 00 00 00 00 00 88 [20:31:42]Write i2c OK [20:31:42]MH_I2C_Read... [20:31:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:31:42]Read from MH i2c: E2 [20:31:42]MH_I2C_Read... [20:31:42]Read from MH i2c: E2 03 00 [20:31:42]MH_I2C_Read... [20:31:42]Read from MH i2c: E2 03 00 02 14 00 90 00 8A [20:31:42]RAPDU: 90 00 [20:31:42]wFMCommunicate OK [20:31:42]SAM_PROTO_ClearQueue done [20:31:42]KKMCreateOFDPacket [20:31:42]OFDProtocolAddRootSTLVToBuf [20:31:42]FM_MakeSignedData [20:31:42]FM_MakeSignedData [20:31:42]SAM_PROTO_SignData [20:31:42]wFMCommunicate request_size=4 [20:31:42]MH_SAM_APDU [20:31:42]CAPDU: 80 0D 01 02 [20:31:42]Write to MH i2c: E2 08 00 03 14 80 0D 01 02 00 00 00 00 90 [20:31:42]Write i2c OK [20:31:42]MH_I2C_Read... [20:31:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:31:42]Read from MH i2c: E2 [20:31:42]MH_I2C_Read... [20:31:42]Read from MH i2c: E2 03 00 [20:31:42]MH_I2C_Read... [20:31:42]Read from MH i2c: E2 03 00 03 14 00 90 00 8B [20:31:42]RAPDU: 90 00 [20:31:42]wFMCommunicate OK [20:31:42]wFMCommunicate request_size=255 [20:31:42]MH_SAM_APDU [20:31:42]CAPDU: 80 0D 02 02 FA 03 00 1C 03 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 37 31 36 32 06 04 2D 00 D0 9C D0 B0 D1 80 D1 88 D0 BC D0 B5 D0 BB D0 BB D0 BE D1 83 20 48 41 52 49 42 4F 20 50 61 72 74 79 20 37 30 D0 B3 D1 80 20 28 32 34 29 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 7F 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 35 33 06 04 3B 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 43 68 65 72 76 79 61 63 68 6B 69 20 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 [20:31:42]Write to MH i2c: E2 02 01 04 14 80 0D 02 02 FA 00 03 00 1C 03 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 37 31 36 32 06 04 2D 00 D0 9C D0 B0 D1 80 D1 88 D0 BC D0 B5 D0 BB D0 BB D0 BE D1 83 20 48 41 52 49 42 4F 20 50 61 72 74 79 20 37 30 D0 B3 D1 80 20 28 32 34 29 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 7F 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 35 33 06 04 3B 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 43 68 65 72 76 79 61 63 68 6B 69 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 44 [20:31:43]Write i2c OK [20:31:43]MH_I2C_Read... [20:31:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:31:43]Read from MH i2c: E2 [20:31:43]MH_I2C_Read... [20:31:43]Read from MH i2c: E2 03 00 [20:31:43]MH_I2C_Read... [20:31:43]Read from MH i2c: E2 03 00 04 14 00 90 00 8C [20:31:43]RAPDU: 90 00 [20:31:43]wFMCommunicate OK [20:31:43]wFMCommunicate request_size=255 [20:31:43]MH_SAM_APDU [20:31:43]CAPDU: 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 82 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 37 35 06 04 3E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 35 20 D0 BC D1 8F D0 B3 D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 [20:31:43]Write to MH i2c: E2 02 01 05 14 80 0D 02 02 FA 00 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 82 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 37 35 06 04 3E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 35 20 D0 BC D1 8F D0 B3 D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 47 [20:31:43]Write i2c OK [20:31:43]MH_I2C_Read... [20:31:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:31:43]Read from MH i2c: E2 [20:31:43]MH_I2C_Read... [20:31:43]Read from MH i2c: E2 03 00 [20:31:43]MH_I2C_Read... [20:31:43]Read from MH i2c: E2 03 00 05 14 00 90 00 8D [20:31:43]RAPDU: 90 00 [20:31:43]wFMCommunicate OK [20:31:43]wFMCommunicate request_size=255 [20:31:43]MH_SAM_APDU [20:31:43]CAPDU: 80 0D 02 02 FA 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 78 9B 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 B2 0B 18 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [20:31:43]Write to MH i2c: E2 02 01 06 14 80 0D 02 02 FA 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 78 9B 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 B2 0B 18 67 0E 04 04 00 CE 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 C2 [20:31:43]Write i2c OK [20:31:43]MH_I2C_Read... [20:31:43]OFD Sender: No OFD packet to send [20:31:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:31:44]Read from MH i2c: E2 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 03 00 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 03 00 06 14 00 90 00 8E [20:31:44]RAPDU: 90 00 [20:31:44]wFMCommunicate OK [20:31:44]wFMCommunicate request_size=55 [20:31:44]MH_SAM_APDU [20:31:44]CAPDU: 80 0D 02 02 32 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 7A 5F 00 00 35 04 06 00 30 ED 2A B0 13 A5 [20:31:44]Write to MH i2c: E2 3A 00 07 14 80 0D 02 02 32 00 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 7A 5F 00 00 35 04 06 00 30 ED 2A B0 13 A5 00 00 6B [20:31:44]Write i2c OK [20:31:44]MH_I2C_Read... [20:31:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:31:44]Read from MH i2c: E2 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 03 00 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 03 00 07 14 00 90 00 8F [20:31:44]RAPDU: 90 00 [20:31:44]wFMCommunicate OK [20:31:44]wFMCommunicate request_size=4 [20:31:44]MH_SAM_APDU [20:31:44]CAPDU: 80 0D 03 02 [20:31:44]Write to MH i2c: E2 08 00 08 14 80 0D 03 02 00 00 00 00 97 [20:31:44]Write i2c OK [20:31:44]MH_I2C_Read... [20:31:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:31:44]Read from MH i2c: E2 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 0B 00 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 0B 00 08 14 00 2A E0 D6 1D 9E 1F E6 24 90 00 5C [20:31:44]RAPDU: 2A E0 D6 1D 9E 1F E6 24 90 00 [20:31:44]wFMCommunicate OK [20:31:44]SAM_PROTO_SignData done [20:31:44]FM_MakeSignedData done [20:31:44]CreateOFDProtocolMessage [20:31:44]wFMCommunicate request_size=4 [20:31:44]MH_SAM_APDU [20:31:44]CAPDU: 80 11 00 00 [20:31:44]Write to MH i2c: E2 08 00 09 14 80 11 00 00 00 00 00 00 97 [20:31:44]Write i2c OK [20:31:44]MH_I2C_Read... [20:31:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:31:44]Read from MH i2c: E2 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 17 00 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: E2 17 00 09 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E4 [20:31:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:31:44]wFMCommunicate OK [20:31:44]CreateOFDProtocolMessage done [20:31:44]OFDSenderStorePacket 24442 [20:31:44]StoreOFDPacket docnum=24442 [20:31: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 30 03 00 00 6B 11 28 03 FE 48 5A 03 01 00 03 00 1C 03 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 37 31 36 32 06 04 2D 00 D0 9C D0 B0 D1 80 D1 88 D0 BC D0 B5 D0 BB D0 BB D0 BE D1 83 20 48 41 52 49 42 4F 20 50 61 72 74 79 20 37 30 D0 B3 D1 80 20 28 32 34 29 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 7F 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 35 33 06 04 3B 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 43 68 65 72 76 79 61 63 68 6B 69 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 82 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 37 35 06 04 3E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 35 20 D0 BC D1 8F D0 B3 D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 78 9B 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 B2 0B 18 67 0E 04 04 00 CE 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 7A 5F 00 00 35 04 06 00 30 ED 2A B0 13 A5 2A E0 D6 1D 9E 1F E6 24 [20:31:44]CheckFolder [20:31:44]dirname=/storage/ofd_packets [20:31:44]CheckFolder done [20:31:44]ProducePacketName [20:31:44]name=ofd_packets/00024442 [20:31:44]NVStorageSaveData ofd_packets/00024442 [20:31:44]File name is /storage/ofd_packets/00024442 [20:31:44]Write 846 bytes [20:31:44]NVStorageSaveData done [20:31:44]OFDSenderStorePacket done [20:31:44]KKMCreateOFDPacket done [20:31:44]NVStorageSaveData kkm_last_timestamp [20:31:44]File name is /storage/kkm_last_timestamp [20:31:44]Write 4 bytes [20:31:44]NVStorageSaveData done [20:31:44]ExternCall_PrintAddStr [20:31:44]wPrintStart [20:31:44]Write to MH i2c: 01 00 00 0A 14 1E [20:31:44]Write i2c OK [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: 01 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: 01 07 00 [20:31:44]MH_I2C_Read... [20:31:44]Read from MH i2c: 01 07 00 0A 14 00 00 00 00 00 FF 0F 33 [20:31:44]RasterBufferAndPrint [20:31:44]line Счет N : (3)134958 [20:31:44]line ИНН: 02508201610067 [20:31:44]line Контрольно-Кассовый Чек [20:31:44]line ПРОДАЖА [20:31:44]line Товар: 8691216097162 [20:31:44]line Маршмеллоу HARIBO Party 70гр (24) [20:31:44]line 1.000 * 84.00 [20:31:44]line = 84.00 [20:31:44]line НДС 12% НСП 1% [20:31:44]line > о реализуемом товаре [20:31:44]line Товар: 8691216090453 [20:31:44]line Жевательный мармелад HARIBO Chervyachki [20:31:44]line 1.000 * 100.00 [20:31:44]line = 100.00 [20:31:44]line НДС 12% НСП 1% [20:31:44]line > о реализуемом товаре [20:31:44]line Товар: 4870145004968 [20:31:44]line Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б [20:31:44]line 1.000 * 105.00 [20:31:44]line = 105.00 [20:31:44]line НДС 12% НСП 1% [20:31:44]line > о реализуемом товаре [20:31:44]line Товар: 4870145004975 [20:31:44]line Пиво Жатецкий Гусь 5 мягкое 0,43л ж/б [20:31:44]line 1.000 * 105.00 [20:31:44]line = 105.00 [20:31:44]line НДС 12% НСП 1% [20:31:44]line > о реализуемом товаре [20:31:44]line Товар: 2000031750019 [20:31:44]line Пакет Партнер Нефть [20:31:44]line 1.000 * 4.00 [20:31:44]line = 4.00 [20:31:44]line НДС 12% НСП 1% [20:31:44]line > о реализуемом товаре [20:31:44]line ИТОГО: 398.00 [20:31:44]line НСП 1% : 3.51 [20:31:44]line НДС 12% : 42.26 [20:31:44]line Наличными: 398.00 [20:31:44]line Безнал.: 0.00 [20:31:44]line Место: АЗС № 85 "Партнер Нефть" [20:31:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:31:44]line СНО: Общий режим [20:31:44]line Чек 61 22.10.2024 20:31 [20:31:44]line Смена: 462 ФФД: 1.0 [20:31:44]line ЗНМ: 0300000166 [20:31:44]line РНМ: 0000000000098120 [20:31:44]line Версия ККМ: 001 [20:31:44]line ФМ: 0000000000965420 [20:31:44]line ФД: 24442 [20:31:44]line ФПД: 53795181564837 [20:31:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203146&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24442&fm=53795181564837&tin=02508201610067®Number=0000000000098120&sum=39800 [20:31:44]line 0 [20:31:44]OFD Sender: Processing packet 24442 [packets to send 5, broken 4] [20:31:44]ProducePacketName [20:31:44]name=ofd_packets/00024442 [20:31:44]OFD Sender: To server: pG, [20:31:44]CommunicateWithHost lk.salyk.kg:30040 [20:31:44]ConnectInit lk.salyk.kg [20:31:44]written 0, free lines is 4095 [20:31:44]Connected sock=10 [20:31: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 30 03 00 00 6B 11 28 03 FE 48 5A 03 01 00 03 00 1C 03 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 37 31 36 32 06 04 2D 00 D0 9C D0 B0 D1 80 D1 88 D0 BC D0 B5 D0 BB D0 BB D0 BE D1 83 20 48 41 52 49 42 4F 20 50 61 72 74 79 20 37 30 D0 B3 D1 80 20 28 32 34 29 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 7F 00 8A 04 0D 00 38 36 39 31 32 31 36 30 39 30 34 35 33 06 04 3B 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 43 68 65 72 76 79 61 63 68 6B 69 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 82 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 37 35 06 04 3E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 35 20 D0 BC D1 8F D0 B3 D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 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 23 04 68 00 8A 04 0D 00 32 30 30 30 30 33 31 37 35 30 30 31 39 06 04 24 00 D0 9F D0 B0 D0 BA D0 B5 D1 82 20 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 90 01 00 00 00 00 13 04 06 00 90 01 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 78 9B 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 B2 0B 18 67 0E 04 04 00 CE 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 7A 5F 00 00 35 04 06 00 30 ED 2A B0 13 A5 2A E0 D6 1D 9E 1F E6 24 [20:31:45]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 E0 8C 47 00 33 FC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 7A 5F 00 00 F4 03 04 00 56 B7 17 67 B6 04 01 00 00 18 BC D0 AB 48 8E A4 A6 [20:31:45]CommunicateWithHost err = 0 [20:31:45]CheckOFDResponse [20:31:45]1017 (14) - 77093643461234 [20:31:45]1041 (16) - 0000000000965420 [20:31:45]1040 (4) - 24442 [20:31:45]1012 (4) - 22.10.2024 14:31 [20:31:45]1206 (1) - 0 [20:31:45]OFD Sender: Remove packet 24442 [20:31:45]ProducePacketName [20:31:45]name=ofd_packets/00024442 [20:31:45]NVStorageDeleteData [20:31:45]Write to MH i2c: 01 00 00 4E 14 62 [20:31:45]Write i2c OK [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: 01 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: 01 07 00 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: 01 07 00 4E 14 00 00 00 00 00 B8 0B 2C [20:31:45]RasterBufferAndPrint [20:31:45]line [20:31:45]line [20:31:45]line [20:31:45]line [20:31:45]line [20:31:45]written 0, free lines is 3012 [20:31:45]process_action close_receipt done [20:31:45]requested_data is exist [20:31:45]produce_requested_data [20:31:45]requested_item fm.sn is exist - process it [20:31:45]wFMCommunicate request_size=4 [20:31:45]MH_SAM_APDU [20:31:45]CAPDU: 80 11 00 00 [20:31:45]Write to MH i2c: E2 08 00 55 14 80 11 00 00 00 00 00 00 E3 [20:31:45]Write i2c OK [20:31:45]MH_I2C_Read... [20:31:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:31:45]Read from MH i2c: E2 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 17 00 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 17 00 55 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 30 [20: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 [20:31:45]wFMCommunicate OK [20:31:45]requested_item fd.num is exist - process it [20:31:45]SAM_PROTO_GetFieldsCounters [20:31:45]wFMCommunicate request_size=4 [20:31:45]MH_SAM_APDU [20:31:45]CAPDU: 80 13 00 00 [20:31:45]Write to MH i2c: E2 08 00 56 14 80 13 00 00 00 00 00 00 E6 [20:31:45]Write i2c OK [20:31:45]MH_I2C_Read... [20:31:45]OFD Sender: No OFD packet to send [20:31:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:31:45]Read from MH i2c: E2 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 62 00 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 62 00 56 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 7A 5F 00 00 0E 04 04 00 CE 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 5B [20:31: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 7A 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:31:45]wFMCommunicate OK [20:31:45]SAM_PROTO_GetFieldsCounters done [20:31:45]requested_item shift.num is exist - process it [20:31:45]requested_item shift.opened is exist - process it [20:31:45]req_shift_opened [20:31:45]FM_GetShiftState [20:31:45]SAM_PROTO_GetShiftState [20:31:45]wFMCommunicate request_size=4 [20:31:45]MH_SAM_APDU [20:31:45]CAPDU: 80 13 01 00 [20:31:45]Write to MH i2c: E2 08 00 57 14 80 13 01 00 00 00 00 00 E8 [20:31:45]Write i2c OK [20:31:45]MH_I2C_Read... [20:31:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:31:45]Read from MH i2c: E2 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 0E 00 [20:31:45]MH_I2C_Read... [20:31:45]Read from MH i2c: E2 0E 00 57 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E0 [20:31:45]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:31:45]wFMCommunicate OK [20:31:45]SAM_PROTO_GetShiftState done [20:31:45]FM_GetShiftState done [20:31:45]req_shift_opened done [20:31:45]requested_item shift.open_date is exist - process it [20:31:45]req_shift_open_date [20:31:45]req_shift_open_date done [20:31:45]produce_requested_data done [20:31:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24442,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [20:31:45]process_action_free close_receipt [20:31:45]json_value_free [20:31:45]json_value_free done [20:31:45]process_json_proto returns [20:31:45]Send response to host [20:31:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24442,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [20:31:45]free response buf [20:31:45]execute_script done [20:31:45]execute_script returns [20:31:45]free content buf [20:31:45]Sock 7.Close socket [20:31:45]Sock 7.Thread stoped [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:02]accept exits with 9 [20:34:02]New connection [20:34:02]New thread 3067452772 created [20:34:02]Thread 3067596132 joined [20:34:02]Waiting for new connection... [20:34:02] Sock 9.Parse request [20:34:02]Sock 9.Check first char [20:34:02]Sock 9.First char is OK [20:34:02]request: POST /json_proto HTTP/1.0 [20:34:02]Method: POST [20:34:02]URL: /json_proto [20:34:02]Method is POST - this is cgi request [20:34:02]url: /json_proto [20:34:02]query_string will be loaded in cgi processing [20:34:02]execute_cgi json_proto POST (null) [20:34:02]execute_cgi path=json_proto method=POST [20:34:02]POST find Content-Length [20:34:02]Host: 172.17.50.4:8080 [20:34:02]Content-Length: 649 [20:34:02]Content-Type: application/json [20:34:02] [20:34:02]POST finish read [20:34:02]Found Content-Length = 649 [20:34:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134959", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:02]execute_script... [20:34: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)134959", "tax_sys" : 0, "items" : [ { "code": "8901086040008", "name": "\u0416\u0438\u0434/\u0441\u0442 \u041F\u041D \u043B\u0435\u0442\u043D\u044F\u044F 4,5\u043B", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:34:02]POST & json_proto [20:34:02]process_json_proto [20:34:02]json parsed OK: [20:34:02]protocol is kg_v1.0 [20:34:02]action value=close_receipt [20:34:02]process_action close_receipt [20:34:02]cmd_close_receipt [20:34:02]MH_GetDate [20:34:02]Write to MH i2c: F0 00 00 58 14 5B [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: F0 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: F0 09 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: F0 09 00 58 14 00 3F 0C 18 67 3B 12 16 67 F8 [20:34:02]GetLastDocTimeStamp 1729629106 [20:34:02]current date 1729629247 [20:34:02]FM_GetShiftState [20:34:02]SAM_PROTO_GetShiftState [20:34:02]wFMCommunicate request_size=4 [20:34:02]MH_SAM_APDU [20:34:02]CAPDU: 80 13 01 00 [20:34:02]Write to MH i2c: E2 08 00 59 14 80 13 01 00 00 00 00 00 EA [20:34:02]Write i2c OK [20:34:02]MH_I2C_Read... [20:34:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:02]Read from MH i2c: E2 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 0E 00 [20:34:02]MH_I2C_Read... [20:34:02]Read from MH i2c: E2 0E 00 59 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E2 [20:34:02]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:34:02]wFMCommunicate OK [20:34:02]SAM_PROTO_GetShiftState done [20:34:02]FM_GetShiftState done [20:34:02]opened in 1729555332 [20:34:02]opened+sec_in_day 1729641732 [20:34:02]quantity*price = 17000 [20:34:02]sum+1 = 17001 [20:34:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 62 22.10.2024 20:34 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24443 ФПД: 141462485468019 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203407&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24443&fm=141462485468019&tin=02508201610067®Number=0000000000098120&sum=17000 0 [20:34:03]StoreToDocumentArchive [20:34:03]shift 462 fd 24443 [20:34:03]save to /storage/0462/doc_00024443 [20:34:03]save last doc name /storage/0462/doc_00024443 to /storage/kkm_last_doc_name [20:34:03]save OK [20:34:03]Clear old archive folders... [20:34:03]ProcessDocumentItem done err = 0, tmpTLVsize=277 [20:34:03]tlvbuf is B6F45C10 [20:34:03]SAM_PROTO_ClearQueue [20:34:03]wFMCommunicate request_size=4 [20:34:03]MH_SAM_APDU [20:34:03]CAPDU: 80 09 00 00 [20:34:03]Write to MH i2c: E2 08 00 66 14 80 09 00 00 00 00 00 00 EC [20:34:03]Write i2c OK [20:34:03]MH_I2C_Read... [20:34:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:34:03]Read from MH i2c: E2 [20:34:03]MH_I2C_Read... [20:34:03]Read from MH i2c: E2 03 00 [20:34:03]MH_I2C_Read... [20:34:03]Read from MH i2c: E2 03 00 66 14 00 90 00 EE [20:34:03]RAPDU: 90 00 [20:34:03]wFMCommunicate OK [20:34:03]SAM_PROTO_ClearQueue done [20:34:03]KKMCreateOFDPacket [20:34:03]OFDProtocolAddRootSTLVToBuf [20:34:03]FM_MakeSignedData [20:34:03]FM_MakeSignedData [20:34:03]SAM_PROTO_SignData [20:34:03]wFMCommunicate request_size=4 [20:34:03]MH_SAM_APDU [20:34:03]CAPDU: 80 0D 01 02 [20:34:03]Write to MH i2c: E2 08 00 67 14 80 0D 01 02 00 00 00 00 F4 [20:34:03]Write i2c OK [20:34:03]MH_I2C_Read... [20:34:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:34:03]Read from MH i2c: E2 [20:34:03]MH_I2C_Read... [20:34:03]Read from MH i2c: E2 03 00 [20:34:03]MH_I2C_Read... [20:34:03]Read from MH i2c: E2 03 00 67 14 00 90 00 EF [20:34:03]RAPDU: 90 00 [20:34:03]wFMCommunicate OK [20:34:03]wFMCommunicate request_size=255 [20:34:03]MH_SAM_APDU [20:34:03]CAPDU: 80 0D 02 02 FA 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 3F 0C 18 67 0E 04 04 00 CE 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 [20:34:03]Write to MH i2c: E2 02 01 68 14 80 0D 02 02 FA 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 3F 0C 18 67 0E 04 04 00 CE 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 F5 [20:34:03]Write i2c OK [20:34:03]MH_I2C_Read... [20:34:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 03 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 03 00 68 14 00 90 00 F0 [20:34:04]RAPDU: 90 00 [20:34:04]wFMCommunicate OK [20:34:04]wFMCommunicate request_size=36 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 0D 02 02 1F 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 7B 5F 00 00 35 04 06 00 80 A8 CD 32 03 73 [20:34:04]Write to MH i2c: E2 27 00 69 14 80 0D 02 02 1F 00 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 7B 5F 00 00 35 04 06 00 80 A8 CD 32 03 73 00 00 8D [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 03 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 03 00 69 14 00 90 00 F1 [20:34:04]RAPDU: 90 00 [20:34:04]wFMCommunicate OK [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 0D 03 02 [20:34:04]Write to MH i2c: E2 08 00 6A 14 80 0D 03 02 00 00 00 00 F9 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 0B 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 0B 00 6A 14 00 95 CF 0F 5B E6 3C 87 30 90 00 A1 [20:34:04]RAPDU: 95 CF 0F 5B E6 3C 87 30 90 00 [20:34:04]wFMCommunicate OK [20:34:04]SAM_PROTO_SignData done [20:34:04]FM_MakeSignedData done [20:34:04]CreateOFDProtocolMessage [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 11 00 00 [20:34:04]Write to MH i2c: E2 08 00 6B 14 80 11 00 00 00 00 00 00 F9 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:04]Read from MH i2c: E2 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 17 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: E2 17 00 6B 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 46 [20:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:34:04]wFMCommunicate OK [20:34:04]CreateOFDProtocolMessage done [20:34:04]OFDSenderStorePacket 24443 [20:34:04]StoreOFDPacket docnum=24443 [20:34: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 29 01 00 00 0F 62 21 01 2A F2 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 3F 0C 18 67 0E 04 04 00 CE 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 7B 5F 00 00 35 04 06 00 80 A8 CD 32 03 73 95 CF 0F 5B E6 3C 87 30 [20:34:04]CheckFolder [20:34:04]dirname=/storage/ofd_packets [20:34:04]CheckFolder done [20:34:04]ProducePacketName [20:34:04]name=ofd_packets/00024443 [20:34:04]NVStorageSaveData ofd_packets/00024443 [20:34:04]File name is /storage/ofd_packets/00024443 [20:34:04]Write 327 bytes [20:34:04]NVStorageSaveData done [20:34:04]OFDSenderStorePacket done [20:34:04]KKMCreateOFDPacket done [20:34:04]NVStorageSaveData kkm_last_timestamp [20:34:04]File name is /storage/kkm_last_timestamp [20:34:04]Write 4 bytes [20:34:04]NVStorageSaveData done [20:34:04]ExternCall_PrintAddStr [20:34:04]wPrintStart [20:34:04]Write to MH i2c: 01 00 00 6C 14 80 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 07 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 07 00 6C 14 00 00 00 00 00 FF 0F 95 [20:34:04]RasterBufferAndPrint [20:34:04]line Счет N : (3)134959 [20:34:04]line ИНН: 02508201610067 [20:34:04]line Контрольно-Кассовый Чек [20:34:04]line ПРОДАЖА [20:34:04]line Товар: 8901086040008 [20:34:04]line Жид/ст ПН летняя 4,5л [20:34:04]line 1.000 * 170.00 [20:34:04]line = 170.00 [20:34:04]line НДС 12% НСП 1% [20:34:04]line > о реализуемом товаре [20:34:04]line ИТОГО: 170.00 [20:34:04]line НСП 1% : 1.50 [20:34:04]line НДС 12% : 18.05 [20:34:04]line Наличными: 170.00 [20:34:04]line Безнал.: 0.00 [20:34:04]line Место: АЗС № 85 "Партнер Нефть" [20:34:04]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:34:04]line СНО: Общий режим [20:34:04]line Чек 62 22.10.2024 20:34 [20:34:04]line Смена: 462 ФФД: 1.0 [20:34:04]line ЗНМ: 0300000166 [20:34:04]line РНМ: 0000000000098120 [20:34:04]line Версия ККМ: 001 [20:34:04]line ФМ: 0000000000965420 [20:34:04]line ФД: 24443 [20:34:04]line ФПД: 141462485468019 [20:34:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203407&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24443&fm=141462485468019&tin=02508201610067®Number=0000000000098120&sum=17000 [20:34:04]OFD Sender: Processing packet 24443 [packets to send 5, broken 4] [20:34:04]ProducePacketName [20:34:04]name=ofd_packets/00024443 [20:34:04]OFD Sender: To server: pG, [20:34:04]CommunicateWithHost lk.salyk.kg:30040 [20:34:04]ConnectInit lk.salyk.kg [20:34:04]line 0 [20:34:04]written 0, free lines is 4095 [20:34:04]Connected sock=10 [20:34: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 29 01 00 00 0F 62 21 01 2A F2 5A 03 01 00 03 00 15 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 38 39 30 31 30 38 36 30 34 30 30 30 38 06 04 23 00 D0 96 D0 B8 D0 B4 2F D1 81 D1 82 20 D0 9F D0 9D 20 D0 BB D0 B5 D1 82 D0 BD D1 8F D1 8F 20 34 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 42 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0D 07 00 00 00 00 07 04 06 00 68 42 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 3F 0C 18 67 0E 04 04 00 CE 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 7B 5F 00 00 35 04 06 00 80 A8 CD 32 03 73 95 CF 0F 5B E6 3C 87 30 [20:34: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 D5 0E 47 00 06 67 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 7B 5F 00 00 F4 03 04 00 E2 B7 17 67 B6 04 01 00 00 E1 DF 92 F6 A2 78 EA 1B [20:34:04]CommunicateWithHost err = 0 [20:34:04]CheckOFDResponse [20:34:04]1017 (14) - 77093643461234 [20:34:04]1041 (16) - 0000000000965420 [20:34:04]1040 (4) - 24443 [20:34:04]1012 (4) - 22.10.2024 14:34 [20:34:04]1206 (1) - 0 [20:34:04]OFD Sender: Remove packet 24443 [20:34:04]ProducePacketName [20:34:04]name=ofd_packets/00024443 [20:34:04]NVStorageDeleteData [20:34:04]Write to MH i2c: 01 00 00 94 14 A8 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 07 00 [20:34:04]MH_I2C_Read... [20:34:04]Read from MH i2c: 01 07 00 94 14 00 00 00 00 00 29 0D E5 [20:34:04]RasterBufferAndPrint [20:34:04]line [20:34:04]line [20:34:04]line [20:34:04]line [20:34:04]line [20:34:04]written 0, free lines is 3377 [20:34:04]process_action close_receipt done [20:34:04]requested_data is exist [20:34:04]produce_requested_data [20:34:04]requested_item fm.sn is exist - process it [20:34:04]wFMCommunicate request_size=4 [20:34:04]MH_SAM_APDU [20:34:04]CAPDU: 80 11 00 00 [20:34:04]Write to MH i2c: E2 08 00 9B 14 80 11 00 00 00 00 00 00 29 [20:34:04]Write i2c OK [20:34:04]MH_I2C_Read... [20:34:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:05]Read from MH i2c: E2 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 17 00 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 17 00 9B 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 76 [20:34:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:34:05]wFMCommunicate OK [20:34:05]requested_item fd.num is exist - process it [20:34:05]SAM_PROTO_GetFieldsCounters [20:34:05]wFMCommunicate request_size=4 [20:34:05]MH_SAM_APDU [20:34:05]CAPDU: 80 13 00 00 [20:34:05]Write to MH i2c: E2 08 00 9C 14 80 13 00 00 00 00 00 00 2C [20:34:05]Write i2c OK [20:34:05]MH_I2C_Read... [20:34:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:34:05]Read from MH i2c: E2 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 62 00 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 62 00 9C 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 7B 5F 00 00 0E 04 04 00 CE 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 A5 [20:34: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 7B 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [20:34:05]wFMCommunicate OK [20:34:05]SAM_PROTO_GetFieldsCounters done [20:34:05]requested_item shift.num is exist - process it [20:34:05]requested_item shift.opened is exist - process it [20:34:05]req_shift_opened [20:34:05]FM_GetShiftState [20:34:05]SAM_PROTO_GetShiftState [20:34:05]wFMCommunicate request_size=4 [20:34:05]MH_SAM_APDU [20:34:05]CAPDU: 80 13 01 00 [20:34:05]Write to MH i2c: E2 08 00 9D 14 80 13 01 00 00 00 00 00 2E [20:34:05]Write i2c OK [20:34:05]MH_I2C_Read... [20:34:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:05]Read from MH i2c: E2 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 0E 00 [20:34:05]MH_I2C_Read... [20:34:05]Read from MH i2c: E2 0E 00 9D 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 26 [20:34:05]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:34:05]wFMCommunicate OK [20:34:05]SAM_PROTO_GetShiftState done [20:34:05]FM_GetShiftState done [20:34:05]req_shift_opened done [20:34:05]requested_item shift.open_date is exist - process it [20:34:05]req_shift_open_date [20:34:05]req_shift_open_date done [20:34:05]produce_requested_data done [20:34:05]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24443,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [20:34:05]process_action_free close_receipt [20:34:05]json_value_free [20:34:05]json_value_free done [20:34:05]process_json_proto returns [20:34:05]Send response to host [20:34:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24443,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [20:34:05]free response buf [20:34:05]execute_script done [20:34:05]execute_script returns [20:34:05]free content buf [20:34:05]Sock 9.Close socket [20:34:05]Sock 9.Thread stoped [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:55]OFD Sender: No OFD packet to send [20:35:00]OFD Sender: No OFD packet to send [20:35:05]OFD Sender: No OFD packet to send [20:35:10]OFD Sender: No OFD packet to send [20:35:15]OFD Sender: No OFD packet to send [20:35:20]OFD Sender: No OFD packet to send [20:35:25]OFD Sender: No OFD packet to send [20:35:29]accept exits with 7 [20:35:29]New connection [20:35:29]New thread 3067596132 created [20:35:29]Thread 3067452772 joined [20:35:29]Waiting for new connection... [20:35:29] Sock 7.Parse request [20:35:29]Sock 7.Check first char [20:35:29]Sock 7.First char is OK [20:35:29]request: POST /json_proto HTTP/1.0 [20:35:29]Method: POST [20:35:29]URL: /json_proto [20:35:29]Method is POST - this is cgi request [20:35:29]url: /json_proto [20:35:29]query_string will be loaded in cgi processing [20:35:29]execute_cgi json_proto POST (null) [20:35:29]execute_cgi path=json_proto method=POST [20:35:29]POST find Content-Length [20:35:29]Host: 172.17.50.4:8080 [20:35:29]Content-Length: 858 [20:35:29]Content-Type: application/json [20:35:29] [20:35:29]POST finish read [20:35:29]Found Content-Length = 858 [20:35:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134960", "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": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:35:29]execute_script... [20:35: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)134960", "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": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [20:35:29]POST & json_proto [20:35:29]process_json_proto [20:35:29]json parsed OK: [20:35:29]protocol is kg_v1.0 [20:35:29]action value=close_receipt [20:35:29]process_action close_receipt [20:35:29]cmd_close_receipt [20:35:29]MH_GetDate [20:35:29]Write to MH i2c: F0 00 00 9E 14 A1 [20:35:29]Write i2c OK [20:35:29]MH_I2C_Read... [20:35:29]Read from MH i2c: F0 [20:35:29]MH_I2C_Read... [20:35:29]Read from MH i2c: F0 09 00 [20:35:29]MH_I2C_Read... [20:35:29]Read from MH i2c: F0 09 00 9E 14 00 96 0C 18 67 3B 12 16 67 95 [20:35:29]GetLastDocTimeStamp 1729629247 [20:35:29]current date 1729629334 [20:35:29]FM_GetShiftState [20:35:29]SAM_PROTO_GetShiftState [20:35:29]wFMCommunicate request_size=4 [20:35:29]MH_SAM_APDU [20:35:29]CAPDU: 80 13 01 00 [20:35:29]Write to MH i2c: E2 08 00 9F 14 80 13 01 00 00 00 00 00 30 [20:35:29]Write i2c OK [20:35:29]MH_I2C_Read... [20:35:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:35:29]Read from MH i2c: E2 [20:35:29]MH_I2C_Read... [20:35:29]Read from MH i2c: E2 0E 00 [20:35:29]MH_I2C_Read... [20:35:29]Read from MH i2c: E2 0E 00 9F 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 28 [20:35:29]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:35:29]wFMCommunicate OK [20:35:29]SAM_PROTO_GetShiftState done [20:35:29]FM_GetShiftState done [20:35:29]opened in 1729555332 [20:35:29]opened+sec_in_day 1729641732 [20:35:29]quantity*price = 14400 [20:35:29]sum+1 = 14401 [20:35:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47802995 Сигареты Winston XS Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.54 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 63 22.10.2024 20:35 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24444 ФПД: 227928234683368 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203535&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24444&fm=227928234683368&tin=02508201610067®Number=0000000000098120&sum=28800 0 [20:35:30]StoreToDocumentArchive [20:35:30]shift 462 fd 24444 [20:35:30]save to /storage/0462/doc_00024444 [20:35:30]save last doc name /storage/0462/doc_00024444 to /storage/kkm_last_doc_name [20:35:30]save OK [20:35:30]Clear old archive folders... [20:35:30]ProcessDocumentItem done err = 0, tmpTLVsize=376 [20:35:30]tlvbuf is B6F45A00 [20:35:30]SAM_PROTO_ClearQueue [20:35:30]wFMCommunicate request_size=4 [20:35:30]MH_SAM_APDU [20:35:30]CAPDU: 80 09 00 00 [20:35:30]Write to MH i2c: E2 08 00 AC 14 80 09 00 00 00 00 00 00 32 [20:35:30]Write i2c OK [20:35:30]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 AC 14 00 90 00 34 [20:35:31]RAPDU: 90 00 [20:35:31]wFMCommunicate OK [20:35:31]SAM_PROTO_ClearQueue done [20:35:31]KKMCreateOFDPacket [20:35:31]OFDProtocolAddRootSTLVToBuf [20:35:31]FM_MakeSignedData [20:35:31]FM_MakeSignedData [20:35:31]SAM_PROTO_SignData [20:35:31]wFMCommunicate request_size=4 [20:35:31]MH_SAM_APDU [20:35:31]CAPDU: 80 0D 01 02 [20:35:31]Write to MH i2c: E2 08 00 AD 14 80 0D 01 02 00 00 00 00 3A [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 AD 14 00 90 00 35 [20:35:31]RAPDU: 90 00 [20:35:31]wFMCommunicate OK [20:35:31]wFMCommunicate request_size=255 [20:35:31]MH_SAM_APDU [20:35:31]CAPDU: 80 0D 02 02 FA 03 00 78 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 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 [20:35:31]Write to MH i2c: E2 02 01 AE 14 80 0D 02 02 FA 00 03 00 78 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 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 00 00 00 00 00 EE 03 00 00 53 [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 AE 14 00 90 00 36 [20:35:31]RAPDU: 90 00 [20:35:31]wFMCommunicate OK [20:35:31]wFMCommunicate request_size=135 [20:35:31]MH_SAM_APDU [20:35:31]CAPDU: 80 0D 02 02 82 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 3F 00 00 00 F4 03 04 00 97 0C 18 67 0E 04 04 00 CE 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 7C 5F 00 00 35 04 06 00 CF 4C AD 76 6B E8 [20:35:31]Write to MH i2c: E2 8A 00 AF 14 80 0D 02 02 82 00 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 3F 00 00 00 F4 03 04 00 97 0C 18 67 0E 04 04 00 CE 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 7C 5F 00 00 35 04 06 00 CF 4C AD 76 6B E8 00 00 FB [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 03 00 AF 14 00 90 00 37 [20:35:31]RAPDU: 90 00 [20:35:31]wFMCommunicate OK [20:35:31]wFMCommunicate request_size=4 [20:35:31]MH_SAM_APDU [20:35:31]CAPDU: 80 0D 03 02 [20:35:31]Write to MH i2c: E2 08 00 B0 14 80 0D 03 02 00 00 00 00 3F [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 0B 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 0B 00 B0 14 00 BF 95 A5 A1 0E AA 74 47 90 00 4D [20:35:31]RAPDU: BF 95 A5 A1 0E AA 74 47 90 00 [20:35:31]wFMCommunicate OK [20:35:31]SAM_PROTO_SignData done [20:35:31]FM_MakeSignedData done [20:35:31]CreateOFDProtocolMessage [20:35:31]wFMCommunicate request_size=4 [20:35:31]MH_SAM_APDU [20:35:31]CAPDU: 80 11 00 00 [20:35:31]Write to MH i2c: E2 08 00 B1 14 80 11 00 00 00 00 00 00 3F [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:35:31]Read from MH i2c: E2 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 17 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: E2 17 00 B1 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 8C [20:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:35:31]wFMCommunicate OK [20:35:31]CreateOFDProtocolMessage done [20:35:31]OFDSenderStorePacket 24444 [20:35:31]StoreOFDPacket docnum=24444 [20:35:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 8C 01 00 00 69 94 84 01 25 2C 5A 03 01 00 03 00 78 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 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 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 3F 00 00 00 F4 03 04 00 97 0C 18 67 0E 04 04 00 CE 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 7C 5F 00 00 35 04 06 00 CF 4C AD 76 6B E8 BF 95 A5 A1 0E AA 74 47 [20:35:31]CheckFolder [20:35:31]dirname=/storage/ofd_packets [20:35:31]CheckFolder done [20:35:31]ProducePacketName [20:35:31]name=ofd_packets/00024444 [20:35:31]NVStorageSaveData ofd_packets/00024444 [20:35:31]File name is /storage/ofd_packets/00024444 [20:35:31]Write 426 bytes [20:35:31]NVStorageSaveData done [20:35:31]OFDSenderStorePacket done [20:35:31]KKMCreateOFDPacket done [20:35:31]NVStorageSaveData kkm_last_timestamp [20:35:31]File name is /storage/kkm_last_timestamp [20:35:31]Write 4 bytes [20:35:31]NVStorageSaveData done [20:35:31]ExternCall_PrintAddStr [20:35:31]wPrintStart [20:35:31]Write to MH i2c: 01 00 00 B2 14 C6 [20:35:31]Write i2c OK [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: 01 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: 01 07 00 [20:35:31]MH_I2C_Read... [20:35:31]Read from MH i2c: 01 07 00 B2 14 00 00 00 00 00 FF 0F DB [20:35:31]RasterBufferAndPrint [20:35:31]line Счет N : (3)134960 [20:35:31]line ИНН: 02508201610067 [20:35:31]line Контрольно-Кассовый Чек [20:35:31]line ПРОДАЖА [20:35:31]line Товар: 48743587 [20:35:31]line Сигареты Winston XStyle Silver [20:35:31]line 1.000 * 144.00 [20:35:31]line = 144.00 [20:35:31]line НДС 12% НСП 1% [20:35:31]line > о реализуемом товаре [20:35:31]line Товар: 47802995 [20:35:31]line Сигареты Winston XS Silver [20:35:31]line 1.000 * 144.00 [20:35:31]line = 144.00 [20:35:31]line НДС 12% НСП 1% [20:35:31]line > о реализуемом товаре [20:35:31]line ИТОГО: 288.00 [20:35:31]line НСП 1% : 2.54 [20:35:31]line НДС 12% : 30.58 [20:35:31]line Наличными: 288.00 [20:35:31]line Безнал.: 0.00 [20:35:31]line Место: АЗС № 85 "Партнер Нефть" [20:35:31]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [20:35:31]line СНО: Общий режим [20:35:31]line Чек 63 22.10.2024 20:35 [20:35:31]line Смена: 462 ФФД: 1.0 [20:35:31]line ЗНМ: 0300000166 [20:35:31]line РНМ: 0000000000098120 [20:35:31]line Версия ККМ: 001 [20:35:31]line ФМ: 0000000000965420 [20:35:31]line ФД: 24444 [20:35:31]line ФПД: 227928234683368 [20:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T203535&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24444&fm=227928234683368&tin=02508201610067®Number=0000000000098120&sum=28800 [20:35:31]line 0 [20:35:31]OFD Sender: Processing packet 24444 [packets to send 5, broken 4] [20:35:31]ProducePacketName [20:35:31]name=ofd_packets/00024444 [20:35:31]OFD Sender: To server: pG, [20:35:31]CommunicateWithHost lk.salyk.kg:30040 [20:35:31]ConnectInit lk.salyk.kg [20:35:31]written 0, free lines is 4095 [20:35:32]Connected sock=10 [20:35:32]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 8C 01 00 00 69 94 84 01 25 2C 5A 03 01 00 03 00 78 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 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 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 3F 00 00 00 F4 03 04 00 97 0C 18 67 0E 04 04 00 CE 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 7C 5F 00 00 35 04 06 00 CF 4C AD 76 6B E8 BF 95 A5 A1 0E AA 74 47 [20:35:32]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 0F 47 47 00 82 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 7C 5F 00 00 F4 03 04 00 39 B8 17 67 B6 04 01 00 00 E0 A2 2B 8B 3C 18 2F 34 [20:35:32]CommunicateWithHost err = 0 [20:35:32]CheckOFDResponse [20:35:32]1017 (14) - 77093643461234 [20:35:32]1041 (16) - 0000000000965420 [20:35:32]1040 (4) - 24444 [20:35:32]1012 (4) - 22.10.2024 14:35 [20:35:32]1206 (1) - 0 [20:35:32]OFD Sender: Remove packet 24444 [20:35:32]ProducePacketName [20:35:32]name=ofd_packets/00024444 [20:35:32]NVStorageDeleteData [20:35:32]Write to MH i2c: 01 00 00 E1 14 F5 [20:35:32]Write i2c OK [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: 01 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: 01 07 00 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: 01 07 00 E1 14 00 00 00 00 00 C3 0C CB [20:35:32]RasterBufferAndPrint [20:35:32]line [20:35:32]line [20:35:32]line [20:35:32]line [20:35:32]line [20:35:32]written 0, free lines is 3277 [20:35:32]process_action close_receipt done [20:35:32]requested_data is exist [20:35:32]produce_requested_data [20:35:32]requested_item fm.sn is exist - process it [20:35:32]wFMCommunicate request_size=4 [20:35:32]MH_SAM_APDU [20:35:32]CAPDU: 80 11 00 00 [20:35:32]Write to MH i2c: E2 08 00 E8 14 80 11 00 00 00 00 00 00 76 [20:35:32]Write i2c OK [20:35:32]MH_I2C_Read... [20:35:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:35:32]Read from MH i2c: E2 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 17 00 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 17 00 E8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 C3 [20:35:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [20:35:32]wFMCommunicate OK [20:35:32]requested_item fd.num is exist - process it [20:35:32]SAM_PROTO_GetFieldsCounters [20:35:32]wFMCommunicate request_size=4 [20:35:32]MH_SAM_APDU [20:35:32]CAPDU: 80 13 00 00 [20:35:32]Write to MH i2c: E2 08 00 E9 14 80 13 00 00 00 00 00 00 79 [20:35:32]Write i2c OK [20:35:32]MH_I2C_Read... [20:35:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:35:32]Read from MH i2c: E2 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 62 00 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 62 00 E9 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 7C 5F 00 00 0E 04 04 00 CE 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 F6 [20:35:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 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 7C 5F 00 00 0E 04 04 00 CE 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 [20:35:32]wFMCommunicate OK [20:35:32]SAM_PROTO_GetFieldsCounters done [20:35:32]requested_item shift.num is exist - process it [20:35:32]requested_item shift.opened is exist - process it [20:35:32]req_shift_opened [20:35:32]FM_GetShiftState [20:35:32]SAM_PROTO_GetShiftState [20:35:32]wFMCommunicate request_size=4 [20:35:32]MH_SAM_APDU [20:35:32]CAPDU: 80 13 01 00 [20:35:32]Write to MH i2c: E2 08 00 EA 14 80 13 01 00 00 00 00 00 7B [20:35:32]Write i2c OK [20:35:32]MH_I2C_Read... [20:35:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:35:32]Read from MH i2c: E2 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 0E 00 [20:35:32]MH_I2C_Read... [20:35:32]Read from MH i2c: E2 0E 00 EA 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 73 [20:35:32]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [20:35:32]wFMCommunicate OK [20:35:32]SAM_PROTO_GetShiftState done [20:35:32]FM_GetShiftState done [20:35:32]req_shift_opened done [20:35:32]requested_item shift.open_date is exist - process it [20:35:32]req_shift_open_date [20:35:32]req_shift_open_date done [20:35:32]produce_requested_data done [20:35:32]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24444,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [20:35:32]process_action_free close_receipt [20:35:32]json_value_free [20:35:32]json_value_free done [20:35:32]process_json_proto returns [20:35:32]Send response to host [20:35:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24444,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [20:35:32]free response buf [20:35:32]execute_script done [20:35:32]execute_script returns [20:35:32]free content buf [20:35:32]Sock 7.Close socket [20:35:32]Sock 7.Thread stoped [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:47]OFD Sender: No OFD packet to send [20:37:52]OFD Sender: No OFD packet to send [20:37:57]OFD Sender: No OFD packet to send [20:38:02]OFD Sender: No OFD packet to send [20:38:07]OFD Sender: No OFD packet to send [20:38:12]OFD Sender: No OFD packet to send [20:38:17]OFD Sender: No OFD packet to send [20:38:22]OFD Sender: No OFD packet to send [20:38:27]OFD Sender: No OFD packet to send [20:38:32]OFD Sender: No OFD packet to send [20:38:37]OFD Sender: No OFD packet to send [20:38:42]OFD Sender: No OFD packet to send [20:38:47]OFD Sender: No OFD packet to send [20:38:52]OFD Sender: No OFD packet to send [20:38:57]OFD Sender: No OFD packet to send [20:39:02]OFD Sender: No OFD packet to send [20:39:07]OFD Sender: No OFD packet to send [20:39:12]OFD Sender: No OFD packet to send [20:39:17]OFD Sender: No OFD packet to send [20:39:22]OFD Sender: No OFD packet to send [20:39:27]OFD Sender: No OFD packet to send [20:39:32]OFD Sender: No OFD packet to send [20:39:37]OFD Sender: No OFD packet to send [20:39:42]OFD Sender: No OFD packet to send [20:39:47]OFD Sender: No OFD packet to send [20:39:52]OFD Sender: No OFD packet to send [20:39:57]OFD Sender: No OFD packet to send [20:40:02]OFD Sender: No OFD packet to send [20:40:07]OFD Sender: No OFD packet to send [20:40:12]OFD Sender: No OFD packet to send [20:40:17]OFD Sender: No OFD packet to send [20:40:22]OFD Sender: No OFD packet to send [20:40:27]OFD Sender: No OFD packet to send [20:40:32]OFD Sender: No OFD packet to send [20:40:38]OFD Sender: No OFD packet to send [20:40:43]OFD Sender: No OFD packet to send [20:40:48]OFD Sender: No OFD packet to send [20:40:53]OFD Sender: No OFD packet to send [20:40:58]OFD Sender: No OFD packet to send [20:41:03]OFD Sender: No OFD packet to send [20:41:08]OFD Sender: No OFD packet to send [20:41:13]OFD Sender: No OFD packet to send [20:41:18]OFD Sender: No OFD packet to send [20:41:23]OFD Sender: No OFD packet to send [20:41:28]OFD Sender: No OFD packet to send [20:41:33]OFD Sender: No OFD packet to send [20:41:38]OFD Sender: No OFD packet to send [20:41:43]OFD Sender: No OFD packet to send [20:41:48]OFD Sender: No OFD packet to send [20:41:53]OFD Sender: No OFD packet to send [20:41:58]OFD Sender: No OFD packet to send [20:42:03]OFD Sender: No OFD packet to send [20:42:08]OFD Sender: No OFD packet to send [20:42:13]OFD Sender: No OFD packet to send [20:42:18]OFD Sender: No OFD packet to send [20:42:23]OFD Sender: No OFD packet to send [20:42:28]OFD Sender: No OFD packet to send [20:42:33]OFD Sender: No OFD packet to send [20:42:38]OFD Sender: No OFD packet to send [20:42:43]OFD Sender: No OFD packet to send [20:42:48]OFD Sender: No OFD packet to send [20:42:53]OFD Sender: No OFD packet to send [20:42:58]OFD Sender: No OFD packet to send [20:43:03]OFD Sender: No OFD packet to send [20:43:08]OFD Sender: No OFD packet to send [20:43:13]OFD Sender: No OFD packet to send [20:43:18]OFD Sender: No OFD packet to send [20:43:23]OFD Sender: No OFD packet to send [20:43:28]OFD Sender: No OFD packet to send [20:43:33]OFD Sender: No OFD packet to send [20:43:38]OFD Sender: No OFD packet to send [20:43:43]OFD Sender: No OFD packet to send [20:43:48]OFD Sender: No OFD packet to send [20:43:53]OFD Sender: No OFD packet to send [20:43:58]OFD Sender: No OFD packet to send [20:44:03]OFD Sender: No OFD packet to send [20:44:08]OFD Sender: No OFD packet to send [20:44:13]OFD Sender: No OFD packet to send [20:44:18]OFD Sender: No OFD packet to send [20:44:23]OFD Sender: No OFD packet to send [20:44:28]OFD Sender: No OFD packet to send [20:44:33]OFD Sender: No OFD packet to send [20:44:38]OFD Sender: No OFD packet to send [20:44:43]OFD Sender: No OFD packet to send [20:44:48]OFD Sender: No OFD packet to send [20:44:53]OFD Sender: No OFD packet to send [20:44:58]OFD Sender: No OFD packet to send [20:45:03]OFD Sender: No OFD packet to send [20:45:08]OFD Sender: No OFD packet to send [20:45:13]OFD Sender: No OFD packet to send [20:45:18]OFD Sender: No OFD packet to send [20:45:23]OFD Sender: No OFD packet to send [20:45:28]OFD Sender: No OFD packet to send [20:45:33]OFD Sender: No OFD packet to send [20:45:38]OFD Sender: No OFD packet to send [20:45:43]OFD Sender: No OFD packet to send [20:45:48]OFD Sender: No OFD packet to send [20:45:53]OFD Sender: No OFD packet to send [20:45:58]OFD Sender: No OFD packet to send [20:46:03]OFD Sender: No OFD packet to send [20:46:08]OFD Sender: No OFD packet to send [20:46:13]OFD Sender: No OFD packet to send [20:46:18]OFD Sender: No OFD packet to send [20:46:23]OFD Sender: No OFD packet to send [20:46:28]OFD Sender: No OFD packet to send [20:46:33]OFD Sender: No OFD packet to send [20:46:38]OFD Sender: No OFD packet to send [20:46:43]OFD Sender: No OFD packet to send [20:46:48]OFD Sender: No OFD packet to send [20:46:53]OFD Sender: No OFD packet to send [20:46:58]OFD Sender: No OFD packet to send [20:47:03]OFD Sender: No OFD packet to send [20:47:08]OFD Sender: No OFD packet to send [20:47:13]OFD Sender: No OFD packet to send [20:47:18]OFD Sender: No OFD packet to send [20:47:23]OFD Sender: No OFD packet to send [20:47:28]OFD Sender: No OFD packet to send [20:47:33]OFD Sender: No OFD packet to send [20:47:38]OFD Sender: No OFD packet to send [20:47:43]OFD Sender: No OFD packet to send [20:47:48]OFD Sender: No OFD packet to send [20:47:53]OFD Sender: No OFD packet to send [20:47:58]OFD Sender: No OFD packet to send [20:48:03]OFD Sender: No OFD packet to send [20:48:08]OFD Sender: No OFD packet to send [20:48:13]OFD Sender: No OFD packet to send [20:48:18]OFD Sender: No OFD packet to send [20:48:23]OFD Sender: No OFD packet to send [20:48:28]OFD Sender: No OFD packet to send [20:48:33]OFD Sender: No OFD packet to send [20:48:38]OFD Sender: No OFD packet to send [20:48:43]OFD Sender: No OFD packet to send [20:48:48]OFD Sender: No OFD packet to send [20:48:53]OFD Sender: No OFD packet to send [20:48:58]OFD Sender: No OFD packet to send [20:49:03]OFD Sender: No OFD packet to send [20:49:08]OFD Sender: No OFD packet to send [20:49:13]OFD Sender: No OFD packet to send [20:49:18]OFD Sender: No OFD packet to send [20:49:23]OFD Sender: No OFD packet to send [20:49:28]OFD Sender: No OFD packet to send [20:49:33]OFD Sender: No OFD packet to send [20:49:38]OFD Sender: No OFD packet to send [20:49:43]OFD Sender: No OFD packet to send [20:49:48]OFD Sender: No OFD packet to send [20:49:53]OFD Sender: No OFD packet to send [20:49:58]OFD Sender: No OFD packet to send [20:50:03]OFD Sender: No OFD packet to send [20:50:08]OFD Sender: No OFD packet to send [20:50:13]OFD Sender: No OFD packet to send [20:50:18]OFD Sender: No OFD packet to send [20:50:23]OFD Sender: No OFD packet to send [20:50:28]OFD Sender: No OFD packet to send [20:50:33]OFD Sender: No OFD packet to send [20:50:38]OFD Sender: No OFD packet to send [20:50:43]OFD Sender: No OFD packet to send [20:50:48]OFD Sender: No OFD packet to send [20:50:53]OFD Sender: No OFD packet to send [20:50:58]OFD Sender: No OFD packet to send [20:51:03]OFD Sender: No OFD packet to send [20:51:08]OFD Sender: No OFD packet to send [20:51:13]OFD Sender: No OFD packet to send [20:51:18]OFD Sender: No OFD packet to send [20:51:23]OFD Sender: No OFD packet to send [20:51:28]OFD Sender: No OFD packet to send [20:51:33]OFD Sender: No OFD packet to send [20:51:38]OFD Sender: No OFD packet to send [20:51:43]OFD Sender: No OFD packet to send [20:51:48]OFD Sender: No OFD packet to send [20:51:53]OFD Sender: No OFD packet to send [20:51:58]OFD Sender: No OFD packet to send [20:52:03]OFD Sender: No OFD packet to send [20:52:08]OFD Sender: No OFD packet to send [20:52:13]OFD Sender: No OFD packet to send [20:52:18]OFD Sender: No OFD packet to send [20:52:23]OFD Sender: No OFD packet to send [20:52:28]OFD Sender: No OFD packet to send [20:52:33]OFD Sender: No OFD packet to send [20:52:38]OFD Sender: No OFD packet to send [20:52:43]OFD Sender: No OFD packet to send [20:52:48]OFD Sender: No OFD packet to send [20:52:53]OFD Sender: No OFD packet to send [20:52:58]OFD Sender: No OFD packet to send [20:53:03]OFD Sender: No OFD packet to send [20:53:08]OFD Sender: No OFD packet to send [20:53:13]OFD Sender: No OFD packet to send [20:53:18]OFD Sender: No OFD packet to send [20:53:23]OFD Sender: No OFD packet to send [20:53:28]OFD Sender: No OFD packet to send [20:53:33]OFD Sender: No OFD packet to send [20:53:38]OFD Sender: No OFD packet to send [20:53:43]OFD Sender: No OFD packet to send [20:53:48]OFD Sender: No OFD packet to send [20:53:53]OFD Sender: No OFD packet to send [20:53:58]OFD Sender: No OFD packet to send [20:54:03]OFD Sender: No OFD packet to send [20:54:08]OFD Sender: No OFD packet to send [20:54:13]OFD Sender: No OFD packet to send [20:54:18]OFD Sender: No OFD packet to send [20:54:23]OFD Sender: No OFD packet to send [20:54:28]OFD Sender: No OFD packet to send [20:54:33]OFD Sender: No OFD packet to send [20:54:38]OFD Sender: No OFD packet to send [20:54:43]OFD Sender: No OFD packet to send [20:54:48]OFD Sender: No OFD packet to send [20:54:53]OFD Sender: No OFD packet to send [20:54:58]OFD Sender: No OFD packet to send [20:55:03]OFD Sender: No OFD packet to send [20:55:08]OFD Sender: No OFD packet to send [20:55:13]OFD Sender: No OFD packet to send [20:55:18]OFD Sender: No OFD packet to send [20:55:23]OFD Sender: No OFD packet to send [20:55:28]OFD Sender: No OFD packet to send [20:55:33]OFD Sender: No OFD packet to send [20:55:38]OFD Sender: No OFD packet to send [20:55:43]OFD Sender: No OFD packet to send [20:55:48]OFD Sender: No OFD packet to send [20:55:53]OFD Sender: No OFD packet to send [20:55:58]OFD Sender: No OFD packet to send [20:56:03]OFD Sender: No OFD packet to send [20:56:08]OFD Sender: No OFD packet to send [20:56:13]OFD Sender: No OFD packet to send [20:56:18]OFD Sender: No OFD packet to send [20:56:23]OFD Sender: No OFD packet to send [20:56:28]OFD Sender: No OFD packet to send [20:56:33]OFD Sender: No OFD packet to send [20:56:38]OFD Sender: No OFD packet to send [20:56:43]OFD Sender: No OFD packet to send [20:56:48]OFD Sender: No OFD packet to send [20:56:53]OFD Sender: No OFD packet to send [20:56:58]OFD Sender: No OFD packet to send [20:57:03]OFD Sender: No OFD packet to send [20:57:08]OFD Sender: No OFD packet to send [20:57:13]OFD Sender: No OFD packet to send [20:57:18]OFD Sender: No OFD packet to send [20:57:23]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]ConnectInit Can't connect to host [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:24]OFD Sender: No OFD packet to send [21:02:29]OFD Sender: No OFD packet to send [21:02:34]OFD Sender: No OFD packet to send [21:02:39]OFD Sender: No OFD packet to send [21:02:44]OFD Sender: No OFD packet to send [21:02:49]OFD Sender: No OFD packet to send [21:02:54]OFD Sender: No OFD packet to send [21:02:59]OFD Sender: No OFD packet to send [21:03:04]OFD Sender: No OFD packet to send [21:03:09]OFD Sender: No OFD packet to send [21:03:14]OFD Sender: No OFD packet to send [21:03:19]OFD Sender: No OFD packet to send [21:03:24]OFD Sender: No OFD packet to send [21:03:29]OFD Sender: No OFD packet to send [21:03:34]OFD Sender: No OFD packet to send [21:03:39]OFD Sender: No OFD packet to send [21:03:44]OFD Sender: No OFD packet to send [21:03:49]OFD Sender: No OFD packet to send [21:03:54]OFD Sender: No OFD packet to send [21:03:59]OFD Sender: No OFD packet to send [21:04:04]OFD Sender: No OFD packet to send [21:04:09]OFD Sender: No OFD packet to send [21:04:14]OFD Sender: No OFD packet to send [21:04:19]OFD Sender: No OFD packet to send [21:04:24]OFD Sender: No OFD packet to send [21:04:29]OFD Sender: No OFD packet to send [21:04:34]OFD Sender: No OFD packet to send [21:04:39]OFD Sender: No OFD packet to send [21:04:44]OFD Sender: No OFD packet to send [21:04:49]OFD Sender: No OFD packet to send [21:04:54]OFD Sender: No OFD packet to send [21:04:59]OFD Sender: No OFD packet to send [21:05:04]OFD Sender: No OFD packet to send [21:05:09]OFD Sender: No OFD packet to send [21:05:14]OFD Sender: No OFD packet to send [21:05:19]OFD Sender: No OFD packet to send [21:05:24]OFD Sender: No OFD packet to send [21:05:29]OFD Sender: No OFD packet to send [21:05:34]OFD Sender: No OFD packet to send [21:05:39]OFD Sender: No OFD packet to send [21:05:44]OFD Sender: No OFD packet to send [21:05:49]OFD Sender: No OFD packet to send [21:05:54]OFD Sender: No OFD packet to send [21:05:59]OFD Sender: No OFD packet to send [21:06:04]OFD Sender: No OFD packet to send [21:06:09]OFD Sender: No OFD packet to send [21:06:14]OFD Sender: No OFD packet to send [21:06:19]OFD Sender: No OFD packet to send [21:06:24]OFD Sender: No OFD packet to send [21:06:29]OFD Sender: No OFD packet to send [21:06:34]OFD Sender: No OFD packet to send [21:06:39]OFD Sender: No OFD packet to send [21:06:44]OFD Sender: No OFD packet to send [21:06:49]OFD Sender: No OFD packet to send [21:06:54]OFD Sender: No OFD packet to send [21:06:59]OFD Sender: No OFD packet to send [21:07:04]OFD Sender: No OFD packet to send [21:07:09]OFD Sender: No OFD packet to send [21:07:14]OFD Sender: No OFD packet to send [21:07:19]OFD Sender: No OFD packet to send [21:07:24]OFD Sender: No OFD packet to send [21:07:29]OFD Sender: No OFD packet to send [21:07:34]OFD Sender: No OFD packet to send [21:07:39]OFD Sender: No OFD packet to send [21:07:44]OFD Sender: No OFD packet to send [21:07:49]OFD Sender: No OFD packet to send [21:07:54]OFD Sender: No OFD packet to send [21:07:59]OFD Sender: No OFD packet to send [21:08:04]OFD Sender: No OFD packet to send [21:08:09]OFD Sender: No OFD packet to send [21:08:14]OFD Sender: No OFD packet to send [21:08:19]OFD Sender: No OFD packet to send [21:08:24]OFD Sender: No OFD packet to send [21:08:29]OFD Sender: No OFD packet to send [21:08:34]OFD Sender: No OFD packet to send [21:08:39]OFD Sender: No OFD packet to send [21:08:44]OFD Sender: No OFD packet to send [21:08:49]OFD Sender: No OFD packet to send [21:08:54]OFD Sender: No OFD packet to send [21:08:59]OFD Sender: No OFD packet to send [21:09:04]OFD Sender: No OFD packet to send [21:09:09]OFD Sender: No OFD packet to send [21:09:14]OFD Sender: No OFD packet to send [21:09:19]OFD Sender: No OFD packet to send [21:09:24]OFD Sender: No OFD packet to send [21:09:29]OFD Sender: No OFD packet to send [21:09:34]OFD Sender: No OFD packet to send [21:09:39]OFD Sender: No OFD packet to send [21:09:44]OFD Sender: No OFD packet to send [21:09:49]OFD Sender: No OFD packet to send [21:09:54]OFD Sender: No OFD packet to send [21:09:59]OFD Sender: No OFD packet to send [21:10:04]OFD Sender: No OFD packet to send [21:10:09]OFD Sender: No OFD packet to send [21:10:14]OFD Sender: No OFD packet to send [21:10:19]OFD Sender: No OFD packet to send [21:10:24]OFD Sender: No OFD packet to send [21:10:29]OFD Sender: No OFD packet to send [21:10:34]OFD Sender: No OFD packet to send [21:10:39]OFD Sender: No OFD packet to send [21:10:44]OFD Sender: No OFD packet to send [21:10:49]OFD Sender: No OFD packet to send [21:10:54]OFD Sender: No OFD packet to send [21:10:59]OFD Sender: No OFD packet to send [21:11:04]OFD Sender: No OFD packet to send [21:11:09]OFD Sender: No OFD packet to send [21:11:14]OFD Sender: No OFD packet to send [21:11:19]OFD Sender: No OFD packet to send [21:11:24]OFD Sender: No OFD packet to send [21:11:29]OFD Sender: No OFD packet to send [21:11:34]OFD Sender: No OFD packet to send [21:11:39]OFD Sender: No OFD packet to send [21:11:44]OFD Sender: No OFD packet to send [21:11:49]OFD Sender: No OFD packet to send [21:11:54]OFD Sender: No OFD packet to send [21:11:59]OFD Sender: No OFD packet to send [21:12:04]OFD Sender: No OFD packet to send [21:12:09]OFD Sender: No OFD packet to send [21:12:14]OFD Sender: No OFD packet to send [21:12:19]OFD Sender: No OFD packet to send [21:12:24]OFD Sender: No OFD packet to send [21:12:29]OFD Sender: No OFD packet to send [21:12:34]OFD Sender: No OFD packet to send [21:12:39]OFD Sender: No OFD packet to send [21:12:44]OFD Sender: No OFD packet to send [21:12:49]OFD Sender: No OFD packet to send [21:12:54]OFD Sender: No OFD packet to send [21:12:59]OFD Sender: No OFD packet to send [21:13:04]OFD Sender: No OFD packet to send [21:13:09]OFD Sender: No OFD packet to send [21:13:14]OFD Sender: No OFD packet to send [21:13:19]OFD Sender: No OFD packet to send [21:13:24]OFD Sender: No OFD packet to send [21:13:29]OFD Sender: No OFD packet to send [21:13:34]OFD Sender: No OFD packet to send [21:13:39]OFD Sender: No OFD packet to send [21:13:44]OFD Sender: No OFD packet to send [21:13:49]OFD Sender: No OFD packet to send [21:13:54]OFD Sender: No OFD packet to send [21:13:59]OFD Sender: No OFD packet to send [21:14:04]OFD Sender: No OFD packet to send [21:14:09]OFD Sender: No OFD packet to send [21:14:14]OFD Sender: No OFD packet to send [21:14:19]OFD Sender: No OFD packet to send [21:14:24]OFD Sender: No OFD packet to send [21:14:29]OFD Sender: No OFD packet to send [21:14:34]OFD Sender: No OFD packet to send [21:14:39]OFD Sender: No OFD packet to send [21:14:44]OFD Sender: No OFD packet to send [21:14:49]OFD Sender: No OFD packet to send [21:14:54]OFD Sender: No OFD packet to send [21:14:59]OFD Sender: No OFD packet to send [21:15:04]OFD Sender: No OFD packet to send [21:15:09]OFD Sender: No OFD packet to send [21:15:14]OFD Sender: No OFD packet to send [21:15:17]accept exits with 9 [21:15:17]New connection [21:15:17]New thread 3067452772 created [21:15:17]Thread 3067596132 joined [21:15:17]Waiting for new connection... [21:15:17] Sock 9.Parse request [21:15:17]Sock 9.Check first char [21:15:17]Sock 9.First char is OK [21:15:17]request: POST /json_proto HTTP/1.0 [21:15:17]Method: POST [21:15:17]URL: /json_proto [21:15:17]Method is POST - this is cgi request [21:15:17]url: /json_proto [21:15:17]query_string will be loaded in cgi processing [21:15:17]execute_cgi json_proto POST (null) [21:15:17]execute_cgi path=json_proto method=POST [21:15:17]POST find Content-Length [21:15:17]Host: 172.17.50.4:8080 [21:15:17]Content-Length: 620 [21:15:17]Content-Type: application/json [21:15:17] [21:15:17]POST finish read [21:15:17]Found Content-Length = 620 [21:15:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134961", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 3.000, "sum" : 477.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 477.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:17]execute_script... [21:15:17]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134961", "tax_sys" : 0, "items" : [ { "code": "4640030091607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange", "price" : 159.00, "quantity" : 3.000, "sum" : 477.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 477.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:15:17]POST & json_proto [21:15:17]process_json_proto [21:15:17]json parsed OK: [21:15:17]protocol is kg_v1.0 [21:15:17]action value=close_receipt [21:15:17]process_action close_receipt [21:15:17]cmd_close_receipt [21:15:17]MH_GetDate [21:15:17]Write to MH i2c: F0 00 00 EB 14 EE [21:15:17]Write i2c OK [21:15:17]MH_I2C_Read... [21:15:17]Read from MH i2c: F0 [21:15:17]MH_I2C_Read... [21:15:17]Read from MH i2c: F0 09 00 [21:15:17]MH_I2C_Read... [21:15:17]Read from MH i2c: F0 09 00 EB 14 00 EA 15 18 67 3B 12 16 67 3F [21:15:17]GetLastDocTimeStamp 1729629335 [21:15:17]current date 1729631722 [21:15:17]FM_GetShiftState [21:15:17]SAM_PROTO_GetShiftState [21:15:17]wFMCommunicate request_size=4 [21:15:17]MH_SAM_APDU [21:15:17]CAPDU: 80 13 01 00 [21:15:17]Write to MH i2c: E2 08 00 EC 14 80 13 01 00 00 00 00 00 7D [21:15:17]Write i2c OK [21:15:17]MH_I2C_Read... [21:15:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:17]Read from MH i2c: E2 [21:15:17]MH_I2C_Read... [21:15:17]Read from MH i2c: E2 0E 00 [21:15:17]MH_I2C_Read... [21:15:17]Read from MH i2c: E2 0E 00 EC 14 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 75 [21:15:17]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:15:17]wFMCommunicate OK [21:15:17]SAM_PROTO_GetShiftState done [21:15:17]FM_GetShiftState done [21:15:17]opened in 1729555332 [21:15:17]opened+sec_in_day 1729641732 [21:15:17]quantity*price = 47700 [21:15:17]sum+1 = 47701 [21:15:17]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 477.00 НСП 1% : 4.22 НДС 12% : 50.65 Наличными: 477.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 64 22.10.2024 21:15 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24445 ФПД: 164188541034943 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211522&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24445&fm=164188541034943&tin=02508201610067®Number=0000000000098120&sum=47700 0 [21:15:18]StoreToDocumentArchive [21:15:18]shift 462 fd 24445 [21:15:18]save to /storage/0462/doc_00024445 [21:15:18]save last doc name /storage/0462/doc_00024445 to /storage/kkm_last_doc_name [21:15:18]save OK [21:15:18]Clear old archive folders... [21:15:18]ProcessDocumentItem done err = 0, tmpTLVsize=272 [21:15:18]tlvbuf is B6F5EE70 [21:15:18]SAM_PROTO_ClearQueue [21:15:18]wFMCommunicate request_size=4 [21:15:18]MH_SAM_APDU [21:15:18]CAPDU: 80 09 00 00 [21:15:18]Write to MH i2c: E2 08 00 F9 14 80 09 00 00 00 00 00 00 7F [21:15:18]Write i2c OK [21:15:18]MH_I2C_Read... [21:15:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:15:18]Read from MH i2c: E2 [21:15:18]MH_I2C_Read... [21:15:18]Read from MH i2c: E2 03 00 [21:15:18]MH_I2C_Read... [21:15:18]Read from MH i2c: E2 03 00 F9 14 00 90 00 81 [21:15:18]RAPDU: 90 00 [21:15:18]wFMCommunicate OK [21:15:18]SAM_PROTO_ClearQueue done [21:15:18]KKMCreateOFDPacket [21:15:18]OFDProtocolAddRootSTLVToBuf [21:15:18]FM_MakeSignedData [21:15:18]FM_MakeSignedData [21:15:18]SAM_PROTO_SignData [21:15:18]wFMCommunicate request_size=4 [21:15:18]MH_SAM_APDU [21:15:18]CAPDU: 80 0D 01 02 [21:15:18]Write to MH i2c: E2 08 00 FA 14 80 0D 01 02 00 00 00 00 87 [21:15:18]Write i2c OK [21:15:18]MH_I2C_Read... [21:15:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:15:18]Read from MH i2c: E2 [21:15:18]MH_I2C_Read... [21:15:18]Read from MH i2c: E2 03 00 [21:15:18]MH_I2C_Read... [21:15:18]Read from MH i2c: E2 03 00 FA 14 00 90 00 82 [21:15:18]RAPDU: 90 00 [21:15:18]wFMCommunicate OK [21:15:18]wFMCommunicate request_size=255 [21:15:18]MH_SAM_APDU [21:15:18]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 54 BA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 54 BA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EA 15 18 67 0E 04 04 00 CE 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 [21:15:18]Write to MH i2c: E2 02 01 FB 14 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 54 BA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 54 BA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EA 15 18 67 0E 04 04 00 CE 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 00 00 6A [21:15:18]Write i2c OK [21:15:18]MH_I2C_Read... [21:15:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:19]Read from MH i2c: E2 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 03 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 03 00 FB 14 00 90 00 83 [21:15:19]RAPDU: 90 00 [21:15:19]wFMCommunicate OK [21:15:19]wFMCommunicate request_size=31 [21:15:19]MH_SAM_APDU [21:15:19]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 34 32 30 10 04 04 00 7D 5F 00 00 35 04 06 00 95 54 1F AA 21 BF [21:15:19]Write to MH i2c: E2 22 00 FC 14 80 0D 02 02 1A 00 30 30 39 36 35 34 32 30 10 04 04 00 7D 5F 00 00 35 04 06 00 95 54 1F AA 21 BF 00 00 1D [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:15:19]Read from MH i2c: E2 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 03 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 03 00 FC 14 00 90 00 84 [21:15:19]RAPDU: 90 00 [21:15:19]wFMCommunicate OK [21:15:19]wFMCommunicate request_size=4 [21:15:19]MH_SAM_APDU [21:15:19]CAPDU: 80 0D 03 02 [21:15:19]Write to MH i2c: E2 08 00 FD 14 80 0D 03 02 00 00 00 00 8C [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:15:19]Read from MH i2c: E2 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 0B 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 0B 00 FD 14 00 97 A0 BF 8A 2C 9C 60 A9 90 00 DE [21:15:19]RAPDU: 97 A0 BF 8A 2C 9C 60 A9 90 00 [21:15:19]wFMCommunicate OK [21:15:19]SAM_PROTO_SignData done [21:15:19]FM_MakeSignedData done [21:15:19]CreateOFDProtocolMessage [21:15:19]wFMCommunicate request_size=4 [21:15:19]MH_SAM_APDU [21:15:19]CAPDU: 80 11 00 00 [21:15:19]Write to MH i2c: E2 08 00 FE 14 80 11 00 00 00 00 00 00 8C [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:19]Read from MH i2c: E2 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 17 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: E2 17 00 FE 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 D9 [21:15:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:15:19]wFMCommunicate OK [21:15:19]CreateOFDProtocolMessage done [21:15:19]OFDSenderStorePacket 24445 [21:15:19]StoreOFDPacket docnum=24445 [21:15: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 24 01 00 00 71 22 1C 01 E0 15 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 54 BA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 54 BA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EA 15 18 67 0E 04 04 00 CE 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 7D 5F 00 00 35 04 06 00 95 54 1F AA 21 BF 97 A0 BF 8A 2C 9C 60 A9 [21:15:19]CheckFolder [21:15:19]dirname=/storage/ofd_packets [21:15:19]CheckFolder done [21:15:19]ProducePacketName [21:15:19]name=ofd_packets/00024445 [21:15:19]NVStorageSaveData ofd_packets/00024445 [21:15:19]File name is /storage/ofd_packets/00024445 [21:15:19]Write 322 bytes [21:15:19]NVStorageSaveData done [21:15:19]OFDSenderStorePacket done [21:15:19]KKMCreateOFDPacket done [21:15:19]NVStorageSaveData kkm_last_timestamp [21:15:19]File name is /storage/kkm_last_timestamp [21:15:19]Write 4 bytes [21:15:19]NVStorageSaveData done [21:15:19]ExternCall_PrintAddStr [21:15:19]wPrintStart [21:15:19]Write to MH i2c: 01 00 00 FF 14 13 [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 07 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 07 00 FF 14 00 00 00 00 00 FF 0F 28 [21:15:19]RasterBufferAndPrint [21:15:19]line Счет N : (3)134961 [21:15:19]line ИНН: 02508201610067 [21:15:19]line Контрольно-Кассовый Чек [21:15:19]line ПРОДАЖА [21:15:19]line Товар: 4640030091607 [21:15:19]line Сигареты ESSE Exchange [21:15:19]line 3.000 * 159.00 [21:15:19]line = 477.00 [21:15:19]line НДС 12% НСП 1% [21:15:19]line > о реализуемом товаре [21:15:19]line ИТОГО: 477.00 [21:15:19]line НСП 1% : 4.22 [21:15:19]line НДС 12% : 50.65 [21:15:19]line Наличными: 477.00 [21:15:19]line Безнал.: 0.00 [21:15:19]line Место: АЗС № 85 "Партнер Нефть" [21:15:19]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:15:19]line СНО: Общий режим [21:15:19]line Чек 64 22.10.2024 21:15 [21:15:19]line Смена: 462 ФФД: 1.0 [21:15:19]line ЗНМ: 0300000166 [21:15:19]line РНМ: 0000000000098120 [21:15:19]line Версия ККМ: 001 [21:15:19]line ФМ: 0000000000965420 [21:15:19]line ФД: 24445 [21:15:19]line ФПД: 164188541034943 [21:15:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211522&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24445&fm=164188541034943&tin=02508201610067®Number=0000000000098120&sum=47700 [21:15:19]OFD Sender: Processing packet 24445 [packets to send 5, broken 4] [21:15:19]ProducePacketName [21:15:19]name=ofd_packets/00024445 [21:15:19]OFD Sender: To server: pG, [21:15:19]CommunicateWithHost lk.salyk.kg:30040 [21:15:19]ConnectInit lk.salyk.kg [21:15:19]line 0 [21:15:19]written 0, free lines is 4095 [21:15:19]Connected sock=10 [21:15: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 24 01 00 00 71 22 1C 01 E0 15 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 36 30 37 06 04 1E 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 45 78 63 68 61 6E 67 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 54 BA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 BA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A6 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C9 13 00 00 00 00 07 04 06 00 54 BA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 EA 15 18 67 0E 04 04 00 CE 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 7D 5F 00 00 35 04 06 00 95 54 1F AA 21 BF 97 A0 BF 8A 2C 9C 60 A9 [21:15:19]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 A4 73 47 00 FE 37 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 7D 5F 00 00 F4 03 04 00 8D C1 17 67 B6 04 01 00 00 94 30 1F 71 C7 42 7B F7 [21:15:19]CommunicateWithHost err = 0 [21:15:19]CheckOFDResponse [21:15:19]1017 (14) - 77093643461234 [21:15:19]1041 (16) - 0000000000965420 [21:15:19]1040 (4) - 24445 [21:15:19]1012 (4) - 22.10.2024 15:15 [21:15:19]1206 (1) - 0 [21:15:19]OFD Sender: Remove packet 24445 [21:15:19]ProducePacketName [21:15:19]name=ofd_packets/00024445 [21:15:19]NVStorageDeleteData [21:15:19]Write to MH i2c: 01 00 00 27 15 3C [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 07 00 [21:15:19]MH_I2C_Read... [21:15:19]Read from MH i2c: 01 07 00 27 15 00 00 00 00 00 25 0D 75 [21:15:19]RasterBufferAndPrint [21:15:19]line [21:15:19]line [21:15:19]line [21:15:19]line [21:15:19]line [21:15:19]written 0, free lines is 3372 [21:15:19]process_action close_receipt done [21:15:19]requested_data is exist [21:15:19]produce_requested_data [21:15:19]requested_item fm.sn is exist - process it [21:15:19]wFMCommunicate request_size=4 [21:15:19]MH_SAM_APDU [21:15:19]CAPDU: 80 11 00 00 [21:15:19]Write to MH i2c: E2 08 00 2E 15 80 11 00 00 00 00 00 00 BD [21:15:19]Write i2c OK [21:15:19]MH_I2C_Read... [21:15:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:15:20]Read from MH i2c: E2 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 17 00 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 17 00 2E 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0A [21:15:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:15:20]wFMCommunicate OK [21:15:20]requested_item fd.num is exist - process it [21:15:20]SAM_PROTO_GetFieldsCounters [21:15:20]wFMCommunicate request_size=4 [21:15:20]MH_SAM_APDU [21:15:20]CAPDU: 80 13 00 00 [21:15:20]Write to MH i2c: E2 08 00 2F 15 80 13 00 00 00 00 00 00 C0 [21:15:20]Write i2c OK [21:15:20]MH_I2C_Read... [21:15:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:15:20]Read from MH i2c: E2 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 62 00 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 62 00 2F 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 7D 5F 00 00 0E 04 04 00 CE 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 41 [21:15: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 7D 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:15:20]wFMCommunicate OK [21:15:20]SAM_PROTO_GetFieldsCounters done [21:15:20]requested_item shift.num is exist - process it [21:15:20]requested_item shift.opened is exist - process it [21:15:20]req_shift_opened [21:15:20]FM_GetShiftState [21:15:20]SAM_PROTO_GetShiftState [21:15:20]wFMCommunicate request_size=4 [21:15:20]MH_SAM_APDU [21:15:20]CAPDU: 80 13 01 00 [21:15:20]Write to MH i2c: E2 08 00 30 15 80 13 01 00 00 00 00 00 C2 [21:15:20]Write i2c OK [21:15:20]MH_I2C_Read... [21:15:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:15:20]Read from MH i2c: E2 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 0E 00 [21:15:20]MH_I2C_Read... [21:15:20]Read from MH i2c: E2 0E 00 30 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 BA [21:15:20]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:15:20]wFMCommunicate OK [21:15:20]SAM_PROTO_GetShiftState done [21:15:20]FM_GetShiftState done [21:15:20]req_shift_opened done [21:15:20]requested_item shift.open_date is exist - process it [21:15:20]req_shift_open_date [21:15:20]req_shift_open_date done [21:15:20]produce_requested_data done [21:15:20]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24445,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [21:15:20]process_action_free close_receipt [21:15:20]json_value_free [21:15:20]json_value_free done [21:15:20]process_json_proto returns [21:15:20]Send response to host [21:15:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24445,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [21:15:20]free response buf [21:15:20]execute_script done [21:15:20]execute_script returns [21:15:20]free content buf [21:15:20]Sock 9.Close socket [21:15:20]Sock 9.Thread stoped [21:15:20]OFD Sender: No OFD packet to send [21:15:25]OFD Sender: No OFD packet to send [21:15:30]OFD Sender: No OFD packet to send [21:15:35]OFD Sender: No OFD packet to send [21:15:40]OFD Sender: No OFD packet to send [21:15:45]OFD Sender: No OFD packet to send [21:15:50]OFD Sender: No OFD packet to send [21:15:55]OFD Sender: No OFD packet to send [21:16:00]OFD Sender: No OFD packet to send [21:16:05]OFD Sender: No OFD packet to send [21:16:10]OFD Sender: No OFD packet to send [21:16:15]OFD Sender: No OFD packet to send [21:16:20]OFD Sender: No OFD packet to send [21:16:25]OFD Sender: No OFD packet to send [21:16:30]OFD Sender: No OFD packet to send [21:16:35]OFD Sender: No OFD packet to send [21:16:40]OFD Sender: No OFD packet to send [21:16:45]OFD Sender: No OFD packet to send [21:16:50]OFD Sender: No OFD packet to send [21:16:55]OFD Sender: No OFD packet to send [21:17:00]OFD Sender: No OFD packet to send [21:17:05]OFD Sender: No OFD packet to send [21:17:10]OFD Sender: No OFD packet to send [21:17:15]OFD Sender: No OFD packet to send [21:17:20]OFD Sender: No OFD packet to send [21:17:25]OFD Sender: No OFD packet to send [21:17:30]OFD Sender: No OFD packet to send [21:17:35]OFD Sender: No OFD packet to send [21:17:40]OFD Sender: No OFD packet to send [21:17:45]OFD Sender: No OFD packet to send [21:17:50]OFD Sender: No OFD packet to send [21:17:55]OFD Sender: No OFD packet to send [21:18:00]OFD Sender: No OFD packet to send [21:18:05]OFD Sender: No OFD packet to send [21:18:10]OFD Sender: No OFD packet to send [21:18:15]OFD Sender: No OFD packet to send [21:18:20]OFD Sender: No OFD packet to send [21:18:25]OFD Sender: No OFD packet to send [21:18:26]accept exits with 7 [21:18:26]New connection [21:18:26]New thread 3067596132 created [21:18:26]Thread 3067452772 joined [21:18:26]Waiting for new connection... [21:18:26] Sock 7.Parse request [21:18:26]Sock 7.Check first char [21:18:26]Sock 7.First char is OK [21:18:26]request: POST /json_proto HTTP/1.0 [21:18:26]Method: POST [21:18:26]URL: /json_proto [21:18:26]Method is POST - this is cgi request [21:18:26]url: /json_proto [21:18:26]query_string will be loaded in cgi processing [21:18:26]execute_cgi json_proto POST (null) [21:18:26]execute_cgi path=json_proto method=POST [21:18:26]POST find Content-Length [21:18:26]Host: 172.17.50.4:8080 [21:18:26]Content-Length: 621 [21:18:26]Content-Type: application/json [21:18:26] [21:18:26]POST finish read [21:18:26]Found Content-Length = 621 [21:18:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134962", "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" ] } } [21:18:26]execute_script... [21:18: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)134962", "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" ] } } [21:18:26]POST & json_proto [21:18:26]process_json_proto [21:18:26]json parsed OK: [21:18:26]protocol is kg_v1.0 [21:18:26]action value=close_receipt [21:18:26]process_action close_receipt [21:18:26]cmd_close_receipt [21:18:26]MH_GetDate [21:18:26]Write to MH i2c: F0 00 00 31 15 35 [21:18:26]Write i2c OK [21:18:26]MH_I2C_Read... [21:18:26]Read from MH i2c: F0 [21:18:26]MH_I2C_Read... [21:18:26]Read from MH i2c: F0 09 00 [21:18:26]MH_I2C_Read... [21:18:26]Read from MH i2c: F0 09 00 31 15 00 A7 16 18 67 3B 12 16 67 44 [21:18:26]GetLastDocTimeStamp 1729631722 [21:18:26]current date 1729631911 [21:18:26]FM_GetShiftState [21:18:26]SAM_PROTO_GetShiftState [21:18:26]wFMCommunicate request_size=4 [21:18:26]MH_SAM_APDU [21:18:26]CAPDU: 80 13 01 00 [21:18:26]Write to MH i2c: E2 08 00 32 15 80 13 01 00 00 00 00 00 C4 [21:18:26]Write i2c OK [21:18:26]MH_I2C_Read... [21:18:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:26]Read from MH i2c: E2 [21:18:26]MH_I2C_Read... [21:18:26]Read from MH i2c: E2 0E 00 [21:18:26]MH_I2C_Read... [21:18:26]Read from MH i2c: E2 0E 00 32 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 BC [21:18:26]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:18:26]wFMCommunicate OK [21:18:26]SAM_PROTO_GetShiftState done [21:18:26]FM_GetShiftState done [21:18:26]opened in 1729555332 [21:18:26]opened+sec_in_day 1729641732 [21:18:26]quantity*price = 28800 [21:18:26]sum+1 = 28801 [21:18:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 288.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 65 22.10.2024 21:18 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24446 ФПД: 43363510133678 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24446&fm=43363510133678&tin=02508201610067®Number=0000000000098120&sum=28800 0 [21:18:27]StoreToDocumentArchive [21:18:27]shift 462 fd 24446 [21:18:27]save to /storage/0462/doc_00024446 [21:18:27]save last doc name /storage/0462/doc_00024446 to /storage/kkm_last_doc_name [21:18:27]save OK [21:18:27]Clear old archive folders... [21:18:27]ProcessDocumentItem done err = 0, tmpTLVsize=273 [21:18:27]tlvbuf is B6F45440 [21:18:27]SAM_PROTO_ClearQueue [21:18:27]wFMCommunicate request_size=4 [21:18:27]MH_SAM_APDU [21:18:27]CAPDU: 80 09 00 00 [21:18:27]Write to MH i2c: E2 08 00 3F 15 80 09 00 00 00 00 00 00 C6 [21:18:27]Write i2c OK [21:18:27]MH_I2C_Read... [21:18:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:18:27]Read from MH i2c: E2 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 3F 15 00 90 00 C8 [21:18:27]RAPDU: 90 00 [21:18:27]wFMCommunicate OK [21:18:27]SAM_PROTO_ClearQueue done [21:18:27]KKMCreateOFDPacket [21:18:27]OFDProtocolAddRootSTLVToBuf [21:18:27]FM_MakeSignedData [21:18:27]FM_MakeSignedData [21:18:27]SAM_PROTO_SignData [21:18:27]wFMCommunicate request_size=4 [21:18:27]MH_SAM_APDU [21:18:27]CAPDU: 80 0D 01 02 [21:18:27]Write to MH i2c: E2 08 00 40 15 80 0D 01 02 00 00 00 00 CE [21:18:27]Write i2c OK [21:18:27]MH_I2C_Read... [21:18:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:18:27]Read from MH i2c: E2 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 40 15 00 90 00 C9 [21:18:27]RAPDU: 90 00 [21:18:27]wFMCommunicate OK [21:18:27]wFMCommunicate request_size=255 [21:18:27]MH_SAM_APDU [21:18: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 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 41 00 00 00 F4 03 04 00 A7 16 18 67 0E 04 04 00 CE 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:18:27]Write to MH i2c: E2 02 01 41 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 41 00 00 00 F4 03 04 00 A7 16 18 67 0E 04 04 00 CE 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 52 [21:18:27]Write i2c OK [21:18:27]MH_I2C_Read... [21:18:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:27]Read from MH i2c: E2 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 [21:18:27]MH_I2C_Read... [21:18:27]Read from MH i2c: E2 03 00 41 15 00 90 00 CA [21:18:27]RAPDU: 90 00 [21:18:27]wFMCommunicate OK [21:18:27]wFMCommunicate request_size=32 [21:18:27]MH_SAM_APDU [21:18:27]CAPDU: 80 0D 02 02 1B 30 30 30 39 36 35 34 32 30 10 04 04 00 7E 5F 00 00 35 04 06 00 27 70 5A 9E 23 AE [21:18:27]Write to MH i2c: E2 23 00 42 15 80 0D 02 02 1B 00 30 30 30 39 36 35 34 32 30 10 04 04 00 7E 5F 00 00 35 04 06 00 27 70 5A 9E 23 AE 00 00 65 [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:28]Read from MH i2c: E2 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 03 00 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 03 00 42 15 00 90 00 CB [21:18:28]RAPDU: 90 00 [21:18:28]wFMCommunicate OK [21:18:28]wFMCommunicate request_size=4 [21:18:28]MH_SAM_APDU [21:18:28]CAPDU: 80 0D 03 02 [21:18:28]Write to MH i2c: E2 08 00 43 15 80 0D 03 02 00 00 00 00 D3 [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:18:28]Read from MH i2c: E2 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 0B 00 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 0B 00 43 15 00 66 54 72 AA 68 F6 20 A7 90 00 CF [21:18:28]RAPDU: 66 54 72 AA 68 F6 20 A7 90 00 [21:18:28]wFMCommunicate OK [21:18:28]SAM_PROTO_SignData done [21:18:28]FM_MakeSignedData done [21:18:28]CreateOFDProtocolMessage [21:18:28]wFMCommunicate request_size=4 [21:18:28]MH_SAM_APDU [21:18:28]CAPDU: 80 11 00 00 [21:18:28]Write to MH i2c: E2 08 00 44 15 80 11 00 00 00 00 00 00 D3 [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:28]Read from MH i2c: E2 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 17 00 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: E2 17 00 44 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 20 [21:18: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:18:28]wFMCommunicate OK [21:18:28]CreateOFDProtocolMessage done [21:18:28]OFDSenderStorePacket 24446 [21:18:28]StoreOFDPacket docnum=24446 [21:18: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 D3 99 1D 01 68 3E 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 41 00 00 00 F4 03 04 00 A7 16 18 67 0E 04 04 00 CE 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 7E 5F 00 00 35 04 06 00 27 70 5A 9E 23 AE 66 54 72 AA 68 F6 20 A7 [21:18:28]CheckFolder [21:18:28]dirname=/storage/ofd_packets [21:18:28]CheckFolder done [21:18:28]ProducePacketName [21:18:28]name=ofd_packets/00024446 [21:18:28]NVStorageSaveData ofd_packets/00024446 [21:18:28]File name is /storage/ofd_packets/00024446 [21:18:28]Write 323 bytes [21:18:28]NVStorageSaveData done [21:18:28]OFDSenderStorePacket done [21:18:28]KKMCreateOFDPacket done [21:18:28]NVStorageSaveData kkm_last_timestamp [21:18:28]File name is /storage/kkm_last_timestamp [21:18:28]Write 4 bytes [21:18:28]NVStorageSaveData done [21:18:28]ExternCall_PrintAddStr [21:18:28]wPrintStart [21:18:28]Write to MH i2c: 01 00 00 45 15 5A [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 07 00 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 07 00 45 15 00 00 00 00 00 FF 0F 6F [21:18:28]RasterBufferAndPrint [21:18:28]line Счет N : (3)134962 [21:18:28]line ИНН: 02508201610067 [21:18:28]line Контрольно-Кассовый Чек [21:18:28]line ПРОДАЖА [21:18:28]line Товар: 48743570 [21:18:28]line Сигареты Winston XStyle Blue [21:18:28]line 2.000 * 144.00 [21:18:28]line = 288.00 [21:18:28]line НДС 12% НСП 1% [21:18:28]line > о реализуемом товаре [21:18:28]line ИТОГО: 288.00 [21:18:28]line НСП 1% : 2.55 [21:18:28]line НДС 12% : 30.58 [21:18:28]line Наличными: 288.00 [21:18:28]line Безнал.: 0.00 [21:18:28]line Место: АЗС № 85 "Партнер Нефть" [21:18:28]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:18:28]line СНО: Общий режим [21:18:28]line Чек 65 22.10.2024 21:18 [21:18:28]line Смена: 462 ФФД: 1.0 [21:18:28]line ЗНМ: 0300000166 [21:18:28]line РНМ: 0000000000098120 [21:18:28]line Версия ККМ: 001 [21:18:28]line ФМ: 0000000000965420 [21:18:28]line ФД: 24446 [21:18:28]line ФПД: 43363510133678 [21:18:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24446&fm=43363510133678&tin=02508201610067®Number=0000000000098120&sum=28800 [21:18:28]line 0 [21:18:28]OFD Sender: Processing packet 24446 [packets to send 5, broken 4] [21:18:28]ProducePacketName [21:18:28]name=ofd_packets/00024446 [21:18:28]OFD Sender: To server: pG, [21:18:28]CommunicateWithHost lk.salyk.kg:30040 [21:18:28]ConnectInit lk.salyk.kg [21:18:28]written 0, free lines is 4095 [21:18:28]Connected sock=10 [21:18: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 D3 99 1D 01 68 3E 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 41 00 00 00 F4 03 04 00 A7 16 18 67 0E 04 04 00 CE 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 7E 5F 00 00 35 04 06 00 27 70 5A 9E 23 AE 66 54 72 AA 68 F6 20 A7 [21:18: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 40 1C 47 00 94 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 7E 5F 00 00 F4 03 04 00 4A C2 17 67 B6 04 01 00 00 91 2C 97 D7 3A 65 07 8D [21:18:28]CommunicateWithHost err = 0 [21:18:28]CheckOFDResponse [21:18:28]1017 (14) - 77093643461234 [21:18:28]1041 (16) - 0000000000965420 [21:18:28]1040 (4) - 24446 [21:18:28]1012 (4) - 22.10.2024 15:18 [21:18:28]1206 (1) - 0 [21:18:28]OFD Sender: Remove packet 24446 [21:18:28]ProducePacketName [21:18:28]name=ofd_packets/00024446 [21:18:28]NVStorageDeleteData [21:18:28]Write to MH i2c: 01 00 00 6D 15 82 [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 07 00 [21:18:28]MH_I2C_Read... [21:18:28]Read from MH i2c: 01 07 00 6D 15 00 00 00 00 00 20 0D B6 [21:18:28]RasterBufferAndPrint [21:18:28]line [21:18:28]line [21:18:28]line [21:18:28]line [21:18:28]line [21:18:28]written 0, free lines is 3366 [21:18:28]process_action close_receipt done [21:18:28]requested_data is exist [21:18:28]produce_requested_data [21:18:28]requested_item fm.sn is exist - process it [21:18:28]wFMCommunicate request_size=4 [21:18:28]MH_SAM_APDU [21:18:28]CAPDU: 80 11 00 00 [21:18:28]Write to MH i2c: E2 08 00 74 15 80 11 00 00 00 00 00 00 03 [21:18:28]Write i2c OK [21:18:28]MH_I2C_Read... [21:18:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:29]Read from MH i2c: E2 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 17 00 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 17 00 74 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 50 [21:18: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:18:29]wFMCommunicate OK [21:18:29]requested_item fd.num is exist - process it [21:18:29]SAM_PROTO_GetFieldsCounters [21:18:29]wFMCommunicate request_size=4 [21:18:29]MH_SAM_APDU [21:18:29]CAPDU: 80 13 00 00 [21:18:29]Write to MH i2c: E2 08 00 75 15 80 13 00 00 00 00 00 00 06 [21:18:29]Write i2c OK [21:18:29]MH_I2C_Read... [21:18:29]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:18:29]Read from MH i2c: E2 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 62 00 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 62 00 75 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 7E 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 8B [21:18: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 7E 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:18:29]wFMCommunicate OK [21:18:29]SAM_PROTO_GetFieldsCounters done [21:18:29]requested_item shift.num is exist - process it [21:18:29]requested_item shift.opened is exist - process it [21:18:29]req_shift_opened [21:18:29]FM_GetShiftState [21:18:29]SAM_PROTO_GetShiftState [21:18:29]wFMCommunicate request_size=4 [21:18:29]MH_SAM_APDU [21:18:29]CAPDU: 80 13 01 00 [21:18:29]Write to MH i2c: E2 08 00 76 15 80 13 01 00 00 00 00 00 08 [21:18:29]Write i2c OK [21:18:29]MH_I2C_Read... [21:18:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:29]Read from MH i2c: E2 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 0E 00 [21:18:29]MH_I2C_Read... [21:18:29]Read from MH i2c: E2 0E 00 76 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 00 [21:18:29]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:18:29]wFMCommunicate OK [21:18:29]SAM_PROTO_GetShiftState done [21:18:29]FM_GetShiftState done [21:18:29]req_shift_opened done [21:18:29]requested_item shift.open_date is exist - process it [21:18:29]req_shift_open_date [21:18:29]req_shift_open_date done [21:18:29]produce_requested_data done [21:18:29]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24446,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [21:18:29]process_action_free close_receipt [21:18:29]json_value_free [21:18:29]json_value_free done [21:18:29]process_json_proto returns [21:18:29]Send response to host [21:18:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24446,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [21:18:29]free response buf [21:18:29]execute_script done [21:18:29]execute_script returns [21:18:29]free content buf [21:18:29]Sock 7.Close socket [21:18:29]Sock 7.Thread stoped [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:42]accept exits with 9 [21:18:42]New connection [21:18:42]New thread 3067452772 created [21:18:42]Thread 3067596132 joined [21:18:42]Waiting for new connection... [21:18:42] Sock 9.Parse request [21:18:42]Sock 9.Check first char [21:18:42]Sock 9.First char is OK [21:18:42]request: POST /json_proto HTTP/1.0 [21:18:42]Method: POST [21:18:42]URL: /json_proto [21:18:42]Method is POST - this is cgi request [21:18:42]url: /json_proto [21:18:42]query_string will be loaded in cgi processing [21:18:42]execute_cgi json_proto POST (null) [21:18:42]execute_cgi path=json_proto method=POST [21:18:42]POST find Content-Length [21:18:42]Host: 172.17.50.4:8080 [21:18:42]Content-Length: 608 [21:18:42]Content-Type: application/json [21:18:42] [21:18:42]POST finish read [21:18:42]Found Content-Length = 608 [21:18:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134963", "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" ] } } [21:18:42]execute_script... [21:18: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)134963", "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" ] } } [21:18:42]POST & json_proto [21:18:42]process_json_proto [21:18:42]json parsed OK: [21:18:42]protocol is kg_v1.0 [21:18:42]action value=close_receipt [21:18:42]process_action close_receipt [21:18:42]cmd_close_receipt [21:18:42]MH_GetDate [21:18:42]Write to MH i2c: F0 00 00 77 15 7B [21:18:42]Write i2c OK [21:18:42]MH_I2C_Read... [21:18:42]Read from MH i2c: F0 [21:18:42]MH_I2C_Read... [21:18:42]Read from MH i2c: F0 09 00 [21:18:42]MH_I2C_Read... [21:18:42]Read from MH i2c: F0 09 00 77 15 00 B7 16 18 67 3B 12 16 67 9A [21:18:42]GetLastDocTimeStamp 1729631911 [21:18:42]current date 1729631927 [21:18:42]FM_GetShiftState [21:18:42]SAM_PROTO_GetShiftState [21:18:42]wFMCommunicate request_size=4 [21:18:42]MH_SAM_APDU [21:18:42]CAPDU: 80 13 01 00 [21:18:42]Write to MH i2c: E2 08 00 78 15 80 13 01 00 00 00 00 00 0A [21:18:42]Write i2c OK [21:18:42]MH_I2C_Read... [21:18:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:42]Read from MH i2c: E2 [21:18:42]MH_I2C_Read... [21:18:42]Read from MH i2c: E2 0E 00 [21:18:42]MH_I2C_Read... [21:18:42]Read from MH i2c: E2 0E 00 78 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 02 [21:18:42]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:18:42]wFMCommunicate OK [21:18:42]SAM_PROTO_GetShiftState done [21:18:42]FM_GetShiftState done [21:18:42]opened in 1729555332 [21:18:42]opened+sec_in_day 1729641732 [21:18:42]quantity*price = 3000 [21:18:42]sum+1 = 3001 [21:18:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 30.00 НСП 1% : 0.26 НДС 12% : 3.19 Наличными: 30.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 66 22.10.2024 21:18 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24447 ФПД: 56228175571743 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211847&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24447&fm=56228175571743&tin=02508201610067®Number=0000000000098120&sum=3000 0 [21:18:43]StoreToDocumentArchive [21:18:43]shift 462 fd 24447 [21:18:43]save to /storage/0462/doc_00024447 [21:18:43]save last doc name /storage/0462/doc_00024447 to /storage/kkm_last_doc_name [21:18:43]save OK [21:18:43]Clear old archive folders... [21:18:43]ProcessDocumentItem done err = 0, tmpTLVsize=267 [21:18:43]tlvbuf is B6F77B40 [21:18:43]SAM_PROTO_ClearQueue [21:18:43]wFMCommunicate request_size=4 [21:18:43]MH_SAM_APDU [21:18:43]CAPDU: 80 09 00 00 [21:18:43]Write to MH i2c: E2 08 00 85 15 80 09 00 00 00 00 00 00 0C [21:18:43]Write i2c OK [21:18:43]MH_I2C_Read... [21:18:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:18:43]Read from MH i2c: E2 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 85 15 00 90 00 0E [21:18:43]RAPDU: 90 00 [21:18:43]wFMCommunicate OK [21:18:43]SAM_PROTO_ClearQueue done [21:18:43]KKMCreateOFDPacket [21:18:43]OFDProtocolAddRootSTLVToBuf [21:18:43]FM_MakeSignedData [21:18:43]FM_MakeSignedData [21:18:43]SAM_PROTO_SignData [21:18:43]wFMCommunicate request_size=4 [21:18:43]MH_SAM_APDU [21:18:43]CAPDU: 80 0D 01 02 [21:18:43]Write to MH i2c: E2 08 00 86 15 80 0D 01 02 00 00 00 00 14 [21:18:43]Write i2c OK [21:18:43]MH_I2C_Read... [21:18:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:18:43]Read from MH i2c: E2 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 86 15 00 90 00 0F [21:18:43]RAPDU: 90 00 [21:18:43]wFMCommunicate OK [21:18:43]wFMCommunicate request_size=255 [21:18:43]MH_SAM_APDU [21:18:43]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 42 00 00 00 F4 03 04 00 B7 16 18 67 0E 04 04 00 CE 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:18:43]Write to MH i2c: E2 02 01 87 15 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 42 00 00 00 F4 03 04 00 B7 16 18 67 0E 04 04 00 CE 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 4A [21:18:43]Write i2c OK [21:18:43]MH_I2C_Read... [21:18:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:43]Read from MH i2c: E2 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 [21:18:43]MH_I2C_Read... [21:18:43]Read from MH i2c: E2 03 00 87 15 00 90 00 10 [21:18:43]RAPDU: 90 00 [21:18:43]wFMCommunicate OK [21:18:43]wFMCommunicate request_size=26 [21:18:43]MH_SAM_APDU [21:18:43]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 7F 5F 00 00 35 04 06 00 33 23 A4 6E 6B 1F [21:18:43]Write to MH i2c: E2 1D 00 88 15 80 0D 02 02 15 00 34 32 30 10 04 04 00 7F 5F 00 00 35 04 06 00 33 23 A4 6E 6B 1F 00 00 FE [21:18:43]Write i2c OK [21:18:43]MH_I2C_Read... [21:18:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:18:44]Read from MH i2c: E2 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 03 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 03 00 88 15 00 90 00 11 [21:18:44]RAPDU: 90 00 [21:18:44]wFMCommunicate OK [21:18:44]wFMCommunicate request_size=4 [21:18:44]MH_SAM_APDU [21:18:44]CAPDU: 80 0D 03 02 [21:18:44]Write to MH i2c: E2 08 00 89 15 80 0D 03 02 00 00 00 00 19 [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:18:44]Read from MH i2c: E2 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 0B 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 0B 00 89 15 00 81 19 A2 7B 32 3A AE C2 90 00 AD [21:18:44]RAPDU: 81 19 A2 7B 32 3A AE C2 90 00 [21:18:44]wFMCommunicate OK [21:18:44]SAM_PROTO_SignData done [21:18:44]FM_MakeSignedData done [21:18:44]CreateOFDProtocolMessage [21:18:44]wFMCommunicate request_size=4 [21:18:44]MH_SAM_APDU [21:18:44]CAPDU: 80 11 00 00 [21:18:44]Write to MH i2c: E2 08 00 8A 15 80 11 00 00 00 00 00 00 19 [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:44]Read from MH i2c: E2 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 17 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 17 00 8A 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 66 [21:18:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:18:44]wFMCommunicate OK [21:18:44]CreateOFDProtocolMessage done [21:18:44]OFDSenderStorePacket 24447 [21:18:44]StoreOFDPacket docnum=24447 [21:18: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 1F 01 00 00 4E B5 17 01 A6 41 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 42 00 00 00 F4 03 04 00 B7 16 18 67 0E 04 04 00 CE 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 7F 5F 00 00 35 04 06 00 33 23 A4 6E 6B 1F 81 19 A2 7B 32 3A AE C2 [21:18:44]CheckFolder [21:18:44]dirname=/storage/ofd_packets [21:18:44]CheckFolder done [21:18:44]ProducePacketName [21:18:44]name=ofd_packets/00024447 [21:18:44]NVStorageSaveData ofd_packets/00024447 [21:18:44]File name is /storage/ofd_packets/00024447 [21:18:44]Write 317 bytes [21:18:44]NVStorageSaveData done [21:18:44]OFDSenderStorePacket done [21:18:44]KKMCreateOFDPacket done [21:18:44]NVStorageSaveData kkm_last_timestamp [21:18:44]File name is /storage/kkm_last_timestamp [21:18:44]Write 4 bytes [21:18:44]NVStorageSaveData done [21:18:44]ExternCall_PrintAddStr [21:18:44]wPrintStart [21:18:44]Write to MH i2c: 01 00 00 8B 15 A0 [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 07 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 07 00 8B 15 00 00 00 00 00 FF 0F B5 [21:18:44]RasterBufferAndPrint [21:18:44]line Счет N : (3)134963 [21:18:44]line ИНН: 02508201610067 [21:18:44]line Контрольно-Кассовый Чек [21:18:44]line ПРОДАЖА [21:18:44]line Товар: 46231529 [21:18:44]line Mentos ПФ Арбуз 6*100*2 [21:18:44]line 3.000 * 10.00 [21:18:44]line = 30.00 [21:18:44]line НДС 12% НСП 1% [21:18:44]line > о реализуемом товаре [21:18:44]line ИТОГО: 30.00 [21:18:44]line НСП 1% : 0.26 [21:18:44]line НДС 12% : 3.19 [21:18:44]line Наличными: 30.00 [21:18:44]line Безнал.: 0.00 [21:18:44]line Место: АЗС № 85 "Партнер Нефть" [21:18:44]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:18:44]line СНО: Общий режим [21:18:44]line Чек 66 22.10.2024 21:18 [21:18:44]line Смена: 462 ФФД: 1.0 [21:18:44]line ЗНМ: 0300000166 [21:18:44]line РНМ: 0000000000098120 [21:18:44]line Версия ККМ: 001 [21:18:44]line ФМ: 0000000000965420 [21:18:44]line ФД: 24447 [21:18:44]line ФПД: 56228175571743 [21:18:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T211847&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24447&fm=56228175571743&tin=02508201610067®Number=0000000000098120&sum=3000 [21:18:44]line 0 [21:18:44]OFD Sender: Processing packet 24447 [packets to send 5, broken 4] [21:18:44]ProducePacketName [21:18:44]name=ofd_packets/00024447 [21:18:44]OFD Sender: To server: pG, [21:18:44]CommunicateWithHost lk.salyk.kg:30040 [21:18:44]ConnectInit lk.salyk.kg [21:18:44]written 0, free lines is 4095 [21:18:44]Connected sock=10 [21:18: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 1F 01 00 00 4E B5 17 01 A6 41 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 42 00 00 00 F4 03 04 00 B7 16 18 67 0E 04 04 00 CE 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 7F 5F 00 00 35 04 06 00 33 23 A4 6E 6B 1F 81 19 A2 7B 32 3A AE C2 [21:18: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 F4 54 47 00 8B 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 7F 5F 00 00 F4 03 04 00 5A C2 17 67 B6 04 01 00 00 FB ED F1 2E B1 64 B8 C4 [21:18:44]CommunicateWithHost err = 0 [21:18:44]CheckOFDResponse [21:18:44]1017 (14) - 77093643461234 [21:18:44]1041 (16) - 0000000000965420 [21:18:44]1040 (4) - 24447 [21:18:44]1012 (4) - 22.10.2024 15:18 [21:18:44]1206 (1) - 0 [21:18:44]OFD Sender: Remove packet 24447 [21:18:44]ProducePacketName [21:18:44]name=ofd_packets/00024447 [21:18:44]NVStorageDeleteData [21:18:44]Write to MH i2c: 01 00 00 B3 15 C8 [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 07 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: 01 07 00 B3 15 00 00 00 00 00 19 0D F5 [21:18:44]RasterBufferAndPrint [21:18:44]line [21:18:44]line [21:18:44]line [21:18:44]line [21:18:44]line [21:18:44]written 0, free lines is 3359 [21:18:44]process_action close_receipt done [21:18:44]requested_data is exist [21:18:44]produce_requested_data [21:18:44]requested_item fm.sn is exist - process it [21:18:44]wFMCommunicate request_size=4 [21:18:44]MH_SAM_APDU [21:18:44]CAPDU: 80 11 00 00 [21:18:44]Write to MH i2c: E2 08 00 BA 15 80 11 00 00 00 00 00 00 49 [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:18:44]Read from MH i2c: E2 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 17 00 [21:18:44]MH_I2C_Read... [21:18:44]Read from MH i2c: E2 17 00 BA 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 96 [21:18:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:18:44]wFMCommunicate OK [21:18:44]requested_item fd.num is exist - process it [21:18:44]SAM_PROTO_GetFieldsCounters [21:18:44]wFMCommunicate request_size=4 [21:18:44]MH_SAM_APDU [21:18:44]CAPDU: 80 13 00 00 [21:18:44]Write to MH i2c: E2 08 00 BB 15 80 13 00 00 00 00 00 00 4C [21:18:44]Write i2c OK [21:18:44]MH_I2C_Read... [21:18:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:18:45]Read from MH i2c: E2 [21:18:45]MH_I2C_Read... [21:18:45]Read from MH i2c: E2 62 00 [21:18:45]MH_I2C_Read... [21:18:45]Read from MH i2c: E2 62 00 BB 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 7F 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 D5 [21:18: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 7F 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:18:45]wFMCommunicate OK [21:18:45]SAM_PROTO_GetFieldsCounters done [21:18:45]requested_item shift.num is exist - process it [21:18:45]requested_item shift.opened is exist - process it [21:18:45]req_shift_opened [21:18:45]FM_GetShiftState [21:18:45]SAM_PROTO_GetShiftState [21:18:45]wFMCommunicate request_size=4 [21:18:45]MH_SAM_APDU [21:18:45]CAPDU: 80 13 01 00 [21:18:45]Write to MH i2c: E2 08 00 BC 15 80 13 01 00 00 00 00 00 4E [21:18:45]Write i2c OK [21:18:45]MH_I2C_Read... [21:18:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:18:45]Read from MH i2c: E2 [21:18:45]MH_I2C_Read... [21:18:45]Read from MH i2c: E2 0E 00 [21:18:45]MH_I2C_Read... [21:18:45]Read from MH i2c: E2 0E 00 BC 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 46 [21:18:45]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:18:45]wFMCommunicate OK [21:18:45]SAM_PROTO_GetShiftState done [21:18:45]FM_GetShiftState done [21:18:45]req_shift_opened done [21:18:45]requested_item shift.open_date is exist - process it [21:18:45]req_shift_open_date [21:18:45]req_shift_open_date done [21:18:45]produce_requested_data done [21:18:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24447,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [21:18:45]process_action_free close_receipt [21:18:45]json_value_free [21:18:45]json_value_free done [21:18:45]process_json_proto returns [21:18:45]Send response to host [21:18:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24447,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [21:18:45]free response buf [21:18:45]execute_script done [21:18:45]execute_script returns [21:18:45]free content buf [21:18:45]Sock 9.Close socket [21:18:45]Sock 9.Thread stoped [21:18:45]OFD Sender: No OFD packet to send [21:18:50]OFD Sender: No OFD packet to send [21:18:55]OFD Sender: No OFD packet to send [21:19:00]OFD Sender: No OFD packet to send [21:19:05]OFD Sender: No OFD packet to send [21:19:10]OFD Sender: No OFD packet to send [21:19:15]OFD Sender: No OFD packet to send [21:19:20]OFD Sender: No OFD packet to send [21:19:25]OFD Sender: No OFD packet to send [21:19:30]OFD Sender: No OFD packet to send [21:19:35]OFD Sender: No OFD packet to send [21:19:40]OFD Sender: No OFD packet to send [21:19:45]OFD Sender: No OFD packet to send [21:19:50]OFD Sender: No OFD packet to send [21:19:55]OFD Sender: No OFD packet to send [21:20:00]OFD Sender: No OFD packet to send [21:20:05]OFD Sender: No OFD packet to send [21:20:10]OFD Sender: No OFD packet to send [21:20:15]OFD Sender: No OFD packet to send [21:20:20]OFD Sender: No OFD packet to send [21:20:25]OFD Sender: No OFD packet to send [21:20:30]OFD Sender: No OFD packet to send [21:20:35]OFD Sender: No OFD packet to send [21:20:40]OFD Sender: No OFD packet to send [21:20:45]OFD Sender: No OFD packet to send [21:20:50]OFD Sender: No OFD packet to send [21:20:55]OFD Sender: No OFD packet to send [21:21:00]OFD Sender: No OFD packet to send [21:21:05]OFD Sender: No OFD packet to send [21:21:10]OFD Sender: No OFD packet to send [21:21:15]OFD Sender: No OFD packet to send [21:21:20]OFD Sender: No OFD packet to send [21:21:25]OFD Sender: No OFD packet to send [21:21:30]OFD Sender: No OFD packet to send [21:21:35]OFD Sender: No OFD packet to send [21:21:40]OFD Sender: No OFD packet to send [21:21:45]OFD Sender: No OFD packet to send [21:21:50]OFD Sender: No OFD packet to send [21:21:55]OFD Sender: No OFD packet to send [21:22:00]OFD Sender: No OFD packet to send [21:22:05]OFD Sender: No OFD packet to send [21:22:10]OFD Sender: No OFD packet to send [21:22:15]OFD Sender: No OFD packet to send [21:22:20]OFD Sender: No OFD packet to send [21:22:25]OFD Sender: No OFD packet to send [21:22:30]OFD Sender: No OFD packet to send [21:22:35]OFD Sender: No OFD packet to send [21:22:40]OFD Sender: No OFD packet to send [21:22:45]OFD Sender: No OFD packet to send [21:22:50]OFD Sender: No OFD packet to send [21:22:55]OFD Sender: No OFD packet to send [21:23:00]OFD Sender: No OFD packet to send [21:23:05]OFD Sender: No OFD packet to send [21:23:10]OFD Sender: No OFD packet to send [21:23:15]OFD Sender: No OFD packet to send [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:05]OFD Sender: No OFD packet to send [21:24:10]OFD Sender: No OFD packet to send [21:24:15]OFD Sender: No OFD packet to send [21:24:20]OFD Sender: No OFD packet to send [21:24:25]OFD Sender: No OFD packet to send [21:24:30]OFD Sender: No OFD packet to send [21:24:35]OFD Sender: No OFD packet to send [21:24:40]OFD Sender: No OFD packet to send [21:24:45]OFD Sender: No OFD packet to send [21:24:50]OFD Sender: No OFD packet to send [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:25]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:26]OFD Sender: No OFD packet to send [21:34:31]OFD Sender: No OFD packet to send [21:34:36]OFD Sender: No OFD packet to send [21:34:41]OFD Sender: No OFD packet to send [21:34:46]OFD Sender: No OFD packet to send [21:34:51]OFD Sender: No OFD packet to send [21:34:56]OFD Sender: No OFD packet to send [21:35:01]OFD Sender: No OFD packet to send [21:35:06]OFD Sender: No OFD packet to send [21:35:11]OFD Sender: No OFD packet to send [21:35:16]OFD Sender: No OFD packet to send [21:35:21]OFD Sender: No OFD packet to send [21:35:26]OFD Sender: No OFD packet to send [21:35:31]OFD Sender: No OFD packet to send [21:35:36]OFD Sender: No OFD packet to send [21:35:41]OFD Sender: No OFD packet to send [21:35:46]OFD Sender: No OFD packet to send [21:35:51]OFD Sender: No OFD packet to send [21:35:56]OFD Sender: No OFD packet to send [21:36:01]OFD Sender: No OFD packet to send [21:36:06]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:39:56]accept exits with 7 [21:39:56]New connection [21:39:56]New thread 3067596132 created [21:39:56]Thread 3067452772 joined [21:39:56]Waiting for new connection... [21:39:56] Sock 7.Parse request [21:39:56]Sock 7.Check first char [21:39:56]Sock 7.First char is OK [21:39:56]request: POST /json_proto HTTP/1.0 [21:39:56]Method: POST [21:39:56]URL: /json_proto [21:39:56]Method is POST - this is cgi request [21:39:56]url: /json_proto [21:39:56]query_string will be loaded in cgi processing [21:39:56]execute_cgi json_proto POST (null) [21:39:56]execute_cgi path=json_proto method=POST [21:39:56]POST find Content-Length [21:39:56]Host: 172.17.50.4:8080 [21:39:56]Content-Length: 632 [21:39:56]Content-Type: application/json [21:39:56] [21:39:56]POST finish read [21:39:56]Found Content-Length = 632 [21:39:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134964", "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" ] } } [21:39:56]execute_script... [21:39:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134964", "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" ] } } [21:39:56]POST & json_proto [21:39:56]process_json_proto [21:39:56]json parsed OK: [21:39:56]protocol is kg_v1.0 [21:39:56]action value=close_receipt [21:39:56]process_action close_receipt [21:39:56]cmd_close_receipt [21:39:56]MH_GetDate [21:39:56]Write to MH i2c: F0 00 00 BD 15 C1 [21:39:56]Write i2c OK [21:39:56]MH_I2C_Read... [21:39:56]Read from MH i2c: F0 [21:39:56]MH_I2C_Read... [21:39:56]Read from MH i2c: F0 09 00 [21:39:56]MH_I2C_Read... [21:39:56]Read from MH i2c: F0 09 00 BD 15 00 B1 1B 18 67 3B 12 16 67 DF [21:39:56]GetLastDocTimeStamp 1729631927 [21:39:56]current date 1729633201 [21:39:56]FM_GetShiftState [21:39:56]SAM_PROTO_GetShiftState [21:39:56]wFMCommunicate request_size=4 [21:39:56]MH_SAM_APDU [21:39:56]CAPDU: 80 13 01 00 [21:39:56]Write to MH i2c: E2 08 00 BE 15 80 13 01 00 00 00 00 00 50 [21:39:56]Write i2c OK [21:39:56]MH_I2C_Read... [21:39:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:39:56]Read from MH i2c: E2 [21:39:56]MH_I2C_Read... [21:39:56]Read from MH i2c: E2 0E 00 [21:39:56]MH_I2C_Read... [21:39:56]Read from MH i2c: E2 0E 00 BE 15 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 48 [21:39:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:39:56]wFMCommunicate OK [21:39:56]SAM_PROTO_GetShiftState done [21:39:56]FM_GetShiftState done [21:39:56]opened in 1729555332 [21:39:56]opened+sec_in_day 1729641732 [21:39:56]quantity*price = 6000 [21:39:56]sum+1 = 6001 [21:39:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 67 22.10.2024 21:40 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24448 ФПД: 86455730620860 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T214001&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24448&fm=86455730620860&tin=02508201610067®Number=0000000000098120&sum=6000 0 [21:39:57]StoreToDocumentArchive [21:39:57]shift 462 fd 24448 [21:39:57]save to /storage/0462/doc_00024448 [21:39:57]save last doc name /storage/0462/doc_00024448 to /storage/kkm_last_doc_name [21:39:57]save OK [21:39:57]Clear old archive folders... [21:39:57]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:39:57]tlvbuf is B6F77BF0 [21:39:57]SAM_PROTO_ClearQueue [21:39:57]wFMCommunicate request_size=4 [21:39:57]MH_SAM_APDU [21:39:57]CAPDU: 80 09 00 00 [21:39:57]Write to MH i2c: E2 08 00 CB 15 80 09 00 00 00 00 00 00 52 [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:39:57]Read from MH i2c: E2 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 CB 15 00 90 00 54 [21:39:57]RAPDU: 90 00 [21:39:57]wFMCommunicate OK [21:39:57]SAM_PROTO_ClearQueue done [21:39:57]KKMCreateOFDPacket [21:39:57]OFDProtocolAddRootSTLVToBuf [21:39:57]FM_MakeSignedData [21:39:57]FM_MakeSignedData [21:39:57]SAM_PROTO_SignData [21:39:57]wFMCommunicate request_size=4 [21:39:57]MH_SAM_APDU [21:39:57]CAPDU: 80 0D 01 02 [21:39:57]Write to MH i2c: E2 08 00 CC 15 80 0D 01 02 00 00 00 00 5A [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:39:57]Read from MH i2c: E2 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 CC 15 00 90 00 55 [21:39:57]RAPDU: 90 00 [21:39:57]wFMCommunicate OK [21:39:57]wFMCommunicate request_size=255 [21:39:57]MH_SAM_APDU [21:39:57]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 43 00 00 00 F4 03 04 00 B1 1B 18 67 0E 04 04 00 CE 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 [21:39:57]Write to MH i2c: E2 02 01 CD 15 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 43 00 00 00 F4 03 04 00 B1 1B 18 67 0E 04 04 00 CE 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 08 [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:39:57]Read from MH i2c: E2 03 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 CD 15 00 90 00 56 [21:39:57]RAPDU: 90 00 [21:39:57]wFMCommunicate OK [21:39:57]wFMCommunicate request_size=30 [21:39:57]MH_SAM_APDU [21:39:57]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 80 5F 00 00 35 04 06 00 4E A1 8B 1C C9 BC [21:39:57]Write to MH i2c: E2 21 00 CE 15 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 80 5F 00 00 35 04 06 00 4E A1 8B 1C C9 BC 00 00 4A [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:39:57]Read from MH i2c: E2 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 [21:39:57]MH_I2C_Read... [21:39:57]Read from MH i2c: E2 03 00 CE 15 00 90 00 57 [21:39:57]RAPDU: 90 00 [21:39:57]wFMCommunicate OK [21:39:57]wFMCommunicate request_size=4 [21:39:57]MH_SAM_APDU [21:39:57]CAPDU: 80 0D 03 02 [21:39:57]Write to MH i2c: E2 08 00 CF 15 80 0D 03 02 00 00 00 00 5F [21:39:57]Write i2c OK [21:39:57]MH_I2C_Read... [21:39:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:39:58]Read from MH i2c: E2 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 0B 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 0B 00 CF 15 00 DE 2A B7 64 4F FF 84 0E 90 00 63 [21:39:58]RAPDU: DE 2A B7 64 4F FF 84 0E 90 00 [21:39:58]wFMCommunicate OK [21:39:58]SAM_PROTO_SignData done [21:39:58]FM_MakeSignedData done [21:39:58]CreateOFDProtocolMessage [21:39:58]wFMCommunicate request_size=4 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 11 00 00 [21:39:58]Write to MH i2c: E2 08 00 D0 15 80 11 00 00 00 00 00 00 5F [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:39:58]Read from MH i2c: E2 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 17 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 17 00 D0 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 AC [21:39:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:39:58]wFMCommunicate OK [21:39:58]CreateOFDProtocolMessage done [21:39:58]OFDSenderStorePacket 24448 [21:39:58]StoreOFDPacket docnum=24448 [21:39:58]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 68 96 1B 01 46 DC 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 43 00 00 00 F4 03 04 00 B1 1B 18 67 0E 04 04 00 CE 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 80 5F 00 00 35 04 06 00 4E A1 8B 1C C9 BC DE 2A B7 64 4F FF 84 0E [21:39:58]CheckFolder [21:39:58]dirname=/storage/ofd_packets [21:39:58]CheckFolder done [21:39:58]ProducePacketName [21:39:58]name=ofd_packets/00024448 [21:39:58]NVStorageSaveData ofd_packets/00024448 [21:39:58]File name is /storage/ofd_packets/00024448 [21:39:58]Write 321 bytes [21:39:58]NVStorageSaveData done [21:39:58]OFDSenderStorePacket done [21:39:58]KKMCreateOFDPacket done [21:39:58]NVStorageSaveData kkm_last_timestamp [21:39:58]File name is /storage/kkm_last_timestamp [21:39:58]Write 4 bytes [21:39:58]NVStorageSaveData done [21:39:58]ExternCall_PrintAddStr [21:39:58]wPrintStart [21:39:58]Write to MH i2c: 01 00 00 D1 15 E6 [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 07 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 07 00 D1 15 00 00 00 00 00 FF 0F FB [21:39:58]RasterBufferAndPrint [21:39:58]line Счет N : (3)134964 [21:39:58]line ИНН: 02508201610067 [21:39:58]line Контрольно-Кассовый Чек [21:39:58]line ПРОДАЖА [21:39:58]line Товар: 4700025313937 [21:39:58]line ВОДКА МЯГКАЯ 0,1л [21:39:58]line 1.000 * 60.00 [21:39:58]line = 60.00 [21:39:58]line НДС 12% НСП 1% [21:39:58]line > о реализуемом товаре [21:39:58]line ИТОГО: 60.00 [21:39:58]line НСП 1% : 0.53 [21:39:58]line НДС 12% : 6.37 [21:39:58]line Наличными: 60.00 [21:39:58]line Безнал.: 0.00 [21:39:58]line Место: АЗС № 85 "Партнер Нефть" [21:39:58]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [21:39:58]line СНО: Общий режим [21:39:58]line Чек 67 22.10.2024 21:40 [21:39:58]line Смена: 462 ФФД: 1.0 [21:39:58]line ЗНМ: 0300000166 [21:39:58]line РНМ: 0000000000098120 [21:39:58]line Версия ККМ: 001 [21:39:58]line ФМ: 0000000000965420 [21:39:58]line ФД: 24448 [21:39:58]line ФПД: 86455730620860 [21:39:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T214001&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24448&fm=86455730620860&tin=02508201610067®Number=0000000000098120&sum=6000 [21:39:58]line 0 [21:39:58]OFD Sender: Processing packet 24448 [packets to send 5, broken 4] [21:39:58]ProducePacketName [21:39:58]name=ofd_packets/00024448 [21:39:58]OFD Sender: To server: pG, [21:39:58]CommunicateWithHost lk.salyk.kg:30040 [21:39:58]ConnectInit lk.salyk.kg [21:39:58]written 0, free lines is 4095 [21:39:58]Connected sock=10 [21:39:58]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 68 96 1B 01 46 DC 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 43 00 00 00 F4 03 04 00 B1 1B 18 67 0E 04 04 00 CE 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 80 5F 00 00 35 04 06 00 4E A1 8B 1C C9 BC DE 2A B7 64 4F FF 84 0E [21:39:58]Write to MH i2c: 01 00 00 F9 15 0E [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 07 00 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: 01 07 00 F9 15 00 00 00 00 00 1D 0D 3F [21:39:58]RasterBufferAndPrint [21:39:58]line [21:39:58]line [21:39:58]line [21:39:58]line [21:39:58]line [21:39:58]written 0, free lines is 3362 [21:39:58]process_action close_receipt done [21:39:58]requested_data is exist [21:39:58]produce_requested_data [21:39:58]requested_item fm.sn is exist - process it [21:39:58]wFMCommunicate request_size=4 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 11 00 00 [21:39:58]Write to MH i2c: E2 08 00 00 16 80 11 00 00 00 00 00 00 90 [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:58]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 51 57 47 00 13 C3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 80 5F 00 00 F4 03 04 00 54 C7 17 67 B6 04 01 00 00 C2 4F F8 84 BB 27 9E 86 [21:39:58]CommunicateWithHost err = 0 [21:39:58]CheckOFDResponse [21:39:58]1017 (14) - 77093643461234 [21:39:58]1041 (16) - 0000000000965420 [21:39:58]1040 (4) - 24448 [21:39:58]1012 (4) - 22.10.2024 15:40 [21:39:58]1206 (1) - 0 [21:39:58]OFD Sender: Remove packet 24448 [21:39:58]ProducePacketName [21:39:58]name=ofd_packets/00024448 [21:39:58]NVStorageDeleteData [21:39:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:39:58]Read from MH i2c: E2 [21:39:58]MH_I2C_Read... [21:39:58]Read from MH i2c: E2 17 00 [21:39:58]MH_I2C_Read... [21:39:58]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 [21:39:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [21:39:58]wFMCommunicate OK [21:39:58]requested_item fd.num is exist - process it [21:39:58]SAM_PROTO_GetFieldsCounters [21:39:58]wFMCommunicate request_size=4 [21:39:58]MH_SAM_APDU [21:39:58]CAPDU: 80 13 00 00 [21:39:58]Write to MH i2c: E2 08 00 01 16 80 13 00 00 00 00 00 00 93 [21:39:58]Write i2c OK [21:39:58]MH_I2C_Read... [21:39:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 62 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 62 00 01 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 80 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [21:39:59]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 80 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:39:59]wFMCommunicate OK [21:39:59]SAM_PROTO_GetFieldsCounters done [21:39:59]requested_item shift.num is exist - process it [21:39:59]requested_item shift.opened is exist - process it [21:39:59]req_shift_opened [21:39:59]FM_GetShiftState [21:39:59]SAM_PROTO_GetShiftState [21:39:59]wFMCommunicate request_size=4 [21:39:59]MH_SAM_APDU [21:39:59]CAPDU: 80 13 01 00 [21:39:59]Write to MH i2c: E2 08 00 02 16 80 13 01 00 00 00 00 00 95 [21:39:59]Write i2c OK [21:39:59]MH_I2C_Read... [21:39:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:39:59]Read from MH i2c: E2 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 0E 00 [21:39:59]MH_I2C_Read... [21:39:59]Read from MH i2c: E2 0E 00 02 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8D [21:39:59]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [21:39:59]wFMCommunicate OK [21:39:59]SAM_PROTO_GetShiftState done [21:39:59]FM_GetShiftState done [21:39:59]req_shift_opened done [21:39:59]requested_item shift.open_date is exist - process it [21:39:59]req_shift_open_date [21:39:59]req_shift_open_date done [21:39:59]produce_requested_data done [21:39:59]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24448,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [21:39:59]process_action_free close_receipt [21:39:59]json_value_free [21:39:59]json_value_free done [21:39:59]process_json_proto returns [21:39:59]Send response to host [21:39:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24448,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [21:39:59]free response buf [21:39:59]execute_script done [21:39:59]execute_script returns [21:39:59]free content buf [21:39:59]Sock 7.Close socket [21:39:59]Sock 7.Thread stoped [21:39:59]OFD Sender: No OFD packet to send [21:40:04]OFD Sender: No OFD packet to send [21:40:09]OFD Sender: No OFD packet to send [21:40:14]OFD Sender: No OFD packet to send [21:40:19]OFD Sender: No OFD packet to send [21:40:24]OFD Sender: No OFD packet to send [21:40:29]OFD Sender: No OFD packet to send [21:40:34]OFD Sender: No OFD packet to send [21:40:39]OFD Sender: No OFD packet to send [21:40:44]OFD Sender: No OFD packet to send [21:40:49]OFD Sender: No OFD packet to send [21:40:54]OFD Sender: No OFD packet to send [21:40:59]OFD Sender: No OFD packet to send [21:41:04]OFD Sender: No OFD packet to send [21:41:09]OFD Sender: No OFD packet to send [21:41:14]OFD Sender: No OFD packet to send [21:41:19]OFD Sender: No OFD packet to send [21:41:24]OFD Sender: No OFD packet to send [21:41:29]OFD Sender: No OFD packet to send [21:41:34]OFD Sender: No OFD packet to send [21:41:39]OFD Sender: No OFD packet to send [21:41:44]OFD Sender: No OFD packet to send [21:41:49]OFD Sender: No OFD packet to send [21:41:54]OFD Sender: No OFD packet to send [21:41:59]OFD Sender: No OFD packet to send [21:42:04]OFD Sender: No OFD packet to send [21:42:09]OFD Sender: No OFD packet to send [21:42:14]OFD Sender: No OFD packet to send [21:42:19]OFD Sender: No OFD packet to send [21:42:24]OFD Sender: No OFD packet to send [21:42:29]OFD Sender: No OFD packet to send [21:42:34]OFD Sender: No OFD packet to send [21:42:39]OFD Sender: No OFD packet to send [21:42:44]OFD Sender: No OFD packet to send [21:42:49]OFD Sender: No OFD packet to send [21:42:54]OFD Sender: No OFD packet to send [21:42:59]OFD Sender: No OFD packet to send [21:43:04]OFD Sender: No OFD packet to send [21:43:09]OFD Sender: No OFD packet to send [21:43:14]OFD Sender: No OFD packet to send [21:43:19]OFD Sender: No OFD packet to send [21:43:24]OFD Sender: No OFD packet to send [21:43:29]OFD Sender: No OFD packet to send [21:43:34]OFD Sender: No OFD packet to send [21:43:39]OFD Sender: No OFD packet to send [21:43:44]OFD Sender: No OFD packet to send [21:43:49]OFD Sender: No OFD packet to send [21:43:54]OFD Sender: No OFD packet to send [21:43:59]OFD Sender: No OFD packet to send [21:44:04]OFD Sender: No OFD packet to send [21:44:09]OFD Sender: No OFD packet to send [21:44:14]OFD Sender: No OFD packet to send [21:44:19]OFD Sender: No OFD packet to send [21:44:24]OFD Sender: No OFD packet to send [21:44:29]OFD Sender: No OFD packet to send [21:44:34]OFD Sender: No OFD packet to send [21:44:39]OFD Sender: No OFD packet to send [21:44:44]OFD Sender: No OFD packet to send [21:44:49]OFD Sender: No OFD packet to send [21:44:54]OFD Sender: No OFD packet to send [21:44:59]OFD Sender: No OFD packet to send [21:45:04]OFD Sender: No OFD packet to send [21:45:09]OFD Sender: No OFD packet to send [21:45:14]OFD Sender: No OFD packet to send [21:45:19]OFD Sender: No OFD packet to send [21:45:24]OFD Sender: No OFD packet to send [21:45:29]OFD Sender: No OFD packet to send [21:45:34]OFD Sender: No OFD packet to send [21:45:39]OFD Sender: No OFD packet to send [21:45:44]OFD Sender: No OFD packet to send [21:45:49]OFD Sender: No OFD packet to send [21:45:54]OFD Sender: No OFD packet to send [21:45:59]OFD Sender: No OFD packet to send [21:46:04]OFD Sender: No OFD packet to send [21:46:09]OFD Sender: No OFD packet to send [21:46:14]OFD Sender: No OFD packet to send [21:46:19]OFD Sender: No OFD packet to send [21:46:24]OFD Sender: No OFD packet to send [21:46:29]OFD Sender: No OFD packet to send [21:46:34]OFD Sender: No OFD packet to send [21:46:39]OFD Sender: No OFD packet to send [21:46:44]OFD Sender: No OFD packet to send [21:46:49]OFD Sender: No OFD packet to send [21:46:54]OFD Sender: No OFD packet to send [21:46:59]OFD Sender: No OFD packet to send [21:47:04]OFD Sender: No OFD packet to send [21:47:09]OFD Sender: No OFD packet to send [21:47:14]OFD Sender: No OFD packet to send [21:47:19]OFD Sender: No OFD packet to send [21:47:24]OFD Sender: No OFD packet to send [21:47:29]OFD Sender: No OFD packet to send [21:47:34]OFD Sender: No OFD packet to send [21:47:39]OFD Sender: No OFD packet to send [21:47:44]OFD Sender: No OFD packet to send [21:47:49]OFD Sender: No OFD packet to send [21:47:54]OFD Sender: No OFD packet to send [21:47:59]OFD Sender: No OFD packet to send [21:48:04]OFD Sender: No OFD packet to send [21:48:09]OFD Sender: No OFD packet to send [21:48:14]OFD Sender: No OFD packet to send [21:48:19]OFD Sender: No OFD packet to send [21:48:24]OFD Sender: No OFD packet to send [21:48:29]OFD Sender: No OFD packet to send [21:48:34]OFD Sender: No OFD packet to send [21:48:39]OFD Sender: No OFD packet to send [21:48:44]OFD Sender: No OFD packet to send [21:48:49]OFD Sender: No OFD packet to send [21:48:54]OFD Sender: No OFD packet to send [21:48:59]OFD Sender: No OFD packet to send [21:49:04]OFD Sender: No OFD packet to send [21:49:09]OFD Sender: No OFD packet to send [21:49:14]OFD Sender: No OFD packet to send [21:49:19]OFD Sender: No OFD packet to send [21:49:24]OFD Sender: No OFD packet to send [21:49:29]OFD Sender: No OFD packet to send [21:49:34]OFD Sender: No OFD packet to send [21:49:39]OFD Sender: No OFD packet to send [21:49:44]OFD Sender: No OFD packet to send [21:49:49]OFD Sender: No OFD packet to send [21:49:54]OFD Sender: No OFD packet to send [21:49:59]OFD Sender: No OFD packet to send [21:50:04]OFD Sender: No OFD packet to send [21:50:09]OFD Sender: No OFD packet to send [21:50:14]OFD Sender: No OFD packet to send [21:50:19]OFD Sender: No OFD packet to send [21:50:24]OFD Sender: No OFD packet to send [21:50:29]OFD Sender: No OFD packet to send [21:50:34]OFD Sender: No OFD packet to send [21:50:39]OFD Sender: No OFD packet to send [21:50:44]OFD Sender: No OFD packet to send [21:50:49]OFD Sender: No OFD packet to send [21:50:54]OFD Sender: No OFD packet to send [21:50:59]OFD Sender: No OFD packet to send [21:51:04]OFD Sender: No OFD packet to send [21:51:09]OFD Sender: No OFD packet to send [21:51:14]OFD Sender: No OFD packet to send [21:51:19]OFD Sender: No OFD packet to send [21:51:24]OFD Sender: No OFD packet to send [21:51:29]OFD Sender: No OFD packet to send [21:51:34]OFD Sender: No OFD packet to send [21:51:39]OFD Sender: No OFD packet to send [21:51:44]OFD Sender: No OFD packet to send [21:51:49]OFD Sender: No OFD packet to send [21:51:54]OFD Sender: No OFD packet to send [21:51:59]OFD Sender: No OFD packet to send [21:52:04]OFD Sender: No OFD packet to send [21:52:09]OFD Sender: No OFD packet to send [21:52:14]OFD Sender: No OFD packet to send [21:52:19]OFD Sender: No OFD packet to send [21:52:24]OFD Sender: No OFD packet to send [21:52:29]OFD Sender: No OFD packet to send [21:52:34]OFD Sender: No OFD packet to send [21:52:39]OFD Sender: No OFD packet to send [21:52:44]OFD Sender: No OFD packet to send [21:52:49]OFD Sender: No OFD packet to send [21:52:54]OFD Sender: No OFD packet to send [21:52:59]OFD Sender: No OFD packet to send [21:53:04]OFD Sender: No OFD packet to send [21:53:09]OFD Sender: No OFD packet to send [21:53:14]OFD Sender: No OFD packet to send [21:53:19]OFD Sender: No OFD packet to send [21:53:24]OFD Sender: No OFD packet to send [21:53:29]OFD Sender: No OFD packet to send [21:53:34]OFD Sender: No OFD packet to send [21:53:39]OFD Sender: No OFD packet to send [21:53:45]OFD Sender: No OFD packet to send [21:53:50]OFD Sender: No OFD packet to send [21:53:55]OFD Sender: No OFD packet to send [21:54:00]OFD Sender: No OFD packet to send [21:54:05]OFD Sender: No OFD packet to send [21:54:10]OFD Sender: No OFD packet to send [21:54:15]OFD Sender: No OFD packet to send [21:54:20]OFD Sender: No OFD packet to send [21:54:25]OFD Sender: No OFD packet to send [21:54:30]OFD Sender: No OFD packet to send [21:54:35]OFD Sender: No OFD packet to send [21:54:40]OFD Sender: No OFD packet to send [21:54:45]OFD Sender: No OFD packet to send [21:54:50]OFD Sender: No OFD packet to send [21:54:55]OFD Sender: No OFD packet to send [21:55:00]OFD Sender: No OFD packet to send [21:55:05]OFD Sender: No OFD packet to send [21:55:10]OFD Sender: No OFD packet to send [21:55:15]OFD Sender: No OFD packet to send [21:55:20]OFD Sender: No OFD packet to send [21:55:25]OFD Sender: No OFD packet to send [21:55:30]OFD Sender: No OFD packet to send [21:55:35]OFD Sender: No OFD packet to send [21:55:40]OFD Sender: No OFD packet to send [21:55:45]OFD Sender: No OFD packet to send [21:55:50]OFD Sender: No OFD packet to send [21:55:55]OFD Sender: No OFD packet to send [21:56:00]OFD Sender: No OFD packet to send [21:56:05]OFD Sender: No OFD packet to send [21:56:10]OFD Sender: No OFD packet to send [21:56:15]OFD Sender: No OFD packet to send [21:56:20]OFD Sender: No OFD packet to send [21:56:25]OFD Sender: No OFD packet to send [21:56:30]OFD Sender: No OFD packet to send [21:56:35]OFD Sender: No OFD packet to send [21:56:40]OFD Sender: No OFD packet to send [21:56:45]OFD Sender: No OFD packet to send [21:56:50]OFD Sender: No OFD packet to send [21:56:55]OFD Sender: No OFD packet to send [21:57:00]OFD Sender: No OFD packet to send [21:57:05]OFD Sender: No OFD packet to send [21:57:10]OFD Sender: No OFD packet to send [21:57:15]OFD Sender: No OFD packet to send [21:57:20]OFD Sender: No OFD packet to send [21:57:25]OFD Sender: No OFD packet to send [21:57:30]OFD Sender: No OFD packet to send [21:57:35]OFD Sender: No OFD packet to send [21:57:40]OFD Sender: No OFD packet to send [21:57:45]OFD Sender: No OFD packet to send [21:57:50]OFD Sender: No OFD packet to send [21:57:55]OFD Sender: No OFD packet to send [21:58:00]OFD Sender: No OFD packet to send [21:58:05]OFD Sender: No OFD packet to send [21:58:10]OFD Sender: No OFD packet to send [21:58:15]OFD Sender: No OFD packet to send [21:58:20]OFD Sender: No OFD packet to send [21:58:25]OFD Sender: No OFD packet to send [21:58:30]OFD Sender: No OFD packet to send [21:58:35]OFD Sender: No OFD packet to send [21:58:40]OFD Sender: No OFD packet to send [21:58:45]OFD Sender: No OFD packet to send [21:58:50]OFD Sender: No OFD packet to send [21:58:55]OFD Sender: No OFD packet to send [21:59:00]OFD Sender: No OFD packet to send [21:59:05]OFD Sender: No OFD packet to send [21:59:10]OFD Sender: No OFD packet to send [21:59:15]OFD Sender: No OFD packet to send [21:59:20]OFD Sender: No OFD packet to send [21:59:25]OFD Sender: No OFD packet to send [21:59:30]OFD Sender: No OFD packet to send [21:59:35]OFD Sender: No OFD packet to send [21:59:40]OFD Sender: No OFD packet to send [21:59:45]OFD Sender: No OFD packet to send [21:59:50]OFD Sender: No OFD packet to send [21:59:55]OFD Sender: No OFD packet to send [22:00:00]OFD Sender: No OFD packet to send [22:00:05]OFD Sender: No OFD packet to send [22:00:10]OFD Sender: No OFD packet to send [22:00:15]OFD Sender: No OFD packet to send [22:00:20]OFD Sender: No OFD packet to send [22:00:25]OFD Sender: No OFD packet to send [22:00:30]OFD Sender: No OFD packet to send [22:00:35]OFD Sender: No OFD packet to send [22:00:40]OFD Sender: No OFD packet to send [22:00:45]OFD Sender: No OFD packet to send [22:00:50]OFD Sender: No OFD packet to send [22:00:55]OFD Sender: No OFD packet to send [22:01:00]OFD Sender: No OFD packet to send [22:01:05]OFD Sender: No OFD packet to send [22:01:10]OFD Sender: No OFD packet to send [22:01:15]OFD Sender: No OFD packet to send [22:01:20]OFD Sender: No OFD packet to send [22:01:25]OFD Sender: No OFD packet to send [22:01:30]OFD Sender: No OFD packet to send [22:01:35]OFD Sender: No OFD packet to send [22:01:40]OFD Sender: No OFD packet to send [22:01:45]OFD Sender: No OFD packet to send [22:01:50]OFD Sender: No OFD packet to send [22:01:55]OFD Sender: No OFD packet to send [22:02:00]OFD Sender: No OFD packet to send [22:02:05]OFD Sender: No OFD packet to send [22:02:10]OFD Sender: No OFD packet to send [22:02:15]OFD Sender: No OFD packet to send [22:02:20]OFD Sender: No OFD packet to send [22:02:25]OFD Sender: No OFD packet to send [22:02:30]OFD Sender: No OFD packet to send [22:02:35]OFD Sender: No OFD packet to send [22:02:40]OFD Sender: No OFD packet to send [22:02:45]OFD Sender: No OFD packet to send [22:02:50]OFD Sender: No OFD packet to send [22:02:55]OFD Sender: No OFD packet to send [22:03:00]OFD Sender: No OFD packet to send [22:03:05]OFD Sender: No OFD packet to send [22:03:10]OFD Sender: No OFD packet to send [22:03:15]OFD Sender: No OFD packet to send [22:03:20]OFD Sender: No OFD packet to send [22:03:25]OFD Sender: No OFD packet to send [22:03:30]OFD Sender: No OFD packet to send [22:03:35]OFD Sender: No OFD packet to send [22:03:40]OFD Sender: No OFD packet to send [22:03:45]OFD Sender: No OFD packet to send [22:03:50]OFD Sender: No OFD packet to send [22:03:55]OFD Sender: No OFD packet to send [22:04:00]OFD Sender: No OFD packet to send [22:04:05]OFD Sender: No OFD packet to send [22:04:10]OFD Sender: No OFD packet to send [22:04:15]OFD Sender: No OFD packet to send [22:04:20]OFD Sender: No OFD packet to send [22:04:25]OFD Sender: No OFD packet to send [22:04:30]OFD Sender: No OFD packet to send [22:04:35]OFD Sender: No OFD packet to send [22:04:40]OFD Sender: No OFD packet to send [22:04:45]OFD Sender: No OFD packet to send [22:04:50]OFD Sender: No OFD packet to send [22:04:55]OFD Sender: No OFD packet to send [22:05:00]OFD Sender: No OFD packet to send [22:05:05]OFD Sender: No OFD packet to send [22:05:10]OFD Sender: No OFD packet to send [22:05:15]OFD Sender: No OFD packet to send [22:05:20]OFD Sender: No OFD packet to send [22:05:25]OFD Sender: No OFD packet to send [22:05:30]OFD Sender: No OFD packet to send [22:05:35]OFD Sender: No OFD packet to send [22:05:40]OFD Sender: No OFD packet to send [22:05:45]OFD Sender: No OFD packet to send [22:05:50]OFD Sender: No OFD packet to send [22:05:55]OFD Sender: No OFD packet to send [22:06:00]OFD Sender: No OFD packet to send [22:06:05]OFD Sender: No OFD packet to send [22:06:10]OFD Sender: No OFD packet to send [22:06:15]OFD Sender: No OFD packet to send [22:06:20]OFD Sender: No OFD packet to send [22:06:25]OFD Sender: No OFD packet to send [22:06:30]OFD Sender: No OFD packet to send [22:06:35]OFD Sender: No OFD packet to send [22:06:40]OFD Sender: No OFD packet to send [22:06:45]OFD Sender: No OFD packet to send [22:06:50]OFD Sender: No OFD packet to send [22:06:55]OFD Sender: No OFD packet to send [22:07:00]OFD Sender: No OFD packet to send [22:07:05]OFD Sender: No OFD packet to send [22:07:10]OFD Sender: No OFD packet to send [22:07:15]OFD Sender: No OFD packet to send [22:07:20]OFD Sender: No OFD packet to send [22:07:25]OFD Sender: No OFD packet to send [22:07:30]OFD Sender: No OFD packet to send [22:07:35]OFD Sender: No OFD packet to send [22:07:40]OFD Sender: No OFD packet to send [22:07:45]OFD Sender: No OFD packet to send [22:07:50]OFD Sender: No OFD packet to send [22:07:55]OFD Sender: No OFD packet to send [22:08:00]OFD Sender: No OFD packet to send [22:08:05]OFD Sender: No OFD packet to send [22:08:10]OFD Sender: No OFD packet to send [22:08:15]OFD Sender: No OFD packet to send [22:08:20]OFD Sender: No OFD packet to send [22:08:25]OFD Sender: No OFD packet to send [22:08:30]OFD Sender: No OFD packet to send [22:08:35]OFD Sender: No OFD packet to send [22:08:40]OFD Sender: No OFD packet to send [22:08:45]OFD Sender: No OFD packet to send [22:08:50]OFD Sender: No OFD packet to send [22:08:55]OFD Sender: No OFD packet to send [22:09:00]OFD Sender: No OFD packet to send [22:09:05]OFD Sender: No OFD packet to send [22:09:10]OFD Sender: No OFD packet to send [22:09:15]OFD Sender: No OFD packet to send [22:09:20]OFD Sender: No OFD packet to send [22:09:25]OFD Sender: No OFD packet to send [22:09:30]OFD Sender: No OFD packet to send [22:09:35]OFD Sender: No OFD packet to send [22:09:40]OFD Sender: No OFD packet to send [22:09:45]OFD Sender: No OFD packet to send [22:09:50]OFD Sender: No OFD packet to send [22:09:55]OFD Sender: No OFD packet to send [22:10:00]OFD Sender: No OFD packet to send [22:10:05]OFD Sender: No OFD packet to send [22:10:10]OFD Sender: No OFD packet to send [22:10:15]OFD Sender: No OFD packet to send [22:10:20]OFD Sender: No OFD packet to send [22:10:25]OFD Sender: No OFD packet to send [22:10:30]OFD Sender: No OFD packet to send [22:10:35]OFD Sender: No OFD packet to send [22:10:40]OFD Sender: No OFD packet to send [22:10:45]OFD Sender: No OFD packet to send [22:10:50]OFD Sender: No OFD packet to send [22:10:55]OFD Sender: No OFD packet to send [22:11:00]OFD Sender: No OFD packet to send [22:11:05]OFD Sender: No OFD packet to send [22:11:10]OFD Sender: No OFD packet to send [22:11:15]OFD Sender: No OFD packet to send [22:11:20]OFD Sender: No OFD packet to send [22:11:25]OFD Sender: No OFD packet to send [22:11:30]OFD Sender: No OFD packet to send [22:11:35]OFD Sender: No OFD packet to send [22:11:40]OFD Sender: No OFD packet to send [22:11:45]OFD Sender: No OFD packet to send [22:11:50]OFD Sender: No OFD packet to send [22:11:55]OFD Sender: No OFD packet to send [22:12:00]OFD Sender: No OFD packet to send [22:12:05]OFD Sender: No OFD packet to send [22:12:10]OFD Sender: No OFD packet to send [22:12:15]OFD Sender: No OFD packet to send [22:12:20]OFD Sender: No OFD packet to send [22:12:25]OFD Sender: No OFD packet to send [22:12:30]OFD Sender: No OFD packet to send [22:12:35]OFD Sender: No OFD packet to send [22:12:40]OFD Sender: No OFD packet to send [22:12:45]OFD Sender: No OFD packet to send [22:12:50]OFD Sender: No OFD packet to send [22:12:55]OFD Sender: No OFD packet to send [22:13:00]OFD Sender: No OFD packet to send [22:13:05]OFD Sender: No OFD packet to send [22:13:10]OFD Sender: No OFD packet to send [22:13:15]OFD Sender: No OFD packet to send [22:13:20]OFD Sender: No OFD packet to send [22:13:25]OFD Sender: No OFD packet to send [22:13:30]OFD Sender: No OFD packet to send [22:13:35]OFD Sender: No OFD packet to send [22:13:40]OFD Sender: No OFD packet to send [22:13:45]OFD Sender: No OFD packet to send [22:13:50]OFD Sender: No OFD packet to send [22:13:55]OFD Sender: No OFD packet to send [22:14:00]OFD Sender: No OFD packet to send [22:14:05]OFD Sender: No OFD packet to send [22:14:10]OFD Sender: No OFD packet to send [22:14:15]OFD Sender: No OFD packet to send [22:14:20]OFD Sender: No OFD packet to send [22:14:25]OFD Sender: No OFD packet to send [22:14:30]OFD Sender: No OFD packet to send [22:14:35]OFD Sender: No OFD packet to send [22:14:40]OFD Sender: No OFD packet to send [22:14:45]OFD Sender: No OFD packet to send [22:14:50]OFD Sender: No OFD packet to send [22:14:55]OFD Sender: No OFD packet to send [22:15:00]OFD Sender: No OFD packet to send [22:15:05]OFD Sender: No OFD packet to send [22:15:10]OFD Sender: No OFD packet to send [22:15:16]OFD Sender: No OFD packet to send [22:15:21]OFD Sender: No OFD packet to send [22:15:26]OFD Sender: No OFD packet to send [22:15:31]OFD Sender: No OFD packet to send [22:15:36]OFD Sender: No OFD packet to send [22:15:41]OFD Sender: No OFD packet to send [22:15:46]OFD Sender: No OFD packet to send [22:15:51]OFD Sender: No OFD packet to send [22:15:56]OFD Sender: No OFD packet to send [22:16:01]OFD Sender: No OFD packet to send [22:16:06]OFD Sender: No OFD packet to send [22:16:11]OFD Sender: No OFD packet to send [22:16:16]OFD Sender: No OFD packet to send [22:16:21]OFD Sender: No OFD packet to send [22:16:26]OFD Sender: No OFD packet to send [22:16:31]OFD Sender: No OFD packet to send [22:16:36]OFD Sender: No OFD packet to send [22:16:41]OFD Sender: No OFD packet to send [22:16:46]OFD Sender: No OFD packet to send [22:16:51]OFD Sender: No OFD packet to send [22:16:56]OFD Sender: No OFD packet to send [22:17:01]OFD Sender: No OFD packet to send [22:17:06]OFD Sender: No OFD packet to send [22:17:11]OFD Sender: No OFD packet to send [22:17:16]OFD Sender: No OFD packet to send [22:17:21]OFD Sender: No OFD packet to send [22:17:26]OFD Sender: No OFD packet to send [22:17:31]OFD Sender: No OFD packet to send [22:17:36]OFD Sender: No OFD packet to send [22:17:41]OFD Sender: No OFD packet to send [22:17:46]OFD Sender: No OFD packet to send [22:17:51]OFD Sender: No OFD packet to send [22:17:56]OFD Sender: No OFD packet to send [22:18:01]OFD Sender: No OFD packet to send [22:18:06]OFD Sender: No OFD packet to send [22:18:11]OFD Sender: No OFD packet to send [22:18:16]OFD Sender: No OFD packet to send [22:18:21]OFD Sender: No OFD packet to send [22:18:26]OFD Sender: No OFD packet to send [22:18:31]OFD Sender: No OFD packet to send [22:18:36]OFD Sender: No OFD packet to send [22:18:41]OFD Sender: No OFD packet to send [22:18:46]OFD Sender: No OFD packet to send [22:18:51]OFD Sender: No OFD packet to send [22:18:56]OFD Sender: No OFD packet to send [22:19:01]OFD Sender: No OFD packet to send [22:19:06]OFD Sender: No OFD packet to send [22:19:11]OFD Sender: No OFD packet to send [22:19:16]OFD Sender: No OFD packet to send [22:19:21]OFD Sender: No OFD packet to send [22:19:26]OFD Sender: No OFD packet to send [22:19:31]OFD Sender: No OFD packet to send [22:19:36]OFD Sender: No OFD packet to send [22:19:41]OFD Sender: No OFD packet to send [22:19:46]OFD Sender: No OFD packet to send [22:19:48]accept exits with 9 [22:19:48]New connection [22:19:48]New thread 3067452772 created [22:19:48]Thread 3067596132 joined [22:19:48]Waiting for new connection... [22:19:48] Sock 9.Parse request [22:19:48]Sock 9.Check first char [22:19:48]Sock 9.First char is OK [22:19:48]request: POST /json_proto HTTP/1.0 [22:19:48]Method: POST [22:19:48]URL: /json_proto [22:19:48]Method is POST - this is cgi request [22:19:48]url: /json_proto [22:19:48]query_string will be loaded in cgi processing [22:19:48]execute_cgi json_proto POST (null) [22:19:48]execute_cgi path=json_proto method=POST [22:19:48]POST find Content-Length [22:19:48]Host: 172.17.50.4:8080 [22:19:48]Content-Length: 1133 [22:19:48]Content-Type: application/json [22:19:48] [22:19:48]POST finish read [22:19:48]Found Content-Length = 1133 [22:19:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134965", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 323.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:19:48]execute_script... [22:19: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)134965", "tax_sys" : 0, "items" : [ { "code": "4700000160358", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 1\u043B", "price" : 50.00, "quantity" : 2.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000310043", "name": "\u0412\u043E\u0434\u0430 \u0416\u0430\u043B\u0430\u043B\u0430\u0431\u0430\u0442 27 1\u043B", "price" : 79.00, "quantity" : 1.000, "sum" : 79.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 323.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:19:48]POST & json_proto [22:19:48]process_json_proto [22:19:48]json parsed OK: [22:19:48]protocol is kg_v1.0 [22:19:48]action value=close_receipt [22:19:48]process_action close_receipt [22:19:48]cmd_close_receipt [22:19:48]MH_GetDate [22:19:48]Write to MH i2c: F0 00 00 03 16 08 [22:19:48]Write i2c OK [22:19:48]MH_I2C_Read... [22:19:48]Read from MH i2c: F0 [22:19:48]MH_I2C_Read... [22:19:48]Read from MH i2c: F0 09 00 [22:19:48]MH_I2C_Read... [22:19:48]Read from MH i2c: F0 09 00 03 16 00 0A 25 18 67 3B 12 16 67 89 [22:19:48]GetLastDocTimeStamp 1729633201 [22:19:48]current date 1729635594 [22:19:48]FM_GetShiftState [22:19:48]SAM_PROTO_GetShiftState [22:19:48]wFMCommunicate request_size=4 [22:19:48]MH_SAM_APDU [22:19:48]CAPDU: 80 13 01 00 [22:19:48]Write to MH i2c: E2 08 00 04 16 80 13 01 00 00 00 00 00 97 [22:19:48]Write i2c OK [22:19:48]MH_I2C_Read... [22:19:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:48]Read from MH i2c: E2 [22:19:48]MH_I2C_Read... [22:19:48]Read from MH i2c: E2 0E 00 [22:19:48]MH_I2C_Read... [22:19:48]Read from MH i2c: E2 0E 00 04 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 8F [22:19:48]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [22:19:48]wFMCommunicate OK [22:19:48]SAM_PROTO_GetShiftState done [22:19:48]FM_GetShiftState done [22:19:48]opened in 1729555332 [22:19:48]opened+sec_in_day 1729641732 [22:19:48]quantity*price = 10000 [22:19:48]sum+1 = 10001 [22:19:48]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 323.00 НСП 1% : 2.85 НДС 12% : 34.30 Наличными: 323.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 68 22.10.2024 22:19 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24449 ФПД: 3033985418851 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221954&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24449&fm=3033985418851&tin=02508201610067®Number=0000000000098120&sum=32300 0 [22:19:49]StoreToDocumentArchive [22:19:49]shift 462 fd 24449 [22:19:49]save to /storage/0462/doc_00024449 [22:19:49]save last doc name /storage/0462/doc_00024449 to /storage/kkm_last_doc_name [22:19:49]save OK [22:19:49]Clear old archive folders... [22:19:49]ProcessDocumentItem done err = 0, tmpTLVsize=480 [22:19:49]tlvbuf is B6F77860 [22:19:49]SAM_PROTO_ClearQueue [22:19:49]wFMCommunicate request_size=4 [22:19:49]MH_SAM_APDU [22:19:49]CAPDU: 80 09 00 00 [22:19:49]Write to MH i2c: E2 08 00 11 16 80 09 00 00 00 00 00 00 99 [22:19:49]Write i2c OK [22:19:49]MH_I2C_Read... [22:19:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:19:49]Read from MH i2c: E2 [22:19:49]MH_I2C_Read... [22:19:49]Read from MH i2c: E2 03 00 [22:19:49]MH_I2C_Read... [22:19:49]Read from MH i2c: E2 03 00 11 16 00 90 00 9B [22:19:49]RAPDU: 90 00 [22:19:49]wFMCommunicate OK [22:19:49]SAM_PROTO_ClearQueue done [22:19:49]KKMCreateOFDPacket [22:19:49]OFDProtocolAddRootSTLVToBuf [22:19:49]FM_MakeSignedData [22:19:49]FM_MakeSignedData [22:19:49]SAM_PROTO_SignData [22:19:49]wFMCommunicate request_size=4 [22:19:49]MH_SAM_APDU [22:19:49]CAPDU: 80 0D 01 02 [22:19:49]Write to MH i2c: E2 08 00 12 16 80 0D 01 02 00 00 00 00 A1 [22:19:49]Write i2c OK [22:19:49]MH_I2C_Read... [22:19:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:19:49]Read from MH i2c: E2 [22:19:49]MH_I2C_Read... [22:19:49]Read from MH i2c: E2 03 00 [22:19:49]MH_I2C_Read... [22:19:49]Read from MH i2c: E2 03 00 12 16 00 90 00 9C [22:19:49]RAPDU: 90 00 [22:19:49]wFMCommunicate OK [22:19:49]wFMCommunicate request_size=255 [22:19:49]MH_SAM_APDU [22:19:49]CAPDU: 80 0D 02 02 FA 03 00 E0 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [22:19:49]Write to MH i2c: E2 02 01 13 16 80 0D 02 02 FA 00 03 00 E0 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 DB [22:19:50]Write i2c OK [22:19:50]MH_I2C_Read... [22:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:50]Read from MH i2c: E2 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 03 00 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 03 00 13 16 00 90 00 9D [22:19:50]RAPDU: 90 00 [22:19:50]wFMCommunicate OK [22:19:50]wFMCommunicate request_size=239 [22:19:50]MH_SAM_APDU [22:19:50]CAPDU: 80 0D 02 02 EA 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 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 2C 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0A 25 18 67 0E 04 04 00 CE 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 81 5F 00 00 35 04 06 00 02 C2 67 9F 86 63 [22:19:50]Write to MH i2c: E2 F2 00 14 16 80 0D 02 02 EA 00 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 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 2C 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0A 25 18 67 0E 04 04 00 CE 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 81 5F 00 00 35 04 06 00 02 C2 67 9F 86 63 00 00 12 [22:19:50]Write i2c OK [22:19:50]MH_I2C_Read... [22:19:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:19:50]Read from MH i2c: E2 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 03 00 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 03 00 14 16 00 90 00 9E [22:19:50]RAPDU: 90 00 [22:19:50]wFMCommunicate OK [22:19:50]wFMCommunicate request_size=4 [22:19:50]MH_SAM_APDU [22:19:50]CAPDU: 80 0D 03 02 [22:19:50]Write to MH i2c: E2 08 00 15 16 80 0D 03 02 00 00 00 00 A6 [22:19:50]Write i2c OK [22:19:50]MH_I2C_Read... [22:19:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:19:50]Read from MH i2c: E2 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 0B 00 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 0B 00 15 16 00 55 94 78 6A 4C A1 37 0E 90 00 A4 [22:19:50]RAPDU: 55 94 78 6A 4C A1 37 0E 90 00 [22:19:50]wFMCommunicate OK [22:19:50]SAM_PROTO_SignData done [22:19:50]FM_MakeSignedData done [22:19:50]CreateOFDProtocolMessage [22:19:50]wFMCommunicate request_size=4 [22:19:50]MH_SAM_APDU [22:19:50]CAPDU: 80 11 00 00 [22:19:50]Write to MH i2c: E2 08 00 16 16 80 11 00 00 00 00 00 00 A6 [22:19:50]Write i2c OK [22:19:50]MH_I2C_Read... [22:19:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:50]Read from MH i2c: E2 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 17 00 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: E2 17 00 16 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F3 [22:19:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [22:19:50]wFMCommunicate OK [22:19:50]CreateOFDProtocolMessage done [22:19:50]OFDSenderStorePacket 24449 [22:19:50]StoreOFDPacket docnum=24449 [22:19: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 F4 01 00 00 5E 87 EC 01 76 17 5A 03 01 00 03 00 E0 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 2C 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0A 25 18 67 0E 04 04 00 CE 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 81 5F 00 00 35 04 06 00 02 C2 67 9F 86 63 55 94 78 6A 4C A1 37 0E [22:19:50]CheckFolder [22:19:50]dirname=/storage/ofd_packets [22:19:50]CheckFolder done [22:19:50]ProducePacketName [22:19:50]name=ofd_packets/00024449 [22:19:50]NVStorageSaveData ofd_packets/00024449 [22:19:50]File name is /storage/ofd_packets/00024449 [22:19:50]Write 530 bytes [22:19:50]NVStorageSaveData done [22:19:50]OFDSenderStorePacket done [22:19:50]KKMCreateOFDPacket done [22:19:50]NVStorageSaveData kkm_last_timestamp [22:19:50]File name is /storage/kkm_last_timestamp [22:19:50]Write 4 bytes [22:19:50]NVStorageSaveData done [22:19:50]ExternCall_PrintAddStr [22:19:50]wPrintStart [22:19:50]Write to MH i2c: 01 00 00 17 16 2D [22:19:50]Write i2c OK [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: 01 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: 01 07 00 [22:19:50]MH_I2C_Read... [22:19:50]Read from MH i2c: 01 07 00 17 16 00 00 00 00 00 FF 0F 42 [22:19:50]RasterBufferAndPrint [22:19:50]line Счет N : (3)134965 [22:19:50]line ИНН: 02508201610067 [22:19:50]line Контрольно-Кассовый Чек [22:19:50]line ПРОДАЖА [22:19:50]line Товар: 4700000160358 [22:19:50]line Вода Легенда 1л [22:19:50]line 2.000 * 50.00 [22:19:50]line = 100.00 [22:19:50]line НДС 12% НСП 1% [22:19:50]line > о реализуемом товаре [22:19:50]line Товар: 4700000310043 [22:19:50]line Вода Жалалабат 27 1л [22:19:50]line 1.000 * 79.00 [22:19:50]line = 79.00 [22:19:50]line НДС 12% НСП 1% [22:19:50]line > о реализуемом товаре [22:19:50]line Товар: 48743587 [22:19:50]line Сигареты Winston XStyle Silver [22:19:50]line 1.000 * 144.00 [22:19:50]line = 144.00 [22:19:50]line НДС 12% НСП 1% [22:19:50]line > о реализуемом товаре [22:19:50]line ИТОГО: 323.00 [22:19:50]line НСП 1% : 2.85 [22:19:50]line НДС 12% : 34.30 [22:19:50]line Наличными: 323.00 [22:19:50]line Безнал.: 0.00 [22:19:50]line Место: АЗС № 85 "Партнер Нефть" [22:19:50]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [22:19:50]line СНО: Общий режим [22:19:50]line Чек 68 22.10.2024 22:19 [22:19:50]line Смена: 462 ФФД: 1.0 [22:19:50]line ЗНМ: 0300000166 [22:19:50]line РНМ: 0000000000098120 [22:19:50]line Версия ККМ: 001 [22:19:50]line ФМ: 0000000000965420 [22:19:50]line ФД: 24449 [22:19:50]line ФПД: 3033985418851 [22:19:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T221954&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24449&fm=3033985418851&tin=02508201610067®Number=0000000000098120&sum=32300 [22:19:50]line 0 [22:19:50]written 0, free lines is 4095 [22:19:50]OFD Sender: Processing packet 24449 [packets to send 5, broken 4] [22:19:50]ProducePacketName [22:19:50]name=ofd_packets/00024449 [22:19:50]OFD Sender: To server: pG, [22:19:50]CommunicateWithHost lk.salyk.kg:30040 [22:19:50]ConnectInit lk.salyk.kg [22:19:51]Connected sock=10 [22:19: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 F4 01 00 00 5E 87 EC 01 76 17 5A 03 01 00 03 00 E0 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 33 35 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 DC 1E 00 00 00 00 13 04 06 00 DC 1E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 2C 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1D 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 66 0D 00 00 00 00 07 04 06 00 2C 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 0A 25 18 67 0E 04 04 00 CE 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 81 5F 00 00 35 04 06 00 02 C2 67 9F 86 63 55 94 78 6A 4C A1 37 0E [22:19: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 31 46 47 00 9F B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 81 5F 00 00 F4 03 04 00 AD D0 17 67 B6 04 01 00 00 4C 95 89 A8 EF ED 63 E2 [22:19:51]CommunicateWithHost err = 0 [22:19:51]CheckOFDResponse [22:19:51]1017 (14) - 77093643461234 [22:19:51]1041 (16) - 0000000000965420 [22:19:51]1040 (4) - 24449 [22:19:51]1012 (4) - 22.10.2024 16:19 [22:19:51]1206 (1) - 0 [22:19:51]OFD Sender: Remove packet 24449 [22:19:51]ProducePacketName [22:19:51]name=ofd_packets/00024449 [22:19:51]NVStorageDeleteData [22:19:51]Write to MH i2c: 01 00 00 4C 16 62 [22:19:51]Write i2c OK [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: 01 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: 01 07 00 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: 01 07 00 4C 16 00 00 00 00 00 73 0C E8 [22:19:51]RasterBufferAndPrint [22:19:51]line [22:19:51]line [22:19:51]line [22:19:51]line [22:19:51]line [22:19:51]written 0, free lines is 3194 [22:19:51]process_action close_receipt done [22:19:51]requested_data is exist [22:19:51]produce_requested_data [22:19:51]requested_item fm.sn is exist - process it [22:19:51]wFMCommunicate request_size=4 [22:19:51]MH_SAM_APDU [22:19:51]CAPDU: 80 11 00 00 [22:19:51]Write to MH i2c: E2 08 00 53 16 80 11 00 00 00 00 00 00 E3 [22:19:51]Write i2c OK [22:19:51]MH_I2C_Read... [22:19:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:19:51]Read from MH i2c: E2 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 17 00 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 17 00 53 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 30 [22:19:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [22:19:51]wFMCommunicate OK [22:19:51]requested_item fd.num is exist - process it [22:19:51]SAM_PROTO_GetFieldsCounters [22:19:51]wFMCommunicate request_size=4 [22:19:51]MH_SAM_APDU [22:19:51]CAPDU: 80 13 00 00 [22:19:51]Write to MH i2c: E2 08 00 54 16 80 13 00 00 00 00 00 00 E6 [22:19:51]Write i2c OK [22:19:51]MH_I2C_Read... [22:19:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:19:51]Read from MH i2c: E2 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 62 00 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 62 00 54 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 81 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 77 [22:19: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 81 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:19:51]wFMCommunicate OK [22:19:51]SAM_PROTO_GetFieldsCounters done [22:19:51]requested_item shift.num is exist - process it [22:19:51]requested_item shift.opened is exist - process it [22:19:51]req_shift_opened [22:19:51]FM_GetShiftState [22:19:51]SAM_PROTO_GetShiftState [22:19:51]wFMCommunicate request_size=4 [22:19:51]MH_SAM_APDU [22:19:51]CAPDU: 80 13 01 00 [22:19:51]Write to MH i2c: E2 08 00 55 16 80 13 01 00 00 00 00 00 E8 [22:19:51]Write i2c OK [22:19:51]MH_I2C_Read... [22:19:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:19:51]Read from MH i2c: E2 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 0E 00 [22:19:51]MH_I2C_Read... [22:19:51]Read from MH i2c: E2 0E 00 55 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E0 [22:19:51]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [22:19:51]wFMCommunicate OK [22:19:51]SAM_PROTO_GetShiftState done [22:19:51]FM_GetShiftState done [22:19:51]req_shift_opened done [22:19:51]requested_item shift.open_date is exist - process it [22:19:51]req_shift_open_date [22:19:51]req_shift_open_date done [22:19:51]produce_requested_data done [22:19:51]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24449,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [22:19:51]process_action_free close_receipt [22:19:51]json_value_free [22:19:51]json_value_free done [22:19:51]process_json_proto returns [22:19:51]Send response to host [22:19:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24449,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [22:19:51]free response buf [22:19:51]execute_script done [22:19:51]execute_script returns [22:19:51]free content buf [22:19:51]Sock 9.Close socket [22:19:51]Sock 9.Thread stoped [22:19:51]OFD Sender: No OFD packet to send [22:19:56]OFD Sender: No OFD packet to send [22:20:01]OFD Sender: No OFD packet to send [22:20:06]OFD Sender: No OFD packet to send [22:20:11]OFD Sender: No OFD packet to send [22:20:16]OFD Sender: No OFD packet to send [22:20:21]OFD Sender: No OFD packet to send [22:20:26]OFD Sender: No OFD packet to send [22:20:31]OFD Sender: No OFD packet to send [22:20:36]OFD Sender: No OFD packet to send [22:20:41]OFD Sender: No OFD packet to send [22:20:46]OFD Sender: No OFD packet to send [22:20:51]OFD Sender: No OFD packet to send [22:20:56]OFD Sender: No OFD packet to send [22:21:01]OFD Sender: No OFD packet to send [22:21:06]OFD Sender: No OFD packet to send [22:21:11]OFD Sender: No OFD packet to send [22:21:16]OFD Sender: No OFD packet to send [22:21:21]OFD Sender: No OFD packet to send [22:21:26]OFD Sender: No OFD packet to send [22:21:31]OFD Sender: No OFD packet to send [22:21:36]OFD Sender: No OFD packet to send [22:21:41]OFD Sender: No OFD packet to send [22:21:46]OFD Sender: No OFD packet to send [22:21:51]OFD Sender: No OFD packet to send [22:21:56]OFD Sender: No OFD packet to send [22:22:01]OFD Sender: No OFD packet to send [22:22:06]OFD Sender: No OFD packet to send [22:22:11]OFD Sender: No OFD packet to send [22:22:16]OFD Sender: No OFD packet to send [22:22:21]OFD Sender: No OFD packet to send [22:22:26]OFD Sender: No OFD packet to send [22:22:31]OFD Sender: No OFD packet to send [22:22:36]OFD Sender: No OFD packet to send [22:22:41]OFD Sender: No OFD packet to send [22:22:46]OFD Sender: No OFD packet to send [22:22:51]OFD Sender: No OFD packet to send [22:22:56]OFD Sender: No OFD packet to send [22:23:01]OFD Sender: No OFD packet to send [22:23:06]OFD Sender: No OFD packet to send [22:23:11]OFD Sender: No OFD packet to send [22:23:16]OFD Sender: No OFD packet to send [22:23:21]OFD Sender: No OFD packet to send [22:23:26]OFD Sender: No OFD packet to send [22:23:31]OFD Sender: No OFD packet to send [22:23:36]OFD Sender: No OFD packet to send [22:23:41]OFD Sender: No OFD packet to send [22:23:46]OFD Sender: No OFD packet to send [22:23:51]OFD Sender: No OFD packet to send [22:23:56]OFD Sender: No OFD packet to send [22:24:01]OFD Sender: No OFD packet to send [22:24:06]OFD Sender: No OFD packet to send [22:24:11]OFD Sender: No OFD packet to send [22:24:16]OFD Sender: No OFD packet to send [22:24:21]OFD Sender: No OFD packet to send [22:24:26]OFD Sender: No OFD packet to send [22:24:31]OFD Sender: No OFD packet to send [22:24:36]OFD Sender: No OFD packet to send [22:24:41]OFD Sender: No OFD packet to send [22:24:46]OFD Sender: No OFD packet to send [22:24:51]OFD Sender: No OFD packet to send [22:24:56]OFD Sender: No OFD packet to send [22:25: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:17]OFD Sender: No OFD packet to send [22:37:22]OFD Sender: No OFD packet to send [22:37:27]OFD Sender: No OFD packet to send [22:37:32]OFD Sender: No OFD packet to send [22:37:37]OFD Sender: No OFD packet to send [22:37:42]OFD Sender: No OFD packet to send [22:37:47]OFD Sender: No OFD packet to send [22:37:52]OFD Sender: No OFD packet to send [22:37:57]OFD Sender: No OFD packet to send [22:38:02]OFD Sender: No OFD packet to send [22:38:07]OFD Sender: No OFD packet to send [22:38:12]OFD Sender: No OFD packet to send [22:38:17]OFD Sender: No OFD packet to send [22:38:22]OFD Sender: No OFD packet to send [22:38:27]OFD Sender: No OFD packet to send [22:38:32]OFD Sender: No OFD packet to send [22:38:37]OFD Sender: No OFD packet to send [22:38:42]OFD Sender: No OFD packet to send [22:38:47]OFD Sender: No OFD packet to send [22:38:52]OFD Sender: No OFD packet to send [22:38:57]OFD Sender: No OFD packet to send [22:39:02]OFD Sender: No OFD packet to send [22:39:07]OFD Sender: No OFD packet to send [22:39:12]OFD Sender: No OFD packet to send [22:39:17]OFD Sender: No OFD packet to send [22:39:22]OFD Sender: No OFD packet to send [22:39:27]OFD Sender: No OFD packet to send [22:39:32]OFD Sender: No OFD packet to send [22:39:37]OFD Sender: No OFD packet to send [22:39:42]OFD Sender: No OFD packet to send [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:17]OFD Sender: No OFD packet to send [22:40:22]OFD Sender: No OFD packet to send [22:40:27]OFD Sender: No OFD packet to send [22:40:32]OFD Sender: No OFD packet to send [22:40:37]OFD Sender: No OFD packet to send [22:40:42]OFD Sender: No OFD packet to send [22:40:47]OFD Sender: No OFD packet to send [22:40:52]OFD Sender: No OFD packet to send [22:40:57]OFD Sender: No OFD packet to send [22:41:02]OFD Sender: No OFD packet to send [22:41:07]OFD Sender: No OFD packet to send [22:41:12]OFD Sender: No OFD packet to send [22:41:17]OFD Sender: No OFD packet to send [22:41:22]OFD Sender: No OFD packet to send [22:41:27]OFD Sender: No OFD packet to send [22:41:32]OFD Sender: No OFD packet to send [22:41:37]OFD Sender: No OFD packet to send [22:41:42]OFD Sender: No OFD packet to send [22:41:47]OFD Sender: No OFD packet to send [22:41:52]OFD Sender: No OFD packet to send [22:41:57]OFD Sender: No OFD packet to send [22:42:02]OFD Sender: No OFD packet to send [22:42:07]OFD Sender: No OFD packet to send [22:42:12]OFD Sender: No OFD packet to send [22:42:17]OFD Sender: No OFD packet to send [22:42:22]OFD Sender: No OFD packet to send [22:42:27]OFD Sender: No OFD packet to send [22:42:32]OFD Sender: No OFD packet to send [22:42:37]OFD Sender: No OFD packet to send [22:42:42]OFD Sender: No OFD packet to send [22:42:47]OFD Sender: No OFD packet to send [22:42:52]OFD Sender: No OFD packet to send [22:42:57]OFD Sender: No OFD packet to send [22:43:02]OFD Sender: No OFD packet to send [22:43:07]OFD Sender: No OFD packet to send [22:43:12]OFD Sender: No OFD packet to send [22:43:17]OFD Sender: No OFD packet to send [22:43:22]OFD Sender: No OFD packet to send [22:43:27]OFD Sender: No OFD packet to send [22:43:32]OFD Sender: No OFD packet to send [22:43:37]OFD Sender: No OFD packet to send [22:43:42]OFD Sender: No OFD packet to send [22:43:47]OFD Sender: No OFD packet to send [22:43:52]OFD Sender: No OFD packet to send [22:43:57]OFD Sender: No OFD packet to send [22:44:02]OFD Sender: No OFD packet to send [22:44:07]OFD Sender: No OFD packet to send [22:44:12]OFD Sender: No OFD packet to send [22:44:17]OFD Sender: No OFD packet to send [22:44:22]OFD Sender: No OFD packet to send [22:44:27]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:17]OFD Sender: No OFD packet to send [22:46:22]OFD Sender: No OFD packet to send [22:46:27]OFD Sender: No OFD packet to send [22:46:32]OFD Sender: No OFD packet to send [22:46:37]OFD Sender: No OFD packet to send [22:46:42]OFD Sender: No OFD packet to send [22:46: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:38]OFD Sender: No OFD packet to send [22:58:43]OFD Sender: No OFD packet to send [22:58:48]OFD Sender: No OFD packet to send [22:58:53]OFD Sender: No OFD packet to send [22:58:58]OFD Sender: No OFD packet to send [22:59:03]OFD Sender: No OFD packet to send [22:59:08]OFD Sender: No OFD packet to send [22:59:13]OFD Sender: No OFD packet to send [22:59:18]OFD Sender: No OFD packet to send [22:59:23]OFD Sender: No OFD packet to send [22:59:28]OFD Sender: No OFD packet to send [22:59:33]OFD Sender: No OFD packet to send [22:59:38]OFD Sender: No OFD packet to send [22:59:43]OFD Sender: No OFD packet to send [22:59:48]OFD Sender: No OFD packet to send [22:59:53]OFD Sender: No OFD packet to send [22:59:58]OFD Sender: No OFD packet to send [23:00:03]OFD Sender: No OFD packet to send [23:00:08]OFD Sender: No OFD packet to send [23:00:13]OFD Sender: No OFD packet to send [23:00:18]OFD Sender: No OFD packet to send [23:00:23]OFD Sender: No OFD packet to send [23:00:28]OFD Sender: No OFD packet to send [23:00:33]OFD Sender: No OFD packet to send [23:00:38]OFD Sender: No OFD packet to send [23:00:43]OFD Sender: No OFD packet to send [23:00:48]OFD Sender: No OFD packet to send [23:00:53]OFD Sender: No OFD packet to send [23:00:58]OFD Sender: No OFD packet to send [23:01:03]OFD Sender: No OFD packet to send [23:01:08]OFD Sender: No OFD packet to send [23:01:13]OFD Sender: No OFD packet to send [23:01:18]OFD Sender: No OFD packet to send [23:01:23]OFD Sender: No OFD packet to send [23:01:28]OFD Sender: No OFD packet to send [23:01:33]OFD Sender: No OFD packet to send [23:01:38]OFD Sender: No OFD packet to send [23:01:43]OFD Sender: No OFD packet to send [23:01:48]OFD Sender: No OFD packet to send [23:01:53]OFD Sender: No OFD packet to send [23:01:58]OFD Sender: No OFD packet to send [23:02:03]OFD Sender: No OFD packet to send [23:02:08]OFD Sender: No OFD packet to send [23:02:13]OFD Sender: No OFD packet to send [23:02:18]OFD Sender: No OFD packet to send [23:02:23]OFD Sender: No OFD packet to send [23:02:28]OFD Sender: No OFD packet to send [23:02:33]OFD Sender: No OFD packet to send [23:02:38]OFD Sender: No OFD packet to send [23:02:43]OFD Sender: No OFD packet to send [23:02:48]OFD Sender: No OFD packet to send [23:02:53]OFD Sender: No OFD packet to send [23:02:58]OFD Sender: No OFD packet to send [23:03:03]OFD Sender: No OFD packet to send [23:03:08]OFD Sender: No OFD packet to send [23:03:13]OFD Sender: No OFD packet to send [23:03:18]OFD Sender: No OFD packet to send [23:03:23]OFD Sender: No OFD packet to send [23:03:28]OFD Sender: No OFD packet to send [23:03:33]OFD Sender: No OFD packet to send [23:03:38]OFD Sender: No OFD packet to send [23:03:43]OFD Sender: No OFD packet to send [23:03:48]OFD Sender: No OFD packet to send [23:03:53]OFD Sender: No OFD packet to send [23:03:58]OFD Sender: No OFD packet to send [23:04:03]OFD Sender: No OFD packet to send [23:04:08]OFD Sender: No OFD packet to send [23:04:13]OFD Sender: No OFD packet to send [23:04:18]OFD Sender: No OFD packet to send [23:04:23]OFD Sender: No OFD packet to send [23:04:28]OFD Sender: No OFD packet to send [23:04:33]OFD Sender: No OFD packet to send [23:04:38]OFD Sender: No OFD packet to send [23:04:43]OFD Sender: No OFD packet to send [23:04:48]OFD Sender: No OFD packet to send [23:04:53]OFD Sender: No OFD packet to send [23:04:58]OFD Sender: No OFD packet to send [23:05:03]OFD Sender: No OFD packet to send [23:05:08]OFD Sender: No OFD packet to send [23:05:13]OFD Sender: No OFD packet to send [23:05:18]OFD Sender: No OFD packet to send [23:05:23]OFD Sender: No OFD packet to send [23:05:28]OFD Sender: No OFD packet to send [23:05:33]OFD Sender: No OFD packet to send [23:05:38]OFD Sender: No OFD packet to send [23:05:43]OFD Sender: No OFD packet to send [23:05:48]OFD Sender: No OFD packet to send [23:05:53]OFD Sender: No OFD packet to send [23:05:58]OFD Sender: No OFD packet to send [23:06:03]OFD Sender: No OFD packet to send [23:06:08]OFD Sender: No OFD packet to send [23:06:13]OFD Sender: No OFD packet to send [23:06:18]OFD Sender: No OFD packet to send [23:06:23]OFD Sender: No OFD packet to send [23:06:28]OFD Sender: No OFD packet to send [23:06:33]OFD Sender: No OFD packet to send [23:06:38]OFD Sender: No OFD packet to send [23:06:43]OFD Sender: No OFD packet to send [23:06:48]OFD Sender: No OFD packet to send [23:06:53]OFD Sender: No OFD packet to send [23:06:58]OFD Sender: No OFD packet to send [23:07:03]OFD Sender: No OFD packet to send [23:07:08]OFD Sender: No OFD packet to send [23:07:13]OFD Sender: No OFD packet to send [23:07:18]OFD Sender: No OFD packet to send [23:07:23]OFD Sender: No OFD packet to send [23:07:28]OFD Sender: No OFD packet to send [23:07:33]OFD Sender: No OFD packet to send [23:07:38]OFD Sender: No OFD packet to send [23:07:43]OFD Sender: No OFD packet to send [23:07:48]OFD Sender: No OFD packet to send [23:07:53]OFD Sender: No OFD packet to send [23:07:58]OFD Sender: No OFD packet to send [23:08:03]OFD Sender: No OFD packet to send [23:08:08]OFD Sender: No OFD packet to send [23:08:13]OFD Sender: No OFD packet to send [23:08:18]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:09]OFD Sender: No OFD packet to send [23:20:14]OFD Sender: No OFD packet to send [23:20:19]OFD Sender: No OFD packet to send [23:20:24]OFD Sender: No OFD packet to send [23:20:29]OFD Sender: No OFD packet to send [23:20:34]OFD Sender: No OFD packet to send [23:20:39]OFD Sender: No OFD packet to send [23:20:44]OFD Sender: No OFD packet to send [23:20:49]OFD Sender: No OFD packet to send [23:20:54]OFD Sender: No OFD packet to send [23:20:59]OFD Sender: No OFD packet to send [23:21:04]OFD Sender: No OFD packet to send [23:21:09]OFD Sender: No OFD packet to send [23:21:14]OFD Sender: No OFD packet to send [23:21:19]OFD Sender: No OFD packet to send [23:21:24]OFD Sender: No OFD packet to send [23:21:29]OFD Sender: No OFD packet to send [23:21:34]OFD Sender: No OFD packet to send [23:21:39]OFD Sender: No OFD packet to send [23:21:44]OFD Sender: No OFD packet to send [23:21:49]OFD Sender: No OFD packet to send [23:21:54]OFD Sender: No OFD packet to send [23:21:59]OFD Sender: No OFD packet to send [23:22:04]OFD Sender: No OFD packet to send [23:22:09]OFD Sender: No OFD packet to send [23:22:14]OFD Sender: No OFD packet to send [23:22:19]OFD Sender: No OFD packet to send [23:22:24]OFD Sender: No OFD packet to send [23:22:29]OFD Sender: No OFD packet to send [23:22:34]OFD Sender: No OFD packet to send [23:22:39]OFD Sender: No OFD packet to send [23:22:44]OFD Sender: No OFD packet to send [23:22:49]OFD Sender: No OFD packet to send [23:22:54]OFD Sender: No OFD packet to send [23:22:59]OFD Sender: No OFD packet to send [23:23:04]OFD Sender: No OFD packet to send [23:23:09]OFD Sender: No OFD packet to send [23:23:14]OFD Sender: No OFD packet to send [23:23:19]OFD Sender: No OFD packet to send [23:23:24]OFD Sender: No OFD packet to send [23:23:29]OFD Sender: No OFD packet to send [23:23:34]OFD Sender: No OFD packet to send [23:23:39]OFD Sender: No OFD packet to send [23:23:44]OFD Sender: No OFD packet to send [23:23:49]OFD Sender: No OFD packet to send [23:23:54]OFD Sender: No OFD packet to send [23:23:59]OFD Sender: No OFD packet to send [23:24:04]OFD Sender: No OFD packet to send [23:24:09]OFD Sender: No OFD packet to send [23:24:14]OFD Sender: No OFD packet to send [23:24:19]OFD Sender: No OFD packet to send [23:24:24]OFD Sender: No OFD packet to send [23:24:29]OFD Sender: No OFD packet to send [23:24:34]OFD Sender: No OFD packet to send [23:24:39]OFD Sender: No OFD packet to send [23:24:44]OFD Sender: No OFD packet to send [23:24:49]OFD Sender: No OFD packet to send [23:24:54]OFD Sender: No OFD packet to send [23:24:59]OFD Sender: No OFD packet to send [23:25:04]OFD Sender: No OFD packet to send [23:25:09]OFD Sender: No OFD packet to send [23:25:14]OFD Sender: No OFD packet to send [23:25:19]OFD Sender: No OFD packet to send [23:25:24]OFD Sender: No OFD packet to send [23:25:29]OFD Sender: No OFD packet to send [23:25:34]OFD Sender: No OFD packet to send [23:25:39]OFD Sender: No OFD packet to send [23:25:44]OFD Sender: No OFD packet to send [23:25:49]OFD Sender: No OFD packet to send [23:25:54]OFD Sender: No OFD packet to send [23:25:59]OFD Sender: No OFD packet to send [23:26:04]OFD Sender: No OFD packet to send [23:26:09]OFD Sender: No OFD packet to send [23:26:14]OFD Sender: No OFD packet to send [23:26:19]OFD Sender: No OFD packet to send [23:26:24]OFD Sender: No OFD packet to send [23:26:29]OFD Sender: No OFD packet to send [23:26:34]OFD Sender: No OFD packet to send [23:26:39]OFD Sender: No OFD packet to send [23:26:44]OFD Sender: No OFD packet to send [23:26:49]OFD Sender: No OFD packet to send [23:26:54]OFD Sender: No OFD packet to send [23:26:59]OFD Sender: No OFD packet to send [23:27:04]OFD Sender: No OFD packet to send [23:27:09]OFD Sender: No OFD packet to send [23:27:14]OFD Sender: No OFD packet to send [23:27:19]OFD Sender: No OFD packet to send [23:27:24]OFD Sender: No OFD packet to send [23:27:29]OFD Sender: No OFD packet to send [23:27:34]OFD Sender: No OFD packet to send [23:27:39]OFD Sender: No OFD packet to send [23:27:44]OFD Sender: No OFD packet to send [23:27:49]OFD Sender: No OFD packet to send [23:27:54]OFD Sender: No OFD packet to send [23:27:59]OFD Sender: No OFD packet to send [23:28:04]OFD Sender: No OFD packet to send [23:28:09]OFD Sender: No OFD packet to send [23:28:14]OFD Sender: No OFD packet to send [23:28:19]OFD Sender: No OFD packet to send [23:28:24]OFD Sender: No OFD packet to send [23:28:29]OFD Sender: No OFD packet to send [23:28:34]OFD Sender: No OFD packet to send [23:28:39]OFD Sender: No OFD packet to send [23:28:44]OFD Sender: No OFD packet to send [23:28:49]OFD Sender: No OFD packet to send [23:28:54]OFD Sender: No OFD packet to send [23:28:59]OFD Sender: No OFD packet to send [23:29:04]OFD Sender: No OFD packet to send [23:29:09]OFD Sender: No OFD packet to send [23:29:14]OFD Sender: No OFD packet to send [23:29:19]OFD Sender: No OFD packet to send [23:29:24]OFD Sender: No OFD packet to send [23:29:29]OFD Sender: No OFD packet to send [23:29:34]OFD Sender: No OFD packet to send [23:29:39]OFD Sender: No OFD packet to send [23:29:44]OFD Sender: No OFD packet to send [23:29:49]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:05]OFD Sender: No OFD packet to send [23:34:10]OFD Sender: No OFD packet to send [23:34:15]OFD Sender: No OFD packet to send [23:34:20]OFD Sender: No OFD packet to send [23:34:25]OFD Sender: No OFD packet to send [23:34:30]OFD Sender: No OFD packet to send [23:34:35]OFD Sender: No OFD packet to send [23:34:40]OFD Sender: No OFD packet to send [23:34:45]OFD Sender: No OFD packet to send [23:34:50]OFD Sender: No OFD packet to send [23:34:55]OFD Sender: No OFD packet to send [23:35:00]OFD Sender: No OFD packet to send [23:35:05]OFD Sender: No OFD packet to send [23:35:10]OFD Sender: No OFD packet to send [23:35:15]OFD Sender: No OFD packet to send [23:35:20]OFD Sender: No OFD packet to send [23:35:25]OFD Sender: No OFD packet to send [23:35:30]OFD Sender: No OFD packet to send [23:35:35]OFD Sender: No OFD packet to send [23:35:40]OFD Sender: No OFD packet to send [23:35:45]OFD Sender: No OFD packet to send [23:35:50]OFD Sender: No OFD packet to send [23:35:55]OFD Sender: No OFD packet to send [23:36:00]OFD Sender: No OFD packet to send [23:36:05]OFD Sender: No OFD packet to send [23:36:10]OFD Sender: No OFD packet to send [23:36:15]OFD Sender: No OFD packet to send [23:36:20]OFD Sender: No OFD packet to send [23:36:25]OFD Sender: No OFD packet to send [23:36:30]OFD Sender: No OFD packet to send [23:36:35]OFD Sender: No OFD packet to send [23:36:40]OFD Sender: No OFD packet to send [23:36:45]OFD Sender: No OFD packet to send [23:36:50]OFD Sender: No OFD packet to send [23:36:55]OFD Sender: No OFD packet to send [23:37:00]OFD Sender: No OFD packet to send [23:37:05]OFD Sender: No OFD packet to send [23:37:10]OFD Sender: No OFD packet to send [23:37:15]OFD Sender: No OFD packet to send [23:37:20]OFD Sender: No OFD packet to send [23:37:25]OFD Sender: No OFD packet to send [23:37:30]OFD Sender: No OFD packet to send [23:37:35]OFD Sender: No OFD packet to send [23:37:40]OFD Sender: No OFD packet to send [23:37:45]OFD Sender: No OFD packet to send [23:37:50]OFD Sender: No OFD packet to send [23:37:55]OFD Sender: No OFD packet to send [23:38:00]OFD Sender: No OFD packet to send [23:38:05]OFD Sender: No OFD packet to send [23:38:10]OFD Sender: No OFD packet to send [23:38:15]OFD Sender: No OFD packet to send [23:38:20]OFD Sender: No OFD packet to send [23:38:25]OFD Sender: No OFD packet to send [23:38:30]OFD Sender: No OFD packet to send [23:38:35]OFD Sender: No OFD packet to send [23:38:40]OFD Sender: No OFD packet to send [23:38:45]OFD Sender: No OFD packet to send [23:38:50]OFD Sender: No OFD packet to send [23:38:55]OFD Sender: No OFD packet to send [23:39:00]OFD Sender: No OFD packet to send [23:39:05]OFD Sender: No OFD packet to send [23:39:10]OFD Sender: No OFD packet to send [23:39:15]OFD Sender: No OFD packet to send [23:39:20]OFD Sender: No OFD packet to send [23:39:25]OFD Sender: No OFD packet to send [23:39:30]OFD Sender: No OFD packet to send [23:39:35]OFD Sender: No OFD packet to send [23:39:40]OFD Sender: No OFD packet to send [23:39:45]OFD Sender: No OFD packet to send [23:39:50]OFD Sender: No OFD packet to send [23:39:55]OFD Sender: No OFD packet to send [23:40:00]OFD Sender: No OFD packet to send [23:40:05]OFD Sender: No OFD packet to send [23:40:10]OFD Sender: No OFD packet to send [23:40:15]OFD Sender: No OFD packet to send [23:40:20]OFD Sender: No OFD packet to send [23:40:25]OFD Sender: No OFD packet to send [23:40:30]OFD Sender: No OFD packet to send [23:40:35]OFD Sender: No OFD packet to send [23:40:40]OFD Sender: No OFD packet to send [23:40:45]OFD Sender: No OFD packet to send [23:40:48]int [23:40:48]Write to MH i2c: 01 00 00 56 16 6C [23:40:48]*** FLAG_PRN_KEY set [23:40:48]Write i2c OK [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 56 16 00 08 00 00 00 FF 0F 89 [23:40:48]state=0 [23:40:48]Key pressed [23:40:48]Feed [23:40:48]Write to MH i2c: D8 00 00 57 16 44 [23:40:48]Write i2c OK [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: D8 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: D8 01 00 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: D8 01 00 57 16 00 45 [23:40:48]int [23:40:48]Write to MH i2c: 01 00 00 58 16 6E [23:40:48]Write i2c OK [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 58 16 00 48 00 00 00 3D 00 FA [23:40:48]state=2 [23:40:48]Key pressed [23:40:48]int [23:40:48]Write to MH i2c: 01 00 00 59 16 6F [23:40:48]*** FLAG_PRN_KEY reset [23:40:48]Write i2c OK [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 [23:40:48]MH_I2C_Read... [23:40:48]Read from MH i2c: 01 07 00 59 16 00 00 00 00 00 F6 0F 7B [23:40:48]state=2 [23:40:48]Stop feed [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:26]OFD Sender: No OFD packet to send [23:51:31]OFD Sender: No OFD packet to send [23:51:36]OFD Sender: No OFD packet to send [23:51:39]accept exits with 7 [23:51:39]New connection [23:51:39]New thread 3067596132 created [23:51:39]Thread 3067452772 joined [23:51:39]Waiting for new connection... [23:51:39] Sock 7.Parse request [23:51:39]Sock 7.Check first char [23:51:39]Sock 7.First char is OK [23:51:39]request: POST /json_proto HTTP/1.0 [23:51:39]Method: POST [23:51:39]URL: /json_proto [23:51:39]Method is POST - this is cgi request [23:51:39]url: /json_proto [23:51:39]query_string will be loaded in cgi processing [23:51:39]execute_cgi json_proto POST (null) [23:51:39]execute_cgi path=json_proto method=POST [23:51:39]POST find Content-Length [23:51:39]Host: 172.17.50.4:8080 [23:51:39]Content-Length: 608 [23:51:39]Content-Type: application/json [23:51:39] [23:51:39]POST finish read [23:51:39]Found Content-Length = 608 [23:51:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134966", "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" ] } } [23:51:39]execute_script... [23:51: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)134966", "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" ] } } [23:51:39]POST & json_proto [23:51:39]process_json_proto [23:51:39]json parsed OK: [23:51:39]protocol is kg_v1.0 [23:51:39]action value=close_receipt [23:51:39]process_action close_receipt [23:51:39]cmd_close_receipt [23:51:39]MH_GetDate [23:51:39]Write to MH i2c: F0 00 00 5A 16 5F [23:51:39]Write i2c OK [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: F0 [23:51:39]MH_I2C_Read... [23:51:39]Read from MH i2c: F0 09 00 [23:51:39]MH_I2C_Read... [23:51:40]Read from MH i2c: F0 09 00 5A 16 00 91 3A 18 67 3B 12 16 67 7C [23:51:40]GetLastDocTimeStamp 1729635594 [23:51:40]current date 1729641105 [23:51:40]FM_GetShiftState [23:51:40]SAM_PROTO_GetShiftState [23:51:40]wFMCommunicate request_size=4 [23:51:40]MH_SAM_APDU [23:51:40]CAPDU: 80 13 01 00 [23:51:40]Write to MH i2c: E2 08 00 5B 16 80 13 01 00 00 00 00 00 EE [23:51:40]Write i2c OK [23:51:40]MH_I2C_Read... [23:51:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:40]Read from MH i2c: E2 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 0E 00 [23:51:40]MH_I2C_Read... [23:51:40]Read from MH i2c: E2 0E 00 5B 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 E6 [23:51:40]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:51:40]wFMCommunicate OK [23:51:40]SAM_PROTO_GetShiftState done [23:51:40]FM_GetShiftState done [23:51:40]opened in 1729555332 [23:51:40]opened+sec_in_day 1729641732 [23:51:40]quantity*price = 1000 [23:51:40]sum+1 = 1001 [23:51:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 69 22.10.2024 23:51 Смена: 462 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24450 ФПД: 198917952479531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T235145&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24450&fm=198917952479531&tin=02508201610067®Number=0000000000098120&sum=1000 0 [23:51:41]StoreToDocumentArchive [23:51:41]shift 462 fd 24450 [23:51:41]save to /storage/0462/doc_00024450 [23:51:41]save last doc name /storage/0462/doc_00024450 to /storage/kkm_last_doc_name [23:51:41]save OK [23:51:41]Clear old archive folders... [23:51:41]ProcessDocumentItem done err = 0, tmpTLVsize=267 [23:51:41]tlvbuf is B6F5E8C0 [23:51:41]SAM_PROTO_ClearQueue [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 09 00 00 [23:51:41]Write to MH i2c: E2 08 00 68 16 80 09 00 00 00 00 00 00 F0 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 68 16 00 90 00 F2 [23:51:41]RAPDU: 90 00 [23:51:41]wFMCommunicate OK [23:51:41]SAM_PROTO_ClearQueue done [23:51:41]KKMCreateOFDPacket [23:51:41]OFDProtocolAddRootSTLVToBuf [23:51:41]FM_MakeSignedData [23:51:41]FM_MakeSignedData [23:51:41]SAM_PROTO_SignData [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 0D 01 02 [23:51:41]Write to MH i2c: E2 08 00 69 16 80 0D 01 02 00 00 00 00 F8 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 69 16 00 90 00 F3 [23:51:41]RAPDU: 90 00 [23:51:41]wFMCommunicate OK [23:51:41]wFMCommunicate request_size=255 [23:51:41]MH_SAM_APDU [23:51:41]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 45 00 00 00 F4 03 04 00 91 3A 18 67 0E 04 04 00 CE 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 [23:51:41]Write to MH i2c: E2 02 01 6A 16 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 45 00 00 00 F4 03 04 00 91 3A 18 67 0E 04 04 00 CE 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 E8 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 6A 16 00 90 00 F4 [23:51:41]RAPDU: 90 00 [23:51:41]wFMCommunicate OK [23:51:41]wFMCommunicate request_size=26 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 0D 02 02 15 34 32 30 10 04 04 00 82 5F 00 00 35 04 06 00 B4 EA 31 E5 A1 2B [23:51:41]Write to MH i2c: E2 1D 00 6B 16 80 0D 02 02 15 00 34 32 30 10 04 04 00 82 5F 00 00 35 04 06 00 B4 EA 31 E5 A1 2B 00 00 73 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 03 00 6B 16 00 90 00 F5 [23:51:41]RAPDU: 90 00 [23:51:41]wFMCommunicate OK [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 0D 03 02 [23:51:41]Write to MH i2c: E2 08 00 6C 16 80 0D 03 02 00 00 00 00 FD [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 0B 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 0B 00 6C 16 00 25 C1 E9 D2 67 A3 7D 45 90 00 6B [23:51:41]RAPDU: 25 C1 E9 D2 67 A3 7D 45 90 00 [23:51:41]wFMCommunicate OK [23:51:41]SAM_PROTO_SignData done [23:51:41]FM_MakeSignedData done [23:51:41]CreateOFDProtocolMessage [23:51:41]wFMCommunicate request_size=4 [23:51:41]MH_SAM_APDU [23:51:41]CAPDU: 80 11 00 00 [23:51:41]Write to MH i2c: E2 08 00 6D 16 80 11 00 00 00 00 00 00 FD [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:41]Read from MH i2c: E2 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 17 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: E2 17 00 6D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 4A [23:51: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:51:41]wFMCommunicate OK [23:51:41]CreateOFDProtocolMessage done [23:51:41]OFDSenderStorePacket 24450 [23:51:41]StoreOFDPacket docnum=24450 [23:51: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 1F 01 00 00 36 67 17 01 24 FB 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 45 00 00 00 F4 03 04 00 91 3A 18 67 0E 04 04 00 CE 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 82 5F 00 00 35 04 06 00 B4 EA 31 E5 A1 2B 25 C1 E9 D2 67 A3 7D 45 [23:51:41]CheckFolder [23:51:41]dirname=/storage/ofd_packets [23:51:41]CheckFolder done [23:51:41]ProducePacketName [23:51:41]name=ofd_packets/00024450 [23:51:41]NVStorageSaveData ofd_packets/00024450 [23:51:41]File name is /storage/ofd_packets/00024450 [23:51:41]Write 317 bytes [23:51:41]NVStorageSaveData done [23:51:41]OFDSenderStorePacket done [23:51:41]KKMCreateOFDPacket done [23:51:41]NVStorageSaveData kkm_last_timestamp [23:51:41]File name is /storage/kkm_last_timestamp [23:51:41]Write 4 bytes [23:51:41]NVStorageSaveData done [23:51:41]ExternCall_PrintAddStr [23:51:41]wPrintStart [23:51:41]Write to MH i2c: 01 00 00 6E 16 84 [23:51:41]Write i2c OK [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: 01 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: 01 07 00 [23:51:41]MH_I2C_Read... [23:51:41]Read from MH i2c: 01 07 00 6E 16 00 00 00 00 00 FF 0F 99 [23:51:41]RasterBufferAndPrint [23:51:41]line Счет N : (3)134966 [23:51:41]line ИНН: 02508201610067 [23:51:41]line Контрольно-Кассовый Чек [23:51:41]line ПРОДАЖА [23:51:41]line Товар: 46231529 [23:51:41]line Mentos ПФ Арбуз 6*100*2 [23:51:41]line 1.000 * 10.00 [23:51:41]line = 10.00 [23:51:41]line НДС 12% НСП 1% [23:51:41]line > о реализуемом товаре [23:51:41]line ИТОГО: 10.00 [23:51:41]line НСП 1% : 0.09 [23:51:41]line НДС 12% : 1.06 [23:51:41]line Наличными: 10.00 [23:51:41]line Безнал.: 0.00 [23:51:41]line Место: АЗС № 85 "Партнер Нефть" [23:51:41]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [23:51:41]line СНО: Общий режим [23:51:41]line Чек 69 22.10.2024 23:51 [23:51:41]line Смена: 462 ФФД: 1.0 [23:51:41]line ЗНМ: 0300000166 [23:51:41]line РНМ: 0000000000098120 [23:51:41]line Версия ККМ: 001 [23:51:41]line ФМ: 0000000000965420 [23:51:41]line ФД: 24450 [23:51:41]line ФПД: 198917952479531 [23:51:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241022T235145&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24450&fm=198917952479531&tin=02508201610067®Number=0000000000098120&sum=1000 [23:51:42]OFD Sender: Processing packet 24450 [packets to send 5, broken 4] [23:51:42]ProducePacketName [23:51:42]name=ofd_packets/00024450 [23:51:42]OFD Sender: To server: pG, [23:51:42]CommunicateWithHost lk.salyk.kg:30040 [23:51:42]ConnectInit lk.salyk.kg [23:51:42]line 0 [23:51:42]written 0, free lines is 4095 [23:51:42]Connected sock=10 [23:51: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 1F 01 00 00 36 67 17 01 24 FB 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 45 00 00 00 F4 03 04 00 91 3A 18 67 0E 04 04 00 CE 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 82 5F 00 00 35 04 06 00 B4 EA 31 E5 A1 2B 25 C1 E9 D2 67 A3 7D 45 [23:51: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 0B B9 47 00 4E DA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 82 5F 00 00 F4 03 04 00 34 E6 17 67 B6 04 01 00 00 23 DB C5 D3 C4 91 62 EC [23:51:42]CommunicateWithHost err = 0 [23:51:42]CheckOFDResponse [23:51:42]1017 (14) - 77093643461234 [23:51:42]1041 (16) - 0000000000965420 [23:51:42]1040 (4) - 24450 [23:51:42]1012 (4) - 22.10.2024 17:51 [23:51:42]1206 (1) - 0 [23:51:42]OFD Sender: Remove packet 24450 [23:51:42]ProducePacketName [23:51:42]name=ofd_packets/00024450 [23:51:42]NVStorageDeleteData [23:51:42]Write to MH i2c: 01 00 00 96 16 AC [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: 01 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: 01 07 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: 01 07 00 96 16 00 00 00 00 00 1D 0D DD [23:51:42]RasterBufferAndPrint [23:51:42]line [23:51:42]line [23:51:42]line [23:51:42]line [23:51:42]line [23:51:42]written 0, free lines is 3363 [23:51:42]process_action close_receipt done [23:51:42]requested_data is exist [23:51:42]produce_requested_data [23:51:42]requested_item fm.sn is exist - process it [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 11 00 00 [23:51:42]Write to MH i2c: E2 08 00 9D 16 80 11 00 00 00 00 00 00 2D [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 17 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 17 00 9D 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7A [23:51:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:51:42]wFMCommunicate OK [23:51:42]requested_item fd.num is exist - process it [23:51:42]SAM_PROTO_GetFieldsCounters [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 13 00 00 [23:51:42]Write to MH i2c: E2 08 00 9E 16 80 13 00 00 00 00 00 00 30 [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 62 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 62 00 9E 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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 C5 [23:51: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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:51:42]wFMCommunicate OK [23:51:42]SAM_PROTO_GetFieldsCounters done [23:51:42]requested_item shift.num is exist - process it [23:51:42]requested_item shift.opened is exist - process it [23:51:42]req_shift_opened [23:51:42]FM_GetShiftState [23:51:42]SAM_PROTO_GetShiftState [23:51:42]wFMCommunicate request_size=4 [23:51:42]MH_SAM_APDU [23:51:42]CAPDU: 80 13 01 00 [23:51:42]Write to MH i2c: E2 08 00 9F 16 80 13 01 00 00 00 00 00 32 [23:51:42]Write i2c OK [23:51:42]MH_I2C_Read... [23:51:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:51:42]Read from MH i2c: E2 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 0E 00 [23:51:42]MH_I2C_Read... [23:51:42]Read from MH i2c: E2 0E 00 9F 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 2A [23:51:42]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:51:42]wFMCommunicate OK [23:51:42]SAM_PROTO_GetShiftState done [23:51:42]FM_GetShiftState done [23:51:42]req_shift_opened done [23:51:42]requested_item shift.open_date is exist - process it [23:51:42]req_shift_open_date [23:51:42]req_shift_open_date done [23:51:42]produce_requested_data done [23:51:42]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [23:51:42]process_action_free close_receipt [23:51:42]json_value_free [23:51:42]json_value_free done [23:51:42]process_json_proto returns [23:51:42]Send response to host [23:51:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [23:51:42]free response buf [23:51:42]execute_script done [23:51:42]execute_script returns [23:51:42]free content buf [23:51:42]Sock 7.Close socket [23:51:42]Sock 7.Thread stoped [23:51:42]OFD Sender: No OFD packet to send [23:51:47]OFD Sender: No OFD packet to send [23:51:52]OFD Sender: No OFD packet to send [23:51:57]OFD Sender: No OFD packet to send [23:52:02]OFD Sender: No OFD packet to send [23:52:07]OFD Sender: No OFD packet to send [23:52:12]OFD Sender: No OFD packet to send [23:52:17]OFD Sender: No OFD packet to send [23:52:22]OFD Sender: No OFD packet to send [23:52:27]OFD Sender: No OFD packet to send [23:52:32]OFD Sender: No OFD packet to send [23:52:37]OFD Sender: No OFD packet to send [23:52:42]OFD Sender: No OFD packet to send [23:52:47]OFD Sender: No OFD packet to send [23:52:52]OFD Sender: No OFD packet to send [23:52:57]OFD Sender: No OFD packet to send [23:53:02]OFD Sender: No OFD packet to send [23:53:07]OFD Sender: No OFD packet to send [23:53:12]OFD Sender: No OFD packet to send [23:53:17]OFD Sender: No OFD packet to send [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:38]OFD Sender: No OFD packet to send [23:54:43]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:48]accept exits with 9 [23:56:48]New connection [23:56:48]New thread 3067452772 created [23:56:48]Thread 3067596132 joined [23:56:48]Waiting for new connection... [23:56:48] Sock 9.Parse request [23:56:48]Sock 9.Check first char [23:56:48]Sock 9.First char is OK [23:56:48]request: POST /json_proto HTTP/1.0 [23:56:48]Method: POST [23:56:48]URL: /json_proto [23:56:48]Method is POST - this is cgi request [23:56:48]url: /json_proto [23:56:48]query_string will be loaded in cgi processing [23:56:48]execute_cgi json_proto POST (null) [23:56:48]execute_cgi path=json_proto method=POST [23:56:48]POST find Content-Length [23:56:48]Host: 172.17.50.4:8080 [23:56:48]Content-Length: 215 [23:56:48]Content-Type: application/json [23:56:48] [23:56:48]POST finish read [23:56:48]Found Content-Length = 215 [23:56: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" ] } } [23:56:48]execute_script... [23:56: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" ] } } [23:56:48]POST & json_proto [23:56:48]process_json_proto [23:56:48]json parsed OK: [23:56:48]protocol is kg_v1.0 [23:56:48]action value=get_value [23:56:48]process_action get_value [23:56:48]cmd_get_value [23:56:48]process_action get_value done [23:56:48]requested_data is exist [23:56:48]produce_requested_data [23:56:48]requested_item kkm.sn is exist - process it [23:56:48]requested_item kkm.ver is exist - process it [23:56:48]requested_item fm.sn is exist - process it [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 11 00 00 [23:56:48]Write to MH i2c: E2 08 00 A0 16 80 11 00 00 00 00 00 00 30 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 17 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 17 00 A0 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 7D [23:56:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:56:48]wFMCommunicate OK [23:56:48]requested_item fd.num is exist - process it [23:56:48]SAM_PROTO_GetFieldsCounters [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 13 00 00 [23:56:48]Write to MH i2c: E2 08 00 A1 16 80 13 00 00 00 00 00 00 33 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 62 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 62 00 A1 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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [23:56: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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:48]wFMCommunicate OK [23:56:48]SAM_PROTO_GetFieldsCounters done [23:56:48]requested_item shift.num is exist - process it [23:56:48]requested_item shift.opened is exist - process it [23:56:48]req_shift_opened [23:56:48]FM_GetShiftState [23:56:48]SAM_PROTO_GetShiftState [23:56:48]wFMCommunicate request_size=4 [23:56:48]MH_SAM_APDU [23:56:48]CAPDU: 80 13 01 00 [23:56:48]Write to MH i2c: E2 08 00 A2 16 80 13 01 00 00 00 00 00 35 [23:56:48]Write i2c OK [23:56:48]MH_I2C_Read... [23:56:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:48]Read from MH i2c: E2 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 0E 00 [23:56:48]MH_I2C_Read... [23:56:48]Read from MH i2c: E2 0E 00 A2 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 2D [23:56:48]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:56:48]wFMCommunicate OK [23:56:48]SAM_PROTO_GetShiftState done [23:56:48]FM_GetShiftState done [23:56:48]req_shift_opened done [23:56:48]requested_item shift.open_date is exist - process it [23:56:48]req_shift_open_date [23:56:48]req_shift_open_date done [23:56:48]produce_requested_data done [23:56:48]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [23:56:48]process_action_free get_value [23:56:48]json_value_free [23:56:48]json_value_free done [23:56:48]process_json_proto returns [23:56:48]Send response to host [23:56:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [23:56:48]free response buf [23:56:48]execute_script done [23:56:48]execute_script returns [23:56:48]free content buf [23:56:48]Sock 9.Close socket [23:56:48]Sock 9.Thread stoped [23:56:49]accept exits with 10 [23:56:49]New connection [23:56:49]New thread 3067596132 created [23:56:49]Thread 3067452772 joined [23:56:49]Waiting for new connection... [23:56:49] Sock 10.Parse request [23:56:49]Sock 10.Check first char [23:56:49]Sock 10.First char is OK [23:56:49]request: POST /json_proto HTTP/1.0 [23:56:49]Method: POST [23:56:49]URL: /json_proto [23:56:49]Method is POST - this is cgi request [23:56:49]url: /json_proto [23:56:49]query_string will be loaded in cgi processing [23:56:49]execute_cgi json_proto POST (null) [23:56:49]execute_cgi path=json_proto method=POST [23:56:49]POST find Content-Length [23:56:49]Host: 172.17.50.4:8080 [23:56:49]Content-Length: 331 [23:56:49]Content-Type: application/json [23:56:49] [23:56:49]POST finish read [23:56:49]Found Content-Length = 331 [23:56: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" ] } } [23:56:49]execute_script... [23:56: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" ] } } [23:56:49]POST & json_proto [23:56:49]process_json_proto [23:56:49]json parsed OK: [23:56:49]protocol is kg_v1.0 [23:56:49]action value=get_value [23:56:49]process_action get_value [23:56:49]cmd_get_value [23:56:49]process_action get_value done [23:56:49]requested_data is exist [23:56:49]produce_requested_data [23:56:49]requested_item fm.sale.total is exist - process it [23:56:49]SAM_PROTO_GetFMData [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 13 03 00 [23:56:49]Write to MH i2c: E2 08 00 A3 16 80 13 03 00 00 00 00 00 38 [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:49]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:49]Read from MH i2c: E2 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 [23:56:49]MH_I2C_Read... [23:56:49]Read from MH i2c: E2 FD 00 A3 16 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 72 [23:56:49]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:56:49]wFMCommunicate OK [23:56:49]wFMCommunicate request_size=4 [23:56:49]MH_SAM_APDU [23:56:49]CAPDU: 80 17 00 00 [23:56:49]Write to MH i2c: E2 08 00 A4 16 80 17 00 00 00 00 00 00 3A [23:56:49]Write i2c OK [23:56:49]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 A4 16 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 4D [23:56:50]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 A5 16 80 17 00 00 00 00 00 00 3B [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 A5 16 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 50 [23:56: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 [23:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 A6 16 80 17 00 00 00 00 00 00 3C [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 FD 00 A6 16 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 B4 [23:56: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 [23:56:50]wFMCommunicate OK [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 17 00 00 [23:56:50]Write to MH i2c: E2 08 00 A7 16 80 17 00 00 00 00 00 00 3D [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:56:50]Read from MH i2c: E2 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 E1 00 [23:56:50]MH_I2C_Read... [23:56:50]Read from MH i2c: E2 E1 00 A7 16 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 2B [23:56:50]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:56:50]wFMCommunicate OK [23:56:50]SAM_PROTO_GetFMData done [23:56:50]requested_item fm.sale_refund.total is exist - process it [23:56:50]requested_item fm.buy.total is exist - process it [23:56:50]requested_item shift.sale.total is exist - process it [23:56:50]SAM_PROTO_GetShiftData [23:56:50]wFMCommunicate request_size=4 [23:56:50]MH_SAM_APDU [23:56:50]CAPDU: 80 13 02 00 [23:56:50]Write to MH i2c: E2 08 00 A8 16 80 13 02 00 00 00 00 00 3C [23:56:50]Write i2c OK [23:56:50]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 A8 16 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B5 [23:56:51]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 A9 16 80 17 00 00 00 00 00 00 3F [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 A9 16 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 61 [23:56: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 [23:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 AA 16 80 17 00 00 00 00 00 00 40 [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:51]Read from MH i2c: E2 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 [23:56:51]MH_I2C_Read... [23:56:51]Read from MH i2c: E2 FD 00 AA 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 F7 [23:56:51]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:56:51]wFMCommunicate OK [23:56:51]wFMCommunicate request_size=4 [23:56:51]MH_SAM_APDU [23:56:51]CAPDU: 80 17 00 00 [23:56:51]Write to MH i2c: E2 08 00 AB 16 80 17 00 00 00 00 00 00 41 [23:56:51]Write i2c OK [23:56:51]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 AB 16 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 B3 [23:56: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 [23:56:52]wFMCommunicate OK [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 17 00 00 [23:56:52]Write to MH i2c: E2 08 00 AC 16 80 17 00 00 00 00 00 00 42 [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 CB 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 CB 00 AC 16 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 2B [23:56: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 [23:56:52]wFMCommunicate OK [23:56:52]SAM_PROTO_GetShiftData done [23:56:52]requested_item shift.sale.total_cash is exist - process it [23:56:52]requested_item shift.sale_refund.total is exist - process it [23:56:52]requested_item shift.sale_refund.total_cash is exist - process it [23:56:52]requested_item shift.buy.total is exist - process it [23:56:52]requested_item shift.buy.total_cash is exist - process it [23:56:52]produce_requested_data done [23:56:52]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:56:52]process_action_free get_value [23:56:52]json_value_free [23:56:52]json_value_free done [23:56:52]process_json_proto returns [23:56:52]Send response to host [23:56:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:56:52]free response buf [23:56:52]execute_script done [23:56:52]execute_script returns [23:56:52]free content buf [23:56:52]Sock 10.Close socket [23:56:52]Sock 10.Thread stoped [23:56:52]accept exits with 7 [23:56:52]New connection [23:56:52]New thread 3067452772 created [23:56:52]Thread 3067596132 joined [23:56:52]Waiting for new connection... [23:56:52] Sock 7.Parse request [23:56:52]Sock 7.Check first char [23:56:52]Sock 7.First char is OK [23:56:52]request: POST /json_proto HTTP/1.0 [23:56:52]Method: POST [23:56:52]URL: /json_proto [23:56:52]Method is POST - this is cgi request [23:56:52]url: /json_proto [23:56:52]query_string will be loaded in cgi processing [23:56:52]execute_cgi json_proto POST (null) [23:56:52]execute_cgi path=json_proto method=POST [23:56:52]POST find Content-Length [23:56:52]Host: 172.17.50.4:8080 [23:56:52]Content-Length: 331 [23:56:52]Content-Type: application/json [23:56:52] [23:56:52]POST finish read [23:56:52]Found Content-Length = 331 [23:56:52]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:56:52]execute_script... [23:56:52]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:56:52]POST & json_proto [23:56:52]process_json_proto [23:56:52]json parsed OK: [23:56:52]protocol is kg_v1.0 [23:56:52]action value=get_value [23:56:52]process_action get_value [23:56:52]cmd_get_value [23:56:52]process_action get_value done [23:56:52]requested_data is exist [23:56:52]produce_requested_data [23:56:52]requested_item fm.sale.total is exist - process it [23:56:52]SAM_PROTO_GetFMData [23:56:52]wFMCommunicate request_size=4 [23:56:52]MH_SAM_APDU [23:56:52]CAPDU: 80 13 03 00 [23:56:52]Write to MH i2c: E2 08 00 AD 16 80 13 03 00 00 00 00 00 42 [23:56:52]Write i2c OK [23:56:52]MH_I2C_Read... [23:56:52]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:56:52]Read from MH i2c: E2 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 [23:56:52]MH_I2C_Read... [23:56:52]Read from MH i2c: E2 FD 00 AD 16 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 7C [23:56:53]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 AE 16 80 17 00 00 00 00 00 00 44 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]OFD Sender: No OFD packet to send [23:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 AE 16 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 57 [23:56:53]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 AF 16 80 17 00 00 00 00 00 00 45 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:53]Read from MH i2c: E2 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 [23:56:53]MH_I2C_Read... [23:56:53]Read from MH i2c: E2 FD 00 AF 16 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5A [23:56:53]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:56:53]wFMCommunicate OK [23:56:53]wFMCommunicate request_size=4 [23:56:53]MH_SAM_APDU [23:56:53]CAPDU: 80 17 00 00 [23:56:53]Write to MH i2c: E2 08 00 B0 16 80 17 00 00 00 00 00 00 46 [23:56:53]Write i2c OK [23:56:53]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 FD 00 B0 16 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 BE [23:56:54]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:56:54]wFMCommunicate OK [23:56:54]wFMCommunicate request_size=4 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 17 00 00 [23:56:54]Write to MH i2c: E2 08 00 B1 16 80 17 00 00 00 00 00 00 47 [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:56:54]Read from MH i2c: E2 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 E1 00 [23:56:54]MH_I2C_Read... [23:56:54]Read from MH i2c: E2 E1 00 B1 16 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 35 [23:56:54]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:56:54]wFMCommunicate OK [23:56:54]SAM_PROTO_GetFMData done [23:56:54]requested_item fm.sale_refund.total is exist - process it [23:56:54]requested_item fm.buy.total is exist - process it [23:56:54]requested_item shift.sale.total is exist - process it [23:56:54]SAM_PROTO_GetShiftData [23:56:54]wFMCommunicate request_size=4 [23:56:54]MH_SAM_APDU [23:56:54]CAPDU: 80 13 02 00 [23:56:54]Write to MH i2c: E2 08 00 B2 16 80 13 02 00 00 00 00 00 46 [23:56:54]Write i2c OK [23:56:54]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 B2 16 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 BF [23:56:55]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=4 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 17 00 00 [23:56:55]Write to MH i2c: E2 08 00 B3 16 80 17 00 00 00 00 00 00 49 [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 B3 16 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 6B [23:56: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:56:55]wFMCommunicate OK [23:56:55]wFMCommunicate request_size=4 [23:56:55]MH_SAM_APDU [23:56:55]CAPDU: 80 17 00 00 [23:56:55]Write to MH i2c: E2 08 00 B4 16 80 17 00 00 00 00 00 00 4A [23:56:55]Write i2c OK [23:56:55]MH_I2C_Read... [23:56:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:55]Read from MH i2c: E2 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 [23:56:55]MH_I2C_Read... [23:56:55]Read from MH i2c: E2 FD 00 B4 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 01 [23:56:55]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:56:56]wFMCommunicate OK [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 17 00 00 [23:56:56]Write to MH i2c: E2 08 00 B5 16 80 17 00 00 00 00 00 00 4B [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 FD 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 FD 00 B5 16 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 BD [23:56: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:56:56]wFMCommunicate OK [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 17 00 00 [23:56:56]Write to MH i2c: E2 08 00 B6 16 80 17 00 00 00 00 00 00 4C [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 CB 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 CB 00 B6 16 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 35 [23:56:56]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:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetShiftData done [23:56:56]requested_item shift.sale.total_cash is exist - process it [23:56:56]requested_item shift.sale_refund.total is exist - process it [23:56:56]requested_item shift.sale_refund.total_cash is exist - process it [23:56:56]requested_item shift.buy.total is exist - process it [23:56:56]requested_item shift.buy.total_cash is exist - process it [23:56:56]produce_requested_data done [23:56:56]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:56:56]process_action_free get_value [23:56:56]json_value_free [23:56:56]json_value_free done [23:56:56]process_json_proto returns [23:56:56]Send response to host [23:56:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:56:56]free response buf [23:56:56]execute_script done [23:56:56]execute_script returns [23:56:56]free content buf [23:56:56]Sock 7.Close socket [23:56:56]Sock 7.Thread stoped [23:56:56]accept exits with 9 [23:56:56]New connection [23:56:56]New thread 3067596132 created [23:56:56]Thread 3067452772 joined [23:56:56]Waiting for new connection... [23:56:56] Sock 9.Parse request [23:56:56]Sock 9.Check first char [23:56:56]Sock 9.First char is OK [23:56:56]request: POST /json_proto HTTP/1.0 [23:56:56]Method: POST [23:56:56]URL: /json_proto [23:56:56]Method is POST - this is cgi request [23:56:56]url: /json_proto [23:56:56]query_string will be loaded in cgi processing [23:56:56]execute_cgi json_proto POST (null) [23:56:56]execute_cgi path=json_proto method=POST [23:56:56]POST find Content-Length [23:56:56]Host: 172.17.50.4:8080 [23:56:56]Content-Length: 257 [23:56:56]Content-Type: application/json [23:56:56] [23:56:56]POST finish read [23:56:56]Found Content-Length = 257 [23:56:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:56]execute_script... [23:56:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:56:56]POST & json_proto [23:56:56]process_json_proto [23:56:56]json parsed OK: [23:56:56]protocol is kg_v1.0 [23:56:56]action value=x_report [23:56:56]process_action x_report [23:56:56]cmd_x_report [23:56:56]MH_GetDate [23:56:56]Write to MH i2c: F0 00 00 B7 16 BC [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 B7 16 00 CE 3B 18 67 3B 12 16 67 17 [23:56:56]GetLastDocTimeStamp 1729641105 [23:56:56]current date 1729641422 [23:56:56]FM_GetShiftState [23:56:56]SAM_PROTO_GetShiftState [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 13 01 00 [23:56:56]Write to MH i2c: E2 08 00 B8 16 80 13 01 00 00 00 00 00 4B [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:56:56]Read from MH i2c: E2 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 0E 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: E2 0E 00 B8 16 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 43 [23:56:56]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:56:56]wFMCommunicate OK [23:56:56]SAM_PROTO_GetShiftState done [23:56:56]FM_GetShiftState done [23:56:56]KKMCreateXReportDocument [23:56:56]Load OK [23:56:56]Malloc new data [23:56:56]MH_GetDate [23:56:56]Write to MH i2c: F0 00 00 B9 16 BE [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 [23:56:56]MH_I2C_Read... [23:56:56]Read from MH i2c: F0 09 00 B9 16 00 CE 3B 18 67 3B 12 16 67 19 [23:56:56]Malloc new data [23:56:56]Malloc new data [23:56:56]wFMCommunicate request_size=4 [23:56:56]MH_SAM_APDU [23:56:56]CAPDU: 80 11 00 00 [23:56:56]Write to MH i2c: E2 08 00 BA 16 80 11 00 00 00 00 00 00 4A [23:56:56]Write i2c OK [23:56:56]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 17 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 17 00 BA 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 97 [23:56:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:56:57]wFMCommunicate OK [23:56:57]SAM_PROTO_GetFieldsCounters [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 13 00 00 [23:56:57]Write to MH i2c: E2 08 00 BB 16 80 13 00 00 00 00 00 00 4D [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 62 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 62 00 BB 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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [23:56:57]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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:56:57]wFMCommunicate OK [23:56:57]SAM_PROTO_GetFieldsCounters done [23:56:57]Malloc new data [23:56:57]Malloc new data [23:56:57]Malloc new data [23:56:57]KKMCreateXReportDocument OK [23:56:57]KKMSetXReportData OK [23:56:57]KKMPrepareXReportFMData [23:56:57]SAM_PROTO_GetShiftData [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 13 02 00 [23:56:57]Write to MH i2c: E2 08 00 BC 16 80 13 02 00 00 00 00 00 50 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:56:57]Read from MH i2c: E2 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 [23:56:57]MH_I2C_Read... [23:56:57]Read from MH i2c: E2 FD 00 BC 16 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C9 [23:56:57]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56:57]wFMCommunicate OK [23:56:57]wFMCommunicate request_size=4 [23:56:57]MH_SAM_APDU [23:56:57]CAPDU: 80 17 00 00 [23:56:57]Write to MH i2c: E2 08 00 BD 16 80 17 00 00 00 00 00 00 53 [23:56:57]Write i2c OK [23:56:57]MH_I2C_Read... [23:56:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:58]Read from MH i2c: E2 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 BD 16 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 75 [23:56:58]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 OFD Sender: No OFD packet to send [23:56:58]75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:56:58]wFMCommunicate OK [23:56:58]wFMCommunicate request_size=4 [23:56:58]MH_SAM_APDU [23:56:58]CAPDU: 80 17 00 00 [23:56:58]Write to MH i2c: E2 08 00 BE 16 80 17 00 00 00 00 00 00 54 [23:56:58]Write i2c OK [23:56:58]MH_I2C_Read... [23:56:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:58]Read from MH i2c: E2 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 [23:56:58]MH_I2C_Read... [23:56:58]Read from MH i2c: E2 FD 00 BE 16 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 0B [23:56: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 [23:56:58]wFMCommunicate OK [23:56:58]wFMCommunicate request_size=4 [23:56:58]MH_SAM_APDU [23:56:58]CAPDU: 80 17 00 00 [23:56:58]Write to MH i2c: E2 08 00 BF 16 80 17 00 00 00 00 00 00 55 [23:56:58]Write i2c OK [23:56:58]MH_I2C_Read... [23:56:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:56:59]Read from MH i2c: E2 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 FD 00 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 FD 00 BF 16 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 C7 [23:56:59]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:56:59]wFMCommunicate OK [23:56:59]wFMCommunicate request_size=4 [23:56:59]MH_SAM_APDU [23:56:59]CAPDU: 80 17 00 00 [23:56:59]Write to MH i2c: E2 08 00 C0 16 80 17 00 00 00 00 00 00 56 [23:56:59]Write i2c OK [23:56:59]MH_I2C_Read... [23:56:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:56:59]Read from MH i2c: E2 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 CB 00 [23:56:59]MH_I2C_Read... [23:56:59]Read from MH i2c: E2 CB 00 C0 16 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 3F [23:56:59]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:56:59]wFMCommunicate OK [23:56:59]SAM_PROTO_GetShiftData done [23:56:59]1194 (1194) - счетчики итогов смены [23:56:59] 1134 (4) - 69 - количество чеков со всеми признаками расчетов [23:56:59] 1129 (155) - счетчики операций «приход» [23:56:59] 1135 (4) - 69 - количество чеков по признаку расчетов [23:56:59] 1201 (3) - 14667.00 - общая итоговая сумма в чеках [23:56:59] 1136 (3) - 13208.00 - итоговая сумма в чеках наличными [23:56:59] 1138 (3) - 1459.00 - итоговая сумма в чеках безналичными [23:56:59] 1024 (122) - суммы налогов [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 0% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1006 (12) - суммы НДС [23:56:59] 1010 (1) - 12% - код ставки НДС [23:56:59] 1011 (3) - 1557.55 - сумма НДС по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (11) - суммы НСП [23:56:59] 1014 (1) - 1% - код ставки НСП [23:56:59] 1015 (2) - 129.70 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 2% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 3% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 5% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1130 (141) - счетчики операций «возврат прихода» [23:56:59] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:59] 1024 (117) - суммы налогов [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 0% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 12% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 2% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 3% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 5% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 0,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1007 (9) - суммы НСП [23:56:59] 1014 (1) - 1,50% - код ставки НСП [23:56:59] 1015 (0) - 0.00 - сумма НСП по ставке [23:56:59] 1131 (141) - счетчики операций «расход» [23:56:59] 1135 (4) - 0 - количество чеков по признаку расчетов [23:56:59] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:56:59] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:56:59] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:56:59] 1024 (117) - суммы налогов [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 0% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1006 (9) - суммы НДС [23:56:59] 1010 (1) - 12% - код ставки НДС [23:56:59] 1011 (0) - 0.00 - сумма НДС по ставке [23:56:59] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 0% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 1% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 2% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 3% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 5% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 0,50% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 1,50% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1132 (141) - счетчики операций «возврат расхода» [23:57:00] 1135 (4) - 0 - количество чеков по признаку расчетов [23:57:00] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:57:00] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:57:00] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:57:00] 1024 (117) - суммы налогов [23:57:00] 1006 (9) - суммы НДС [23:57:00] 1010 (1) - 0% - код ставки НДС [23:57:00] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:00] 1006 (9) - суммы НДС [23:57:00] 1010 (1) - 12% - код ставки НДС [23:57:00] 1011 (0) - 0.00 - сумма НДС по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 0% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 1% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 2% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 3% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 5% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 0,50% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1007 (9) - суммы НСП [23:57:00] 1014 (1) - 1,50% - код ставки НСП [23:57:00] 1015 (0) - 0.00 - сумма НСП по ставке [23:57:00] 1133 (588) - - счетчики коррекции - не используются [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1194 (04AA) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1134 (046E) [23:57:00]Malloc new data [23:57:00]Processing tag 1129 (0469) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1135 (046F) [23:57:00]Malloc new data [23:57:00]Processing tag 1201 (04B1) [23:57:00]Malloc new data [23:57:00]Processing tag 1136 (0470) [23:57:00]Malloc new data [23:57:00]Processing tag 1138 (0472) [23:57:00]Malloc new data [23:57:00]Processing tag 1024 (0400) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1130 (046A) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1135 (046F) [23:57:00]Malloc new data [23:57:00]Processing tag 1201 (04B1) [23:57:00]Malloc new data [23:57:00]Processing tag 1136 (0470) [23:57:00]Malloc new data [23:57:00]Processing tag 1138 (0472) [23:57:00]Malloc new data [23:57:00]Processing tag 1024 (0400) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1131 (046B) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1135 (046F) [23:57:00]Malloc new data [23:57:00]Processing tag 1201 (04B1) [23:57:00]Malloc new data [23:57:00]Processing tag 1136 (0470) [23:57:00]Malloc new data [23:57:00]Processing tag 1138 (0472) [23:57:00]Malloc new data [23:57:00]Processing tag 1024 (0400) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1132 (046C) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1135 (046F) [23:57:00]Malloc new data [23:57:00]Processing tag 1201 (04B1) [23:57:00]Malloc new data [23:57:00]Processing tag 1136 (0470) [23:57:00]Malloc new data [23:57:00]Processing tag 1138 (0472) [23:57:00]Malloc new data [23:57:00]Processing tag 1024 (0400) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1006 (03EE) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1010 (03F2) [23:57:00]Malloc new data [23:57:00]Processing tag 1011 (03F3) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1007 (03EF) [23:57:00]Load OK [23:57:00]SetTLVBufToDocument [23:57:00]Processing tag 1014 (03F6) [23:57:00]Malloc new data [23:57:00]Processing tag 1015 (03F7) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Processing tag 1133 (046D) [23:57:00]Malloc new data [23:57:00]SetTLVBufToDocument err=0 [23:57:00]SetTLVBufToDocument err=0 [23:57:00]Malloc new data [23:57:00]SAM_PROTO_GetFMData [23:57:00]wFMCommunicate request_size=4 [23:57:00]MH_SAM_APDU [23:57:00]CAPDU: 80 13 03 00 [23:57:00]Write to MH i2c: E2 08 00 C1 16 80 13 03 00 00 00 00 00 56 [23:57:00]Write i2c OK [23:57:00]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 C1 16 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 90 [23:57:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:57:01]wFMCommunicate OK [23:57:01]wFMCommunicate request_size=4 [23:57:01]MH_SAM_APDU [23:57:01]CAPDU: 80 17 00 00 [23:57:01]Write to MH i2c: E2 08 00 C2 16 80 17 00 00 00 00 00 00 58 [23:57:01]Write i2c OK [23:57:01]MH_I2C_Read... [23:57:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:01]Read from MH i2c: E2 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 [23:57:01]MH_I2C_Read... [23:57:01]Read from MH i2c: E2 FD 00 C2 16 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 6B [23:57:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:57:02]wFMCommunicate OK [23:57:02]wFMCommunicate request_size=4 [23:57:02]MH_SAM_APDU [23:57:02]CAPDU: 80 17 00 00 [23:57:02]Write to MH i2c: E2 08 00 C3 16 80 17 00 00 00 00 00 00 59 [23:57:02]Write i2c OK [23:57:02]MH_I2C_Read... [23:57:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:02]Read from MH i2c: E2 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 FD 00 [23:57:02]MH_I2C_Read... [23:57:02]Read from MH i2c: E2 FD 00 C3 16 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 6E [23:57:02]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:57:02]wFMCommunicate OK [23:57:02]wFMCommunicate request_size=4 [23:57:02]MH_SAM_APDU [23:57:02]CAPDU: 80 17 00 00 [23:57:02]Write to MH i2c: E2 08 00 C4 16 80 17 00 00 00 00 00 00 5A [23:57:02]Write i2c OK [23:57:02]MH_I2C_Read... [23:57:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:57:03]Read from MH i2c: E2 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 FD 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 FD 00 C4 16 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 D2 [23:57:03]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:57:03]wFMCommunicate OK [23:57:03]wFMCommunicate request_size=4 [23:57:03]MH_SAM_APDU [23:57:03]CAPDU: 80 17 00 00 [23:57:03]Write to MH i2c: E2 08 00 C5 16 80 17 00 00 00 00 00 00 5B [23:57:03]Write i2c OK [23:57:03]MH_I2C_Read... [23:57:03]OFD Sender: No OFD packet to send [23:57:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:57:03]Read from MH i2c: E2 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 E1 00 [23:57:03]MH_I2C_Read... [23:57:03]Read from MH i2c: E2 E1 00 C5 16 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 49 [23:57:03]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:57:03]wFMCommunicate OK [23:57:03]SAM_PROTO_GetFMData done [23:57:03]FM_GetFMData:85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 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 8E CC 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 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:04]oper:6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 [23:57:04]total:AA 86 25 2C [23:57:04]Malloc new data [23:57:04]oper:6F 04 04 00 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 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 8E CC 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 [23:57:04]total:5C 45 AD 01 [23:57:04]Malloc new data [23:57:04]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:04]total: [23:57:04]Malloc new data [23:57:04]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [23:57:04]total: [23:57:04]Malloc new data [23:57:04]KKMPrepareXReportFMData err=0 [23:57:04]Х отчет ИНН: 02508201610067 Кассир: Ахмедова У. 22.10.2024 23:57 Смена: 266 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Всего чеков: 69 ИТОГИ ПРИХОД Чеков: 69 Общий итог: 14667.00 Итого наличными: 13208.00 Итого безнал.: 1459.00 НДС 0% : 0.00 НДС 12% : 1557.55 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 129.70 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 13208.00 НС Приход: 7406568.10 НС Возвр.Прихода: 281327.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000965420 [23:57:04]StoreToDocumentArchive [23:57:04]MH_GetDate [23:57:04]Write to MH i2c: F0 00 00 C6 16 CB [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: F0 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: F0 09 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: F0 09 00 C6 16 00 D6 3B 18 67 3B 12 16 67 2E [23:57:05]shift 266 fd 1729641430 [23:57:05]Create dir for shift 0266 [23:57:05]save to /storage/0266/doc_1729641430 [23:57:05]save last doc name /storage/0266/doc_1729641430 to /storage/kkm_last_doc_name [23:57:05]save OK [23:57:05]Clear old archive folders... [23:57:05]NVStorageSaveData kkm_last_timestamp [23:57:05]File name is /storage/kkm_last_timestamp [23:57:05]Write 4 bytes [23:57:05]NVStorageSaveData done [23:57:05]ExternCall_PrintAddStr [23:57:05]wPrintStart [23:57:05]Write to MH i2c: 01 00 00 C7 16 DD [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 C7 16 00 00 00 00 00 FF 0F F2 [23:57:05]RasterBufferAndPrint [23:57:05]line Х отчет [23:57:05]line ИНН: 02508201610067 [23:57:05]line Кассир: Ахмедова У. [23:57:05]line 22.10.2024 23:57 [23:57:05]line Смена: 266 [23:57:05]line РНМ: 0000000000098120 [23:57:05]line ЗНМ: 0300000166 [23:57:05]line СНО: Общий режим [23:57:05]line Всего чеков: 69 [23:57:05]line ИТОГИ ПРИХОД [23:57:05]line Чеков: 69 [23:57:05]line Общий итог: 14667.00 [23:57:05]line Итого наличными: 13208.00 [23:57:05]line Итого безнал.: 1459.00 [23:57:05]line НДС 0% : 0.00 [23:57:05]line НДС 12% : 1557.55 [23:57:05]line НСП 0% : 0.00 [23:57:05]line НСП 1,50% : 0.00 [23:57:05]line НСП 0,50% : 0.00 [23:57:05]line НСП 5% : 0.00 [23:57:05]line НСП 3% : 0.00 [23:57:05]line НСП 2% : 0.00 [23:57:05]line НСП 1% : 129.70 [23:57:05]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:57:05]line Чеков: 0 [23:57:05]line Общий итог: 0.00 [23:57:05]line Итого наличными: 0.00 [23:57:05]line Итого безнал.: 0.00 [23:57:05]line НДС 0% : 0.00 [23:57:05]line НДС 12% : 0.00 [23:57:05]line НСП 0% : 0.00 [23:57:05]line НСП 1,50% : 0.00 [23:57:05]line НСП 0,50% : 0.00 [23:57:05]line НСП 5% : 0.00 [23:57:05]line НСП 3% : 0.00 [23:57:05]line НСП 2% : 0.00 [23:57:05]line НСП 1% : 0.00 [23:57:05]line ИТОГИ РАСХОД [23:57:05]line Чеков: 0 [23:57:05]line Общий итог: 0.00 [23:57:05]line Итого наличными: 0.00 [23:57:05]line Итого безнал.: 0.00 [23:57:05]line НДС 0% : 0.00 [23:57:05]line НДС 12% : 0.00 [23:57:05]line НСП 0% : 0.00 [23:57:05]line НСП 1,50% : 0.00 [23:57:05]line НСП 0,50% : 0.00 [23:57:05]line НСП 5% : 0.00 [23:57:05]line НСП 3% : 0.00 [23:57:05]line НСП 2% : 0.00 [23:57:05]line НСП 1% : 0.00 [23:57:05]line ИТОГИ ВОЗВРАТ РАСХОДА [23:57:05]line Чеков: 0 [23:57:05]line Общий итог: 0.00 [23:57:05]line Итого наличными: 0.00 [23:57:05]line Итого безнал.: 0.00 [23:57:05]line НДС 0% : 0.00 [23:57:05]line НДС 12% : 0.00 [23:57:05]line НСП 0% : 0.00 [23:57:05]line НСП 1,50% : 0.00 [23:57:05]line НСП 0,50% : 0.00 [23:57:05]line НСП 5% : 0.00 [23:57:05]line НСП 3% : 0.00 [23:57:05]line НСП 2% : 0.00 [23:57:05]line НСП 1% : 0.00 [23:57:05]line Сумма внесений: 0.00 [23:57:05]line Сумма выплат: 0.00 [23:57:05]line Нал. в кассе: 13208.00 [23:57:05]line НС Приход: 7406568.10 [23:57:05]line НС Возвр.Прихода: 281327.00 [23:57:05]line НС Расход: 0.00 [23:57:05]line НС Возвр.Расхода: 0.00 [23:57:05]line ФМ: 0000000000965420 [23:57:05]written 0, free lines is 4095 [23:57:05]Write to MH i2c: 01 00 00 12 17 29 [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 [23:57:05]MH_I2C_Read... [23:57:05]Read from MH i2c: 01 07 00 12 17 00 00 00 00 00 24 0B 5F [23:57:05]RasterBufferAndPrint [23:57:05]line [23:57:05]line [23:57:05]line [23:57:05]line [23:57:05]line [23:57:05]written 0, free lines is 2888 [23:57:05]process_action x_report done [23:57:05]requested_data is exist [23:57:05]produce_requested_data [23:57:05]requested_item fd.num is exist - process it [23:57:05]SAM_PROTO_GetFieldsCounters [23:57:05]wFMCommunicate request_size=4 [23:57:05]MH_SAM_APDU [23:57:05]CAPDU: 80 13 00 00 [23:57:05]Write to MH i2c: E2 08 00 19 17 80 13 00 00 00 00 00 00 AC [23:57:05]Write i2c OK [23:57:05]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 62 00 19 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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 41 [23:57:06]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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetFieldsCounters done [23:57:06]requested_item shift.num is exist - process it [23:57:06]requested_item shift.opened is exist - process it [23:57:06]req_shift_opened [23:57:06]FM_GetShiftState [23:57:06]SAM_PROTO_GetShiftState [23:57:06]wFMCommunicate request_size=4 [23:57:06]MH_SAM_APDU [23:57:06]CAPDU: 80 13 01 00 [23:57:06]Write to MH i2c: E2 08 00 1A 17 80 13 01 00 00 00 00 00 AE [23:57:06]Write i2c OK [23:57:06]MH_I2C_Read... [23:57:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:57:06]Read from MH i2c: E2 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 [23:57:06]MH_I2C_Read... [23:57:06]Read from MH i2c: E2 0E 00 1A 17 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A6 [23:57:06]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:57:06]wFMCommunicate OK [23:57:06]SAM_PROTO_GetShiftState done [23:57:06]FM_GetShiftState done [23:57:06]req_shift_opened done [23:57:06]requested_item shift.open_date is exist - process it [23:57:06]req_shift_open_date [23:57:06]req_shift_open_date done [23:57:06]produce_requested_data done [23:57:06]produce_requested_data return {"fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [23:57:06]process_action_free x_report [23:57:06]json_value_free [23:57:06]json_value_free done [23:57:06]process_json_proto returns [23:57:06]Send response to host [23:57:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [23:57:06]free response buf [23:57:06]execute_script done [23:57:06]execute_script returns [23:57:06]free content buf [23:57:06]Sock 9.Close socket [23:57:06]Sock 9.Thread stoped [23:57:08]OFD Sender: No OFD packet to send [23:57:13]OFD Sender: No OFD packet to send [23:57:18]OFD Sender: No OFD packet to send [23:57:23]OFD Sender: No OFD packet to send [23:57:28]OFD Sender: No OFD packet to send [23:57:33]OFD Sender: No OFD packet to send [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]accept exits with 7 [23:58:03]New connection [23:58:03]New thread 3067452772 created [23:58:03]Thread 3067596132 joined [23:58:03]Waiting for new connection... [23:58:03] Sock 7.Parse request [23:58:03]Sock 7.Check first char [23:58:03]Sock 7.First char is OK [23:58:03]request: POST /json_proto HTTP/1.0 [23:58:03]Method: POST [23:58:03]URL: /json_proto [23:58:03]Method is POST - this is cgi request [23:58:03]url: /json_proto [23:58:03]query_string will be loaded in cgi processing [23:58:03]execute_cgi json_proto POST (null) [23:58:03]execute_cgi path=json_proto method=POST [23:58:03]POST find Content-Length [23:58:03]Host: 172.17.50.4:8080 [23:58:03]Content-Length: 215 [23:58:03]Content-Type: application/json [23:58:03] [23:58:03]POST finish read [23:58:03]Found Content-Length = 215 [23:58:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:03]execute_script... [23:58:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:03]POST & json_proto [23:58:03]process_json_proto [23:58:03]json parsed OK: [23:58:03]protocol is kg_v1.0 [23:58:03]action value=get_value [23:58:03]process_action get_value [23:58:03]cmd_get_value [23:58:03]process_action get_value done [23:58:03]requested_data is exist [23:58:03]produce_requested_data [23:58:03]requested_item kkm.sn is exist - process it [23:58:03]requested_item kkm.ver is exist - process it [23:58:03]requested_item fm.sn is exist - process it [23:58:03]wFMCommunicate request_size=4 [23:58:03]MH_SAM_APDU [23:58:03]CAPDU: 80 11 00 00 [23:58:03]Write to MH i2c: E2 08 00 1B 17 80 11 00 00 00 00 00 00 AC [23:58:03]Write i2c OK [23:58:03]MH_I2C_Read... [23:58:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:03]Read from MH i2c: E2 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 17 00 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 17 00 1B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F9 [23:58:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:58:03]wFMCommunicate OK [23:58:03]requested_item fd.num is exist - process it [23:58:03]SAM_PROTO_GetFieldsCounters [23:58:03]wFMCommunicate request_size=4 [23:58:03]MH_SAM_APDU [23:58:03]CAPDU: 80 13 00 00 [23:58:03]Write to MH i2c: E2 08 00 1C 17 80 13 00 00 00 00 00 00 AF [23:58:03]Write i2c OK [23:58:03]MH_I2C_Read... [23:58:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:03]Read from MH i2c: E2 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 62 00 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 62 00 1C 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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 44 [23:58: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 82 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:03]wFMCommunicate OK [23:58:03]SAM_PROTO_GetFieldsCounters done [23:58:03]requested_item shift.num is exist - process it [23:58:03]requested_item shift.opened is exist - process it [23:58:03]req_shift_opened [23:58:03]FM_GetShiftState [23:58:03]SAM_PROTO_GetShiftState [23:58:03]wFMCommunicate request_size=4 [23:58:03]MH_SAM_APDU [23:58:03]CAPDU: 80 13 01 00 [23:58:03]Write to MH i2c: E2 08 00 1D 17 80 13 01 00 00 00 00 00 B1 [23:58:03]Write i2c OK [23:58:03]MH_I2C_Read... [23:58:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:03]Read from MH i2c: E2 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 0E 00 [23:58:03]MH_I2C_Read... [23:58:03]Read from MH i2c: E2 0E 00 1D 17 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 A9 [23:58:03]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:58:03]wFMCommunicate OK [23:58:03]SAM_PROTO_GetShiftState done [23:58:03]FM_GetShiftState done [23:58:03]req_shift_opened done [23:58:03]requested_item shift.open_date is exist - process it [23:58:03]req_shift_open_date [23:58:03]req_shift_open_date done [23:58:03]produce_requested_data done [23:58:03]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332} [23:58:03]process_action_free get_value [23:58:03]json_value_free [23:58:03]json_value_free done [23:58:03]process_json_proto returns [23:58:03]Send response to host [23:58:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24450,"shift.num":462,"shift.opened":1,"shift.open_date":1729555332}}} [23:58:03]free response buf [23:58:03]execute_script done [23:58:03]execute_script returns [23:58:03]free content buf [23:58:03]Sock 7.Close socket [23:58:03]Sock 7.Thread stoped [23:58:03]OFD Sender: No OFD packet to send [23:58:03]accept exits with 9 [23:58:03]New connection [23:58:03]New thread 3067596132 created [23:58:03]Thread 3067452772 joined [23:58:03]Waiting for new connection... [23:58:03] Sock 9.Parse request [23:58:03]Sock 9.Check first char [23:58:03]Sock 9.First char is OK [23:58:03]request: POST /json_proto HTTP/1.0 [23:58:03]Method: POST [23:58:03]URL: /json_proto [23:58:03]Method is POST - this is cgi request [23:58:03]url: /json_proto [23:58:03]query_string will be loaded in cgi processing [23:58:03]execute_cgi json_proto POST (null) [23:58:03]execute_cgi path=json_proto method=POST [23:58:03]POST find Content-Length [23:58:03]Host: 172.17.50.4:8080 [23:58:03]Content-Length: 331 [23:58:03]Content-Type: application/json [23:58:03] [23:58:03]POST finish read [23:58:03]Found Content-Length = 331 [23:58:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:03]execute_script... [23:58:03]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:03]POST & json_proto [23:58:03]process_json_proto [23:58:03]json parsed OK: [23:58:03]protocol is kg_v1.0 [23:58:03]action value=get_value [23:58:03]process_action get_value [23:58:03]cmd_get_value [23:58:03]process_action get_value done [23:58:03]requested_data is exist [23:58:03]produce_requested_data [23:58:03]requested_item fm.sale.total is exist - process it [23:58:03]SAM_PROTO_GetFMData [23:58:03]wFMCommunicate request_size=4 [23:58:03]MH_SAM_APDU [23:58:03]CAPDU: 80 13 03 00 [23:58:03]Write to MH i2c: E2 08 00 1E 17 80 13 03 00 00 00 00 00 B4 [23:58:03]Write i2c OK [23:58:03]MH_I2C_Read... [23:58:04]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:04]Read from MH i2c: E2 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 1E 17 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 EE [23:58:04]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:58:04]wFMCommunicate OK [23:58:04]wFMCommunicate request_size=4 [23:58:04]MH_SAM_APDU [23:58:04]CAPDU: 80 17 00 00 [23:58:04]Write to MH i2c: E2 08 00 1F 17 80 17 00 00 00 00 00 00 B6 [23:58:04]Write i2c OK [23:58:04]MH_I2C_Read... [23:58:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:04]Read from MH i2c: E2 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 1F 17 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 C9 [23:58:04]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:58:04]wFMCommunicate OK [23:58:04]wFMCommunicate request_size=4 [23:58:04]MH_SAM_APDU [23:58:04]CAPDU: 80 17 00 00 [23:58:04]Write to MH i2c: E2 08 00 20 17 80 17 00 00 00 00 00 00 B7 [23:58:04]Write i2c OK [23:58:04]MH_I2C_Read... [23:58:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:04]Read from MH i2c: E2 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 [23:58:04]MH_I2C_Read... [23:58:04]Read from MH i2c: E2 FD 00 20 17 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CC [23:58: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 [23:58:04]wFMCommunicate OK [23:58:04]wFMCommunicate request_size=4 [23:58:04]MH_SAM_APDU [23:58:04]CAPDU: 80 17 00 00 [23:58:04]Write to MH i2c: E2 08 00 21 17 80 17 00 00 00 00 00 00 B8 [23:58:04]Write i2c OK [23:58:04]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 FD 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 FD 00 21 17 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 30 [23:58: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 [23:58:05]wFMCommunicate OK [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 17 00 00 [23:58:05]Write to MH i2c: E2 08 00 22 17 80 17 00 00 00 00 00 00 B9 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 E1 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 E1 00 22 17 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 A7 [23:58:05]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:05]wFMCommunicate OK [23:58:05]SAM_PROTO_GetFMData done [23:58:05]requested_item fm.sale_refund.total is exist - process it [23:58:05]requested_item fm.buy.total is exist - process it [23:58:05]requested_item shift.sale.total is exist - process it [23:58:05]SAM_PROTO_GetShiftData [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 13 02 00 [23:58:05]Write to MH i2c: E2 08 00 23 17 80 13 02 00 00 00 00 00 B8 [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:05]Read from MH i2c: E2 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 FD 00 [23:58:05]MH_I2C_Read... [23:58:05]Read from MH i2c: E2 FD 00 23 17 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 31 [23:58:05]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:05]wFMCommunicate OK [23:58:05]wFMCommunicate request_size=4 [23:58:05]MH_SAM_APDU [23:58:05]CAPDU: 80 17 00 00 [23:58:05]Write to MH i2c: E2 08 00 24 17 80 17 00 00 00 00 00 00 BB [23:58:05]Write i2c OK [23:58:05]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 24 17 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 DD [23:58:06]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:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 17 00 00 [23:58:06]Write to MH i2c: E2 08 00 25 17 80 17 00 00 00 00 00 00 BC [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 25 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 73 [23:58:06]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:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 17 00 00 [23:58:06]Write to MH i2c: E2 08 00 26 17 80 17 00 00 00 00 00 00 BD [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 FD 00 26 17 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 2F [23:58:06]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:58:06]wFMCommunicate OK [23:58:06]wFMCommunicate request_size=4 [23:58:06]MH_SAM_APDU [23:58:06]CAPDU: 80 17 00 00 [23:58:06]Write to MH i2c: E2 08 00 27 17 80 17 00 00 00 00 00 00 BE [23:58:06]Write i2c OK [23:58:06]MH_I2C_Read... [23:58:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:06]Read from MH i2c: E2 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 CB 00 [23:58:06]MH_I2C_Read... [23:58:06]Read from MH i2c: E2 CB 00 27 17 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 A7 [23:58:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:07]wFMCommunicate OK [23:58:07]SAM_PROTO_GetShiftData done [23:58:07]requested_item shift.sale.total_cash is exist - process it [23:58:07]requested_item shift.sale_refund.total is exist - process it [23:58:07]requested_item shift.sale_refund.total_cash is exist - process it [23:58:07]requested_item shift.buy.total is exist - process it [23:58:07]requested_item shift.buy.total_cash is exist - process it [23:58:07]produce_requested_data done [23:58:07]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:58:07]process_action_free get_value [23:58:07]json_value_free [23:58:07]json_value_free done [23:58:07]process_json_proto returns [23:58:07]Send response to host [23:58:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:58:07]free response buf [23:58:07]execute_script done [23:58:07]execute_script returns [23:58:07]free content buf [23:58:07]Sock 9.Close socket [23:58:07]Sock 9.Thread stoped [23:58:07]accept exits with 7 [23:58:07]New connection [23:58:07]New thread 3067452772 created [23:58:07]Thread 3067596132 joined [23:58:07]Waiting for new connection... [23:58:07] Sock 7.Parse request [23:58:07]Sock 7.Check first char [23:58:07]Sock 7.First char is OK [23:58:07]request: POST /json_proto HTTP/1.0 [23:58:07]Method: POST [23:58:07]URL: /json_proto [23:58:07]Method is POST - this is cgi request [23:58:07]url: /json_proto [23:58:07]query_string will be loaded in cgi processing [23:58:07]execute_cgi json_proto POST (null) [23:58:07]execute_cgi path=json_proto method=POST [23:58:07]POST find Content-Length [23:58:07]Host: 172.17.50.4:8080 [23:58:07]Content-Length: 331 [23:58:07]Content-Type: application/json [23:58:07] [23:58:07]POST finish read [23:58:07]Found Content-Length = 331 [23:58:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:07]execute_script... [23:58:07]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [23:58:07]POST & json_proto [23:58:07]process_json_proto [23:58:07]json parsed OK: [23:58:07]protocol is kg_v1.0 [23:58:07]action value=get_value [23:58:07]process_action get_value [23:58:07]cmd_get_value [23:58:07]process_action get_value done [23:58:07]requested_data is exist [23:58:07]produce_requested_data [23:58:07]requested_item fm.sale.total is exist - process it [23:58:07]SAM_PROTO_GetFMData [23:58:07]wFMCommunicate request_size=4 [23:58:07]MH_SAM_APDU [23:58:07]CAPDU: 80 13 03 00 [23:58:07]Write to MH i2c: E2 08 00 28 17 80 13 03 00 00 00 00 00 BE [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:07]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:07]Read from MH i2c: E2 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: E2 FD 00 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: E2 FD 00 28 17 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 F8 [23:58:07]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:58:07]wFMCommunicate OK [23:58:07]wFMCommunicate request_size=4 [23:58:07]MH_SAM_APDU [23:58:07]CAPDU: 80 17 00 00 [23:58:07]Write to MH i2c: E2 08 00 29 17 80 17 00 00 00 00 00 00 C0 [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:07]Read from MH i2c: E2 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: E2 FD 00 [23:58:07]MH_I2C_Read... [23:58:07]Read from MH i2c: E2 FD 00 29 17 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 D3 [23:58:07]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:58:07]wFMCommunicate OK [23:58:07]wFMCommunicate request_size=4 [23:58:07]MH_SAM_APDU [23:58:07]CAPDU: 80 17 00 00 [23:58:07]Write to MH i2c: E2 08 00 2A 17 80 17 00 00 00 00 00 00 C1 [23:58:07]Write i2c OK [23:58:07]MH_I2C_Read... [23:58:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 FD 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 FD 00 2A 17 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D6 [23:58:08]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:58:08]wFMCommunicate OK [23:58:08]wFMCommunicate request_size=4 [23:58:08]MH_SAM_APDU [23:58:08]CAPDU: 80 17 00 00 [23:58:08]Write to MH i2c: E2 08 00 2B 17 80 17 00 00 00 00 00 00 C2 [23:58:08]Write i2c OK [23:58:08]MH_I2C_Read... [23:58:08]OFD Sender: No OFD packet to send [23:58:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 FD 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 FD 00 2B 17 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 3A [23:58:08]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:58:08]wFMCommunicate OK [23:58:08]wFMCommunicate request_size=4 [23:58:08]MH_SAM_APDU [23:58:08]CAPDU: 80 17 00 00 [23:58:08]Write to MH i2c: E2 08 00 2C 17 80 17 00 00 00 00 00 00 C3 [23:58:08]Write i2c OK [23:58:08]MH_I2C_Read... [23:58:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:08]Read from MH i2c: E2 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 E1 00 [23:58:08]MH_I2C_Read... [23:58:08]Read from MH i2c: E2 E1 00 2C 17 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 B1 [23:58:09]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:09]wFMCommunicate OK [23:58:09]SAM_PROTO_GetFMData done [23:58:09]requested_item fm.sale_refund.total is exist - process it [23:58:09]requested_item fm.buy.total is exist - process it [23:58:09]requested_item shift.sale.total is exist - process it [23:58:09]SAM_PROTO_GetShiftData [23:58:09]wFMCommunicate request_size=4 [23:58:09]MH_SAM_APDU [23:58:09]CAPDU: 80 13 02 00 [23:58:09]Write to MH i2c: E2 08 00 2D 17 80 13 02 00 00 00 00 00 C2 [23:58:09]Write i2c OK [23:58:09]MH_I2C_Read... [23:58:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:58:09]Read from MH i2c: E2 [23:58:09]MH_I2C_Read... [23:58:09]Read from MH i2c: E2 FD 00 [23:58:09]MH_I2C_Read... [23:58:09]Read from MH i2c: E2 FD 00 2D 17 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3B [23:58:09]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:58:09]wFMCommunicate OK [23:58:09]wFMCommunicate request_size=4 [23:58:09]MH_SAM_APDU [23:58:09]CAPDU: 80 17 00 00 [23:58:09]Write to MH i2c: E2 08 00 2E 17 80 17 00 00 00 00 00 00 C5 [23:58:09]Write i2c OK [23:58:09]MH_I2C_Read... [23:58:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:09]Read from MH i2c: E2 [23:58:09]MH_I2C_Read... [23:58:09]Read from MH i2c: E2 FD 00 [23:58:09]MH_I2C_Read... [23:58:09]Read from MH i2c: E2 FD 00 2E 17 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 E7 [23:58:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [23:58:10]wFMCommunicate OK [23:58:10]wFMCommunicate request_size=4 [23:58:10]MH_SAM_APDU [23:58:10]CAPDU: 80 17 00 00 [23:58:10]Write to MH i2c: E2 08 00 2F 17 80 17 00 00 00 00 00 00 C6 [23:58:10]Write i2c OK [23:58:10]MH_I2C_Read... [23:58:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:10]Read from MH i2c: E2 [23:58:10]MH_I2C_Read... [23:58:10]Read from MH i2c: E2 FD 00 [23:58:10]MH_I2C_Read... [23:58:10]Read from MH i2c: E2 FD 00 2F 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7D [23:58:10]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [23:58:10]wFMCommunicate OK [23:58:10]wFMCommunicate request_size=4 [23:58:10]MH_SAM_APDU [23:58:10]CAPDU: 80 17 00 00 [23:58:10]Write to MH i2c: E2 08 00 30 17 80 17 00 00 00 00 00 00 C7 [23:58:10]Write i2c OK [23:58:10]MH_I2C_Read... [23:58:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:10]Read from MH i2c: E2 [23:58:10]MH_I2C_Read... [23:58:10]Read from MH i2c: E2 FD 00 [23:58:10]MH_I2C_Read... [23:58:10]Read from MH i2c: E2 FD 00 30 17 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 39 [23:58:10]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:58:10]wFMCommunicate OK [23:58:10]wFMCommunicate request_size=4 [23:58:10]MH_SAM_APDU [23:58:10]CAPDU: 80 17 00 00 [23:58:10]Write to MH i2c: E2 08 00 31 17 80 17 00 00 00 00 00 00 C8 [23:58:10]Write i2c OK [23:58:10]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 CB 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 CB 00 31 17 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 B1 [23:58:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:11]wFMCommunicate OK [23:58:11]SAM_PROTO_GetShiftData done [23:58:11]requested_item shift.sale.total_cash is exist - process it [23:58:11]requested_item shift.sale_refund.total is exist - process it [23:58:11]requested_item shift.sale_refund.total_cash is exist - process it [23:58:11]requested_item shift.buy.total is exist - process it [23:58:11]requested_item shift.buy.total_cash is exist - process it [23:58:11]produce_requested_data done [23:58:11]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:58:11]process_action_free get_value [23:58:11]json_value_free [23:58:11]json_value_free done [23:58:11]process_json_proto returns [23:58:11]Send response to host [23:58:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.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:58:11]free response buf [23:58:11]execute_script done [23:58:11]execute_script returns [23:58:11]free content buf [23:58:11]Sock 7.Close socket [23:58:11]Sock 7.Thread stoped [23:58:11]accept exits with 9 [23:58:11]New connection [23:58:11]New thread 3067596132 created [23:58:11]Thread 3067452772 joined [23:58:11]Waiting for new connection... [23:58:11] Sock 9.Parse request [23:58:11]Sock 9.Check first char [23:58:11]Sock 9.First char is OK [23:58:11]request: POST /json_proto HTTP/1.0 [23:58:11]Method: POST [23:58:11]URL: /json_proto [23:58:11]Method is POST - this is cgi request [23:58:11]url: /json_proto [23:58:11]query_string will be loaded in cgi processing [23:58:11]execute_cgi json_proto POST (null) [23:58:11]execute_cgi path=json_proto method=POST [23:58:11]POST find Content-Length [23:58:11]Host: 172.17.50.4:8080 [23:58:11]Content-Length: 260 [23:58:11]Content-Type: application/json [23:58:11] [23:58:11]POST finish read [23:58:11]Found Content-Length = 260 [23:58:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:11]execute_script... [23:58:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0410\u0445\u043C\u0435\u0434\u043E\u0432\u0430 \u0423. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:58:11]POST & json_proto [23:58:11]process_json_proto [23:58:11]json parsed OK: [23:58:11]protocol is kg_v1.0 [23:58:11]action value=close_shift [23:58:11]process_action close_shift [23:58:11]cmd_close_shift [23:58:11]MH_GetDate [23:58:11]Write to MH i2c: F0 00 00 32 17 38 [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 09 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 09 00 32 17 00 19 3C 18 67 3B 12 16 67 DF [23:58:11]GetLastDocTimeStamp 1729641422 [23:58:11]current date 1729641497 [23:58:11]FM_GetShiftState [23:58:11]SAM_PROTO_GetShiftState [23:58:11]wFMCommunicate request_size=4 [23:58:11]MH_SAM_APDU [23:58:11]CAPDU: 80 13 01 00 [23:58:11]Write to MH i2c: E2 08 00 33 17 80 13 01 00 00 00 00 00 C7 [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 0E 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 0E 00 33 17 00 09 00 01 84 EB 16 67 00 00 00 00 90 00 BF [23:58:11]RAPDU: 09 00 01 84 EB 16 67 00 00 00 00 90 00 [23:58:11]wFMCommunicate OK [23:58:11]SAM_PROTO_GetShiftState done [23:58:11]FM_GetShiftState done [23:58:11]KKMCreateCloseShiftDocument [23:58:11]Load OK [23:58:11]Malloc new data [23:58:11]MH_GetDate [23:58:11]Write to MH i2c: F0 00 00 34 17 3A [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 09 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: F0 09 00 34 17 00 19 3C 18 67 3B 12 16 67 E1 [23:58:11]Malloc new data [23:58:11]Malloc new data [23:58:11]Malloc new data [23:58:11]Malloc new data [23:58:11]KKMCreateCloseShiftDocument OK [23:58:11]KKMSetCloseShiftData OK [23:58:11]ProcessDocumentItem done err = 0, tmpTLVsize=71 [23:58:11]tlvbuf is 00E3D7C0 [23:58:11]KKMLoadAndSignCloseShiftData [23:58:11]SAM_PROTO_ProcessDocument [23:58:11]wFMCommunicate request_size=9 [23:58:11]MH_SAM_APDU [23:58:11]CAPDU: 80 15 01 00 04 05 00 47 00 [23:58:11]Write to MH i2c: E2 0C 00 35 17 80 15 01 00 04 00 05 00 47 00 00 00 1F [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 35 17 00 90 00 C0 [23:58:11]RAPDU: 90 00 [23:58:11]wFMCommunicate OK [23:58:11]wFMCommunicate request_size=23 [23:58:11]MH_SAM_APDU [23:58:11]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [23:58:11]Write to MH i2c: E2 1A 00 36 17 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 C2 [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 36 17 00 90 00 C1 [23:58:11]RAPDU: 90 00 [23:58:11]wFMCommunicate OK [23:58:11]wFMCommunicate request_size=30 [23:58:11]MH_SAM_APDU [23:58:11]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 [23:58:11]Write to MH i2c: E2 21 00 37 17 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 D1 [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 37 17 00 90 00 C2 [23:58:11]RAPDU: 90 00 [23:58:11]wFMCommunicate OK [23:58:11]wFMCommunicate request_size=13 [23:58:11]MH_SAM_APDU [23:58:11]CAPDU: 80 15 02 00 08 F4 03 04 00 19 3C 18 67 [23:58:11]Write to MH i2c: E2 10 00 38 17 80 15 02 00 08 00 F4 03 04 00 19 3C 18 67 00 00 AE [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 38 17 00 90 00 C3 [23:58:11]RAPDU: 90 00 [23:58:11]wFMCommunicate OK [23:58:11]wFMCommunicate request_size=25 [23:58:11]MH_SAM_APDU [23:58:11]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 [23:58:11]Write to MH i2c: E2 1C 00 39 17 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 2D [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:11]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [23:58:11]Read from MH i2c: E2 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 [23:58:11]MH_I2C_Read... [23:58:11]Read from MH i2c: E2 03 00 39 17 00 90 00 C4 [23:58:11]RAPDU: 90 00 [23:58:11]wFMCommunicate OK [23:58:11]wFMCommunicate request_size=4 [23:58:11]MH_SAM_APDU [23:58:11]CAPDU: 80 15 03 00 [23:58:11]Write to MH i2c: E2 08 00 3A 17 80 15 03 00 00 00 00 00 D2 [23:58:11]Write i2c OK [23:58:11]MH_I2C_Read... [23:58:12]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [23:58:12]Read from MH i2c: E2 [23:58:12]MH_I2C_Read... [23:58:12]Read from MH i2c: E2 FD 00 [23:58:12]MH_I2C_Read... [23:58:12]Read from MH i2c: E2 FD 00 3A 17 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 83 5F 00 00 0E 04 04 00 CE 01 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 21 [23:58:12]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 83 5F 00 00 0E 04 04 00 CE 01 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [23:58:12]wFMCommunicate OK [23:58:12]SAM_PROTO_ProcessDocument answer len = 1265 [23:58:12]SAM_PROTO_ProcessDocument remain to read = 1017 [23:58:12]wFMCommunicate request_size=4 [23:58:12]MH_SAM_APDU [23:58:12]CAPDU: 80 17 00 00 [23:58:12]Write to MH i2c: E2 08 00 3B 17 80 17 00 00 00 00 00 00 D2 [23:58:12]Write i2c OK [23:58:12]MH_I2C_Read... [23:58:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:12]Read from MH i2c: E2 [23:58:12]MH_I2C_Read... [23:58:12]Read from MH i2c: E2 FD 00 [23:58:12]MH_I2C_Read... [23:58:12]Read from MH i2c: E2 FD 00 3B 17 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1B [23:58:13]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:58:13]wFMCommunicate OK [23:58:13]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:58:13]SAM_PROTO_ProcessDocument remain to read = 767 [23:58:13]wFMCommunicate request_size=4 [23:58:13]MH_SAM_APDU [23:58:13]CAPDU: 80 17 00 00 [23:58:13]Write to MH i2c: E2 08 00 3C 17 80 17 00 00 00 00 00 00 D3 [23:58:13]Write i2c OK [23:58:13]MH_I2C_Read... [23:58:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:13]Read from MH i2c: E2 [23:58:13]MH_I2C_Read... [23:58:13]Read from MH i2c: E2 FD 00 [23:58:13]MH_I2C_Read... [23:58:13]Read from MH i2c: E2 FD 00 3C 17 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 35 [23:58:13]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:58:13]wFMCommunicate OK [23:58:13]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:58:13]SAM_PROTO_ProcessDocument remain to read = 517 [23:58:13]wFMCommunicate request_size=4 [23:58:13]MH_SAM_APDU [23:58:13]CAPDU: 80 17 00 00 [23:58:13]Write to MH i2c: E2 08 00 3D 17 80 17 00 00 00 00 00 00 D4 [23:58:13]Write i2c OK [23:58:13]MH_I2C_Read... [23:58:13]OFD Sender: No OFD packet to send [23:58:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:13]Read from MH i2c: E2 [23:58:13]MH_I2C_Read... [23:58:13]Read from MH i2c: E2 FD 00 [23:58:13]MH_I2C_Read... [23:58:13]Read from MH i2c: E2 FD 00 3D 17 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 5E [23:58:13]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [23:58:14]wFMCommunicate OK [23:58:14]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:58:14]SAM_PROTO_ProcessDocument remain to read = 267 [23:58:14]wFMCommunicate request_size=4 [23:58:14]MH_SAM_APDU [23:58:14]CAPDU: 80 17 00 00 [23:58:14]Write to MH i2c: E2 08 00 3E 17 80 17 00 00 00 00 00 00 D5 [23:58:14]Write i2c OK [23:58:14]MH_I2C_Read... [23:58:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:14]Read from MH i2c: E2 [23:58:14]MH_I2C_Read... [23:58:14]Read from MH i2c: E2 FD 00 [23:58:14]MH_I2C_Read... [23:58:14]Read from MH i2c: E2 FD 00 3E 17 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 9D [23:58:14]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [23:58:14]wFMCommunicate OK [23:58:14]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [23:58:14]SAM_PROTO_ProcessDocument remain to read = 17 [23:58:14]wFMCommunicate request_size=4 [23:58:14]MH_SAM_APDU [23:58:14]CAPDU: 80 17 00 00 [23:58:14]Write to MH i2c: E2 08 00 3F 17 80 17 00 00 00 00 00 00 D6 [23:58:14]Write i2c OK [23:58:14]MH_I2C_Read... [23:58:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [23:58:14]Read from MH i2c: E2 [23:58:14]MH_I2C_Read... [23:58:14]Read from MH i2c: E2 14 00 [23:58:14]MH_I2C_Read... [23:58:14]Read from MH i2c: E2 14 00 3F 17 00 01 00 06 F7 03 00 00 35 04 06 00 4B D8 85 49 50 20 90 00 7C [23:58:14]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 4B D8 85 49 50 20 90 00 [23:58:14]wFMCommunicate OK [23:58:14]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [23:58:14]SAM_PROTO_ProcessDocument done [23:58:14]1209 (1) - 1.0 - номер версии ФФД [23:58:14]1041 (16) - 0000000000965420 - номер ФМ [23:58:14]1040 (4) - 24451 - номер ФД [23:58:14]1038 (4) - 462 - номер смены [23:58:14]1118 (4) - 69 - количество кассовых чеков за смену [23:58:14]1111 (4) - 71 - общее количество ФД за смену [23:58:14]1194 (1194) - счетчики итогов смены [23:58:14] 1134 (4) - 69 - количество чеков со всеми признаками расчетов [23:58:14] 1129 (155) - счетчики операций «приход» [23:58:14] 1135 (4) - 69 - количество чеков по признаку расчетов [23:58:14] 1201 (3) - 14667.00 - общая итоговая сумма в чеках [23:58:14] 1136 (3) - 13208.00 - итоговая сумма в чеках наличными [23:58:14] 1138 (3) - 1459.00 - итоговая сумма в чеках безналичными [23:58:14] 1024 (122) - суммы налогов [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 0% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1006 (12) - суммы НДС [23:58:14] 1010 (1) - 12% - код ставки НДС [23:58:14] 1011 (3) - 1557.55 - сумма НДС по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (11) - суммы НСП [23:58:14] 1014 (1) - 1% - код ставки НСП [23:58:14] 1015 (2) - 129.70 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 2% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 3% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 5% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1130 (141) - счетчики операций «возврат прихода» [23:58:14] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:14] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:14] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:14] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:14] 1024 (117) - суммы налогов [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 0% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 12% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 2% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 3% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 5% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1131 (141) - счетчики операций «расход» [23:58:14] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:14] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:14] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:14] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:14] 1024 (117) - суммы налогов [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 0% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 12% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 2% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 3% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 5% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1132 (141) - счетчики операций «возврат расхода» [23:58:14] 1135 (4) - 0 - количество чеков по признаку расчетов [23:58:14] 1201 (0) - 0.00 - общая итоговая сумма в чеках [23:58:14] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [23:58:14] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [23:58:14] 1024 (117) - суммы налогов [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 0% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1006 (9) - суммы НДС [23:58:14] 1010 (1) - 12% - код ставки НДС [23:58:14] 1011 (0) - 0.00 - сумма НДС по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 2% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 3% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 5% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 0,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1007 (9) - суммы НСП [23:58:14] 1014 (1) - 1,50% - код ставки НСП [23:58:14] 1015 (0) - 0.00 - сумма НСП по ставке [23:58:14] 1133 (588) - - счетчики коррекции - не используются [23:58:14]1077 (6) - 83393321193504 - ФПД [23:58:14]SetTLVBufToDocument [23:58:14]Processing tag 1209 (04B9) [23:58:14]Malloc new data [23:58:14]Processing tag 1041 (0411) [23:58:15]Processing tag 1040 (0410) [23:58:15]Malloc new data [23:58:15]Processing tag 1038 (040E) [23:58:15]Malloc new data [23:58:15]Processing tag 1118 (045E) [23:58:15]Malloc new data [23:58:15]Processing tag 1111 (0457) [23:58:15]Malloc new data [23:58:15]Processing tag 1194 (04AA) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1134 (046E) [23:58:15]Malloc new data [23:58:15]Processing tag 1129 (0469) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1135 (046F) [23:58:15]Malloc new data [23:58:15]Processing tag 1201 (04B1) [23:58:15]Malloc new data [23:58:15]Processing tag 1136 (0470) [23:58:15]Malloc new data [23:58:15]Processing tag 1138 (0472) [23:58:15]Malloc new data [23:58:15]Processing tag 1024 (0400) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1130 (046A) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1135 (046F) [23:58:15]Malloc new data [23:58:15]Processing tag 1201 (04B1) [23:58:15]Malloc new data [23:58:15]Processing tag 1136 (0470) [23:58:15]Malloc new data [23:58:15]Processing tag 1138 (0472) [23:58:15]Malloc new data [23:58:15]Processing tag 1024 (0400) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1131 (046B) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1135 (046F) [23:58:15]Malloc new data [23:58:15]Processing tag 1201 (04B1) [23:58:15]Malloc new data [23:58:15]Processing tag 1136 (0470) [23:58:15]Malloc new data [23:58:15]Processing tag 1138 (0472) [23:58:15]Malloc new data [23:58:15]Processing tag 1024 (0400) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1132 (046C) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1135 (046F) [23:58:15]Malloc new data [23:58:15]Processing tag 1201 (04B1) [23:58:15]Malloc new data [23:58:15]Processing tag 1136 (0470) [23:58:15]Malloc new data [23:58:15]Processing tag 1138 (0472) [23:58:15]Malloc new data [23:58:15]Processing tag 1024 (0400) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1006 (03EE) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1010 (03F2) [23:58:15]Malloc new data [23:58:15]Processing tag 1011 (03F3) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1007 (03EF) [23:58:15]Load OK [23:58:15]SetTLVBufToDocument [23:58:15]Processing tag 1014 (03F6) [23:58:15]Malloc new data [23:58:15]Processing tag 1015 (03F7) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1133 (046D) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Processing tag 1077 (0435) [23:58:15]Malloc new data [23:58:15]SetTLVBufToDocument err=0 [23:58:15]Malloc new data [23:58:15]SAM_PROTO_GetFMData [23:58:15]wFMCommunicate request_size=4 [23:58:15]MH_SAM_APDU [23:58:15]CAPDU: 80 13 03 00 [23:58:15]Write to MH i2c: E2 08 00 40 17 80 13 03 00 00 00 00 00 D6 [23:58:15]Write i2c OK [23:58:15]MH_I2C_Read... [23:58:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [23:58:16]Read from MH i2c: E2 [23:58:16]MH_I2C_Read... [23:58:16]Read from MH i2c: E2 FD 00 [23:58:16]MH_I2C_Read... [23:58:16]Read from MH i2c: E2 FD 00 40 17 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 10 [23:58:16]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [23:58:16]wFMCommunicate OK [23:58:16]wFMCommunicate request_size=4 [23:58:16]MH_SAM_APDU [23:58:16]CAPDU: 80 17 00 00 [23:58:16]Write to MH i2c: E2 08 00 41 17 80 17 00 00 00 00 00 00 D8 [23:58:16]Write i2c OK [23:58:16]MH_I2C_Read... [23:58:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:16]Read from MH i2c: E2 [23:58:16]MH_I2C_Read... [23:58:16]Read from MH i2c: E2 FD 00 [23:58:16]MH_I2C_Read... [23:58:16]Read from MH i2c: E2 FD 00 41 17 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 EB [23:58:16]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:58:17]wFMCommunicate OK [23:58:17]wFMCommunicate request_size=4 [23:58:17]MH_SAM_APDU [23:58:17]CAPDU: 80 17 00 00 [23:58:17]Write to MH i2c: E2 08 00 42 17 80 17 00 00 00 00 00 00 D9 [23:58:17]Write i2c OK [23:58:17]MH_I2C_Read... [23:58:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:17]Read from MH i2c: E2 [23:58:17]MH_I2C_Read... [23:58:17]Read from MH i2c: E2 FD 00 [23:58:17]MH_I2C_Read... [23:58:17]Read from MH i2c: E2 FD 00 42 17 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EE [23:58:17]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 90 00 [23:58:17]wFMCommunicate OK [23:58:17]wFMCommunicate request_size=4 [23:58:17]MH_SAM_APDU [23:58:17]CAPDU: 80 17 00 00 [23:58:17]Write to MH i2c: E2 08 00 43 17 80 17 00 00 00 00 00 00 DA [23:58:17]Write i2c OK [23:58:17]MH_I2C_Read... [23:58:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:58:17]Read from MH i2c: E2 [23:58:17]MH_I2C_Read... [23:58:17]Read from MH i2c: E2 FD 00 [23:58:17]MH_I2C_Read... [23:58:17]Read from MH i2c: E2 FD 00 43 17 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 52 [23:58:18]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 90 00 [23:58:18]wFMCommunicate OK [23:58:18]wFMCommunicate request_size=4 [23:58:18]MH_SAM_APDU [23:58:18]CAPDU: 80 17 00 00 [23:58:18]Write to MH i2c: E2 08 00 44 17 80 17 00 00 00 00 00 00 DB [23:58:18]Write i2c OK [23:58:18]MH_I2C_Read... [23:58:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [23:58:18]Read from MH i2c: E2 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 E1 00 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 E1 00 44 17 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 C9 [23:58:18]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [23:58:18]wFMCommunicate OK [23:58:18]SAM_PROTO_GetFMData done [23:58:18]Malloc new data [23:58:18]Malloc new data [23:58:18]Malloc new data [23:58:18]Malloc new data [23:58:18]KKMLoadAndSignCloseShiftData err=0 [23:58:18]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Ахмедова У. 22.10.2024 23:58 Смена: 462 РНМ: 0000000000098120 ЗНМ: 0300000166 СНО: Общий режим Чеков за смену: 69 ФД за смену: 71 Всего чеков: 69 ИТОГИ ПРИХОД Чеков: 69 Общий итог: 14667.00 Итого наличными: 13208.00 Итого безнал.: 1459.00 НДС 0% : 0.00 НДС 12% : 1557.55 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 129.70 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 13208.00 НС Приход: 7406568.10 НС Возвр.Прихода: 281327.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 24451 ФМ: 0000000000965420 ФПД: 83393321193504 [23:58:18]StoreToDocumentArchive [23:58:18]shift 462 fd 24451 [23:58:18]save to /storage/0462/doc_00024451 [23:58:18]save last doc name /storage/0462/doc_00024451 to /storage/kkm_last_doc_name [23:58:18]save OK [23:58:18]Clear old archive folders... [23:58:18]Remove dir /storage/0266 [23:58:18]opendir ok [23:58:18]file . [23:58:18]file .. [23:58:18]file doc_1729641430 [23:58:18]remove file /storage/0266/doc_1729641430 [23:58:18]remove dir /storage/0266 [23:58:18]OFD Sender: No OFD packet to send [23:58:18]NVStorageSaveData kkm_registers [23:58:18]File name is /storage/kkm_registers [23:58:18]Write 24 bytes [23:58:18]NVStorageSaveData done [23:58:18]NVStorageSaveData kkm_registers [23:58:18]File name is /storage/kkm_registers [23:58:18]Write 24 bytes [23:58:18]NVStorageSaveData done [23:58:18]ProcessDocumentItem done err = 0, tmpTLVsize=1379 [23:58:18]tlvbuf is 00DE3FF0 [23:58:18]SAM_PROTO_ClearQueue [23:58:18]wFMCommunicate request_size=4 [23:58:18]MH_SAM_APDU [23:58:18]CAPDU: 80 09 00 00 [23:58:18]Write to MH i2c: E2 08 00 45 17 80 09 00 00 00 00 00 00 CE [23:58:18]Write i2c OK [23:58:18]MH_I2C_Read... [23:58:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:58:18]Read from MH i2c: E2 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 03 00 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 03 00 45 17 00 90 00 D0 [23:58:18]RAPDU: 90 00 [23:58:18]wFMCommunicate OK [23:58:18]SAM_PROTO_ClearQueue done [23:58:18]KKMCreateOFDPacket [23:58:18]OFDProtocolAddRootSTLVToBuf [23:58:18]FM_MakeSignedData [23:58:18]FM_MakeSignedData [23:58:18]SAM_PROTO_SignData [23:58:18]wFMCommunicate request_size=4 [23:58:18]MH_SAM_APDU [23:58:18]CAPDU: 80 0D 01 02 [23:58:18]Write to MH i2c: E2 08 00 46 17 80 0D 01 02 00 00 00 00 D6 [23:58:18]Write i2c OK [23:58:18]MH_I2C_Read... [23:58:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:58:18]Read from MH i2c: E2 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 03 00 [23:58:18]MH_I2C_Read... [23:58:18]Read from MH i2c: E2 03 00 46 17 00 90 00 D1 [23:58:18]RAPDU: 90 00 [23:58:18]wFMCommunicate OK [23:58:18]wFMCommunicate request_size=255 [23:58:18]MH_SAM_APDU [23:58:18]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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 19 3C 18 67 0E 04 04 00 CE 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 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 D5 04 6E 04 04 00 45 00 00 00 69 04 A2 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 [23:58:19]Write to MH i2c: E2 02 01 47 17 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 19 3C 18 67 0E 04 04 00 CE 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 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 D5 04 6E 04 04 00 45 00 00 00 69 04 A2 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 00 00 FC [23:58:19]Write i2c OK [23:58:19]MH_I2C_Read... [23:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:19]Read from MH i2c: E2 [23:58:19]MH_I2C_Read... [23:58:19]Read from MH i2c: E2 03 00 [23:58:19]MH_I2C_Read... [23:58:19]Read from MH i2c: E2 03 00 47 17 00 90 00 D2 [23:58:19]RAPDU: 90 00 [23:58:19]wFMCommunicate OK [23:58:19]wFMCommunicate request_size=255 [23:58:19]MH_SAM_APDU [23:58:19]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 AA 32 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6B 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 [23:58:19]Write to MH i2c: E2 02 01 48 17 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 AA 32 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 17 [23:58:19]Write i2c OK [23:58:19]MH_I2C_Read... [23:58:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:19]Read from MH i2c: E2 [23:58:19]MH_I2C_Read... [23:58:19]Read from MH i2c: E2 03 00 [23:58:19]MH_I2C_Read... [23:58:19]Read from MH i2c: E2 03 00 48 17 00 90 00 D3 [23:58:19]RAPDU: 90 00 [23:58:19]wFMCommunicate OK [23:58:19]wFMCommunicate request_size=255 [23:58:19]MH_SAM_APDU [23:58:19]CAPDU: 80 0D 02 02 FA 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 00 6C 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 00 72 04 01 00 00 00 04 7E 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0A 00 F2 03 01 00 01 F3 03 01 00 00 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 [23:58:20]Write to MH i2c: E2 02 01 49 17 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 A9 [23:58:20]Write i2c OK [23:58:20]MH_I2C_Read... [23:58:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:20]Read from MH i2c: E2 [23:58:20]MH_I2C_Read... [23:58:20]Read from MH i2c: E2 03 00 [23:58:20]MH_I2C_Read... [23:58:20]Read from MH i2c: E2 03 00 49 17 00 90 00 D4 [23:58:20]RAPDU: 90 00 [23:58:20]wFMCommunicate OK [23:58:20]wFMCommunicate request_size=255 [23:58:20]MH_SAM_APDU [23:58:20]CAPDU: 80 0D 02 02 FA 01 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 [23:58:20]Write to MH i2c: E2 02 01 4A 17 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 9E [23:58:20]Write i2c OK [23:58:20]MH_I2C_Read... [23:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:21]Read from MH i2c: E2 [23:58:21]MH_I2C_Read... [23:58:21]Read from MH i2c: E2 03 00 [23:58:21]MH_I2C_Read... [23:58:21]Read from MH i2c: E2 03 00 4A 17 00 90 00 D5 [23:58:21]RAPDU: 90 00 [23:58:21]wFMCommunicate OK [23:58:21]wFMCommunicate request_size=255 [23:58:21]MH_SAM_APDU [23:58:21]CAPDU: 80 0D 02 02 FA 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 [23:58:21]Write to MH i2c: E2 02 01 4B 17 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 6F [23:58:21]Write i2c OK [23:58:21]MH_I2C_Read... [23:58:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:21]Read from MH i2c: E2 [23:58:21]MH_I2C_Read... [23:58:21]Read from MH i2c: E2 03 00 [23:58:21]MH_I2C_Read... [23:58:21]Read from MH i2c: E2 03 00 4B 17 00 90 00 D6 [23:58:21]RAPDU: 90 00 [23:58:21]wFMCommunicate OK [23:58:21]wFMCommunicate request_size=138 [23:58:21]MH_SAM_APDU [23:58:21]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 83 5F 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 4B D8 85 49 50 20 [23:58:21]Write to MH i2c: E2 8D 00 4C 17 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 83 5F 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 4B D8 85 49 50 20 00 00 54 [23:58:21]Write i2c OK [23:58:21]MH_I2C_Read... [23:58:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:58:22]Read from MH i2c: E2 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 03 00 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 03 00 4C 17 00 90 00 D7 [23:58:22]RAPDU: 90 00 [23:58:22]wFMCommunicate OK [23:58:22]wFMCommunicate request_size=4 [23:58:22]MH_SAM_APDU [23:58:22]CAPDU: 80 0D 03 02 [23:58:22]Write to MH i2c: E2 08 00 4D 17 80 0D 03 02 00 00 00 00 DF [23:58:22]Write i2c OK [23:58:22]MH_I2C_Read... [23:58:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:58:22]Read from MH i2c: E2 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 0B 00 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 0B 00 4D 17 00 4E 57 75 83 9D E7 5B 6C 90 00 C8 [23:58:22]RAPDU: 4E 57 75 83 9D E7 5B 6C 90 00 [23:58:22]wFMCommunicate OK [23:58:22]SAM_PROTO_SignData done [23:58:22]FM_MakeSignedData done [23:58:22]CreateOFDProtocolMessage [23:58:22]wFMCommunicate request_size=4 [23:58:22]MH_SAM_APDU [23:58:22]CAPDU: 80 11 00 00 [23:58:22]Write to MH i2c: E2 08 00 4E 17 80 11 00 00 00 00 00 00 DF [23:58:22]Write i2c OK [23:58:22]MH_I2C_Read... [23:58:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:58:22]Read from MH i2c: E2 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 17 00 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: E2 17 00 4E 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 2C [23:58:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [23:58:22]wFMCommunicate OK [23:58:22]CreateOFDProtocolMessage done [23:58:22]OFDSenderStorePacket 24451 [23:58:22]StoreOFDPacket docnum=24451 [23:58: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 77 05 00 00 09 DF 6F 05 D8 52 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 19 3C 18 67 0E 04 04 00 CE 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 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 D5 04 6E 04 04 00 45 00 00 00 69 04 A2 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 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 83 5F 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 4B D8 85 49 50 20 4E 57 75 83 9D E7 5B 6C [23:58:22]CheckFolder [23:58:22]dirname=/storage/ofd_packets [23:58:22]CheckFolder done [23:58:22]ProducePacketName [23:58:22]name=ofd_packets/00024451 [23:58:22]NVStorageSaveData ofd_packets/00024451 [23:58:22]File name is /storage/ofd_packets/00024451 [23:58:22]Write 1429 bytes [23:58:22]NVStorageSaveData done [23:58:22]OFDSenderStorePacket done [23:58:22]KKMCreateOFDPacket done [23:58:22]NVStorageSaveData kkm_last_timestamp [23:58:22]File name is /storage/kkm_last_timestamp [23:58:22]Write 4 bytes [23:58:22]NVStorageSaveData done [23:58:22]ExternCall_PrintAddStr [23:58:22]wPrintStart [23:58:22]Write to MH i2c: 01 00 00 4F 17 66 [23:58:22]Write i2c OK [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: 01 [23:58:22]MH_I2C_Read... [23:58:22]Read from MH i2c: 01 07 00 [23:58:22]MH_I2C_Read... [23:58:22]OFD Sender: Processing packet 24451 [packets to send 5, broken 4] [23:58:22]ProducePacketName [23:58:22]name=ofd_packets/00024451 [23:58:22]OFD Sender: To server: pG, [23:58:22]CommunicateWithHost lk.salyk.kg:30040 [23:58:22]ConnectInit lk.salyk.kg [23:58:22]Read from MH i2c: 01 07 00 4F 17 00 00 00 00 00 FF 0F 7B [23:58:22]RasterBufferAndPrint [23:58:22]line Отчет о закрытии смены [23:58:22]line ФФД: 1.0 [23:58:22]line ИНН: 02508201610067 [23:58:22]line Кассир: Ахмедова У. [23:58:22]line 22.10.2024 23:58 [23:58:22]line Смена: 462 [23:58:22]line РНМ: 0000000000098120 [23:58:22]line ЗНМ: 0300000166 [23:58:22]line СНО: Общий режим [23:58:22]line Чеков за смену: 69 [23:58:22]line ФД за смену: 71 [23:58:22]line Всего чеков: 69 [23:58:22]line ИТОГИ ПРИХОД [23:58:22]line Чеков: 69 [23:58:22]line Общий итог: 14667.00 [23:58:22]line Итого наличными: 13208.00 [23:58:22]line Итого безнал.: 1459.00 [23:58:22]line НДС 0% : 0.00 [23:58:22]line НДС 12% : 1557.55 [23:58:22]line НСП 0% : 0.00 [23:58:22]line НСП 1,50% : 0.00 [23:58:22]line НСП 0,50% : 0.00 [23:58:22]line НСП 5% : 0.00 [23:58:22]line НСП 3% : 0.00 [23:58:22]line НСП 2% : 0.00 [23:58:22]line НСП 1% : 129.70 [23:58:22]line ИТОГИ ВОЗВРАТ ПРИХОДА [23:58:22]line Чеков: 0 [23:58:22]line Общий итог: 0.00 [23:58:22]line Итого наличными: 0.00 [23:58:22]line Итого безнал.: 0.00 [23:58:22]line НДС 0% : 0.00 [23:58:22]line НДС 12% : 0.00 [23:58:22]line НСП 0% : 0.00 [23:58:22]line НСП 1,50% : 0.00 [23:58:22]line НСП 0,50% : 0.00 [23:58:22]line НСП 5% : 0.00 [23:58:22]line НСП 3% : 0.00 [23:58:22]line НСП 2% : 0.00 [23:58:22]line НСП 1% : 0.00 [23:58:22]line ИТОГИ РАСХОД [23:58:22]line Чеков: 0 [23:58:22]line Общий итог: 0.00 [23:58:22]line Итого наличными: 0.00 [23:58:22]line Итого безнал.: 0.00 [23:58:22]line НДС 0% : 0.00 [23:58:22]line НДС 12% : 0.00 [23:58:22]line НСП 0% : 0.00 [23:58:22]line НСП 1,50% : 0.00 [23:58:22]line НСП 0,50% : 0.00 [23:58:22]line НСП 5% : 0.00 [23:58:22]line НСП 3% : 0.00 [23:58:22]line НСП 2% : 0.00 [23:58:22]line НСП 1% : 0.00 [23:58:22]line ИТОГИ ВОЗВРАТ РАСХОДА [23:58:22]line Чеков: 0 [23:58:22]line Общий итог: 0.00 [23:58:22]line Итого наличными: 0.00 [23:58:22]line Итого безнал.: 0.00 [23:58:22]line НДС 0% : 0.00 [23:58:22]line НДС 12% : 0.00 [23:58:22]line НСП 0% : 0.00 [23:58:22]line НСП 1,50% : 0.00 [23:58:22]line НСП 0,50% : 0.00 [23:58:22]line НСП 5% : 0.00 [23:58:22]line НСП 3% : 0.00 [23:58:22]line НСП 2% : 0.00 [23:58:22]line НСП 1% : 0.00 [23:58:22]line Сумма внесений: 0.00 [23:58:22]line Сумма выплат: 0.00 [23:58:22]line Нал. в кассе: 13208.00 [23:58:22]line НС Приход: 7406568.10 [23:58:22]line НС Возвр.Прихода: 281327.00 [23:58:22]line НС Расход: 0.00 [23:58:22]line НС Возвр.Расхода: 0.00 [23:58:22]line ФД: 24451 [23:58:22]line ФМ: 0000000000965420 [23:58:22]line ФПД: 83393321193504 [23:58:22]written 0, free lines is 4095 [23:58:22]Connected sock=10 [23:58: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 77 05 00 00 09 DF 6F 05 D8 52 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 90 D1 85 D0 BC D0 B5 D0 B4 D0 BE D0 B2 D0 B0 20 D0 A3 2E 20 F4 03 04 00 19 3C 18 67 0E 04 04 00 CE 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 45 00 00 00 57 04 04 00 47 00 00 00 AA 04 D5 04 6E 04 04 00 45 00 00 00 69 04 A2 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 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 Write to MH i2c: 03 01 01 00 00 05 00 F7 9F 03 17 00 B6 00 [23:58:23]EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 Write i2c OK [23:58:23]8D MH_I2C_Read... [23:58:23]00 Read from MH i2c: 6F 01 04 [23:58:23]04 MH_I2C_Read... [23:58:23]00 00 00 00 00 B1 04 00 00 70 04 Read from MH i2c: 00 01 00 07 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 00 F3 [23:58:23]03 MH_I2C_Read... [23:58:23]00 Read from MH i2c: 00 01 EE 07 03 00 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 9F F6 17 03 00 01 00 00 00 00 00 F7 00 03 82 00 0B 00 4A EF [23:58:23]03 RasterBufferAndPrint [23:58:23]09 line [23:58:23]00 line [23:58:23]F6 line [23:58:23]03 line [23:58:23]01 line [23:58:23]00 01 F7 03 00 00 EF 03 09 00 F6 03 written 0, free lines is 3099 [23:58:23]01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 process_action close_shift done [23:58:23]00 requested_data is exist [23:58:23]00 produce_requested_data [23:58:23]EF requested_item fd.num is exist - process it [23:58:23]03 09 00 F6 03 01 00 04 F7 03 00 00 EF SAM_PROTO_GetFieldsCounters [23:58:23]03 wFMCommunicate request_size=4 [23:58:23]09 MH_SAM_APDU [23:58:23]00 CAPDU: F6 80 03 13 01 00 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 00 F7 [23:58:23]03 Write to MH i2c: 00 E2 00 08 7A 00 04 A6 8D 17 00 80 6F 13 04 00 04 00 00 00 00 00 00 00 00 00 00 39 B1 [23:58:23]04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:58:23]EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 83 5F 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 4B D8 85 49 50 20 4E 57 75 83 9D E7 5B 6C [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 62 00 [23:58:24]MH_I2C_Read... [23:58:24]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 83 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 D0 [23:58:24]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 83 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:58:24]wFMCommunicate OK [23:58:24]SAM_PROTO_GetFieldsCounters done [23:58:24]requested_item shift.num is exist - process it [23:58:24]requested_item shift.opened is exist - process it [23:58:24]req_shift_opened [23:58:24]FM_GetShiftState [23:58:24]SAM_PROTO_GetShiftState [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 13 01 00 [23:58:24]Write to MH i2c: E2 08 00 A7 17 80 13 01 00 00 00 00 00 3B [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]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 C7 A4 47 00 EB 3D A5 07 01 00 07 00 3B 00 Read from MH i2c: F9 E2 03 [23:58:24]0E MH_I2C_Read... [23:58:24]00 37 37 30 39 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 83 5F 00 00 F4 03 04 00 C6 E7 17 67 B6 04 01 00 00 A5 AA FB E6 E3 FF 92 4C [23:58:24]CommunicateWithHost err = 0 [23:58:24]CheckOFDResponse [23:58:24]1017 (14) - 77093643461234 [23:58:24]1041 (16) - 0000000000965420 [23:58:24]1040 (4) - 24451 [23:58:24]1012 (4) - 22.10.2024 17:58 [23:58:24]1206 (1) - 0 [23:58:24]OFD Sender: Remove packet 24451 [23:58:24]ProducePacketName [23:58:24]name=ofd_packets/00024451 [23:58:24]NVStorageDeleteData [23:58:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:24]Read from MH i2c: E2 0E 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 0E 00 A7 17 00 09 00 00 00 00 00 00 00 00 00 00 90 00 46 [23:58:24]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:58:24]wFMCommunicate OK [23:58:24]SAM_PROTO_GetShiftState done [23:58:24]FM_GetShiftState done [23:58:24]req_shift_opened done [23:58:24]requested_item shift.open_date is exist - process it [23:58:24]req_shift_open_date [23:58:24]FM_GetShiftState [23:58:24]SAM_PROTO_GetShiftState [23:58:24]wFMCommunicate request_size=4 [23:58:24]MH_SAM_APDU [23:58:24]CAPDU: 80 13 01 00 [23:58:24]Write to MH i2c: E2 08 00 A8 17 80 13 01 00 00 00 00 00 3C [23:58:24]Write i2c OK [23:58:24]MH_I2C_Read... [23:58:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:58:24]Read from MH i2c: E2 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 0E 00 [23:58:24]MH_I2C_Read... [23:58:24]Read from MH i2c: E2 0E 00 A8 17 00 09 00 00 00 00 00 00 00 00 00 00 90 00 47 [23:58:24]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [23:58:24]wFMCommunicate OK [23:58:24]SAM_PROTO_GetShiftState done [23:58:24]FM_GetShiftState done [23:58:24]req_shift_open_date done [23:58:24]produce_requested_data done [23:58:24]produce_requested_data return {"fd.num":24451,"shift.num":462,"shift.opened":0,"shift.open_date":0} [23:58:24]process_action_free close_shift [23:58:24]json_value_free [23:58:24]json_value_free done [23:58:24]process_json_proto returns [23:58:24]Send response to host [23:58:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24451,"shift.num":462,"shift.opened":0,"shift.open_date":0}}} [23:58:24]free response buf [23:58:24]execute_script done [23:58:24]execute_script returns [23:58:24]free content buf [23:58:24]Sock 9.Close socket [23:58:24]Sock 9.Thread stoped [23:58:25]OFD Sender: No OFD packet to send [23:58:30]OFD Sender: No OFD packet to send [23:58:35]OFD Sender: No OFD packet to send [23:58:40]OFD Sender: No OFD packet to send [23:58:45]OFD Sender: No OFD packet to send [23:58:50]OFD Sender: No OFD packet to send [23:58:55]OFD Sender: No OFD packet to send [23:59:00]OFD Sender: No OFD packet to send [23:59:05]OFD Sender: No OFD packet to send [23:59:10]OFD Sender: No OFD packet to send [23:59:15]OFD Sender: No OFD packet to send [23:59:20]OFD Sender: No OFD packet to send [23:59:25]OFD Sender: No OFD packet to send [23:59:30]OFD Sender: No OFD packet to send [23:59:35]OFD Sender: No OFD packet to send [23:59:40]OFD Sender: No OFD packet to send [23:59:45]OFD Sender: No OFD packet to send [23:59:50]OFD Sender: No OFD packet to send [23:59:55]OFD Sender: No OFD packet to send [00:00:00]OFD Sender: No OFD packet to send [00:00:05]OFD Sender: No OFD packet to send [00:00:10]OFD Sender: No OFD packet to send [00:00:15]OFD Sender: No OFD packet to send [00:00:20]OFD Sender: No OFD packet to send [00:00:25]OFD Sender: No OFD packet to send [00:00:30]OFD Sender: No OFD packet to send [00:00:35]OFD Sender: No OFD packet to send [00:00:40]OFD Sender: No OFD packet to send [00:00:45]OFD Sender: No OFD packet to send [00:00:50]OFD Sender: No OFD packet to send [00:00:55]OFD Sender: No OFD packet to send [00:01:00]OFD Sender: No OFD packet to send [00:01:05]OFD Sender: No OFD packet to send [00:01:10]OFD Sender: No OFD packet to send [00:01:15]OFD Sender: No OFD packet to send [00:01:20]OFD Sender: No OFD packet to send [00:01:25]OFD Sender: No OFD packet to send [00:01:30]OFD Sender: No OFD packet to send [00:01:35]OFD Sender: No OFD packet to send [00:01:40]OFD Sender: No OFD packet to send [00:01:45]OFD Sender: No OFD packet to send [00:01:50]OFD Sender: No OFD packet to send [00:01:55]OFD Sender: No OFD packet to send [00:02:00]OFD Sender: No OFD packet to send [00:02:05]OFD Sender: No OFD packet to send [00:02:10]OFD Sender: No OFD packet to send [00:02:15]OFD Sender: No OFD packet to send [00:02:20]OFD Sender: No OFD packet to send [00:02:25]OFD Sender: No OFD packet to send [00:02:30]OFD Sender: No OFD packet to send [00:02:35]OFD Sender: No OFD packet to send [00:02:40]OFD Sender: No OFD packet to send [00:02:45]OFD Sender: No OFD packet to send [00:02:50]OFD Sender: No OFD packet to send [00:02:55]OFD Sender: No OFD packet to send [00:03:00]OFD Sender: No OFD packet to send [00:03:05]OFD Sender: No OFD packet to send [00:03:10]OFD Sender: No OFD packet to send [00:03:15]OFD Sender: No OFD packet to send [00:03:20]OFD Sender: No OFD packet to send [00:03:25]OFD Sender: No OFD packet to send [00:03:30]OFD Sender: No OFD packet to send [00:03:35]OFD Sender: No OFD packet to send [00:03:40]OFD Sender: No OFD packet to send [00:03:45]OFD Sender: No OFD packet to send [00:03:50]OFD Sender: No OFD packet to send [00:03:55]OFD Sender: No OFD packet to send [00:04:00]OFD Sender: No OFD packet to send [00:04:05]OFD Sender: No OFD packet to send [00:04:10]OFD Sender: No OFD packet to send [00:04:15]OFD Sender: No OFD packet to send [00:04:20]OFD Sender: No OFD packet to send [00:04:25]OFD Sender: No OFD packet to send [00:04:30]OFD Sender: No OFD packet to send [00:04:35]OFD Sender: No OFD packet to send [00:04:40]OFD Sender: No OFD packet to send [00:04:45]OFD Sender: No OFD packet to send [00:04:50]OFD Sender: No OFD packet to send [00:04:55]OFD Sender: No OFD packet to send [00:05:00]OFD Sender: No OFD packet to send [00:05:05]OFD Sender: No OFD packet to send [00:05:10]OFD Sender: No OFD packet to send [00:05:15]OFD Sender: No OFD packet to send [00:05:20]OFD Sender: No OFD packet to send [00:05:25]accept exits with 7 [00:05:25]New connection [00:05:25]New thread 3067452772 created [00:05:25]Thread 3067596132 joined [00:05:25]Waiting for new connection... [00:05:25] Sock 7.Parse request [00:05:25]Sock 7.Check first char [00:05:25]Sock 7.First char is OK [00:05:25]request: POST /json_proto HTTP/1.0 [00:05:25]Method: POST [00:05:25]URL: /json_proto [00:05:25]Method is POST - this is cgi request [00:05:25]url: /json_proto [00:05:25]query_string will be loaded in cgi processing [00:05:25]execute_cgi json_proto POST (null) [00:05:25]execute_cgi path=json_proto method=POST [00:05:25]POST find Content-Length [00:05:25]Host: 172.17.50.4:8080 [00:05:25]Content-Length: 215 [00:05:25]Content-Type: application/json [00:05:25] [00:05:25]POST finish read [00:05:25]Found Content-Length = 215 [00:05:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:25]execute_script... [00:05:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:25]POST & json_proto [00:05:25]process_json_proto [00:05:25]json parsed OK: [00:05:25]protocol is kg_v1.0 [00:05:25]action value=get_value [00:05:25]process_action get_value [00:05:25]cmd_get_value [00:05:25]process_action get_value done [00:05:25]requested_data is exist [00:05:25]produce_requested_data [00:05:25]requested_item kkm.sn is exist - process it [00:05:25]requested_item kkm.ver is exist - process it [00:05:25]requested_item fm.sn is exist - process it [00:05:25]wFMCommunicate request_size=4 [00:05:25]MH_SAM_APDU [00:05:25]CAPDU: 80 11 00 00 [00:05:25]Write to MH i2c: E2 08 00 A9 17 80 11 00 00 00 00 00 00 3A [00:05:25]Write i2c OK [00:05:25]MH_I2C_Read... [00:05:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:25]Read from MH i2c: E2 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 17 00 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 17 00 A9 17 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:05:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:05:25]wFMCommunicate OK [00:05:25]requested_item fd.num is exist - process it [00:05:25]SAM_PROTO_GetFieldsCounters [00:05:25]wFMCommunicate request_size=4 [00:05:25]MH_SAM_APDU [00:05:25]CAPDU: 80 13 00 00 [00:05:25]Write to MH i2c: E2 08 00 AA 17 80 13 00 00 00 00 00 00 3D [00:05:25]Write i2c OK [00:05:25]MH_I2C_Read... [00:05:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:25]Read from MH i2c: E2 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 62 00 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 62 00 AA 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 83 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 D4 [00:05: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 83 5F 00 00 0E 04 04 00 CE 01 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:05:25]wFMCommunicate OK [00:05:25]SAM_PROTO_GetFieldsCounters done [00:05:25]requested_item shift.num is exist - process it [00:05:25]requested_item shift.opened is exist - process it [00:05:25]req_shift_opened [00:05:25]FM_GetShiftState [00:05:25]SAM_PROTO_GetShiftState [00:05:25]wFMCommunicate request_size=4 [00:05:25]MH_SAM_APDU [00:05:25]CAPDU: 80 13 01 00 [00:05:25]Write to MH i2c: E2 08 00 AB 17 80 13 01 00 00 00 00 00 3F [00:05:25]Write i2c OK [00:05:25]MH_I2C_Read... [00:05:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:25]Read from MH i2c: E2 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 0E 00 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 0E 00 AB 17 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4A [00:05:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:25]wFMCommunicate OK [00:05:25]SAM_PROTO_GetShiftState done [00:05:25]FM_GetShiftState done [00:05:25]req_shift_opened done [00:05:25]requested_item shift.open_date is exist - process it [00:05:25]req_shift_open_date [00:05:25]FM_GetShiftState [00:05:25]SAM_PROTO_GetShiftState [00:05:25]wFMCommunicate request_size=4 [00:05:25]MH_SAM_APDU [00:05:25]CAPDU: 80 13 01 00 [00:05:25]Write to MH i2c: E2 08 00 AC 17 80 13 01 00 00 00 00 00 40 [00:05:25]Write i2c OK [00:05:25]MH_I2C_Read... [00:05:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:25]Read from MH i2c: E2 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 0E 00 [00:05:25]MH_I2C_Read... [00:05:25]Read from MH i2c: E2 0E 00 AC 17 00 09 00 00 00 00 00 00 00 00 00 00 90 00 4B [00:05:25]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:25]wFMCommunicate OK [00:05:25]SAM_PROTO_GetShiftState done [00:05:25]FM_GetShiftState done [00:05:25]req_shift_open_date done [00:05:25]produce_requested_data done [00:05:25]produce_requested_data return {"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24451,"shift.num":462,"shift.opened":0,"shift.open_date":0} [00:05:25]process_action_free get_value [00:05:25]json_value_free [00:05:25]json_value_free done [00:05:25]process_json_proto returns [00:05:25]Send response to host [00:05:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000166","kkm.ver":"001","fm.sn":"0000000000965420","fd.num":24451,"shift.num":462,"shift.opened":0,"shift.open_date":0}}} [00:05:25]free response buf [00:05:25]execute_script done [00:05:25]execute_script returns [00:05:25]free content buf [00:05:25]Sock 7.Close socket [00:05:25]Sock 7.Thread stoped [00:05:25]accept exits with 9 [00:05:25]New connection [00:05:25]New thread 3067596132 created [00:05:25]Thread 3067452772 joined [00:05:25]Waiting for new connection... [00:05:25] Sock 9.Parse request [00:05:25]Sock 9.Check first char [00:05:25]Sock 9.First char is OK [00:05:25]request: POST /json_proto HTTP/1.0 [00:05:25]Method: POST [00:05:25]URL: /json_proto [00:05:25]Method is POST - this is cgi request [00:05:25]url: /json_proto [00:05:25]query_string will be loaded in cgi processing [00:05:25]execute_cgi json_proto POST (null) [00:05:25]execute_cgi path=json_proto method=POST [00:05:25]POST find Content-Length [00:05:25]Host: 172.17.50.4:8080 [00:05:25]Content-Length: 331 [00:05:25]Content-Type: application/json [00:05:25] [00:05:25]POST finish read [00:05:25]Found Content-Length = 331 [00:05:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:25]execute_script... [00:05:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:25]POST & json_proto [00:05:25]process_json_proto [00:05:25]json parsed OK: [00:05:25]protocol is kg_v1.0 [00:05:25]action value=get_value [00:05:25]process_action get_value [00:05:25]cmd_get_value [00:05:25]process_action get_value done [00:05:25]requested_data is exist [00:05:25]produce_requested_data [00:05:25]requested_item fm.sale.total is exist - process it [00:05:25]SAM_PROTO_GetFMData [00:05:25]wFMCommunicate request_size=4 [00:05:25]MH_SAM_APDU [00:05:25]CAPDU: 80 13 03 00 [00:05:25]Write to MH i2c: E2 08 00 AD 17 80 13 03 00 00 00 00 00 43 [00:05:25]OFD Sender: No OFD packet to send [00:05:25]Write i2c OK [00:05:25]MH_I2C_Read... [00:05:26]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:26]Read from MH i2c: E2 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 AD 17 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 7D [00:05:26]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [00:05:26]wFMCommunicate OK [00:05:26]wFMCommunicate request_size=4 [00:05:26]MH_SAM_APDU [00:05:26]CAPDU: 80 17 00 00 [00:05:26]Write to MH i2c: E2 08 00 AE 17 80 17 00 00 00 00 00 00 45 [00:05:26]Write i2c OK [00:05:26]MH_I2C_Read... [00:05:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:26]Read from MH i2c: E2 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 AE 17 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 58 [00:05:26]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:05:26]wFMCommunicate OK [00:05:26]wFMCommunicate request_size=4 [00:05:26]MH_SAM_APDU [00:05:26]CAPDU: 80 17 00 00 [00:05:26]Write to MH i2c: E2 08 00 AF 17 80 17 00 00 00 00 00 00 46 [00:05:26]Write i2c OK [00:05:26]MH_I2C_Read... [00:05:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:26]Read from MH i2c: E2 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 AF 17 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5B [00:05:26]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:05:26]wFMCommunicate OK [00:05:26]wFMCommunicate request_size=4 [00:05:26]MH_SAM_APDU [00:05:26]CAPDU: 80 17 00 00 [00:05:26]Write to MH i2c: E2 08 00 B0 17 80 17 00 00 00 00 00 00 47 [00:05:26]Write i2c OK [00:05:26]MH_I2C_Read... [00:05:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:26]Read from MH i2c: E2 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 [00:05:26]MH_I2C_Read... [00:05:26]Read from MH i2c: E2 FD 00 B0 17 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 BF [00:05:26]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:05:26]wFMCommunicate OK [00:05:26]wFMCommunicate request_size=4 [00:05:26]MH_SAM_APDU [00:05:26]CAPDU: 80 17 00 00 [00:05:26]Write to MH i2c: E2 08 00 B1 17 80 17 00 00 00 00 00 00 48 [00:05:26]Write i2c OK [00:05:26]MH_I2C_Read... [00:05:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:05:27]Read from MH i2c: E2 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 E1 00 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 E1 00 B1 17 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 36 [00:05:27]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:05:27]wFMCommunicate OK [00:05:27]SAM_PROTO_GetFMData done [00:05:27]requested_item fm.sale_refund.total is exist - process it [00:05:27]requested_item fm.buy.total is exist - process it [00:05:27]requested_item shift.sale.total is exist - process it [00:05:27]SAM_PROTO_GetShiftData [00:05:27]wFMCommunicate request_size=4 [00:05:27]MH_SAM_APDU [00:05:27]CAPDU: 80 13 02 00 [00:05:27]Write to MH i2c: E2 08 00 B2 17 80 13 02 00 00 00 00 00 47 [00:05:27]Write i2c OK [00:05:27]MH_I2C_Read... [00:05:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:27]Read from MH i2c: E2 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 FD 00 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 FD 00 B2 17 00 AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C0 [00:05:27]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 4C 61 16 70 04 03 00 60 27 14 72 04 03 00 EC 39 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 6B 60 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:05:27]wFMCommunicate OK [00:05:27]wFMCommunicate request_size=4 [00:05:27]MH_SAM_APDU [00:05:27]CAPDU: 80 17 00 00 [00:05:27]Write to MH i2c: E2 08 00 B3 17 80 17 00 00 00 00 00 00 4A [00:05:27]Write i2c OK [00:05:27]MH_I2C_Read... [00:05:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:27]Read from MH i2c: E2 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 FD 00 [00:05:27]MH_I2C_Read... [00:05:27]Read from MH i2c: E2 FD 00 B3 17 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 6C [00:05:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:05:27]wFMCommunicate OK [00:05:27]wFMCommunicate request_size=4 [00:05:27]MH_SAM_APDU [00:05:27]CAPDU: 80 17 00 00 [00:05:27]Write to MH i2c: E2 08 00 B4 17 80 17 00 00 00 00 00 00 4B [00:05:27]Write i2c OK [00:05:27]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 B4 17 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 02 [00:05:28]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:05:28]wFMCommunicate OK [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 17 00 00 [00:05:28]Write to MH i2c: E2 08 00 B5 17 80 17 00 00 00 00 00 00 4C [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 FD 00 B5 17 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 BE [00:05:28]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:05:28]wFMCommunicate OK [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 17 00 00 [00:05:28]Write to MH i2c: E2 08 00 B6 17 80 17 00 00 00 00 00 00 4D [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 CB 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 CB 00 B6 17 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 36 [00:05:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:28]wFMCommunicate OK [00:05:28]SAM_PROTO_GetShiftData done [00:05:28]requested_item shift.sale.total_cash is exist - process it [00:05:28]requested_item shift.sale_refund.total is exist - process it [00:05:28]requested_item shift.sale_refund.total_cash is exist - process it [00:05:28]requested_item shift.buy.total is exist - process it [00:05:28]requested_item shift.buy.total_cash is exist - process it [00:05:28]produce_requested_data done [00:05:28]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:28]process_action_free get_value [00:05:28]json_value_free [00:05:28]json_value_free done [00:05:28]process_json_proto returns [00:05:28]Send response to host [00:05:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":14667.00,"shift.sale.total_cash":13208.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:28]free response buf [00:05:28]execute_script done [00:05:28]execute_script returns [00:05:28]free content buf [00:05:28]Sock 9.Close socket [00:05:28]Sock 9.Thread stoped [00:05:28]accept exits with 7 [00:05:28]New connection [00:05:28]New thread 3067452772 created [00:05:28]Thread 3067596132 joined [00:05:28]Waiting for new connection... [00:05:28] Sock 7.Parse request [00:05:28]Sock 7.Check first char [00:05:28]Sock 7.First char is OK [00:05:28]request: POST /json_proto HTTP/1.0 [00:05:28]Method: POST [00:05:28]URL: /json_proto [00:05:28]Method is POST - this is cgi request [00:05:28]url: /json_proto [00:05:28]query_string will be loaded in cgi processing [00:05:28]execute_cgi json_proto POST (null) [00:05:28]execute_cgi path=json_proto method=POST [00:05:28]POST find Content-Length [00:05:28]Host: 172.17.50.4:8080 [00:05:28]Content-Length: 259 [00:05:28]Content-Type: application/json [00:05:28] [00:05:28]POST finish read [00:05:28]Found Content-Length = 259 [00:05:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:28]execute_script... [00:05:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u041A\u0430\u043B\u043C\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:05:28]POST & json_proto [00:05:28]process_json_proto [00:05:28]json parsed OK: [00:05:28]protocol is kg_v1.0 [00:05:28]action value=open_shift [00:05:28]process_action open_shift [00:05:28]cmd_open_shift [00:05:28]MH_GetDate [00:05:28]Write to MH i2c: F0 00 00 B7 17 BD [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 09 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 09 00 B7 17 00 CE 3D 18 67 3B 12 16 67 1A [00:05:28]GetLastDocTimeStamp 1729641497 [00:05:28]current date 1729641934 [00:05:28]FM_GetShiftState [00:05:28]SAM_PROTO_GetShiftState [00:05:28]wFMCommunicate request_size=4 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 13 01 00 [00:05:28]Write to MH i2c: E2 08 00 B8 17 80 13 01 00 00 00 00 00 4C [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:28]Read from MH i2c: E2 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 0E 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: E2 0E 00 B8 17 00 09 00 00 00 00 00 00 00 00 00 00 90 00 57 [00:05:28]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:05:28]wFMCommunicate OK [00:05:28]SAM_PROTO_GetShiftState done [00:05:28]FM_GetShiftState done [00:05:28]KKMCreateOpenShiftDocument [00:05:28]Load OK [00:05:28]Malloc new data [00:05:28]MH_GetDate [00:05:28]Write to MH i2c: F0 00 00 B9 17 BF [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 09 00 [00:05:28]MH_I2C_Read... [00:05:28]Read from MH i2c: F0 09 00 B9 17 00 CE 3D 18 67 3B 12 16 67 1C [00:05:28]Malloc new data [00:05:28]KKMCreateOpenShiftDocument OK [00:05:28]KKMSetOpenShiftData OK [00:05:28]ProcessDocumentItem done err = 0, tmpTLVsize=209 [00:05:28]tlvbuf is 00E8B270 [00:05:28]KKMLoadAndSignOpenShiftData [00:05:28]SAM_PROTO_ProcessDocument [00:05:28]wFMCommunicate request_size=9 [00:05:28]MH_SAM_APDU [00:05:28]CAPDU: 80 15 01 00 04 02 00 D1 00 [00:05:28]Write to MH i2c: E2 0C 00 BA 17 80 15 01 00 04 00 02 00 D1 00 00 00 2B [00:05:28]Write i2c OK [00:05:28]MH_I2C_Read... [00:05:28]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BA 17 00 90 00 45 [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=23 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:05:29]Write to MH i2c: E2 1A 00 BB 17 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 47 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BB 17 00 90 00 46 [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=30 [00:05:29]MH_SAM_APDU [00:05:29]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:05:29]Write to MH i2c: E2 21 00 BC 17 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 73 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BC 17 00 90 00 47 [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=98 [00:05:29]MH_SAM_APDU [00:05:29]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:05:29]Write to MH i2c: E2 65 00 BD 17 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 6C [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BD 17 00 90 00 48 [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=50 [00:05:29]MH_SAM_APDU [00:05:29]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:05:29]Write to MH i2c: E2 35 00 BE 17 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 D1 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BE 17 00 90 00 49 [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=13 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 15 02 00 08 F4 03 04 00 CE 3D 18 67 [00:05:29]Write to MH i2c: E2 10 00 BF 17 80 15 02 00 08 00 F4 03 04 00 CE 3D 18 67 00 00 EB [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 BF 17 00 90 00 4A [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=25 [00:05:29]MH_SAM_APDU [00:05:29]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:05:29]Write to MH i2c: E2 1C 00 C0 17 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 B4 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 03 00 C0 17 00 90 00 4B [00:05:29]RAPDU: 90 00 [00:05:29]wFMCommunicate OK [00:05:29]wFMCommunicate request_size=4 [00:05:29]MH_SAM_APDU [00:05:29]CAPDU: 80 15 03 00 [00:05:29]Write to MH i2c: E2 08 00 C1 17 80 15 03 00 00 00 00 00 59 [00:05:29]Write i2c OK [00:05:29]MH_I2C_Read... [00:05:29]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:05:29]Read from MH i2c: E2 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 38 00 [00:05:29]MH_I2C_Read... [00:05:29]Read from MH i2c: E2 38 00 C1 17 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 84 5F 00 00 0E 04 04 00 CF 01 00 00 35 04 06 00 11 10 7A D0 FA 2D 90 00 64 [00:05:29]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 84 5F 00 00 0E 04 04 00 CF 01 00 00 35 04 06 00 11 10 7A D0 FA 2D 90 00 [00:05:29]wFMCommunicate OK [00:05:29]SAM_PROTO_ProcessDocument answer len = 51 [00:05:29]SAM_PROTO_ProcessDocument done [00:05:29]SetTLVBufToDocument [00:05:29]Processing tag 1209 (04B9) [00:05:29]Malloc new data [00:05:29]Processing tag 1041 (0411) [00:05:29]Processing tag 1040 (0410) [00:05:29]Malloc new data [00:05:29]Processing tag 1038 (040E) [00:05:29]Malloc new data [00:05:29]Processing tag 1077 (0435) [00:05:29]Malloc new data [00:05:29]SetTLVBufToDocument err=0 [00:05:29]KKMLoadAndSignOpenShiftData store KKM data [00:05:29]KKMLoadAndSignOpenShiftData err=0 [00:05:29]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Калмаева Г. Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 Место: АЗС № 85 "Партнер Нефть" 23.10.2024 00:05 Смена: 463 РНМ: 0000000000098120 ЗНМ: 0300000166 ФД: 24452 ФМ: 0000000000965420 ФПД: 18762477664813 [00:05:29]StoreToDocumentArchive [00:05:29]shift 463 fd 24452 [00:05:29]Create dir for shift 0463 [00:05:29]save to /storage/0463/doc_00024452 [00:05:29]save last doc name /storage/0463/doc_00024452 to /storage/kkm_last_doc_name [00:05:29]save OK [00:05:29]Clear old archive folders... [00:05:29]Remove dir /storage/0462 [00:05:29]opendir ok [00:05:29]file . [00:05:29]file .. [00:05:29]file doc_00024381 [00:05:29]remove file /storage/0462/doc_00024381 [00:05:29]file doc_00024382 [00:05:29]remove file /storage/0462/doc_00024382 [00:05:29]file doc_00024383 [00:05:29]remove file /storage/0462/doc_00024383 [00:05:29]file doc_00024384 [00:05:29]remove file /storage/0462/doc_00024384 [00:05:29]file doc_00024385 [00:05:29]remove file /storage/0462/doc_00024385 [00:05:29]file doc_00024386 [00:05:29]remove file /storage/0462/doc_00024386 [00:05:29]file doc_00024387 [00:05:29]remove file /storage/0462/doc_00024387 [00:05:29]file doc_00024388 [00:05:29]remove file /storage/0462/doc_00024388 [00:05:29]file doc_00024389 [00:05:29]remove file /storage/0462/doc_00024389 [00:05:29]file doc_00024390 [00:05:29]remove file /storage/0462/doc_00024390 [00:05:29]file doc_00024391 [00:05:29]remove file /storage/0462/doc_00024391 [00:05:29]file doc_00024392 [00:05:29]remove file /storage/0462/doc_00024392 [00:05:29]file doc_00024393 [00:05:29]remove file /storage/0462/doc_00024393 [00:05:29]file doc_00024394 [00:05:29]remove file /storage/0462/doc_00024394 [00:05:29]file doc_00024395 [00:05:29]remove file /storage/0462/doc_00024395 [00:05:29]file doc_00024396 [00:05:29]remove file /storage/0462/doc_00024396 [00:05:29]file doc_00024397 [00:05:29]remove file /storage/0462/doc_00024397 [00:05:29]file doc_00024398 [00:05:29]remove file /storage/0462/doc_00024398 [00:05:29]file doc_00024399 [00:05:29]remove file /storage/0462/doc_00024399 [00:05:29]file doc_00024400 [00:05:29]remove file /storage/0462/doc_00024400 [00:05:29]file doc_00024401 [00:05:29]remove file /storage/0462/doc_00024401 [00:05:29]file doc_00024402 [00:05:29]remove file /storage/0462/doc_00024402 [00:05:29]file doc_00024403 [00:05:29]remove file /storage/0462/doc_00024403 [00:05:29]file doc_00024404 [00:05:29]remove file /storage/0462/doc_00024404 [00:05:29]file doc_00024405 [00:05:29]remove file /storage/0462/doc_00024405 [00:05:29]file doc_00024406 [00:05:29]remove file /storage/0462/doc_00024406 [00:05:29]file doc_00024407 [00:05:29]remove file /storage/0462/doc_00024407 [00:05:29]file doc_00024408 [00:05:29]remove file /storage/0462/doc_00024408 [00:05:29]file doc_00024409 [00:05:29]remove file /storage/0462/doc_00024409 [00:05:29]file doc_00024410 [00:05:29]remove file /storage/0462/doc_00024410 [00:05:29]file doc_00024411 [00:05:29]remove file /storage/0462/doc_00024411 [00:05:29]file doc_00024412 [00:05:29]remove file /storage/0462/doc_00024412 [00:05:29]file doc_00024413 [00:05:29]remove file /storage/0462/doc_00024413 [00:05:29]file doc_00024414 [00:05:29]remove file /storage/0462/doc_00024414 [00:05:29]file doc_00024415 [00:05:29]remove file /storage/0462/doc_00024415 [00:05:29]file doc_00024416 [00:05:29]remove file /storage/0462/doc_00024416 [00:05:29]file doc_00024417 [00:05:29]remove file /storage/0462/doc_00024417 [00:05:29]file doc_00024418 [00:05:29]remove file /storage/0462/doc_00024418 [00:05:29]file doc_00024419 [00:05:29]remove file /storage/0462/doc_00024419 [00:05:29]file doc_00024420 [00:05:29]remove file /storage/0462/doc_00024420 [00:05:29]file doc_00024421 [00:05:29]remove file /storage/0462/doc_00024421 [00:05:29]file doc_00024422 [00:05:29]remove file /storage/0462/doc_00024422 [00:05:29]file doc_00024423 [00:05:29]remove file /storage/0462/doc_00024423 [00:05:29]file doc_00024424 [00:05:29]remove file /storage/0462/doc_00024424 [00:05:29]file doc_00024425 [00:05:29]remove file /storage/0462/doc_00024425 [00:05:29]file doc_00024426 [00:05:29]remove file /storage/0462/doc_00024426 [00:05:29]file doc_00024427 [00:05:29]remove file /storage/0462/doc_00024427 [00:05:29]file doc_00024428 [00:05:29]remove file /storage/0462/doc_00024428 [00:05:29]file doc_00024429 [00:05:29]remove file /storage/0462/doc_00024429 [00:05:29]file doc_00024430 [00:05:29]remove file /storage/0462/doc_00024430 [00:05:29]file doc_00024431 [00:05:29]remove file /storage/0462/doc_00024431 [00:05:29]file doc_00024432 [00:05:29]remove file /storage/0462/doc_00024432 [00:05:29]file doc_00024433 [00:05:29]remove file /storage/0462/doc_00024433 [00:05:29]file doc_00024434 [00:05:29]remove file /storage/0462/doc_00024434 [00:05:29]file doc_00024435 [00:05:29]remove file /storage/0462/doc_00024435 [00:05:29]file doc_00024436 [00:05:29]remove file /storage/0462/doc_00024436 [00:05:29]file doc_00024437 [00:05:30]remove file /storage/0462/doc_00024437 [00:05:30]file doc_00024438 [00:05:30]remove file /storage/0462/doc_00024438 [00:05:30]file doc_00024439 [00:05:30]remove file /storage/0462/doc_00024439 [00:05:30]file doc_00024440 [00:05:30]remove file /storage/0462/doc_00024440 [00:05:30]file doc_00024441 [00:05:30]remove file /storage/0462/doc_00024441 [00:05:30]file doc_00024442 [00:05:30]remove file /storage/0462/doc_00024442 [00:05:30]file doc_00024443 [00:05:30]remove file /storage/0462/doc_00024443 [00:05:30]file doc_00024444 [00:05:30]remove file /storage/0462/doc_00024444 [00:05:30]file doc_00024445 [00:05:30]remove file /storage/0462/doc_00024445 [00:05:30]file doc_00024446 [00:05:30]remove file /storage/0462/doc_00024446 [00:05:30]file doc_00024447 [00:05:30]remove file /storage/0462/doc_00024447 [00:05:30]file doc_00024448 [00:05:30]remove file /storage/0462/doc_00024448 [00:05:30]file doc_00024449 [00:05:30]remove file /storage/0462/doc_00024449 [00:05:30]file doc_00024450 [00:05:30]remove file /storage/0462/doc_00024450 [00:05:30]file doc_00024451 [00:05:30]remove file /storage/0462/doc_00024451 [00:05:30]remove dir /storage/0462 [00:05:30]ProcessDocumentItem done err = 0, tmpTLVsize=260 [00:05:30]tlvbuf is 00E9B900 [00:05:30]SAM_PROTO_ClearQueue [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 09 00 00 [00:05:30]Write to MH i2c: E2 08 00 C2 17 80 09 00 00 00 00 00 00 4B [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 C2 17 00 90 00 4D [00:05:30]RAPDU: 90 00 [00:05:30]wFMCommunicate OK [00:05:30]SAM_PROTO_ClearQueue done [00:05:30]KKMCreateOFDPacket [00:05:30]OFDProtocolAddRootSTLVToBuf [00:05:30]FM_MakeSignedData [00:05:30]FM_MakeSignedData [00:05:30]SAM_PROTO_SignData [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 0D 01 02 [00:05:30]Write to MH i2c: E2 08 00 C3 17 80 0D 01 02 00 00 00 00 53 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 C3 17 00 90 00 4E [00:05:30]RAPDU: 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=255 [00:05:30]MH_SAM_APDU [00:05:30]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 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 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 CE 3D 18 67 0E 04 04 00 CF 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 84 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 [00:05:30]Write to MH i2c: E2 02 01 C4 17 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 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 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 CE 3D 18 67 0E 04 04 00 CF 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 84 5F 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 00 00 5E [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]OFD Sender: No OFD packet to send [00:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 C4 17 00 90 00 4F [00:05:30]RAPDU: 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=19 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 0D 02 02 0E 35 34 32 30 35 04 06 00 11 10 7A D0 FA 2D [00:05:30]Write to MH i2c: E2 16 00 C5 17 80 0D 02 02 0E 00 35 34 32 30 35 04 06 00 11 10 7A D0 FA 2D 00 00 0E [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 03 00 C5 17 00 90 00 50 [00:05:30]RAPDU: 90 00 [00:05:30]wFMCommunicate OK [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 0D 03 02 [00:05:30]Write to MH i2c: E2 08 00 C6 17 80 0D 03 02 00 00 00 00 58 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 0B 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 0B 00 C6 17 00 0B CA A6 BF 2E 58 89 37 90 00 D9 [00:05:30]RAPDU: 0B CA A6 BF 2E 58 89 37 90 00 [00:05:30]wFMCommunicate OK [00:05:30]SAM_PROTO_SignData done [00:05:30]FM_MakeSignedData done [00:05:30]CreateOFDProtocolMessage [00:05:30]wFMCommunicate request_size=4 [00:05:30]MH_SAM_APDU [00:05:30]CAPDU: 80 11 00 00 [00:05:30]Write to MH i2c: E2 08 00 C7 17 80 11 00 00 00 00 00 00 58 [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:05:30]Read from MH i2c: E2 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 17 00 [00:05:30]MH_I2C_Read... [00:05:30]Read from MH i2c: E2 17 00 C7 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 A5 [00:05:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:05:30]wFMCommunicate OK [00:05:30]CreateOFDProtocolMessage done [00:05:30]OFDSenderStorePacket 24452 [00:05:30]StoreOFDPacket docnum=24452 [00:05: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 18 01 00 00 9F 24 10 01 1C 76 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 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 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 CE 3D 18 67 0E 04 04 00 CF 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 84 5F 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 11 10 7A D0 FA 2D 0B CA A6 BF 2E 58 89 37 [00:05:30]CheckFolder [00:05:30]dirname=/storage/ofd_packets [00:05:30]CheckFolder done [00:05:30]ProducePacketName [00:05:30]name=ofd_packets/00024452 [00:05:30]NVStorageSaveData ofd_packets/00024452 [00:05:30]File name is /storage/ofd_packets/00024452 [00:05:30]Write 310 bytes [00:05:30]NVStorageSaveData done [00:05:30]OFDSenderStorePacket done [00:05:30]KKMCreateOFDPacket done [00:05:30]NVStorageSaveData kkm_last_timestamp [00:05:30]File name is /storage/kkm_last_timestamp [00:05:30]Write 4 bytes [00:05:30]NVStorageSaveData done [00:05:30]ExternCall_PrintAddStr [00:05:30]wPrintStart [00:05:30]Write to MH i2c: 01 00 00 C8 17 DF [00:05:30]Write i2c OK [00:05:30]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 07 00 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 07 00 C8 17 00 00 00 00 00 FF 0F F4 [00:05:31]RasterBufferAndPrint [00:05:31]line Отчет об открытии смены [00:05:31]line ФФД: 1.0 [00:05:31]line ИНН: 02508201610067 [00:05:31]line Кассир: Калмаева Г. [00:05:31]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:05:31]line Место: АЗС № 85 "Партнер Нефть" [00:05:31]line 23.10.2024 00:05 [00:05:31]line Смена: 463 [00:05:31]line РНМ: 0000000000098120 [00:05:31]line ЗНМ: 0300000166 [00:05:31]line ФД: 24452 [00:05:31]line ФМ: 0000000000965420 [00:05:31]line ФПД: 18762477664813 [00:05:31]written 0, free lines is 4095 [00:05:31]OFD Sender: Processing packet 24452 [packets to send 5, broken 4] [00:05:31]ProducePacketName [00:05:31]name=ofd_packets/00024452 [00:05:31]OFD Sender: To server: pG, [00:05:31]CommunicateWithHost lk.salyk.kg:30040 [00:05:31]ConnectInit lk.salyk.kg [00:05:31]Write to MH i2c: 01 00 00 DA 17 F1 [00:05:31]Write i2c OK [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 07 00 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: 01 07 00 DA 17 00 00 00 00 00 5B 0E 61 [00:05:31]RasterBufferAndPrint [00:05:31]line [00:05:31]line [00:05:31]line [00:05:31]line [00:05:31]line [00:05:31]written 0, free lines is 3689 [00:05:31]Connected sock=10 [00:05: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 18 01 00 00 9F 24 10 01 1C 76 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 9A D0 B0 D0 BB D0 BC D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 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 process_action open_shift done [00:05:31]D0 requested_data is exist [00:05:31]90 produce_requested_data [00:05:31]D0 requested_item fd.num is exist - process it [00:05:31]97 SAM_PROTO_GetFieldsCounters [00:05:31]D0 wFMCommunicate request_size=4 [00:05:31]A1 MH_SAM_APDU [00:05:31]20 CAPDU: E2 80 84 13 96 00 20 00 38 [00:05:31]35 Write to MH i2c: 20 E2 22 08 D0 00 9F E1 D0 17 B0 80 13 D1 00 80 00 D1 00 82 00 D0 00 BD 00 D0 74 B5 [00:05:31]D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 CE 3D 18 67 0E 04 04 00 CF 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 38 31 32 Write i2c OK [00:05:31]30 MH_I2C_Read... [00:05:31]10 04 04 00 84 5F 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 11 10 7A D0 FA 2D 0B CA A6 BF 2E 58 89 37 [00:05:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:05:31]Read from MH i2c: E2 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 62 00 [00:05:31]MH_I2C_Read... [00:05:31]Read from MH i2c: E2 62 00 E1 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 84 5F 00 00 0E 04 04 00 CF 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 3D [00:05: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 84 5F 00 00 0E 04 04 00 CF 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:05:31]wFMCommunicate OK [00:05:31]SAM_PROTO_GetFieldsCounters done [00:05:31]requested_item shift.num is exist - process it [00:05:31]requested_item shift.opened is exist - process it [00:05:31]req_shift_opened [00:05:31]FM_GetShiftState [00:05:31]SAM_PROTO_GetShiftState [00:05:31]wFMCommunicate request_size=4 [00:05:31]MH_SAM_APDU [00:05:31]CAPDU: 80 13 01 00 [00:05:31]Write to MH i2c: E2 08 00 E2 17 80 13 01 00 00 00 00 00 76 [00:05:31]Write i2c OK [00:05:31]MH_I2C_Read... [00:05: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 9A 05 47 00 C1 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 *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:05:31]30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 84 5F 00 00 F4 03 Read from MH i2c: 04 E2 00 [00:05:31]71 MH_I2C_Read... [00:05:31]E9 Read from MH i2c: 17 67 E2 B6 0E 04 00 01 [00:05:31]00 MH_I2C_Read... [00:05:31]00 BD C5 5E 67 21 31 B5 E4 [00:05:31]CommunicateWithHost err = 0 [00:05:31]CheckOFDResponse [00:05:31]Read from MH i2c: 1017 (14) - 77093643461234 [00:05:31]E2 1041 (16) - 0000000000965420 [00:05:31]0E 1040 (4) - 24452 [00:05:31]00 1012 (4) - 22.10.2024 18:05 [00:05:31]E2 1206 (1) - 0 [00:05:31]17 OFD Sender: Remove packet 24452 [00:05:31]00 ProducePacketName [00:05:31]09 name=ofd_packets/00024452 [00:05:31]00 NVStorageDeleteData [00:05:31]01 CE 3D 18 67 00 00 00 00 90 00 0C [00:05:31]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:05:31]wFMCommunicate OK [00:05:31]SAM_PROTO_GetShiftState done [00:05:31]FM_GetShiftState done [00:05:31]req_shift_opened done [00:05:31]requested_item shift.open_date is exist - process it [00:05:31]req_shift_open_date [00:05:31]req_shift_open_date done [00:05:31]produce_requested_data done [00:05:31]produce_requested_data return {"fd.num":24452,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [00:05:31]process_action_free open_shift [00:05:31]json_value_free [00:05:31]json_value_free done [00:05:31]process_json_proto returns [00:05:31]Send response to host [00:05:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":24452,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [00:05:31]free response buf [00:05:31]execute_script done [00:05:31]execute_script returns [00:05:31]free content buf [00:05:31]Sock 7.Close socket [00:05:31]Sock 7.Thread stoped [00:05:31]accept exits with 9 [00:05:31]New connection [00:05:31]New thread 3067596132 created [00:05:31]Thread 3067452772 joined [00:05:31]Waiting for new connection... [00:05:31] Sock 9.Parse request [00:05:31]Sock 9.Check first char [00:05:31]Sock 9.First char is OK [00:05:31]request: POST /json_proto HTTP/1.0 [00:05:31]Method: POST [00:05:31]URL: /json_proto [00:05:31]Method is POST - this is cgi request [00:05:31]url: /json_proto [00:05:31]query_string will be loaded in cgi processing [00:05:31]execute_cgi json_proto POST (null) [00:05:31]execute_cgi path=json_proto method=POST [00:05:31]POST find Content-Length [00:05:31]Host: 172.17.50.4:8080 [00:05:31]Content-Length: 331 [00:05:31]Content-Type: application/json [00:05:31] [00:05:31]POST finish read [00:05:31]Found Content-Length = 331 [00:05:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:31]execute_script... [00:05:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:05:31]POST & json_proto [00:05:31]process_json_proto [00:05:31]json parsed OK: [00:05:31]protocol is kg_v1.0 [00:05:31]action value=get_value [00:05:31]process_action get_value [00:05:31]cmd_get_value [00:05:31]process_action get_value done [00:05:31]requested_data is exist [00:05:31]produce_requested_data [00:05:31]requested_item fm.sale.total is exist - process it [00:05:31]SAM_PROTO_GetFMData [00:05:31]wFMCommunicate request_size=4 [00:05:31]MH_SAM_APDU [00:05:31]CAPDU: 80 13 03 00 [00:05:31]Write to MH i2c: E2 08 00 E3 17 80 13 03 00 00 00 00 00 79 [00:05:31]Write i2c OK [00:05:31]MH_I2C_Read... [00:05:32]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:05:32]Read from MH i2c: E2 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 E3 17 00 C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 OFD Sender: No OFD packet to send [00:05:32]25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 B3 [00:05:32]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 ED 5B 00 00 69 04 A0 00 6F 04 04 00 5D 5B 00 00 B1 04 04 00 AA 86 25 2C 70 04 04 00 D4 0E 30 24 72 04 04 00 D6 77 F5 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 51 47 B0 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 54 FA 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 90 00 00 00 B1 04 04 00 5C 45 AD 01 70 04 04 00 C0 25 AA 01 72 04 03 00 9C 1F 03 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 30 97 2D EF 03 09 00 90 00 [00:05:32]wFMCommunicate OK [00:05:32]wFMCommunicate request_size=4 [00:05:32]MH_SAM_APDU [00:05:32]CAPDU: 80 17 00 00 [00:05:32]Write to MH i2c: E2 08 00 E4 17 80 17 00 00 00 00 00 00 7B [00:05:32]Write i2c OK [00:05:32]MH_I2C_Read... [00:05:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:32]Read from MH i2c: E2 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 [00:05:32]MH_I2C_Read... [00:05:32]Read from MH i2c: E2 FD 00 E4 17 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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 8E [00:05:32]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 8E CC 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:05:32]wFMCommunicate OK [00:05:32]wFMCommunicate request_size=4 [00:05:32]MH_SAM_APDU [00:05:32]CAPDU: 80 17 00 00 [00:05:32]Write to MH i2c: E2 08 00 E5 17 80 17 00 00 00 00 00 00 7C [00:05:32]Write i2c OK [00:05:32]MH_I2C_Read... [00:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:33]Read from MH i2c: E2 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 E5 17 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 91 [00:05:33]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:05:33]wFMCommunicate OK [00:05:33]wFMCommunicate request_size=4 [00:05:33]MH_SAM_APDU [00:05:33]CAPDU: 80 17 00 00 [00:05:33]Write to MH i2c: E2 08 00 E6 17 80 17 00 00 00 00 00 00 7D [00:05:33]Write i2c OK [00:05:33]MH_I2C_Read... [00:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:33]Read from MH i2c: E2 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 FD 00 E6 17 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 F5 [00:05:33]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:05:33]wFMCommunicate OK [00:05:33]wFMCommunicate request_size=4 [00:05:33]MH_SAM_APDU [00:05:33]CAPDU: 80 17 00 00 [00:05:33]Write to MH i2c: E2 08 00 E7 17 80 17 00 00 00 00 00 00 7E [00:05:33]Write i2c OK [00:05:33]MH_I2C_Read... [00:05:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:05:33]Read from MH i2c: E2 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 E1 00 [00:05:33]MH_I2C_Read... [00:05:33]Read from MH i2c: E2 E1 00 E7 17 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 6C [00:05:33]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:34]wFMCommunicate OK [00:05:34]SAM_PROTO_GetFMData done [00:05:34]requested_item fm.sale_refund.total is exist - process it [00:05:34]requested_item fm.buy.total is exist - process it [00:05:34]requested_item shift.sale.total is exist - process it [00:05:34]SAM_PROTO_GetShiftData [00:05:34]wFMCommunicate request_size=4 [00:05:34]MH_SAM_APDU [00:05:34]CAPDU: 80 13 02 00 [00:05:34]Write to MH i2c: E2 08 00 E8 17 80 13 02 00 00 00 00 00 7D [00:05:34]Write i2c OK [00:05:34]MH_I2C_Read... [00:05:34]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:05:34]Read from MH i2c: E2 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 E8 17 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 F0 [00:05:34]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:05:34]wFMCommunicate OK [00:05:34]wFMCommunicate request_size=4 [00:05:34]MH_SAM_APDU [00:05:34]CAPDU: 80 17 00 00 [00:05:34]Write to MH i2c: E2 08 00 E9 17 80 17 00 00 00 00 00 00 80 [00:05:34]Write i2c OK [00:05:34]MH_I2C_Read... [00:05:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:34]Read from MH i2c: E2 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 [00:05:34]MH_I2C_Read... [00:05:34]Read from MH i2c: E2 FD 00 E9 17 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 88 [00:05:35]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:05:35]wFMCommunicate OK [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 17 00 00 [00:05:35]Write to MH i2c: E2 08 00 EA 17 80 17 00 00 00 00 00 00 81 [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 EA 17 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 53 [00:05:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:05:35]wFMCommunicate OK [00:05:35]wFMCommunicate request_size=4 [00:05:35]MH_SAM_APDU [00:05:35]CAPDU: 80 17 00 00 [00:05:35]Write to MH i2c: E2 08 00 EB 17 80 17 00 00 00 00 00 00 82 [00:05:35]Write i2c OK [00:05:35]MH_I2C_Read... [00:05:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:05:35]Read from MH i2c: E2 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 [00:05:35]MH_I2C_Read... [00:05:35]Read from MH i2c: E2 FD 00 EB 17 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 F4 [00:05:35]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:05:36]wFMCommunicate OK [00:05:36]wFMCommunicate request_size=4 [00:05:36]MH_SAM_APDU [00:05:36]CAPDU: 80 17 00 00 [00:05:36]Write to MH i2c: E2 08 00 EC 17 80 17 00 00 00 00 00 00 83 [00:05:36]Write i2c OK [00:05:36]MH_I2C_Read... [00:05:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:05:36]Read from MH i2c: E2 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 BD 00 [00:05:36]MH_I2C_Read... [00:05:36]Read from MH i2c: E2 BD 00 EC 17 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 69 [00:05:36]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:05:36]wFMCommunicate OK [00:05:36]SAM_PROTO_GetShiftData done [00:05:36]requested_item shift.sale.total_cash is exist - process it [00:05:36]requested_item shift.sale_refund.total is exist - process it [00:05:36]requested_item shift.sale_refund.total_cash is exist - process it [00:05:36]requested_item shift.buy.total is exist - process it [00:05:36]requested_item shift.buy.total_cash is exist - process it [00:05:36]produce_requested_data done [00:05:36]produce_requested_data return {"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:05:36]process_action_free get_value [00:05:36]json_value_free [00:05:36]json_value_free done [00:05:36]process_json_proto returns [00:05:36]Send response to host [00:05:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":7406568.10,"fm.sale_refund.total":281327.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:05:36]free response buf [00:05:36]execute_script done [00:05:36]execute_script returns [00:05:36]free content buf [00:05:36]Sock 9.Close socket [00:05:36]Sock 9.Thread stoped [00:05:37]OFD Sender: No OFD packet to send [00:05:42]OFD Sender: No OFD packet to send [00:05:47]OFD Sender: No OFD packet to send [00:05:52]OFD Sender: No OFD packet to send [00:05:57]OFD Sender: No OFD packet to send [00:06:02]OFD Sender: No OFD packet to send [00:06:07]OFD Sender: No OFD packet to send [00:06:12]OFD Sender: No OFD packet to send [00:06:17]OFD Sender: No OFD packet to send [00:06:22]OFD Sender: No OFD packet to send [00:06:27]OFD Sender: No OFD packet to send [00:06:32]OFD Sender: No OFD packet to send [00:06:37]OFD Sender: No OFD packet to send [00:06:42]OFD Sender: No OFD packet to send [00:06:47]OFD Sender: No OFD packet to send [00:06:52]OFD Sender: No OFD packet to send [00:06:57]OFD Sender: No OFD packet to send [00:07:02]OFD Sender: No OFD packet to send [00:07:07]OFD Sender: No OFD packet to send [00:07:12]OFD Sender: No OFD packet to send [00:07:17]OFD Sender: No OFD packet to send [00:07:22]OFD Sender: No OFD packet to send [00:07:27]OFD Sender: No OFD packet to send [00:07:32]OFD Sender: No OFD packet to send [00:07:37]OFD Sender: No OFD packet to send [00:07:42]OFD Sender: No OFD packet to send [00:07:47]OFD Sender: No OFD packet to send [00:07:52]OFD Sender: No OFD packet to send [00:07:57]OFD Sender: No OFD packet to send [00:08:02]OFD Sender: No OFD packet to send [00:08:07]OFD Sender: No OFD packet to send [00:08:12]OFD Sender: No OFD packet to send [00:08:17]OFD Sender: No OFD packet to send [00:08:22]OFD Sender: No OFD packet to send [00:08:27]OFD Sender: No OFD packet to send [00:08:32]OFD Sender: No OFD packet to send [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:11:52]OFD Sender: No OFD packet to send [00:11:57]OFD Sender: No OFD packet to send [00:12:02]OFD Sender: No OFD packet to send [00:12:07]OFD Sender: No OFD packet to send [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:52]OFD Sender: No OFD packet to send [00:16:57]OFD Sender: No OFD packet to send [00:17:02]OFD Sender: No OFD packet to send [00:17:07]OFD Sender: No OFD packet to send [00:17:12]OFD Sender: No OFD packet to send [00:17:17]OFD Sender: No OFD packet to send [00:17:22]OFD Sender: No OFD packet to send [00:17:27]OFD Sender: No OFD packet to send [00:17:32]OFD Sender: No OFD packet to send [00:17:37]OFD Sender: No OFD packet to send [00:17:42]OFD Sender: No OFD packet to send [00:17:47]OFD Sender: No OFD packet to send [00:17:52]OFD Sender: No OFD packet to send [00:17:57]OFD Sender: No OFD packet to send [00:17:59]accept exits with 7 [00:17:59]New connection [00:17:59]New thread 3067452772 created [00:17:59]Thread 3067596132 joined [00:17:59]Waiting for new connection... [00:17:59] Sock 7.Parse request [00:17:59]Sock 7.Check first char [00:17:59]Sock 7.First char is OK [00:17:59]request: POST /json_proto HTTP/1.0 [00:17:59]Method: POST [00:17:59]URL: /json_proto [00:17:59]Method is POST - this is cgi request [00:17:59]url: /json_proto [00:17:59]query_string will be loaded in cgi processing [00:17:59]execute_cgi json_proto POST (null) [00:17:59]execute_cgi path=json_proto method=POST [00:17:59]POST find Content-Length [00:17:59]Host: 172.17.50.4:8080 [00:17:59]Content-Length: 617 [00:17:59]Content-Type: application/json [00:17:59] [00:17:59]POST finish read [00:17:59]Found Content-Length = 617 [00:17:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134968", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:59]execute_script... [00:17: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)134968", "tax_sys" : 0, "items" : [ { "code": "4700001610012", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 0,5\u043B", "price" : 145.00, "quantity" : 1.000, "sum" : 145.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 145.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:17:59]POST & json_proto [00:17:59]process_json_proto [00:17:59]json parsed OK: [00:17:59]protocol is kg_v1.0 [00:17:59]action value=close_receipt [00:17:59]process_action close_receipt [00:17:59]cmd_close_receipt [00:17:59]MH_GetDate [00:17:59]Write to MH i2c: F0 00 00 ED 17 F3 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: F0 09 00 ED 17 00 BD 40 18 67 3B 12 16 67 42 [00:17:59]GetLastDocTimeStamp 1729641934 [00:17:59]current date 1729642685 [00:17:59]FM_GetShiftState [00:17:59]SAM_PROTO_GetShiftState [00:17:59]wFMCommunicate request_size=4 [00:17:59]MH_SAM_APDU [00:17:59]CAPDU: 80 13 01 00 [00:17:59]Write to MH i2c: E2 08 00 EE 17 80 13 01 00 00 00 00 00 82 [00:17:59]Write i2c OK [00:17:59]MH_I2C_Read... [00:17:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:17:59]Read from MH i2c: E2 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 0E 00 [00:17:59]MH_I2C_Read... [00:17:59]Read from MH i2c: E2 0E 00 EE 17 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 18 [00:17:59]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:17:59]wFMCommunicate OK [00:17:59]SAM_PROTO_GetShiftState done [00:17:59]FM_GetShiftState done [00:17:59]opened in 1729641934 [00:17:59]opened+sec_in_day 1729728334 [00:17:59]quantity*price = 14500 [00:17:59]sum+1 = 14501 [00:17:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 145.00 НСП 1% : 1.28 НДС 12% : 15.40 Наличными: 145.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 1 23.10.2024 00:18 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24453 ФПД: 130945559786961 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001805&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24453&fm=130945559786961&tin=02508201610067®Number=0000000000098120&sum=14500 0 [00:18:00]StoreToDocumentArchive [00:18:00]shift 463 fd 24453 [00:18:00]save to /storage/0463/doc_00024453 [00:18:00]save last doc name /storage/0463/doc_00024453 to /storage/kkm_last_doc_name [00:18:00]save OK [00:18:00]Clear old archive folders... [00:18:00]ProcessDocumentItem done err = 0, tmpTLVsize=265 [00:18:00]tlvbuf is 00DD07D0 [00:18:00]SAM_PROTO_ClearQueue [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 09 00 00 [00:18:00]Write to MH i2c: E2 08 00 FB 17 80 09 00 00 00 00 00 00 84 [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 FB 17 00 90 00 86 [00:18:00]RAPDU: 90 00 [00:18:00]wFMCommunicate OK [00:18:00]SAM_PROTO_ClearQueue done [00:18:00]KKMCreateOFDPacket [00:18:00]OFDProtocolAddRootSTLVToBuf [00:18:00]FM_MakeSignedData [00:18:00]FM_MakeSignedData [00:18:00]SAM_PROTO_SignData [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 0D 01 02 [00:18:00]Write to MH i2c: E2 08 00 FC 17 80 0D 01 02 00 00 00 00 8C [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 FC 17 00 90 00 87 [00:18:00]RAPDU: 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=255 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 0D 02 02 FA 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 40 18 67 0E 04 04 00 CF 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 [00:18:00]Write to MH i2c: E2 02 01 FD 17 80 0D 02 02 FA 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 40 18 67 0E 04 04 00 CF 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 00 00 9C [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 FD 17 00 90 00 88 [00:18:00]RAPDU: 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=24 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 0D 02 02 13 30 10 04 04 00 85 5F 00 00 35 04 06 00 77 18 23 93 75 D1 [00:18:00]Write to MH i2c: E2 1B 00 FE 17 80 0D 02 02 13 00 30 10 04 04 00 85 5F 00 00 35 04 06 00 77 18 23 93 75 D1 00 00 AB [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 03 00 FE 17 00 90 00 89 [00:18:00]RAPDU: 90 00 [00:18:00]wFMCommunicate OK [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 0D 03 02 [00:18:00]Write to MH i2c: E2 08 00 FF 17 80 0D 03 02 00 00 00 00 91 [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 0B 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 0B 00 FF 17 00 15 63 DA 30 FF C6 65 5F 90 00 9D [00:18:00]RAPDU: 15 63 DA 30 FF C6 65 5F 90 00 [00:18:00]wFMCommunicate OK [00:18:00]SAM_PROTO_SignData done [00:18:00]FM_MakeSignedData done [00:18:00]CreateOFDProtocolMessage [00:18:00]wFMCommunicate request_size=4 [00:18:00]MH_SAM_APDU [00:18:00]CAPDU: 80 11 00 00 [00:18:00]Write to MH i2c: E2 08 00 00 18 80 11 00 00 00 00 00 00 92 [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:00]Read from MH i2c: E2 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 17 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: E2 17 00 00 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 DF [00:18: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:18:00]wFMCommunicate OK [00:18:00]CreateOFDProtocolMessage done [00:18:00]OFDSenderStorePacket 24453 [00:18:00]StoreOFDPacket docnum=24453 [00:18: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 1D 01 00 00 96 E8 15 01 AC 5D 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 40 18 67 0E 04 04 00 CF 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 85 5F 00 00 35 04 06 00 77 18 23 93 75 D1 15 63 DA 30 FF C6 65 5F [00:18:00]CheckFolder [00:18:00]dirname=/storage/ofd_packets [00:18:00]CheckFolder done [00:18:00]ProducePacketName [00:18:00]name=ofd_packets/00024453 [00:18:00]NVStorageSaveData ofd_packets/00024453 [00:18:00]File name is /storage/ofd_packets/00024453 [00:18:00]Write 315 bytes [00:18:00]NVStorageSaveData done [00:18:00]OFDSenderStorePacket done [00:18:00]KKMCreateOFDPacket done [00:18:00]NVStorageSaveData kkm_last_timestamp [00:18:00]File name is /storage/kkm_last_timestamp [00:18:00]Write 4 bytes [00:18:00]NVStorageSaveData done [00:18:00]ExternCall_PrintAddStr [00:18:00]wPrintStart [00:18:00]Write to MH i2c: 01 00 00 01 18 19 [00:18:00]Write i2c OK [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: 01 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: 01 07 00 [00:18:00]MH_I2C_Read... [00:18:00]Read from MH i2c: 01 07 00 01 18 00 00 00 00 00 FF 0F 2E [00:18:00]RasterBufferAndPrint [00:18:00]line Счет N : (3)134968 [00:18:00]line ИНН: 02508201610067 [00:18:00]line Контрольно-Кассовый Чек [00:18:00]line ПРОДАЖА [00:18:00]line Товар: 4700001610012 [00:18:00]line Пиво Арпа 0,5л [00:18:00]line 1.000 * 145.00 [00:18:00]line = 145.00 [00:18:00]line НДС 12% НСП 1% [00:18:00]line > о реализуемом товаре [00:18:00]line ИТОГО: 145.00 [00:18:00]line НСП 1% : 1.28 [00:18:00]line НДС 12% : 15.40 [00:18:00]line Наличными: 145.00 [00:18:00]line Безнал.: 0.00 [00:18:00]line Место: АЗС № 85 "Партнер Нефть" [00:18:00]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:18:00]line СНО: Общий режим [00:18:00]line Чек 1 23.10.2024 00:18 [00:18:00]line Смена: 463 ФФД: 1.0 [00:18:00]line ЗНМ: 0300000166 [00:18:00]line РНМ: 0000000000098120 [00:18:00]line Версия ККМ: 001 [00:18:00]line ФМ: 0000000000965420 [00:18:00]line ФД: 24453 [00:18:00]line ФПД: 130945559786961 [00:18:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T001805&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24453&fm=130945559786961&tin=02508201610067®Number=0000000000098120&sum=14500 [00:18:01]line 0 [00:18:01]OFD Sender: Processing packet 24453 [packets to send 5, broken 4] [00:18:01]ProducePacketName [00:18:01]name=ofd_packets/00024453 [00:18:01]OFD Sender: To server: pG, [00:18:01]CommunicateWithHost lk.salyk.kg:30040 [00:18:01]ConnectInit lk.salyk.kg [00:18:01]written 0, free lines is 4095 [00:18:01]Connected sock=10 [00:18: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 1D 01 00 00 96 E8 15 01 AC 5D 5A 03 01 00 03 00 09 01 1E 04 01 00 01 23 04 5B 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 31 32 06 04 17 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 38 00 00 00 00 13 04 06 00 A4 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 80 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 04 06 00 00 00 00 07 04 06 00 A4 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 01 00 00 00 F4 03 04 00 BD 40 18 67 0E 04 04 00 CF 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 85 5F 00 00 35 04 06 00 77 18 23 93 75 D1 15 63 DA 30 FF C6 65 5F [00:18: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 B8 3F 47 00 30 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 85 5F 00 00 F4 03 04 00 5F EC 17 67 B6 04 01 00 00 3D 03 1E 55 C8 E9 88 A0 [00:18:01]CommunicateWithHost err = 0 [00:18:01]CheckOFDResponse [00:18:01]1017 (14) - 77093643461234 [00:18:01]1041 (16) - 0000000000965420 [00:18:01]1040 (4) - 24453 [00:18:01]1012 (4) - 22.10.2024 18:18 [00:18:01]1206 (1) - 0 [00:18:01]OFD Sender: Remove packet 24453 [00:18:01]ProducePacketName [00:18:01]name=ofd_packets/00024453 [00:18:01]NVStorageDeleteData [00:18:01]Write to MH i2c: 01 00 00 29 18 41 [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: 01 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: 01 07 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: 01 07 00 29 18 00 00 00 00 00 1A 0D 6F [00:18:01]RasterBufferAndPrint [00:18:01]line [00:18:01]line [00:18:01]line [00:18:01]line [00:18:01]line [00:18:01]written 0, free lines is 3363 [00:18:01]process_action close_receipt done [00:18:01]requested_data is exist [00:18:01]produce_requested_data [00:18:01]requested_item fm.sn is exist - process it [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 11 00 00 [00:18:01]Write to MH i2c: E2 08 00 30 18 80 11 00 00 00 00 00 00 C2 [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 17 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 17 00 30 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 0F [00:18: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:18:01]wFMCommunicate OK [00:18:01]requested_item fd.num is exist - process it [00:18:01]SAM_PROTO_GetFieldsCounters [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 13 00 00 [00:18:01]Write to MH i2c: E2 08 00 31 18 80 13 00 00 00 00 00 00 C5 [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 62 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 62 00 31 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 85 5F 00 00 0E 04 04 00 CF 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 92 [00:18: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 85 5F 00 00 0E 04 04 00 CF 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:18:01]wFMCommunicate OK [00:18:01]SAM_PROTO_GetFieldsCounters done [00:18:01]requested_item shift.num is exist - process it [00:18:01]requested_item shift.opened is exist - process it [00:18:01]req_shift_opened [00:18:01]FM_GetShiftState [00:18:01]SAM_PROTO_GetShiftState [00:18:01]wFMCommunicate request_size=4 [00:18:01]MH_SAM_APDU [00:18:01]CAPDU: 80 13 01 00 [00:18:01]Write to MH i2c: E2 08 00 32 18 80 13 01 00 00 00 00 00 C7 [00:18:01]Write i2c OK [00:18:01]MH_I2C_Read... [00:18:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:18:01]Read from MH i2c: E2 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 0E 00 [00:18:01]MH_I2C_Read... [00:18:01]Read from MH i2c: E2 0E 00 32 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 5D [00:18:01]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:18:01]wFMCommunicate OK [00:18:01]SAM_PROTO_GetShiftState done [00:18:01]FM_GetShiftState done [00:18:01]req_shift_opened done [00:18:01]requested_item shift.open_date is exist - process it [00:18:01]req_shift_open_date [00:18:01]req_shift_open_date done [00:18:01]produce_requested_data done [00:18:01]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24453,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [00:18:01]process_action_free close_receipt [00:18:01]json_value_free [00:18:01]json_value_free done [00:18:01]process_json_proto returns [00:18:01]Send response to host [00:18:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24453,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [00:18:01]free response buf [00:18:01]execute_script done [00:18:01]execute_script returns [00:18:01]free content buf [00:18:01]Sock 7.Close socket [00:18:01]Sock 7.Thread stoped [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:52]OFD Sender: No OFD packet to send [00:19:57]OFD Sender: No OFD packet to send [00:20:02]OFD Sender: No OFD packet to send [00:20:07]OFD Sender: No OFD packet to send [00:20:12]OFD Sender: No OFD packet to send [00:20:17]OFD Sender: No OFD packet to send [00:20:22]OFD Sender: No OFD packet to send [00:20:27]OFD Sender: No OFD packet to send [00:20:32]OFD Sender: No OFD packet to send [00:20:37]OFD Sender: No OFD packet to send [00:20:42]OFD Sender: No OFD packet to send [00:20:47]OFD Sender: No OFD packet to send [00:20:52]OFD Sender: No OFD packet to send [00:20:57]OFD Sender: No OFD packet to send [00:21:02]OFD Sender: No OFD packet to send [00:21:07]OFD Sender: No OFD packet to send [00:21:12]OFD Sender: No OFD packet to send [00:21:17]OFD Sender: No OFD packet to send [00:21:22]OFD Sender: No OFD packet to send [00:21:27]OFD Sender: No OFD packet to send [00:21:32]OFD Sender: No OFD packet to send [00:21:37]OFD Sender: No OFD packet to send [00:21:42]OFD Sender: No OFD packet to send [00:21:43]accept exits with 9 [00:21:43]New connection [00:21:43]New thread 3067596132 created [00:21:43]Thread 3067452772 joined [00:21:43]Waiting for new connection... [00:21:43] Sock 9.Parse request [00:21:43]Sock 9.Check first char [00:21:43]Sock 9.First char is OK [00:21:43]request: POST /json_proto HTTP/1.0 [00:21:43]Method: POST [00:21:43]URL: /json_proto [00:21:43]Method is POST - this is cgi request [00:21:43]url: /json_proto [00:21:43]query_string will be loaded in cgi processing [00:21:43]execute_cgi json_proto POST (null) [00:21:43]execute_cgi path=json_proto method=POST [00:21:43]POST find Content-Length [00:21:43]Host: 172.17.50.4:8080 [00:21:43]Content-Length: 654 [00:21:43]Content-Type: application/json [00:21:43] [00:21:43]POST finish read [00:21:43]Found Content-Length = 654 [00:21:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134969", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:43]execute_script... [00:21: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)134969", "tax_sys" : 0, "items" : [ { "code": "4860019001353", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u0440\u0436\u043E\u043C\u0438 0,5\u043B \u041F\u042D\u0422", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 120.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:21:43]POST & json_proto [00:21:43]process_json_proto [00:21:43]json parsed OK: [00:21:43]protocol is kg_v1.0 [00:21:43]action value=close_receipt [00:21:43]process_action close_receipt [00:21:43]cmd_close_receipt [00:21:43]MH_GetDate [00:21:43]Write to MH i2c: F0 00 00 33 18 3A [00:21:43]Write i2c OK [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: F0 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: F0 09 00 [00:21:43]MH_I2C_Read... [00:21:43]Read from MH i2c: F0 09 00 33 18 00 9D 41 18 67 3B 12 16 67 6A [00:21:43]GetLastDocTimeStamp 1729642685 [00:21:43]current date 1729642909 [00:21:43]FM_GetShiftState [00:21:43]SAM_PROTO_GetShiftState [00:21:44]wFMCommunicate request_size=4 [00:21:44]MH_SAM_APDU [00:21:44]CAPDU: 80 13 01 00 [00:21:44]Write to MH i2c: E2 08 00 34 18 80 13 01 00 00 00 00 00 C9 [00:21:44]Write i2c OK [00:21:44]MH_I2C_Read... [00:21:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:44]Read from MH i2c: E2 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 0E 00 [00:21:44]MH_I2C_Read... [00:21:44]Read from MH i2c: E2 0E 00 34 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 5F [00:21:44]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:21:44]wFMCommunicate OK [00:21:44]SAM_PROTO_GetShiftState done [00:21:44]FM_GetShiftState done [00:21:44]opened in 1729641934 [00:21:44]opened+sec_in_day 1729728334 [00:21:44]quantity*price = 12000 [00:21:44]sum+1 = 12001 [00:21:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 2 23.10.2024 00:21 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24454 ФПД: 92515568014086 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T002150&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24454&fm=92515568014086&tin=02508201610067®Number=0000000000098120&sum=12000 0 [00:21:45]StoreToDocumentArchive [00:21:45]shift 463 fd 24454 [00:21:45]save to /storage/0463/doc_00024454 [00:21:45]save last doc name /storage/0463/doc_00024454 to /storage/kkm_last_doc_name [00:21:45]save OK [00:21:45]Clear old archive folders... [00:21:45]ProcessDocumentItem done err = 0, tmpTLVsize=278 [00:21:45]tlvbuf is B6F456C0 [00:21:45]SAM_PROTO_ClearQueue [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 09 00 00 [00:21:45]Write to MH i2c: E2 08 00 41 18 80 09 00 00 00 00 00 00 CB [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 41 18 00 90 00 CD [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]SAM_PROTO_ClearQueue done [00:21:45]KKMCreateOFDPacket [00:21:45]OFDProtocolAddRootSTLVToBuf [00:21:45]FM_MakeSignedData [00:21:45]FM_MakeSignedData [00:21:45]SAM_PROTO_SignData [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 01 02 [00:21:45]Write to MH i2c: E2 08 00 42 18 80 0D 01 02 00 00 00 00 D3 [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 42 18 00 90 00 CE [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]wFMCommunicate request_size=255 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 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 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 41 18 67 0E 04 04 00 CF 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:21:45]Write to MH i2c: E2 02 01 43 18 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 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 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 41 18 67 0E 04 04 00 CF 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 2E [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 43 18 00 90 00 CF [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]wFMCommunicate request_size=37 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 86 5F 00 00 35 04 06 00 54 24 75 91 53 06 [00:21:45]Write to MH i2c: E2 28 00 44 18 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 86 5F 00 00 35 04 06 00 54 24 75 91 53 06 00 00 E3 [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 03 00 44 18 00 90 00 D0 [00:21:45]RAPDU: 90 00 [00:21:45]wFMCommunicate OK [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 0D 03 02 [00:21:45]Write to MH i2c: E2 08 00 45 18 80 0D 03 02 00 00 00 00 D8 [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 0B 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 0B 00 45 18 00 9D AB 5B 81 EF 22 1F 26 90 00 53 [00:21:45]RAPDU: 9D AB 5B 81 EF 22 1F 26 90 00 [00:21:45]wFMCommunicate OK [00:21:45]SAM_PROTO_SignData done [00:21:45]FM_MakeSignedData done [00:21:45]CreateOFDProtocolMessage [00:21:45]wFMCommunicate request_size=4 [00:21:45]MH_SAM_APDU [00:21:45]CAPDU: 80 11 00 00 [00:21:45]Write to MH i2c: E2 08 00 46 18 80 11 00 00 00 00 00 00 D8 [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:45]Read from MH i2c: E2 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 17 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: E2 17 00 46 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 25 [00:21:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:21:45]wFMCommunicate OK [00:21:45]CreateOFDProtocolMessage done [00:21:45]OFDSenderStorePacket 24454 [00:21:45]StoreOFDPacket docnum=24454 [00:21: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 2A 01 00 00 27 83 22 01 15 EE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 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 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 41 18 67 0E 04 04 00 CF 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 86 5F 00 00 35 04 06 00 54 24 75 91 53 06 9D AB 5B 81 EF 22 1F 26 [00:21:45]CheckFolder [00:21:45]dirname=/storage/ofd_packets [00:21:45]CheckFolder done [00:21:45]ProducePacketName [00:21:45]name=ofd_packets/00024454 [00:21:45]NVStorageSaveData ofd_packets/00024454 [00:21:45]File name is /storage/ofd_packets/00024454 [00:21:45]Write 328 bytes [00:21:45]NVStorageSaveData done [00:21:45]OFDSenderStorePacket done [00:21:45]KKMCreateOFDPacket done [00:21:45]NVStorageSaveData kkm_last_timestamp [00:21:45]File name is /storage/kkm_last_timestamp [00:21:45]Write 4 bytes [00:21:45]NVStorageSaveData done [00:21:45]ExternCall_PrintAddStr [00:21:45]wPrintStart [00:21:45]Write to MH i2c: 01 00 00 47 18 5F [00:21:45]OFD Sender: Processing packet 24454 [packets to send 5, broken 4] [00:21:45]ProducePacketName [00:21:45]name=ofd_packets/00024454 [00:21:45]OFD Sender: To server: pG, [00:21:45]CommunicateWithHost lk.salyk.kg:30040 [00:21:45]ConnectInit lk.salyk.kg [00:21:45]Write i2c OK [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: 01 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: 01 07 00 [00:21:45]MH_I2C_Read... [00:21:45]Read from MH i2c: 01 07 00 47 18 00 00 00 00 00 FF 0F 74 [00:21:45]RasterBufferAndPrint [00:21:45]line Счет N : (3)134969 [00:21:45]line ИНН: 02508201610067 [00:21:45]line Контрольно-Кассовый Чек [00:21:45]line ПРОДАЖА [00:21:45]line Товар: 4860019001353 [00:21:45]line Вода Боржоми 0,5л ПЭТ [00:21:45]line 1.000 * 120.00 [00:21:45]line = 120.00 [00:21:45]line НДС 12% НСП 1% [00:21:45]line > о реализуемом товаре [00:21:45]line ИТОГО: 120.00 [00:21:45]line НСП 1% : 1.06 [00:21:45]line НДС 12% : 12.74 [00:21:45]line Наличными: 120.00 [00:21:45]line Безнал.: 0.00 [00:21:45]line Место: АЗС № 85 "Партнер Нефть" [00:21:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:21:45]line СНО: Общий режим [00:21:45]line Чек 2 23.10.2024 00:21 [00:21:45]line Смена: 463 ФФД: 1.0 [00:21:45]line ЗНМ: 0300000166 [00:21:45]line РНМ: 0000000000098120 [00:21:45]line Версия ККМ: 001 [00:21:45]line ФМ: 0000000000965420 [00:21:45]line ФД: 24454 [00:21:45]line ФПД: 92515568014086 [00:21:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T002150&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24454&fm=92515568014086&tin=02508201610067®Number=0000000000098120&sum=12000 [00:21:45]line 0 [00:21:46]written 0, free lines is 4095 [00:21:46]Connected sock=10 [00:21: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 2A 01 00 00 27 83 22 01 15 EE 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 38 36 30 30 31 39 30 30 31 33 35 33 06 04 24 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 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E0 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FA 04 00 00 00 00 07 04 06 00 E0 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 41 18 67 0E 04 04 00 CF 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 86 5F 00 00 35 04 06 00 54 24 75 91 53 06 9D AB 5B 81 EF 22 1F 26 [00:21: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 80 38 47 00 8D 10 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 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 86 5F 00 00 F4 03 04 00 40 ED 17 67 B6 04 01 00 00 7E B1 05 01 53 23 11 50 [00:21:46]CommunicateWithHost err = 0 [00:21:46]CheckOFDResponse [00:21:46]1017 (14) - 77093643461234 [00:21:46]1041 (16) - 0000000000965420 [00:21:46]1040 (4) - 24454 [00:21:46]1012 (4) - 22.10.2024 18:21 [00:21:46]1206 (1) - 0 [00:21:46]OFD Sender: Remove packet 24454 [00:21:46]ProducePacketName [00:21:46]name=ofd_packets/00024454 [00:21:46]NVStorageDeleteData [00:21:46]Write to MH i2c: 01 00 00 6F 18 87 [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: 01 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: 01 07 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: 01 07 00 6F 18 00 00 00 00 00 1E 0D B9 [00:21:46]RasterBufferAndPrint [00:21:46]line [00:21:46]line [00:21:46]line [00:21:46]line [00:21:46]line [00:21:46]written 0, free lines is 3367 [00:21:46]process_action close_receipt done [00:21:46]requested_data is exist [00:21:46]produce_requested_data [00:21:46]requested_item fm.sn is exist - process it [00:21:46]wFMCommunicate request_size=4 [00:21:46]MH_SAM_APDU [00:21:46]CAPDU: 80 11 00 00 [00:21:46]Write to MH i2c: E2 08 00 76 18 80 11 00 00 00 00 00 00 08 [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:21:46]Read from MH i2c: E2 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 17 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 17 00 76 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 55 [00:21:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:21:46]wFMCommunicate OK [00:21:46]requested_item fd.num is exist - process it [00:21:46]SAM_PROTO_GetFieldsCounters [00:21:46]wFMCommunicate request_size=4 [00:21:46]MH_SAM_APDU [00:21:46]CAPDU: 80 13 00 00 [00:21:46]Write to MH i2c: E2 08 00 77 18 80 13 00 00 00 00 00 00 0B [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 [00:21:46]MH_I2C_Read... [00:21:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:21:46]Read from MH i2c: E2 62 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 62 00 77 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 86 5F 00 00 0E 04 04 00 CF 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 DC [00:21: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 86 5F 00 00 0E 04 04 00 CF 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:21:46]wFMCommunicate OK [00:21:46]SAM_PROTO_GetFieldsCounters done [00:21:46]requested_item shift.num is exist - process it [00:21:46]requested_item shift.opened is exist - process it [00:21:46]req_shift_opened [00:21:46]FM_GetShiftState [00:21:46]SAM_PROTO_GetShiftState [00:21:46]wFMCommunicate request_size=4 [00:21:46]MH_SAM_APDU [00:21:46]CAPDU: 80 13 01 00 [00:21:46]Write to MH i2c: E2 08 00 78 18 80 13 01 00 00 00 00 00 0D [00:21:46]Write i2c OK [00:21:46]MH_I2C_Read... [00:21:46]OFD Sender: No OFD packet to send [00:21:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:21:46]Read from MH i2c: E2 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 0E 00 [00:21:46]MH_I2C_Read... [00:21:46]Read from MH i2c: E2 0E 00 78 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 A3 [00:21:46]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:21:46]wFMCommunicate OK [00:21:46]SAM_PROTO_GetShiftState done [00:21:46]FM_GetShiftState done [00:21:46]req_shift_opened done [00:21:46]requested_item shift.open_date is exist - process it [00:21:46]req_shift_open_date [00:21:46]req_shift_open_date done [00:21:46]produce_requested_data done [00:21:46]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24454,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [00:21:46]process_action_free close_receipt [00:21:46]json_value_free [00:21:46]json_value_free done [00:21:46]process_json_proto returns [00:21:46]Send response to host [00:21:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24454,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [00:21:46]free response buf [00:21:46]execute_script done [00:21:46]execute_script returns [00:21:46]free content buf [00:21:46]Sock 9.Close socket [00:21:46]Sock 9.Thread stoped [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:37]OFD Sender: No OFD packet to send [00:26:42]OFD Sender: No OFD packet to send [00:26:47]OFD Sender: No OFD packet to send [00:26:52]OFD Sender: No OFD packet to send [00:26:57]OFD Sender: No OFD packet to send [00:27:02]OFD Sender: No OFD packet to send [00:27:07]OFD Sender: No OFD packet to send [00:27:12]OFD Sender: No OFD packet to send [00:27:17]OFD Sender: No OFD packet to send [00:27:22]OFD Sender: No OFD packet to send [00:27:27]OFD Sender: No OFD packet to send [00:27:32]OFD Sender: No OFD packet to send [00:27:35]accept exits with 7 [00:27:35]New connection [00:27:35]New thread 3067452772 created [00:27:35]Thread 3067596132 joined [00:27:35]Waiting for new connection... [00:27:35] Sock 7.Parse request [00:27:35]Sock 7.Check first char [00:27:35]Sock 7.First char is OK [00:27:35]request: POST /json_proto HTTP/1.0 [00:27:35]Method: POST [00:27:35]URL: /json_proto [00:27:35]Method is POST - this is cgi request [00:27:35]url: /json_proto [00:27:35]query_string will be loaded in cgi processing [00:27:35]execute_cgi json_proto POST (null) [00:27:35]execute_cgi path=json_proto method=POST [00:27:35]POST find Content-Length [00:27:35]Host: 172.17.50.4:8080 [00:27:35]Content-Length: 622 [00:27:35]Content-Type: application/json [00:27:35] [00:27:35]POST finish read [00:27:35]Found Content-Length = 622 [00:27:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134970", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:35]execute_script... [00:27: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)134970", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:35]POST & json_proto [00:27:35]process_json_proto [00:27:35]json parsed OK: [00:27:35]protocol is kg_v1.0 [00:27:35]action value=close_receipt [00:27:35]process_action close_receipt [00:27:35]cmd_close_receipt [00:27:35]MH_GetDate [00:27:35]Write to MH i2c: F0 00 00 79 18 80 [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: F0 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: F0 09 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: F0 09 00 79 18 00 FD 42 18 67 3B 12 16 67 11 [00:27:35]GetLastDocTimeStamp 1729642910 [00:27:35]current date 1729643261 [00:27:35]FM_GetShiftState [00:27:35]SAM_PROTO_GetShiftState [00:27:35]wFMCommunicate request_size=4 [00:27:35]MH_SAM_APDU [00:27:35]CAPDU: 80 13 01 00 [00:27:35]Write to MH i2c: E2 08 00 7A 18 80 13 01 00 00 00 00 00 0F [00:27:35]Write i2c OK [00:27:35]MH_I2C_Read... [00:27:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:35]Read from MH i2c: E2 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 [00:27:35]MH_I2C_Read... [00:27:35]Read from MH i2c: E2 0E 00 7A 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 A5 [00:27:35]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:27:35]wFMCommunicate OK [00:27:35]SAM_PROTO_GetShiftState done [00:27:35]FM_GetShiftState done [00:27:35]opened in 1729641934 [00:27:35]opened+sec_in_day 1729728334 [00:27:35]quantity*price = 15900 [00:27:35]sum+1 = 15901 [00:27:35]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 3 23.10.2024 00:27 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24455 ФПД: 228733386474545 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T002741&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24455&fm=228733386474545&tin=02508201610067®Number=0000000000098120&sum=15900 0 [00:27:36]StoreToDocumentArchive [00:27:36]shift 463 fd 24455 [00:27:36]save to /storage/0463/doc_00024455 [00:27:36]save last doc name /storage/0463/doc_00024455 to /storage/kkm_last_doc_name [00:27:36]save OK [00:27:36]Clear old archive folders... [00:27:36]ProcessDocumentItem done err = 0, tmpTLVsize=274 [00:27:36]tlvbuf is 00DC0AA0 [00:27:36]SAM_PROTO_ClearQueue [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 09 00 00 [00:27:36]Write to MH i2c: E2 08 00 87 18 80 09 00 00 00 00 00 00 11 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 87 18 00 90 00 13 [00:27:36]RAPDU: 90 00 [00:27:36]wFMCommunicate OK [00:27:36]SAM_PROTO_ClearQueue done [00:27:36]KKMCreateOFDPacket [00:27:36]OFDProtocolAddRootSTLVToBuf [00:27:36]FM_MakeSignedData [00:27:36]FM_MakeSignedData [00:27:36]SAM_PROTO_SignData [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 0D 01 02 [00:27:36]Write to MH i2c: E2 08 00 88 18 80 0D 01 02 00 00 00 00 19 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 88 18 00 90 00 14 [00:27:36]RAPDU: 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=255 [00:27:36]MH_SAM_APDU [00:27:36]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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD 42 18 67 0E 04 04 00 CF 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:27:36]Write to MH i2c: E2 02 01 89 18 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD 42 18 67 0E 04 04 00 CF 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 C9 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 89 18 00 90 00 15 [00:27:36]RAPDU: 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=33 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 87 5F 00 00 35 04 06 00 D0 08 24 3F C4 31 [00:27:36]Write to MH i2c: E2 24 00 8A 18 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 87 5F 00 00 35 04 06 00 D0 08 24 3F C4 31 00 00 BB [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 03 00 8A 18 00 90 00 16 [00:27:36]RAPDU: 90 00 [00:27:36]wFMCommunicate OK [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 0D 03 02 [00:27:36]Write to MH i2c: E2 08 00 8B 18 80 0D 03 02 00 00 00 00 1E [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 0B 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 0B 00 8B 18 00 7D A3 A2 93 8C 8C 67 1D 90 00 10 [00:27:36]RAPDU: 7D A3 A2 93 8C 8C 67 1D 90 00 [00:27:36]wFMCommunicate OK [00:27:36]SAM_PROTO_SignData done [00:27:36]FM_MakeSignedData done [00:27:36]CreateOFDProtocolMessage [00:27:36]wFMCommunicate request_size=4 [00:27:36]MH_SAM_APDU [00:27:36]CAPDU: 80 11 00 00 [00:27:36]Write to MH i2c: E2 08 00 8C 18 80 11 00 00 00 00 00 00 1E [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:36]Read from MH i2c: E2 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 17 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: E2 17 00 8C 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 6B [00:27:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:27:36]wFMCommunicate OK [00:27:36]CreateOFDProtocolMessage done [00:27:36]OFDSenderStorePacket 24455 [00:27:36]StoreOFDPacket docnum=24455 [00:27: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 26 01 00 00 CD 28 1E 01 1D A6 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD 42 18 67 0E 04 04 00 CF 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 87 5F 00 00 35 04 06 00 D0 08 24 3F C4 31 7D A3 A2 93 8C 8C 67 1D [00:27:36]CheckFolder [00:27:36]dirname=/storage/ofd_packets [00:27:36]CheckFolder done [00:27:36]ProducePacketName [00:27:36]name=ofd_packets/00024455 [00:27:36]NVStorageSaveData ofd_packets/00024455 [00:27:36]File name is /storage/ofd_packets/00024455 [00:27:36]Write 324 bytes [00:27:36]NVStorageSaveData done [00:27:36]OFDSenderStorePacket done [00:27:36]KKMCreateOFDPacket done [00:27:36]NVStorageSaveData kkm_last_timestamp [00:27:36]File name is /storage/kkm_last_timestamp [00:27:36]Write 4 bytes [00:27:36]NVStorageSaveData done [00:27:36]ExternCall_PrintAddStr [00:27:36]wPrintStart [00:27:36]Write to MH i2c: 01 00 00 8D 18 A5 [00:27:36]Write i2c OK [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: 01 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: 01 07 00 [00:27:36]MH_I2C_Read... [00:27:36]Read from MH i2c: 01 07 00 8D 18 00 00 00 00 00 FF 0F BA [00:27:36]RasterBufferAndPrint [00:27:36]line Счет N : (3)134970 [00:27:36]line ИНН: 02508201610067 [00:27:36]line Контрольно-Кассовый Чек [00:27:36]line ПРОДАЖА [00:27:36]line Товар: 4640030091645 [00:27:36]line Сигареты ESSE Exchange M [00:27:36]line 1.000 * 159.00 [00:27:36]line = 159.00 [00:27:36]line НДС 12% НСП 1% [00:27:36]line > о реализуемом товаре [00:27:36]line ИТОГО: 159.00 [00:27:36]line НСП 1% : 1.41 [00:27:36]line НДС 12% : 16.88 [00:27:36]line Наличными: 159.00 [00:27:36]line Безнал.: 0.00 [00:27:36]line Место: АЗС № 85 "Партнер Нефть" [00:27:36]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [00:27:36]line СНО: Общий режим [00:27:36]line Чек 3 23.10.2024 00:27 [00:27:36]line Смена: 463 ФФД: 1.0 [00:27:36]line ЗНМ: 0300000166 [00:27:36]line РНМ: 0000000000098120 [00:27:36]line Версия ККМ: 001 [00:27:36]line ФМ: 0000000000965420 [00:27:36]line ФД: 24455 [00:27:36]line ФПД: 228733386474545 [00:27:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T002741&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24455&fm=228733386474545&tin=02508201610067®Number=0000000000098120&sum=15900 [00:27:36]line 0 [00:27:36]written 0, free lines is 4095 [00:27:36]OFD Sender: Processing packet 24455 [packets to send 5, broken 4] [00:27:36]ProducePacketName [00:27:36]name=ofd_packets/00024455 [00:27:36]OFD Sender: To server: pG, [00:27:36]CommunicateWithHost lk.salyk.kg:30040 [00:27:36]ConnectInit lk.salyk.kg [00:27:36]Connected sock=10 [00:27: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 26 01 00 00 CD 28 1E 01 1D A6 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 1C 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 FD 42 18 67 0E 04 04 00 CF 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 87 5F 00 00 35 04 06 00 D0 08 24 3F C4 31 7D A3 A2 93 8C 8C 67 1D [00:27: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 18 71 47 00 DA 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 87 5F 00 00 F4 03 04 00 9F EE 17 67 B6 04 01 00 00 61 DC 19 6A 0B 17 E2 63 [00:27:37]CommunicateWithHost err = 0 [00:27:37]CheckOFDResponse [00:27:37]1017 (14) - 77093643461234 [00:27:37]1041 (16) - 0000000000965420 [00:27:37]1040 (4) - 24455 [00:27:37]1012 (4) - 22.10.2024 18:27 [00:27:37]1206 (1) - 0 [00:27:37]OFD Sender: Remove packet 24455 [00:27:37]ProducePacketName [00:27:37]name=ofd_packets/00024455 [00:27:37]NVStorageDeleteData [00:27:37]Write to MH i2c: 01 00 00 B5 18 CD [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: 01 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: 01 07 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: 01 07 00 B5 18 00 00 00 00 00 27 0D 08 [00:27:37]RasterBufferAndPrint [00:27:37]line [00:27:37]line [00:27:37]line [00:27:37]line [00:27:37]line [00:27:37]written 0, free lines is 3373 [00:27:37]process_action close_receipt done [00:27:37]requested_data is exist [00:27:37]produce_requested_data [00:27:37]requested_item fm.sn is exist - process it [00:27:37]wFMCommunicate request_size=4 [00:27:37]MH_SAM_APDU [00:27:37]CAPDU: 80 11 00 00 [00:27:37]Write to MH i2c: E2 08 00 BC 18 80 11 00 00 00 00 00 00 4E [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 17 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 17 00 BC 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 9B [00:27:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [00:27:37]wFMCommunicate OK [00:27:37]requested_item fd.num is exist - process it [00:27:37]SAM_PROTO_GetFieldsCounters [00:27:37]wFMCommunicate request_size=4 [00:27:37]MH_SAM_APDU [00:27:37]CAPDU: 80 13 00 00 [00:27:37]Write to MH i2c: E2 08 00 BD 18 80 13 00 00 00 00 00 00 51 [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 62 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 62 00 BD 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 87 5F 00 00 0E 04 04 00 CF 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 26 [00:27: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 87 5F 00 00 0E 04 04 00 CF 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:27:37]wFMCommunicate OK [00:27:37]SAM_PROTO_GetFieldsCounters done [00:27:37]requested_item shift.num is exist - process it [00:27:37]requested_item shift.opened is exist - process it [00:27:37]req_shift_opened [00:27:37]FM_GetShiftState [00:27:37]SAM_PROTO_GetShiftState [00:27:37]wFMCommunicate request_size=4 [00:27:37]MH_SAM_APDU [00:27:37]CAPDU: 80 13 01 00 [00:27:37]Write to MH i2c: E2 08 00 BE 18 80 13 01 00 00 00 00 00 53 [00:27:37]Write i2c OK [00:27:37]MH_I2C_Read... [00:27:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:37]Read from MH i2c: E2 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 0E 00 [00:27:37]MH_I2C_Read... [00:27:37]Read from MH i2c: E2 0E 00 BE 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 E9 [00:27:37]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [00:27:37]wFMCommunicate OK [00:27:37]SAM_PROTO_GetShiftState done [00:27:37]FM_GetShiftState done [00:27:37]req_shift_opened done [00:27:37]requested_item shift.open_date is exist - process it [00:27:37]req_shift_open_date [00:27:37]req_shift_open_date done [00:27:37]produce_requested_data done [00:27:37]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24455,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [00:27:37]process_action_free close_receipt [00:27:37]json_value_free [00:27:37]json_value_free done [00:27:37]process_json_proto returns [00:27:37]Send response to host [00:27:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24455,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [00:27:37]free response buf [00:27:37]execute_script done [00:27:37]execute_script returns [00:27:37]free content buf [00:27:37]Sock 7.Close socket [00:27:37]Sock 7.Thread stoped [00:27:37]OFD Sender: No OFD packet to send [00:27:42]OFD Sender: No OFD packet to send [00:27:47]OFD Sender: No OFD packet to send [00:27:52]OFD Sender: No OFD packet to send [00:27:57]OFD Sender: No OFD packet to send [00:28:02]OFD Sender: No OFD packet to send [00:28:07]OFD Sender: No OFD packet to send [00:28:12]OFD Sender: No OFD packet to send [00:28:17]OFD Sender: No OFD packet to send [00:28:22]OFD Sender: No OFD packet to send [00:28:27]OFD Sender: No OFD packet to send [00:28:32]OFD Sender: No OFD packet to send [00:28:37]OFD Sender: No OFD packet to send [00:28:42]OFD Sender: No OFD packet to send [00:28:47]OFD Sender: No OFD packet to send [00:28:52]OFD Sender: No OFD packet to send [00:28:57]OFD Sender: No OFD packet to send [00:29:02]OFD Sender: No OFD packet to send [00:29:07]OFD Sender: No OFD packet to send [00:29:12]OFD Sender: No OFD packet to send [00:29:17]OFD Sender: No OFD packet to send [00:29:22]OFD Sender: No OFD packet to send [00:29:27]OFD Sender: No OFD packet to send [00:29:32]OFD Sender: No OFD packet to send [00:29:37]OFD Sender: No OFD packet to send [00:29:42]OFD Sender: No OFD packet to send [00:29:47]OFD Sender: No OFD packet to send [00:29:52]OFD Sender: No OFD packet to send [00:29:57]OFD Sender: No OFD packet to send [00:30:02]OFD Sender: No OFD packet to send [00:30:07]OFD Sender: No OFD packet to send [00:30:12]OFD Sender: No OFD packet to send [00:30:17]OFD Sender: No OFD packet to send [00:30:22]OFD Sender: No OFD packet to send [00:30:27]OFD Sender: No OFD packet to send [00:30:32]OFD Sender: No OFD packet to send [00:30:37]OFD Sender: No OFD packet to send [00:30:42]OFD Sender: No OFD packet to send [00:30:47]OFD Sender: No OFD packet to send [00:30:52]OFD Sender: No OFD packet to send [00:30:57]OFD Sender: No OFD packet to send [00:31:02]OFD Sender: No OFD packet to send [00:31:07]OFD Sender: No OFD packet to send [00:31:12]OFD Sender: No OFD packet to send [00:31:17]OFD Sender: No OFD packet to send [00:31:22]OFD Sender: No OFD packet to send [00:31:27]OFD Sender: No OFD packet to send [00:31:32]OFD Sender: No OFD packet to send [00:31:37]OFD Sender: No OFD packet to send [00:31:42]OFD Sender: No OFD packet to send [00:31:47]OFD Sender: No OFD packet to send [00:31:52]OFD Sender: No OFD packet to send [00:31:57]OFD Sender: No OFD packet to send [00:32:02]OFD Sender: No OFD packet to send [00:32:07]OFD Sender: No OFD packet to send [00:32:12]OFD Sender: No OFD packet to send [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:22]OFD Sender: No OFD packet to send [00:33:27]OFD Sender: No OFD packet to send [00:33:32]OFD Sender: No OFD packet to send [00:33:37]OFD Sender: No OFD packet to send [00:33:42]OFD Sender: No OFD packet to send [00:33:47]OFD Sender: No OFD packet to send [00:33:52]OFD Sender: No OFD packet to send [00:33:57]OFD Sender: No OFD packet to send [00:34:02]OFD Sender: No OFD packet to send [00:34:07]OFD Sender: No OFD packet to send [00:34:12]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:33]OFD Sender: No OFD packet to send [00:34:38]OFD Sender: No OFD packet to send [00:34:43]OFD Sender: No OFD packet to send [00:34:48]OFD Sender: No OFD packet to send [00:34:53]OFD Sender: No OFD packet to send [00:34:58]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:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:59]OFD Sender: No OFD packet to send [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]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:24]accept exits with 9 [01:08:24]New connection [01:08:24]New thread 3067596132 created [01:08:24]Thread 3067452772 joined [01:08:24]Waiting for new connection... [01:08:24] Sock 9.Parse request [01:08:24]Sock 9.Check first char [01:08:24]Sock 9.First char is OK [01:08:24]request: POST /json_proto HTTP/1.0 [01:08:24]Method: POST [01:08:24]URL: /json_proto [01:08:24]Method is POST - this is cgi request [01:08:24]url: /json_proto [01:08:24]query_string will be loaded in cgi processing [01:08:24]execute_cgi json_proto POST (null) [01:08:24]execute_cgi path=json_proto method=POST [01:08:24]POST find Content-Length [01:08:24]Host: 172.17.50.4:8080 [01:08:24]Content-Length: 632 [01:08:24]Content-Type: application/json [01:08:24] [01:08:24]POST finish read [01:08:24]Found Content-Length = 632 [01:08:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134971", "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" : 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" ] } } [01:08:24]execute_script... [01:08:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134971", "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" : 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" ] } } [01:08:24]POST & json_proto [01:08:24]process_json_proto [01:08:24]json parsed OK: [01:08:24]protocol is kg_v1.0 [01:08:24]action value=close_receipt [01:08:24]process_action close_receipt [01:08:24]cmd_close_receipt [01:08:24]MH_GetDate [01:08:24]Write to MH i2c: F0 00 00 BF 18 C6 [01:08:24]Write i2c OK [01:08:24]MH_I2C_Read... [01:08:24]Read from MH i2c: F0 [01:08:24]MH_I2C_Read... [01:08:24]Read from MH i2c: F0 09 00 [01:08:24]MH_I2C_Read... [01:08:24]Read from MH i2c: F0 09 00 BF 18 00 8F 4C 18 67 3B 12 16 67 F3 [01:08:24]GetLastDocTimeStamp 1729643261 [01:08:24]current date 1729645711 [01:08:24]FM_GetShiftState [01:08:24]SAM_PROTO_GetShiftState [01:08:24]wFMCommunicate request_size=4 [01:08:24]MH_SAM_APDU [01:08:24]CAPDU: 80 13 01 00 [01:08:24]Write to MH i2c: E2 08 00 C0 18 80 13 01 00 00 00 00 00 55 [01:08:24]Write i2c OK [01:08:24]MH_I2C_Read... [01:08:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:24]Read from MH i2c: E2 [01:08:24]MH_I2C_Read... [01:08:24]Read from MH i2c: E2 0E 00 [01:08:24]MH_I2C_Read... [01:08:24]Read from MH i2c: E2 0E 00 C0 18 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 EB [01:08:24]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:08:24]wFMCommunicate OK [01:08:24]SAM_PROTO_GetShiftState done [01:08:24]FM_GetShiftState done [01:08:24]opened in 1729641934 [01:08:24]opened+sec_in_day 1729728334 [01:08:24]quantity*price = 6000 [01:08:24]sum+1 = 6001 [01:08:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 60.00 НСП 1% : 0.53 НДС 12% : 6.37 Наличными: 60.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 4 23.10.2024 01:08 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24456 ФПД: 220760718525743 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T010831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24456&fm=220760718525743&tin=02508201610067®Number=0000000000098120&sum=6000 0 [01:08:25]StoreToDocumentArchive [01:08:25]shift 463 fd 24456 [01:08:25]save to /storage/0463/doc_00024456 [01:08:25]save last doc name /storage/0463/doc_00024456 to /storage/kkm_last_doc_name [01:08:25]save OK [01:08:25]Clear old archive folders... [01:08:25]ProcessDocumentItem done err = 0, tmpTLVsize=271 [01:08:25]tlvbuf is 00DC0800 [01:08:25]SAM_PROTO_ClearQueue [01:08:25]wFMCommunicate request_size=4 [01:08:25]MH_SAM_APDU [01:08:25]CAPDU: 80 09 00 00 [01:08:25]Write to MH i2c: E2 08 00 CD 18 80 09 00 00 00 00 00 00 57 [01:08:25]Write i2c OK [01:08:25]MH_I2C_Read... [01:08:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:08:25]Read from MH i2c: E2 [01:08:25]MH_I2C_Read... [01:08:25]Read from MH i2c: E2 03 00 [01:08:25]MH_I2C_Read... [01:08:25]Read from MH i2c: E2 03 00 CD 18 00 90 00 59 [01:08:25]RAPDU: 90 00 [01:08:25]wFMCommunicate OK [01:08:25]SAM_PROTO_ClearQueue done [01:08:25]KKMCreateOFDPacket [01:08:25]OFDProtocolAddRootSTLVToBuf [01:08:25]FM_MakeSignedData [01:08:25]FM_MakeSignedData [01:08:25]SAM_PROTO_SignData [01:08:25]wFMCommunicate request_size=4 [01:08:25]MH_SAM_APDU [01:08:25]CAPDU: 80 0D 01 02 [01:08:25]Write to MH i2c: E2 08 00 CE 18 80 0D 01 02 00 00 00 00 5F [01:08:25]Write i2c OK [01:08:25]MH_I2C_Read... [01:08:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:08:25]Read from MH i2c: E2 [01:08:25]MH_I2C_Read... [01:08:25]Read from MH i2c: E2 03 00 [01:08:25]MH_I2C_Read... [01:08:25]Read from MH i2c: E2 03 00 CE 18 00 90 00 5A [01:08:25]RAPDU: 90 00 [01:08:25]wFMCommunicate OK [01:08:25]wFMCommunicate request_size=255 [01:08:25]MH_SAM_APDU [01:08:25]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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 8F 4C 18 67 0E 04 04 00 CF 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 [01:08:26]Write to MH i2c: E2 02 01 CF 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 8F 4C 18 67 0E 04 04 00 CF 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 B7 [01:08:26]Write i2c OK [01:08:26]MH_I2C_Read... [01:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:26]Read from MH i2c: E2 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 03 00 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 03 00 CF 18 00 90 00 5B [01:08:26]RAPDU: 90 00 [01:08:26]wFMCommunicate OK [01:08:26]wFMCommunicate request_size=30 [01:08:26]MH_SAM_APDU [01:08:26]CAPDU: 80 0D 02 02 19 30 39 36 35 34 32 30 10 04 04 00 88 5F 00 00 35 04 06 00 C8 C7 DC 35 45 2F [01:08:26]Write to MH i2c: E2 21 00 D0 18 80 0D 02 02 19 00 30 39 36 35 34 32 30 10 04 04 00 88 5F 00 00 35 04 06 00 C8 C7 DC 35 45 2F 00 00 50 [01:08:26]Write i2c OK [01:08:26]MH_I2C_Read... [01:08:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:08:26]Read from MH i2c: E2 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 03 00 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 03 00 D0 18 00 90 00 5C [01:08:26]RAPDU: 90 00 [01:08:26]wFMCommunicate OK [01:08:26]wFMCommunicate request_size=4 [01:08:26]MH_SAM_APDU [01:08:26]CAPDU: 80 0D 03 02 [01:08:26]Write to MH i2c: E2 08 00 D1 18 80 0D 03 02 00 00 00 00 64 [01:08:26]Write i2c OK [01:08:26]MH_I2C_Read... [01:08:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:08:26]Read from MH i2c: E2 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 0B 00 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 0B 00 D1 18 00 2D 3D 0F CE DD A2 6E 89 90 00 22 [01:08:26]RAPDU: 2D 3D 0F CE DD A2 6E 89 90 00 [01:08:26]wFMCommunicate OK [01:08:26]SAM_PROTO_SignData done [01:08:26]FM_MakeSignedData done [01:08:26]CreateOFDProtocolMessage [01:08:26]wFMCommunicate request_size=4 [01:08:26]MH_SAM_APDU [01:08:26]CAPDU: 80 11 00 00 [01:08:26]Write to MH i2c: E2 08 00 D2 18 80 11 00 00 00 00 00 00 64 [01:08:26]Write i2c OK [01:08:26]MH_I2C_Read... [01:08:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:26]Read from MH i2c: E2 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 17 00 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: E2 17 00 D2 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B1 [01:08:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:08:26]wFMCommunicate OK [01:08:26]CreateOFDProtocolMessage done [01:08:26]OFDSenderStorePacket 24456 [01:08:26]StoreOFDPacket docnum=24456 [01:08: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 23 01 00 00 CA 79 1B 01 14 FD 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 8F 4C 18 67 0E 04 04 00 CF 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 88 5F 00 00 35 04 06 00 C8 C7 DC 35 45 2F 2D 3D 0F CE DD A2 6E 89 [01:08:26]CheckFolder [01:08:26]dirname=/storage/ofd_packets [01:08:26]CheckFolder done [01:08:26]ProducePacketName [01:08:26]name=ofd_packets/00024456 [01:08:26]NVStorageSaveData ofd_packets/00024456 [01:08:26]File name is /storage/ofd_packets/00024456 [01:08:26]Write 321 bytes [01:08:26]NVStorageSaveData done [01:08:26]OFDSenderStorePacket done [01:08:26]KKMCreateOFDPacket done [01:08:26]NVStorageSaveData kkm_last_timestamp [01:08:26]File name is /storage/kkm_last_timestamp [01:08:26]Write 4 bytes [01:08:26]NVStorageSaveData done [01:08:26]ExternCall_PrintAddStr [01:08:26]wPrintStart [01:08:26]Write to MH i2c: 01 00 00 D3 18 EB [01:08:26]Write i2c OK [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: 01 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: 01 07 00 [01:08:26]MH_I2C_Read... [01:08:26]Read from MH i2c: 01 07 00 D3 18 00 00 00 00 00 FF 0F 00 [01:08:26]RasterBufferAndPrint [01:08:26]line Счет N : (3)134971 [01:08:26]line ИНН: 02508201610067 [01:08:26]line Контрольно-Кассовый Чек [01:08:26]line ПРОДАЖА [01:08:26]line Товар: 4700000160204 [01:08:26]line Вода Легенда 1,5л [01:08:26]line 1.000 * 60.00 [01:08:26]line = 60.00 [01:08:26]line НДС 12% НСП 1% [01:08:26]line > о реализуемом товаре [01:08:26]line ИТОГО: 60.00 [01:08:26]line НСП 1% : 0.53 [01:08:26]line НДС 12% : 6.37 [01:08:26]line Наличными: 60.00 [01:08:26]line Безнал.: 0.00 [01:08:26]line Место: АЗС № 85 "Партнер Нефть" [01:08:26]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [01:08:26]line СНО: Общий режим [01:08:26]line Чек 4 23.10.2024 01:08 [01:08:26]line Смена: 463 ФФД: 1.0 [01:08:26]line ЗНМ: 0300000166 [01:08:26]line РНМ: 0000000000098120 [01:08:26]line Версия ККМ: 001 [01:08:26]line ФМ: 0000000000965420 [01:08:26]line ФД: 24456 [01:08:26]line ФПД: 220760718525743 [01:08:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T010831&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24456&fm=220760718525743&tin=02508201610067®Number=0000000000098120&sum=6000 [01:08:26]line 0 [01:08:26]written 0, free lines is 4095 [01:08:26]OFD Sender: Processing packet 24456 [packets to send 5, broken 4] [01:08:26]ProducePacketName [01:08:26]name=ofd_packets/00024456 [01:08:26]OFD Sender: To server: pG, [01:08:26]CommunicateWithHost lk.salyk.kg:30040 [01:08:26]ConnectInit lk.salyk.kg [01:08:26]Connected sock=7 [01:08:26]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 CA 79 1B 01 14 FD 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 30 30 31 36 30 32 30 34 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 04 00 00 00 F4 03 04 00 8F 4C 18 67 0E 04 04 00 CF 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 88 5F 00 00 35 04 06 00 C8 C7 DC 35 45 2F 2D 3D 0F CE DD A2 6E 89 [01:08:26]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 4C 01 47 00 4A 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 88 5F 00 00 F4 03 04 00 30 F8 17 67 B6 04 01 00 00 12 68 2B BB C6 D4 BA B3 [01:08:26]CommunicateWithHost err = 0 [01:08:26]CheckOFDResponse [01:08:26]1017 (14) - 77093643461234 [01:08:26]1041 (16) - 0000000000965420 [01:08:26]1040 (4) - 24456 [01:08:26]1012 (4) - 22.10.2024 19:08 [01:08:26]1206 (1) - 0 [01:08:26]OFD Sender: Remove packet 24456 [01:08:26]ProducePacketName [01:08:26]name=ofd_packets/00024456 [01:08:26]NVStorageDeleteData [01:08:27]Write to MH i2c: 01 00 00 FB 18 13 [01:08:27]Write i2c OK [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: 01 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: 01 07 00 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: 01 07 00 FB 18 00 00 00 00 00 26 0D 4D [01:08:27]RasterBufferAndPrint [01:08:27]line [01:08:27]line [01:08:27]line [01:08:27]line [01:08:27]line [01:08:27]written 0, free lines is 3372 [01:08:27]process_action close_receipt done [01:08:27]requested_data is exist [01:08:27]produce_requested_data [01:08:27]requested_item fm.sn is exist - process it [01:08:27]wFMCommunicate request_size=4 [01:08:27]MH_SAM_APDU [01:08:27]CAPDU: 80 11 00 00 [01:08:27]Write to MH i2c: E2 08 00 02 19 80 11 00 00 00 00 00 00 95 [01:08:27]Write i2c OK [01:08:27]MH_I2C_Read... [01:08:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:08:27]Read from MH i2c: E2 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 17 00 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 17 00 02 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 E2 [01:08:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:08:27]wFMCommunicate OK [01:08:27]requested_item fd.num is exist - process it [01:08:27]SAM_PROTO_GetFieldsCounters [01:08:27]wFMCommunicate request_size=4 [01:08:27]MH_SAM_APDU [01:08:27]CAPDU: 80 13 00 00 [01:08:27]Write to MH i2c: E2 08 00 03 19 80 13 00 00 00 00 00 00 98 [01:08:27]Write i2c OK [01:08:27]MH_I2C_Read... [01:08:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:08:27]Read from MH i2c: E2 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 62 00 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 62 00 03 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 88 5F 00 00 0E 04 04 00 CF 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 71 [01:08: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 88 5F 00 00 0E 04 04 00 CF 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 [01:08:27]wFMCommunicate OK [01:08:27]SAM_PROTO_GetFieldsCounters done [01:08:27]requested_item shift.num is exist - process it [01:08:27]requested_item shift.opened is exist - process it [01:08:27]req_shift_opened [01:08:27]FM_GetShiftState [01:08:27]SAM_PROTO_GetShiftState [01:08:27]wFMCommunicate request_size=4 [01:08:27]MH_SAM_APDU [01:08:27]CAPDU: 80 13 01 00 [01:08:27]Write to MH i2c: E2 08 00 04 19 80 13 01 00 00 00 00 00 9A [01:08:27]Write i2c OK [01:08:27]MH_I2C_Read... [01:08:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:08:27]Read from MH i2c: E2 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 0E 00 [01:08:27]MH_I2C_Read... [01:08:27]Read from MH i2c: E2 0E 00 04 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 30 [01:08:27]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:08:27]wFMCommunicate OK [01:08:27]SAM_PROTO_GetShiftState done [01:08:27]FM_GetShiftState done [01:08:27]req_shift_opened done [01:08:27]requested_item shift.open_date is exist - process it [01:08:27]req_shift_open_date [01:08:27]req_shift_open_date done [01:08:27]produce_requested_data done [01:08:27]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24456,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [01:08:27]process_action_free close_receipt [01:08:27]json_value_free [01:08:27]json_value_free done [01:08:27]process_json_proto returns [01:08:27]Send response to host [01:08:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24456,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [01:08:27]free response buf [01:08:27]execute_script done [01:08:27]execute_script returns [01:08:27]free content buf [01:08:27]Sock 9.Close socket [01:08:27]Sock 9.Thread stoped [01:08:27]OFD Sender: No OFD packet to send [01:08:32]OFD Sender: No OFD packet to send [01:08:37]OFD Sender: No OFD packet to send [01:08:42]OFD Sender: No OFD packet to send [01:08:47]OFD Sender: No OFD packet to send [01:08:52]OFD Sender: No OFD packet to send [01:08:57]OFD Sender: No OFD packet to send [01:09:02]OFD Sender: No OFD packet to send [01:09:07]OFD Sender: No OFD packet to send [01:09:12]OFD Sender: No OFD packet to send [01:09:17]OFD Sender: No OFD packet to send [01:09:22]OFD Sender: No OFD packet to send [01:09:27]OFD Sender: No OFD packet to send [01:09:32]OFD Sender: No OFD packet to send [01:09:37]OFD Sender: No OFD packet to send [01:09:42]OFD Sender: No OFD packet to send [01:09:47]OFD Sender: No OFD packet to send [01:09:52]OFD Sender: No OFD packet to send [01:09:57]OFD Sender: No OFD packet to send [01:10:02]OFD Sender: No OFD packet to send [01:10:07]OFD Sender: No OFD packet to send [01:10:12]OFD Sender: No OFD packet to send [01:10:17]OFD Sender: No OFD packet to send [01:10:22]OFD Sender: No OFD packet to send [01:10:27]OFD Sender: No OFD packet to send [01:10:32]OFD Sender: No OFD packet to send [01:10:37]OFD Sender: No OFD packet to send [01:10:42]OFD Sender: No OFD packet to send [01:10:47]OFD Sender: No OFD packet to send [01:10:52]OFD Sender: No OFD packet to send [01:10:57]OFD Sender: No OFD packet to send [01:11:02]OFD Sender: No OFD packet to send [01:11:07]OFD Sender: No OFD packet to send [01:11:12]OFD Sender: No OFD packet to send [01:11:17]OFD Sender: No OFD packet to send [01:11:22]OFD Sender: No OFD packet to send [01:11:27]OFD Sender: No OFD packet to send [01:11:32]OFD Sender: No OFD packet to send [01:11:37]OFD Sender: No OFD packet to send [01:11:42]OFD Sender: No OFD packet to send [01:11:47]OFD Sender: No OFD packet to send [01:11:52]OFD Sender: No OFD packet to send [01:11:57]OFD Sender: No OFD packet to send [01:12:02]OFD Sender: No OFD packet to send [01:12:07]OFD Sender: No OFD packet to send [01:12:12]OFD Sender: No OFD packet to send [01:12:17]OFD Sender: No OFD packet to send [01:12:22]OFD Sender: No OFD packet to send [01:12:27]OFD Sender: No OFD packet to send [01:12:32]OFD Sender: No OFD packet to send [01:12:37]OFD Sender: No OFD packet to send [01:12:42]OFD Sender: No OFD packet to send [01:12:47]OFD Sender: No OFD packet to send [01:12:52]OFD Sender: No OFD packet to send [01:12:57]OFD Sender: No OFD packet to send [01:13:02]OFD Sender: No OFD packet to send [01:13:07]OFD Sender: No OFD packet to send [01:13:12]OFD Sender: No OFD packet to send [01:13:17]OFD Sender: No OFD packet to send [01:13:22]OFD Sender: No OFD packet to send [01:13:27]OFD Sender: No OFD packet to send [01:13:32]OFD Sender: No OFD packet to send [01:13:37]OFD Sender: No OFD packet to send [01:13:42]OFD Sender: No OFD packet to send [01:13:47]OFD Sender: No OFD packet to send [01:13:52]OFD Sender: No OFD packet to send [01:13:57]OFD Sender: No OFD packet to send [01:14:02]OFD Sender: No OFD packet to send [01:14:04]accept exits with 10 [01:14:04]New connection [01:14:04]New thread 3067452772 created [01:14:04]Thread 3067596132 joined [01:14:04]Waiting for new connection... [01:14:04] Sock 10.Parse request [01:14:04]Sock 10.Check first char [01:14:04]Sock 10.First char is OK [01:14:04]request: POST /json_proto HTTP/1.0 [01:14:04]Method: POST [01:14:04]URL: /json_proto [01:14:04]Method is POST - this is cgi request [01:14:04]url: /json_proto [01:14:04]query_string will be loaded in cgi processing [01:14:04]execute_cgi json_proto POST (null) [01:14:04]execute_cgi path=json_proto method=POST [01:14:04]POST find Content-Length [01:14:04]Host: 172.17.50.4:8080 [01:14:04]Content-Length: 767 [01:14:04]Content-Type: application/json [01:14:04] [01:14:04]POST finish read [01:14:04]Found Content-Length = 767 [01:14:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134972", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 2.000, "sum" : 398.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" : 398.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:14:04]execute_script... [01:14:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134972", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 199.00, "quantity" : 2.000, "sum" : 398.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" : 398.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:14:04]POST & json_proto [01:14:04]process_json_proto [01:14:04]json parsed OK: [01:14:04]protocol is kg_v1.0 [01:14:04]action value=close_receipt [01:14:04]process_action close_receipt [01:14:04]cmd_close_receipt [01:14:04]MH_GetDate [01:14:04]Write to MH i2c: F0 00 00 05 19 0D [01:14:04]Write i2c OK [01:14:04]MH_I2C_Read... [01:14:04]Read from MH i2c: F0 [01:14:04]MH_I2C_Read... [01:14:04]Read from MH i2c: F0 09 00 [01:14:04]MH_I2C_Read... [01:14:04]Read from MH i2c: F0 09 00 05 19 00 E3 4D 18 67 3B 12 16 67 8F [01:14:04]GetLastDocTimeStamp 1729645711 [01:14:04]current date 1729646051 [01:14:04]FM_GetShiftState [01:14:04]SAM_PROTO_GetShiftState [01:14:04]wFMCommunicate request_size=4 [01:14:04]MH_SAM_APDU [01:14:04]CAPDU: 80 13 01 00 [01:14:04]Write to MH i2c: E2 08 00 06 19 80 13 01 00 00 00 00 00 9C [01:14:04]Write i2c OK [01:14:04]MH_I2C_Read... [01:14:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:04]Read from MH i2c: E2 [01:14:04]MH_I2C_Read... [01:14:04]Read from MH i2c: E2 0E 00 [01:14:04]MH_I2C_Read... [01:14:04]Read from MH i2c: E2 0E 00 06 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 32 [01:14:04]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:14:04]wFMCommunicate OK [01:14:04]SAM_PROTO_GetShiftState done [01:14:04]FM_GetShiftState done [01:14:04]opened in 1729641934 [01:14:04]opened+sec_in_day 1729728334 [01:14:04]quantity*price = 39800 [01:14:04]sum+1 = 39801 [01:14:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 398.00 НСП 1% : 3.52 НДС 12% : 42.26 Наличными: 0.00 Безнал.: 398.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 5 23.10.2024 01:14 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24457 ФПД: 15679589760446 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T011411&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24457&fm=15679589760446&tin=02508201610067®Number=0000000000098120&sum=39800 0 [01:14:06]StoreToDocumentArchive [01:14:06]shift 463 fd 24457 [01:14:06]save to /storage/0463/doc_00024457 [01:14:06]save last doc name /storage/0463/doc_00024457 to /storage/kkm_last_doc_name [01:14:06]save OK [01:14:06]Clear old archive folders... [01:14:06]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:14:06]tlvbuf is B6FF5890 [01:14:06]SAM_PROTO_ClearQueue [01:14:06]wFMCommunicate request_size=4 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 09 00 00 [01:14:06]Write to MH i2c: E2 08 00 13 19 80 09 00 00 00 00 00 00 9E [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 13 19 00 90 00 A0 [01:14:06]RAPDU: 90 00 [01:14:06]wFMCommunicate OK [01:14:06]SAM_PROTO_ClearQueue done [01:14:06]KKMCreateOFDPacket [01:14:06]OFDProtocolAddRootSTLVToBuf [01:14:06]FM_MakeSignedData [01:14:06]FM_MakeSignedData [01:14:06]SAM_PROTO_SignData [01:14:06]wFMCommunicate request_size=4 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 0D 01 02 [01:14:06]Write to MH i2c: E2 08 00 14 19 80 0D 01 02 00 00 00 00 A6 [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 14 19 00 90 00 A1 [01:14:06]RAPDU: 90 00 [01:14:06]wFMCommunicate OK [01:14:06]wFMCommunicate request_size=255 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 78 9B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E3 4D 18 67 0E 04 04 00 CF 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 [01:14:06]Write to MH i2c: E2 02 01 15 19 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 78 9B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E3 4D 18 67 0E 04 04 00 CF 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 00 00 AE [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 15 19 00 90 00 A2 [01:14:06]RAPDU: 90 00 [01:14:06]wFMCommunicate OK [01:14:06]wFMCommunicate request_size=31 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 0D 02 02 1A 30 30 39 36 35 34 32 30 10 04 04 00 89 5F 00 00 35 04 06 00 0E 42 B0 60 BD BE [01:14:06]Write to MH i2c: E2 22 00 16 19 80 0D 02 02 1A 00 30 30 39 36 35 34 32 30 10 04 04 00 89 5F 00 00 35 04 06 00 0E 42 B0 60 BD BE 00 00 91 [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 03 00 16 19 00 90 00 A3 [01:14:06]RAPDU: 90 00 [01:14:06]wFMCommunicate OK [01:14:06]wFMCommunicate request_size=4 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 0D 03 02 [01:14:06]Write to MH i2c: E2 08 00 17 19 80 0D 03 02 00 00 00 00 AB [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 0B 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 0B 00 17 19 00 92 B4 70 3C D6 65 80 A0 90 00 F9 [01:14:06]RAPDU: 92 B4 70 3C D6 65 80 A0 90 00 [01:14:06]wFMCommunicate OK [01:14:06]SAM_PROTO_SignData done [01:14:06]FM_MakeSignedData done [01:14:06]CreateOFDProtocolMessage [01:14:06]wFMCommunicate request_size=4 [01:14:06]MH_SAM_APDU [01:14:06]CAPDU: 80 11 00 00 [01:14:06]Write to MH i2c: E2 08 00 18 19 80 11 00 00 00 00 00 00 AB [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:06]Read from MH i2c: E2 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 17 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: E2 17 00 18 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 F8 [01:14:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:14:06]wFMCommunicate OK [01:14:06]CreateOFDProtocolMessage done [01:14:06]OFDSenderStorePacket 24457 [01:14:06]StoreOFDPacket docnum=24457 [01:14:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 24 01 00 00 5C 66 1C 01 E7 AB 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 78 9B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E3 4D 18 67 0E 04 04 00 CF 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 89 5F 00 00 35 04 06 00 0E 42 B0 60 BD BE 92 B4 70 3C D6 65 80 A0 [01:14:06]CheckFolder [01:14:06]dirname=/storage/ofd_packets [01:14:06]CheckFolder done [01:14:06]ProducePacketName [01:14:06]name=ofd_packets/00024457 [01:14:06]NVStorageSaveData ofd_packets/00024457 [01:14:06]File name is /storage/ofd_packets/00024457 [01:14:06]Write 322 bytes [01:14:06]NVStorageSaveData done [01:14:06]OFDSenderStorePacket done [01:14:06]KKMCreateOFDPacket done [01:14:06]NVStorageSaveData kkm_last_timestamp [01:14:06]File name is /storage/kkm_last_timestamp [01:14:06]Write 4 bytes [01:14:06]OFD Sender: Processing packet 24457 [packets to send 5, broken 4] [01:14:06]ProducePacketName [01:14:06]name=ofd_packets/00024457 [01:14:06]OFD Sender: To server: pG, [01:14:06]CommunicateWithHost lk.salyk.kg:30040 [01:14:06]ConnectInit lk.salyk.kg [01:14:06]NVStorageSaveData done [01:14:06]ExternCall_PrintAddStr [01:14:06]wPrintStart [01:14:06]Write to MH i2c: 01 00 00 19 19 32 [01:14:06]Write i2c OK [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: 01 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: 01 07 00 [01:14:06]MH_I2C_Read... [01:14:06]Read from MH i2c: 01 07 00 19 19 00 00 00 00 00 FF 0F 47 [01:14:06]RasterBufferAndPrint [01:14:06]line Счет N : (3)134972 [01:14:06]line ИНН: 02508201610067 [01:14:06]line Контрольно-Кассовый Чек [01:14:06]line ПРОДАЖА [01:14:06]line Товар: 4700000480517 [01:14:06]line Пиво Живое 1л ПЭТ [01:14:06]line 2.000 * 199.00 [01:14:06]line = 398.00 [01:14:06]line НДС 12% НСП 1% [01:14:06]line > о реализуемом товаре [01:14:06]line ИТОГО: 398.00 [01:14:06]line НСП 1% : 3.52 [01:14:06]line НДС 12% : 42.26 [01:14:06]line Наличными: 0.00 [01:14:06]line Безнал.: 398.00 [01:14:06]line Место: АЗС № 85 "Партнер Нефть" [01:14:06]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [01:14:06]line СНО: Общий режим [01:14:06]line Чек 5 23.10.2024 01:14 [01:14:06]line Смена: 463 ФФД: 1.0 [01:14:06]line ЗНМ: 0300000166 [01:14:06]line РНМ: 0000000000098120 [01:14:06]line Версия ККМ: 001 [01:14:06]line Платежная система: Mbank [01:14:06]line ФМ: 0000000000965420 [01:14:06]line ФД: 24457 [01:14:06]line ФПД: 15679589760446 [01:14:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T011411&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24457&fm=15679589760446&tin=02508201610067®Number=0000000000098120&sum=39800 [01:14:06]line 0 [01:14:06]Connected sock=11 [01:14:06]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 24 01 00 00 5C 66 1C 01 E7 AB 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 4D 00 00 00 00 13 04 06 00 78 9B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 9B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 60 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 82 10 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 9B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 E3 4D 18 67 0E 04 04 00 CF 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 89 5F 00 00 35 04 06 00 0E 42 B0 60 BD BE 92 B4 70 3C D6 65 80 A0 [01:14:06]written 0, free lines is 4095 [01:14:07]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 82 47 00 38 19 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 89 5F 00 00 F4 03 04 00 85 F9 17 67 B6 04 01 00 00 FE CF EF A8 FC E6 27 34 [01:14:07]CommunicateWithHost err = 0 [01:14:07]CheckOFDResponse [01:14:07]1017 (14) - 77093643461234 [01:14:07]1041 (16) - 0000000000965420 [01:14:07]1040 (4) - 24457 [01:14:07]1012 (4) - 22.10.2024 19:14 [01:14:07]1206 (1) - 0 [01:14:07]OFD Sender: Remove packet 24457 [01:14:07]ProducePacketName [01:14:07]name=ofd_packets/00024457 [01:14:07]NVStorageDeleteData [01:14:07]Write to MH i2c: 01 00 00 42 19 5B [01:14:07]Write i2c OK [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: 01 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: 01 07 00 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: 01 07 00 42 19 00 00 00 00 00 25 0D 94 [01:14:07]RasterBufferAndPrint [01:14:07]line [01:14:07]line [01:14:07]line [01:14:07]line [01:14:07]line [01:14:07]written 0, free lines is 3374 [01:14:07]process_action close_receipt done [01:14:07]requested_data is exist [01:14:07]produce_requested_data [01:14:07]requested_item fm.sn is exist - process it [01:14:07]wFMCommunicate request_size=4 [01:14:07]MH_SAM_APDU [01:14:07]CAPDU: 80 11 00 00 [01:14:07]Write to MH i2c: E2 08 00 49 19 80 11 00 00 00 00 00 00 DC [01:14:07]Write i2c OK [01:14:07]MH_I2C_Read... [01:14:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:14:07]Read from MH i2c: E2 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 17 00 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 17 00 49 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 29 [01:14:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:14:07]wFMCommunicate OK [01:14:07]requested_item fd.num is exist - process it [01:14:07]SAM_PROTO_GetFieldsCounters [01:14:07]wFMCommunicate request_size=4 [01:14:07]MH_SAM_APDU [01:14:07]CAPDU: 80 13 00 00 [01:14:07]Write to MH i2c: E2 08 00 4A 19 80 13 00 00 00 00 00 00 DF [01:14:07]Write i2c OK [01:14:07]MH_I2C_Read... [01:14:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:14:07]Read from MH i2c: E2 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 62 00 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 62 00 4A 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 89 5F 00 00 0E 04 04 00 CF 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 BC [01:14:07]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 89 5F 00 00 0E 04 04 00 CF 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:14:07]wFMCommunicate OK [01:14:07]SAM_PROTO_GetFieldsCounters done [01:14:07]requested_item shift.num is exist - process it [01:14:07]requested_item shift.opened is exist - process it [01:14:07]req_shift_opened [01:14:07]FM_GetShiftState [01:14:07]SAM_PROTO_GetShiftState [01:14:07]wFMCommunicate request_size=4 [01:14:07]MH_SAM_APDU [01:14:07]CAPDU: 80 13 01 00 [01:14:07]Write to MH i2c: E2 08 00 4B 19 80 13 01 00 00 00 00 00 E1 [01:14:07]OFD Sender: No OFD packet to send [01:14:07]Write i2c OK [01:14:07]MH_I2C_Read... [01:14:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:14:07]Read from MH i2c: E2 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 0E 00 [01:14:07]MH_I2C_Read... [01:14:07]Read from MH i2c: E2 0E 00 4B 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 77 [01:14:07]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:14:07]wFMCommunicate OK [01:14:07]SAM_PROTO_GetShiftState done [01:14:07]FM_GetShiftState done [01:14:07]req_shift_opened done [01:14:07]requested_item shift.open_date is exist - process it [01:14:07]req_shift_open_date [01:14:07]req_shift_open_date done [01:14:07]produce_requested_data done [01:14:07]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24457,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [01:14:07]process_action_free close_receipt [01:14:07]json_value_free [01:14:07]json_value_free done [01:14:07]process_json_proto returns [01:14:07]Send response to host [01:14:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24457,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [01:14:07]free response buf [01:14:07]execute_script done [01:14:07]execute_script returns [01:14:07]free content buf [01:14:07]Sock 10.Close socket [01:14:07]Sock 10.Thread stoped [01:14:12]OFD Sender: No OFD packet to send [01:14:17]OFD Sender: No OFD packet to send [01:14:22]OFD Sender: No OFD packet to send [01:14:27]OFD Sender: No OFD packet to send [01:14:32]OFD Sender: No OFD packet to send [01:14:37]OFD Sender: No OFD packet to send [01:14:42]OFD Sender: No OFD packet to send [01:14:47]OFD Sender: No OFD packet to send [01:14:52]OFD Sender: No OFD packet to send [01:14:57]OFD Sender: No OFD packet to send [01:15:02]OFD Sender: No OFD packet to send [01:15:07]OFD Sender: No OFD packet to send [01:15:12]OFD Sender: No OFD packet to send [01:15:17]OFD Sender: No OFD packet to send [01:15:22]OFD Sender: No OFD packet to send [01:15:27]OFD Sender: No OFD packet to send [01:15:32]OFD Sender: No OFD packet to send [01:15:37]OFD Sender: No OFD packet to send [01:15:42]OFD Sender: No OFD packet to send [01:15:47]OFD Sender: No OFD packet to send [01:15:52]OFD Sender: No OFD packet to send [01:15:57]OFD Sender: No OFD packet to send [01:16:02]OFD Sender: No OFD packet to send [01:16:07]OFD Sender: No OFD packet to send [01:16:12]OFD Sender: No OFD packet to send [01:16:17]OFD Sender: No OFD packet to send [01:16:22]OFD Sender: No OFD packet to send [01:16:27]OFD Sender: No OFD packet to send [01:16:32]OFD Sender: No OFD packet to send [01:16:37]OFD Sender: No OFD packet to send [01:16:42]OFD Sender: No OFD packet to send [01:16:47]OFD Sender: No OFD packet to send [01:16:52]OFD Sender: No OFD packet to send [01:16:57]OFD Sender: No OFD packet to send [01:17:02]OFD Sender: No OFD packet to send [01:17:07]OFD Sender: No OFD packet to send [01:17:12]OFD Sender: No OFD packet to send [01:17:17]OFD Sender: No OFD packet to send [01:17:22]OFD Sender: No OFD packet to send [01:17:27]OFD Sender: No OFD packet to send [01:17:32]OFD Sender: No OFD packet to send [01:17:37]OFD Sender: No OFD packet to send [01:17:42]OFD Sender: No OFD packet to send [01:17:47]OFD Sender: No OFD packet to send [01:17:52]OFD Sender: No OFD packet to send [01:17:57]OFD Sender: No OFD packet to send [01:18:02]OFD Sender: No OFD packet to send [01:18:07]OFD Sender: No OFD packet to send [01:18:12]OFD Sender: No OFD packet to send [01:18:17]OFD Sender: No OFD packet to send [01:18:22]OFD Sender: No OFD packet to send [01:18:27]OFD Sender: No OFD packet to send [01:18:32]OFD Sender: No OFD packet to send [01:18:37]OFD Sender: No OFD packet to send [01:18:42]OFD Sender: No OFD packet to send [01:18:47]OFD Sender: No OFD packet to send [01:18:52]OFD Sender: No OFD packet to send [01:18:57]OFD Sender: No OFD packet to send [01:19:02]OFD Sender: No OFD packet to send [01:19:07]OFD Sender: No OFD packet to send [01:19:12]OFD Sender: No OFD packet to send [01:19:17]OFD Sender: No OFD packet to send [01:19:22]OFD Sender: No OFD packet to send [01:19:27]OFD Sender: No OFD packet to send [01:19:32]OFD Sender: No OFD packet to send [01:19:37]OFD Sender: No OFD packet to send [01:19:42]OFD Sender: No OFD packet to send [01:19:47]OFD Sender: No OFD packet to send [01:19:52]OFD Sender: No OFD packet to send [01:19:57]OFD Sender: No OFD packet to send [01:20:02]OFD Sender: No OFD packet to send [01:20:07]OFD Sender: No OFD packet to send [01:20:12]OFD Sender: No OFD packet to send [01:20:17]OFD Sender: No OFD packet to send [01:20:22]OFD Sender: No OFD packet to send [01:20:27]OFD Sender: No OFD packet to send [01:20:32]OFD Sender: No OFD packet to send [01:20:37]OFD Sender: No OFD packet to send [01:20:42]OFD Sender: No OFD packet to send [01:20:47]OFD Sender: No OFD packet to send [01:20:52]OFD Sender: No OFD packet to send [01:20:57]OFD Sender: No OFD packet to send [01:21:02]OFD Sender: No OFD packet to send [01:21:07]OFD Sender: No OFD packet to send [01:21:12]OFD Sender: No OFD packet to send [01:21:17]OFD Sender: No OFD packet to send [01:21:22]OFD Sender: No OFD packet to send [01:21:27]OFD Sender: No OFD packet to send [01:21:32]OFD Sender: No OFD packet to send [01:21:37]OFD Sender: No OFD packet to send [01:21:42]OFD Sender: No OFD packet to send [01:21:47]OFD Sender: No OFD packet to send [01:21:53]OFD Sender: No OFD packet to send [01:21:58]OFD Sender: No OFD packet to send [01:22:03]OFD Sender: No OFD packet to send [01:22:08]OFD Sender: No OFD packet to send [01:22:13]OFD Sender: No OFD packet to send [01:22:18]OFD Sender: No OFD packet to send [01:22:23]OFD Sender: No OFD packet to send [01:22:28]OFD Sender: No OFD packet to send [01:22:33]OFD Sender: No OFD packet to send [01:22:38]OFD Sender: No OFD packet to send [01:22:43]OFD Sender: No OFD packet to send [01:22:48]OFD Sender: No OFD packet to send [01:22:53]OFD Sender: No OFD packet to send [01:22:58]OFD Sender: No OFD packet to send [01:23:03]OFD Sender: No OFD packet to send [01:23:08]OFD Sender: No OFD packet to send [01:23:13]OFD Sender: No OFD packet to send [01:23:18]OFD Sender: No OFD packet to send [01:23:23]OFD Sender: No OFD packet to send [01:23:28]OFD Sender: No OFD packet to send [01:23:33]OFD Sender: No OFD packet to send [01:23:38]OFD Sender: No OFD packet to send [01:23:43]OFD Sender: No OFD packet to send [01:23:48]OFD Sender: No OFD packet to send [01:23:53]OFD Sender: No OFD packet to send [01:23:58]OFD Sender: No OFD packet to send [01:24:03]OFD Sender: No OFD packet to send [01:24:08]OFD Sender: No OFD packet to send [01:24:13]OFD Sender: No OFD packet to send [01:24:18]OFD Sender: No OFD packet to send [01:24:23]OFD Sender: No OFD packet to send [01:24:28]OFD Sender: No OFD packet to send [01:24:33]OFD Sender: No OFD packet to send [01:24:38]OFD Sender: No OFD packet to send [01:24:43]OFD Sender: No OFD packet to send [01:24:48]OFD Sender: No OFD packet to send [01:24:53]OFD Sender: No OFD packet to send [01:24:58]OFD Sender: No OFD packet to send [01:25:03]OFD Sender: No OFD packet to send [01:25:08]OFD Sender: No OFD packet to send [01:25:13]OFD Sender: No OFD packet to send [01:25:18]OFD Sender: No OFD packet to send [01:25:23]OFD Sender: No OFD packet to send [01:25:28]OFD Sender: No OFD packet to send [01:25:33]OFD Sender: No OFD packet to send [01:25:38]OFD Sender: No OFD packet to send [01:25:43]OFD Sender: No OFD packet to send [01:25:48]OFD Sender: No OFD packet to send [01:25:53]OFD Sender: No OFD packet to send [01:25:58]OFD Sender: No OFD packet to send [01:26:03]OFD Sender: No OFD packet to send [01:26:08]OFD Sender: No OFD packet to send [01:26:13]OFD Sender: No OFD packet to send [01:26:18]OFD Sender: No OFD packet to send [01:26:23]OFD Sender: No OFD packet to send [01:26:28]OFD Sender: No OFD packet to send [01:26:33]OFD Sender: No OFD packet to send [01:26:38]OFD Sender: No OFD packet to send [01:26:43]OFD Sender: No OFD packet to send [01:26:48]OFD Sender: No OFD packet to send [01:26:53]OFD Sender: No OFD packet to send [01:26:58]OFD Sender: No OFD packet to send [01:27:03]OFD Sender: No OFD packet to send [01:27:08]OFD Sender: No OFD packet to send [01:27:13]OFD Sender: No OFD packet to send [01:27:18]OFD Sender: No OFD packet to send [01:27:23]OFD Sender: No OFD packet to send [01:27:28]OFD Sender: No OFD packet to send [01:27:33]OFD Sender: No OFD packet to send [01:27:38]OFD Sender: No OFD packet to send [01:27:43]OFD Sender: No OFD packet to send [01:27:48]OFD Sender: No OFD packet to send [01:27:53]OFD Sender: No OFD packet to send [01:27:58]OFD Sender: No OFD packet to send [01:28:03]OFD Sender: No OFD packet to send [01:28:08]OFD Sender: No OFD packet to send [01:28:13]OFD Sender: No OFD packet to send [01:28:18]OFD Sender: No OFD packet to send [01:28:23]OFD Sender: No OFD packet to send [01:28:28]OFD Sender: No OFD packet to send [01:28:33]OFD Sender: No OFD packet to send [01:28:38]OFD Sender: No OFD packet to send [01:28:43]OFD Sender: No OFD packet to send [01:28:48]OFD Sender: No OFD packet to send [01:28:53]OFD Sender: No OFD packet to send [01:28:58]OFD Sender: No OFD packet to send [01:29:03]OFD Sender: No OFD packet to send [01:29:08]OFD Sender: No OFD packet to send [01:29:13]OFD Sender: No OFD packet to send [01:29:18]OFD Sender: No OFD packet to send [01:29:23]OFD Sender: No OFD packet to send [01:29:28]OFD Sender: No OFD packet to send [01:29:33]OFD Sender: No OFD packet to send [01:29:38]OFD Sender: No OFD packet to send [01:29:43]OFD Sender: No OFD packet to send [01:29:48]OFD Sender: No OFD packet to send [01:29:53]OFD Sender: No OFD packet to send [01:29:58]OFD Sender: No OFD packet to send [01:30:03]OFD Sender: No OFD packet to send [01:30:08]OFD Sender: No OFD packet to send [01:30:13]OFD Sender: No OFD packet to send [01:30:18]OFD Sender: No OFD packet to send [01:30:23]OFD Sender: No OFD packet to send [01:30:28]OFD Sender: No OFD packet to send [01:30:33]OFD Sender: No OFD packet to send [01:30:38]OFD Sender: No OFD packet to send [01:30:43]OFD Sender: No OFD packet to send [01:30:48]OFD Sender: No OFD packet to send [01:30:53]OFD Sender: No OFD packet to send [01:30:58]OFD Sender: No OFD packet to send [01:31:03]OFD Sender: No OFD packet to send [01:31:08]OFD Sender: No OFD packet to send [01:31:13]OFD Sender: No OFD packet to send [01:31:18]OFD Sender: No OFD packet to send [01:31:23]OFD Sender: No OFD packet to send [01:31:28]OFD Sender: No OFD packet to send [01:31:33]OFD Sender: No OFD packet to send [01:31:38]OFD Sender: No OFD packet to send [01:31:43]OFD Sender: No OFD packet to send [01:31:48]OFD Sender: No OFD packet to send [01:31:53]OFD Sender: No OFD packet to send [01:31:58]OFD Sender: No OFD packet to send [01:32:03]OFD Sender: No OFD packet to send [01:32:08]OFD Sender: No OFD packet to send [01:32:13]OFD Sender: No OFD packet to send [01:32:18]OFD Sender: No OFD packet to send [01:32:23]OFD Sender: No OFD packet to send [01:32:28]OFD Sender: No OFD packet to send [01:32:33]OFD Sender: No OFD packet to send [01:32:38]OFD Sender: No OFD packet to send [01:32:43]OFD Sender: No OFD packet to send [01:32:48]OFD Sender: No OFD packet to send [01:32:53]OFD Sender: No OFD packet to send [01:32:58]OFD Sender: No OFD packet to send [01:33:03]OFD Sender: No OFD packet to send [01:33:08]OFD Sender: No OFD packet to send [01:33:13]OFD Sender: No OFD packet to send [01:33:18]OFD Sender: No OFD packet to send [01:33:23]OFD Sender: No OFD packet to send [01:33:28]OFD Sender: No OFD packet to send [01:33:33]OFD Sender: No OFD packet to send [01:33:38]OFD Sender: No OFD packet to send [01:33:43]OFD Sender: No OFD packet to send [01:33:48]OFD Sender: No OFD packet to send [01:33:53]OFD Sender: No OFD packet to send [01:33:58]OFD Sender: No OFD packet to send [01:34:03]OFD Sender: No OFD packet to send [01:34:08]OFD Sender: No OFD packet to send [01:34:13]OFD Sender: No OFD packet to send [01:34:18]OFD Sender: No OFD packet to send [01:34:23]OFD Sender: No OFD packet to send [01:34:28]OFD Sender: No OFD packet to send [01:34:33]OFD Sender: No OFD packet to send [01:34:38]OFD Sender: No OFD packet to send [01:34:43]OFD Sender: No OFD packet to send [01:34:48]OFD Sender: No OFD packet to send [01:34:53]OFD Sender: No OFD packet to send [01:34:58]OFD Sender: No OFD packet to send [01:35:03]OFD Sender: No OFD packet to send [01:35:08]OFD Sender: No OFD packet to send [01:35:13]OFD Sender: No OFD packet to send [01:35:18]OFD Sender: No OFD packet to send [01:35:23]OFD Sender: No OFD packet to send [01:35:28]OFD Sender: No OFD packet to send [01:35:33]OFD Sender: No OFD packet to send [01:35:38]OFD Sender: No OFD packet to send [01:35:43]OFD Sender: No OFD packet to send [01:35:48]OFD Sender: No OFD packet to send [01:35:53]OFD Sender: No OFD packet to send [01:35:58]OFD Sender: No OFD packet to send [01:36:03]OFD Sender: No OFD packet to send [01:36:08]OFD Sender: No OFD packet to send [01:36:13]OFD Sender: No OFD packet to send [01:36:18]OFD Sender: No OFD packet to send [01:36:23]OFD Sender: No OFD packet to send [01:36:28]OFD Sender: No OFD packet to send [01:36:33]OFD Sender: No OFD packet to send [01:36:38]OFD Sender: No OFD packet to send [01:36:43]OFD Sender: No OFD packet to send [01:36:48]OFD Sender: No OFD packet to send [01:36:53]OFD Sender: No OFD packet to send [01:36:58]OFD Sender: No OFD packet to send [01:37:03]OFD Sender: No OFD packet to send [01:37:08]OFD Sender: No OFD packet to send [01:37:13]OFD Sender: No OFD packet to send [01:37:18]OFD Sender: No OFD packet to send [01:37:23]OFD Sender: No OFD packet to send [01:37:28]OFD Sender: No OFD packet to send [01:37:33]OFD Sender: No OFD packet to send [01:37:38]OFD Sender: No OFD packet to send [01:37:43]OFD Sender: No OFD packet to send [01:37:48]OFD Sender: No OFD packet to send [01:37:53]OFD Sender: No OFD packet to send [01:37:58]OFD Sender: No OFD packet to send [01:38:03]OFD Sender: No OFD packet to send [01:38:08]OFD Sender: No OFD packet to send [01:38:13]OFD Sender: No OFD packet to send [01:38:18]OFD Sender: No OFD packet to send [01:38:23]OFD Sender: No OFD packet to send [01:38:28]OFD Sender: No OFD packet to send [01:38:33]OFD Sender: No OFD packet to send [01:38:38]OFD Sender: No OFD packet to send [01:38:43]OFD Sender: No OFD packet to send [01:38:48]OFD Sender: No OFD packet to send [01:38:53]OFD Sender: No OFD packet to send [01:38:58]OFD Sender: No OFD packet to send [01:39:03]OFD Sender: No OFD packet to send [01:39:08]OFD Sender: No OFD packet to send [01:39:13]OFD Sender: No OFD packet to send [01:39:18]OFD Sender: No OFD packet to send [01:39:23]OFD Sender: No OFD packet to send [01:39:28]OFD Sender: No OFD packet to send [01:39:33]OFD Sender: No OFD packet to send [01:39:38]OFD Sender: No OFD packet to send [01:39:43]OFD Sender: No OFD packet to send [01:39:48]OFD Sender: No OFD packet to send [01:39:53]OFD Sender: No OFD packet to send [01:39:58]OFD Sender: No OFD packet to send [01:40:03]OFD Sender: No OFD packet to send [01:40:08]OFD Sender: No OFD packet to send [01:40:13]OFD Sender: No OFD packet to send [01:40:18]OFD Sender: No OFD packet to send [01:40:23]OFD Sender: No OFD packet to send [01:40:28]OFD Sender: No OFD packet to send [01:40:33]OFD Sender: No OFD packet to send [01:40:38]OFD Sender: No OFD packet to send [01:40:43]OFD Sender: No OFD packet to send [01:40:48]OFD Sender: No OFD packet to send [01:40:53]OFD Sender: No OFD packet to send [01:40:58]OFD Sender: No OFD packet to send [01:41:03]OFD Sender: No OFD packet to send [01:41:08]OFD Sender: No OFD packet to send [01:41:13]OFD Sender: No OFD packet to send [01:41:18]OFD Sender: No OFD packet to send [01:41:23]OFD Sender: No OFD packet to send [01:41:28]OFD Sender: No OFD packet to send [01:41:33]OFD Sender: No OFD packet to send [01:41:38]OFD Sender: No OFD packet to send [01:41:43]OFD Sender: No OFD packet to send [01:41:48]OFD Sender: No OFD packet to send [01:41:53]OFD Sender: No OFD packet to send [01:41:58]OFD Sender: No OFD packet to send [01:42:03]OFD Sender: No OFD packet to send [01:42:08]OFD Sender: No OFD packet to send [01:42:13]OFD Sender: No OFD packet to send [01:42:18]OFD Sender: No OFD packet to send [01:42:23]OFD Sender: No OFD packet to send [01:42:28]OFD Sender: No OFD packet to send [01:42:33]OFD Sender: No OFD packet to send [01:42:38]OFD Sender: No OFD packet to send [01:42:43]OFD Sender: No OFD packet to send [01:42:48]OFD Sender: No OFD packet to send [01:42:53]OFD Sender: No OFD packet to send [01:42:58]OFD Sender: No OFD packet to send [01:43:04]OFD Sender: No OFD packet to send [01:43:09]OFD Sender: No OFD packet to send [01:43:14]OFD Sender: No OFD packet to send [01:43:19]OFD Sender: No OFD packet to send [01:43:24]OFD Sender: No OFD packet to send [01:43:29]OFD Sender: No OFD packet to send [01:43:34]OFD Sender: No OFD packet to send [01:43:39]OFD Sender: No OFD packet to send [01:43:44]OFD Sender: No OFD packet to send [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:49]OFD Sender: No OFD packet to send [01:45:54]OFD Sender: No OFD packet to send [01:45:59]OFD Sender: No OFD packet to send [01:46:04]OFD Sender: No OFD packet to send [01:46:09]OFD Sender: No OFD packet to send [01:46:14]OFD Sender: No OFD packet to send [01:46:19]OFD Sender: No OFD packet to send [01:46:24]OFD Sender: No OFD packet to send [01:46:29]OFD Sender: No OFD packet to send [01:46:34]OFD Sender: No OFD packet to send [01:46:39]OFD Sender: No OFD packet to send [01:46:44]OFD Sender: No OFD packet to send [01:46:49]OFD Sender: No OFD packet to send [01:46:54]OFD Sender: No OFD packet to send [01:46:59]OFD Sender: No OFD packet to send [01:47:04]OFD Sender: No OFD packet to send [01:47:09]OFD Sender: No OFD packet to send [01:47:14]OFD Sender: No OFD packet to send [01:47:19]OFD Sender: No OFD packet to send [01:47:24]OFD Sender: No OFD packet to send [01:47:29]OFD Sender: No OFD packet to send [01:47:34]OFD Sender: No OFD packet to send [01:47:39]OFD Sender: No OFD packet to send [01:47:44]OFD Sender: No OFD packet to send [01:47:49]OFD Sender: No OFD packet to send [01:47:54]OFD Sender: No OFD packet to send [01:47:59]OFD Sender: No OFD packet to send [01:48:04]OFD Sender: No OFD packet to send [01:48:09]OFD Sender: No OFD packet to send [01:48:14]OFD Sender: No OFD packet to send [01:48:19]OFD Sender: No OFD packet to send [01:48:24]OFD Sender: No OFD packet to send [01:48:29]OFD Sender: No OFD packet to send [01:48:34]OFD Sender: No OFD packet to send [01:48:39]OFD Sender: No OFD packet to send [01:48:44]OFD Sender: No OFD packet to send [01:48:49]OFD Sender: No OFD packet to send [01:48:54]OFD Sender: No OFD packet to send [01:48:59]OFD Sender: No OFD packet to send [01:49:04]OFD Sender: No OFD packet to send [01:49:09]OFD Sender: No OFD packet to send [01:49:14]OFD Sender: No OFD packet to send [01:49:19]OFD Sender: No OFD packet to send [01:49:24]OFD Sender: No OFD packet to send [01:49:29]OFD Sender: No OFD packet to send [01:49:34]OFD Sender: No OFD packet to send [01:49:39]OFD Sender: No OFD packet to send [01:49:44]OFD Sender: No OFD packet to send [01:49:49]OFD Sender: No OFD packet to send [01:49:54]OFD Sender: No OFD packet to send [01:49:59]OFD Sender: No OFD packet to send [01:50:04]OFD Sender: No OFD packet to send [01:50:09]OFD Sender: No OFD packet to send [01:50:14]OFD Sender: No OFD packet to send [01:50:19]OFD Sender: No OFD packet to send [01:50:24]OFD Sender: No OFD packet to send [01:50:29]OFD Sender: No OFD packet to send [01:50:34]OFD Sender: No OFD packet to send [01:50:39]OFD Sender: No OFD packet to send [01:50:44]OFD Sender: No OFD packet to send [01:50:49]OFD Sender: No OFD packet to send [01:50:54]OFD Sender: No OFD packet to send [01:50:59]OFD Sender: No OFD packet to send [01:51:04]OFD Sender: No OFD packet to send [01:51:09]OFD Sender: No OFD packet to send [01:51:14]OFD Sender: No OFD packet to send [01:51:19]OFD Sender: No OFD packet to send [01:51:24]OFD Sender: No OFD packet to send [01:51:29]OFD Sender: No OFD packet to send [01:51:34]OFD Sender: No OFD packet to send [01:51:39]OFD Sender: No OFD packet to send [01:51:44]OFD Sender: No OFD packet to send [01:51:49]OFD Sender: No OFD packet to send [01:51:54]OFD Sender: No OFD packet to send [01:51:59]OFD Sender: No OFD packet to send [01:52:04]OFD Sender: No OFD packet to send [01:52:09]OFD Sender: No OFD packet to send [01:52:14]OFD Sender: No OFD packet to send [01:52:19]OFD Sender: No OFD packet to send [01:52:24]OFD Sender: No OFD packet to send [01:52:29]OFD Sender: No OFD packet to send [01:52:34]OFD Sender: No OFD packet to send [01:52:39]OFD Sender: No OFD packet to send [01:52:44]OFD Sender: No OFD packet to send [01:52:49]OFD Sender: No OFD packet to send [01:52:54]OFD Sender: No OFD packet to send [01:52:59]OFD Sender: No OFD packet to send [01:53:04]OFD Sender: No OFD packet to send [01:53:09]OFD Sender: No OFD packet to send [01:53:14]OFD Sender: No OFD packet to send [01:53:19]OFD Sender: No OFD packet to send [01:53:24]OFD Sender: No OFD packet to send [01:53:29]OFD Sender: No OFD packet to send [01:53:34]OFD Sender: No OFD packet to send [01:53:39]OFD Sender: No OFD packet to send [01:53:44]OFD Sender: No OFD packet to send [01:53:49]OFD Sender: No OFD packet to send [01:53:54]OFD Sender: No OFD packet to send [01:53:59]OFD Sender: No OFD packet to send [01:54:04]OFD Sender: No OFD packet to send [01:54:09]OFD Sender: No OFD packet to send [01:54:14]OFD Sender: No OFD packet to send [01:54:19]OFD Sender: No OFD packet to send [01:54:24]OFD Sender: No OFD packet to send [01:54:29]OFD Sender: No OFD packet to send [01:54:34]OFD Sender: No OFD packet to send [01:54:39]OFD Sender: No OFD packet to send [01:54:44]OFD Sender: No OFD packet to send [01:54:49]OFD Sender: No OFD packet to send [01:54:54]OFD Sender: No OFD packet to send [01:54:59]OFD Sender: No OFD packet to send [01:55:04]OFD Sender: No OFD packet to send [01:55:09]OFD Sender: No OFD packet to send [01:55:14]OFD Sender: No OFD packet to send [01:55:19]OFD Sender: No OFD packet to send [01:55:23]accept exits with 7 [01:55:23]New connection [01:55:23]New thread 3067596132 created [01:55:23]Thread 3067452772 joined [01:55:23]Waiting for new connection... [01:55:23] Sock 7.Parse request [01:55:23]Sock 7.Check first char [01:55:23]Sock 7.First char is OK [01:55:23]request: POST /json_proto HTTP/1.0 [01:55:23]Method: POST [01:55:23]URL: /json_proto [01:55:23]Method is POST - this is cgi request [01:55:23]url: /json_proto [01:55:23]query_string will be loaded in cgi processing [01:55:23]execute_cgi json_proto POST (null) [01:55:23]execute_cgi path=json_proto method=POST [01:55:23]POST find Content-Length [01:55:23]Host: 172.17.50.4:8080 [01:55:23]Content-Length: 660 [01:55:23]Content-Type: application/json [01:55:23] [01:55:23]POST finish read [01:55:23]Found Content-Length = 660 [01:55:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134973", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:55:23]execute_script... [01:55:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134973", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:55:23]POST & json_proto [01:55:23]process_json_proto [01:55:23]json parsed OK: [01:55:23]protocol is kg_v1.0 [01:55:23]action value=close_receipt [01:55:23]process_action close_receipt [01:55:23]cmd_close_receipt [01:55:23]MH_GetDate [01:55:23]Write to MH i2c: F0 00 00 4C 19 54 [01:55:23]Write i2c OK [01:55:23]MH_I2C_Read... [01:55:23]Read from MH i2c: F0 [01:55:23]MH_I2C_Read... [01:55:23]Read from MH i2c: F0 09 00 [01:55:23]MH_I2C_Read... [01:55:23]Read from MH i2c: F0 09 00 4C 19 00 92 57 18 67 3B 12 16 67 8F [01:55:23]GetLastDocTimeStamp 1729646051 [01:55:23]current date 1729648530 [01:55:23]FM_GetShiftState [01:55:23]SAM_PROTO_GetShiftState [01:55:23]wFMCommunicate request_size=4 [01:55:23]MH_SAM_APDU [01:55:23]CAPDU: 80 13 01 00 [01:55:23]Write to MH i2c: E2 08 00 4D 19 80 13 01 00 00 00 00 00 E3 [01:55:23]Write i2c OK [01:55:23]MH_I2C_Read... [01:55:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:55:23]Read from MH i2c: E2 [01:55:23]MH_I2C_Read... [01:55:23]Read from MH i2c: E2 0E 00 [01:55:23]MH_I2C_Read... [01:55:23]Read from MH i2c: E2 0E 00 4D 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 79 [01:55:23]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:55:23]wFMCommunicate OK [01:55:23]SAM_PROTO_GetShiftState done [01:55:23]FM_GetShiftState done [01:55:23]opened in 1729641934 [01:55:23]opened+sec_in_day 1729728334 [01:55:23]quantity*price = 6500 [01:55:23]sum+1 = 6501 [01:55:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 6 23.10.2024 01:55 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24458 ФПД: 53326670548144 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T015530&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24458&fm=53326670548144&tin=02508201610067®Number=0000000000098120&sum=6500 0 [01:55:25]StoreToDocumentArchive [01:55:25]shift 463 fd 24458 [01:55:25]save to /storage/0463/doc_00024458 [01:55:25]save last doc name /storage/0463/doc_00024458 to /storage/kkm_last_doc_name [01:55:25]save OK [01:55:25]Clear old archive folders... [01:55:25]ProcessDocumentItem done err = 0, tmpTLVsize=295 [01:55:25]tlvbuf is 00D7E460 [01:55:25]SAM_PROTO_ClearQueue [01:55:25]wFMCommunicate request_size=4 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 09 00 00 [01:55:25]Write to MH i2c: E2 08 00 5A 19 80 09 00 00 00 00 00 00 E5 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 5A 19 00 90 00 E7 [01:55:25]RAPDU: 90 00 [01:55:25]wFMCommunicate OK [01:55:25]SAM_PROTO_ClearQueue done [01:55:25]KKMCreateOFDPacket [01:55:25]OFDProtocolAddRootSTLVToBuf [01:55:25]FM_MakeSignedData [01:55:25]FM_MakeSignedData [01:55:25]SAM_PROTO_SignData [01:55:25]wFMCommunicate request_size=4 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 0D 01 02 [01:55:25]Write to MH i2c: E2 08 00 5B 19 80 0D 01 02 00 00 00 00 ED [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 5B 19 00 90 00 E8 [01:55:25]RAPDU: 90 00 [01:55:25]wFMCommunicate OK [01:55:25]wFMCommunicate request_size=255 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 0D 02 02 FA 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 92 57 18 67 0E 04 04 00 CF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [01:55:25]Write to MH i2c: E2 02 01 5C 19 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 92 57 18 67 0E 04 04 00 CF 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 B8 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 5C 19 00 90 00 E9 [01:55:25]RAPDU: 90 00 [01:55:25]wFMCommunicate OK [01:55:25]wFMCommunicate request_size=54 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 0D 02 02 31 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 8A 5F 00 00 35 04 06 00 30 80 15 41 4C B0 [01:55:25]Write to MH i2c: E2 39 00 5D 19 80 0D 02 02 31 00 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 8A 5F 00 00 35 04 06 00 30 80 15 41 4C B0 00 00 F7 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 03 00 5D 19 00 90 00 EA [01:55:25]RAPDU: 90 00 [01:55:25]wFMCommunicate OK [01:55:25]wFMCommunicate request_size=4 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 0D 03 02 [01:55:25]Write to MH i2c: E2 08 00 5E 19 80 0D 03 02 00 00 00 00 F2 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 0B 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 0B 00 5E 19 00 C1 AB 0A DE C8 33 30 37 90 00 A9 [01:55:25]RAPDU: C1 AB 0A DE C8 33 30 37 90 00 [01:55:25]wFMCommunicate OK [01:55:25]SAM_PROTO_SignData done [01:55:25]FM_MakeSignedData done [01:55:25]CreateOFDProtocolMessage [01:55:25]wFMCommunicate request_size=4 [01:55:25]MH_SAM_APDU [01:55:25]CAPDU: 80 11 00 00 [01:55:25]Write to MH i2c: E2 08 00 5F 19 80 11 00 00 00 00 00 00 F2 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:55:25]Read from MH i2c: E2 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 17 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: E2 17 00 5F 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 3F [01:55:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:55:25]wFMCommunicate OK [01:55:25]CreateOFDProtocolMessage done [01:55:25]OFDSenderStorePacket 24458 [01:55:25]StoreOFDPacket docnum=24458 [01:55:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 3B 01 00 00 3E 53 33 01 73 2A 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 92 57 18 67 0E 04 04 00 CF 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 8A 5F 00 00 35 04 06 00 30 80 15 41 4C B0 C1 AB 0A DE C8 33 30 37 [01:55:25]CheckFolder [01:55:25]dirname=/storage/ofd_packets [01:55:25]CheckFolder done [01:55:25]ProducePacketName [01:55:25]name=ofd_packets/00024458 [01:55:25]NVStorageSaveData ofd_packets/00024458 [01:55:25]File name is /storage/ofd_packets/00024458 [01:55:25]Write 345 bytes [01:55:25]NVStorageSaveData done [01:55:25]OFDSenderStorePacket done [01:55:25]KKMCreateOFDPacket done [01:55:25]NVStorageSaveData kkm_last_timestamp [01:55:25]File name is /storage/kkm_last_timestamp [01:55:25]Write 4 bytes [01:55:25]NVStorageSaveData done [01:55:25]ExternCall_PrintAddStr [01:55:25]wPrintStart [01:55:25]Write to MH i2c: 01 00 00 60 19 79 [01:55:25]Write i2c OK [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: 01 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: 01 07 00 [01:55:25]MH_I2C_Read... [01:55:25]Read from MH i2c: 01 07 00 60 19 00 00 00 00 00 FF 0F 8E [01:55:25]RasterBufferAndPrint [01:55:25]line Счет N : (3)134973 [01:55:25]line ИНН: 02508201610067 [01:55:25]line Контрольно-Кассовый Чек [01:55:25]line ПРОДАЖА [01:55:25]line Товар: 4620016307540 [01:55:25]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [01:55:25]line 1.000 * 65.00 [01:55:25]line = 65.00 [01:55:25]line НДС 12% НСП 1% [01:55:25]line > о реализуемом товаре [01:55:25]line ИТОГО: 65.00 [01:55:25]line НСП 1% : 0.57 [01:55:25]line НДС 12% : 6.90 [01:55:25]line Наличными: 65.00 [01:55:25]line Безнал.: 0.00 [01:55:25]line Место: АЗС № 85 "Партнер Нефть" [01:55:25]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [01:55:25]line СНО: Общий режим [01:55:25]line Чек 6 23.10.2024 01:55 [01:55:25]line Смена: 463 ФФД: 1.0 [01:55:25]line ЗНМ: 0300000166 [01:55:25]line РНМ: 0000000000098120 [01:55:25]line Версия ККМ: 001 [01:55:25]line ФМ: 0000000000965420 [01:55:25]line ФД: 24458 [01:55:25]line ФПД: 53326670548144 [01:55:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T015530&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24458&fm=53326670548144&tin=02508201610067®Number=0000000000098120&sum=6500 [01:55:25]OFD Sender: Processing packet 24458 [packets to send 5, broken 4] [01:55:25]ProducePacketName [01:55:25]name=ofd_packets/00024458 [01:55:25]OFD Sender: To server: pG, [01:55:25]CommunicateWithHost lk.salyk.kg:30040 [01:55:25]ConnectInit lk.salyk.kg [01:55:25]line 0 [01:55:25]written 0, free lines is 4095 [01:55:26]Connected sock=11 [01:55:26]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 3B 01 00 00 3E 53 33 01 73 2A 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 41 62 73 6F 6C 75 74 20 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 92 57 18 67 0E 04 04 00 CF 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 8A 5F 00 00 35 04 06 00 30 80 15 41 4C B0 C1 AB 0A DE C8 33 30 37 [01:55:26]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 8D F6 47 00 73 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 8A 5F 00 00 F4 03 04 00 34 03 18 67 B6 04 01 00 00 66 86 86 AF BE 1F 84 4F [01:55:26]CommunicateWithHost err = 0 [01:55:26]CheckOFDResponse [01:55:26]1017 (14) - 77093643461234 [01:55:26]1041 (16) - 0000000000965420 [01:55:26]1040 (4) - 24458 [01:55:26]1012 (4) - 22.10.2024 19:55 [01:55:26]1206 (1) - 0 [01:55:26]OFD Sender: Remove packet 24458 [01:55:26]ProducePacketName [01:55:26]name=ofd_packets/00024458 [01:55:26]NVStorageDeleteData [01:55:26]Write to MH i2c: 01 00 00 89 19 A2 [01:55:26]Write i2c OK [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: 01 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: 01 07 00 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: 01 07 00 89 19 00 00 00 00 00 18 0D CE [01:55:26]RasterBufferAndPrint [01:55:26]line [01:55:26]line [01:55:26]line [01:55:26]line [01:55:26]line [01:55:26]written 0, free lines is 3360 [01:55:26]process_action close_receipt done [01:55:26]requested_data is exist [01:55:26]produce_requested_data [01:55:26]requested_item fm.sn is exist - process it [01:55:26]wFMCommunicate request_size=4 [01:55:26]MH_SAM_APDU [01:55:26]CAPDU: 80 11 00 00 [01:55:26]Write to MH i2c: E2 08 00 90 19 80 11 00 00 00 00 00 00 23 [01:55:26]Write i2c OK [01:55:26]MH_I2C_Read... [01:55:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:55:26]Read from MH i2c: E2 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 17 00 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 17 00 90 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 70 [01:55:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [01:55:26]wFMCommunicate OK [01:55:26]requested_item fd.num is exist - process it [01:55:26]SAM_PROTO_GetFieldsCounters [01:55:26]wFMCommunicate request_size=4 [01:55:26]MH_SAM_APDU [01:55:26]CAPDU: 80 13 00 00 [01:55:26]Write to MH i2c: E2 08 00 91 19 80 13 00 00 00 00 00 00 26 [01:55:26]Write i2c OK [01:55:26]MH_I2C_Read... [01:55:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:55:26]Read from MH i2c: E2 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 62 00 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 62 00 91 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 8A 5F 00 00 0E 04 04 00 CF 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 07 [01:55:26]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 8A 5F 00 00 0E 04 04 00 CF 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 [01:55:26]wFMCommunicate OK [01:55:26]SAM_PROTO_GetFieldsCounters done [01:55:26]requested_item shift.num is exist - process it [01:55:26]requested_item shift.opened is exist - process it [01:55:26]req_shift_opened [01:55:26]FM_GetShiftState [01:55:26]SAM_PROTO_GetShiftState [01:55:26]wFMCommunicate request_size=4 [01:55:26]MH_SAM_APDU [01:55:26]CAPDU: 80 13 01 00 [01:55:26]Write to MH i2c: E2 08 00 92 19 80 13 01 00 00 00 00 00 28 [01:55:26]Write i2c OK [01:55:26]MH_I2C_Read... [01:55:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:55:26]Read from MH i2c: E2 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 0E 00 [01:55:26]MH_I2C_Read... [01:55:26]Read from MH i2c: E2 0E 00 92 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 BE [01:55:26]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [01:55:26]wFMCommunicate OK [01:55:26]SAM_PROTO_GetShiftState done [01:55:26]FM_GetShiftState done [01:55:26]req_shift_opened done [01:55:26]requested_item shift.open_date is exist - process it [01:55:26]req_shift_open_date [01:55:26]req_shift_open_date done [01:55:26]produce_requested_data done [01:55:26]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24458,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [01:55:26]process_action_free close_receipt [01:55:26]json_value_free [01:55:26]json_value_free done [01:55:26]process_json_proto returns [01:55:26]Send response to host [01:55:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24458,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [01:55:26]free response buf [01:55:26]execute_script done [01:55:26]execute_script returns [01:55:26]free content buf [01:55:26]Sock 7.Close socket [01:55:26]Sock 7.Thread stoped [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:02]OFD Sender: No OFD packet to send [02:01:07]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:04:59]accept exits with 9 [02:04:59]New connection [02:04:59]New thread 3067452772 created [02:04:59]Thread 3067596132 joined [02:04:59]Waiting for new connection... [02:04:59] Sock 9.Parse request [02:04:59]Sock 9.Check first char [02:04:59]Sock 9.First char is OK [02:04:59]request: POST /json_proto HTTP/1.0 [02:04:59]Method: POST [02:04:59]URL: /json_proto [02:04:59]Method is POST - this is cgi request [02:04:59]url: /json_proto [02:04:59]query_string will be loaded in cgi processing [02:04:59]execute_cgi json_proto POST (null) [02:04:59]execute_cgi path=json_proto method=POST [02:04:59]POST find Content-Length [02:04:59]Host: 172.17.50.4:8080 [02:04:59]Content-Length: 646 [02:04:59]Content-Type: application/json [02:04:59] [02:04:59]POST finish read [02:04:59]Found Content-Length = 646 [02:04:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134974", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:04:59]execute_script... [02:04: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)134974", "tax_sys" : 0, "items" : [ { "code": "4870238424819", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:04:59]POST & json_proto [02:04:59]process_json_proto [02:04:59]json parsed OK: [02:04:59]protocol is kg_v1.0 [02:04:59]action value=close_receipt [02:04:59]process_action close_receipt [02:04:59]cmd_close_receipt [02:04:59]MH_GetDate [02:04:59]Write to MH i2c: F0 00 00 93 19 9B [02:04:59]Write i2c OK [02:04:59]MH_I2C_Read... [02:04:59]Read from MH i2c: F0 [02:04:59]MH_I2C_Read... [02:04:59]Read from MH i2c: F0 09 00 [02:04:59]MH_I2C_Read... [02:04:59]Read from MH i2c: F0 09 00 93 19 00 D2 59 18 67 3B 12 16 67 18 [02:04:59]GetLastDocTimeStamp 1729648530 [02:04:59]current date 1729649106 [02:04:59]FM_GetShiftState [02:04:59]SAM_PROTO_GetShiftState [02:04:59]wFMCommunicate request_size=4 [02:04:59]MH_SAM_APDU [02:04:59]CAPDU: 80 13 01 00 [02:04:59]Write to MH i2c: E2 08 00 94 19 80 13 01 00 00 00 00 00 2A [02:04:59]Write i2c OK [02:04:59]MH_I2C_Read... [02:04:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:04:59]Read from MH i2c: E2 [02:04:59]MH_I2C_Read... [02:04:59]Read from MH i2c: E2 0E 00 [02:04:59]MH_I2C_Read... [02:04:59]Read from MH i2c: E2 0E 00 94 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 C0 [02:04:59]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:04:59]wFMCommunicate OK [02:04:59]SAM_PROTO_GetShiftState done [02:04:59]FM_GetShiftState done [02:04:59]opened in 1729641934 [02:04:59]opened+sec_in_day 1729728334 [02:04:59]quantity*price = 40500 [02:04:59]sum+1 = 40501 [02:04:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 7 23.10.2024 02:05 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24459 ФПД: 234188673654991 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T020506&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24459&fm=234188673654991&tin=02508201610067®Number=0000000000098120&sum=40500 0 [02:05:00]StoreToDocumentArchive [02:05:00]shift 463 fd 24459 [02:05:00]save to /storage/0463/doc_00024459 [02:05:00]save last doc name /storage/0463/doc_00024459 to /storage/kkm_last_doc_name [02:05:00]save OK [02:05:00]Clear old archive folders... [02:05:00]ProcessDocumentItem done err = 0, tmpTLVsize=282 [02:05:00]tlvbuf is 00DD07D0 [02:05:00]SAM_PROTO_ClearQueue [02:05:00]wFMCommunicate request_size=4 [02:05:00]MH_SAM_APDU [02:05:00]CAPDU: 80 09 00 00 [02:05:00]Write to MH i2c: E2 08 00 A1 19 80 09 00 00 00 00 00 00 2C [02:05:00]Write i2c OK [02:05:00]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 A1 19 00 90 00 2E [02:05:01]RAPDU: 90 00 [02:05:01]wFMCommunicate OK [02:05:01]SAM_PROTO_ClearQueue done [02:05:01]KKMCreateOFDPacket [02:05:01]OFDProtocolAddRootSTLVToBuf [02:05:01]FM_MakeSignedData [02:05:01]FM_MakeSignedData [02:05:01]SAM_PROTO_SignData [02:05:01]wFMCommunicate request_size=4 [02:05:01]MH_SAM_APDU [02:05:01]CAPDU: 80 0D 01 02 [02:05:01]Write to MH i2c: E2 08 00 A2 19 80 0D 01 02 00 00 00 00 34 [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 A2 19 00 90 00 2F [02:05:01]RAPDU: 90 00 [02:05:01]wFMCommunicate OK [02:05:01]wFMCommunicate request_size=255 [02:05:01]MH_SAM_APDU [02:05:01]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 D2 59 18 67 0E 04 04 00 CF 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 [02:05:01]Write to MH i2c: E2 02 01 A3 19 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 D2 59 18 67 0E 04 04 00 CF 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 00 00 31 [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 A3 19 00 90 00 30 [02:05:01]RAPDU: 90 00 [02:05:01]wFMCommunicate OK [02:05:01]wFMCommunicate request_size=41 [02:05:01]MH_SAM_APDU [02:05:01]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8B 5F 00 00 35 04 06 00 D4 FE 4C B4 20 CF [02:05:01]Write to MH i2c: E2 2C 00 A4 19 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8B 5F 00 00 35 04 06 00 D4 FE 4C B4 20 CF 00 00 AB [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 03 00 A4 19 00 90 00 31 [02:05:01]RAPDU: 90 00 [02:05:01]wFMCommunicate OK [02:05:01]wFMCommunicate request_size=4 [02:05:01]MH_SAM_APDU [02:05:01]CAPDU: 80 0D 03 02 [02:05:01]Write to MH i2c: E2 08 00 A5 19 80 0D 03 02 00 00 00 00 39 [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 0B 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 0B 00 A5 19 00 EC A7 A4 62 63 99 4E 5A 90 00 77 [02:05:01]RAPDU: EC A7 A4 62 63 99 4E 5A 90 00 [02:05:01]wFMCommunicate OK [02:05:01]SAM_PROTO_SignData done [02:05:01]FM_MakeSignedData done [02:05:01]CreateOFDProtocolMessage [02:05:01]wFMCommunicate request_size=4 [02:05:01]MH_SAM_APDU [02:05:01]CAPDU: 80 11 00 00 [02:05:01]Write to MH i2c: E2 08 00 A6 19 80 11 00 00 00 00 00 00 39 [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:01]Read from MH i2c: E2 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 17 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: E2 17 00 A6 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 86 [02:05:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:05:01]wFMCommunicate OK [02:05:01]CreateOFDProtocolMessage done [02:05:01]OFDSenderStorePacket 24459 [02:05:01]StoreOFDPacket docnum=24459 [02:05: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 2E 01 00 00 9B 98 26 01 12 3E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 D2 59 18 67 0E 04 04 00 CF 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 8B 5F 00 00 35 04 06 00 D4 FE 4C B4 20 CF EC A7 A4 62 63 99 4E 5A [02:05:01]CheckFolder [02:05:01]dirname=/storage/ofd_packets [02:05:01]CheckFolder done [02:05:01]ProducePacketName [02:05:01]name=ofd_packets/00024459 [02:05:01]NVStorageSaveData ofd_packets/00024459 [02:05:01]File name is /storage/ofd_packets/00024459 [02:05:01]Write 332 bytes [02:05:01]NVStorageSaveData done [02:05:01]OFDSenderStorePacket done [02:05:01]KKMCreateOFDPacket done [02:05:01]NVStorageSaveData kkm_last_timestamp [02:05:01]File name is /storage/kkm_last_timestamp [02:05:01]Write 4 bytes [02:05:01]NVStorageSaveData done [02:05:01]ExternCall_PrintAddStr [02:05:01]wPrintStart [02:05:01]Write to MH i2c: 01 00 00 A7 19 C0 [02:05:01]Write i2c OK [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: 01 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: 01 07 00 [02:05:01]MH_I2C_Read... [02:05:01]Read from MH i2c: 01 07 00 A7 19 00 00 00 00 00 FF 0F D5 [02:05:01]RasterBufferAndPrint [02:05:01]line Счет N : (3)134974 [02:05:01]line ИНН: 02508201610067 [02:05:01]line Контрольно-Кассовый Чек [02:05:01]line ПРОДАЖА [02:05:01]line Товар: 4870238424819 [02:05:01]line Лукойл Супер 10W40 SG/CD 1л. [02:05:01]line 1.000 * 405.00 [02:05:01]line = 405.00 [02:05:01]line НДС 12% НСП 1% [02:05:01]line > о реализуемом товаре [02:05:01]line ИТОГО: 405.00 [02:05:01]line НСП 1% : 3.58 [02:05:01]line НДС 12% : 43.01 [02:05:01]line Наличными: 405.00 [02:05:01]line Безнал.: 0.00 [02:05:01]line Место: АЗС № 85 "Партнер Нефть" [02:05:01]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:05:01]line СНО: Общий режим [02:05:01]line Чек 7 23.10.2024 02:05 [02:05:01]line Смена: 463 ФФД: 1.0 [02:05:01]line ЗНМ: 0300000166 [02:05:01]line РНМ: 0000000000098120 [02:05:01]line Версия ККМ: 001 [02:05:01]line ФМ: 0000000000965420 [02:05:01]line ФД: 24459 [02:05:01]line ФПД: 234188673654991 [02:05:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T020506&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24459&fm=234188673654991&tin=02508201610067®Number=0000000000098120&sum=40500 [02:05:01]line 0 [02:05:01]OFD Sender: Processing packet 24459 [packets to send 5, broken 4] [02:05:01]ProducePacketName [02:05:01]name=ofd_packets/00024459 [02:05:01]OFD Sender: To server: pG, [02:05:01]CommunicateWithHost lk.salyk.kg:30040 [02:05:01]ConnectInit lk.salyk.kg [02:05:01]written 0, free lines is 4095 [02:05:01]Connected sock=10 [02:05: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 2E 01 00 00 9B 98 26 01 12 3E 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 38 37 30 32 33 38 34 32 34 38 31 39 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 D2 59 18 67 0E 04 04 00 CF 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 8B 5F 00 00 35 04 06 00 D4 FE 4C B4 20 CF EC A7 A4 62 63 99 4E 5A [02:05: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 B1 47 00 4D 11 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8B 5F 00 00 F4 03 04 00 74 05 18 67 B6 04 01 00 00 73 56 97 FA A6 97 70 89 [02:05:02]CommunicateWithHost err = 0 [02:05:02]CheckOFDResponse [02:05:02]1017 (14) - 77093643461234 [02:05:02]1041 (16) - 0000000000965420 [02:05:02]1040 (4) - 24459 [02:05:02]1012 (4) - 22.10.2024 20:05 [02:05:02]1206 (1) - 0 [02:05:02]OFD Sender: Remove packet 24459 [02:05:02]ProducePacketName [02:05:02]name=ofd_packets/00024459 [02:05:02]NVStorageDeleteData [02:05:02]Write to MH i2c: 01 00 00 D0 19 E9 [02:05:02]Write i2c OK [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: 01 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: 01 07 00 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: 01 07 00 D0 19 00 00 00 00 00 17 0D 14 [02:05:02]RasterBufferAndPrint [02:05:02]line [02:05:02]line [02:05:02]line [02:05:02]line [02:05:02]line [02:05:02]written 0, free lines is 3358 [02:05:02]process_action close_receipt done [02:05:02]requested_data is exist [02:05:02]produce_requested_data [02:05:02]requested_item fm.sn is exist - process it [02:05:02]wFMCommunicate request_size=4 [02:05:02]MH_SAM_APDU [02:05:02]CAPDU: 80 11 00 00 [02:05:02]Write to MH i2c: E2 08 00 D7 19 80 11 00 00 00 00 00 00 6A [02:05:02]Write i2c OK [02:05:02]MH_I2C_Read... [02:05:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:02]Read from MH i2c: E2 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 17 00 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 17 00 D7 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 B7 [02:05:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:05:02]wFMCommunicate OK [02:05:02]requested_item fd.num is exist - process it [02:05:02]SAM_PROTO_GetFieldsCounters [02:05:02]wFMCommunicate request_size=4 [02:05:02]MH_SAM_APDU [02:05:02]CAPDU: 80 13 00 00 [02:05:02]Write to MH i2c: E2 08 00 D8 19 80 13 00 00 00 00 00 00 6D [02:05:02]Write i2c OK [02:05:02]MH_I2C_Read... [02:05:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:05:02]Read from MH i2c: E2 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 62 00 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 62 00 D8 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 8B 5F 00 00 0E 04 04 00 CF 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 52 [02:05: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 8B 5F 00 00 0E 04 04 00 CF 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 [02:05:02]wFMCommunicate OK [02:05:02]SAM_PROTO_GetFieldsCounters done [02:05:02]requested_item shift.num is exist - process it [02:05:02]requested_item shift.opened is exist - process it [02:05:02]req_shift_opened [02:05:02]FM_GetShiftState [02:05:02]SAM_PROTO_GetShiftState [02:05:02]wFMCommunicate request_size=4 [02:05:02]MH_SAM_APDU [02:05:02]CAPDU: 80 13 01 00 [02:05:02]Write to MH i2c: E2 08 00 D9 19 80 13 01 00 00 00 00 00 6F [02:05:02]Write i2c OK [02:05:02]MH_I2C_Read... [02:05:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:02]Read from MH i2c: E2 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 0E 00 [02:05:02]MH_I2C_Read... [02:05:02]Read from MH i2c: E2 0E 00 D9 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 05 [02:05:02]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:05:02]wFMCommunicate OK [02:05:02]SAM_PROTO_GetShiftState done [02:05:02]FM_GetShiftState done [02:05:02]req_shift_opened done [02:05:02]requested_item shift.open_date is exist - process it [02:05:02]req_shift_open_date [02:05:02]req_shift_open_date done [02:05:02]produce_requested_data done [02:05:02]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24459,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [02:05:02]process_action_free close_receipt [02:05:02]json_value_free [02:05:02]json_value_free done [02:05:02]process_json_proto returns [02:05:02]Send response to host [02:05:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24459,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [02:05:02]free response buf [02:05:02]execute_script done [02:05:02]execute_script returns [02:05:02]free content buf [02:05:02]Sock 9.Close socket [02:05:02]Sock 9.Thread stoped [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:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14:13]OFD Sender: No OFD packet to send [02:14:18]OFD Sender: No OFD packet to send [02:14:23]OFD Sender: No OFD packet to send [02:14:28]OFD Sender: No OFD packet to send [02:14:33]OFD Sender: No OFD packet to send [02:14:38]OFD Sender: No OFD packet to send [02:14:43]OFD Sender: No OFD packet to send [02:14:48]OFD Sender: No OFD packet to send [02:14:53]OFD Sender: No OFD packet to send [02:14:58]OFD Sender: No OFD packet to send [02:15:03]OFD Sender: No OFD packet to send [02:15:08]OFD Sender: No OFD packet to send [02:15:13]OFD Sender: No OFD packet to send [02:15:18]OFD Sender: No OFD packet to send [02:15:23]OFD Sender: No OFD packet to send [02:15:28]OFD Sender: No OFD packet to send [02:15:33]OFD Sender: No OFD packet to send [02:15:38]OFD Sender: No OFD packet to send [02:15:43]OFD Sender: No OFD packet to send [02:15:48]OFD Sender: No OFD packet to send [02:15:53]OFD Sender: No OFD packet to send [02:15:58]OFD Sender: No OFD packet to send [02:16:03]OFD Sender: No OFD packet to send [02:16:08]OFD Sender: No OFD packet to send [02:16:13]OFD Sender: No OFD packet to send [02:16:18]OFD Sender: No OFD packet to send [02:16:23]OFD Sender: No OFD packet to send [02:16:28]OFD Sender: No OFD packet to send [02:16:33]OFD Sender: No OFD packet to send [02:16:38]OFD Sender: No OFD packet to send [02:16:43]OFD Sender: No OFD packet to send [02:16:48]OFD Sender: No OFD packet to send [02:16:53]OFD Sender: No OFD packet to send [02:16:58]OFD Sender: No OFD packet to send [02:17:03]OFD Sender: No OFD packet to send [02:17:08]OFD Sender: No OFD packet to send [02:17:13]OFD Sender: No OFD packet to send [02:17:18]OFD Sender: No OFD packet to send [02:17:23]OFD Sender: No OFD packet to send [02:17:28]OFD Sender: No OFD packet to send [02:17:33]OFD Sender: No OFD packet to send [02:17:38]OFD Sender: No OFD packet to send [02:17:43]OFD Sender: No OFD packet to send [02:17:48]OFD Sender: No OFD packet to send [02:17:53]OFD Sender: No OFD packet to send [02:17:58]OFD Sender: No OFD packet to send [02:18:03]OFD Sender: No OFD packet to send [02:18:08]OFD Sender: No OFD packet to send [02:18:13]OFD Sender: No OFD packet to send [02:18:18]OFD Sender: No OFD packet to send [02:18:23]OFD Sender: No OFD packet to send [02:18:28]OFD Sender: No OFD packet to send [02:18:33]OFD Sender: No OFD packet to send [02:18:38]OFD Sender: No OFD packet to send [02:18:43]OFD Sender: No OFD packet to send [02:18:48]OFD Sender: No OFD packet to send [02:18:53]OFD Sender: No OFD packet to send [02:18:58]OFD Sender: No OFD packet to send [02:19:03]OFD Sender: No OFD packet to send [02:19:08]OFD Sender: No OFD packet to send [02:19:13]OFD Sender: No OFD packet to send [02:19:18]OFD Sender: No OFD packet to send [02:19:23]OFD Sender: No OFD packet to send [02:19:28]OFD Sender: No OFD packet to send [02:19:33]OFD Sender: No OFD packet to send [02:19:38]OFD Sender: No OFD packet to send [02:19:43]OFD Sender: No OFD packet to send [02:19:48]OFD Sender: No OFD packet to send [02:19:53]OFD Sender: No OFD packet to send [02:19:58]OFD Sender: No OFD packet to send [02:20:03]OFD Sender: No OFD packet to send [02:20:08]OFD Sender: No OFD packet to send [02:20:13]OFD Sender: No OFD packet to send [02:20:18]OFD Sender: No OFD packet to send [02:20:23]OFD Sender: No OFD packet to send [02:20:28]OFD Sender: No OFD packet to send [02:20:33]OFD Sender: No OFD packet to send [02:20:38]OFD Sender: No OFD packet to send [02:20:43]OFD Sender: No OFD packet to send [02:20:48]OFD Sender: No OFD packet to send [02:20:53]OFD Sender: No OFD packet to send [02:20:58]OFD Sender: No OFD packet to send [02:21:03]OFD Sender: No OFD packet to send [02:21:08]OFD Sender: No OFD packet to send [02:21:13]OFD Sender: No OFD packet to send [02:21:18]OFD Sender: No OFD packet to send [02:21:23]OFD Sender: No OFD packet to send [02:21:28]OFD Sender: No OFD packet to send [02:21:33]OFD Sender: No OFD packet to send [02:21:38]OFD Sender: No OFD packet to send [02:21:43]OFD Sender: No OFD packet to send [02:21:48]OFD Sender: No OFD packet to send [02:21:53]OFD Sender: No OFD packet to send [02:21:58]OFD Sender: No OFD packet to send [02:22:03]OFD Sender: No OFD packet to send [02:22:08]OFD Sender: No OFD packet to send [02:22:13]OFD Sender: No OFD packet to send [02:22:18]OFD Sender: No OFD packet to send [02:22:23]OFD Sender: No OFD packet to send [02:22:28]OFD Sender: No OFD packet to send [02:22:33]OFD Sender: No OFD packet to send [02:22:38]OFD Sender: No OFD packet to send [02:22:43]OFD Sender: No OFD packet to send [02:22:48]OFD Sender: No OFD packet to send [02:22:53]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: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:39]OFD Sender: No OFD packet to send [02:32:44]OFD Sender: No OFD packet to send [02:32:49]OFD Sender: No OFD packet to send [02:32:54]OFD Sender: No OFD packet to send [02:32:59]OFD Sender: No OFD packet to send [02:33:04]OFD Sender: No OFD packet to send [02:33:09]OFD Sender: No OFD packet to send [02:33:14]OFD Sender: No OFD packet to send [02:33:19]OFD Sender: No OFD packet to send [02:33:24]OFD Sender: No OFD packet to send [02:33:29]OFD Sender: No OFD packet to send [02:33:34]OFD Sender: No OFD packet to send [02:33:39]OFD Sender: No OFD packet to send [02:33:44]OFD Sender: No OFD packet to send [02:33:49]OFD Sender: No OFD packet to send [02:33:54]OFD Sender: No OFD packet to send [02:33:59]OFD Sender: No OFD packet to send [02:34:04]OFD Sender: No OFD packet to send [02:34:09]OFD Sender: No OFD packet to send [02:34:14]OFD Sender: No OFD packet to send [02:34:19]OFD Sender: No OFD packet to send [02:34:24]OFD Sender: No OFD packet to send [02:34:29]OFD Sender: No OFD packet to send [02:34:34]OFD Sender: No OFD packet to send [02:34:39]OFD Sender: No OFD packet to send [02:34:44]OFD Sender: No OFD packet to send [02:34:49]OFD Sender: No OFD packet to send [02:34:54]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:15]accept exits with 7 [02:39:15]New connection [02:39:15]New thread 3067596132 created [02:39:15]Thread 3067452772 joined [02:39:15]Waiting for new connection... [02:39:15] Sock 7.Parse request [02:39:15]Sock 7.Check first char [02:39:15]Sock 7.First char is OK [02:39:15]request: POST /json_proto HTTP/1.0 [02:39:15]Method: POST [02:39:15]URL: /json_proto [02:39:15]Method is POST - this is cgi request [02:39:15]url: /json_proto [02:39:15]query_string will be loaded in cgi processing [02:39:15]execute_cgi json_proto POST (null) [02:39:15]execute_cgi path=json_proto method=POST [02:39:15]POST find Content-Length [02:39:15]Host: 172.17.50.4:8080 [02:39:15]Content-Length: 749 [02:39:15]Content-Type: application/json [02:39:15] [02:39:15]POST finish read [02:39:15]Found Content-Length = 749 [02:39:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134975", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:39:15]execute_script... [02:39:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134975", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 159.00, "quantity" : 1.000, "sum" : 159.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" : 159.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:39:15]POST & json_proto [02:39:15]process_json_proto [02:39:15]json parsed OK: [02:39:15]protocol is kg_v1.0 [02:39:15]action value=close_receipt [02:39:15]process_action close_receipt [02:39:15]cmd_close_receipt [02:39:15]MH_GetDate [02:39:15]Write to MH i2c: F0 00 00 DA 19 E2 [02:39:15]Write i2c OK [02:39:15]MH_I2C_Read... [02:39:15]Read from MH i2c: F0 [02:39:15]MH_I2C_Read... [02:39:15]Read from MH i2c: F0 09 00 [02:39:15]MH_I2C_Read... [02:39:15]Read from MH i2c: F0 09 00 DA 19 00 DA 61 18 67 3B 12 16 67 6F [02:39:15]GetLastDocTimeStamp 1729649106 [02:39:15]current date 1729651162 [02:39:15]FM_GetShiftState [02:39:15]SAM_PROTO_GetShiftState [02:39:15]wFMCommunicate request_size=4 [02:39:15]MH_SAM_APDU [02:39:15]CAPDU: 80 13 01 00 [02:39:15]Write to MH i2c: E2 08 00 DB 19 80 13 01 00 00 00 00 00 71 [02:39:15]Write i2c OK [02:39:15]MH_I2C_Read... [02:39:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:39:15]Read from MH i2c: E2 [02:39:15]MH_I2C_Read... [02:39:15]Read from MH i2c: E2 0E 00 [02:39:15]MH_I2C_Read... [02:39:15]Read from MH i2c: E2 0E 00 DB 19 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 07 [02:39:15]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:39:15]wFMCommunicate OK [02:39:15]SAM_PROTO_GetShiftState done [02:39:15]FM_GetShiftState done [02:39:15]opened in 1729641934 [02:39:15]opened+sec_in_day 1729728334 [02:39:15]quantity*price = 15900 [02:39:15]sum+1 = 15901 [02:39:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 0.00 Безнал.: 159.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 8 23.10.2024 02:39 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000965420 ФД: 24460 ФПД: 172917483136390 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T023922&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24460&fm=172917483136390&tin=02508201610067®Number=0000000000098120&sum=15900 0 [02:39:16]StoreToDocumentArchive [02:39:16]shift 463 fd 24460 [02:39:16]save to /storage/0463/doc_00024460 [02:39:16]save last doc name /storage/0463/doc_00024460 to /storage/kkm_last_doc_name [02:39:16]save OK [02:39:16]Clear old archive folders... [02:39:16]ProcessDocumentItem done err = 0, tmpTLVsize=274 [02:39:16]tlvbuf is 00D6D1C0 [02:39:16]SAM_PROTO_ClearQueue [02:39:16]wFMCommunicate request_size=4 [02:39:16]MH_SAM_APDU [02:39:16]CAPDU: 80 09 00 00 [02:39:16]Write to MH i2c: E2 08 00 E8 19 80 09 00 00 00 00 00 00 73 [02:39:16]Write i2c OK [02:39:16]MH_I2C_Read... [02:39:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:39:16]Read from MH i2c: E2 [02:39:16]MH_I2C_Read... [02:39:16]Read from MH i2c: E2 03 00 [02:39:16]MH_I2C_Read... [02:39:16]Read from MH i2c: E2 03 00 E8 19 00 90 00 75 [02:39:16]RAPDU: 90 00 [02:39:16]wFMCommunicate OK [02:39:16]SAM_PROTO_ClearQueue done [02:39:16]KKMCreateOFDPacket [02:39:16]OFDProtocolAddRootSTLVToBuf [02:39:16]FM_MakeSignedData [02:39:16]FM_MakeSignedData [02:39:16]SAM_PROTO_SignData [02:39:16]wFMCommunicate request_size=4 [02:39:16]MH_SAM_APDU [02:39:16]CAPDU: 80 0D 01 02 [02:39:16]Write to MH i2c: E2 08 00 E9 19 80 0D 01 02 00 00 00 00 7B [02:39:16]Write i2c OK [02:39:16]MH_I2C_Read... [02:39:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:39:16]Read from MH i2c: E2 [02:39:16]MH_I2C_Read... [02:39:16]Read from MH i2c: E2 03 00 [02:39:16]MH_I2C_Read... [02:39:16]Read from MH i2c: E2 03 00 E9 19 00 90 00 76 [02:39:16]RAPDU: 90 00 [02:39:16]wFMCommunicate OK [02:39:16]wFMCommunicate request_size=255 [02:39:16]MH_SAM_APDU [02:39:16]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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 DA 61 18 67 0E 04 04 00 CF 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 [02:39:16]Write to MH i2c: E2 02 01 EA 19 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 DA 61 18 67 0E 04 04 00 CF 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 2C [02:39:17]Write i2c OK [02:39:17]MH_I2C_Read... [02:39:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:39:17]Read from MH i2c: E2 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 03 00 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 03 00 EA 19 00 90 00 77 [02:39:17]RAPDU: 90 00 [02:39:17]wFMCommunicate OK [02:39:17]wFMCommunicate request_size=33 [02:39:17]MH_SAM_APDU [02:39:17]CAPDU: 80 0D 02 02 1C 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8C 5F 00 00 35 04 06 00 9D 44 7D 28 65 86 [02:39:17]Write to MH i2c: E2 24 00 EB 19 80 0D 02 02 1C 00 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8C 5F 00 00 35 04 06 00 9D 44 7D 28 65 86 00 00 63 [02:39:17]Write i2c OK [02:39:17]MH_I2C_Read... [02:39:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:39:17]Read from MH i2c: E2 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 03 00 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 03 00 EB 19 00 90 00 78 [02:39:17]RAPDU: 90 00 [02:39:17]wFMCommunicate OK [02:39:17]wFMCommunicate request_size=4 [02:39:17]MH_SAM_APDU [02:39:17]CAPDU: 80 0D 03 02 [02:39:17]Write to MH i2c: E2 08 00 EC 19 80 0D 03 02 00 00 00 00 80 [02:39:17]Write i2c OK [02:39:17]MH_I2C_Read... [02:39:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:39:17]Read from MH i2c: E2 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 0B 00 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 0B 00 EC 19 00 D4 A6 DC BC 44 4B 28 6B 90 00 B5 [02:39:17]RAPDU: D4 A6 DC BC 44 4B 28 6B 90 00 [02:39:17]wFMCommunicate OK [02:39:17]SAM_PROTO_SignData done [02:39:17]FM_MakeSignedData done [02:39:17]CreateOFDProtocolMessage [02:39:17]wFMCommunicate request_size=4 [02:39:17]MH_SAM_APDU [02:39:17]CAPDU: 80 11 00 00 [02:39:17]Write to MH i2c: E2 08 00 ED 19 80 11 00 00 00 00 00 00 80 [02:39:17]Write i2c OK [02:39:17]MH_I2C_Read... [02:39:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:39:17]Read from MH i2c: E2 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 17 00 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: E2 17 00 ED 19 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 CD [02:39:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:39:17]wFMCommunicate OK [02:39:17]CreateOFDProtocolMessage done [02:39:17]OFDSenderStorePacket 24460 [02:39:17]StoreOFDPacket docnum=24460 [02:39:17]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 BD FB 1E 01 EF D6 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 DA 61 18 67 0E 04 04 00 CF 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 8C 5F 00 00 35 04 06 00 9D 44 7D 28 65 86 D4 A6 DC BC 44 4B 28 6B [02:39:17]CheckFolder [02:39:17]dirname=/storage/ofd_packets [02:39:17]CheckFolder done [02:39:17]ProducePacketName [02:39:17]name=ofd_packets/00024460 [02:39:17]NVStorageSaveData ofd_packets/00024460 [02:39:17]File name is /storage/ofd_packets/00024460 [02:39:17]Write 324 bytes [02:39:17]NVStorageSaveData done [02:39:17]OFDSenderStorePacket done [02:39:17]KKMCreateOFDPacket done [02:39:17]NVStorageSaveData kkm_last_timestamp [02:39:17]File name is /storage/kkm_last_timestamp [02:39:17]Write 4 bytes [02:39:17]NVStorageSaveData done [02:39:17]ExternCall_PrintAddStr [02:39:17]wPrintStart [02:39:17]Write to MH i2c: 01 00 00 EE 19 07 [02:39:17]OFD Sender: Processing packet 24460 [packets to send 5, broken 4] [02:39:17]ProducePacketName [02:39:17]name=ofd_packets/00024460 [02:39:17]OFD Sender: To server: pG, [02:39:17]CommunicateWithHost lk.salyk.kg:30040 [02:39:17]ConnectInit lk.salyk.kg [02:39:17]Write i2c OK [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: 01 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: 01 07 00 [02:39:17]MH_I2C_Read... [02:39:17]Read from MH i2c: 01 07 00 EE 19 00 00 00 00 00 FF 0F 1C [02:39:17]RasterBufferAndPrint [02:39:17]line Счет N : (3)134975 [02:39:17]line ИНН: 02508201610067 [02:39:17]line Контрольно-Кассовый Чек [02:39:17]line ПРОДАЖА [02:39:17]line Товар: 4640030091645 [02:39:17]line Сигареты ESSE Exchange M [02:39:17]line 1.000 * 159.00 [02:39:17]line = 159.00 [02:39:17]line НДС 12% НСП 1% [02:39:17]line > о реализуемом товаре [02:39:17]line ИТОГО: 159.00 [02:39:17]line НСП 1% : 1.41 [02:39:17]line НДС 12% : 16.88 [02:39:17]line Наличными: 0.00 [02:39:17]line Безнал.: 159.00 [02:39:17]line Место: АЗС № 85 "Партнер Нефть" [02:39:17]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:39:17]line СНО: Общий режим [02:39:17]line Чек 8 23.10.2024 02:39 [02:39:17]line Смена: 463 ФФД: 1.0 [02:39:17]line ЗНМ: 0300000166 [02:39:17]line РНМ: 0000000000098120 [02:39:17]line Версия ККМ: 001 [02:39:17]line Платежная система: Mbank [02:39:17]line ФМ: 0000000000965420 [02:39:17]line ФД: 24460 [02:39:17]line ФПД: 172917483136390 [02:39:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T023922&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24460&fm=172917483136390&tin=02508201610067®Number=0000000000098120&sum=15900 [02:39:17]line 0 [02:39:17]written 0, free lines is 4095 [02:39:17]Connected sock=9 [02:39:17]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 BD FB 1E 01 EF D6 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 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 06 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 3E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 DA 61 18 67 0E 04 04 00 CF 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 8C 5F 00 00 35 04 06 00 9D 44 7D 28 65 86 D4 A6 DC BC 44 4B 28 6B [02:39:17]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 68 47 00 E5 B3 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8C 5F 00 00 F4 03 04 00 7C 0D 18 67 B6 04 01 00 00 C0 C0 D9 9D 08 77 82 5E [02:39:17]CommunicateWithHost err = 0 [02:39:17]CheckOFDResponse [02:39:17]1017 (14) - 77093643461234 [02:39:17]1041 (16) - 0000000000965420 [02:39:17]1040 (4) - 24460 [02:39:17]1012 (4) - 22.10.2024 20:39 [02:39:17]1206 (1) - 0 [02:39:17]OFD Sender: Remove packet 24460 [02:39:17]ProducePacketName [02:39:17]name=ofd_packets/00024460 [02:39:17]NVStorageDeleteData [02:39:18]Write to MH i2c: 01 00 00 17 1A 31 [02:39:18]Write i2c OK [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: 01 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: 01 07 00 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: 01 07 00 17 1A 00 00 00 00 00 14 0D 59 [02:39:18]RasterBufferAndPrint [02:39:18]line [02:39:18]line [02:39:18]line [02:39:18]line [02:39:18]line [02:39:18]written 0, free lines is 3354 [02:39:18]process_action close_receipt done [02:39:18]requested_data is exist [02:39:18]produce_requested_data [02:39:18]requested_item fm.sn is exist - process it [02:39:18]wFMCommunicate request_size=4 [02:39:18]MH_SAM_APDU [02:39:18]CAPDU: 80 11 00 00 [02:39:18]Write to MH i2c: E2 08 00 1E 1A 80 11 00 00 00 00 00 00 B2 [02:39:18]Write i2c OK [02:39:18]MH_I2C_Read... [02:39:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:39:18]Read from MH i2c: E2 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 17 00 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 17 00 1E 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 FF [02:39:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:39:18]wFMCommunicate OK [02:39:18]requested_item fd.num is exist - process it [02:39:18]SAM_PROTO_GetFieldsCounters [02:39:18]wFMCommunicate request_size=4 [02:39:18]MH_SAM_APDU [02:39:18]CAPDU: 80 13 00 00 [02:39:18]Write to MH i2c: E2 08 00 1F 1A 80 13 00 00 00 00 00 00 B5 [02:39:18]Write i2c OK [02:39:18]MH_I2C_Read... [02:39:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:39:18]Read from MH i2c: E2 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 62 00 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 62 00 1F 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 8C 5F 00 00 0E 04 04 00 CF 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 9E [02:39:18]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 8C 5F 00 00 0E 04 04 00 CF 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 [02:39:18]wFMCommunicate OK [02:39:18]SAM_PROTO_GetFieldsCounters done [02:39:18]requested_item shift.num is exist - process it [02:39:18]requested_item shift.opened is exist - process it [02:39:18]req_shift_opened [02:39:18]FM_GetShiftState [02:39:18]SAM_PROTO_GetShiftState [02:39:18]wFMCommunicate request_size=4 [02:39:18]MH_SAM_APDU [02:39:18]CAPDU: 80 13 01 00 [02:39:18]Write to MH i2c: E2 08 00 20 1A 80 13 01 00 00 00 00 00 B7 [02:39:18]Write i2c OK [02:39:18]MH_I2C_Read... [02:39:18]OFD Sender: No OFD packet to send [02:39:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:39:18]Read from MH i2c: E2 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 0E 00 [02:39:18]MH_I2C_Read... [02:39:18]Read from MH i2c: E2 0E 00 20 1A 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 4D [02:39:18]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:39:18]wFMCommunicate OK [02:39:18]SAM_PROTO_GetShiftState done [02:39:18]FM_GetShiftState done [02:39:18]req_shift_opened done [02:39:18]requested_item shift.open_date is exist - process it [02:39:18]req_shift_open_date [02:39:18]req_shift_open_date done [02:39:18]produce_requested_data done [02:39:18]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24460,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [02:39:18]process_action_free close_receipt [02:39:18]json_value_free [02:39:18]json_value_free done [02:39:18]process_json_proto returns [02:39:18]Send response to host [02:39:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24460,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [02:39:18]free response buf [02:39:18]execute_script done [02:39:18]execute_script returns [02:39:18]free content buf [02:39:18]Sock 7.Close socket [02:39:18]Sock 7.Thread stoped [02:39:23]OFD Sender: No OFD packet to send [02:39:28]OFD Sender: No OFD packet to send [02:39:33]OFD Sender: No OFD packet to send [02:39:38]OFD Sender: No OFD packet to send [02:39:43]OFD Sender: No OFD packet to send [02:39:48]OFD Sender: No OFD packet to send [02:39:53]OFD Sender: No OFD packet to send [02:39:58]OFD Sender: No OFD packet to send [02:40:03]OFD Sender: No OFD packet to send [02:40:08]OFD Sender: No OFD packet to send [02:40:13]OFD Sender: No OFD packet to send [02:40:13]accept exits with 10 [02:40:13]New connection [02:40:13]New thread 3067452772 created [02:40:13]Thread 3067596132 joined [02:40:13]Waiting for new connection... [02:40:13] Sock 10.Parse request [02:40:13]Sock 10.Check first char [02:40:13]Sock 10.First char is OK [02:40:13]request: POST /json_proto HTTP/1.0 [02:40:13]Method: POST [02:40:13]URL: /json_proto [02:40:13]Method is POST - this is cgi request [02:40:13]url: /json_proto [02:40:13]query_string will be loaded in cgi processing [02:40:13]execute_cgi json_proto POST (null) [02:40:13]execute_cgi path=json_proto method=POST [02:40:13]POST find Content-Length [02:40:13]Host: 172.17.50.4:8080 [02:40:13]Content-Length: 644 [02:40:13]Content-Type: application/json [02:40:13] [02:40:13]POST finish read [02:40:13]Found Content-Length = 644 [02:40:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134976", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:40:13]execute_script... [02:40: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)134976", "tax_sys" : 0, "items" : [ { "code": "4700000310326", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 1\u043B \u0431/\u0433", "price" : 49.00, "quantity" : 2.000, "sum" : 98.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 98.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:40:13]POST & json_proto [02:40:13]process_json_proto [02:40:13]json parsed OK: [02:40:13]protocol is kg_v1.0 [02:40:13]action value=close_receipt [02:40:13]process_action close_receipt [02:40:13]cmd_close_receipt [02:40:13]MH_GetDate [02:40:13]Write to MH i2c: F0 00 00 21 1A 2A [02:40:13]Write i2c OK [02:40:13]MH_I2C_Read... [02:40:13]Read from MH i2c: F0 [02:40:13]MH_I2C_Read... [02:40:13]Read from MH i2c: F0 09 00 [02:40:13]MH_I2C_Read... [02:40:13]Read from MH i2c: F0 09 00 21 1A 00 14 62 18 67 3B 12 16 67 F2 [02:40:13]GetLastDocTimeStamp 1729651162 [02:40:13]current date 1729651220 [02:40:13]FM_GetShiftState [02:40:13]SAM_PROTO_GetShiftState [02:40:13]wFMCommunicate request_size=4 [02:40:13]MH_SAM_APDU [02:40:13]CAPDU: 80 13 01 00 [02:40:13]Write to MH i2c: E2 08 00 22 1A 80 13 01 00 00 00 00 00 B9 [02:40:13]Write i2c OK [02:40:13]MH_I2C_Read... [02:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:40:13]Read from MH i2c: E2 [02:40:13]MH_I2C_Read... [02:40:13]Read from MH i2c: E2 0E 00 [02:40:13]MH_I2C_Read... [02:40:13]Read from MH i2c: E2 0E 00 22 1A 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 4F [02:40:13]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:40:13]wFMCommunicate OK [02:40:13]SAM_PROTO_GetShiftState done [02:40:13]FM_GetShiftState done [02:40:13]opened in 1729641934 [02:40:13]opened+sec_in_day 1729728334 [02:40:13]quantity*price = 9800 [02:40:13]sum+1 = 9801 [02:40:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 98.00 НСП 1% : 0.87 НДС 12% : 10.41 Наличными: 98.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 9 23.10.2024 02:40 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24461 ФПД: 180381413163071 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T024020&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24461&fm=180381413163071&tin=02508201610067®Number=0000000000098120&sum=9800 0 [02:40:14]StoreToDocumentArchive [02:40:14]shift 463 fd 24461 [02:40:14]save to /storage/0463/doc_00024461 [02:40:14]save last doc name /storage/0463/doc_00024461 to /storage/kkm_last_doc_name [02:40:14]save OK [02:40:14]Clear old archive folders... [02:40:14]ProcessDocumentItem done err = 0, tmpTLVsize=275 [02:40:14]tlvbuf is B6FF2010 [02:40:14]SAM_PROTO_ClearQueue [02:40:14]wFMCommunicate request_size=4 [02:40:14]MH_SAM_APDU [02:40:14]CAPDU: 80 09 00 00 [02:40:14]Write to MH i2c: E2 08 00 2F 1A 80 09 00 00 00 00 00 00 BB [02:40:14]Write i2c OK [02:40:14]MH_I2C_Read... [02:40:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:40:14]Read from MH i2c: E2 [02:40:14]MH_I2C_Read... [02:40:14]Read from MH i2c: E2 03 00 [02:40:14]MH_I2C_Read... [02:40:14]Read from MH i2c: E2 03 00 2F 1A 00 90 00 BD [02:40:14]RAPDU: 90 00 [02:40:14]wFMCommunicate OK [02:40:14]SAM_PROTO_ClearQueue done [02:40:14]KKMCreateOFDPacket [02:40:14]OFDProtocolAddRootSTLVToBuf [02:40:14]FM_MakeSignedData [02:40:14]FM_MakeSignedData [02:40:14]SAM_PROTO_SignData [02:40:14]wFMCommunicate request_size=4 [02:40:14]MH_SAM_APDU [02:40:14]CAPDU: 80 0D 01 02 [02:40:14]Write to MH i2c: E2 08 00 30 1A 80 0D 01 02 00 00 00 00 C3 [02:40:14]Write i2c OK [02:40:14]MH_I2C_Read... [02:40:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:40:14]Read from MH i2c: E2 [02:40:14]MH_I2C_Read... [02:40:14]Read from MH i2c: E2 03 00 [02:40:14]MH_I2C_Read... [02:40:14]Read from MH i2c: E2 03 00 30 1A 00 90 00 BE [02:40:14]RAPDU: 90 00 [02:40:14]wFMCommunicate OK [02:40:14]wFMCommunicate request_size=255 [02:40:14]MH_SAM_APDU [02:40:14]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 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 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 14 62 18 67 0E 04 04 00 CF 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 [02:40:14]Write to MH i2c: E2 02 01 31 1A 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 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 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 14 62 18 67 0E 04 04 00 CF 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 D5 [02:40:14]Write i2c OK [02:40:14]MH_I2C_Read... [02:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:40:15]Read from MH i2c: E2 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 03 00 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 03 00 31 1A 00 90 00 BF [02:40:15]RAPDU: 90 00 [02:40:15]wFMCommunicate OK [02:40:15]wFMCommunicate request_size=34 [02:40:15]MH_SAM_APDU [02:40:15]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8D 5F 00 00 35 04 06 00 A4 0E 52 0E 40 3F [02:40:15]Write to MH i2c: E2 25 00 32 1A 80 0D 02 02 1D 00 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8D 5F 00 00 35 04 06 00 A4 0E 52 0E 40 3F 00 00 FE [02:40:15]Write i2c OK [02:40:15]MH_I2C_Read... [02:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:40:15]Read from MH i2c: E2 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 03 00 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 03 00 32 1A 00 90 00 C0 [02:40:15]RAPDU: 90 00 [02:40:15]wFMCommunicate OK [02:40:15]wFMCommunicate request_size=4 [02:40:15]MH_SAM_APDU [02:40:15]CAPDU: 80 0D 03 02 [02:40:15]Write to MH i2c: E2 08 00 33 1A 80 0D 03 02 00 00 00 00 C8 [02:40:15]Write i2c OK [02:40:15]MH_I2C_Read... [02:40:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:40:15]Read from MH i2c: E2 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 0B 00 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 0B 00 33 1A 00 5D 73 68 ED 5F 7C 08 E8 90 00 B9 [02:40:15]RAPDU: 5D 73 68 ED 5F 7C 08 E8 90 00 [02:40:15]wFMCommunicate OK [02:40:15]SAM_PROTO_SignData done [02:40:15]FM_MakeSignedData done [02:40:15]CreateOFDProtocolMessage [02:40:15]wFMCommunicate request_size=4 [02:40:15]MH_SAM_APDU [02:40:15]CAPDU: 80 11 00 00 [02:40:15]Write to MH i2c: E2 08 00 34 1A 80 11 00 00 00 00 00 00 C8 [02:40:15]Write i2c OK [02:40:15]MH_I2C_Read... [02:40:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:40:15]Read from MH i2c: E2 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 17 00 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: E2 17 00 34 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 15 [02:40:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:40:15]wFMCommunicate OK [02:40:15]CreateOFDProtocolMessage done [02:40:15]OFDSenderStorePacket 24461 [02:40:15]StoreOFDPacket docnum=24461 [02:40: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 27 01 00 00 B5 76 1F 01 60 0E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 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 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 14 62 18 67 0E 04 04 00 CF 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 8D 5F 00 00 35 04 06 00 A4 0E 52 0E 40 3F 5D 73 68 ED 5F 7C 08 E8 [02:40:15]CheckFolder [02:40:15]dirname=/storage/ofd_packets [02:40:15]CheckFolder done [02:40:15]ProducePacketName [02:40:15]name=ofd_packets/00024461 [02:40:15]NVStorageSaveData ofd_packets/00024461 [02:40:15]File name is /storage/ofd_packets/00024461 [02:40:15]Write 325 bytes [02:40:15]NVStorageSaveData done [02:40:15]OFDSenderStorePacket done [02:40:15]KKMCreateOFDPacket done [02:40:15]NVStorageSaveData kkm_last_timestamp [02:40:15]File name is /storage/kkm_last_timestamp [02:40:15]Write 4 bytes [02:40:15]NVStorageSaveData done [02:40:15]ExternCall_PrintAddStr [02:40:15]wPrintStart [02:40:15]Write to MH i2c: 01 00 00 35 1A 4F [02:40:15]Write i2c OK [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: 01 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: 01 07 00 [02:40:15]MH_I2C_Read... [02:40:15]Read from MH i2c: 01 07 00 35 1A 00 00 00 00 00 FF 0F 64 [02:40:15]RasterBufferAndPrint [02:40:15]line Счет N : (3)134976 [02:40:15]line ИНН: 02508201610067 [02:40:15]line Контрольно-Кассовый Чек [02:40:15]line ПРОДАЖА [02:40:15]line Товар: 4700000310326 [02:40:15]line Вода Адыгене 1л б/г [02:40:15]line 2.000 * 49.00 [02:40:15]line = 98.00 [02:40:15]line НДС 12% НСП 1% [02:40:15]line > о реализуемом товаре [02:40:15]line ИТОГО: 98.00 [02:40:15]line НСП 1% : 0.87 [02:40:15]line НДС 12% : 10.41 [02:40:15]line Наличными: 98.00 [02:40:15]line Безнал.: 0.00 [02:40:15]line Место: АЗС № 85 "Партнер Нефть" [02:40:15]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:40:15]line СНО: Общий режим [02:40:15]line Чек 9 23.10.2024 02:40 [02:40:15]line Смена: 463 ФФД: 1.0 [02:40:15]line ЗНМ: 0300000166 [02:40:15]line РНМ: 0000000000098120 [02:40:15]line Версия ККМ: 001 [02:40:15]line ФМ: 0000000000965420 [02:40:15]line ФД: 24461 [02:40:15]line ФПД: 180381413163071 [02:40:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T024020&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24461&fm=180381413163071&tin=02508201610067®Number=0000000000098120&sum=9800 [02:40:15]line 0 [02:40:15]OFD Sender: Processing packet 24461 [packets to send 5, broken 4] [02:40:15]ProducePacketName [02:40:15]name=ofd_packets/00024461 [02:40:15]OFD Sender: To server: pG, [02:40:15]CommunicateWithHost lk.salyk.kg:30040 [02:40:15]ConnectInit lk.salyk.kg [02:40:15]written 0, free lines is 4095 [02:40:15]Connected sock=9 [02:40: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 27 01 00 00 B5 76 1F 01 60 0E 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 34 37 30 30 30 30 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 D0 07 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 48 26 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 48 26 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 57 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 04 00 00 00 00 07 04 06 00 48 26 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 14 62 18 67 0E 04 04 00 CF 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 8D 5F 00 00 35 04 06 00 A4 0E 52 0E 40 3F 5D 73 68 ED 5F 7C 08 E8 [02:40: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 62 52 47 00 F5 84 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8D 5F 00 00 F4 03 04 00 B6 0D 18 67 B6 04 01 00 00 5D 28 D0 0D 68 FA 16 06 [02:40:16]CommunicateWithHost err = 0 [02:40:16]CheckOFDResponse [02:40:16]1017 (14) - 77093643461234 [02:40:16]1041 (16) - 0000000000965420 [02:40:16]1040 (4) - 24461 [02:40:16]1012 (4) - 22.10.2024 20:40 [02:40:16]1206 (1) - 0 [02:40:16]OFD Sender: Remove packet 24461 [02:40:16]ProducePacketName [02:40:16]name=ofd_packets/00024461 [02:40:16]NVStorageDeleteData [02:40:16]Write to MH i2c: 01 00 00 5D 1A 77 [02:40:16]Write i2c OK [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: 01 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: 01 07 00 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: 01 07 00 5D 1A 00 00 00 00 00 1F 0D AA [02:40:16]RasterBufferAndPrint [02:40:16]line [02:40:16]line [02:40:16]line [02:40:16]line [02:40:16]line [02:40:16]written 0, free lines is 3365 [02:40:16]process_action close_receipt done [02:40:16]requested_data is exist [02:40:16]produce_requested_data [02:40:16]requested_item fm.sn is exist - process it [02:40:16]wFMCommunicate request_size=4 [02:40:16]MH_SAM_APDU [02:40:16]CAPDU: 80 11 00 00 [02:40:16]Write to MH i2c: E2 08 00 64 1A 80 11 00 00 00 00 00 00 F8 [02:40:16]Write i2c OK [02:40:16]MH_I2C_Read... [02:40:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:40:16]Read from MH i2c: E2 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 17 00 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 17 00 64 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 45 [02:40:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:40:16]wFMCommunicate OK [02:40:16]requested_item fd.num is exist - process it [02:40:16]SAM_PROTO_GetFieldsCounters [02:40:16]wFMCommunicate request_size=4 [02:40:16]MH_SAM_APDU [02:40:16]CAPDU: 80 13 00 00 [02:40:16]Write to MH i2c: E2 08 00 65 1A 80 13 00 00 00 00 00 00 FB [02:40:16]Write i2c OK [02:40:16]MH_I2C_Read... [02:40:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:40:16]Read from MH i2c: E2 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 62 00 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 62 00 65 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 8D 5F 00 00 0E 04 04 00 CF 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 E8 [02:40: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 8D 5F 00 00 0E 04 04 00 CF 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 [02:40:16]wFMCommunicate OK [02:40:16]SAM_PROTO_GetFieldsCounters done [02:40:16]requested_item shift.num is exist - process it [02:40:16]requested_item shift.opened is exist - process it [02:40:16]req_shift_opened [02:40:16]FM_GetShiftState [02:40:16]SAM_PROTO_GetShiftState [02:40:16]wFMCommunicate request_size=4 [02:40:16]MH_SAM_APDU [02:40:16]CAPDU: 80 13 01 00 [02:40:16]Write to MH i2c: E2 08 00 66 1A 80 13 01 00 00 00 00 00 FD [02:40:16]Write i2c OK [02:40:16]MH_I2C_Read... [02:40:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:40:16]Read from MH i2c: E2 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 0E 00 [02:40:16]MH_I2C_Read... [02:40:16]Read from MH i2c: E2 0E 00 66 1A 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 93 [02:40:16]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:40:16]wFMCommunicate OK [02:40:16]SAM_PROTO_GetShiftState done [02:40:16]FM_GetShiftState done [02:40:16]req_shift_opened done [02:40:16]requested_item shift.open_date is exist - process it [02:40:16]req_shift_open_date [02:40:16]req_shift_open_date done [02:40:16]produce_requested_data done [02:40:16]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24461,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [02:40:16]process_action_free close_receipt [02:40:16]json_value_free [02:40:16]json_value_free done [02:40:16]process_json_proto returns [02:40:16]Send response to host [02:40:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24461,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [02:40:16]free response buf [02:40:16]execute_script done [02:40:16]execute_script returns [02:40:16]free content buf [02:40:16]Sock 10.Close socket [02:40:16]Sock 10.Thread stoped [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:56]OFD Sender: No OFD packet to send [02:48:01]OFD Sender: No OFD packet to send [02:48:06]OFD Sender: No OFD packet to send [02:48:11]OFD Sender: No OFD packet to send [02:48:16]OFD Sender: No OFD packet to send [02:48:21]OFD Sender: No OFD packet to send [02:48:26]OFD Sender: No OFD packet to send [02:48:31]OFD Sender: No OFD packet to send [02:48:36]OFD Sender: No OFD packet to send [02:48:41]OFD Sender: No OFD packet to send [02:48:42]accept exits with 7 [02:48:42]New connection [02:48:42]New thread 3067596132 created [02:48:42]Thread 3067452772 joined [02:48:42]Waiting for new connection... [02:48:42] Sock 7.Parse request [02:48:42]Sock 7.Check first char [02:48:42]Sock 7.First char is OK [02:48:42]request: POST /json_proto HTTP/1.0 [02:48:42]Method: POST [02:48:42]URL: /json_proto [02:48:42]Method is POST - this is cgi request [02:48:42]url: /json_proto [02:48:42]query_string will be loaded in cgi processing [02:48:42]execute_cgi json_proto POST (null) [02:48:42]execute_cgi path=json_proto method=POST [02:48:42]POST find Content-Length [02:48:42]Host: 172.17.50.4:8080 [02:48:42]Content-Length: 851 [02:48:42]Content-Type: application/json [02:48:42] [02:48:42]POST finish read [02:48:42]Found Content-Length = 851 [02:48:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)134977", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:42]execute_script... [02:48: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)134977", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 263.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [02:48:42]POST & json_proto [02:48:42]process_json_proto [02:48:42]json parsed OK: [02:48:42]protocol is kg_v1.0 [02:48:42]action value=close_receipt [02:48:42]process_action close_receipt [02:48:42]cmd_close_receipt [02:48:42]MH_GetDate [02:48:42]Write to MH i2c: F0 00 00 67 1A 70 [02:48:42]Write i2c OK [02:48:42]MH_I2C_Read... [02:48:42]Read from MH i2c: F0 [02:48:42]MH_I2C_Read... [02:48:42]Read from MH i2c: F0 09 00 [02:48:42]MH_I2C_Read... [02:48:42]Read from MH i2c: F0 09 00 67 1A 00 11 64 18 67 3B 12 16 67 37 [02:48:42]GetLastDocTimeStamp 1729651220 [02:48:42]current date 1729651729 [02:48:42]FM_GetShiftState [02:48:42]SAM_PROTO_GetShiftState [02:48:42]wFMCommunicate request_size=4 [02:48:42]MH_SAM_APDU [02:48:42]CAPDU: 80 13 01 00 [02:48:42]Write to MH i2c: E2 08 00 68 1A 80 13 01 00 00 00 00 00 FF [02:48:42]Write i2c OK [02:48:42]MH_I2C_Read... [02:48:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:48:42]Read from MH i2c: E2 [02:48:42]MH_I2C_Read... [02:48:42]Read from MH i2c: E2 0E 00 [02:48:42]MH_I2C_Read... [02:48:42]Read from MH i2c: E2 0E 00 68 1A 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 95 [02:48:42]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:48:42]wFMCommunicate OK [02:48:42]SAM_PROTO_GetShiftState done [02:48:42]FM_GetShiftState done [02:48:42]opened in 1729641934 [02:48:42]opened+sec_in_day 1729728334 [02:48:42]quantity*price = 14400 [02:48:42]sum+1 = 14401 [02:48:42]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 119.00 = 119.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 263.00 НСП 1% : 2.32 НДС 12% : 27.93 Наличными: 263.00 Безнал.: 0.00 Место: АЗС № 85 "Партнер Нефть" Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 СНО: Общий режим Чек 10 23.10.2024 02:48 Смена: 463 ФФД: 1.0 ЗНМ: 0300000166 РНМ: 0000000000098120 Версия ККМ: 001 ФМ: 0000000000965420 ФД: 24462 ФПД: 99241886680940 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T024849&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24462&fm=99241886680940&tin=02508201610067®Number=0000000000098120&sum=26300 0 [02:48:44]StoreToDocumentArchive [02:48:44]shift 463 fd 24462 [02:48:44]save to /storage/0463/doc_00024462 [02:48:44]save last doc name /storage/0463/doc_00024462 to /storage/kkm_last_doc_name [02:48:44]save OK [02:48:44]Clear old archive folders... [02:48:44]ProcessDocumentItem done err = 0, tmpTLVsize=369 [02:48:44]tlvbuf is 00DB74C0 [02:48:44]SAM_PROTO_ClearQueue [02:48:44]wFMCommunicate request_size=4 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 09 00 00 [02:48:44]Write to MH i2c: E2 08 00 75 1A 80 09 00 00 00 00 00 00 01 [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 75 1A 00 90 00 03 [02:48:44]RAPDU: 90 00 [02:48:44]wFMCommunicate OK [02:48:44]SAM_PROTO_ClearQueue done [02:48:44]KKMCreateOFDPacket [02:48:44]OFDProtocolAddRootSTLVToBuf [02:48:44]FM_MakeSignedData [02:48:44]FM_MakeSignedData [02:48:44]SAM_PROTO_SignData [02:48:44]wFMCommunicate request_size=4 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 0D 01 02 [02:48:44]Write to MH i2c: E2 08 00 76 1A 80 0D 01 02 00 00 00 00 09 [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 76 1A 00 90 00 04 [02:48:44]RAPDU: 90 00 [02:48:44]wFMCommunicate OK [02:48:44]wFMCommunicate request_size=255 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 0D 02 02 FA 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [02:48:44]Write to MH i2c: E2 02 01 77 1A 80 0D 02 02 FA 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 EF [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 77 1A 00 90 00 05 [02:48:44]RAPDU: 90 00 [02:48:44]wFMCommunicate OK [02:48:44]wFMCommunicate request_size=128 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 0D 02 02 7B F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 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 11 64 18 67 0E 04 04 00 CF 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 8E 5F 00 00 35 04 06 00 5A 42 8D 67 07 6C [02:48:44]Write to MH i2c: E2 83 00 78 1A 80 0D 02 02 7B 00 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 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 11 64 18 67 0E 04 04 00 CF 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 8E 5F 00 00 35 04 06 00 5A 42 8D 67 07 6C 00 00 00 [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 03 00 78 1A 00 90 00 06 [02:48:44]RAPDU: 90 00 [02:48:44]wFMCommunicate OK [02:48:44]wFMCommunicate request_size=4 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 0D 03 02 [02:48:44]Write to MH i2c: E2 08 00 79 1A 80 0D 03 02 00 00 00 00 0E [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 0B 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 0B 00 79 1A 00 9C CB 3E 93 D9 D8 8B 42 90 00 C5 [02:48:44]RAPDU: 9C CB 3E 93 D9 D8 8B 42 90 00 [02:48:44]wFMCommunicate OK [02:48:44]SAM_PROTO_SignData done [02:48:44]FM_MakeSignedData done [02:48:44]CreateOFDProtocolMessage [02:48:44]wFMCommunicate request_size=4 [02:48:44]MH_SAM_APDU [02:48:44]CAPDU: 80 11 00 00 [02:48:44]Write to MH i2c: E2 08 00 7A 1A 80 11 00 00 00 00 00 00 0E [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:48:44]Read from MH i2c: E2 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 17 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: E2 17 00 7A 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 5B [02:48:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:48:44]wFMCommunicate OK [02:48:44]CreateOFDProtocolMessage done [02:48:44]OFDSenderStorePacket 24462 [02:48:44]StoreOFDPacket docnum=24462 [02:48: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 85 01 00 00 DA C0 7D 01 AB 3F 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 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 11 64 18 67 0E 04 04 00 CF 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 8E 5F 00 00 35 04 06 00 5A 42 8D 67 07 6C 9C CB 3E 93 D9 D8 8B 42 [02:48:44]CheckFolder [02:48:44]dirname=/storage/ofd_packets [02:48:44]CheckFolder done [02:48:44]ProducePacketName [02:48:44]name=ofd_packets/00024462 [02:48:44]NVStorageSaveData ofd_packets/00024462 [02:48:44]File name is /storage/ofd_packets/00024462 [02:48:44]Write 419 bytes [02:48:44]NVStorageSaveData done [02:48:44]OFDSenderStorePacket done [02:48:44]KKMCreateOFDPacket done [02:48:44]NVStorageSaveData kkm_last_timestamp [02:48:44]File name is /storage/kkm_last_timestamp [02:48:44]Write 4 bytes [02:48:44]NVStorageSaveData done [02:48:44]ExternCall_PrintAddStr [02:48:44]wPrintStart [02:48:44]Write to MH i2c: 01 00 00 7B 1A 95 [02:48:44]Write i2c OK [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: 01 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: 01 07 00 [02:48:44]MH_I2C_Read... [02:48:44]Read from MH i2c: 01 07 00 7B 1A 00 00 00 00 00 FF 0F AA [02:48:44]RasterBufferAndPrint [02:48:44]line Счет N : (3)134977 [02:48:44]line ИНН: 02508201610067 [02:48:44]line Контрольно-Кассовый Чек [02:48:44]line ПРОДАЖА [02:48:44]line Товар: 48747059 [02:48:44]line Сигареты Winston Legend Blue [02:48:44]line 1.000 * 144.00 [02:48:44]line = 144.00 [02:48:44]line НДС 12% НСП 1% [02:48:44]line > о реализуемом товаре [02:48:44]line Товар: 4870001570071 [02:48:44]line Напиток Pepsi 1л [02:48:44]line 1.000 * 119.00 [02:48:45]line = 119.00 [02:48:45]line НДС 12% НСП 1% [02:48:45]line > о реализуемом товаре [02:48:45]line ИТОГО: 263.00 [02:48:45]line НСП 1% : 2.32 [02:48:45]line НДС 12% : 27.93 [02:48:45]line Наличными: 263.00 [02:48:45]line Безнал.: 0.00 [02:48:45]line Место: АЗС № 85 "Партнер Нефть" [02:48:45]line Адрес: 720001, с. Базар Коргон, трасса Бишкек-Ош, 41.055522, 72.757862 [02:48:45]line СНО: Общий режим [02:48:45]line Чек 10 23.10.2024 02:48 [02:48:45]line Смена: 463 ФФД: 1.0 [02:48:45]line ЗНМ: 0300000166 [02:48:45]line РНМ: 0000000000098120 [02:48:45]line Версия ККМ: 001 [02:48:45]line ФМ: 0000000000965420 [02:48:45]line ФД: 24462 [02:48:45]line ФПД: 99241886680940 [02:48:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241023T024849&type=1&operation_type=1&fn_number=0000000000965420&fd_number=24462&fm=99241886680940&tin=02508201610067®Number=0000000000098120&sum=26300 [02:48:45]line 0 [02:48:45]OFD Sender: Processing packet 24462 [packets to send 5, broken 4] [02:48:45]ProducePacketName [02:48:45]name=ofd_packets/00024462 [02:48:45]OFD Sender: To server: pG, [02:48:45]CommunicateWithHost lk.salyk.kg:30040 [02:48:45]ConnectInit lk.salyk.kg [02:48:45]written 0, free lines is 4095 [02:48:45]Connected sock=10 [02:48: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 85 01 00 00 DA C0 7D 01 AB 3F 5A 03 01 00 03 00 71 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 66 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E9 0A 00 00 00 00 07 04 06 00 BC 66 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 11 64 18 67 0E 04 04 00 CF 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 8E 5F 00 00 35 04 06 00 5A 42 8D 67 07 6C 9C CB 3E 93 D9 D8 8B 42 [02:48:45]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 E3 B0 47 00 E0 17 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 10 04 04 00 8E 5F 00 00 F4 03 04 00 B3 0F 18 67 B6 04 01 00 00 C9 C8 B0 19 33 81 20 B6 [02:48:45]CommunicateWithHost err = 0 [02:48:45]CheckOFDResponse [02:48:45]1017 (14) - 77093643461234 [02:48:45]1041 (16) - 0000000000965420 [02:48:45]1040 (4) - 24462 [02:48:45]1012 (4) - 22.10.2024 20:48 [02:48:45]1206 (1) - 0 [02:48:45]OFD Sender: Remove packet 24462 [02:48:45]ProducePacketName [02:48:45]name=ofd_packets/00024462 [02:48:45]NVStorageDeleteData [02:48:45]Write to MH i2c: 01 00 00 AA 1A C4 [02:48:45]Write i2c OK [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: 01 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: 01 07 00 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: 01 07 00 AA 1A 00 00 00 00 00 B7 0C 8E [02:48:45]RasterBufferAndPrint [02:48:45]line [02:48:45]line [02:48:45]line [02:48:45]line [02:48:45]line [02:48:45]written 0, free lines is 3264 [02:48:45]process_action close_receipt done [02:48:45]requested_data is exist [02:48:45]produce_requested_data [02:48:45]requested_item fm.sn is exist - process it [02:48:45]wFMCommunicate request_size=4 [02:48:45]MH_SAM_APDU [02:48:45]CAPDU: 80 11 00 00 [02:48:45]Write to MH i2c: E2 08 00 B1 1A 80 11 00 00 00 00 00 00 45 [02:48:45]Write i2c OK [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 [02:48:45]MH_I2C_Read... [02:48:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:48:45]Read from MH i2c: E2 17 00 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 17 00 B1 1A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 92 [02:48:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 39 36 35 34 32 30 90 00 [02:48:45]wFMCommunicate OK [02:48:45]requested_item fd.num is exist - process it [02:48:45]SAM_PROTO_GetFieldsCounters [02:48:45]wFMCommunicate request_size=4 [02:48:45]MH_SAM_APDU [02:48:45]CAPDU: 80 13 00 00 [02:48:45]Write to MH i2c: E2 08 00 B2 1A 80 13 00 00 00 00 00 00 48 [02:48:45]Write i2c OK [02:48:45]MH_I2C_Read... [02:48:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:48:45]Read from MH i2c: E2 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 62 00 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 62 00 B2 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 8E 5F 00 00 0E 04 04 00 CF 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 39 [02:48: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 8E 5F 00 00 0E 04 04 00 CF 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 [02:48:45]wFMCommunicate OK [02:48:45]SAM_PROTO_GetFieldsCounters done [02:48:45]requested_item shift.num is exist - process it [02:48:45]requested_item shift.opened is exist - process it [02:48:45]req_shift_opened [02:48:45]FM_GetShiftState [02:48:45]SAM_PROTO_GetShiftState [02:48:45]wFMCommunicate request_size=4 [02:48:45]MH_SAM_APDU [02:48:45]CAPDU: 80 13 01 00 [02:48:45]Write to MH i2c: E2 08 00 B3 1A 80 13 01 00 00 00 00 00 4A [02:48:45]Write i2c OK [02:48:45]MH_I2C_Read... [02:48:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:48:45]Read from MH i2c: E2 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 0E 00 [02:48:45]MH_I2C_Read... [02:48:45]Read from MH i2c: E2 0E 00 B3 1A 00 09 00 01 CE 3D 18 67 00 00 00 00 90 00 E0 [02:48:45]RAPDU: 09 00 01 CE 3D 18 67 00 00 00 00 90 00 [02:48:45]wFMCommunicate OK [02:48:45]SAM_PROTO_GetShiftState done [02:48:45]FM_GetShiftState done [02:48:45]req_shift_opened done [02:48:45]requested_item shift.open_date is exist - process it [02:48:45]req_shift_open_date [02:48:45]req_shift_open_date done [02:48:45]produce_requested_data done [02:48:45]produce_requested_data return {"fm.sn":"0000000000965420","fd.num":24462,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934} [02:48:45]process_action_free close_receipt [02:48:45]json_value_free [02:48:45]json_value_free done [02:48:45]process_json_proto returns [02:48:45]Send response to host [02:48:45]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000965420","fd.num":24462,"shift.num":463,"shift.opened":1,"shift.open_date":1729641934}}} [02:48:45]free response buf [02:48:45]execute_script done [02:48:45]execute_script returns [02:48:45]free content buf [02:48:45]Sock 7.Close socket [02:48:45]Sock 7.Thread stoped [02:48:45]OFD Sender: No OFD packet to send [02:48:50]OFD Sender: No OFD packet to send [02:48:55]OFD Sender: No OFD packet to send [02:49:00]OFD Sender: No OFD packet to send [02:49:05]OFD Sender: No OFD packet to send [02:49:10]OFD Sender: No OFD packet to send [02:49:15]OFD Sender: No OFD packet to send [02:49:20]OFD Sender: No OFD packet to send [02:49:25]OFD Sender: No OFD packet to send [02:49:30]OFD Sender: No OFD packet to send [02:49:35]OFD Sender: No OFD packet to send [02:49:40]OFD Sender: No OFD packet to send [02:49:45]OFD Sender: No OFD packet to send [02:49:50]OFD Sender: No OFD packet to send [02:49:55]OFD Sender: No OFD packet to send [02:50:00]OFD Sender: No OFD packet to send [02:50:05]OFD Sender: No OFD packet to send [02:50:10]OFD Sender: No OFD packet to send [02:50:15]OFD Sender: No OFD packet to send [02:50:20]OFD Sender: No OFD packet to send [02:50:25]OFD Sender: No OFD packet to send [02:50:30]OFD Sender: No OFD packet to send [02:50:35]OFD Sender: No OFD packet to send [02:50:40]OFD Sender: No OFD packet to send [02:50:45]OFD Sender: No OFD packet to send [02:50:50]OFD Sender: No OFD packet to send [02:50:55]OFD Sender: No OFD packet to send [02:51:00]OFD Sender: No OFD packet to send [02:51:05]OFD Sender: No OFD packet to send [02:51:10]OFD Sender: No OFD packet to send [02:51:15]OFD Sender: No OFD packet to send [02:51:20]OFD Sender: No OFD packet to send [02:51:25]OFD Sender: No OFD packet to send [02:51:30]OFD Sender: No OFD packet to send [02:51:35]OFD Sender: No OFD packet to send [02:51:40]OFD Sender: No OFD packet to send [02:51:45]OFD Sender: No OFD packet to send [02:51:50]OFD Sender: No OFD packet to send [02:51:55]OFD Sender: No OFD packet to send [02:52:00]OFD Sender: No OFD packet to send [02:52:06]OFD Sender: No OFD packet to send [02:52:11]OFD Sender: No OFD packet to send [02:52:16]OFD Sender: No OFD packet to send [02:52:21]OFD Sender: No OFD packet to send [02:52:26]OFD Sender: No OFD packet to send [02:52:31]OFD Sender: No OFD packet to send [02:52:36]OFD Sender: No OFD packet to send [02:52:41]OFD Sender: No OFD packet to send [02:52:46]OFD Sender: No OFD packet to send [02:52:51]OFD Sender: No OFD packet to send [02:52:56]OFD Sender: No OFD packet to send [02:53:01]OFD Sender: No OFD packet to send [02:53:06]OFD Sender: No OFD packet to send [02:53:11]OFD Sender: No OFD packet to send [02:53:16]OFD Sender: No OFD packet to send [02:53:21]OFD Sender: No OFD packet to send [02:53:26]OFD Sender: No OFD packet to send [02:53:31]OFD Sender: No OFD packet to send [02:53:36]OFD Sender: No OFD packet to send [02:53:41]OFD Sender: No OFD packet to send [02:53:46]OFD Sender: No OFD packet to send [02:53:51]OFD Sender: No OFD packet to send [02:53:56]OFD Sender: No OFD packet to send [02:54:01]OFD Sender: No OFD packet to send [02:54:06]OFD Sender: No OFD packet to send [02:54:11]OFD Sender: No OFD packet to send [02:54:16]OFD Sender: No OFD packet to send [02:54:21]OFD Sender: No OFD packet to send [02:54:26]OFD Sender: No OFD packet to send [02:54:31]OFD Sender: No OFD packet to send [02:54:36]OFD Sender: No OFD packet to send [02:54:41]OFD Sender: No OFD packet to send [02:54:46]OFD Sender: No OFD packet to send [02:54:51]OFD Sender: No OFD packet to send [02:54:56]OFD Sender: No OFD packet to send [02:55:01]OFD Sender: No OFD packet to send [02:55:06]OFD Sender: No OFD packet to send [02:55:11]OFD Sender: No OFD packet to send [02:55:16]OFD Sender: No OFD packet to send [02:55:21]OFD Sender: No OFD packet to send [02:55:26]OFD Sender: No OFD packet to send [02:55:31]OFD Sender: No OFD packet to send [02:55:36]OFD Sender: No OFD packet to send [02:55:41]OFD Sender: No OFD packet to send [02:55:46]OFD Sender: No OFD packet to send [02:55:51]OFD Sender: No OFD packet to send [02:55:56]OFD Sender: No OFD packet to send [02:56:01]OFD Sender: No OFD packet to send [02:56:06]OFD Sender: No OFD packet to send [02:56:11]OFD Sender: No OFD packet to send [02:56:16]OFD Sender: No OFD packet to send [02:56:21]OFD Sender: No OFD packet to send [02:56:26]OFD Sender: No OFD packet to send [02:56:31]OFD Sender: No OFD packet to send [02:56:36]OFD Sender: No OFD packet to send [02:56:41]OFD Sender: No OFD packet to send [02:56:46]OFD Sender: No OFD packet to send [02:56:51]OFD Sender: No OFD packet to send [02:56:56]OFD Sender: No OFD packet to send [02:57:01]OFD Sender: No OFD packet to send [02:57:06]OFD Sender: No OFD packet to send [02:57:11]OFD Sender: No OFD packet to send [02:57:16]OFD Sender: No OFD packet to send [02:57:21]OFD Sender: No OFD packet to send [02:57:26]OFD Sender: No OFD packet to send [02:57:31]OFD Sender: No OFD packet to send [02:57:36]OFD Sender: No OFD packet to send [02:57:41]OFD Sender: No OFD packet to send [02:57:46]OFD Sender: No OFD packet to send [02:57:51]OFD Sender: No OFD packet to send [02:57:56]OFD Sender: No OFD packet to send [02:58:01]OFD Sender: No OFD packet to send [02:58:06]OFD Sender: No OFD packet to send [02:58:11]OFD Sender: No OFD packet to send [02:58:16]OFD Sender: No OFD packet to send [02:58:21]OFD Sender: No OFD packet to send [02:58:26]OFD Sender: No OFD packet to send [02:58:31]OFD Sender: No OFD packet to send [02:58:36]OFD Sender: No OFD packet to send [02:58:41]OFD Sender: No OFD packet to send [02:58:46]OFD Sender: No OFD packet to send [02:58:51]OFD Sender: No OFD packet to send [02:58:56]OFD Sender: No OFD packet to send [02:59:01]OFD Sender: No OFD packet to send [02:59:06]OFD Sender: No OFD packet to send [02:59:11]OFD Sender: No OFD packet to send [02:59:16]OFD Sender: No OFD packet to send [02:59:21]OFD Sender: No OFD packet to send [02:59:26]OFD Sender: No OFD packet to send [02:59:31]OFD Sender: No OFD packet to send [02:59:36]OFD Sender: No OFD packet to send [02:59:41]OFD Sender: No OFD packet to send [02:59:46]OFD Sender: No OFD packet to send [02:59:51]OFD Sender: No OFD packet to send