[03:02:47]OFD Sender: No OFD packet to send [03:02:52]OFD Sender: No OFD packet to send [03:02:57]OFD Sender: No OFD packet to send [03:03:02]OFD Sender: No OFD packet to send [03:03:07]OFD Sender: No OFD packet to send [03:03:12]OFD Sender: No OFD packet to send [03:03:17]OFD Sender: No OFD packet to send [03:03:22]OFD Sender: No OFD packet to send [03:03:27]OFD Sender: No OFD packet to send [03:03:32]OFD Sender: No OFD packet to send [03:03:37]OFD Sender: No OFD packet to send [03:03:42]OFD Sender: No OFD packet to send [03:03:47]OFD Sender: No OFD packet to send [03:03:52]OFD Sender: No OFD packet to send [03:03:57]OFD Sender: No OFD packet to send [03:04:02]OFD Sender: No OFD packet to send [03:04:07]OFD Sender: No OFD packet to send [03:04:12]OFD Sender: No OFD packet to send [03:04:17]OFD Sender: No OFD packet to send [03:04:22]OFD Sender: No OFD packet to send [03:04:27]OFD Sender: No OFD packet to send [03:04:32]OFD Sender: No OFD packet to send [03:04:37]OFD Sender: No OFD packet to send [03:04:42]OFD Sender: No OFD packet to send [03:04:47]OFD Sender: No OFD packet to send [03:04:52]OFD Sender: No OFD packet to send [03:04:57]OFD Sender: No OFD packet to send [03:05:02]OFD Sender: No OFD packet to send [03:05:07]OFD Sender: No OFD packet to send [03:05:12]OFD Sender: No OFD packet to send [03:05:17]OFD Sender: No OFD packet to send [03:05:22]OFD Sender: No OFD packet to send [03:05:27]OFD Sender: No OFD packet to send [03:05:32]OFD Sender: No OFD packet to send [03:05:37]OFD Sender: No OFD packet to send [03:05:42]OFD Sender: No OFD packet to send [03:05:47]OFD Sender: No OFD packet to send [03:05:52]OFD Sender: No OFD packet to send [03:05:57]OFD Sender: No OFD packet to send [03:06:02]OFD Sender: No OFD packet to send [03:06:07]OFD Sender: No OFD packet to send [03:06:12]OFD Sender: No OFD packet to send [03:06:17]OFD Sender: No OFD packet to send [03:06:22]OFD Sender: No OFD packet to send [03:06:27]OFD Sender: No OFD packet to send [03:06:32]OFD Sender: No OFD packet to send [03:06:37]OFD Sender: No OFD packet to send [03:06:42]OFD Sender: No OFD packet to send [03:06:47]OFD Sender: No OFD packet to send [03:06:52]OFD Sender: No OFD packet to send [03:06:57]OFD Sender: No OFD packet to send [03:07:02]OFD Sender: No OFD packet to send [03:07:07]OFD Sender: No OFD packet to send [03:07:12]OFD Sender: No OFD packet to send [03:07:17]OFD Sender: No OFD packet to send [03:07:22]OFD Sender: No OFD packet to send [03:07:27]OFD Sender: No OFD packet to send [03:07:32]OFD Sender: No OFD packet to send [03:07:37]OFD Sender: No OFD packet to send [03:07:42]OFD Sender: No OFD packet to send [03:07:47]OFD Sender: No OFD packet to send [03:07:52]OFD Sender: No OFD packet to send [03:07:57]OFD Sender: No OFD packet to send [03:08:02]OFD Sender: No OFD packet to send [03:08:07]OFD Sender: No OFD packet to send [03:08:12]OFD Sender: No OFD packet to send [03:08:17]OFD Sender: No OFD packet to send [03:08:22]OFD Sender: No OFD packet to send [03:08:27]OFD Sender: No OFD packet to send [03:08:32]OFD Sender: No OFD packet to send [03:08:37]OFD Sender: No OFD packet to send [03:08:42]OFD Sender: No OFD packet to send [03:08:47]OFD Sender: No OFD packet to send [03:08:52]OFD Sender: No OFD packet to send [03:08:57]OFD Sender: No OFD packet to send [03:09:02]OFD Sender: No OFD packet to send [03:09:07]OFD Sender: No OFD packet to send [03:09:12]OFD Sender: No OFD packet to send [03:09:17]OFD Sender: No OFD packet to send [03:09:22]OFD Sender: No OFD packet to send [03:09:27]OFD Sender: No OFD packet to send [03:09:32]OFD Sender: No OFD packet to send [03:09:37]OFD Sender: No OFD packet to send [03:09:42]OFD Sender: No OFD packet to send [03:09:47]OFD Sender: No OFD packet to send [03:09:52]OFD Sender: No OFD packet to send [03:09:57]OFD Sender: No OFD packet to send [03:10:02]OFD Sender: No OFD packet to send [03:10:07]OFD Sender: No OFD packet to send [03:10:12]OFD Sender: No OFD packet to send [03:10:17]OFD Sender: No OFD packet to send [03:10:22]OFD Sender: No OFD packet to send [03:10:27]OFD Sender: No OFD packet to send [03:10:32]OFD Sender: No OFD packet to send [03:10:37]OFD Sender: No OFD packet to send [03:10:42]OFD Sender: No OFD packet to send [03:10:47]OFD Sender: No OFD packet to send [03:10:52]OFD Sender: No OFD packet to send [03:10:57]OFD Sender: No OFD packet to send [03:11:02]OFD Sender: No OFD packet to send [03:11:07]OFD Sender: No OFD packet to send [03:11:12]OFD Sender: No OFD packet to send [03:11:17]OFD Sender: No OFD packet to send [03:11:22]OFD Sender: No OFD packet to send [03:11:27]OFD Sender: No OFD packet to send [03:11:32]OFD Sender: No OFD packet to send [03:11:37]OFD Sender: No OFD packet to send [03:11:42]OFD Sender: No OFD packet to send [03:11:47]OFD Sender: No OFD packet to send [03:11:52]OFD Sender: No OFD packet to send [03:11:57]OFD Sender: No OFD packet to send [03:12:02]OFD Sender: No OFD packet to send [03:12:07]OFD Sender: No OFD packet to send [03:12:12]OFD Sender: No OFD packet to send [03:12:17]OFD Sender: No OFD packet to send [03:12:22]OFD Sender: No OFD packet to send [03:12:27]OFD Sender: No OFD packet to send [03:12:32]OFD Sender: No OFD packet to send [03:12:37]OFD Sender: No OFD packet to send [03:12:42]OFD Sender: No OFD packet to send [03:12:47]OFD Sender: No OFD packet to send [03:12:52]OFD Sender: No OFD packet to send [03:12:57]OFD Sender: No OFD packet to send [03:13:02]OFD Sender: No OFD packet to send [03:13:07]OFD Sender: No OFD packet to send [03:13:12]OFD Sender: No OFD packet to send [03:13:17]OFD Sender: No OFD packet to send [03:13:22]OFD Sender: No OFD packet to send [03:13:27]OFD Sender: No OFD packet to send [03:13:32]OFD Sender: No OFD packet to send [03:13:37]OFD Sender: No OFD packet to send [03:13:42]OFD Sender: No OFD packet to send [03:13:47]OFD Sender: No OFD packet to send [03:13:52]OFD Sender: No OFD packet to send [03:13:57]OFD Sender: No OFD packet to send [03:14:02]OFD Sender: No OFD packet to send [03:14:07]OFD Sender: No OFD packet to send [03:14:12]OFD Sender: No OFD packet to send [03:14:17]OFD Sender: No OFD packet to send [03:14:22]OFD Sender: No OFD packet to send [03:14:27]OFD Sender: No OFD packet to send [03:14:32]OFD Sender: No OFD packet to send [03:14:37]OFD Sender: No OFD packet to send [03:14:42]OFD Sender: No OFD packet to send [03:14:47]OFD Sender: No OFD packet to send [03:14:52]OFD Sender: No OFD packet to send [03:14:57]OFD Sender: No OFD packet to send [03:15:02]OFD Sender: No OFD packet to send [03:15:07]OFD Sender: No OFD packet to send [03:15:12]OFD Sender: No OFD packet to send [03:15:17]OFD Sender: No OFD packet to send [03:15:22]OFD Sender: No OFD packet to send [03:15:27]OFD Sender: No OFD packet to send [03:15:32]OFD Sender: No OFD packet to send [03:15:37]OFD Sender: No OFD packet to send [03:15:42]OFD Sender: No OFD packet to send [03:15:47]OFD Sender: No OFD packet to send [03:15:52]OFD Sender: No OFD packet to send [03:15:57]OFD Sender: No OFD packet to send [03:16:02]OFD Sender: No OFD packet to send [03:16:07]OFD Sender: No OFD packet to send [03:16:12]OFD Sender: No OFD packet to send [03:16:17]OFD Sender: No OFD packet to send [03:16:22]OFD Sender: No OFD packet to send [03:16:27]OFD Sender: No OFD packet to send [03:16:32]OFD Sender: No OFD packet to send [03:16:37]OFD Sender: No OFD packet to send [03:16:42]OFD Sender: No OFD packet to send [03:16:47]OFD Sender: No OFD packet to send [03:16:52]OFD Sender: No OFD packet to send [03:16:57]OFD Sender: No OFD packet to send [03:17:02]OFD Sender: No OFD packet to send [03:17:07]OFD Sender: No OFD packet to send [03:17:12]OFD Sender: No OFD packet to send [03:17:17]OFD Sender: No OFD packet to send [03:17: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:04]OFD Sender: No OFD packet to send [03:36:09]OFD Sender: No OFD packet to send [03:36:14]OFD Sender: No OFD packet to send [03:36:19]OFD Sender: No OFD packet to send [03:36:24]OFD Sender: No OFD packet to send [03:36:29]OFD Sender: No OFD packet to send [03:36:34]OFD Sender: No OFD packet to send [03:36:39]OFD Sender: No OFD packet to send [03:36:44]OFD Sender: No OFD packet to send [03:36:49]OFD Sender: No OFD packet to send [03:36:54]OFD Sender: No OFD packet to send [03:36:59]OFD Sender: No OFD packet to send [03:37:04]OFD Sender: No OFD packet to send [03:37:09]OFD Sender: No OFD packet to send [03:37:14]OFD Sender: No OFD packet to send [03:37:19]OFD Sender: No OFD packet to send [03:37:24]OFD Sender: No OFD packet to send [03:37:29]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:19]OFD Sender: No OFD packet to send [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:30]accept exits with 7 [03:47:30]New connection [03:47:30]New thread 3067440484 created [03:47:30]Thread 3067297124 joined [03:47:30]Waiting for new connection... [03:47:30] Sock 7.Parse request [03:47:30]Sock 7.Check first char [03:47:30]Sock 7.First char is OK [03:47:30]request: POST /json_proto HTTP/1.0 [03:47:30]Method: POST [03:47:30]URL: /json_proto [03:47:30]Method is POST - this is cgi request [03:47:30]url: /json_proto [03:47:30]query_string will be loaded in cgi processing [03:47:30]execute_cgi json_proto POST (null) [03:47:30]execute_cgi path=json_proto method=POST [03:47:30]POST find Content-Length [03:47:30]Host: 172.17.40.196:8080 [03:47:30]Content-Length: 1217 [03:47:30]Content-Type: application/json [03:47:30] [03:47:30]POST finish read [03:47:30]Found Content-Length = 1217 [03:47:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35141", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:47:30]execute_script... [03:47:30]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35141", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 374.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [03:47:30]POST & json_proto [03:47:30]process_json_proto [03:47:30]json parsed OK: [03:47:30]protocol is kg_v1.0 [03:47:30]action value=close_receipt [03:47:30]process_action close_receipt [03:47:30]cmd_close_receipt [03:47:30]MH_GetDate [03:47:30]Write to MH i2c: F0 00 00 5B 30 7A [03:47:30]Write i2c OK [03:47:30]MH_I2C_Read... [03:47:30]Read from MH i2c: F0 [03:47:30]MH_I2C_Read... [03:47:30]Read from MH i2c: F0 09 00 [03:47:30]MH_I2C_Read... [03:47:30]Read from MH i2c: F0 09 00 5B 30 00 DD 5A 20 67 5B 68 A1 66 0B [03:47:30]GetLastDocTimeStamp 1730168060 [03:47:30]current date 1730173661 [03:47:30]FM_GetShiftState [03:47:30]SAM_PROTO_GetShiftState [03:47:30]wFMCommunicate request_size=4 [03:47:30]MH_SAM_APDU [03:47:30]CAPDU: 80 13 01 00 [03:47:30]Write to MH i2c: E2 08 00 5C 30 80 13 01 00 00 00 00 00 09 [03:47:30]Write i2c OK [03:47:30]MH_I2C_Read... [03:47:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:47:30]Read from MH i2c: E2 [03:47:30]MH_I2C_Read... [03:47:30]Read from MH i2c: E2 0E 00 [03:47:30]MH_I2C_Read... [03:47:30]Read from MH i2c: E2 0E 00 5C 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7F [03:47:30]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [03:47:30]wFMCommunicate OK [03:47:30]SAM_PROTO_GetShiftState done [03:47:30]FM_GetShiftState done [03:47:30]opened in 1730160317 [03:47:30]opened+sec_in_day 1730246717 [03:47:30]quantity*price = 14400 [03:47:30]sum+1 = 14401 [03:47:30]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870145004968 Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б 1.000 * 105.00 = 105.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000006271 Напиток Фанта 1л 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 374.00 НСП 1% : 3.31 НДС 12% : 39.71 Наличными: 374.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 5 29.10.2024 03:47 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37843 ФПД: 237236393278915 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034741&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37843&fm=237236393278915&tin=02508201610067®Number=0000000000091684&sum=37400 0 [03:47:31]StoreToDocumentArchive [03:47:31]shift 552 fd 37843 [03:47:31]save to /storage/0552/doc_00037843 [03:47:31]save last doc name /storage/0552/doc_00037843 to /storage/kkm_last_doc_name [03:47:31]save OK [03:47:31]Clear old archive folders... [03:47:31]ProcessDocumentItem done err = 0, tmpTLVsize=510 [03:47:31]tlvbuf is 00210210 [03:47:31]SAM_PROTO_ClearQueue [03:47:31]wFMCommunicate request_size=4 [03:47:31]MH_SAM_APDU [03:47:31]CAPDU: 80 09 00 00 [03:47:31]Write to MH i2c: E2 08 00 69 30 80 09 00 00 00 00 00 00 0B [03:47:31]Write i2c OK [03:47:31]MH_I2C_Read... [03:47:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:47:31]Read from MH i2c: E2 [03:47:31]MH_I2C_Read... [03:47:31]Read from MH i2c: E2 03 00 [03:47:31]MH_I2C_Read... [03:47:31]Read from MH i2c: E2 03 00 69 30 00 90 00 0D [03:47:31]RAPDU: 90 00 [03:47:31]wFMCommunicate OK [03:47:31]SAM_PROTO_ClearQueue done [03:47:31]KKMCreateOFDPacket [03:47:31]OFDProtocolAddRootSTLVToBuf [03:47:31]FM_MakeSignedData [03:47:31]FM_MakeSignedData [03:47:31]SAM_PROTO_SignData [03:47:31]wFMCommunicate request_size=4 [03:47:31]MH_SAM_APDU [03:47:31]CAPDU: 80 0D 01 02 [03:47:31]Write to MH i2c: E2 08 00 6A 30 80 0D 01 02 00 00 00 00 13 [03:47:31]Write i2c OK [03:47:31]MH_I2C_Read... [03:47:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:47:31]Read from MH i2c: E2 [03:47:31]MH_I2C_Read... [03:47:31]Read from MH i2c: E2 03 00 [03:47:31]MH_I2C_Read... [03:47:31]Read from MH i2c: E2 03 00 6A 30 00 90 00 0E [03:47:31]RAPDU: 90 00 [03:47:31]wFMCommunicate OK [03:47:31]wFMCommunicate request_size=255 [03:47:31]MH_SAM_APDU [03:47:31]CAPDU: 80 0D 02 02 FA 03 00 FE 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 [03:47:32]Write to MH i2c: E2 02 01 6B 30 80 0D 02 02 FA 00 03 00 FE 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 00 00 CB [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:47:32]Read from MH i2c: E2 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 6B 30 00 90 00 0F [03:47:32]RAPDU: 90 00 [03:47:32]wFMCommunicate OK [03:47:32]wFMCommunicate request_size=255 [03:47:32]MH_SAM_APDU [03:47:32]CAPDU: 80 0D 02 02 FA 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 DD 5A 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 [03:47:32]Write to MH i2c: E2 02 01 6C 30 80 0D 02 02 FA 00 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 DD 5A 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 00 B7 [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:47:32]Read from MH i2c: E2 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 6C 30 00 90 00 10 [03:47:32]RAPDU: 90 00 [03:47:32]wFMCommunicate OK [03:47:32]wFMCommunicate request_size=19 [03:47:32]MH_SAM_APDU [03:47:32]CAPDU: 80 0D 02 02 0E D3 93 00 00 35 04 06 00 D7 C3 E6 F2 FD C3 [03:47:32]Write to MH i2c: E2 16 00 6D 30 80 0D 02 02 0E 00 D3 93 00 00 35 04 06 00 D7 C3 E6 F2 FD C3 00 00 0A [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:47:32]Read from MH i2c: E2 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 03 00 6D 30 00 90 00 11 [03:47:32]RAPDU: 90 00 [03:47:32]wFMCommunicate OK [03:47:32]wFMCommunicate request_size=4 [03:47:32]MH_SAM_APDU [03:47:32]CAPDU: 80 0D 03 02 [03:47:32]Write to MH i2c: E2 08 00 6E 30 80 0D 03 02 00 00 00 00 19 [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:47:32]Read from MH i2c: E2 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 0B 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 0B 00 6E 30 00 A8 1F CD 38 F7 D9 77 44 90 00 71 [03:47:32]RAPDU: A8 1F CD 38 F7 D9 77 44 90 00 [03:47:32]wFMCommunicate OK [03:47:32]SAM_PROTO_SignData done [03:47:32]FM_MakeSignedData done [03:47:32]CreateOFDProtocolMessage [03:47:32]wFMCommunicate request_size=4 [03:47:32]MH_SAM_APDU [03:47:32]CAPDU: 80 11 00 00 [03:47:32]Write to MH i2c: E2 08 00 6F 30 80 11 00 00 00 00 00 00 19 [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:47:32]Read from MH i2c: E2 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 17 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: E2 17 00 6F 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 69 [03:47:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:47:32]wFMCommunicate OK [03:47:32]CreateOFDProtocolMessage done [03:47:32]OFDSenderStorePacket 37843 [03:47:32]StoreOFDPacket docnum=37843 [03:47:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 02 00 00 2F 0E 0A 02 BA 2E 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 DD 5A 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D3 93 00 00 35 04 06 00 D7 C3 E6 F2 FD C3 A8 1F CD 38 F7 D9 77 44 [03:47:32]CheckFolder [03:47:32]dirname=/storage/ofd_packets [03:47:32]CheckFolder done [03:47:32]ProducePacketName [03:47:32]name=ofd_packets/00037843 [03:47:32]NVStorageSaveData ofd_packets/00037843 [03:47:32]File name is /storage/ofd_packets/00037843 [03:47:32]Write 560 bytes [03:47:32]NVStorageSaveData done [03:47:32]OFDSenderStorePacket done [03:47:32]KKMCreateOFDPacket done [03:47:32]NVStorageSaveData kkm_last_timestamp [03:47:32]File name is /storage/kkm_last_timestamp [03:47:32]Write 4 bytes [03:47:32]NVStorageSaveData done [03:47:32]ExternCall_PrintAddStr [03:47:32]wPrintStart [03:47:32]Write to MH i2c: 01 00 00 70 30 A0 [03:47:32]Write i2c OK [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: 01 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: 01 07 00 [03:47:32]MH_I2C_Read... [03:47:32]Read from MH i2c: 01 07 00 70 30 00 00 00 00 00 FF 0F B5 [03:47:32]RasterBufferAndPrint [03:47:32]line Счет N : (3)35141 [03:47:32]line ИНН: 02508201610067 [03:47:32]line Контрольно-Кассовый Чек [03:47:32]line ПРОДАЖА [03:47:32]line Товар: 48743570 [03:47:32]line Сигареты Winston XStyle Blue [03:47:32]line 1.000 * 144.00 [03:47:32]line = 144.00 [03:47:32]line НДС 12% НСП 1% [03:47:32]line > о реализуемом товаре [03:47:32]line Товар: 4870145004968 [03:47:32]line Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б [03:47:32]line 1.000 * 105.00 [03:47:32]line = 105.00 [03:47:32]line НДС 12% НСП 1% [03:47:32]line > о реализуемом товаре [03:47:32]line Товар: 5449000006271 [03:47:32]line Напиток Фанта 1л [03:47:32]line 1.000 * 125.00 [03:47:32]line = 125.00 [03:47:32]line НДС 12% НСП 1% [03:47:32]line > о реализуемом товаре [03:47:32]line ИТОГО: 374.00 [03:47:32]line НСП 1% : 3.31 [03:47:32]line НДС 12% : 39.71 [03:47:32]line Наличными: 374.00 [03:47:32]line Безнал.: 0.00 [03:47:32]line Место: АЗС № 126 "Партнер Нефть" [03:47:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [03:47:32]line СНО: Общий режим [03:47:32]line Чек 5 29.10.2024 03:47 [03:47:32]line Смена: 552 ФФД: 1.0 [03:47:32]line ЗНМ: 0300000092 [03:47:32]line РНМ: 0000000000091684 [03:47:32]line Версия ККМ: 001 [03:47:32]line ФМ: 0000000000871841 [03:47:32]line ФД: 37843 [03:47:32]line ФПД: 237236393278915 [03:47:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T034741&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37843&fm=237236393278915&tin=02508201610067®Number=0000000000091684&sum=37400 [03:47:33]OFD Sender: Processing packet 37843 [packets to send 42, broken 41] [03:47:33]ProducePacketName [03:47:33]name=ofd_packets/00037843 [03:47:33]OFD Sender: To server: pG, [03:47:33]CommunicateWithHost lk.salyk.kg:30040 [03:47:33]ConnectInit lk.salyk.kg [03:47:33]line 0 [03:47:33]written 0, free lines is 4095 [03:47:33]Write to MH i2c: 01 00 00 A5 30 D5 [03:47:33]Write i2c OK [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: 01 [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: 01 07 00 [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: 01 07 00 A5 30 00 00 00 00 00 EF 0B D6 [03:47:33]RasterBufferAndPrint [03:47:33]line [03:47:33]line [03:47:33]line [03:47:33]line [03:47:33]line [03:47:33]written 0, free lines is 3060 [03:47:33]MH_Cut [03:47:33]Write to MH i2c: D1 01 00 AC 30 01 AE [03:47:33]Write i2c OK [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: D1 [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: D1 01 00 [03:47:33]MH_I2C_Read... [03:47:33]Read from MH i2c: D1 01 00 AC 30 00 AD [03:47:33]Write to MH i2c: 01 00 00 AD 30 DD [03:47:33]Write i2c OK [03:47:33]MH_I2C_Read... [03:47:34]Connected sock=11 [03:47:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 02 00 00 2F 0E 0A 02 BA 2E 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 18 92 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 4B 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 83 0F 00 00 00 00 07 04 06 00 18 92 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 DD 5A 20 *** Cut start [03:47:34]67 0E 04 04 00 28 02 00 00 B9 04 01 00 *** Partial cut [03:47:34]01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 *** CUTSNS_PIN = 1 [03:47:34]31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D3 93 00 00 35 04 06 00 D7 C3 E6 F2 FD C3 A8 1F CD 38 F7 D9 77 44 [03:47:34]*** CUTSNS_PIN = 0 [03:47:35]*** Brake cut motor [03:47:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 29 73 47 00 F9 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 38 37 31 38 34 31 10 04 04 00 D3 93 00 00 F4 03 04 00 D2 05 20 67 B6 04 01 00 00 F6 F4 D5 18 74 57 A8 EF [03:47:35]CommunicateWithHost err = 0 [03:47:35]CheckOFDResponse [03:47:35]1017 (14) - 77093643461234 [03:47:35]1041 (16) - 0000000000871841 [03:47:35]1040 (4) - 37843 [03:47:35]1012 (4) - 28.10.2024 21:44 [03:47:35]1206 (1) - 0 [03:47:35]OFD Sender: Remove packet 37843 [03:47:35]ProducePacketName [03:47:35]name=ofd_packets/00037843 [03:47:35]NVStorageDeleteData [03:47:35]Read from MH i2c: 01 [03:47:35]MH_I2C_Read... [03:47:35]*** Stop cut motor [03:47:35]*** Cut end [03:47:35]Read from MH i2c: 01 07 00 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: 01 07 00 AD 30 00 00 00 00 00 FF 0F F2 [03:47:35]process_action close_receipt done [03:47:35]requested_data is exist [03:47:35]produce_requested_data [03:47:35]requested_item fm.sn is exist - process it [03:47:35]wFMCommunicate request_size=4 [03:47:35]MH_SAM_APDU [03:47:35]CAPDU: 80 11 00 00 [03:47:35]Write to MH i2c: E2 08 00 AE 30 80 11 00 00 00 00 00 00 58 [03:47:35]Write i2c OK [03:47:35]MH_I2C_Read... [03:47:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:47:35]Read from MH i2c: E2 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 17 00 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 17 00 AE 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A8 [03:47:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [03:47:35]wFMCommunicate OK [03:47:35]requested_item fd.num is exist - process it [03:47:35]SAM_PROTO_GetFieldsCounters [03:47:35]wFMCommunicate request_size=4 [03:47:35]MH_SAM_APDU [03:47:35]CAPDU: 80 13 00 00 [03:47:35]Write to MH i2c: E2 08 00 AF 30 80 13 00 00 00 00 00 00 5B [03:47:35]Write i2c OK [03:47:35]MH_I2C_Read... [03:47:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:47:35]Read from MH i2c: E2 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 62 00 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 62 00 AF 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 1B [03:47:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 05 00 00 00 5E 04 04 00 05 00 00 00 57 04 04 00 06 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:47:35]wFMCommunicate OK [03:47:35]SAM_PROTO_GetFieldsCounters done [03:47:35]requested_item shift.num is exist - process it [03:47:35]requested_item shift.opened is exist - process it [03:47:35]req_shift_opened [03:47:35]FM_GetShiftState [03:47:35]SAM_PROTO_GetShiftState [03:47:35]wFMCommunicate request_size=4 [03:47:35]MH_SAM_APDU [03:47:35]CAPDU: 80 13 01 00 [03:47:35]Write to MH i2c: E2 08 00 B0 30 80 13 01 00 00 00 00 00 5D [03:47:35]Write i2c OK [03:47:35]MH_I2C_Read... [03:47:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:47:35]Read from MH i2c: E2 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 0E 00 [03:47:35]MH_I2C_Read... [03:47:35]Read from MH i2c: E2 0E 00 B0 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 D3 [03:47:35]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [03:47:35]wFMCommunicate OK [03:47:35]SAM_PROTO_GetShiftState done [03:47:35]FM_GetShiftState done [03:47:35]req_shift_opened done [03:47:35]requested_item shift.open_date is exist - process it [03:47:35]req_shift_open_date [03:47:35]req_shift_open_date done [03:47:35]produce_requested_data done [03:47:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37843,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [03:47:35]process_action_free close_receipt [03:47:35]json_value_free [03:47:35]json_value_free done [03:47:35]process_json_proto returns [03:47:35]Send response to host [03:47:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37843,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [03:47:35]free response buf [03:47:35]execute_script done [03:47:35]execute_script returns [03:47:35]free content buf [03:47:35]Sock 7.Close socket [03:47:35]Sock 7.Thread stoped [03:47:35]OFD Sender: No OFD packet to send [03:47:40]OFD Sender: No OFD packet to send [03:47:45]OFD Sender: No OFD packet to send [03:47:50]OFD Sender: No OFD packet to send [03:47:55]OFD Sender: No OFD packet to send [03:48:00]OFD Sender: No OFD packet to send [03:48:05]OFD Sender: No OFD packet to send [03:48:10]OFD Sender: No OFD packet to send [03:48:15]OFD Sender: No OFD packet to send [03:48:20]OFD Sender: No OFD packet to send [03:48:25]OFD Sender: No OFD packet to send [03:48:30]OFD Sender: No OFD packet to send [03:48:35]OFD Sender: No OFD packet to send [03:48:40]OFD Sender: No OFD packet to send [03:48:45]OFD Sender: No OFD packet to send [03:48:50]OFD Sender: No OFD packet to send [03:48:55]OFD Sender: No OFD packet to send [03:49:00]OFD Sender: No OFD packet to send [03:49:05]OFD Sender: No OFD packet to send [03:49:10]OFD Sender: No OFD packet to send [03:49:15]OFD Sender: No OFD packet to send [03:49:20]OFD Sender: No OFD packet to send [03:49:25]OFD Sender: No OFD packet to send [03:49:30]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:21]OFD Sender: No OFD packet to send [03:52:26]OFD Sender: No OFD packet to send [03:52:31]OFD Sender: No OFD packet to send [03:52:36]OFD Sender: No OFD packet to send [03:52:41]OFD Sender: No OFD packet to send [03:52:46]OFD Sender: No OFD packet to send [03:52:51]OFD Sender: No OFD packet to send [03:52:56]OFD Sender: No OFD packet to send [03:53:01]OFD Sender: No OFD packet to send [03:53:06]OFD Sender: No OFD packet to send [03:53:11]OFD Sender: No OFD packet to send [03:53:16]OFD Sender: No OFD packet to send [03:53:21]OFD Sender: No OFD packet to send [03:53:26]OFD Sender: No OFD packet to send [03:53:31]OFD Sender: No OFD packet to send [03:53:36]OFD Sender: No OFD packet to send [03:53:41]OFD Sender: No OFD packet to send [03:53:46]OFD Sender: No OFD packet to send [03:53:51]OFD Sender: No OFD packet to send [03:53:56]OFD Sender: No OFD packet to send [03:54:01]OFD Sender: No OFD packet to send [03:54:06]OFD Sender: No OFD packet to send [03:54:11]OFD Sender: No OFD packet to send [03:54:16]OFD Sender: No OFD packet to send [03:54:21]OFD Sender: No OFD packet to send [03:54:26]OFD Sender: No OFD packet to send [03:54:31]OFD Sender: No OFD packet to send [03:54:36]OFD Sender: No OFD packet to send [03:54:41]OFD Sender: No OFD packet to send [03:54:46]OFD Sender: No OFD packet to send [03:54:51]OFD Sender: No OFD packet to send [03:54:56]OFD Sender: No OFD packet to send [03:55:01]OFD Sender: No OFD packet to send [03:55:06]OFD Sender: No OFD packet to send [03:55:11]OFD Sender: No OFD packet to send [03:55:16]OFD Sender: No OFD packet to send [03:55:21]OFD Sender: No OFD packet to send [03:55:26]OFD Sender: No OFD packet to send [03:55:31]OFD Sender: No OFD packet to send [03:55:36]OFD Sender: No OFD packet to send [03:55:41]OFD Sender: No OFD packet to send [03:55:46]OFD Sender: No OFD packet to send [03:55:51]OFD Sender: No OFD packet to send [03:55:56]OFD Sender: No OFD packet to send [03:56:01]OFD Sender: No OFD packet to send [03:56:06]OFD Sender: No OFD packet to send [03:56:11]OFD Sender: No OFD packet to send [03:56:16]OFD Sender: No OFD packet to send [03:56:21]OFD Sender: No OFD packet to send [03:56:26]OFD Sender: No OFD packet to send [03:56:31]OFD Sender: No OFD packet to send [03:56:36]OFD Sender: No OFD packet to send [03:56:41]OFD Sender: No OFD packet to send [03:56:46]OFD Sender: No OFD packet to send [03:56:51]OFD Sender: No OFD packet to send [03:56:56]OFD Sender: No OFD packet to send [03:57:01]OFD Sender: No OFD packet to send [03:57:06]OFD Sender: No OFD packet to send [03:57:11]OFD Sender: No OFD packet to send [03:57:16]OFD Sender: No OFD packet to send [03:57:21]OFD Sender: No OFD packet to send [03:57:26]OFD Sender: No OFD packet to send [03:57:31]OFD Sender: No OFD packet to send [03:57:36]OFD Sender: No OFD packet to send [03:57:41]OFD Sender: No OFD packet to send [03:57:46]OFD Sender: No OFD packet to send [03:57:51]OFD Sender: No OFD packet to send [03:57:56]OFD Sender: No OFD packet to send [03:58:01]OFD Sender: No OFD packet to send [03:58:06]OFD Sender: No OFD packet to send [03:58:11]OFD Sender: No OFD packet to send [03:58:16]OFD Sender: No OFD packet to send [03:58:21]OFD Sender: No OFD packet to send [03:58:26]OFD Sender: No OFD packet to send [03:58:31]OFD Sender: No OFD packet to send [03:58:36]OFD Sender: No OFD packet to send [03:58:41]OFD Sender: No OFD packet to send [03:58:46]OFD Sender: No OFD packet to send [03:58:51]OFD Sender: No OFD packet to send [03:58:56]OFD Sender: No OFD packet to send [03:59:01]OFD Sender: No OFD packet to send [03:59:06]OFD Sender: No OFD packet to send [03:59:11]OFD Sender: No OFD packet to send [03:59:16]OFD Sender: No OFD packet to send [03:59:21]OFD Sender: No OFD packet to send [03:59:26]OFD Sender: No OFD packet to send [03:59:31]OFD Sender: No OFD packet to send [03:59:36]OFD Sender: No OFD packet to send [03:59:41]OFD Sender: No OFD packet to send [03:59:46]OFD Sender: No OFD packet to send [03:59:51]OFD Sender: No OFD packet to send [03:59:56]OFD Sender: No OFD packet to send [04:00:01]OFD Sender: No OFD packet to send [04:00:06]OFD Sender: No OFD packet to send [04:00:11]OFD Sender: No OFD packet to send [04:00:16]OFD Sender: No OFD packet to send [04:00:21]OFD Sender: No OFD packet to send [04:00:26]OFD Sender: No OFD packet to send [04:00:31]OFD Sender: No OFD packet to send [04:00:36]OFD Sender: No OFD packet to send [04:00:41]OFD Sender: No OFD packet to send [04:00:46]OFD Sender: No OFD packet to send [04:00:51]OFD Sender: No OFD packet to send [04:00:56]OFD Sender: No OFD packet to send [04:01:01]OFD Sender: No OFD packet to send [04:01:06]OFD Sender: No OFD packet to send [04:01:11]OFD Sender: No OFD packet to send [04:01:16]OFD Sender: No OFD packet to send [04:01:21]OFD Sender: No OFD packet to send [04:01:26]OFD Sender: No OFD packet to send [04:01:31]OFD Sender: No OFD packet to send [04:01:36]OFD Sender: No OFD packet to send [04:01:41]OFD Sender: No OFD packet to send [04:01:46]OFD Sender: No OFD packet to send [04:01:51]OFD Sender: No OFD packet to send [04:01:56]OFD Sender: No OFD packet to send [04:02:01]OFD Sender: No OFD packet to send [04:02:06]OFD Sender: No OFD packet to send [04:02:11]OFD Sender: No OFD packet to send [04:02:16]OFD Sender: No OFD packet to send [04:02:21]OFD Sender: No OFD packet to send [04:02:26]OFD Sender: No OFD packet to send [04:02:31]OFD Sender: No OFD packet to send [04:02:36]OFD Sender: No OFD packet to send [04:02:41]OFD Sender: No OFD packet to send [04:02:46]OFD Sender: No OFD packet to send [04:02:51]OFD Sender: No OFD packet to send [04:02:56]OFD Sender: No OFD packet to send [04:03:01]OFD Sender: No OFD packet to send [04:03:06]OFD Sender: No OFD packet to send [04:03:11]OFD Sender: No OFD packet to send [04:03:16]OFD Sender: No OFD packet to send [04:03:21]OFD Sender: No OFD packet to send [04:03:26]OFD Sender: No OFD packet to send [04:03:31]OFD Sender: No OFD packet to send [04:03:36]OFD Sender: No OFD packet to send [04:03:41]OFD Sender: No OFD packet to send [04:03:46]OFD Sender: No OFD packet to send [04:03:51]OFD Sender: No OFD packet to send [04:03:56]OFD Sender: No OFD packet to send [04:04:01]OFD Sender: No OFD packet to send [04:04:06]OFD Sender: No OFD packet to send [04:04:11]OFD Sender: No OFD packet to send [04:04:16]OFD Sender: No OFD packet to send [04:04:21]OFD Sender: No OFD packet to send [04:04:26]OFD Sender: No OFD packet to send [04:04:31]OFD Sender: No OFD packet to send [04:04:36]OFD Sender: No OFD packet to send [04:04:41]OFD Sender: No OFD packet to send [04:04:46]OFD Sender: No OFD packet to send [04:04:51]OFD Sender: No OFD packet to send [04:04:56]OFD Sender: No OFD packet to send [04:05:01]OFD Sender: No OFD packet to send [04:05:06]OFD Sender: No OFD packet to send [04:05:11]OFD Sender: No OFD packet to send [04:05:16]OFD Sender: No OFD packet to send [04:05:21]OFD Sender: No OFD packet to send [04:05:26]OFD Sender: No OFD packet to send [04:05:31]OFD Sender: No OFD packet to send [04:05:36]OFD Sender: No OFD packet to send [04:05:41]OFD Sender: No OFD packet to send [04:05:46]OFD Sender: No OFD packet to send [04:05:51]OFD Sender: No OFD packet to send [04:05:56]OFD Sender: No OFD packet to send [04:06:01]OFD Sender: No OFD packet to send [04:06:06]OFD Sender: No OFD packet to send [04:06:11]OFD Sender: No OFD packet to send [04:06:16]OFD Sender: No OFD packet to send [04:06:21]OFD Sender: No OFD packet to send [04:06:26]OFD Sender: No OFD packet to send [04:06:31]OFD Sender: No OFD packet to send [04:06:36]OFD Sender: No OFD packet to send [04:06:41]OFD Sender: No OFD packet to send [04:06:46]OFD Sender: No OFD packet to send [04:06:51]OFD Sender: No OFD packet to send [04:06:56]OFD Sender: No OFD packet to send [04:07:01]OFD Sender: No OFD packet to send [04:07:06]OFD Sender: No OFD packet to send [04:07:11]OFD Sender: No OFD packet to send [04:07:16]OFD Sender: No OFD packet to send [04:07:21]OFD Sender: No OFD packet to send [04:07:26]OFD Sender: No OFD packet to send [04:07:31]OFD Sender: No OFD packet to send [04:07:36]OFD Sender: No OFD packet to send [04:07:41]OFD Sender: No OFD packet to send [04:07:46]OFD Sender: No OFD packet to send [04:07:51]OFD Sender: No OFD packet to send [04:07:56]OFD Sender: No OFD packet to send [04:08:01]OFD Sender: No OFD packet to send [04:08:06]OFD Sender: No OFD packet to send [04:08:11]OFD Sender: No OFD packet to send [04:08:16]OFD Sender: No OFD packet to send [04:08:21]OFD Sender: No OFD packet to send [04:08:26]OFD Sender: No OFD packet to send [04:08:31]OFD Sender: No OFD packet to send [04:08:36]OFD Sender: No OFD packet to send [04:08:41]OFD Sender: No OFD packet to send [04:08:46]OFD Sender: No OFD packet to send [04:08:51]OFD Sender: No OFD packet to send [04:08:56]OFD Sender: No OFD packet to send [04:09:01]OFD Sender: No OFD packet to send [04:09:06]OFD Sender: No OFD packet to send [04:09:11]OFD Sender: No OFD packet to send [04:09:16]OFD Sender: No OFD packet to send [04:09:21]OFD Sender: No OFD packet to send [04:09:26]OFD Sender: No OFD packet to send [04:09:31]OFD Sender: No OFD packet to send [04:09:36]OFD Sender: No OFD packet to send [04:09:41]OFD Sender: No OFD packet to send [04:09:46]OFD Sender: No OFD packet to send [04:09:51]OFD Sender: No OFD packet to send [04:09:56]OFD Sender: No OFD packet to send [04:10:01]OFD Sender: No OFD packet to send [04:10:06]OFD Sender: No OFD packet to send [04:10:11]OFD Sender: No OFD packet to send [04:10:16]OFD Sender: No OFD packet to send [04:10:21]OFD Sender: No OFD packet to send [04:10:26]OFD Sender: No OFD packet to send [04:10:31]OFD Sender: No OFD packet to send [04:10:36]OFD Sender: No OFD packet to send [04:10:41]OFD Sender: No OFD packet to send [04:10:46]OFD Sender: No OFD packet to send [04:10:51]OFD Sender: No OFD packet to send [04:10:56]OFD Sender: No OFD packet to send [04:11:01]OFD Sender: No OFD packet to send [04:11:06]OFD Sender: No OFD packet to send [04:11:12]OFD Sender: No OFD packet to send [04:11:17]OFD Sender: No OFD packet to send [04:11:20]accept exits with 9 [04:11:20]New connection [04:11:20]New thread 3067297124 created [04:11:20]Thread 3067440484 joined [04:11:20]Waiting for new connection... [04:11:20] Sock 9.Parse request [04:11:20]Sock 9.Check first char [04:11:20]Sock 9.First char is OK [04:11:20]request: POST /json_proto HTTP/1.0 [04:11:20]Method: POST [04:11:20]URL: /json_proto [04:11:20]Method is POST - this is cgi request [04:11:20]url: /json_proto [04:11:20]query_string will be loaded in cgi processing [04:11:20]execute_cgi json_proto POST (null) [04:11:20]execute_cgi path=json_proto method=POST [04:11:20]POST find Content-Length [04:11:20]Host: 172.17.40.196:8080 [04:11:20]Content-Length: 962 [04:11:20]Content-Type: application/json [04:11:20] [04:11:20]POST finish read [04:11:20]Found Content-Length = 962 [04:11:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35142", "tax_sys" : 0, "items" : [ { "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" : 3.000, "sum" : 315.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 459.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:11:20]execute_script... [04:11:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35142", "tax_sys" : 0, "items" : [ { "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" : 3.000, "sum" : 315.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 459.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:11:20]POST & json_proto [04:11:20]process_json_proto [04:11:20]json parsed OK: [04:11:20]protocol is kg_v1.0 [04:11:20]action value=close_receipt [04:11:20]process_action close_receipt [04:11:20]cmd_close_receipt [04:11:20]MH_GetDate [04:11:20]Write to MH i2c: F0 00 00 B1 30 D0 [04:11:20]Write i2c OK [04:11:20]MH_I2C_Read... [04:11:20]Read from MH i2c: F0 [04:11:20]MH_I2C_Read... [04:11:20]Read from MH i2c: F0 09 00 [04:11:20]MH_I2C_Read... [04:11:20]Read from MH i2c: F0 09 00 B1 30 00 73 60 20 67 5B 68 A1 66 FD [04:11:20]GetLastDocTimeStamp 1730173661 [04:11:20]current date 1730175091 [04:11:20]FM_GetShiftState [04:11:20]SAM_PROTO_GetShiftState [04:11:20]wFMCommunicate request_size=4 [04:11:20]MH_SAM_APDU [04:11:20]CAPDU: 80 13 01 00 [04:11:20]Write to MH i2c: E2 08 00 B2 30 80 13 01 00 00 00 00 00 5F [04:11:20]Write i2c OK [04:11:20]MH_I2C_Read... [04:11:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:11:20]Read from MH i2c: E2 [04:11:20]MH_I2C_Read... [04:11:20]Read from MH i2c: E2 0E 00 [04:11:20]MH_I2C_Read... [04:11:20]Read from MH i2c: E2 0E 00 B2 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 D5 [04:11:20]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:11:20]wFMCommunicate OK [04:11:20]SAM_PROTO_GetShiftState done [04:11:20]FM_GetShiftState done [04:11:20]opened in 1730160317 [04:11:20]opened+sec_in_day 1730246717 [04:11:20]quantity*price = 31500 [04:11:20]sum+1 = 31501 [04:11:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 144.00 = 144.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 459.00 НСП 1% : 4.06 НДС 12% : 48.74 Наличными: 459.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 6 29.10.2024 04:11 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37844 ФПД: 77106971241290 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T041131&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37844&fm=77106971241290&tin=02508201610067®Number=0000000000091684&sum=45900 0 [04:11:21]StoreToDocumentArchive [04:11:21]shift 552 fd 37844 [04:11:21]save to /storage/0552/doc_00037844 [04:11:21]save last doc name /storage/0552/doc_00037844 to /storage/kkm_last_doc_name [04:11:21]save OK [04:11:21]Clear old archive folders... [04:11:21]ProcessDocumentItem done err = 0, tmpTLVsize=409 [04:11:21]tlvbuf is 002FD0E0 [04:11:21]SAM_PROTO_ClearQueue [04:11:21]wFMCommunicate request_size=4 [04:11:21]MH_SAM_APDU [04:11:21]CAPDU: 80 09 00 00 [04:11:21]Write to MH i2c: E2 08 00 BF 30 80 09 00 00 00 00 00 00 61 [04:11:21]Write i2c OK [04:11:21]MH_I2C_Read... [04:11:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:11:21]Read from MH i2c: E2 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 BF 30 00 90 00 63 [04:11:21]RAPDU: 90 00 [04:11:21]wFMCommunicate OK [04:11:21]SAM_PROTO_ClearQueue done [04:11:21]KKMCreateOFDPacket [04:11:21]OFDProtocolAddRootSTLVToBuf [04:11:21]FM_MakeSignedData [04:11:21]FM_MakeSignedData [04:11:21]SAM_PROTO_SignData [04:11:21]wFMCommunicate request_size=4 [04:11:21]MH_SAM_APDU [04:11:21]CAPDU: 80 0D 01 02 [04:11:21]Write to MH i2c: E2 08 00 C0 30 80 0D 01 02 00 00 00 00 69 [04:11:21]Write i2c OK [04:11:21]MH_I2C_Read... [04:11:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:11:21]Read from MH i2c: E2 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 C0 30 00 90 00 64 [04:11:21]RAPDU: 90 00 [04:11:21]wFMCommunicate OK [04:11:21]wFMCommunicate request_size=255 [04:11:21]MH_SAM_APDU [04:11:21]CAPDU: 80 0D 02 02 FA 03 00 99 01 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 [04:11:21]Write to MH i2c: E2 02 01 C1 30 80 0D 02 02 FA 00 03 00 99 01 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 00 00 C6 [04:11:21]Write i2c OK [04:11:21]MH_I2C_Read... [04:11:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:11:21]Read from MH i2c: E2 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 [04:11:21]MH_I2C_Read... [04:11:21]Read from MH i2c: E2 03 00 C1 30 00 90 00 65 [04:11:21]RAPDU: 90 00 [04:11:21]wFMCommunicate OK [04:11:21]wFMCommunicate request_size=168 [04:11:21]MH_SAM_APDU [04:11:21]CAPDU: 80 0D 02 02 A3 06 00 4C B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 13 00 00 00 00 07 04 06 00 4C B3 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 73 60 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D4 93 00 00 35 04 06 00 46 20 DD A1 6B 4A [04:11:21]Write to MH i2c: E2 AB 00 C2 30 80 0D 02 02 A3 00 06 00 4C B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 13 00 00 00 00 07 04 06 00 4C B3 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 73 60 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D4 93 00 00 35 04 06 00 46 20 DD A1 6B 4A 00 00 31 [04:11:21]Write i2c OK [04:11:21]MH_I2C_Read... [04:11:22]OFD Sender: No OFD packet to send [04:11:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:11:22]Read from MH i2c: E2 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 03 00 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 03 00 C2 30 00 90 00 66 [04:11:22]RAPDU: 90 00 [04:11:22]wFMCommunicate OK [04:11:22]wFMCommunicate request_size=4 [04:11:22]MH_SAM_APDU [04:11:22]CAPDU: 80 0D 03 02 [04:11:22]Write to MH i2c: E2 08 00 C3 30 80 0D 03 02 00 00 00 00 6E [04:11:22]Write i2c OK [04:11:22]MH_I2C_Read... [04:11:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:11:22]Read from MH i2c: E2 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 0B 00 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 0B 00 C3 30 00 04 5C C1 B7 82 20 8B F6 90 00 6A [04:11:22]RAPDU: 04 5C C1 B7 82 20 8B F6 90 00 [04:11:22]wFMCommunicate OK [04:11:22]SAM_PROTO_SignData done [04:11:22]FM_MakeSignedData done [04:11:22]CreateOFDProtocolMessage [04:11:22]wFMCommunicate request_size=4 [04:11:22]MH_SAM_APDU [04:11:22]CAPDU: 80 11 00 00 [04:11:22]Write to MH i2c: E2 08 00 C4 30 80 11 00 00 00 00 00 00 6E [04:11:22]Write i2c OK [04:11:22]MH_I2C_Read... [04:11:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:11:22]Read from MH i2c: E2 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 17 00 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: E2 17 00 C4 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [04:11:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:11:22]wFMCommunicate OK [04:11:22]CreateOFDProtocolMessage done [04:11:22]OFDSenderStorePacket 37844 [04:11:22]StoreOFDPacket docnum=37844 [04:11:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AD 01 00 00 99 C8 A5 01 33 76 5A 03 01 00 03 00 99 01 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 13 00 00 00 00 07 04 06 00 4C B3 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 73 60 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D4 93 00 00 35 04 06 00 46 20 DD A1 6B 4A 04 5C C1 B7 82 20 8B F6 [04:11:22]CheckFolder [04:11:22]dirname=/storage/ofd_packets [04:11:22]CheckFolder done [04:11:22]ProducePacketName [04:11:22]name=ofd_packets/00037844 [04:11:22]NVStorageSaveData ofd_packets/00037844 [04:11:22]File name is /storage/ofd_packets/00037844 [04:11:22]Write 459 bytes [04:11:22]NVStorageSaveData done [04:11:22]OFDSenderStorePacket done [04:11:22]KKMCreateOFDPacket done [04:11:22]NVStorageSaveData kkm_last_timestamp [04:11:22]File name is /storage/kkm_last_timestamp [04:11:22]Write 4 bytes [04:11:22]NVStorageSaveData done [04:11:22]ExternCall_PrintAddStr [04:11:22]wPrintStart [04:11:22]Write to MH i2c: 01 00 00 C5 30 F5 [04:11:22]OFD Sender: Processing packet 37844 [packets to send 42, broken 41] [04:11:22]ProducePacketName [04:11:22]name=ofd_packets/00037844 [04:11:22]OFD Sender: To server: pG, [04:11:22]CommunicateWithHost lk.salyk.kg:30040 [04:11:22]ConnectInit lk.salyk.kg [04:11:22]Write i2c OK [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 07 00 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 07 00 C5 30 00 00 00 00 00 FF 0F 0A [04:11:22]RasterBufferAndPrint [04:11:22]line Счет N : (3)35142 [04:11:22]line ИНН: 02508201610067 [04:11:22]line Контрольно-Кассовый Чек [04:11:22]line ПРОДАЖА [04:11:22]line Товар: 4870145004968 [04:11:22]line Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б [04:11:22]line 3.000 * 105.00 [04:11:22]line = 315.00 [04:11:22]line НДС 12% НСП 1% [04:11:22]line > о реализуемом товаре [04:11:22]line Товар: 48743570 [04:11:22]line Сигареты Winston XStyle Blue [04:11:22]line 1.000 * 144.00 [04:11:22]line = 144.00 [04:11:22]line НДС 12% НСП 1% [04:11:22]line > о реализуемом товаре [04:11:22]line ИТОГО: 459.00 [04:11:22]line НСП 1% : 4.06 [04:11:22]line НДС 12% : 48.74 [04:11:22]line Наличными: 459.00 [04:11:22]line Безнал.: 0.00 [04:11:22]line Место: АЗС № 126 "Партнер Нефть" [04:11:22]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:11:22]line СНО: Общий режим [04:11:22]line Чек 6 29.10.2024 04:11 [04:11:22]line Смена: 552 ФФД: 1.0 [04:11:22]line ЗНМ: 0300000092 [04:11:22]line РНМ: 0000000000091684 [04:11:22]line Версия ККМ: 001 [04:11:22]line ФМ: 0000000000871841 [04:11:22]line ФД: 37844 [04:11:22]line ФПД: 77106971241290 [04:11:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T041131&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37844&fm=77106971241290&tin=02508201610067®Number=0000000000091684&sum=45900 [04:11:22]line 0 [04:11:22]written 0, free lines is 4095 [04:11:22]Write to MH i2c: 01 00 00 F4 30 24 [04:11:22]Write i2c OK [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 07 00 [04:11:22]MH_I2C_Read... [04:11:22]Read from MH i2c: 01 07 00 F4 30 00 00 00 00 00 50 0C 87 [04:11:22]RasterBufferAndPrint [04:11:22]line [04:11:22]line [04:11:22]line [04:11:22]line [04:11:22]line [04:11:22]written 0, free lines is 3157 [04:11:23]MH_Cut [04:11:23]Write to MH i2c: D1 01 00 FB 30 01 FD [04:11:23]Write i2c OK [04:11:23]MH_I2C_Read... [04:11:23]Read from MH i2c: D1 [04:11:23]MH_I2C_Read... [04:11:23]Read from MH i2c: D1 01 00 [04:11:23]MH_I2C_Read... [04:11:23]Read from MH i2c: D1 01 00 FB 30 00 FC [04:11:23]Write to MH i2c: 01 00 00 FC 30 2C [04:11:23]Write i2c OK [04:11:23]MH_I2C_Read... [04:11:23]Connected sock=11 [04:11:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 AD 01 00 00 99 C8 A5 01 33 76 5A 03 01 00 03 00 99 01 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 96 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0A 13 00 00 00 00 07 04 06 00 4C B3 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 73 60 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D4 93 00 00 35 04 06 00 46 20 DD A1 6B 4A 04 5C C1 B7 82 20 8B F6 [04:11:23]*** Cut start [04:11:23]*** Partial cut [04:11:23]*** CUTSNS_PIN = 1 [04:11:23]*** CUTSNS_PIN = 0 [04:11:24]*** Brake cut motor [04:11:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D2 6C 47 00 C8 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 38 37 31 38 34 31 10 04 04 00 D4 93 00 00 F4 03 04 00 67 0B 20 67 B6 04 01 00 00 B1 E9 F1 54 F0 55 7C F4 [04:11:24]CommunicateWithHost err = 0 [04:11:24]CheckOFDResponse [04:11:24]1017 (14) - 77093643461234 [04:11:24]1041 (16) - 0000000000871841 [04:11:24]1040 (4) - 37844 [04:11:24]1012 (4) - 28.10.2024 22:08 [04:11:24]1206 (1) - 0 [04:11:24]OFD Sender: Remove packet 37844 [04:11:24]ProducePacketName [04:11:24]name=ofd_packets/00037844 [04:11:24]NVStorageDeleteData [04:11:24]Read from MH i2c: 01 [04:11:24]MH_I2C_Read... [04:11:24]*** Stop cut motor [04:11:24]*** Cut end [04:11:24]Read from MH i2c: 01 07 00 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: 01 07 00 FC 30 00 00 00 00 00 FF 0F 41 [04:11:24]process_action close_receipt done [04:11:24]requested_data is exist [04:11:24]produce_requested_data [04:11:24]requested_item fm.sn is exist - process it [04:11:24]wFMCommunicate request_size=4 [04:11:24]MH_SAM_APDU [04:11:24]CAPDU: 80 11 00 00 [04:11:24]Write to MH i2c: E2 08 00 FD 30 80 11 00 00 00 00 00 00 A7 [04:11:24]Write i2c OK [04:11:24]MH_I2C_Read... [04:11:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:11:24]Read from MH i2c: E2 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 17 00 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 17 00 FD 30 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F7 [04:11:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:11:24]wFMCommunicate OK [04:11:24]requested_item fd.num is exist - process it [04:11:24]SAM_PROTO_GetFieldsCounters [04:11:24]wFMCommunicate request_size=4 [04:11:24]MH_SAM_APDU [04:11:24]CAPDU: 80 13 00 00 [04:11:24]Write to MH i2c: E2 08 00 FE 30 80 13 00 00 00 00 00 00 AA [04:11:24]Write i2c OK [04:11:24]MH_I2C_Read... [04:11:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:11:24]Read from MH i2c: E2 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 62 00 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 62 00 FE 30 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 6E [04:11:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 06 00 00 00 5E 04 04 00 06 00 00 00 57 04 04 00 07 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:11:24]wFMCommunicate OK [04:11:24]SAM_PROTO_GetFieldsCounters done [04:11:24]requested_item shift.num is exist - process it [04:11:24]requested_item shift.opened is exist - process it [04:11:24]req_shift_opened [04:11:24]FM_GetShiftState [04:11:24]SAM_PROTO_GetShiftState [04:11:24]wFMCommunicate request_size=4 [04:11:24]MH_SAM_APDU [04:11:24]CAPDU: 80 13 01 00 [04:11:24]Write to MH i2c: E2 08 00 FF 30 80 13 01 00 00 00 00 00 AC [04:11:24]OFD Sender: No OFD packet to send [04:11:24]Write i2c OK [04:11:24]MH_I2C_Read... [04:11:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:11:24]Read from MH i2c: E2 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 0E 00 [04:11:24]MH_I2C_Read... [04:11:24]Read from MH i2c: E2 0E 00 FF 30 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 22 [04:11:24]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:11:24]wFMCommunicate OK [04:11:24]SAM_PROTO_GetShiftState done [04:11:24]FM_GetShiftState done [04:11:24]req_shift_opened done [04:11:24]requested_item shift.open_date is exist - process it [04:11:24]req_shift_open_date [04:11:24]req_shift_open_date done [04:11:24]produce_requested_data done [04:11:24]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37844,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [04:11:24]process_action_free close_receipt [04:11:24]json_value_free [04:11:24]json_value_free done [04:11:24]process_json_proto returns [04:11:24]Send response to host [04:11:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37844,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [04:11:24]free response buf [04:11:24]execute_script done [04:11:24]execute_script returns [04:11:24]free content buf [04:11:24]Sock 9.Close socket [04:11:24]Sock 9.Thread stoped [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]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:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:50]OFD Sender: No OFD packet to send [04:15:55]OFD Sender: No OFD packet to send [04:16:00]OFD Sender: No OFD packet to send [04:16:05]OFD Sender: No OFD packet to send [04:16:10]OFD Sender: No OFD packet to send [04:16:15]OFD Sender: No OFD packet to send [04:16:20]OFD Sender: No OFD packet to send [04:16:25]OFD Sender: No OFD packet to send [04:16:30]OFD Sender: No OFD packet to send [04:16:35]OFD Sender: No OFD packet to send [04:16:40]OFD Sender: No OFD packet to send [04:16:45]OFD Sender: No OFD packet to send [04:16:50]OFD Sender: No OFD packet to send [04:16:55]OFD Sender: No OFD packet to send [04:17:00]OFD Sender: No OFD packet to send [04:17:05]OFD Sender: No OFD packet to send [04:17:10]OFD Sender: No OFD packet to send [04:17:15]OFD Sender: No OFD packet to send [04:17:20]OFD Sender: No OFD packet to send [04:17:25]OFD Sender: No OFD packet to send [04:17:30]OFD Sender: No OFD packet to send [04:17:35]OFD Sender: No OFD packet to send [04:17:40]OFD Sender: No OFD packet to send [04:17:45]OFD Sender: No OFD packet to send [04:17:50]OFD Sender: No OFD packet to send [04:17:55]OFD Sender: No OFD packet to send [04:18:00]OFD Sender: No OFD packet to send [04:18:05]OFD Sender: No OFD packet to send [04:18:10]OFD Sender: No OFD packet to send [04:18:15]OFD Sender: No OFD packet to send [04:18:20]OFD Sender: No OFD packet to send [04:18:25]OFD Sender: No OFD packet to send [04:18:30]OFD Sender: No OFD packet to send [04:18:35]OFD Sender: No OFD packet to send [04:18:40]OFD Sender: No OFD packet to send [04:18:45]OFD Sender: No OFD packet to send [04:18:50]OFD Sender: No OFD packet to send [04:18:55]OFD Sender: No OFD packet to send [04:19:00]OFD Sender: No OFD packet to send [04:19:05]OFD Sender: No OFD packet to send [04:19:10]OFD Sender: No OFD packet to send [04:19:15]OFD Sender: No OFD packet to send [04:19:20]OFD Sender: No OFD packet to send [04:19:25]OFD Sender: No OFD packet to send [04:19:30]OFD Sender: No OFD packet to send [04:19:35]OFD Sender: No OFD packet to send [04:19:40]OFD Sender: No OFD packet to send [04:19:45]OFD Sender: No OFD packet to send [04:19:50]OFD Sender: No OFD packet to send [04:19:55]OFD Sender: No OFD packet to send [04:20:00]OFD Sender: No OFD packet to send [04:20:05]OFD Sender: No OFD packet to send [04:20:10]OFD Sender: No OFD packet to send [04:20:15]OFD Sender: No OFD packet to send [04:20:20]OFD Sender: No OFD packet to send [04:20:25]OFD Sender: No OFD packet to send [04:20:30]OFD Sender: No OFD packet to send [04:20:35]OFD Sender: No OFD packet to send [04:20:40]OFD Sender: No OFD packet to send [04:20:45]OFD Sender: No OFD packet to send [04:20:50]OFD Sender: No OFD packet to send [04:20:55]OFD Sender: No OFD packet to send [04:21:00]OFD Sender: No OFD packet to send [04:21:05]OFD Sender: No OFD packet to send [04:21:10]OFD Sender: No OFD packet to send [04:21:15]OFD Sender: No OFD packet to send [04:21:20]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]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: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:36]OFD Sender: No OFD packet to send [04:34:41]OFD Sender: No OFD packet to send [04:34:46]OFD Sender: No OFD packet to send [04:34:51]OFD Sender: No OFD packet to send [04:34:56]OFD Sender: No OFD packet to send [04:35:01]OFD Sender: No OFD packet to send [04:35:06]OFD Sender: No OFD packet to send [04:35:11]OFD Sender: No OFD packet to send [04:35:16]OFD Sender: No OFD packet to send [04:35:21]OFD Sender: No OFD packet to send [04:35:26]OFD Sender: No OFD packet to send [04:35:31]OFD Sender: No OFD packet to send [04:35:36]OFD Sender: No OFD packet to send [04:35:41]OFD Sender: No OFD packet to send [04:35:46]OFD Sender: No OFD packet to send [04:35:51]OFD Sender: No OFD packet to send [04:35:56]OFD Sender: No OFD packet to send [04:36:01]OFD Sender: No OFD packet to send [04:36:06]OFD Sender: No OFD packet to send [04:36:11]OFD Sender: No OFD packet to send [04:36:16]OFD Sender: No OFD packet to send [04:36:21]OFD Sender: No OFD packet to send [04:36:26]OFD Sender: No OFD packet to send [04:36:31]OFD Sender: No OFD packet to send [04:36:36]OFD Sender: No OFD packet to send [04:36:41]OFD Sender: No OFD packet to send [04:36:46]OFD Sender: No OFD packet to send [04:36:51]OFD Sender: No OFD packet to send [04:36:56]OFD Sender: No OFD packet to send [04:37:01]OFD Sender: No OFD packet to send [04:37:06]OFD Sender: No OFD packet to send [04:37:11]OFD Sender: No OFD packet to send [04:37:16]OFD Sender: No OFD packet to send [04:37:21]OFD Sender: No OFD packet to send [04:37:26]OFD Sender: No OFD packet to send [04:37:31]OFD Sender: No OFD packet to send [04:37:36]OFD Sender: No OFD packet to send [04:37:41]OFD Sender: No OFD packet to send [04:37:46]OFD Sender: No OFD packet to send [04:37:51]OFD Sender: No OFD packet to send [04:37:56]OFD Sender: No OFD packet to send [04:38:01]OFD Sender: No OFD packet to send [04:38:06]OFD Sender: No OFD packet to send [04:38:11]OFD Sender: No OFD packet to send [04:38:16]OFD Sender: No OFD packet to send [04:38:21]OFD Sender: No OFD packet to send [04:38:26]OFD Sender: No OFD packet to send [04:38:31]OFD Sender: No OFD packet to send [04:38:36]OFD Sender: No OFD packet to send [04:38:41]OFD Sender: No OFD packet to send [04:38:46]OFD Sender: No OFD packet to send [04:38:51]OFD Sender: No OFD packet to send [04:38:56]OFD Sender: No OFD packet to send [04:39:01]OFD Sender: No OFD packet to send [04:39:06]OFD Sender: No OFD packet to send [04:39:11]OFD Sender: No OFD packet to send [04:39:16]OFD Sender: No OFD packet to send [04:39:21]OFD Sender: No OFD packet to send [04:39:26]OFD Sender: No OFD packet to send [04:39:31]OFD Sender: No OFD packet to send [04:39:36]OFD Sender: No OFD packet to send [04:39:40]accept exits with 7 [04:39:40]New connection [04:39:40]New thread 3067440484 created [04:39:40]Thread 3067297124 joined [04:39:40]Waiting for new connection... [04:39:40] Sock 7.Parse request [04:39:40]Sock 7.Check first char [04:39:40]Sock 7.First char is OK [04:39:40]request: POST /json_proto HTTP/1.0 [04:39:40]Method: POST [04:39:40]URL: /json_proto [04:39:40]Method is POST - this is cgi request [04:39:40]url: /json_proto [04:39:40]query_string will be loaded in cgi processing [04:39:40]execute_cgi json_proto POST (null) [04:39:40]execute_cgi path=json_proto method=POST [04:39:40]POST find Content-Length [04:39:40]Host: 172.17.40.196:8080 [04:39:40]Content-Length: 666 [04:39:40]Content-Type: application/json [04:39:40] [04:39:40]POST finish read [04:39:40]Found Content-Length = 666 [04:39:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35143", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:39:40]execute_script... [04:39:40]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35143", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:39:40]POST & json_proto [04:39:40]process_json_proto [04:39:40]json parsed OK: [04:39:40]protocol is kg_v1.0 [04:39:40]action value=close_receipt [04:39:40]process_action close_receipt [04:39:40]cmd_close_receipt [04:39:40]MH_GetDate [04:39:40]Write to MH i2c: F0 00 00 00 31 20 [04:39:40]Write i2c OK [04:39:40]MH_I2C_Read... [04:39:40]Read from MH i2c: F0 [04:39:40]MH_I2C_Read... [04:39:40]Read from MH i2c: F0 09 00 [04:39:40]MH_I2C_Read... [04:39:40]Read from MH i2c: F0 09 00 00 31 00 17 67 20 67 5B 68 A1 66 F8 [04:39:40]GetLastDocTimeStamp 1730175091 [04:39:40]current date 1730176791 [04:39:40]FM_GetShiftState [04:39:40]SAM_PROTO_GetShiftState [04:39:40]wFMCommunicate request_size=4 [04:39:40]MH_SAM_APDU [04:39:40]CAPDU: 80 13 01 00 [04:39:40]Write to MH i2c: E2 08 00 01 31 80 13 01 00 00 00 00 00 AF [04:39:40]Write i2c OK [04:39:40]MH_I2C_Read... [04:39:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:39:40]Read from MH i2c: E2 [04:39:40]MH_I2C_Read... [04:39:40]Read from MH i2c: E2 0E 00 [04:39:40]MH_I2C_Read... [04:39:40]Read from MH i2c: E2 0E 00 01 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 25 [04:39:40]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:39:40]wFMCommunicate OK [04:39:40]SAM_PROTO_GetShiftState done [04:39:40]FM_GetShiftState done [04:39:40]opened in 1730160317 [04:39:40]opened+sec_in_day 1730246717 [04:39:40]quantity*price = 35000 [04:39:40]sum+1 = 35001 [04:39:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 7 29.10.2024 04:39 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37845 ФПД: 218730889501195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T043951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37845&fm=218730889501195&tin=02508201610067®Number=0000000000091684&sum=35000 0 [04:39:41]StoreToDocumentArchive [04:39:41]shift 552 fd 37845 [04:39:41]save to /storage/0552/doc_00037845 [04:39:41]save last doc name /storage/0552/doc_00037845 to /storage/kkm_last_doc_name [04:39:41]save OK [04:39:41]Clear old archive folders... [04:39:41]ProcessDocumentItem done err = 0, tmpTLVsize=283 [04:39:41]tlvbuf is 0024FD20 [04:39:41]SAM_PROTO_ClearQueue [04:39:41]wFMCommunicate request_size=4 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 09 00 00 [04:39:41]Write to MH i2c: E2 08 00 0E 31 80 09 00 00 00 00 00 00 B1 [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]OFD Sender: No OFD packet to send [04:39:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 0E 31 00 90 00 B3 [04:39:41]RAPDU: 90 00 [04:39:41]wFMCommunicate OK [04:39:41]SAM_PROTO_ClearQueue done [04:39:41]KKMCreateOFDPacket [04:39:41]OFDProtocolAddRootSTLVToBuf [04:39:41]FM_MakeSignedData [04:39:41]FM_MakeSignedData [04:39:41]SAM_PROTO_SignData [04:39:41]wFMCommunicate request_size=4 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 0D 01 02 [04:39:41]Write to MH i2c: E2 08 00 0F 31 80 0D 01 02 00 00 00 00 B9 [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 0F 31 00 90 00 B4 [04:39:41]RAPDU: 90 00 [04:39:41]wFMCommunicate OK [04:39:41]wFMCommunicate request_size=255 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 17 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [04:39:41]Write to MH i2c: E2 02 01 10 31 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 17 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 6D [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 10 31 00 90 00 B5 [04:39:41]RAPDU: 90 00 [04:39:41]wFMCommunicate OK [04:39:41]wFMCommunicate request_size=42 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D5 93 00 00 35 04 06 00 C6 EF 40 F8 5A 0B [04:39:41]Write to MH i2c: E2 2D 00 11 31 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D5 93 00 00 35 04 06 00 C6 EF 40 F8 5A 0B 00 00 48 [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 03 00 11 31 00 90 00 B6 [04:39:41]RAPDU: 90 00 [04:39:41]wFMCommunicate OK [04:39:41]wFMCommunicate request_size=4 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 0D 03 02 [04:39:41]Write to MH i2c: E2 08 00 12 31 80 0D 03 02 00 00 00 00 BE [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 0B 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 0B 00 12 31 00 7D 53 71 EE D1 BD 08 A5 90 00 29 [04:39:41]RAPDU: 7D 53 71 EE D1 BD 08 A5 90 00 [04:39:41]wFMCommunicate OK [04:39:41]SAM_PROTO_SignData done [04:39:41]FM_MakeSignedData done [04:39:41]CreateOFDProtocolMessage [04:39:41]wFMCommunicate request_size=4 [04:39:41]MH_SAM_APDU [04:39:41]CAPDU: 80 11 00 00 [04:39:41]Write to MH i2c: E2 08 00 13 31 80 11 00 00 00 00 00 00 BE [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:39:41]Read from MH i2c: E2 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 17 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: E2 17 00 13 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0E [04:39:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:39:41]wFMCommunicate OK [04:39:41]CreateOFDProtocolMessage done [04:39:41]OFDSenderStorePacket 37845 [04:39:41]StoreOFDPacket docnum=37845 [04:39:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 93 BF 27 01 F2 0D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 17 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D5 93 00 00 35 04 06 00 C6 EF 40 F8 5A 0B 7D 53 71 EE D1 BD 08 A5 [04:39:41]CheckFolder [04:39:41]dirname=/storage/ofd_packets [04:39:41]CheckFolder done [04:39:41]ProducePacketName [04:39:41]name=ofd_packets/00037845 [04:39:41]NVStorageSaveData ofd_packets/00037845 [04:39:41]File name is /storage/ofd_packets/00037845 [04:39:41]Write 333 bytes [04:39:41]NVStorageSaveData done [04:39:41]OFDSenderStorePacket done [04:39:41]KKMCreateOFDPacket done [04:39:41]NVStorageSaveData kkm_last_timestamp [04:39:41]File name is /storage/kkm_last_timestamp [04:39:41]Write 4 bytes [04:39:41]NVStorageSaveData done [04:39:41]ExternCall_PrintAddStr [04:39:41]wPrintStart [04:39:41]Write to MH i2c: 01 00 00 14 31 45 [04:39:41]Write i2c OK [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: 01 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: 01 07 00 [04:39:41]MH_I2C_Read... [04:39:41]Read from MH i2c: 01 07 00 14 31 00 00 00 00 00 FF 0F 5A [04:39:41]RasterBufferAndPrint [04:39:41]line Счет N : (3)35143 [04:39:41]line ИНН: 02508201610067 [04:39:41]line Контрольно-Кассовый Чек [04:39:41]line ПРОДАЖА [04:39:41]line Товар: 4700002082191 [04:39:41]line Водка Белое золото 0,46л [04:39:41]line 1.000 * 350.00 [04:39:41]line = 350.00 [04:39:41]line НДС 12% НСП 1% [04:39:41]line > о реализуемом товаре [04:39:41]line ИТОГО: 350.00 [04:39:41]line НСП 1% : 3.10 [04:39:41]line НДС 12% : 37.17 [04:39:41]line Наличными: 350.00 [04:39:41]line Безнал.: 0.00 [04:39:41]line Место: АЗС № 126 "Партнер Нефть" [04:39:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:39:42]line СНО: Общий режим [04:39:42]line Чек 7 29.10.2024 04:39 [04:39:42]line Смена: 552 ФФД: 1.0 [04:39:42]line ЗНМ: 0300000092 [04:39:42]line РНМ: 0000000000091684 [04:39:42]line Версия ККМ: 001 [04:39:42]line ФМ: 0000000000871841 [04:39:42]line ФД: 37845 [04:39:42]line ФПД: 218730889501195 [04:39:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T043951&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37845&fm=218730889501195&tin=02508201610067®Number=0000000000091684&sum=35000 [04:39:42]line 0 [04:39:42]OFD Sender: Processing packet 37845 [packets to send 42, broken 41] [04:39:42]ProducePacketName [04:39:42]name=ofd_packets/00037845 [04:39:42]OFD Sender: To server: pG, [04:39:42]CommunicateWithHost lk.salyk.kg:30040 [04:39:42]ConnectInit lk.salyk.kg [04:39:42]written 0, free lines is 4095 [04:39:42]Write to MH i2c: 01 00 00 3C 31 6D [04:39:42]Write i2c OK [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: 01 [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: 01 07 00 [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: 01 07 00 3C 31 00 00 00 00 00 C9 0C 49 [04:39:42]RasterBufferAndPrint [04:39:42]line [04:39:42]line [04:39:42]line [04:39:42]line [04:39:42]line [04:39:42]written 0, free lines is 3278 [04:39:42]MH_Cut [04:39:42]Write to MH i2c: D1 01 00 43 31 01 46 [04:39:42]Write i2c OK [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: D1 [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: D1 01 00 [04:39:42]MH_I2C_Read... [04:39:42]Read from MH i2c: D1 01 00 43 31 00 45 [04:39:42]Write to MH i2c: 01 00 00 44 31 75 [04:39:42]Write i2c OK [04:39:42]MH_I2C_Read... [04:39:43]*** Cut start [04:39:43]*** Partial cut [04:39:43]*** CUTSNS_PIN = 1 [04:39:43]*** CUTSNS_PIN = 0 [04:39:43]*** Brake cut motor [04:39:43]Connected sock=11 [04:39:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 93 BF 27 01 F2 0D 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 17 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D5 93 00 00 35 04 06 00 C6 EF 40 F8 5A 0B 7D 53 71 EE D1 BD 08 A5 [04:39:43]Read from MH i2c: 01 [04:39:44]MH_I2C_Read... [04:39:44]*** Stop cut motor [04:39:44]*** Cut end [04:39:44]Read from MH i2c: 01 07 00 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: 01 07 00 44 31 00 00 00 00 00 FF 0F 8A [04:39:44]process_action close_receipt done [04:39:44]requested_data is exist [04:39:44]produce_requested_data [04:39:44]requested_item fm.sn is exist - process it [04:39:44]wFMCommunicate request_size=4 [04:39:44]MH_SAM_APDU [04:39:44]CAPDU: 80 11 00 00 [04:39:44]Write to MH i2c: E2 08 00 45 31 80 11 00 00 00 00 00 00 F0 [04:39:44]Write i2c OK [04:39:44]MH_I2C_Read... [04:39:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:39:44]Read from MH i2c: E2 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 17 00 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 17 00 45 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 40 [04:39:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:39:44]wFMCommunicate OK [04:39:44]requested_item fd.num is exist - process it [04:39:44]SAM_PROTO_GetFieldsCounters [04:39:44]wFMCommunicate request_size=4 [04:39:44]MH_SAM_APDU [04:39:44]CAPDU: 80 13 00 00 [04:39:44]Write to MH i2c: E2 08 00 46 31 80 13 00 00 00 00 00 00 F3 [04:39:44]Write i2c OK [04:39:44]MH_I2C_Read... [04:39:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:39:44]Read from MH i2c: E2 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 62 00 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 62 00 46 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 BB [04:39:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:39:44]wFMCommunicate OK [04:39:44]SAM_PROTO_GetFieldsCounters done [04:39:44]requested_item shift.num is exist - process it [04:39:44]requested_item shift.opened is exist - process it [04:39:44]req_shift_opened [04:39:44]FM_GetShiftState [04:39:44]SAM_PROTO_GetShiftState [04:39:44]wFMCommunicate request_size=4 [04:39:44]MH_SAM_APDU [04:39:44]CAPDU: 80 13 01 00 [04:39:44]Write to MH i2c: E2 08 00 47 31 80 13 01 00 00 00 00 00 F5 [04:39:44]Write i2c OK [04:39:44]MH_I2C_Read... [04:39:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:39:44]Read from MH i2c: E2 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 0E 00 [04:39:44]MH_I2C_Read... [04:39:44]Read from MH i2c: E2 0E 00 47 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6B [04:39:44]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:39:44]wFMCommunicate OK [04:39:44]SAM_PROTO_GetShiftState done [04:39:44]FM_GetShiftState done [04:39:44]req_shift_opened done [04:39:44]requested_item shift.open_date is exist - process it [04:39:44]req_shift_open_date [04:39:44]req_shift_open_date done [04:39:44]produce_requested_data done [04:39:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37845,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [04:39:44]process_action_free close_receipt [04:39:44]json_value_free [04:39:44]json_value_free done [04:39:44]process_json_proto returns [04:39:44]Send response to host [04:39:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37845,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [04:39:44]free response buf [04:39:44]execute_script done [04:39:44]execute_script returns [04:39:44]free content buf [04:39:44]Sock 7.Close socket [04:39:44]Sock 7.Thread stoped [04:39:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C9 E1 47 00 AB 77 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D5 93 00 00 F4 03 04 00 0B 12 20 67 B6 04 01 00 00 C3 EE EF 7F AE 2A 9E 12 [04:39:44]CommunicateWithHost err = 0 [04:39:44]CheckOFDResponse [04:39:44]1017 (14) - 77093643461234 [04:39:44]1041 (16) - 0000000000871841 [04:39:44]1040 (4) - 37845 [04:39:44]1012 (4) - 28.10.2024 22:36 [04:39:44]1206 (1) - 0 [04:39:44]OFD Sender: Remove packet 37845 [04:39:44]ProducePacketName [04:39:44]name=ofd_packets/00037845 [04:39:44]NVStorageDeleteData [04:39:44]OFD Sender: No OFD packet to send [04:39:49]OFD Sender: No OFD packet to send [04:39:54]OFD Sender: No OFD packet to send [04:39:59]OFD Sender: No OFD packet to send [04:40:04]accept exits with 9 [04:40:04]New connection [04:40:04]New thread 3067297124 created [04:40:04]Thread 3067440484 joined [04:40:04]Waiting for new connection... [04:40:04] Sock 9.Parse request [04:40:04]Sock 9.Check first char [04:40:04]Sock 9.First char is OK [04:40:04]request: POST /json_proto HTTP/1.0 [04:40:04]Method: POST [04:40:04]URL: /json_proto [04:40:04]Method is POST - this is cgi request [04:40:04]url: /json_proto [04:40:04]query_string will be loaded in cgi processing [04:40:04]execute_cgi json_proto POST (null) [04:40:04]execute_cgi path=json_proto method=POST [04:40:04]POST find Content-Length [04:40:04]Host: 172.17.40.196:8080 [04:40:04]Content-Length: 672 [04:40:04]Content-Type: application/json [04:40:04] [04:40:04]POST finish read [04:40:04]Found Content-Length = 672 [04:40:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35144", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:40:04]execute_script... [04:40: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)35144", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [04:40:04]POST & json_proto [04:40:04]process_json_proto [04:40:04]json parsed OK: [04:40:04]protocol is kg_v1.0 [04:40:04]action value=close_receipt [04:40:04]process_action close_receipt [04:40:04]cmd_close_receipt [04:40:04]MH_GetDate [04:40:04]Write to MH i2c: F0 00 00 48 31 68 [04:40:04]Write i2c OK [04:40:04]MH_I2C_Read... [04:40:04]Read from MH i2c: F0 [04:40:04]MH_I2C_Read... [04:40:04]Read from MH i2c: F0 09 00 [04:40:04]MH_I2C_Read... [04:40:04]Read from MH i2c: F0 09 00 48 31 00 2F 67 20 67 5B 68 A1 66 58 [04:40:04]GetLastDocTimeStamp 1730176791 [04:40:04]current date 1730176815 [04:40:04]FM_GetShiftState [04:40:04]SAM_PROTO_GetShiftState [04:40:04]wFMCommunicate request_size=4 [04:40:04]MH_SAM_APDU [04:40:04]CAPDU: 80 13 01 00 [04:40:04]Write to MH i2c: E2 08 00 49 31 80 13 01 00 00 00 00 00 F7 [04:40:04]Write i2c OK [04:40:04]MH_I2C_Read... [04:40:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:40:04]Read from MH i2c: E2 [04:40:04]MH_I2C_Read... [04:40:04]Read from MH i2c: E2 0E 00 [04:40:04]MH_I2C_Read... [04:40:04]Read from MH i2c: E2 0E 00 49 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6D [04:40:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:40:04]wFMCommunicate OK [04:40:04]SAM_PROTO_GetShiftState done [04:40:04]FM_GetShiftState done [04:40:04]opened in 1730160317 [04:40:04]opened+sec_in_day 1730246717 [04:40:04]quantity*price = 700 [04:40:04]sum+1 = 701 [04:40:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 8 29.10.2024 04:40 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37846 ФПД: 177983686004476 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044015&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37846&fm=177983686004476&tin=02508201610067®Number=0000000000091684&sum=700 0 [04:40:05]StoreToDocumentArchive [04:40:05]shift 552 fd 37846 [04:40:05]save to /storage/0552/doc_00037846 [04:40:05]save last doc name /storage/0552/doc_00037846 to /storage/kkm_last_doc_name [04:40:05]save OK [04:40:05]Clear old archive folders... [04:40:05]ProcessDocumentItem done err = 0, tmpTLVsize=287 [04:40:05]tlvbuf is 00233F00 [04:40:05]SAM_PROTO_ClearQueue [04:40:05]wFMCommunicate request_size=4 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 09 00 00 [04:40:05]Write to MH i2c: E2 08 00 56 31 80 09 00 00 00 00 00 00 F9 [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 56 31 00 90 00 FB [04:40:05]RAPDU: 90 00 [04:40:05]wFMCommunicate OK [04:40:05]SAM_PROTO_ClearQueue done [04:40:05]KKMCreateOFDPacket [04:40:05]OFDProtocolAddRootSTLVToBuf [04:40:05]FM_MakeSignedData [04:40:05]FM_MakeSignedData [04:40:05]SAM_PROTO_SignData [04:40:05]wFMCommunicate request_size=4 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 0D 01 02 [04:40:05]Write to MH i2c: E2 08 00 57 31 80 0D 01 02 00 00 00 00 01 [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 57 31 00 90 00 FC [04:40:05]RAPDU: 90 00 [04:40:05]wFMCommunicate OK [04:40:05]wFMCommunicate request_size=255 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 2F 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [04:40:05]Write to MH i2c: E2 02 01 58 31 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 2F 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 00 00 8B [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 58 31 00 90 00 FD [04:40:05]RAPDU: 90 00 [04:40:05]wFMCommunicate OK [04:40:05]wFMCommunicate request_size=46 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 0D 02 02 29 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D6 93 00 00 35 04 06 00 A1 E0 0E 61 4E FC [04:40:05]Write to MH i2c: E2 31 00 59 31 80 0D 02 02 29 00 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D6 93 00 00 35 04 06 00 A1 E0 0E 61 4E FC 00 00 34 [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 03 00 59 31 00 90 00 FE [04:40:05]RAPDU: 90 00 [04:40:05]wFMCommunicate OK [04:40:05]wFMCommunicate request_size=4 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 0D 03 02 [04:40:05]Write to MH i2c: E2 08 00 5A 31 80 0D 03 02 00 00 00 00 06 [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 0B 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 0B 00 5A 31 00 84 AE 29 32 BB 2A C1 8E 90 00 C8 [04:40:05]RAPDU: 84 AE 29 32 BB 2A C1 8E 90 00 [04:40:05]wFMCommunicate OK [04:40:05]SAM_PROTO_SignData done [04:40:05]FM_MakeSignedData done [04:40:05]CreateOFDProtocolMessage [04:40:05]wFMCommunicate request_size=4 [04:40:05]MH_SAM_APDU [04:40:05]CAPDU: 80 11 00 00 [04:40:05]Write to MH i2c: E2 08 00 5B 31 80 11 00 00 00 00 00 00 06 [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:40:05]Read from MH i2c: E2 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 17 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: E2 17 00 5B 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 56 [04:40:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:40:05]wFMCommunicate OK [04:40:05]CreateOFDProtocolMessage done [04:40:05]OFDSenderStorePacket 37846 [04:40:05]StoreOFDPacket docnum=37846 [04:40:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 15 D5 2B 01 3D 2F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 2F 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D6 93 00 00 35 04 06 00 A1 E0 0E 61 4E FC 84 AE 29 32 BB 2A C1 8E [04:40:05]CheckFolder [04:40:05]dirname=/storage/ofd_packets [04:40:05]CheckFolder done [04:40:05]ProducePacketName [04:40:05]name=ofd_packets/00037846 [04:40:05]NVStorageSaveData ofd_packets/00037846 [04:40:05]File name is /storage/ofd_packets/00037846 [04:40:05]Write 337 bytes [04:40:05]NVStorageSaveData done [04:40:05]OFDSenderStorePacket done [04:40:05]KKMCreateOFDPacket done [04:40:05]NVStorageSaveData kkm_last_timestamp [04:40:05]File name is /storage/kkm_last_timestamp [04:40:05]Write 4 bytes [04:40:05]NVStorageSaveData done [04:40:05]ExternCall_PrintAddStr [04:40:05]wPrintStart [04:40:05]Write to MH i2c: 01 00 00 5C 31 8D [04:40:05]Write i2c OK [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: 01 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: 01 07 00 [04:40:05]MH_I2C_Read... [04:40:05]Read from MH i2c: 01 07 00 5C 31 00 00 00 00 00 FF 0F A2 [04:40:05]RasterBufferAndPrint [04:40:05]line Счет N : (3)35144 [04:40:05]line ИНН: 02508201610067 [04:40:05]line Контрольно-Кассовый Чек [04:40:05]line ПРОДАЖА [04:40:05]line Товар: 2000053020015 [04:40:05]line Бумажные стаканы 250мл 1шт [04:40:05]line 1.000 * 7.00 [04:40:05]line = 7.00 [04:40:05]line НДС 12% НСП 1% [04:40:05]line > о реализуемом товаре [04:40:05]line ИТОГО: 7.00 [04:40:05]line НСП 1% : 0.06 [04:40:05]line НДС 12% : 0.74 [04:40:05]line Наличными: 7.00 [04:40:05]line Безнал.: 0.00 [04:40:05]line Место: АЗС № 126 "Партнер Нефть" [04:40:05]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [04:40:05]line СНО: Общий режим [04:40:05]line Чек 8 29.10.2024 04:40 [04:40:05]line Смена: 552 ФФД: 1.0 [04:40:05]line ЗНМ: 0300000092 [04:40:05]line РНМ: 0000000000091684 [04:40:05]line Версия ККМ: 001 [04:40:05]line ФМ: 0000000000871841 [04:40:05]line ФД: 37846 [04:40:05]line ФПД: 177983686004476 [04:40:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T044015&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37846&fm=177983686004476&tin=02508201610067®Number=0000000000091684&sum=700 [04:40:06]line 0 [04:40:06]OFD Sender: Processing packet 37846 [packets to send 42, broken 41] [04:40:06]ProducePacketName [04:40:06]name=ofd_packets/00037846 [04:40:06]OFD Sender: To server: pG, [04:40:06]CommunicateWithHost lk.salyk.kg:30040 [04:40:06]ConnectInit lk.salyk.kg [04:40:06]written 0, free lines is 4095 [04:40:06]Connected sock=10 [04:40:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 15 D5 2B 01 3D 2F 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 2F 67 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D6 93 00 00 35 04 06 00 A1 E0 0E 61 4E FC 84 AE 29 32 BB 2A C1 8E [04:40:06]Write to MH i2c: 01 00 00 85 31 B6 [04:40:06]Write i2c OK [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: 01 [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: 01 07 00 [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: 01 07 00 85 31 00 00 00 00 00 BA 0C 83 [04:40:06]RasterBufferAndPrint [04:40:06]line [04:40:06]line [04:40:06]line [04:40:06]line [04:40:06]line [04:40:06]written 0, free lines is 3266 [04:40:06]MH_Cut [04:40:06]Write to MH i2c: D1 01 00 8C 31 01 8F [04:40:06]Write i2c OK [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: D1 [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: D1 01 00 [04:40:06]MH_I2C_Read... [04:40:06]Read from MH i2c: D1 01 00 8C 31 00 8E [04:40:06]Write to MH i2c: 01 00 00 8D 31 BE [04:40:06]Write i2c OK [04:40:06]MH_I2C_Read... [04:40:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 95 CC 47 00 FA 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 38 37 31 38 34 31 10 04 04 00 D6 93 00 00 F4 03 04 00 22 12 20 67 B6 04 01 00 00 C3 65 96 CB 7A D1 01 5F [04:40:06]CommunicateWithHost err = 0 [04:40:06]CheckOFDResponse [04:40:06]1017 (14) - 77093643461234 [04:40:06]1041 (16) - 0000000000871841 [04:40:06]1040 (4) - 37846 [04:40:06]1012 (4) - 28.10.2024 22:37 [04:40:06]1206 (1) - 0 [04:40:06]OFD Sender: Remove packet 37846 [04:40:06]ProducePacketName [04:40:06]name=ofd_packets/00037846 [04:40:06]NVStorageDeleteData [04:40:07]OFD Sender: No OFD packet to send [04:40:07]*** Cut start [04:40:07]*** Partial cut [04:40:07]*** CUTSNS_PIN = 1 [04:40:07]*** CUTSNS_PIN = 0 [04:40:07]*** Brake cut motor [04:40:07]Read from MH i2c: 01 [04:40:08]MH_I2C_Read... [04:40:08]*** Stop cut motor [04:40:08]*** Cut end [04:40:08]Read from MH i2c: 01 07 00 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: 01 07 00 8D 31 00 00 00 00 00 FF 0F D3 [04:40:08]process_action close_receipt done [04:40:08]requested_data is exist [04:40:08]produce_requested_data [04:40:08]requested_item fm.sn is exist - process it [04:40:08]wFMCommunicate request_size=4 [04:40:08]MH_SAM_APDU [04:40:08]CAPDU: 80 11 00 00 [04:40:08]Write to MH i2c: E2 08 00 8E 31 80 11 00 00 00 00 00 00 39 [04:40:08]Write i2c OK [04:40:08]MH_I2C_Read... [04:40:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:40:08]Read from MH i2c: E2 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 17 00 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 17 00 8E 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [04:40:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [04:40:08]wFMCommunicate OK [04:40:08]requested_item fd.num is exist - process it [04:40:08]SAM_PROTO_GetFieldsCounters [04:40:08]wFMCommunicate request_size=4 [04:40:08]MH_SAM_APDU [04:40:08]CAPDU: 80 13 00 00 [04:40:08]Write to MH i2c: E2 08 00 8F 31 80 13 00 00 00 00 00 00 3C [04:40:08]Write i2c OK [04:40:08]MH_I2C_Read... [04:40:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:40:08]Read from MH i2c: E2 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 62 00 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 62 00 8F 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [04:40:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:40:08]wFMCommunicate OK [04:40:08]SAM_PROTO_GetFieldsCounters done [04:40:08]requested_item shift.num is exist - process it [04:40:08]requested_item shift.opened is exist - process it [04:40:08]req_shift_opened [04:40:08]FM_GetShiftState [04:40:08]SAM_PROTO_GetShiftState [04:40:08]wFMCommunicate request_size=4 [04:40:08]MH_SAM_APDU [04:40:08]CAPDU: 80 13 01 00 [04:40:08]Write to MH i2c: E2 08 00 90 31 80 13 01 00 00 00 00 00 3E [04:40:08]Write i2c OK [04:40:08]MH_I2C_Read... [04:40:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:40:08]Read from MH i2c: E2 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 0E 00 [04:40:08]MH_I2C_Read... [04:40:08]Read from MH i2c: E2 0E 00 90 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B4 [04:40:08]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [04:40:08]wFMCommunicate OK [04:40:08]SAM_PROTO_GetShiftState done [04:40:08]FM_GetShiftState done [04:40:08]req_shift_opened done [04:40:08]requested_item shift.open_date is exist - process it [04:40:08]req_shift_open_date [04:40:08]req_shift_open_date done [04:40:08]produce_requested_data done [04:40:08]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37846,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [04:40:08]process_action_free close_receipt [04:40:08]json_value_free [04:40:08]json_value_free done [04:40:08]process_json_proto returns [04:40:08]Send response to host [04:40:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37846,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [04:40:08]free response buf [04:40:08]execute_script done [04:40:08]execute_script returns [04:40:08]free content buf [04:40:08]Sock 9.Close socket [04:40:08]Sock 9.Thread stoped [04:40:12]OFD Sender: No OFD packet to send [04:40:17]OFD Sender: No OFD packet to send [04:40:22]OFD Sender: No OFD packet to send [04:40:27]OFD Sender: No OFD packet to send [04:40:32]OFD Sender: No OFD packet to send [04:40:37]OFD Sender: No OFD packet to send [04:40:42]OFD Sender: No OFD packet to send [04:40:47]OFD Sender: No OFD packet to send [04:40:52]OFD Sender: No OFD packet to send [04:40:57]OFD Sender: No OFD packet to send [04:41:02]OFD Sender: No OFD packet to send [04:41:07]OFD Sender: No OFD packet to send [04:41:12]OFD Sender: No OFD packet to send [04:41:17]OFD Sender: No OFD packet to send [04:41:22]OFD Sender: No OFD packet to send [04:41:27]OFD Sender: No OFD packet to send [04:41:32]OFD Sender: No OFD packet to send [04:41:37]OFD Sender: No OFD packet to send [04:41:42]OFD Sender: No OFD packet to send [04:41:47]OFD Sender: No OFD packet to send [04:41:52]OFD Sender: No OFD packet to send [04:41:57]OFD Sender: No OFD packet to send [04:42:02]OFD Sender: No OFD packet to send [04:42:07]OFD Sender: No OFD packet to send [04:42:12]OFD Sender: No OFD packet to send [04:42:17]OFD Sender: No OFD packet to send [04:42:22]OFD Sender: No OFD packet to send [04:42:27]OFD Sender: No OFD packet to send [04:42:32]OFD Sender: No OFD packet to send [04:42:37]OFD Sender: No OFD packet to send [04:42:42]OFD Sender: No OFD packet to send [04:42:47]OFD Sender: No OFD packet to send [04:42:52]OFD Sender: No OFD packet to send [04:42:57]OFD Sender: No OFD packet to send [04:43:02]OFD Sender: No OFD packet to send [04:43:07]OFD Sender: No OFD packet to send [04:43:12]OFD Sender: No OFD packet to send [04:43:17]OFD Sender: No OFD packet to send [04:43:22]OFD Sender: No OFD packet to send [04:43:27]OFD Sender: No OFD packet to send [04:43:32]OFD Sender: No OFD packet to send [04:43:37]OFD Sender: No OFD packet to send [04:43:42]OFD Sender: No OFD packet to send [04:43:47]OFD Sender: No OFD packet to send [04:43:52]OFD Sender: No OFD packet to send [04:43:57]OFD Sender: No OFD packet to send [04:44:02]OFD Sender: No OFD packet to send [04:44:07]OFD Sender: No OFD packet to send [04:44:12]OFD Sender: No OFD packet to send [04:44:17]OFD Sender: No OFD packet to send [04:44:22]OFD Sender: No OFD packet to send [04:44:27]OFD Sender: No OFD packet to send [04:44:32]OFD Sender: No OFD packet to send [04:44:37]OFD Sender: No OFD packet to send [04:44:42]OFD Sender: No OFD packet to send [04:44:47]OFD Sender: No OFD packet to send [04:44:52]OFD Sender: No OFD packet to send [04:44:57]OFD Sender: No OFD packet to send [04:45:02]OFD Sender: No OFD packet to send [04:45:07]OFD Sender: No OFD packet to send [04:45:12]OFD Sender: No OFD packet to send [04:45:17]OFD Sender: No OFD packet to send [04:45:22]OFD Sender: No OFD packet to send [04:45:27]OFD Sender: No OFD packet to send [04:45:32]OFD Sender: No OFD packet to send [04:45:37]OFD Sender: No OFD packet to send [04:45:42]OFD Sender: No OFD packet to send [04:45:47]OFD Sender: No OFD packet to send [04:45:52]OFD Sender: No OFD packet to send [04:45:57]OFD Sender: No OFD packet to send [04:46:02]OFD Sender: No OFD packet to send [04:46:07]OFD Sender: No OFD packet to send [04:46:12]OFD Sender: No OFD packet to send [04:46:17]OFD Sender: No OFD packet to send [04:46:22]OFD Sender: No OFD packet to send [04:46:27]OFD Sender: No OFD packet to send [04:46:32]OFD Sender: No OFD packet to send [04:46:37]OFD Sender: No OFD packet to send [04:46:42]OFD Sender: No OFD packet to send [04:46:47]OFD Sender: No OFD packet to send [04:46:52]OFD Sender: No OFD packet to send [04:46:57]OFD Sender: No OFD packet to send [04:47:02]OFD Sender: No OFD packet to send [04:47:07]OFD Sender: No OFD packet to send [04:47:12]OFD Sender: No OFD packet to send [04:47:17]OFD Sender: No OFD packet to send [04:47:22]OFD Sender: No OFD packet to send [04:47:27]OFD Sender: No OFD packet to send [04:47:32]OFD Sender: No OFD packet to send [04:47:37]OFD Sender: No OFD packet to send [04:47:42]OFD Sender: No OFD packet to send [04:47:47]OFD Sender: No OFD packet to send [04:47:52]OFD Sender: No OFD packet to send [04:47:57]OFD Sender: No OFD packet to send [04:48:02]OFD Sender: No OFD packet to send [04:48:07]OFD Sender: No OFD packet to send [04:48:12]OFD Sender: No OFD packet to send [04:48:17]OFD Sender: No OFD packet to send [04:48:22]OFD Sender: No OFD packet to send [04:48:27]OFD Sender: No OFD packet to send [04:48:32]OFD Sender: No OFD packet to send [04:48:37]OFD Sender: No OFD packet to send [04:48:42]OFD Sender: No OFD packet to send [04:48:47]OFD Sender: No OFD packet to send [04:48:52]OFD Sender: No OFD packet to send [04:48:57]OFD Sender: No OFD packet to send [04:49:02]OFD Sender: No OFD packet to send [04:49:07]OFD Sender: No OFD packet to send [04:49:12]OFD Sender: No OFD packet to send [04:49:17]OFD Sender: No OFD packet to send [04:49:22]OFD Sender: No OFD packet to send [04:49:27]OFD Sender: No OFD packet to send [04:49:32]OFD Sender: No OFD packet to send [04:49:37]OFD Sender: No OFD packet to send [04:49:42]OFD Sender: No OFD packet to send [04:49:47]OFD Sender: No OFD packet to send [04:49:52]OFD Sender: No OFD packet to send [04:49:57]OFD Sender: No OFD packet to send [04:50:02]OFD Sender: No OFD packet to send [04:50:07]OFD Sender: No OFD packet to send [04:50:12]OFD Sender: No OFD packet to send [04:50:17]OFD Sender: No OFD packet to send [04:50:22]OFD Sender: No OFD packet to send [04:50:27]OFD Sender: No OFD packet to send [04:50:32]OFD Sender: No OFD packet to send [04:50:37]OFD Sender: No OFD packet to send [04:50:42]OFD Sender: No OFD packet to send [04:50:47]OFD Sender: No OFD packet to send [04:50:52]OFD Sender: No OFD packet to send [04:50:57]OFD Sender: No OFD packet to send [04:51:02]OFD Sender: No OFD packet to send [04:51:07]OFD Sender: No OFD packet to send [04:51:12]OFD Sender: No OFD packet to send [04:51:17]OFD Sender: No OFD packet to send [04:51:22]OFD Sender: No OFD packet to send [04:51:27]OFD Sender: No OFD packet to send [04:51:32]OFD Sender: No OFD packet to send [04:51:37]OFD Sender: No OFD packet to send [04:51:42]OFD Sender: No OFD packet to send [04:51:47]OFD Sender: No OFD packet to send [04:51:52]OFD Sender: No OFD packet to send [04:51:58]OFD Sender: No OFD packet to send [04:52:03]OFD Sender: No OFD packet to send [04:52:08]OFD Sender: No OFD packet to send [04:52:13]OFD Sender: No OFD packet to send [04:52:18]OFD Sender: No OFD packet to send [04:52:23]OFD Sender: No OFD packet to send [04:52:28]OFD Sender: No OFD packet to send [04:52:33]OFD Sender: No OFD packet to send [04:52:38]OFD Sender: No OFD packet to send [04:52:43]OFD Sender: No OFD packet to send [04:52:48]OFD Sender: No OFD packet to send [04:52:53]OFD Sender: No OFD packet to send [04:52:58]OFD Sender: No OFD packet to send [04:53:03]OFD Sender: No OFD packet to send [04:53:08]OFD Sender: No OFD packet to send [04:53:13]OFD Sender: No OFD packet to send [04:53:18]OFD Sender: No OFD packet to send [04:53:23]OFD Sender: No OFD packet to send [04:53:28]OFD Sender: No OFD packet to send [04:53:33]OFD Sender: No OFD packet to send [04:53:38]OFD Sender: No OFD packet to send [04:53:43]OFD Sender: No OFD packet to send [04:53:48]OFD Sender: No OFD packet to send [04:53:53]OFD Sender: No OFD packet to send [04:53:58]OFD Sender: No OFD packet to send [04:54:03]OFD Sender: No OFD packet to send [04:54:08]OFD Sender: No OFD packet to send [04:54:13]OFD Sender: No OFD packet to send [04:54:18]OFD Sender: No OFD packet to send [04:54:23]OFD Sender: No OFD packet to send [04:54:28]OFD Sender: No OFD packet to send [04:54:33]OFD Sender: No OFD packet to send [04:54:38]OFD Sender: No OFD packet to send [04:54:43]OFD Sender: No OFD packet to send [04:54:48]OFD Sender: No OFD packet to send [04:54:53]OFD Sender: No OFD packet to send [04:54:58]OFD Sender: No OFD packet to send [04:55:03]OFD Sender: No OFD packet to send [04:55:08]OFD Sender: No OFD packet to send [04:55:13]OFD Sender: No OFD packet to send [04:55:18]OFD Sender: No OFD packet to send [04:55:23]OFD Sender: No OFD packet to send [04:55:28]OFD Sender: No OFD packet to send [04:55:33]OFD Sender: No OFD packet to send [04:55:38]OFD Sender: No OFD packet to send [04:55:43]OFD Sender: No OFD packet to send [04:55:48]OFD Sender: No OFD packet to send [04:55:53]OFD Sender: No OFD packet to send [04:55:58]OFD Sender: No OFD packet to send [04:56:03]OFD Sender: No OFD packet to send [04:56:08]OFD Sender: No OFD packet to send [04:56:13]OFD Sender: No OFD packet to send [04:56:18]OFD Sender: No OFD packet to send [04:56:23]OFD Sender: No OFD packet to send [04:56:28]OFD Sender: No OFD packet to send [04:56:33]OFD Sender: No OFD packet to send [04:56:38]OFD Sender: No OFD packet to send [04:56:43]OFD Sender: No OFD packet to send [04:56:48]OFD Sender: No OFD packet to send [04:56:53]OFD Sender: No OFD packet to send [04:56:58]OFD Sender: No OFD packet to send [04:57:03]OFD Sender: No OFD packet to send [04:57:08]OFD Sender: No OFD packet to send [04:57:13]OFD Sender: No OFD packet to send [04:57:18]OFD Sender: No OFD packet to send [04:57:23]OFD Sender: No OFD packet to send [04:57:28]OFD Sender: No OFD packet to send [04:57:33]OFD Sender: No OFD packet to send [04:57:38]OFD Sender: No OFD packet to send [04:57:43]OFD Sender: No OFD packet to send [04:57:48]OFD Sender: No OFD packet to send [04:57:53]OFD Sender: No OFD packet to send [04:57:58]OFD Sender: No OFD packet to send [04:58:03]OFD Sender: No OFD packet to send [04:58:08]OFD Sender: No OFD packet to send [04:58:13]OFD Sender: No OFD packet to send [04:58:18]OFD Sender: No OFD packet to send [04:58:23]OFD Sender: No OFD packet to send [04:58:28]OFD Sender: No OFD packet to send [04:58:33]OFD Sender: No OFD packet to send [04:58:38]OFD Sender: No OFD packet to send [04:58:43]OFD Sender: No OFD packet to send [04:58:48]OFD Sender: No OFD packet to send [04:58:53]OFD Sender: No OFD packet to send [04:58:58]OFD Sender: No OFD packet to send [04:59:03]OFD Sender: No OFD packet to send [04:59:08]OFD Sender: No OFD packet to send [04:59:13]OFD Sender: No OFD packet to send [04:59:18]OFD Sender: No OFD packet to send [04:59:23]OFD Sender: No OFD packet to send [04:59:28]OFD Sender: No OFD packet to send [04:59:33]OFD Sender: No OFD packet to send [04:59:38]OFD Sender: No OFD packet to send [04:59:43]OFD Sender: No OFD packet to send [04:59:48]OFD Sender: No OFD packet to send [04:59:53]OFD Sender: No OFD packet to send [04:59:58]OFD Sender: No OFD packet to send [05:00:03]OFD Sender: No OFD packet to send [05:00:08]OFD Sender: No OFD packet to send [05:00:13]OFD Sender: No OFD packet to send [05:00:18]OFD Sender: No OFD packet to send [05:00:23]OFD Sender: No OFD packet to send [05:00:28]OFD Sender: No OFD packet to send [05:00:33]OFD Sender: No OFD packet to send [05:00:38]OFD Sender: No OFD packet to send [05:00:43]OFD Sender: No OFD packet to send [05:00:48]OFD Sender: No OFD packet to send [05:00:53]OFD Sender: No OFD packet to send [05:00:58]OFD Sender: No OFD packet to send [05:01:03]OFD Sender: No OFD packet to send [05:01:08]OFD Sender: No OFD packet to send [05:01:13]OFD Sender: No OFD packet to send [05:01:18]OFD Sender: No OFD packet to send [05:01:23]OFD Sender: No OFD packet to send [05:01:28]OFD Sender: No OFD packet to send [05:01:33]OFD Sender: No OFD packet to send [05:01:38]OFD Sender: No OFD packet to send [05:01:43]OFD Sender: No OFD packet to send [05:01:48]OFD Sender: No OFD packet to send [05:01:53]OFD Sender: No OFD packet to send [05:01:58]OFD Sender: No OFD packet to send [05:02:03]OFD Sender: No OFD packet to send [05:02:08]OFD Sender: No OFD packet to send [05:02:13]OFD Sender: No OFD packet to send [05:02:18]OFD Sender: No OFD packet to send [05:02:23]OFD Sender: No OFD packet to send [05:02:28]OFD Sender: No OFD packet to send [05:02:33]OFD Sender: No OFD packet to send [05:02:38]OFD Sender: No OFD packet to send [05:02:43]OFD Sender: No OFD packet to send [05:02:48]OFD Sender: No OFD packet to send [05:02:53]OFD Sender: No OFD packet to send [05:02:58]OFD Sender: No OFD packet to send [05:03:03]OFD Sender: No OFD packet to send [05:03:08]OFD Sender: No OFD packet to send [05:03:13]OFD Sender: No OFD packet to send [05:03:18]OFD Sender: No OFD packet to send [05:03:23]OFD Sender: No OFD packet to send [05:03:28]OFD Sender: No OFD packet to send [05:03:33]OFD Sender: No OFD packet to send [05:03:38]OFD Sender: No OFD packet to send [05:03:43]OFD Sender: No OFD packet to send [05:03:48]OFD Sender: No OFD packet to send [05:03:53]OFD Sender: No OFD packet to send [05:03:58]OFD Sender: No OFD packet to send [05:04:03]OFD Sender: No OFD packet to send [05:04:08]OFD Sender: No OFD packet to send [05:04:13]OFD Sender: No OFD packet to send [05:04:18]OFD Sender: No OFD packet to send [05:04:23]OFD Sender: No OFD packet to send [05:04:28]OFD Sender: No OFD packet to send [05:04:33]OFD Sender: No OFD packet to send [05:04:38]OFD Sender: No OFD packet to send [05:04:43]OFD Sender: No OFD packet to send [05:04:48]OFD Sender: No OFD packet to send [05:04:53]OFD Sender: No OFD packet to send [05:04:58]OFD Sender: No OFD packet to send [05:05:03]OFD Sender: No OFD packet to send [05:05:08]OFD Sender: No OFD packet to send [05:05:13]OFD Sender: No OFD packet to send [05:05:18]OFD Sender: No OFD packet to send [05:05:23]OFD Sender: No OFD packet to send [05:05:28]OFD Sender: No OFD packet to send [05:05:33]OFD Sender: No OFD packet to send [05:05:38]OFD Sender: No OFD packet to send [05:05:43]OFD Sender: No OFD packet to send [05:05:48]OFD Sender: No OFD packet to send [05:05:53]OFD Sender: No OFD packet to send [05:05:58]OFD Sender: No OFD packet to send [05:06:03]OFD Sender: No OFD packet to send [05:06:08]OFD Sender: No OFD packet to send [05:06:13]OFD Sender: No OFD packet to send [05:06:18]OFD Sender: No OFD packet to send [05:06:23]OFD Sender: No OFD packet to send [05:06:28]OFD Sender: No OFD packet to send [05:06:33]OFD Sender: No OFD packet to send [05:06:38]OFD Sender: No OFD packet to send [05:06:43]OFD Sender: No OFD packet to send [05:06:48]OFD Sender: No OFD packet to send [05:06:53]OFD Sender: No OFD packet to send [05:06:58]OFD Sender: No OFD packet to send [05:07:03]OFD Sender: No OFD packet to send [05:07:08]OFD Sender: No OFD packet to send [05:07:13]OFD Sender: No OFD packet to send [05:07:18]accept exits with 7 [05:07:18]New connection [05:07:18]New thread 3067440484 created [05:07:18]Thread 3067297124 joined [05:07:18]Waiting for new connection... [05:07:18] Sock 7.Parse request [05:07:18]Sock 7.Check first char [05:07:18]Sock 7.First char is OK [05:07:18]request: POST /json_proto HTTP/1.0 [05:07:18]Method: POST [05:07:18]URL: /json_proto [05:07:18]Method is POST - this is cgi request [05:07:18]url: /json_proto [05:07:18]query_string will be loaded in cgi processing [05:07:18]execute_cgi json_proto POST (null) [05:07:18]execute_cgi path=json_proto method=POST [05:07:18]POST find Content-Length [05:07:18]Host: 172.17.40.196:8080 [05:07:18]Content-Length: 756 [05:07:18]Content-Type: application/json [05:07:18] [05:07:18]POST finish read [05:07:18]Found Content-Length = 756 [05:07:18]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35145", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 2.000, "sum" : 200.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" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:18]execute_script... [05:07:18]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35145", "tax_sys" : 0, "items" : [ { "code": "4700000480814", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 0,5 \u0441\u0442", "price" : 100.00, "quantity" : 2.000, "sum" : 200.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" : 200.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [05:07:18]POST & json_proto [05:07:18]process_json_proto [05:07:18]json parsed OK: [05:07:18]protocol is kg_v1.0 [05:07:18]action value=close_receipt [05:07:18]process_action close_receipt [05:07:18]cmd_close_receipt [05:07:18]MH_GetDate [05:07:18]Write to MH i2c: F0 00 00 91 31 B1 [05:07:18]Write i2c OK [05:07:18]MH_I2C_Read... [05:07:18]Read from MH i2c: F0 [05:07:18]MH_I2C_Read... [05:07:18]Read from MH i2c: F0 09 00 [05:07:18]MH_I2C_Read... [05:07:18]Read from MH i2c: F0 09 00 91 31 00 91 6D 20 67 5B 68 A1 66 09 [05:07:18]GetLastDocTimeStamp 1730176815 [05:07:18]current date 1730178449 [05:07:18]FM_GetShiftState [05:07:18]SAM_PROTO_GetShiftState [05:07:18]wFMCommunicate request_size=4 [05:07:18]MH_SAM_APDU [05:07:18]CAPDU: 80 13 01 00 [05:07:18]Write to MH i2c: E2 08 00 92 31 80 13 01 00 00 00 00 00 40 [05:07:18]Write i2c OK [05:07:18]MH_I2C_Read... [05:07:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:18]Read from MH i2c: E2 [05:07:18]MH_I2C_Read... [05:07:18]Read from MH i2c: E2 0E 00 [05:07:18]MH_I2C_Read... [05:07:18]Read from MH i2c: E2 0E 00 92 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B6 [05:07:18]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:07:18]wFMCommunicate OK [05:07:18]SAM_PROTO_GetShiftState done [05:07:18]FM_GetShiftState done [05:07:18]opened in 1730160317 [05:07:18]opened+sec_in_day 1730246717 [05:07:18]quantity*price = 20000 [05:07:18]sum+1 = 20001 [05:07:18]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 0.00 Безнал.: 200.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 9 29.10.2024 05:07 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37847 ФПД: 154724417384193 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T050729&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37847&fm=154724417384193&tin=02508201610067®Number=0000000000091684&sum=20000 0 [05:07:19]StoreToDocumentArchive [05:07:19]shift 552 fd 37847 [05:07:19]save to /storage/0552/doc_00037847 [05:07:19]save last doc name /storage/0552/doc_00037847 to /storage/kkm_last_doc_name [05:07:19]save OK [05:07:19]Clear old archive folders... [05:07:19]ProcessDocumentItem done err = 0, tmpTLVsize=270 [05:07:19]tlvbuf is 002C2C70 [05:07:19]SAM_PROTO_ClearQueue [05:07:19]wFMCommunicate request_size=4 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 09 00 00 [05:07:19]Write to MH i2c: E2 08 00 9F 31 80 09 00 00 00 00 00 00 42 [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 9F 31 00 90 00 44 [05:07:19]RAPDU: 90 00 [05:07:19]wFMCommunicate OK [05:07:19]SAM_PROTO_ClearQueue done [05:07:19]KKMCreateOFDPacket [05:07:19]OFDProtocolAddRootSTLVToBuf [05:07:19]FM_MakeSignedData [05:07:19]FM_MakeSignedData [05:07:19]SAM_PROTO_SignData [05:07:19]wFMCommunicate request_size=4 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 0D 01 02 [05:07:19]Write to MH i2c: E2 08 00 A0 31 80 0D 01 02 00 00 00 00 4A [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 A0 31 00 90 00 45 [05:07:19]RAPDU: 90 00 [05:07:19]wFMCommunicate OK [05:07:19]wFMCommunicate request_size=255 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 0D 02 02 FA 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 91 6D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 [05:07:19]Write to MH i2c: E2 02 01 A1 31 80 0D 02 02 FA 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 91 6D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 00 00 55 [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 A1 31 00 90 00 46 [05:07:19]RAPDU: 90 00 [05:07:19]wFMCommunicate OK [05:07:19]wFMCommunicate request_size=29 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 0D 02 02 18 38 37 31 38 34 31 10 04 04 00 D7 93 00 00 35 04 06 00 8C B8 95 EF AF 01 [05:07:19]Write to MH i2c: E2 20 00 A2 31 80 0D 02 02 18 00 38 37 31 38 34 31 10 04 04 00 D7 93 00 00 35 04 06 00 8C B8 95 EF AF 01 00 00 F3 [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 03 00 A2 31 00 90 00 47 [05:07:19]RAPDU: 90 00 [05:07:19]wFMCommunicate OK [05:07:19]wFMCommunicate request_size=4 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 0D 03 02 [05:07:19]Write to MH i2c: E2 08 00 A3 31 80 0D 03 02 00 00 00 00 4F [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 0B 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 0B 00 A3 31 00 28 DC C9 F2 CE 22 4E 51 90 00 9E [05:07:19]RAPDU: 28 DC C9 F2 CE 22 4E 51 90 00 [05:07:19]wFMCommunicate OK [05:07:19]SAM_PROTO_SignData done [05:07:19]FM_MakeSignedData done [05:07:19]CreateOFDProtocolMessage [05:07:19]wFMCommunicate request_size=4 [05:07:19]MH_SAM_APDU [05:07:19]CAPDU: 80 11 00 00 [05:07:19]Write to MH i2c: E2 08 00 A4 31 80 11 00 00 00 00 00 00 4F [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:19]Read from MH i2c: E2 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 17 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: E2 17 00 A4 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9F [05:07:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:07:19]wFMCommunicate OK [05:07:19]CreateOFDProtocolMessage done [05:07:19]OFDSenderStorePacket 37847 [05:07:19]StoreOFDPacket docnum=37847 [05:07:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 22 01 00 00 AE EC 1A 01 07 3D 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 91 6D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D7 93 00 00 35 04 06 00 8C B8 95 EF AF 01 28 DC C9 F2 CE 22 4E 51 [05:07:19]CheckFolder [05:07:19]dirname=/storage/ofd_packets [05:07:19]CheckFolder done [05:07:19]ProducePacketName [05:07:19]name=ofd_packets/00037847 [05:07:19]NVStorageSaveData ofd_packets/00037847 [05:07:19]File name is /storage/ofd_packets/00037847 [05:07:19]Write 320 bytes [05:07:19]NVStorageSaveData done [05:07:19]OFDSenderStorePacket done [05:07:19]KKMCreateOFDPacket done [05:07:19]NVStorageSaveData kkm_last_timestamp [05:07:19]File name is /storage/kkm_last_timestamp [05:07:19]Write 4 bytes [05:07:19]NVStorageSaveData done [05:07:19]ExternCall_PrintAddStr [05:07:19]wPrintStart [05:07:19]Write to MH i2c: 01 00 00 A5 31 D6 [05:07:19]Write i2c OK [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: 01 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: 01 07 00 [05:07:19]MH_I2C_Read... [05:07:19]Read from MH i2c: 01 07 00 A5 31 00 00 00 00 00 FF 0F EB [05:07:19]RasterBufferAndPrint [05:07:19]line Счет N : (3)35145 [05:07:19]line ИНН: 02508201610067 [05:07:19]line Контрольно-Кассовый Чек [05:07:19]line ПРОДАЖА [05:07:19]line Товар: 4700000480814 [05:07:19]line Пиво Живое 0,5 ст [05:07:19]line 2.000 * 100.00 [05:07:19]line = 200.00 [05:07:19]line НДС 12% НСП 1% [05:07:19]line > о реализуемом товаре [05:07:19]line ИТОГО: 200.00 [05:07:19]line НСП 1% : 1.77 [05:07:19]line НДС 12% : 21.24 [05:07:19]line Наличными: 0.00 [05:07:19]line Безнал.: 200.00 [05:07:19]line Место: АЗС № 126 "Партнер Нефть" [05:07:19]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:07:19]line СНО: Общий режим [05:07:19]line Чек 9 29.10.2024 05:07 [05:07:19]line Смена: 552 ФФД: 1.0 [05:07:19]line ЗНМ: 0300000092 [05:07:19]line РНМ: 0000000000091684 [05:07:19]line Версия ККМ: 001 [05:07:19]line Платежная система: Mbank [05:07:19]line ФМ: 0000000000871841 [05:07:19]line ФД: 37847 [05:07:19]line ФПД: 154724417384193 [05:07:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T050729&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37847&fm=154724417384193&tin=02508201610067®Number=0000000000091684&sum=20000 [05:07:19]line 0 [05:07:20]written 0, free lines is 4095 [05:07:20]OFD Sender: Processing packet 37847 [packets to send 42, broken 41] [05:07:20]ProducePacketName [05:07:20]name=ofd_packets/00037847 [05:07:20]OFD Sender: To server: pG, [05:07:20]CommunicateWithHost lk.salyk.kg:30040 [05:07:20]ConnectInit lk.salyk.kg [05:07:20]Connected sock=9 [05:07:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 22 01 00 00 AE EC 1A 01 07 3D 5A 03 01 00 03 00 0E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 38 31 34 06 04 1C 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 30 2C 35 20 D1 81 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 27 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 20 4E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B1 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4C 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 20 4E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 09 00 00 00 F4 03 04 00 91 6D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D7 93 00 00 35 04 06 00 8C B8 95 EF AF 01 28 DC C9 F2 CE 22 4E 51 [05:07:20]Write to MH i2c: 01 00 00 CE 31 FF [05:07:20]Write i2c OK [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: 01 [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: 01 07 00 [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: 01 07 00 CE 31 00 00 00 00 00 D5 0C E7 [05:07:20]RasterBufferAndPrint [05:07:20]line [05:07:20]line [05:07:20]line [05:07:20]line [05:07:20]line [05:07:20]written 0, free lines is 3293 [05:07:20]MH_Cut [05:07:20]Write to MH i2c: D1 01 00 D5 31 01 D8 [05:07:20]Write i2c OK [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: D1 [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: D1 01 00 [05:07:20]MH_I2C_Read... [05:07:20]Read from MH i2c: D1 01 00 D5 31 00 D7 [05:07:20]Write to MH i2c: 01 00 00 D6 31 07 [05:07:20]Write i2c OK [05:07:20]MH_I2C_Read... [05:07:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C8 83 47 00 F1 A4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D7 93 00 00 F4 03 04 00 84 18 20 67 B6 04 01 00 00 2A F2 AE 6D 01 D5 5F 48 [05:07:20]CommunicateWithHost err = 0 [05:07:20]CheckOFDResponse [05:07:20]1017 (14) - 77093643461234 [05:07:20]1041 (16) - 0000000000871841 [05:07:20]1040 (4) - 37847 [05:07:20]1012 (4) - 28.10.2024 23:04 [05:07:20]1206 (1) - 0 [05:07:20]OFD Sender: Remove packet 37847 [05:07:20]ProducePacketName [05:07:20]name=ofd_packets/00037847 [05:07:20]NVStorageDeleteData [05:07:21]*** Cut start [05:07:21]*** Partial cut [05:07:21]*** CUTSNS_PIN = 1 [05:07:21]OFD Sender: No OFD packet to send [05:07:21]*** CUTSNS_PIN = 0 [05:07:21]*** Brake cut motor [05:07:22]Read from MH i2c: 01 [05:07:22]MH_I2C_Read... [05:07:22]*** Stop cut motor [05:07:22]*** Cut end [05:07:22]Read from MH i2c: 01 07 00 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: 01 07 00 D6 31 00 00 00 00 00 FF 0F 1C [05:07:22]process_action close_receipt done [05:07:22]requested_data is exist [05:07:22]produce_requested_data [05:07:22]requested_item fm.sn is exist - process it [05:07:22]wFMCommunicate request_size=4 [05:07:22]MH_SAM_APDU [05:07:22]CAPDU: 80 11 00 00 [05:07:22]Write to MH i2c: E2 08 00 D7 31 80 11 00 00 00 00 00 00 82 [05:07:22]Write i2c OK [05:07:22]MH_I2C_Read... [05:07:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:07:22]Read from MH i2c: E2 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 17 00 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 17 00 D7 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D2 [05:07:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:07:22]wFMCommunicate OK [05:07:22]requested_item fd.num is exist - process it [05:07:22]SAM_PROTO_GetFieldsCounters [05:07:22]wFMCommunicate request_size=4 [05:07:22]MH_SAM_APDU [05:07:22]CAPDU: 80 13 00 00 [05:07:22]Write to MH i2c: E2 08 00 D8 31 80 13 00 00 00 00 00 00 85 [05:07:22]Write i2c OK [05:07:22]MH_I2C_Read... [05:07:22]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:07:22]Read from MH i2c: E2 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 62 00 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 62 00 D8 31 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 55 [05:07:22]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 09 00 00 00 5E 04 04 00 09 00 00 00 57 04 04 00 0A 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:07:22]wFMCommunicate OK [05:07:22]SAM_PROTO_GetFieldsCounters done [05:07:22]requested_item shift.num is exist - process it [05:07:22]requested_item shift.opened is exist - process it [05:07:22]req_shift_opened [05:07:22]FM_GetShiftState [05:07:22]SAM_PROTO_GetShiftState [05:07:22]wFMCommunicate request_size=4 [05:07:22]MH_SAM_APDU [05:07:22]CAPDU: 80 13 01 00 [05:07:22]Write to MH i2c: E2 08 00 D9 31 80 13 01 00 00 00 00 00 87 [05:07:22]Write i2c OK [05:07:22]MH_I2C_Read... [05:07:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:07:22]Read from MH i2c: E2 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 0E 00 [05:07:22]MH_I2C_Read... [05:07:22]Read from MH i2c: E2 0E 00 D9 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FD [05:07:22]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:07:22]wFMCommunicate OK [05:07:22]SAM_PROTO_GetShiftState done [05:07:22]FM_GetShiftState done [05:07:22]req_shift_opened done [05:07:22]requested_item shift.open_date is exist - process it [05:07:22]req_shift_open_date [05:07:22]req_shift_open_date done [05:07:22]produce_requested_data done [05:07:22]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37847,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [05:07:22]process_action_free close_receipt [05:07:22]json_value_free [05:07:22]json_value_free done [05:07:22]process_json_proto returns [05:07:22]Send response to host [05:07:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37847,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [05:07:22]free response buf [05:07:22]execute_script done [05:07:22]execute_script returns [05:07:22]free content buf [05:07:22]Sock 7.Close socket [05:07:22]Sock 7.Thread stoped [05:07:26]OFD Sender: No OFD packet to send [05:07:31]OFD Sender: No OFD packet to send [05:07:36]OFD Sender: No OFD packet to send [05:07:41]OFD Sender: No OFD packet to send [05:07:46]OFD Sender: No OFD packet to send [05:07:51]OFD Sender: No OFD packet to send [05:07:56]OFD Sender: No OFD packet to send [05:08:01]OFD Sender: No OFD packet to send [05:08:06]OFD Sender: No OFD packet to send [05:08:11]OFD Sender: No OFD packet to send [05:08:16]OFD Sender: No OFD packet to send [05:08:21]OFD Sender: No OFD packet to send [05:08:26]OFD Sender: No OFD packet to send [05:08:31]OFD Sender: No OFD packet to send [05:08:36]OFD Sender: No OFD packet to send [05:08:41]OFD Sender: No OFD packet to send [05:08:46]OFD Sender: No OFD packet to send [05:08:51]OFD Sender: No OFD packet to send [05:08:56]OFD Sender: No OFD packet to send [05:09:01]OFD Sender: No OFD packet to send [05:09:06]OFD Sender: No OFD packet to send [05:09:11]OFD Sender: No OFD packet to send [05:09:16]OFD Sender: No OFD packet to send [05:09:21]OFD Sender: No OFD packet to send [05:09:26]OFD Sender: No OFD packet to send [05:09:31]OFD Sender: No OFD packet to send [05:09:36]OFD Sender: No OFD packet to send [05:09:41]OFD Sender: No OFD packet to send [05:09:46]OFD Sender: No OFD packet to send [05:09:51]OFD Sender: No OFD packet to send [05:09:56]OFD Sender: No OFD packet to send [05:10:01]OFD Sender: No OFD packet to send [05:10:06]OFD Sender: No OFD packet to send [05:10:11]OFD Sender: No OFD packet to send [05:10:16]OFD Sender: No OFD packet to send [05:10:21]OFD Sender: No OFD packet to send [05:10:26]OFD Sender: No OFD packet to send [05:10:31]OFD Sender: No OFD packet to send [05:10:36]OFD Sender: No OFD packet to send [05:10:41]OFD Sender: No OFD packet to send [05:10:46]OFD Sender: No OFD packet to send [05:10:51]OFD Sender: No OFD packet to send [05:10:56]OFD Sender: No OFD packet to send [05:11:01]OFD Sender: No OFD packet to send [05:11:06]OFD Sender: No OFD packet to send [05:11:11]OFD Sender: No OFD packet to send [05:11:16]OFD Sender: No OFD packet to send [05:11:21]OFD Sender: No OFD packet to send [05:11:26]OFD Sender: No OFD packet to send [05:11:31]OFD Sender: No OFD packet to send [05:11:36]OFD Sender: No OFD packet to send [05:11:41]OFD Sender: No OFD packet to send [05:11:46]OFD Sender: No OFD packet to send [05:11:51]OFD Sender: No OFD packet to send [05:11:56]OFD Sender: No OFD packet to send [05:12:01]OFD Sender: No OFD packet to send [05:12:06]OFD Sender: No OFD packet to send [05:12:11]OFD Sender: No OFD packet to send [05:12:16]OFD Sender: No OFD packet to send [05:12:21]OFD Sender: No OFD packet to send [05:12:26]OFD Sender: No OFD packet to send [05:12:31]OFD Sender: No OFD packet to send [05:12:36]OFD Sender: No OFD packet to send [05:12:41]OFD Sender: No OFD packet to send [05:12:46]OFD Sender: No OFD packet to send [05:12:51]OFD Sender: No OFD packet to send [05:12:56]OFD Sender: No OFD packet to send [05:13:01]OFD Sender: No OFD packet to send [05:13:06]OFD Sender: No OFD packet to send [05:13:11]OFD Sender: No OFD packet to send [05:13:16]OFD Sender: No OFD packet to send [05:13:21]OFD Sender: No OFD packet to send [05:13:26]OFD Sender: No OFD packet to send [05:13:31]OFD Sender: No OFD packet to send [05:13:36]OFD Sender: No OFD packet to send [05:13:41]OFD Sender: No OFD packet to send [05:13:46]OFD Sender: No OFD packet to send [05:13:51]OFD Sender: No OFD packet to send [05:13:56]OFD Sender: No OFD packet to send [05:14:01]OFD Sender: No OFD packet to send [05:14:06]OFD Sender: No OFD packet to send [05:14:11]OFD Sender: No OFD packet to send [05:14:16]OFD Sender: No OFD packet to send [05:14:21]OFD Sender: No OFD packet to send [05:14:26]OFD Sender: No OFD packet to send [05:14:31]OFD Sender: No OFD packet to send [05:14:36]OFD Sender: No OFD packet to send [05:14:41]OFD Sender: No OFD packet to send [05:14:46]OFD Sender: No OFD packet to send [05:14:51]OFD Sender: No OFD packet to send [05:14:56]OFD Sender: No OFD packet to send [05:15:01]OFD Sender: No OFD packet to send [05:15:06]OFD Sender: No OFD packet to send [05:15:11]OFD Sender: No OFD packet to send [05:15:16]OFD Sender: No OFD packet to send [05:15:21]OFD Sender: No OFD packet to send [05:15:26]OFD Sender: No OFD packet to send [05:15:29]accept exits with 10 [05:15:29]New connection [05:15:29]New thread 3067297124 created [05:15:29]Thread 3067440484 joined [05:15:29]Waiting for new connection... [05:15:29] Sock 10.Parse request [05:15:29]Sock 10.Check first char [05:15:29]Sock 10.First char is OK [05:15:29]request: POST /json_proto HTTP/1.0 [05:15:29]Method: POST [05:15:29]URL: /json_proto [05:15:29]Method is POST - this is cgi request [05:15:29]url: /json_proto [05:15:29]query_string will be loaded in cgi processing [05:15:29]execute_cgi json_proto POST (null) [05:15:29]execute_cgi path=json_proto method=POST [05:15:29]POST find Content-Length [05:15:29]Host: 172.17.40.196:8080 [05:15:29]Content-Length: 757 [05:15:29]Content-Type: application/json [05:15:29] [05:15:29]POST finish read [05:15:29]Found Content-Length = 757 [05:15:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35146", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "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" ] } } [05:15:29]execute_script... [05:15:29]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35146", "tax_sys" : 0, "items" : [ { "code": "4640030092567", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Exchange Summer Red", "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" ] } } [05:15:29]POST & json_proto [05:15:29]process_json_proto [05:15:29]json parsed OK: [05:15:29]protocol is kg_v1.0 [05:15:29]action value=close_receipt [05:15:29]process_action close_receipt [05:15:29]cmd_close_receipt [05:15:29]MH_GetDate [05:15:29]Write to MH i2c: F0 00 00 DA 31 FA [05:15:29]Write i2c OK [05:15:29]MH_I2C_Read... [05:15:29]Read from MH i2c: F0 [05:15:29]MH_I2C_Read... [05:15:29]Read from MH i2c: F0 09 00 [05:15:29]MH_I2C_Read... [05:15:29]Read from MH i2c: F0 09 00 DA 31 00 7C 6F 20 67 5B 68 A1 66 3F [05:15:29]GetLastDocTimeStamp 1730178449 [05:15:29]current date 1730178940 [05:15:29]FM_GetShiftState [05:15:29]SAM_PROTO_GetShiftState [05:15:29]wFMCommunicate request_size=4 [05:15:29]MH_SAM_APDU [05:15:29]CAPDU: 80 13 01 00 [05:15:29]Write to MH i2c: E2 08 00 DB 31 80 13 01 00 00 00 00 00 89 [05:15:29]Write i2c OK [05:15:29]MH_I2C_Read... [05:15:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:15:29]Read from MH i2c: E2 [05:15:29]MH_I2C_Read... [05:15:29]Read from MH i2c: E2 0E 00 [05:15:29]MH_I2C_Read... [05:15:29]Read from MH i2c: E2 0E 00 DB 31 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FF [05:15:29]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:15:29]wFMCommunicate OK [05:15:29]SAM_PROTO_GetShiftState done [05:15:29]FM_GetShiftState done [05:15:29]opened in 1730160317 [05:15:29]opened+sec_in_day 1730246717 [05:15:29]quantity*price = 15900 [05:15:29]sum+1 = 15901 [05:15:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 0.00 Безнал.: 159.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 10 29.10.2024 05:15 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37848 ФПД: 133754322157402 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T051540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37848&fm=133754322157402&tin=02508201610067®Number=0000000000091684&sum=15900 0 [05:15:30]StoreToDocumentArchive [05:15:30]shift 552 fd 37848 [05:15:30]save to /storage/0552/doc_00037848 [05:15:30]save last doc name /storage/0552/doc_00037848 to /storage/kkm_last_doc_name [05:15:30]save OK [05:15:30]Clear old archive folders... [05:15:30]ProcessDocumentItem done err = 0, tmpTLVsize=283 [05:15:30]tlvbuf is 0029E220 [05:15:30]SAM_PROTO_ClearQueue [05:15:30]wFMCommunicate request_size=4 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 09 00 00 [05:15:30]Write to MH i2c: E2 08 00 E8 31 80 09 00 00 00 00 00 00 8B [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 E8 31 00 90 00 8D [05:15:30]RAPDU: 90 00 [05:15:30]wFMCommunicate OK [05:15:30]SAM_PROTO_ClearQueue done [05:15:30]KKMCreateOFDPacket [05:15:30]OFDProtocolAddRootSTLVToBuf [05:15:30]FM_MakeSignedData [05:15:30]FM_MakeSignedData [05:15:30]SAM_PROTO_SignData [05:15:30]wFMCommunicate request_size=4 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 0D 01 02 [05:15:30]Write to MH i2c: E2 08 00 E9 31 80 0D 01 02 00 00 00 00 93 [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 E9 31 00 90 00 8E [05:15:30]RAPDU: 90 00 [05:15:30]wFMCommunicate OK [05:15:30]wFMCommunicate request_size=255 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 0A 00 00 00 F4 03 04 00 7C 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [05:15:30]Write to MH i2c: E2 02 01 EA 31 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 0A 00 00 00 F4 03 04 00 7C 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 12 [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 EA 31 00 90 00 8F [05:15:30]RAPDU: 90 00 [05:15:30]wFMCommunicate OK [05:15:30]wFMCommunicate request_size=42 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D8 93 00 00 35 04 06 00 79 A6 1A DB FF 5A [05:15:30]Write to MH i2c: E2 2D 00 EB 31 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D8 93 00 00 35 04 06 00 79 A6 1A DB FF 5A 00 00 40 [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 03 00 EB 31 00 90 00 90 [05:15:30]RAPDU: 90 00 [05:15:30]wFMCommunicate OK [05:15:30]wFMCommunicate request_size=4 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 0D 03 02 [05:15:30]Write to MH i2c: E2 08 00 EC 31 80 0D 03 02 00 00 00 00 98 [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 0B 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 0B 00 EC 31 00 5A 4E E2 F1 BD 72 74 33 90 00 EA [05:15:30]RAPDU: 5A 4E E2 F1 BD 72 74 33 90 00 [05:15:30]wFMCommunicate OK [05:15:30]SAM_PROTO_SignData done [05:15:30]FM_MakeSignedData done [05:15:30]CreateOFDProtocolMessage [05:15:30]wFMCommunicate request_size=4 [05:15:30]MH_SAM_APDU [05:15:30]CAPDU: 80 11 00 00 [05:15:30]Write to MH i2c: E2 08 00 ED 31 80 11 00 00 00 00 00 00 98 [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:15:30]Read from MH i2c: E2 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 17 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: E2 17 00 ED 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E8 [05:15:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:15:30]wFMCommunicate OK [05:15:30]CreateOFDProtocolMessage done [05:15:30]OFDSenderStorePacket 37848 [05:15:30]StoreOFDPacket docnum=37848 [05:15:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 B0 0F 27 01 ED A7 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 0A 00 00 00 F4 03 04 00 7C 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D8 93 00 00 35 04 06 00 79 A6 1A DB FF 5A 5A 4E E2 F1 BD 72 74 33 [05:15:30]CheckFolder [05:15:30]dirname=/storage/ofd_packets [05:15:30]CheckFolder done [05:15:30]ProducePacketName [05:15:30]name=ofd_packets/00037848 [05:15:30]NVStorageSaveData ofd_packets/00037848 [05:15:30]File name is /storage/ofd_packets/00037848 [05:15:30]Write 333 bytes [05:15:30]NVStorageSaveData done [05:15:30]OFDSenderStorePacket done [05:15:30]KKMCreateOFDPacket done [05:15:30]NVStorageSaveData kkm_last_timestamp [05:15:30]File name is /storage/kkm_last_timestamp [05:15:30]Write 4 bytes [05:15:30]NVStorageSaveData done [05:15:30]ExternCall_PrintAddStr [05:15:30]wPrintStart [05:15:30]Write to MH i2c: 01 00 00 EE 31 1F [05:15:30]Write i2c OK [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: 01 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: 01 07 00 [05:15:30]MH_I2C_Read... [05:15:30]Read from MH i2c: 01 07 00 EE 31 00 00 00 00 00 FF 0F 34 [05:15:30]RasterBufferAndPrint [05:15:30]line Счет N : (3)35146 [05:15:30]line ИНН: 02508201610067 [05:15:30]line Контрольно-Кассовый Чек [05:15:30]line ПРОДАЖА [05:15:30]line Товар: 4640030092567 [05:15:30]line Сигареты Esse Exchange Summer Red [05:15:30]line 1.000 * 159.00 [05:15:30]line = 159.00 [05:15:30]line НДС 12% НСП 1% [05:15:30]line > о реализуемом товаре [05:15:30]line ИТОГО: 159.00 [05:15:30]line НСП 1% : 1.41 [05:15:30]line НДС 12% : 16.88 [05:15:30]line Наличными: 0.00 [05:15:30]line Безнал.: 159.00 [05:15:30]line Место: АЗС № 126 "Партнер Нефть" [05:15:30]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:15:30]line СНО: Общий режим [05:15:30]line Чек 10 29.10.2024 05:15 [05:15:30]line Смена: 552 ФФД: 1.0 [05:15:30]line ЗНМ: 0300000092 [05:15:30]line РНМ: 0000000000091684 [05:15:30]line Версия ККМ: 001 [05:15:30]line Платежная система: Mbank [05:15:30]line ФМ: 0000000000871841 [05:15:30]line ФД: 37848 [05:15:30]line ФПД: 133754322157402 [05:15:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T051540&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37848&fm=133754322157402&tin=02508201610067®Number=0000000000091684&sum=15900 [05:15:31]line 0 [05:15:31]OFD Sender: Processing packet 37848 [packets to send 42, broken 41] [05:15:31]ProducePacketName [05:15:31]name=ofd_packets/00037848 [05:15:31]OFD Sender: To server: pG, [05:15:31]CommunicateWithHost lk.salyk.kg:30040 [05:15:31]ConnectInit lk.salyk.kg [05:15:31]written 0, free lines is 4095 [05:15:31]Connected sock=9 [05:15:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 B0 0F 27 01 ED A7 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 35 36 37 06 04 29 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 45 78 63 68 61 6E 67 65 20 53 75 6D 6D 65 72 20 52 65 64 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 0A 00 00 00 F4 03 04 00 7C 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D8 93 00 00 35 04 06 00 79 A6 1A DB FF 5A 5A 4E E2 F1 BD 72 74 33 [05:15:31]Write to MH i2c: 01 00 00 18 32 4A [05:15:31]Write i2c OK [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: 01 [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: 01 07 00 [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: 01 07 00 18 32 00 00 00 00 00 B0 0C 0D [05:15:31]RasterBufferAndPrint [05:15:31]line [05:15:31]line [05:15:31]line [05:15:31]line [05:15:31]line [05:15:31]written 0, free lines is 3255 [05:15:31]MH_Cut [05:15:31]Write to MH i2c: D1 01 00 1F 32 01 23 [05:15:31]Write i2c OK [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: D1 [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: D1 01 00 [05:15:31]MH_I2C_Read... [05:15:31]Read from MH i2c: D1 01 00 1F 32 00 22 [05:15:31]Write to MH i2c: 01 00 00 20 32 52 [05:15:31]Write i2c OK [05:15:31]MH_I2C_Read... [05:15:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 08 29 47 00 74 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 38 37 31 38 34 31 10 04 04 00 D8 93 00 00 F4 03 04 00 6F 1A 20 67 B6 04 01 00 00 73 66 90 E8 7B 53 9C D8 [05:15:31]CommunicateWithHost err = 0 [05:15:31]CheckOFDResponse [05:15:31]1017 (14) - 77093643461234 [05:15:31]1041 (16) - 0000000000871841 [05:15:31]1040 (4) - 37848 [05:15:31]1012 (4) - 28.10.2024 23:12 [05:15:31]1206 (1) - 0 [05:15:31]OFD Sender: Remove packet 37848 [05:15:31]ProducePacketName [05:15:31]name=ofd_packets/00037848 [05:15:31]NVStorageDeleteData [05:15:32]*** Cut start [05:15:32]*** Partial cut [05:15:32]*** CUTSNS_PIN = 1 [05:15:32]OFD Sender: No OFD packet to send [05:15:32]*** CUTSNS_PIN = 0 [05:15:32]*** Brake cut motor [05:15:33]Read from MH i2c: 01 [05:15:33]MH_I2C_Read... [05:15:33]*** Stop cut motor [05:15:33]*** Cut end [05:15:33]Read from MH i2c: 01 07 00 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: 01 07 00 20 32 00 00 00 00 00 FF 0F 67 [05:15:33]process_action close_receipt done [05:15:33]requested_data is exist [05:15:33]produce_requested_data [05:15:33]requested_item fm.sn is exist - process it [05:15:33]wFMCommunicate request_size=4 [05:15:33]MH_SAM_APDU [05:15:33]CAPDU: 80 11 00 00 [05:15:33]Write to MH i2c: E2 08 00 21 32 80 11 00 00 00 00 00 00 CD [05:15:33]Write i2c OK [05:15:33]MH_I2C_Read... [05:15:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:15:33]Read from MH i2c: E2 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 17 00 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 17 00 21 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [05:15:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:15:33]wFMCommunicate OK [05:15:33]requested_item fd.num is exist - process it [05:15:33]SAM_PROTO_GetFieldsCounters [05:15:33]wFMCommunicate request_size=4 [05:15:33]MH_SAM_APDU [05:15:33]CAPDU: 80 13 00 00 [05:15:33]Write to MH i2c: E2 08 00 22 32 80 13 00 00 00 00 00 00 D0 [05:15:33]Write i2c OK [05:15:33]MH_I2C_Read... [05:15:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:15:33]Read from MH i2c: E2 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 62 00 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 62 00 22 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [05:15:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0A 00 00 00 5E 04 04 00 0A 00 00 00 57 04 04 00 0B 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:15:33]wFMCommunicate OK [05:15:33]SAM_PROTO_GetFieldsCounters done [05:15:33]requested_item shift.num is exist - process it [05:15:33]requested_item shift.opened is exist - process it [05:15:33]req_shift_opened [05:15:33]FM_GetShiftState [05:15:33]SAM_PROTO_GetShiftState [05:15:33]wFMCommunicate request_size=4 [05:15:33]MH_SAM_APDU [05:15:33]CAPDU: 80 13 01 00 [05:15:33]Write to MH i2c: E2 08 00 23 32 80 13 01 00 00 00 00 00 D2 [05:15:33]Write i2c OK [05:15:33]MH_I2C_Read... [05:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:15:33]Read from MH i2c: E2 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 0E 00 [05:15:33]MH_I2C_Read... [05:15:33]Read from MH i2c: E2 0E 00 23 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 48 [05:15:33]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:15:33]wFMCommunicate OK [05:15:33]SAM_PROTO_GetShiftState done [05:15:33]FM_GetShiftState done [05:15:33]req_shift_opened done [05:15:33]requested_item shift.open_date is exist - process it [05:15:33]req_shift_open_date [05:15:33]req_shift_open_date done [05:15:33]produce_requested_data done [05:15:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37848,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [05:15:33]process_action_free close_receipt [05:15:33]json_value_free [05:15:33]json_value_free done [05:15:33]process_json_proto returns [05:15:33]Send response to host [05:15:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37848,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [05:15:33]free response buf [05:15:33]execute_script done [05:15:33]execute_script returns [05:15:33]free content buf [05:15:33]Sock 10.Close socket [05:15:33]Sock 10.Thread stoped [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:16:58]accept exits with 7 [05:16:58]New connection [05:16:58]New thread 3067440484 created [05:16:58]Thread 3067297124 joined [05:16:58]Waiting for new connection... [05:16:58] Sock 7.Parse request [05:16:58]Sock 7.Check first char [05:16:58]Sock 7.First char is OK [05:16:58]request: POST /json_proto HTTP/1.0 [05:16:58]Method: POST [05:16:58]URL: /json_proto [05:16:58]Method is POST - this is cgi request [05:16:58]url: /json_proto [05:16:58]query_string will be loaded in cgi processing [05:16:58]execute_cgi json_proto POST (null) [05:16:58]execute_cgi path=json_proto method=POST [05:16:58]POST find Content-Length [05:16:58]Host: 172.17.40.196:8080 [05:16:58]Content-Length: 731 [05:16:58]Content-Type: application/json [05:16:58] [05:16:58]POST finish read [05:16:58]Found Content-Length = 731 [05:16:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35147", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "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" ] } } [05:16:58]execute_script... [05:16:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35147", "tax_sys" : 0, "items" : [ { "code": "42113270", "name": "\u0416\u0435\u0432 Orbit \u0430\u0440\u0431\u0443\u0437", "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" ] } } [05:16:58]POST & json_proto [05:16:58]process_json_proto [05:16:58]json parsed OK: [05:16:58]protocol is kg_v1.0 [05:16:58]action value=close_receipt [05:16:58]process_action close_receipt [05:16:58]cmd_close_receipt [05:16:58]MH_GetDate [05:16:58]Write to MH i2c: F0 00 00 24 32 45 [05:16:58]Write i2c OK [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 09 00 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: F0 09 00 24 32 00 D5 6F 20 67 5B 68 A1 66 E3 [05:16:58]GetLastDocTimeStamp 1730178940 [05:16:58]current date 1730179029 [05:16:58]FM_GetShiftState [05:16:58]SAM_PROTO_GetShiftState [05:16:58]wFMCommunicate request_size=4 [05:16:58]MH_SAM_APDU [05:16:58]CAPDU: 80 13 01 00 [05:16:58]Write to MH i2c: E2 08 00 25 32 80 13 01 00 00 00 00 00 D4 [05:16:58]Write i2c OK [05:16:58]MH_I2C_Read... [05:16:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:58]Read from MH i2c: E2 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: E2 0E 00 [05:16:58]MH_I2C_Read... [05:16:58]Read from MH i2c: E2 0E 00 25 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 4A [05:16:58]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:16:58]wFMCommunicate OK [05:16:58]SAM_PROTO_GetShiftState done [05:16:58]FM_GetShiftState done [05:16:58]opened in 1730160317 [05:16:58]opened+sec_in_day 1730246717 [05:16:58]quantity*price = 4500 [05:16:58]sum+1 = 4501 [05:16:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 11 29.10.2024 05:17 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37849 ФПД: 147436066480536 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T051709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37849&fm=147436066480536&tin=02508201610067®Number=0000000000091684&sum=4500 0 [05:16:59]StoreToDocumentArchive [05:16:59]shift 552 fd 37849 [05:16:59]save to /storage/0552/doc_00037849 [05:16:59]save last doc name /storage/0552/doc_00037849 to /storage/kkm_last_doc_name [05:16:59]save OK [05:16:59]Clear old archive folders... [05:16:59]ProcessDocumentItem done err = 0, tmpTLVsize=260 [05:16:59]tlvbuf is 0033CB70 [05:16:59]SAM_PROTO_ClearQueue [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 09 00 00 [05:16:59]Write to MH i2c: E2 08 00 32 32 80 09 00 00 00 00 00 00 D6 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 32 32 00 90 00 D8 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]SAM_PROTO_ClearQueue done [05:16:59]KKMCreateOFDPacket [05:16:59]OFDProtocolAddRootSTLVToBuf [05:16:59]FM_MakeSignedData [05:16:59]FM_MakeSignedData [05:16:59]SAM_PROTO_SignData [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 01 02 [05:16:59]Write to MH i2c: E2 08 00 33 32 80 0D 01 02 00 00 00 00 DE [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 33 32 00 90 00 D9 [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=255 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 02 02 FA 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 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 0B 00 00 00 F4 03 04 00 D5 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 [05:16:59]Write to MH i2c: E2 02 01 34 32 80 0D 02 02 FA 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 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 0B 00 00 00 F4 03 04 00 D5 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 00 4B [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 34 32 00 90 00 DA [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=19 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 02 02 0E D9 93 00 00 35 04 06 00 86 17 A2 5E A1 98 [05:16:59]Write to MH i2c: E2 16 00 35 32 80 0D 02 02 0E 00 D9 93 00 00 35 04 06 00 86 17 A2 5E A1 98 00 00 7E [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 03 00 35 32 00 90 00 DB [05:16:59]RAPDU: 90 00 [05:16:59]wFMCommunicate OK [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 0D 03 02 [05:16:59]Write to MH i2c: E2 08 00 36 32 80 0D 03 02 00 00 00 00 E3 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 0B 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 0B 00 36 32 00 C4 62 AF F5 52 E2 F7 B6 90 00 8F [05:16:59]RAPDU: C4 62 AF F5 52 E2 F7 B6 90 00 [05:16:59]wFMCommunicate OK [05:16:59]SAM_PROTO_SignData done [05:16:59]FM_MakeSignedData done [05:16:59]CreateOFDProtocolMessage [05:16:59]wFMCommunicate request_size=4 [05:16:59]MH_SAM_APDU [05:16:59]CAPDU: 80 11 00 00 [05:16:59]Write to MH i2c: E2 08 00 37 32 80 11 00 00 00 00 00 00 E3 [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:59]Read from MH i2c: E2 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 17 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: E2 17 00 37 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 33 [05:16:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:16:59]wFMCommunicate OK [05:16:59]CreateOFDProtocolMessage done [05:16:59]OFDSenderStorePacket 37849 [05:16:59]StoreOFDPacket docnum=37849 [05:16:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 18 01 00 00 F3 55 10 01 37 D8 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 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 0B 00 00 00 F4 03 04 00 D5 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D9 93 00 00 35 04 06 00 86 17 A2 5E A1 98 C4 62 AF F5 52 E2 F7 B6 [05:16:59]CheckFolder [05:16:59]dirname=/storage/ofd_packets [05:16:59]CheckFolder done [05:16:59]ProducePacketName [05:16:59]name=ofd_packets/00037849 [05:16:59]NVStorageSaveData ofd_packets/00037849 [05:16:59]File name is /storage/ofd_packets/00037849 [05:16:59]Write 310 bytes [05:16:59]NVStorageSaveData done [05:16:59]OFDSenderStorePacket done [05:16:59]KKMCreateOFDPacket done [05:16:59]NVStorageSaveData kkm_last_timestamp [05:16:59]File name is /storage/kkm_last_timestamp [05:16:59]Write 4 bytes [05:16:59]NVStorageSaveData done [05:16:59]ExternCall_PrintAddStr [05:16:59]wPrintStart [05:16:59]Write to MH i2c: 01 00 00 38 32 6A [05:16:59]Write i2c OK [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 07 00 [05:16:59]MH_I2C_Read... [05:16:59]Read from MH i2c: 01 07 00 38 32 00 00 00 00 00 FF 0F 7F [05:16:59]RasterBufferAndPrint [05:16:59]line Счет N : (3)35147 [05:16:59]line ИНН: 02508201610067 [05:16:59]line Контрольно-Кассовый Чек [05:16:59]line ПРОДАЖА [05:16:59]line Товар: 42113270 [05:16:59]line Жев Orbit арбуз [05:16:59]line 1.000 * 45.00 [05:16:59]line = 45.00 [05:16:59]line НДС 12% НСП 1% [05:16:59]line > о реализуемом товаре [05:16:59]line ИТОГО: 45.00 [05:16:59]line НСП 1% : 0.40 [05:16:59]line НДС 12% : 4.78 [05:16:59]line Наличными: 0.00 [05:16:59]line Безнал.: 45.00 [05:16:59]line Место: АЗС № 126 "Партнер Нефть" [05:16:59]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [05:16:59]line СНО: Общий режим [05:16:59]line Чек 11 29.10.2024 05:17 [05:16:59]line Смена: 552 ФФД: 1.0 [05:16:59]line ЗНМ: 0300000092 [05:16:59]line РНМ: 0000000000091684 [05:16:59]line Версия ККМ: 001 [05:16:59]line Платежная система: Mbank [05:16:59]line ФМ: 0000000000871841 [05:16:59]line ФД: 37849 [05:16:59]line ФПД: 147436066480536 [05:16:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T051709&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37849&fm=147436066480536&tin=02508201610067®Number=0000000000091684&sum=4500 [05:17:00]OFD Sender: Processing packet 37849 [packets to send 42, broken 41] [05:17:00]ProducePacketName [05:17:00]name=ofd_packets/00037849 [05:17:00]OFD Sender: To server: pG, [05:17:00]CommunicateWithHost lk.salyk.kg:30040 [05:17:00]ConnectInit lk.salyk.kg [05:17:00]line 0 [05:17:00]written 0, free lines is 4095 [05:17:00]Connected sock=10 [05:17:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 18 01 00 00 F3 55 10 01 37 D8 5A 03 01 00 03 00 04 01 1E 04 01 00 01 23 04 56 00 8A 04 08 00 34 32 31 31 33 32 37 30 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 B0 D1 80 D0 B1 D1 83 D0 B7 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 0B 00 00 00 F4 03 04 00 D5 6F 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D9 93 00 00 35 04 06 00 86 17 A2 5E A1 98 C4 62 AF F5 52 E2 F7 B6 [05:17:00]Write to MH i2c: 01 00 00 61 32 93 [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 07 00 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: 01 07 00 61 32 00 00 00 00 00 D0 0C 76 [05:17:00]RasterBufferAndPrint [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]line [05:17:00]written 0, free lines is 3289 [05:17:00]MH_Cut [05:17:00]Write to MH i2c: D1 01 00 68 32 01 6C [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 01 00 [05:17:00]MH_I2C_Read... [05:17:00]Read from MH i2c: D1 01 00 68 32 00 6B [05:17:00]Write to MH i2c: 01 00 00 69 32 9B [05:17:00]Write i2c OK [05:17:00]MH_I2C_Read... [05:17:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 EC 31 47 00 1F C9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 D9 93 00 00 F4 03 04 00 C8 1A 20 67 B6 04 01 00 00 AF 4B 0A 95 D5 33 D6 F5 [05:17:00]CommunicateWithHost err = 0 [05:17:00]CheckOFDResponse [05:17:00]1017 (14) - 77093643461234 [05:17:00]1041 (16) - 0000000000871841 [05:17:00]1040 (4) - 37849 [05:17:00]1012 (4) - 28.10.2024 23:14 [05:17:00]1206 (1) - 0 [05:17:00]OFD Sender: Remove packet 37849 [05:17:00]ProducePacketName [05:17:00]name=ofd_packets/00037849 [05:17:00]NVStorageDeleteData [05:17:01]*** Cut start [05:17:01]*** Partial cut [05:17:01]*** CUTSNS_PIN = 1 [05:17:01]OFD Sender: No OFD packet to send [05:17:01]*** CUTSNS_PIN = 0 [05:17:01]*** Brake cut motor [05:17:02]Read from MH i2c: 01 [05:17:02]MH_I2C_Read... [05:17:02]*** Stop cut motor [05:17:02]*** Cut end [05:17:02]Read from MH i2c: 01 07 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: 01 07 00 69 32 00 00 00 00 00 FF 0F B0 [05:17:02]process_action close_receipt done [05:17:02]requested_data is exist [05:17:02]produce_requested_data [05:17:02]requested_item fm.sn is exist - process it [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 11 00 00 [05:17:02]Write to MH i2c: E2 08 00 6A 32 80 11 00 00 00 00 00 00 16 [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 17 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 17 00 6A 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 66 [05:17:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [05:17:02]wFMCommunicate OK [05:17:02]requested_item fd.num is exist - process it [05:17:02]SAM_PROTO_GetFieldsCounters [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 13 00 00 [05:17:02]Write to MH i2c: E2 08 00 6B 32 80 13 00 00 00 00 00 00 19 [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 62 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 62 00 6B 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [05:17:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 D9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0B 00 00 00 5E 04 04 00 0B 00 00 00 57 04 04 00 0C 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:17:02]wFMCommunicate OK [05:17:02]SAM_PROTO_GetFieldsCounters done [05:17:02]requested_item shift.num is exist - process it [05:17:02]requested_item shift.opened is exist - process it [05:17:02]req_shift_opened [05:17:02]FM_GetShiftState [05:17:02]SAM_PROTO_GetShiftState [05:17:02]wFMCommunicate request_size=4 [05:17:02]MH_SAM_APDU [05:17:02]CAPDU: 80 13 01 00 [05:17:02]Write to MH i2c: E2 08 00 6C 32 80 13 01 00 00 00 00 00 1B [05:17:02]Write i2c OK [05:17:02]MH_I2C_Read... [05:17:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:17:02]Read from MH i2c: E2 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 0E 00 [05:17:02]MH_I2C_Read... [05:17:02]Read from MH i2c: E2 0E 00 6C 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 91 [05:17:02]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [05:17:02]wFMCommunicate OK [05:17:02]SAM_PROTO_GetShiftState done [05:17:02]FM_GetShiftState done [05:17:02]req_shift_opened done [05:17:02]requested_item shift.open_date is exist - process it [05:17:02]req_shift_open_date [05:17:02]req_shift_open_date done [05:17:02]produce_requested_data done [05:17:02]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37849,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [05:17:02]process_action_free close_receipt [05:17:02]json_value_free [05:17:02]json_value_free done [05:17:02]process_json_proto returns [05:17:02]Send response to host [05:17:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37849,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [05:17:02]free response buf [05:17:02]execute_script done [05:17:02]execute_script returns [05:17:02]free content buf [05:17:02]Sock 7.Close socket [05:17:02]Sock 7.Thread stoped [05:17:06]OFD Sender: No OFD packet to send [05:17:11]OFD Sender: No OFD packet to send [05:17:16]OFD Sender: No OFD packet to send [05:17:21]OFD Sender: No OFD packet to send [05:17:26]OFD Sender: No OFD packet to send [05:17:31]OFD Sender: No OFD packet to send [05:17:36]OFD Sender: No OFD packet to send [05:17:41]OFD Sender: No OFD packet to send [05:17:46]OFD Sender: No OFD packet to send [05:17:51]OFD Sender: No OFD packet to send [05:17:56]OFD Sender: No OFD packet to send [05:18:01]OFD Sender: No OFD packet to send [05:18:06]OFD Sender: No OFD packet to send [05:18:11]OFD Sender: No OFD packet to send [05:18:16]OFD Sender: No OFD packet to send [05:18:21]OFD Sender: No OFD packet to send [05:18:26]OFD Sender: No OFD packet to send [05:18:31]OFD Sender: No OFD packet to send [05:18:36]OFD Sender: No OFD packet to send [05:18:41]OFD Sender: No OFD packet to send [05:18:46]OFD Sender: No OFD packet to send [05:18:51]OFD Sender: No OFD packet to send [05:18:56]OFD Sender: No OFD packet to send [05:19:01]OFD Sender: No OFD packet to send [05:19:06]OFD Sender: No OFD packet to send [05:19:11]OFD Sender: No OFD packet to send [05:19:16]OFD Sender: No OFD packet to send [05:19:21]OFD Sender: No OFD packet to send [05:19:26]OFD Sender: No OFD packet to send [05:19:31]OFD Sender: No OFD packet to send [05:19:36]OFD Sender: No OFD packet to send [05:19:41]OFD Sender: No OFD packet to send [05:19:46]OFD Sender: No OFD packet to send [05:19:51]OFD Sender: No OFD packet to send [05:19:56]OFD Sender: No OFD packet to send [05:20:01]OFD Sender: No OFD packet to send [05:20:06]OFD Sender: No OFD packet to send [05:20:11]OFD Sender: No OFD packet to send [05:20:16]OFD Sender: No OFD packet to send [05:20:21]OFD Sender: No OFD packet to send [05:20:26]OFD Sender: No OFD packet to send [05:20:31]OFD Sender: No OFD packet to send [05:20:36]OFD Sender: No OFD packet to send [05:20:41]OFD Sender: No OFD packet to send [05:20:46]OFD Sender: No OFD packet to send [05:20:51]OFD Sender: No OFD packet to send [05:20:56]OFD Sender: No OFD packet to send [05:21:01]OFD Sender: No OFD packet to send [05:21:06]OFD Sender: No OFD packet to send [05:21:11]OFD Sender: No OFD packet to send [05:21:16]OFD Sender: No OFD packet to send [05:21:21]OFD Sender: No OFD packet to send [05:21:26]OFD Sender: No OFD packet to send [05:21:31]OFD Sender: No OFD packet to send [05:21:36]OFD Sender: No OFD packet to send [05:21:41]OFD Sender: No OFD packet to send [05:21:46]OFD Sender: No OFD packet to send [05:21:51]OFD Sender: No OFD packet to send [05:21:56]OFD Sender: No OFD packet to send [05:22:01]OFD Sender: No OFD packet to send [05:22:06]OFD Sender: No OFD packet to send [05:22:11]OFD Sender: No OFD packet to send [05:22:16]OFD Sender: No OFD packet to send [05:22:21]OFD Sender: No OFD packet to send [05:22:26]OFD Sender: No OFD packet to send [05:22:31]OFD Sender: No OFD packet to send [05:22:36]OFD Sender: No OFD packet to send [05:22:41]OFD Sender: No OFD packet to send [05:22:46]OFD Sender: No OFD packet to send [05:22:51]OFD Sender: No OFD packet to send [05:22:56]OFD Sender: No OFD packet to send [05:23:01]OFD Sender: No OFD packet to send [05:23:06]OFD Sender: No OFD packet to send [05:23:11]OFD Sender: No OFD packet to send [05:23:16]OFD Sender: No OFD packet to send [05:23:21]OFD Sender: No OFD packet to send [05:23:26]OFD Sender: No OFD packet to send [05:23:31]OFD Sender: No OFD packet to send [05:23:36]OFD Sender: No OFD packet to send [05:23:41]OFD Sender: No OFD packet to send [05:23:46]OFD Sender: No OFD packet to send [05:23:51]OFD Sender: No OFD packet to send [05:23:56]OFD Sender: No OFD packet to send [05:24:01]OFD Sender: No OFD packet to send [05:24:06]OFD Sender: No OFD packet to send [05:24:11]OFD Sender: No OFD packet to send [05:24:16]OFD Sender: No OFD packet to send [05:24:21]OFD Sender: No OFD packet to send [05:24:26]OFD Sender: No OFD packet to send [05:24:31]OFD Sender: No OFD packet to send [05:24:36]OFD Sender: No OFD packet to send [05:24:41]OFD Sender: No OFD packet to send [05:24:46]OFD Sender: No OFD packet to send [05:24:51]OFD Sender: No OFD packet to send [05:24:56]OFD Sender: No OFD packet to send [05:25:01]OFD Sender: No OFD packet to send [05:25:06]OFD Sender: No OFD packet to send [05:25:11]OFD Sender: No OFD packet to send [05:25:16]OFD Sender: No OFD packet to send [05:25:21]OFD Sender: No OFD packet to send [05:25:26]OFD Sender: No OFD packet to send [05:25:31]OFD Sender: No OFD packet to send [05:25:36]OFD Sender: No OFD packet to send [05:25:41]OFD Sender: No OFD packet to send [05:25:46]OFD Sender: No OFD packet to send [05:25:51]OFD Sender: No OFD packet to send [05:25:56]OFD Sender: No OFD packet to send [05:26:01]OFD Sender: No OFD packet to send [05:26:06]OFD Sender: No OFD packet to send [05:26:11]OFD Sender: No OFD packet to send [05:26:16]OFD Sender: No OFD packet to send [05:26:21]OFD Sender: No OFD packet to send [05:26:26]OFD Sender: No OFD packet to send [05:26:31]OFD Sender: No OFD packet to send [05:26:36]OFD Sender: No OFD packet to send [05:26:41]OFD Sender: No OFD packet to send [05:26:46]OFD Sender: No OFD packet to send [05:26:51]OFD Sender: No OFD packet to send [05:26:56]OFD Sender: No OFD packet to send [05:27:01]OFD Sender: No OFD packet to send [05:27:06]OFD Sender: No OFD packet to send [05:27:11]OFD Sender: No OFD packet to send [05:27:16]OFD Sender: No OFD packet to send [05:27:21]OFD Sender: No OFD packet to send [05:27:26]OFD Sender: No OFD packet to send [05:27:32]OFD Sender: No OFD packet to send [05:27:37]OFD Sender: No OFD packet to send [05:27:42]OFD Sender: No OFD packet to send [05:27:47]OFD Sender: No OFD packet to send [05:27:52]OFD Sender: No OFD packet to send [05:27:57]OFD Sender: No OFD packet to send [05:28:02]OFD Sender: No OFD packet to send [05:28:07]OFD Sender: No OFD packet to send [05:28:12]OFD Sender: No OFD packet to send [05:28:17]OFD Sender: No OFD packet to send [05:28:22]OFD Sender: No OFD packet to send [05:28:27]OFD Sender: No OFD packet to send [05:28:32]OFD Sender: No OFD packet to send [05:28:37]OFD Sender: No OFD packet to send [05:28:42]OFD Sender: No OFD packet to send [05:28:47]OFD Sender: No OFD packet to send [05:28:52]OFD Sender: No OFD packet to send [05:28:57]OFD Sender: No OFD packet to send [05:29:02]OFD Sender: No OFD packet to send [05:29:07]OFD Sender: No OFD packet to send [05:29:12]OFD Sender: No OFD packet to send [05:29:17]OFD Sender: No OFD packet to send [05:29:22]OFD Sender: No OFD packet to send [05:29:27]OFD Sender: No OFD packet to send [05:29:32]OFD Sender: No OFD packet to send [05:29:37]OFD Sender: No OFD packet to send [05:29:42]OFD Sender: No OFD packet to send [05:29:47]OFD Sender: No OFD packet to send [05:29:52]OFD Sender: No OFD packet to send [05:29:57]OFD Sender: No OFD packet to send [05:30:02]OFD Sender: No OFD packet to send [05:30:07]OFD Sender: No OFD packet to send [05:30:12]OFD Sender: No OFD packet to send [05:30:17]OFD Sender: No OFD packet to send [05:30:22]OFD Sender: No OFD packet to send [05:30:27]OFD Sender: No OFD packet to send [05:30:32]OFD Sender: No OFD packet to send [05:30:37]OFD Sender: No OFD packet to send [05:30:42]OFD Sender: No OFD packet to send [05:30:47]OFD Sender: No OFD packet to send [05:30:52]OFD Sender: No OFD packet to send [05:30:57]OFD Sender: No OFD packet to send [05:31:02]OFD Sender: No OFD packet to send [05:31:07]OFD Sender: No OFD packet to send [05:31:12]OFD Sender: No OFD packet to send [05:31:17]OFD Sender: No OFD packet to send [05:31:22]OFD Sender: No OFD packet to send [05:31:27]OFD Sender: No OFD packet to send [05:31:32]OFD Sender: No OFD packet to send [05:31:37]OFD Sender: No OFD packet to send [05:31:42]OFD Sender: No OFD packet to send [05:31:47]OFD Sender: No OFD packet to send [05:31:52]OFD Sender: No OFD packet to send [05:31:57]OFD Sender: No OFD packet to send [05:32:02]OFD Sender: No OFD packet to send [05:32:07]OFD Sender: No OFD packet to send [05:32:12]OFD Sender: No OFD packet to send [05:32:17]OFD Sender: No OFD packet to send [05:32:22]OFD Sender: No OFD packet to send [05:32:27]OFD Sender: No OFD packet to send [05:32:32]OFD Sender: No OFD packet to send [05:32:37]OFD Sender: No OFD packet to send [05:32:42]OFD Sender: No OFD packet to send [05:32:47]OFD Sender: No OFD packet to send [05:32:52]OFD Sender: No OFD packet to send [05:32:57]OFD Sender: No OFD packet to send [05:33:02]OFD Sender: No OFD packet to send [05:33:07]OFD Sender: No OFD packet to send [05:33:12]OFD Sender: No OFD packet to send [05:33:17]OFD Sender: No OFD packet to send [05:33:22]OFD Sender: No OFD packet to send [05:33:27]OFD Sender: No OFD packet to send [05:33:32]OFD Sender: No OFD packet to send [05:33:37]OFD Sender: No OFD packet to send [05:33:42]OFD Sender: No OFD packet to send [05:33:47]OFD Sender: No OFD packet to send [05:33:52]OFD Sender: No OFD packet to send [05:33:57]OFD Sender: No OFD packet to send [05:34:02]OFD Sender: No OFD packet to send [05:34:07]OFD Sender: No OFD packet to send [05:34:12]OFD Sender: No OFD packet to send [05:34:17]OFD Sender: No OFD packet to send [05:34:22]OFD Sender: No OFD packet to send [05:34:27]OFD Sender: No OFD packet to send [05:34:32]OFD Sender: No OFD packet to send [05:34:37]OFD Sender: No OFD packet to send [05:34:42]OFD Sender: No OFD packet to send [05:34:47]OFD Sender: No OFD packet to send [05:34:52]OFD Sender: No OFD packet to send [05:34:57]OFD Sender: No OFD packet to send [05:35:02]OFD Sender: No OFD packet to send [05:35:07]OFD Sender: No OFD packet to send [05:35:12]OFD Sender: No OFD packet to send [05:35:17]OFD Sender: No OFD packet to send [05:35:22]OFD Sender: No OFD packet to send [05:35:27]OFD Sender: No OFD packet to send [05:35:32]OFD Sender: No OFD packet to send [05:35:37]OFD Sender: No OFD packet to send [05:35:42]OFD Sender: No OFD packet to send [05:35:47]OFD Sender: No OFD packet to send [05:35:52]OFD Sender: No OFD packet to send [05:35:57]OFD Sender: No OFD packet to send [05:36:02]OFD Sender: No OFD packet to send [05:36:07]OFD Sender: No OFD packet to send [05:36:12]OFD Sender: No OFD packet to send [05:36:17]OFD Sender: No OFD packet to send [05:36:22]OFD Sender: No OFD packet to send [05:36:27]OFD Sender: No OFD packet to send [05:36:32]OFD Sender: No OFD packet to send [05:36:37]OFD Sender: No OFD packet to send [05:36:42]OFD Sender: No OFD packet to send [05:36:47]OFD Sender: No OFD packet to send [05:36:52]OFD Sender: No OFD packet to send [05:36:57]OFD Sender: No OFD packet to send [05:37:02]OFD Sender: No OFD packet to send [05:37:07]OFD Sender: No OFD packet to send [05:37:12]OFD Sender: No OFD packet to send [05:37:17]OFD Sender: No OFD packet to send [05:37:22]OFD Sender: No OFD packet to send [05:37:27]OFD Sender: No OFD packet to send [05:37:32]OFD Sender: No OFD packet to send [05:37:37]OFD Sender: No OFD packet to send [05:37:42]OFD Sender: No OFD packet to send [05:37:47]OFD Sender: No OFD packet to send [05:37:52]OFD Sender: No OFD packet to send [05:37:57]OFD Sender: No OFD packet to send [05:38:02]OFD Sender: No OFD packet to send [05:38:07]OFD Sender: No OFD packet to send [05:38:12]OFD Sender: No OFD packet to send [05:38:17]OFD Sender: No OFD packet to send [05:38:22]OFD Sender: No OFD packet to send [05:38:27]OFD Sender: No OFD packet to send [05:38:32]OFD Sender: No OFD packet to send [05:38:37]OFD Sender: No OFD packet to send [05:38:42]OFD Sender: No OFD packet to send [05:38:47]OFD Sender: No OFD packet to send [05:38:52]OFD Sender: No OFD packet to send [05:38:57]OFD Sender: No OFD packet to send [05:39:02]OFD Sender: No OFD packet to send [05:39:07]OFD Sender: No OFD packet to send [05:39:12]OFD Sender: No OFD packet to send [05:39:17]OFD Sender: No OFD packet to send [05:39:22]OFD Sender: No OFD packet to send [05:39:27]OFD Sender: No OFD packet to send [05:39:32]OFD Sender: No OFD packet to send [05:39:37]OFD Sender: No OFD packet to send [05:39:42]OFD Sender: No OFD packet to send [05:39:47]OFD Sender: No OFD packet to send [05:39:52]OFD Sender: No OFD packet to send [05:39:57]OFD Sender: No OFD packet to send [05:40:02]OFD Sender: No OFD packet to send [05:40:07]OFD Sender: No OFD packet to send [05:40:12]OFD Sender: No OFD packet to send [05:40:17]OFD Sender: No OFD packet to send [05:40:22]OFD Sender: No OFD packet to send [05:40:27]OFD Sender: No OFD packet to send [05:40:32]OFD Sender: No OFD packet to send [05:40:37]OFD Sender: No OFD packet to send [05:40:42]OFD Sender: No OFD packet to send [05:40:47]OFD Sender: No OFD packet to send [05:40:52]OFD Sender: No OFD packet to send [05:40:57]OFD Sender: No OFD packet to send [05:41:02]OFD Sender: No OFD packet to send [05:41:07]OFD Sender: No OFD packet to send [05:41:12]OFD Sender: No OFD packet to send [05:41:17]OFD Sender: No OFD packet to send [05:41:22]OFD Sender: No OFD packet to send [05:41:27]OFD Sender: No OFD packet to send [05:41:32]OFD Sender: No OFD packet to send [05:41:37]OFD Sender: No OFD packet to send [05:41:42]OFD Sender: No OFD packet to send [05:41:47]OFD Sender: No OFD packet to send [05:41:52]OFD Sender: No OFD packet to send [05:41:57]OFD Sender: No OFD packet to send [05:42:02]OFD Sender: No OFD packet to send [05:42:07]OFD Sender: No OFD packet to send [05:42:12]OFD Sender: No OFD packet to send [05:42:17]OFD Sender: No OFD packet to send [05:42:22]OFD Sender: No OFD packet to send [05:42:27]OFD Sender: No OFD packet to send [05:42:32]OFD Sender: No OFD packet to send [05:42:37]OFD Sender: No OFD packet to send [05:42:42]OFD Sender: No OFD packet to send [05:42:47]OFD Sender: No OFD packet to send [05:42:52]OFD Sender: No OFD packet to send [05:42:57]OFD Sender: No OFD packet to send [05:43:02]OFD Sender: No OFD packet to send [05:43:07]OFD Sender: No OFD packet to send [05:43:12]OFD Sender: No OFD packet to send [05:43:17]OFD Sender: No OFD packet to send [05:43:22]OFD Sender: No OFD packet to send [05:43:27]OFD Sender: No OFD packet to send [05:43:32]OFD Sender: No OFD packet to send [05:43:37]OFD Sender: No OFD packet to send [05:43:42]OFD Sender: No OFD packet to send [05:43:47]OFD Sender: No OFD packet to send [05:43:52]OFD Sender: No OFD packet to send [05:43:57]OFD Sender: No OFD packet to send [05:44:02]OFD Sender: No OFD packet to send [05:44:07]OFD Sender: No OFD packet to send [05:44:12]OFD Sender: No OFD packet to send [05:44:17]OFD Sender: No OFD packet to send [05:44:22]OFD Sender: No OFD packet to send [05:44:27]OFD Sender: No OFD packet to send [05:44:32]OFD Sender: No OFD packet to send [05:44:37]OFD Sender: No OFD packet to send [05:44:42]OFD Sender: No OFD packet to send [05:44:47]OFD Sender: No OFD packet to send [05:44:52]OFD Sender: No OFD packet to send [05:44:57]OFD Sender: No OFD packet to send [05:45:02]OFD Sender: No OFD packet to send [05:45:07]OFD Sender: No OFD packet to send [05:45:12]OFD Sender: No OFD packet to send [05:45:17]OFD Sender: No OFD packet to send [05:45:22]OFD Sender: No OFD packet to send [05:45:27]OFD Sender: No OFD packet to send [05:45:32]OFD Sender: No OFD packet to send [05:45:37]OFD Sender: No OFD packet to send [05:45:42]OFD Sender: No OFD packet to send [05:45:47]OFD Sender: No OFD packet to send [05:45:52]OFD Sender: No OFD packet to send [05:45:57]OFD Sender: No OFD packet to send [05:46:02]OFD Sender: No OFD packet to send [05:46:07]OFD Sender: No OFD packet to send [05:46:12]OFD Sender: No OFD packet to send [05:46:18]OFD Sender: No OFD packet to send [05:46:23]OFD Sender: No OFD packet to send [05:46:28]OFD Sender: No OFD packet to send [05:46:33]OFD Sender: No OFD packet to send [05:46:38]OFD Sender: No OFD packet to send [05:46:43]OFD Sender: No OFD packet to send [05:46:48]OFD Sender: No OFD packet to send [05:46:53]OFD Sender: No OFD packet to send [05:46:58]OFD Sender: No OFD packet to send [05:47:03]OFD Sender: No OFD packet to send [05:47:08]OFD Sender: No OFD packet to send [05:47:13]OFD Sender: No OFD packet to send [05:47:18]OFD Sender: No OFD packet to send [05:47:23]OFD Sender: No OFD packet to send [05:47:28]OFD Sender: No OFD packet to send [05:47:33]OFD Sender: No OFD packet to send [05:47:38]OFD Sender: No OFD packet to send [05:47:43]OFD Sender: No OFD packet to send [05:47:48]OFD Sender: No OFD packet to send [05:47:53]OFD Sender: No OFD packet to send [05:47:58]OFD Sender: No OFD packet to send [05:48:03]OFD Sender: No OFD packet to send [05:48:08]OFD Sender: No OFD packet to send [05:48:13]OFD Sender: No OFD packet to send [05:48:18]OFD Sender: No OFD packet to send [05:48:23]OFD Sender: No OFD packet to send [05:48:28]OFD Sender: No OFD packet to send [05:48:33]OFD Sender: No OFD packet to send [05:48:38]OFD Sender: No OFD packet to send [05:48:43]OFD Sender: No OFD packet to send [05:48:48]OFD Sender: No OFD packet to send [05:48:53]OFD Sender: No OFD packet to send [05:48:58]OFD Sender: No OFD packet to send [05:49:03]OFD Sender: No OFD packet to send [05:49:08]OFD Sender: No OFD packet to send [05:49:13]OFD Sender: No OFD packet to send [05:49:18]OFD Sender: No OFD packet to send [05:49:23]OFD Sender: No OFD packet to send [05:49:28]OFD Sender: No OFD packet to send [05:49:33]OFD Sender: No OFD packet to send [05:49:38]OFD Sender: No OFD packet to send [05:49:43]OFD Sender: No OFD packet to send [05:49:48]OFD Sender: No OFD packet to send [05:49:53]OFD Sender: No OFD packet to send [05:49:58]OFD Sender: No OFD packet to send [05:50:03]OFD Sender: No OFD packet to send [05:50:08]OFD Sender: No OFD packet to send [05:50:13]OFD Sender: No OFD packet to send [05:50:18]OFD Sender: No OFD packet to send [05:50:23]OFD Sender: No OFD packet to send [05:50:28]OFD Sender: No OFD packet to send [05:50:33]OFD Sender: No OFD packet to send [05:50:38]OFD Sender: No OFD packet to send [05:50:43]OFD Sender: No OFD packet to send [05:50:48]OFD Sender: No OFD packet to send [05:50:53]OFD Sender: No OFD packet to send [05:50:58]OFD Sender: No OFD packet to send [05:51:03]OFD Sender: No OFD packet to send [05:51:08]OFD Sender: No OFD packet to send [05:51:13]OFD Sender: No OFD packet to send [05:51:18]OFD Sender: No OFD packet to send [05:51:23]OFD Sender: No OFD packet to send [05:51:28]OFD Sender: No OFD packet to send [05:51:33]OFD Sender: No OFD packet to send [05:51:38]OFD Sender: No OFD packet to send [05:51:43]OFD Sender: No OFD packet to send [05:51:48]OFD Sender: No OFD packet to send [05:51:53]OFD Sender: No OFD packet to send [05:51:58]OFD Sender: No OFD packet to send [05:52:03]OFD Sender: No OFD packet to send [05:52:08]OFD Sender: No OFD packet to send [05:52:13]OFD Sender: No OFD packet to send [05:52:18]OFD Sender: No OFD packet to send [05:52:23]OFD Sender: No OFD packet to send [05:52:28]OFD Sender: No OFD packet to send [05:52:33]OFD Sender: No OFD packet to send [05:52:38]OFD Sender: No OFD packet to send [05:52:43]OFD Sender: No OFD packet to send [05:52:48]OFD Sender: No OFD packet to send [05:52:53]OFD Sender: No OFD packet to send [05:52:58]OFD Sender: No OFD packet to send [05:53:03]OFD Sender: No OFD packet to send [05:53:08]OFD Sender: No OFD packet to send [05:53:13]OFD Sender: No OFD packet to send [05:53:18]OFD Sender: No OFD packet to send [05:53:23]OFD Sender: No OFD packet to send [05:53:28]OFD Sender: No OFD packet to send [05:53:33]OFD Sender: No OFD packet to send [05:53:38]OFD Sender: No OFD packet to send [05:53:43]OFD Sender: No OFD packet to send [05:53:48]OFD Sender: No OFD packet to send [05:53:53]OFD Sender: No OFD packet to send [05:53:58]OFD Sender: No OFD packet to send [05:54:03]OFD Sender: No OFD packet to send [05:54:08]OFD Sender: No OFD packet to send [05:54:13]OFD Sender: No OFD packet to send [05:54:18]OFD Sender: No OFD packet to send [05:54:23]OFD Sender: No OFD packet to send [05:54:28]OFD Sender: No OFD packet to send [05:54:33]OFD Sender: No OFD packet to send [05:54:38]OFD Sender: No OFD packet to send [05:54:43]OFD Sender: No OFD packet to send [05:54:48]OFD Sender: No OFD packet to send [05:54:53]OFD Sender: No OFD packet to send [05:54:58]OFD Sender: No OFD packet to send [05:55:03]OFD Sender: No OFD packet to send [05:55:08]OFD Sender: No OFD packet to send [05:55:13]OFD Sender: No OFD packet to send [05:55:18]OFD Sender: No OFD packet to send [05:55:23]OFD Sender: No OFD packet to send [05:55:28]OFD Sender: No OFD packet to send [05:55:33]OFD Sender: No OFD packet to send [05:55:38]OFD Sender: No OFD packet to send [05:55:43]OFD Sender: No OFD packet to send [05:55:48]OFD Sender: No OFD packet to send [05:55:53]OFD Sender: No OFD packet to send [05:55:58]OFD Sender: No OFD packet to send [05:56:03]OFD Sender: No OFD packet to send [05:56:08]OFD Sender: No OFD packet to send [05:56:13]OFD Sender: No OFD packet to send [05:56:18]OFD Sender: No OFD packet to send [05:56:23]OFD Sender: No OFD packet to send [05:56:28]OFD Sender: No OFD packet to send [05:56:33]OFD Sender: No OFD packet to send [05:56:38]OFD Sender: No OFD packet to send [05:56:43]OFD Sender: No OFD packet to send [05:56:48]OFD Sender: No OFD packet to send [05:56:53]OFD Sender: No OFD packet to send [05:56:58]OFD Sender: No OFD packet to send [05:57:03]OFD Sender: No OFD packet to send [05:57:08]OFD Sender: No OFD packet to send [05:57:13]OFD Sender: No OFD packet to send [05:57:18]OFD Sender: No OFD packet to send [05:57:23]OFD Sender: No OFD packet to send [05:57:28]OFD Sender: No OFD packet to send [05:57:33]OFD Sender: No OFD packet to send [05:57:38]OFD Sender: No OFD packet to send [05:57:43]OFD Sender: No OFD packet to send [05:57:48]OFD Sender: No OFD packet to send [05:57:53]OFD Sender: No OFD packet to send [05:57:58]OFD Sender: No OFD packet to send [05:58:03]OFD Sender: No OFD packet to send [05:58:08]OFD Sender: No OFD packet to send [05:58:13]OFD Sender: No OFD packet to send [05:58:18]OFD Sender: No OFD packet to send [05:58:23]OFD Sender: No OFD packet to send [05:58:28]OFD Sender: No OFD packet to send [05:58:33]OFD Sender: No OFD packet to send [05:58:38]OFD Sender: No OFD packet to send [05:58:43]OFD Sender: No OFD packet to send [05:58:48]OFD Sender: No OFD packet to send [05:58:53]OFD Sender: No OFD packet to send [05:58:58]OFD Sender: No OFD packet to send [05:59:03]OFD Sender: No OFD packet to send [05:59:08]OFD Sender: No OFD packet to send [05:59:13]OFD Sender: No OFD packet to send [05:59:18]OFD Sender: No OFD packet to send [05:59:23]OFD Sender: No OFD packet to send [05:59:28]OFD Sender: No OFD packet to send [05:59:33]OFD Sender: No OFD packet to send [05:59:38]OFD Sender: No OFD packet to send [05:59:43]OFD Sender: No OFD packet to send [05:59:48]OFD Sender: No OFD packet to send [05:59:53]OFD Sender: No OFD packet to send [05:59:58]OFD Sender: No OFD packet to send [06:00:03]OFD Sender: No OFD packet to send [06:00:08]OFD Sender: No OFD packet to send [06:00:13]OFD Sender: No OFD packet to send [06:00:18]OFD Sender: No OFD packet to send [06:00:23]OFD Sender: No OFD packet to send [06:00:28]OFD Sender: No OFD packet to send [06:00:33]OFD Sender: No OFD packet to send [06:00:38]OFD Sender: No OFD packet to send [06:00:43]OFD Sender: No OFD packet to send [06:00:48]OFD Sender: No OFD packet to send [06:00:53]OFD Sender: No OFD packet to send [06:00:58]OFD Sender: No OFD packet to send [06:01:03]OFD Sender: No OFD packet to send [06:01:08]OFD Sender: No OFD packet to send [06:01:13]OFD Sender: No OFD packet to send [06:01:18]OFD Sender: No OFD packet to send [06:01:23]OFD Sender: No OFD packet to send [06:01:28]OFD Sender: No OFD packet to send [06:01:33]OFD Sender: No OFD packet to send [06:01:38]OFD Sender: No OFD packet to send [06:01:43]OFD Sender: No OFD packet to send [06:01:48]OFD Sender: No OFD packet to send [06:01:53]OFD Sender: No OFD packet to send [06:01:58]OFD Sender: No OFD packet to send [06:02:03]OFD Sender: No OFD packet to send [06:02:08]OFD Sender: No OFD packet to send [06:02:13]OFD Sender: No OFD packet to send [06:02:18]OFD Sender: No OFD packet to send [06:02:23]OFD Sender: No OFD packet to send [06:02:28]OFD Sender: No OFD packet to send [06:02:33]OFD Sender: No OFD packet to send [06:02:38]OFD Sender: No OFD packet to send [06:02:43]OFD Sender: No OFD packet to send [06:02:48]OFD Sender: No OFD packet to send [06:02:53]OFD Sender: No OFD packet to send [06:02:58]OFD Sender: No OFD packet to send [06:03:03]OFD Sender: No OFD packet to send [06:03:08]OFD Sender: No OFD packet to send [06:03:13]OFD Sender: No OFD packet to send [06:03:18]OFD Sender: No OFD packet to send [06:03:23]OFD Sender: No OFD packet to send [06:03:28]OFD Sender: No OFD packet to send [06:03:33]OFD Sender: No OFD packet to send [06:03:38]OFD Sender: No OFD packet to send [06:03:43]OFD Sender: No OFD packet to send [06:03:48]OFD Sender: No OFD packet to send [06:03:53]OFD Sender: No OFD packet to send [06:03:58]OFD Sender: No OFD packet to send [06:04:03]OFD Sender: No OFD packet to send [06:04:08]OFD Sender: No OFD packet to send [06:04:13]OFD Sender: No OFD packet to send [06:04:18]OFD Sender: No OFD packet to send [06:04:23]OFD Sender: No OFD packet to send [06:04:28]OFD Sender: No OFD packet to send [06:04:33]OFD Sender: No OFD packet to send [06:04:38]OFD Sender: No OFD packet to send [06:04:43]OFD Sender: No OFD packet to send [06:04:48]OFD Sender: No OFD packet to send [06:04:53]OFD Sender: No OFD packet to send [06:04:59]OFD Sender: No OFD packet to send [06:05:04]OFD Sender: No OFD packet to send [06:05:09]OFD Sender: No OFD packet to send [06:05:14]OFD Sender: No OFD packet to send [06:05:19]OFD Sender: No OFD packet to send [06:05:24]OFD Sender: No OFD packet to send [06:05:29]OFD Sender: No OFD packet to send [06:05:34]OFD Sender: No OFD packet to send [06:05:39]OFD Sender: No OFD packet to send [06:05:44]OFD Sender: No OFD packet to send [06:05:49]OFD Sender: No OFD packet to send [06:05:54]OFD Sender: No OFD packet to send [06:05:59]OFD Sender: No OFD packet to send [06:06:04]OFD Sender: No OFD packet to send [06:06:09]OFD Sender: No OFD packet to send [06:06:14]OFD Sender: No OFD packet to send [06:06:19]OFD Sender: No OFD packet to send [06:06:24]OFD Sender: No OFD packet to send [06:06:29]OFD Sender: No OFD packet to send [06:06:34]OFD Sender: No OFD packet to send [06:06:39]OFD Sender: No OFD packet to send [06:06:44]OFD Sender: No OFD packet to send [06:06:49]OFD Sender: No OFD packet to send [06:06:54]OFD Sender: No OFD packet to send [06:06:59]OFD Sender: No OFD packet to send [06:07:04]OFD Sender: No OFD packet to send [06:07:09]OFD Sender: No OFD packet to send [06:07:14]OFD Sender: No OFD packet to send [06:07:19]OFD Sender: No OFD packet to send [06:07:24]OFD Sender: No OFD packet to send [06:07:29]OFD Sender: No OFD packet to send [06:07:34]OFD Sender: No OFD packet to send [06:07:39]OFD Sender: No OFD packet to send [06:07:44]OFD Sender: No OFD packet to send [06:07:49]OFD Sender: No OFD packet to send [06:07:54]OFD Sender: No OFD packet to send [06:07:59]OFD Sender: No OFD packet to send [06:08:04]OFD Sender: No OFD packet to send [06:08:09]OFD Sender: No OFD packet to send [06:08:14]OFD Sender: No OFD packet to send [06:08:19]OFD Sender: No OFD packet to send [06:08:24]OFD Sender: No OFD packet to send [06:08:29]OFD Sender: No OFD packet to send [06:08:34]OFD Sender: No OFD packet to send [06:08:39]OFD Sender: No OFD packet to send [06:08:44]OFD Sender: No OFD packet to send [06:08:49]OFD Sender: No OFD packet to send [06:08:54]OFD Sender: No OFD packet to send [06:08:59]OFD Sender: No OFD packet to send [06:09:04]OFD Sender: No OFD packet to send [06:09:09]OFD Sender: No OFD packet to send [06:09:14]OFD Sender: No OFD packet to send [06:09:19]OFD Sender: No OFD packet to send [06:09:24]OFD Sender: No OFD packet to send [06:09:29]OFD Sender: No OFD packet to send [06:09:34]OFD Sender: No OFD packet to send [06:09:39]OFD Sender: No OFD packet to send [06:09:44]OFD Sender: No OFD packet to send [06:09:49]OFD Sender: No OFD packet to send [06:09:54]OFD Sender: No OFD packet to send [06:09:59]OFD Sender: No OFD packet to send [06:10:04]OFD Sender: No OFD packet to send [06:10:09]OFD Sender: No OFD packet to send [06:10:14]OFD Sender: No OFD packet to send [06:10:19]OFD Sender: No OFD packet to send [06:10:24]OFD Sender: No OFD packet to send [06:10:29]OFD Sender: No OFD packet to send [06:10:34]OFD Sender: No OFD packet to send [06:10:39]OFD Sender: No OFD packet to send [06:10:44]OFD Sender: No OFD packet to send [06:10:49]OFD Sender: No OFD packet to send [06:10:54]OFD Sender: No OFD packet to send [06:10:59]OFD Sender: No OFD packet to send [06:11:04]OFD Sender: No OFD packet to send [06:11:09]OFD Sender: No OFD packet to send [06:11:14]OFD Sender: No OFD packet to send [06:11:19]OFD Sender: No OFD packet to send [06:11:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]OFD Sender: No OFD packet to send [06:13:39]OFD Sender: No OFD packet to send [06:13:44]OFD Sender: No OFD packet to send [06:13:49]OFD Sender: No OFD packet to send [06:13:54]OFD Sender: No OFD packet to send [06:13:59]OFD Sender: No OFD packet to send [06:14:04]OFD Sender: No OFD packet to send [06:14:09]OFD Sender: No OFD packet to send [06:14:14]OFD Sender: No OFD packet to send [06:14:19]OFD Sender: No OFD packet to send [06:14:24]OFD Sender: No OFD packet to send [06:14:29]OFD Sender: No OFD packet to send [06:14:34]OFD Sender: No OFD packet to send [06:14:39]OFD Sender: No OFD packet to send [06:14:44]OFD Sender: No OFD packet to send [06:14:49]OFD Sender: No OFD packet to send [06:14:51]accept exits with 9 [06:14:51]New connection [06:14:51]New thread 3067297124 created [06:14:51]Thread 3067440484 joined [06:14:51]Waiting for new connection... [06:14:51] Sock 9.Parse request [06:14:51]Sock 9.Check first char [06:14:51]Sock 9.First char is OK [06:14:51]request: POST /json_proto HTTP/1.0 [06:14:51]Method: POST [06:14:51]URL: /json_proto [06:14:51]Method is POST - this is cgi request [06:14:51]url: /json_proto [06:14:51]query_string will be loaded in cgi processing [06:14:51]execute_cgi json_proto POST (null) [06:14:51]execute_cgi path=json_proto method=POST [06:14:51]POST find Content-Length [06:14:51]Host: 172.17.40.196:8080 [06:14:51]Content-Length: 620 [06:14:51]Content-Type: application/json [06:14:51] [06:14:51]POST finish read [06:14:51]Found Content-Length = 620 [06:14:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35149", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:14:51]execute_script... [06:14:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35149", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:14:51]POST & json_proto [06:14:51]process_json_proto [06:14:51]json parsed OK: [06:14:51]protocol is kg_v1.0 [06:14:51]action value=close_receipt [06:14:51]process_action close_receipt [06:14:51]cmd_close_receipt [06:14:51]MH_GetDate [06:14:51]Write to MH i2c: F0 00 00 6D 32 8E [06:14:51]Write i2c OK [06:14:51]MH_I2C_Read... [06:14:51]Read from MH i2c: F0 [06:14:51]MH_I2C_Read... [06:14:51]Read from MH i2c: F0 09 00 [06:14:51]MH_I2C_Read... [06:14:51]Read from MH i2c: F0 09 00 6D 32 00 67 7D 20 67 5B 68 A1 66 CC [06:14:51]GetLastDocTimeStamp 1730179029 [06:14:51]current date 1730182503 [06:14:51]FM_GetShiftState [06:14:51]SAM_PROTO_GetShiftState [06:14:51]wFMCommunicate request_size=4 [06:14:51]MH_SAM_APDU [06:14:51]CAPDU: 80 13 01 00 [06:14:51]Write to MH i2c: E2 08 00 6E 32 80 13 01 00 00 00 00 00 1D [06:14:51]Write i2c OK [06:14:51]MH_I2C_Read... [06:14:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:14:52]Read from MH i2c: E2 [06:14:52]MH_I2C_Read... [06:14:52]Read from MH i2c: E2 0E 00 [06:14:52]MH_I2C_Read... [06:14:52]Read from MH i2c: E2 0E 00 6E 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 93 [06:14:52]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:14:52]wFMCommunicate OK [06:14:52]SAM_PROTO_GetShiftState done [06:14:52]FM_GetShiftState done [06:14:52]opened in 1730160317 [06:14:52]opened+sec_in_day 1730246717 [06:14:52]quantity*price = 14400 [06:14:52]sum+1 = 14401 [06:14:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 12 29.10.2024 06:15 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37850 ФПД: 91968956846613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T061503&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37850&fm=91968956846613&tin=02508201610067®Number=0000000000091684&sum=14400 0 [06:14:53]StoreToDocumentArchive [06:14:53]shift 552 fd 37850 [06:14:53]save to /storage/0552/doc_00037850 [06:14:53]save last doc name /storage/0552/doc_00037850 to /storage/kkm_last_doc_name [06:14:53]save OK [06:14:53]Clear old archive folders... [06:14:53]ProcessDocumentItem done err = 0, tmpTLVsize=273 [06:14:53]tlvbuf is 002F10E0 [06:14:53]SAM_PROTO_ClearQueue [06:14:53]wFMCommunicate request_size=4 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 09 00 00 [06:14:53]Write to MH i2c: E2 08 00 7B 32 80 09 00 00 00 00 00 00 1F [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 7B 32 00 90 00 21 [06:14:53]RAPDU: 90 00 [06:14:53]wFMCommunicate OK [06:14:53]SAM_PROTO_ClearQueue done [06:14:53]KKMCreateOFDPacket [06:14:53]OFDProtocolAddRootSTLVToBuf [06:14:53]FM_MakeSignedData [06:14:53]FM_MakeSignedData [06:14:53]SAM_PROTO_SignData [06:14:53]wFMCommunicate request_size=4 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 0D 01 02 [06:14:53]Write to MH i2c: E2 08 00 7C 32 80 0D 01 02 00 00 00 00 27 [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 7C 32 00 90 00 22 [06:14:53]RAPDU: 90 00 [06:14:53]wFMCommunicate OK [06:14:53]wFMCommunicate request_size=255 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 7D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [06:14:53]Write to MH i2c: E2 02 01 7D 32 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 7D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 21 [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 7D 32 00 90 00 23 [06:14:53]RAPDU: 90 00 [06:14:53]wFMCommunicate OK [06:14:53]wFMCommunicate request_size=32 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 DA 93 00 00 35 04 06 00 53 A5 31 00 D2 15 [06:14:53]Write to MH i2c: E2 23 00 7E 32 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 DA 93 00 00 35 04 06 00 53 A5 31 00 D2 15 00 00 01 [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 03 00 7E 32 00 90 00 24 [06:14:53]RAPDU: 90 00 [06:14:53]wFMCommunicate OK [06:14:53]wFMCommunicate request_size=4 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 0D 03 02 [06:14:53]Write to MH i2c: E2 08 00 7F 32 80 0D 03 02 00 00 00 00 2C [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 0B 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 0B 00 7F 32 00 4B 49 FC BF 46 05 62 E0 90 00 09 [06:14:53]RAPDU: 4B 49 FC BF 46 05 62 E0 90 00 [06:14:53]wFMCommunicate OK [06:14:53]SAM_PROTO_SignData done [06:14:53]FM_MakeSignedData done [06:14:53]CreateOFDProtocolMessage [06:14:53]wFMCommunicate request_size=4 [06:14:53]MH_SAM_APDU [06:14:53]CAPDU: 80 11 00 00 [06:14:53]Write to MH i2c: E2 08 00 80 32 80 11 00 00 00 00 00 00 2C [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:14:53]Read from MH i2c: E2 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 17 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: E2 17 00 80 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7C [06:14:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:14:53]wFMCommunicate OK [06:14:53]CreateOFDProtocolMessage done [06:14:53]OFDSenderStorePacket 37850 [06:14:53]StoreOFDPacket docnum=37850 [06:14:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 34 05 1D 01 11 C5 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 7D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DA 93 00 00 35 04 06 00 53 A5 31 00 D2 15 4B 49 FC BF 46 05 62 E0 [06:14:53]CheckFolder [06:14:53]dirname=/storage/ofd_packets [06:14:53]CheckFolder done [06:14:53]ProducePacketName [06:14:53]name=ofd_packets/00037850 [06:14:53]NVStorageSaveData ofd_packets/00037850 [06:14:53]File name is /storage/ofd_packets/00037850 [06:14:53]Write 323 bytes [06:14:53]NVStorageSaveData done [06:14:53]OFDSenderStorePacket done [06:14:53]KKMCreateOFDPacket done [06:14:53]NVStorageSaveData kkm_last_timestamp [06:14:53]File name is /storage/kkm_last_timestamp [06:14:53]Write 4 bytes [06:14:53]NVStorageSaveData done [06:14:53]ExternCall_PrintAddStr [06:14:53]wPrintStart [06:14:53]Write to MH i2c: 01 00 00 81 32 B3 [06:14:53]Write i2c OK [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: 01 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: 01 07 00 [06:14:53]MH_I2C_Read... [06:14:53]Read from MH i2c: 01 07 00 81 32 00 00 00 00 00 FF 0F C8 [06:14:53]RasterBufferAndPrint [06:14:53]line Счет N : (3)35149 [06:14:53]line ИНН: 02508201610067 [06:14:53]line Контрольно-Кассовый Чек [06:14:53]line ПРОДАЖА [06:14:53]line Товар: 48747059 [06:14:53]line Сигареты Winston Legend Blue [06:14:53]line 1.000 * 144.00 [06:14:53]line = 144.00 [06:14:53]line НДС 12% НСП 1% [06:14:53]line > о реализуемом товаре [06:14:53]line ИТОГО: 144.00 [06:14:53]line НСП 1% : 1.27 [06:14:53]line НДС 12% : 15.29 [06:14:53]line Наличными: 144.00 [06:14:53]line Безнал.: 0.00 [06:14:53]line Место: АЗС № 126 "Партнер Нефть" [06:14:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:14:53]line СНО: Общий режим [06:14:53]line Чек 12 29.10.2024 06:15 [06:14:53]line Смена: 552 ФФД: 1.0 [06:14:53]line ЗНМ: 0300000092 [06:14:53]line РНМ: 0000000000091684 [06:14:53]line Версия ККМ: 001 [06:14:53]line ФМ: 0000000000871841 [06:14:53]line ФД: 37850 [06:14:53]line ФПД: 91968956846613 [06:14:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T061503&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37850&fm=91968956846613&tin=02508201610067®Number=0000000000091684&sum=14400 [06:14:53]line 0 [06:14:53]written 0, free lines is 4095 [06:14:53]OFD Sender: Processing packet 37850 [packets to send 42, broken 41] [06:14:53]ProducePacketName [06:14:53]name=ofd_packets/00037850 [06:14:53]OFD Sender: To server: pG, [06:14:53]CommunicateWithHost lk.salyk.kg:30040 [06:14:53]ConnectInit lk.salyk.kg [06:14:54]Write to MH i2c: 01 00 00 AA 32 DC [06:14:54]Write i2c OK [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: 01 [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: 01 07 00 [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: 01 07 00 AA 32 00 00 00 00 00 B4 0C A3 [06:14:54]RasterBufferAndPrint [06:14:54]line [06:14:54]line [06:14:54]line [06:14:54]line [06:14:54]line [06:14:54]written 0, free lines is 3256 [06:14:54]MH_Cut [06:14:54]Write to MH i2c: D1 01 00 B1 32 01 B5 [06:14:54]Write i2c OK [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: D1 [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: D1 01 00 [06:14:54]MH_I2C_Read... [06:14:54]Read from MH i2c: D1 01 00 B1 32 00 B4 [06:14:54]Write to MH i2c: 01 00 00 B2 32 E4 [06:14:54]Write i2c OK [06:14:54]MH_I2C_Read... [06:14:54]Connected sock=11 [06:14:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 34 05 1D 01 11 C5 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0C 00 00 00 F4 03 04 00 67 7D 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DA 93 00 00 35 04 06 00 53 A5 31 00 D2 15 4B 49 FC BF 46 05 62 E0 [06:14:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 BA 5B 47 00 FA 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DA 93 00 00 F4 03 04 00 5A 28 20 67 B6 04 01 00 00 6F A9 38 82 D0 04 55 BA [06:14:54]CommunicateWithHost err = 0 [06:14:54]CheckOFDResponse [06:14:54]1017 (14) - 77093643461234 [06:14:54]1041 (16) - 0000000000871841 [06:14:54]1040 (4) - 37850 [06:14:54]1012 (4) - 29.10.2024 00:12 [06:14:54]1206 (1) - 0 [06:14:54]OFD Sender: Remove packet 37850 [06:14:54]ProducePacketName [06:14:54]name=ofd_packets/00037850 [06:14:54]NVStorageDeleteData [06:14:54]*** Cut start [06:14:54]*** Partial cut [06:14:54]*** CUTSNS_PIN = 1 [06:14:55]*** CUTSNS_PIN = 0 [06:14:55]*** Brake cut motor [06:14:55]OFD Sender: No OFD packet to send [06:14:55]Read from MH i2c: 01 [06:14:55]MH_I2C_Read... [06:14:55]*** Stop cut motor [06:14:55]*** Cut end [06:14:55]Read from MH i2c: 01 07 00 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: 01 07 00 B2 32 00 00 00 00 00 FF 0F F9 [06:14:55]process_action close_receipt done [06:14:55]requested_data is exist [06:14:55]produce_requested_data [06:14:55]requested_item fm.sn is exist - process it [06:14:55]wFMCommunicate request_size=4 [06:14:55]MH_SAM_APDU [06:14:55]CAPDU: 80 11 00 00 [06:14:55]Write to MH i2c: E2 08 00 B3 32 80 11 00 00 00 00 00 00 5F [06:14:55]Write i2c OK [06:14:55]MH_I2C_Read... [06:14:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:14:55]Read from MH i2c: E2 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 17 00 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 17 00 B3 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AF [06:14:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:14:55]wFMCommunicate OK [06:14:55]requested_item fd.num is exist - process it [06:14:55]SAM_PROTO_GetFieldsCounters [06:14:55]wFMCommunicate request_size=4 [06:14:55]MH_SAM_APDU [06:14:55]CAPDU: 80 13 00 00 [06:14:55]Write to MH i2c: E2 08 00 B4 32 80 13 00 00 00 00 00 00 62 [06:14:55]Write i2c OK [06:14:55]MH_I2C_Read... [06:14:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:14:55]Read from MH i2c: E2 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 62 00 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 62 00 B4 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [06:14:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:14:55]wFMCommunicate OK [06:14:55]SAM_PROTO_GetFieldsCounters done [06:14:55]requested_item shift.num is exist - process it [06:14:55]requested_item shift.opened is exist - process it [06:14:55]req_shift_opened [06:14:55]FM_GetShiftState [06:14:55]SAM_PROTO_GetShiftState [06:14:55]wFMCommunicate request_size=4 [06:14:55]MH_SAM_APDU [06:14:55]CAPDU: 80 13 01 00 [06:14:55]Write to MH i2c: E2 08 00 B5 32 80 13 01 00 00 00 00 00 64 [06:14:55]Write i2c OK [06:14:55]MH_I2C_Read... [06:14:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:14:55]Read from MH i2c: E2 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 0E 00 [06:14:55]MH_I2C_Read... [06:14:55]Read from MH i2c: E2 0E 00 B5 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 DA [06:14:55]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:14:55]wFMCommunicate OK [06:14:55]SAM_PROTO_GetShiftState done [06:14:55]FM_GetShiftState done [06:14:55]req_shift_opened done [06:14:55]requested_item shift.open_date is exist - process it [06:14:55]req_shift_open_date [06:14:55]req_shift_open_date done [06:14:55]produce_requested_data done [06:14:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37850,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [06:14:55]process_action_free close_receipt [06:14:55]json_value_free [06:14:55]json_value_free done [06:14:55]process_json_proto returns [06:14:55]Send response to host [06:14:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37850,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [06:14:55]free response buf [06:14:55]execute_script done [06:14:55]execute_script returns [06:14:55]free content buf [06:14:55]Sock 9.Close socket [06:14:55]Sock 9.Thread stoped [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 [06:24:00]OFD Sender: No OFD packet to send [06:24:05]OFD Sender: No OFD packet to send [06:24:10]OFD Sender: No OFD packet to send [06:24:15]OFD Sender: No OFD packet to send [06:24:20]OFD Sender: No OFD packet to send [06:24:25]OFD Sender: No OFD packet to send [06:24:30]OFD Sender: No OFD packet to send [06:24:35]OFD Sender: No OFD packet to send [06:24:40]OFD Sender: No OFD packet to send [06:24:45]OFD Sender: No OFD packet to send [06:24:50]OFD Sender: No OFD packet to send [06:24:55]OFD Sender: No OFD packet to send [06:25:00]OFD Sender: No OFD packet to send [06:25:05]OFD Sender: No OFD packet to send [06:25:10]OFD Sender: No OFD packet to send [06:25:15]OFD Sender: No OFD packet to send [06:25:20]OFD Sender: No OFD packet to send [06:25:25]OFD Sender: No OFD packet to send [06:25:30]OFD Sender: No OFD packet to send [06:25:35]OFD Sender: No OFD packet to send [06:25:40]OFD Sender: No OFD packet to send [06:25:45]OFD Sender: No OFD packet to send [06:25:50]OFD Sender: No OFD packet to send [06:25:55]OFD Sender: No OFD packet to send [06:26:00]OFD Sender: No OFD packet to send [06:26:05]OFD Sender: No OFD packet to send [06:26:10]OFD Sender: No OFD packet to send [06:26:15]OFD Sender: No OFD packet to send [06:26:20]OFD Sender: No OFD packet to send [06:26:25]OFD Sender: No OFD packet to send [06:26:30]OFD Sender: No OFD packet to send [06:26:35]OFD Sender: No OFD packet to send [06:26:40]OFD Sender: No OFD packet to send [06:26:45]OFD Sender: No OFD packet to send [06:26:50]OFD Sender: No OFD packet to send [06:26:55]OFD Sender: No OFD packet to send [06:27:00]OFD Sender: No OFD packet to send [06:27:06]OFD Sender: No OFD packet to send [06:27:11]OFD Sender: No OFD packet to send [06:27:16]OFD Sender: No OFD packet to send [06:27:21]OFD Sender: No OFD packet to send [06:27:26]OFD Sender: No OFD packet to send [06:27:31]OFD Sender: No OFD packet to send [06:27:36]OFD Sender: No OFD packet to send [06:27:41]OFD Sender: No OFD packet to send [06:27:46]OFD Sender: No OFD packet to send [06:27:51]OFD Sender: No OFD packet to send [06:27:56]OFD Sender: No OFD packet to send [06:28:01]OFD Sender: No OFD packet to send [06:28:06]OFD Sender: No OFD packet to send [06:28:11]OFD Sender: No OFD packet to send [06:28:16]OFD Sender: No OFD packet to send [06:28:21]OFD Sender: No OFD packet to send [06:28:26]OFD Sender: No OFD packet to send [06:28:31]OFD Sender: No OFD packet to send [06:28:36]OFD Sender: No OFD packet to send [06:28:41]OFD Sender: No OFD packet to send [06:28:46]OFD Sender: No OFD packet to send [06:28:51]OFD Sender: No OFD packet to send [06:28:56]OFD Sender: No OFD packet to send [06:29:01]OFD Sender: No OFD packet to send [06:29:06]OFD Sender: No OFD packet to send [06:29:11]OFD Sender: No OFD packet to send [06:29:16]OFD Sender: No OFD packet to send [06:29:21]OFD Sender: No OFD packet to send [06:29:26]OFD Sender: No OFD packet to send [06:29:31]OFD Sender: No OFD packet to send [06:29:36]OFD Sender: No OFD packet to send [06:29:41]OFD Sender: No OFD packet to send [06:29:46]OFD Sender: No OFD packet to send [06:29:51]OFD Sender: No OFD packet to send [06:29:56]OFD Sender: No OFD packet to send [06:30:01]OFD Sender: No OFD packet to send [06:30:06]OFD Sender: No OFD packet to send [06:30:11]OFD Sender: No OFD packet to send [06:30:16]OFD Sender: No OFD packet to send [06:30:21]OFD Sender: No OFD packet to send [06:30:26]OFD Sender: No OFD packet to send [06:30:31]OFD Sender: No OFD packet to send [06:30:36]OFD Sender: No OFD packet to send [06:30:41]OFD Sender: No OFD packet to send [06:30:46]OFD Sender: No OFD packet to send [06:30:51]OFD Sender: No OFD packet to send [06:30:56]OFD Sender: No OFD packet to send [06:31:01]OFD Sender: No OFD packet to send [06:31:06]OFD Sender: No OFD packet to send [06:31:11]OFD Sender: No OFD packet to send [06:31:16]OFD Sender: No OFD packet to send [06:31:21]OFD Sender: No OFD packet to send [06:31:26]OFD Sender: No OFD packet to send [06:31:31]OFD Sender: No OFD packet to send [06:31:36]OFD Sender: No OFD packet to send [06:31:41]OFD Sender: No OFD packet to send [06:31:46]OFD Sender: No OFD packet to send [06:31:51]OFD Sender: No OFD packet to send [06:31:56]OFD Sender: No OFD packet to send [06:32:01]OFD Sender: No OFD packet to send [06:32:06]OFD Sender: No OFD packet to send [06:32:11]OFD Sender: No OFD packet to send [06:32:16]OFD Sender: No OFD packet to send [06:32:21]OFD Sender: No OFD packet to send [06:32:26]OFD Sender: No OFD packet to send [06:32:31]OFD Sender: No OFD packet to send [06:32:36]OFD Sender: No OFD packet to send [06:32:41]OFD Sender: No OFD packet to send [06:32:46]OFD Sender: No OFD packet to send [06:32:51]OFD Sender: No OFD packet to send [06:32:56]OFD Sender: No OFD packet to send [06:33:01]OFD Sender: No OFD packet to send [06:33:06]OFD Sender: No OFD packet to send [06:33:11]OFD Sender: No OFD packet to send [06:33:16]OFD Sender: No OFD packet to send [06:33:21]OFD Sender: No OFD packet to send [06:33:26]OFD Sender: No OFD packet to send [06:33:31]OFD Sender: No OFD packet to send [06:33:36]OFD Sender: No OFD packet to send [06:33:41]OFD Sender: No OFD packet to send [06:33:46]OFD Sender: No OFD packet to send [06:33:51]OFD Sender: No OFD packet to send [06:33:56]OFD Sender: No OFD packet to send [06:34:01]OFD Sender: No OFD packet to send [06:34:06]OFD Sender: No OFD packet to send [06:34:11]OFD Sender: No OFD packet to send [06:34:16]OFD Sender: No OFD packet to send [06:34:21]OFD Sender: No OFD packet to send [06:34:26]OFD Sender: No OFD packet to send [06:34:31]OFD Sender: No OFD packet to send [06:34:36]OFD Sender: No OFD packet to send [06:34:41]OFD Sender: No OFD packet to send [06:34:46]OFD Sender: No OFD packet to send [06:34:51]OFD Sender: No OFD packet to send [06:34:56]OFD Sender: No OFD packet to send [06:35:01]OFD Sender: No OFD packet to send [06:35:06]OFD Sender: No OFD packet to send [06:35:11]OFD Sender: No OFD packet to send [06:35:16]OFD Sender: No OFD packet to send [06:35:21]OFD Sender: No OFD packet to send [06:35:26]OFD Sender: No OFD packet to send [06:35:31]OFD Sender: No OFD packet to send [06:35:36]OFD Sender: No OFD packet to send [06:35:41]OFD Sender: No OFD packet to send [06:35:46]OFD Sender: No OFD packet to send [06:35:51]OFD Sender: No OFD packet to send [06:35:56]OFD Sender: No OFD packet to send [06:36:01]OFD Sender: No OFD packet to send [06:36:06]OFD Sender: No OFD packet to send [06:36:11]OFD Sender: No OFD packet to send [06:36:16]OFD Sender: No OFD packet to send [06:36:21]OFD Sender: No OFD packet to send [06:36:26]OFD Sender: No OFD packet to send [06:36:31]OFD Sender: No OFD packet to send [06:36:36]OFD Sender: No OFD packet to send [06:36:41]OFD Sender: No OFD packet to send [06:36:46]OFD Sender: No OFD packet to send [06:36:51]OFD Sender: No OFD packet to send [06:36:56]OFD Sender: No OFD packet to send [06:37:01]OFD Sender: No OFD packet to send [06:37:06]OFD Sender: No OFD packet to send [06:37:11]OFD Sender: No OFD packet to send [06:37:16]OFD Sender: No OFD packet to send [06:37:21]OFD Sender: No OFD packet to send [06:37:26]OFD Sender: No OFD packet to send [06:37:31]OFD Sender: No OFD packet to send [06:37:36]OFD Sender: No OFD packet to send [06:37:41]OFD Sender: No OFD packet to send [06:37:46]OFD Sender: No OFD packet to send [06:37:51]OFD Sender: No OFD packet to send [06:37:56]OFD Sender: No OFD packet to send [06:38:01]OFD Sender: No OFD packet to send [06:38:06]OFD Sender: No OFD packet to send [06:38:11]OFD Sender: No OFD packet to send [06:38:16]OFD Sender: No OFD packet to send [06:38:21]OFD Sender: No OFD packet to send [06:38:26]OFD Sender: No OFD packet to send [06:38:31]OFD Sender: No OFD packet to send [06:38:36]OFD Sender: No OFD packet to send [06:38:41]OFD Sender: No OFD packet to send [06:38:46]OFD Sender: No OFD packet to send [06:38:51]OFD Sender: No OFD packet to send [06:38:56]OFD Sender: No OFD packet to send [06:39:01]OFD Sender: No OFD packet to send [06:39:06]OFD Sender: No OFD packet to send [06:39:11]OFD Sender: No OFD packet to send [06:39:16]OFD Sender: No OFD packet to send [06:39:21]OFD Sender: No OFD packet to send [06:39:26]OFD Sender: No OFD packet to send [06:39:31]OFD Sender: No OFD packet to send [06:39:36]OFD Sender: No OFD packet to send [06:39:41]OFD Sender: No OFD packet to send [06:39:46]OFD Sender: No OFD packet to send [06:39:51]OFD Sender: No OFD packet to send [06:39:56]OFD Sender: No OFD packet to send [06:40:01]OFD Sender: No OFD packet to send [06:40:06]OFD Sender: No OFD packet to send [06:40:11]OFD Sender: No OFD packet to send [06:40:16]OFD Sender: No OFD packet to send [06:40:21]OFD Sender: No OFD packet to send [06:40:26]OFD Sender: No OFD packet to send [06:40:31]OFD Sender: No OFD packet to send [06:40:36]OFD Sender: No OFD packet to send [06:40:41]OFD Sender: No OFD packet to send [06:40:46]OFD Sender: No OFD packet to send [06:40:51]OFD Sender: No OFD packet to send [06:40:56]OFD Sender: No OFD packet to send [06:41:01]OFD Sender: No OFD packet to send [06:41:06]OFD Sender: No OFD packet to send [06:41:11]OFD Sender: No OFD packet to send [06:41:16]OFD Sender: No OFD packet to send [06:41:21]OFD Sender: No OFD packet to send [06:41:26]OFD Sender: No OFD packet to send [06:41:31]OFD Sender: No OFD packet to send [06:41:36]OFD Sender: No OFD packet to send [06:41:41]OFD Sender: No OFD packet to send [06:41:46]OFD Sender: No OFD packet to send [06:41:51]OFD Sender: No OFD packet to send [06:41:56]OFD Sender: No OFD packet to send [06:42:01]OFD Sender: No OFD packet to send [06:42:06]OFD Sender: No OFD packet to send [06:42:11]OFD Sender: No OFD packet to send [06:42:16]OFD Sender: No OFD packet to send [06:42:21]OFD Sender: No OFD packet to send [06:42:26]OFD Sender: No OFD packet to send [06:42:31]OFD Sender: No OFD packet to send [06:42:36]OFD Sender: No OFD packet to send [06:42:41]OFD Sender: No OFD packet to send [06:42:46]OFD Sender: No OFD packet to send [06:42:51]OFD Sender: No OFD packet to send [06:42:56]OFD Sender: No OFD packet to send [06:43:01]OFD Sender: No OFD packet to send [06:43:06]OFD Sender: No OFD packet to send [06:43:11]OFD Sender: No OFD packet to send [06:43:16]OFD Sender: No OFD packet to send [06:43:21]OFD Sender: No OFD packet to send [06:43:26]OFD Sender: No OFD packet to send [06:43:31]OFD Sender: No OFD packet to send [06:43:36]OFD Sender: No OFD packet to send [06:43:41]OFD Sender: No OFD packet to send [06:43:46]OFD Sender: No OFD packet to send [06:43:51]OFD Sender: No OFD packet to send [06:43:56]OFD Sender: No OFD packet to send [06:44:01]OFD Sender: No OFD packet to send [06:44:06]OFD Sender: No OFD packet to send [06:44:11]OFD Sender: No OFD packet to send [06:44:16]OFD Sender: No OFD packet to send [06:44:21]OFD Sender: No OFD packet to send [06:44:26]OFD Sender: No OFD packet to send [06:44:31]OFD Sender: No OFD packet to send [06:44:36]OFD Sender: No OFD packet to send [06:44:41]OFD Sender: No OFD packet to send [06:44:46]OFD Sender: No OFD packet to send [06:44:51]OFD Sender: No OFD packet to send [06:44:56]OFD Sender: No OFD packet to send [06:45:01]OFD Sender: No OFD packet to send [06:45:06]OFD Sender: No OFD packet to send [06:45:11]OFD Sender: No OFD packet to send [06:45:16]OFD Sender: No OFD packet to send [06:45:21]OFD Sender: No OFD packet to send [06:45:26]OFD Sender: No OFD packet to send [06:45:31]OFD Sender: No OFD packet to send [06:45:36]OFD Sender: No OFD packet to send [06:45:42]OFD Sender: No OFD packet to send [06:45:47]OFD Sender: No OFD packet to send [06:45:52]OFD Sender: No OFD packet to send [06:45:57]OFD Sender: No OFD packet to send [06:46:02]OFD Sender: No OFD packet to send [06:46:07]OFD Sender: No OFD packet to send [06:46:12]OFD Sender: No OFD packet to send [06:46:17]OFD Sender: No OFD packet to send [06:46:22]OFD Sender: No OFD packet to send [06:46:27]OFD Sender: No OFD packet to send [06:46:32]OFD Sender: No OFD packet to send [06:46:37]OFD Sender: No OFD packet to send [06:46:42]OFD Sender: No OFD packet to send [06:46:47]OFD Sender: No OFD packet to send [06:46:52]OFD Sender: No OFD packet to send [06:46:57]OFD Sender: No OFD packet to send [06:47:02]OFD Sender: No OFD packet to send [06:47:07]OFD Sender: No OFD packet to send [06:47:12]OFD Sender: No OFD packet to send [06:47:17]OFD Sender: No OFD packet to send [06:47:22]OFD Sender: No OFD packet to send [06:47:27]OFD Sender: No OFD packet to send [06:47:32]OFD Sender: No OFD packet to send [06:47:37]OFD Sender: No OFD packet to send [06:47:42]OFD Sender: No OFD packet to send [06:47:47]OFD Sender: No OFD packet to send [06:47:52]OFD Sender: No OFD packet to send [06:47:57]OFD Sender: No OFD packet to send [06:48:02]OFD Sender: No OFD packet to send [06:48:07]OFD Sender: No OFD packet to send [06:48:12]OFD Sender: No OFD packet to send [06:48:17]OFD Sender: No OFD packet to send [06:48:22]OFD Sender: No OFD packet to send [06:48:27]OFD Sender: No OFD packet to send [06:48:32]OFD Sender: No OFD packet to send [06:48:37]OFD Sender: No OFD packet to send [06:48:42]OFD Sender: No OFD packet to send [06:48:47]OFD Sender: No OFD packet to send [06:48:52]OFD Sender: No OFD packet to send [06:48:57]OFD Sender: No OFD packet to send [06:49:02]OFD Sender: No OFD packet to send [06:49:07]OFD Sender: No OFD packet to send [06:49:12]OFD Sender: No OFD packet to send [06:49:17]OFD Sender: No OFD packet to send [06:49:22]OFD Sender: No OFD packet to send [06:49:27]OFD Sender: No OFD packet to send [06:49:32]OFD Sender: No OFD packet to send [06:49:37]OFD Sender: No OFD packet to send [06:49:42]OFD Sender: No OFD packet to send [06:49:47]OFD Sender: No OFD packet to send [06:49:48]accept exits with 7 [06:49:48]New connection [06:49:48]New thread 3067440484 created [06:49:48]Thread 3067297124 joined [06:49:48]Waiting for new connection... [06:49:48] Sock 7.Parse request [06:49:48]Sock 7.Check first char [06:49:48]Sock 7.First char is OK [06:49:48]request: POST /json_proto HTTP/1.0 [06:49:48]Method: POST [06:49:48]URL: /json_proto [06:49:48]Method is POST - this is cgi request [06:49:48]url: /json_proto [06:49:48]query_string will be loaded in cgi processing [06:49:48]execute_cgi json_proto POST (null) [06:49:48]execute_cgi path=json_proto method=POST [06:49:48]POST find Content-Length [06:49:48]Host: 172.17.40.196:8080 [06:49:48]Content-Length: 677 [06:49:48]Content-Type: application/json [06:49:48] [06:49:48]POST finish read [06:49:48]Found Content-Length = 677 [06:49:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35150", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 1.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:48]execute_script... [06:49: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)35150", "tax_sys" : 0, "items" : [ { "code": "4700001060077", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u041A\u0412 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D 0,2\u043B", "price" : 400.00, "quantity" : 1.000, "sum" : 400.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 400.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:49:48]POST & json_proto [06:49:48]process_json_proto [06:49:48]json parsed OK: [06:49:48]protocol is kg_v1.0 [06:49:48]action value=close_receipt [06:49:48]process_action close_receipt [06:49:48]cmd_close_receipt [06:49:48]MH_GetDate [06:49:48]Write to MH i2c: F0 00 00 B6 32 D7 [06:49:48]Write i2c OK [06:49:48]MH_I2C_Read... [06:49:48]Read from MH i2c: F0 [06:49:48]MH_I2C_Read... [06:49:48]Read from MH i2c: F0 09 00 [06:49:48]MH_I2C_Read... [06:49:48]Read from MH i2c: F0 09 00 B6 32 00 98 85 20 67 5B 68 A1 66 4E [06:49:48]GetLastDocTimeStamp 1730182503 [06:49:48]current date 1730184600 [06:49:48]FM_GetShiftState [06:49:48]SAM_PROTO_GetShiftState [06:49:48]wFMCommunicate request_size=4 [06:49:48]MH_SAM_APDU [06:49:48]CAPDU: 80 13 01 00 [06:49:48]Write to MH i2c: E2 08 00 B7 32 80 13 01 00 00 00 00 00 66 [06:49:48]Write i2c OK [06:49:48]MH_I2C_Read... [06:49:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:48]Read from MH i2c: E2 [06:49:48]MH_I2C_Read... [06:49:48]Read from MH i2c: E2 0E 00 [06:49:48]MH_I2C_Read... [06:49:48]Read from MH i2c: E2 0E 00 B7 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 DC [06:49:48]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:49:48]wFMCommunicate OK [06:49:48]SAM_PROTO_GetShiftState done [06:49:48]FM_GetShiftState done [06:49:48]opened in 1730160317 [06:49:48]opened+sec_in_day 1730246717 [06:49:48]quantity*price = 40000 [06:49:48]sum+1 = 40001 [06:49:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 400.00 НСП 1% : 3.54 НДС 12% : 42.48 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 13 29.10.2024 06:50 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37851 ФПД: 83921002771816 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T065000&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37851&fm=83921002771816&tin=02508201610067®Number=0000000000091684&sum=40000 0 [06:49:49]StoreToDocumentArchive [06:49:49]shift 552 fd 37851 [06:49:49]save to /storage/0552/doc_00037851 [06:49:49]save last doc name /storage/0552/doc_00037851 to /storage/kkm_last_doc_name [06:49:49]save OK [06:49:49]Clear old archive folders... [06:49:49]ProcessDocumentItem done err = 0, tmpTLVsize=286 [06:49:49]tlvbuf is 002DAFC0 [06:49:49]SAM_PROTO_ClearQueue [06:49:49]wFMCommunicate request_size=4 [06:49:49]MH_SAM_APDU [06:49:49]CAPDU: 80 09 00 00 [06:49:49]Write to MH i2c: E2 08 00 C4 32 80 09 00 00 00 00 00 00 68 [06:49:49]Write i2c OK [06:49:49]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 C4 32 00 90 00 6A [06:49:50]RAPDU: 90 00 [06:49:50]wFMCommunicate OK [06:49:50]SAM_PROTO_ClearQueue done [06:49:50]KKMCreateOFDPacket [06:49:50]OFDProtocolAddRootSTLVToBuf [06:49:50]FM_MakeSignedData [06:49:50]FM_MakeSignedData [06:49:50]SAM_PROTO_SignData [06:49:50]wFMCommunicate request_size=4 [06:49:50]MH_SAM_APDU [06:49:50]CAPDU: 80 0D 01 02 [06:49:50]Write to MH i2c: E2 08 00 C5 32 80 0D 01 02 00 00 00 00 70 [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 C5 32 00 90 00 6B [06:49:50]RAPDU: 90 00 [06:49:50]wFMCommunicate OK [06:49:50]wFMCommunicate request_size=255 [06:49:50]MH_SAM_APDU [06:49:50]CAPDU: 80 0D 02 02 FA 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 98 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 [06:49:50]Write to MH i2c: E2 02 01 C6 32 80 0D 02 02 FA 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 98 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 00 00 82 [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:50]Read from MH i2c: E2 03 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 C6 32 00 90 00 6C [06:49:50]RAPDU: 90 00 [06:49:50]wFMCommunicate OK [06:49:50]wFMCommunicate request_size=45 [06:49:50]MH_SAM_APDU [06:49:50]CAPDU: 80 0D 02 02 28 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DB 93 00 00 35 04 06 00 4C 53 61 8F 35 68 [06:49:50]Write to MH i2c: E2 30 00 C7 32 80 0D 02 02 28 00 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DB 93 00 00 35 04 06 00 4C 53 61 8F 35 68 00 00 62 [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 03 00 C7 32 00 90 00 6D [06:49:50]RAPDU: 90 00 [06:49:50]wFMCommunicate OK [06:49:50]wFMCommunicate request_size=4 [06:49:50]MH_SAM_APDU [06:49:50]CAPDU: 80 0D 03 02 [06:49:50]Write to MH i2c: E2 08 00 C8 32 80 0D 03 02 00 00 00 00 75 [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 0B 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 0B 00 C8 32 00 37 E6 59 0B E2 9D 2C 18 90 00 BA [06:49:50]RAPDU: 37 E6 59 0B E2 9D 2C 18 90 00 [06:49:50]wFMCommunicate OK [06:49:50]SAM_PROTO_SignData done [06:49:50]FM_MakeSignedData done [06:49:50]CreateOFDProtocolMessage [06:49:50]wFMCommunicate request_size=4 [06:49:50]MH_SAM_APDU [06:49:50]CAPDU: 80 11 00 00 [06:49:50]Write to MH i2c: E2 08 00 C9 32 80 11 00 00 00 00 00 00 75 [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:50]Read from MH i2c: E2 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 17 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: E2 17 00 C9 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C5 [06:49:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:49:50]wFMCommunicate OK [06:49:50]CreateOFDProtocolMessage done [06:49:50]OFDSenderStorePacket 37851 [06:49:50]StoreOFDPacket docnum=37851 [06:49:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 52 D4 2A 01 21 AB 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 98 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DB 93 00 00 35 04 06 00 4C 53 61 8F 35 68 37 E6 59 0B E2 9D 2C 18 [06:49:50]CheckFolder [06:49:50]dirname=/storage/ofd_packets [06:49:50]CheckFolder done [06:49:50]ProducePacketName [06:49:50]name=ofd_packets/00037851 [06:49:50]NVStorageSaveData ofd_packets/00037851 [06:49:50]File name is /storage/ofd_packets/00037851 [06:49:50]Write 336 bytes [06:49:50]NVStorageSaveData done [06:49:50]OFDSenderStorePacket done [06:49:50]KKMCreateOFDPacket done [06:49:50]NVStorageSaveData kkm_last_timestamp [06:49:50]File name is /storage/kkm_last_timestamp [06:49:50]Write 4 bytes [06:49:50]NVStorageSaveData done [06:49:50]ExternCall_PrintAddStr [06:49:50]wPrintStart [06:49:50]Write to MH i2c: 01 00 00 CA 32 FC [06:49:50]Write i2c OK [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: 01 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: 01 07 00 [06:49:50]MH_I2C_Read... [06:49:50]Read from MH i2c: 01 07 00 CA 32 00 00 00 00 00 FF 0F 11 [06:49:50]RasterBufferAndPrint [06:49:50]line Счет N : (3)35150 [06:49:50]line ИНН: 02508201610067 [06:49:50]line Контрольно-Кассовый Чек [06:49:50]line ПРОДАЖА [06:49:50]line Товар: 4700001060077 [06:49:50]line Коньяк КВ Кыргызстан 0,2л [06:49:50]line 1.000 * 400.00 [06:49:50]line = 400.00 [06:49:50]line НДС 12% НСП 1% [06:49:50]line > о реализуемом товаре [06:49:50]line ИТОГО: 400.00 [06:49:50]line НСП 1% : 3.54 [06:49:50]line НДС 12% : 42.48 [06:49:50]line Наличными: 400.00 [06:49:50]line Безнал.: 0.00 [06:49:50]line Место: АЗС № 126 "Партнер Нефть" [06:49:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:49:50]line СНО: Общий режим [06:49:50]line Чек 13 29.10.2024 06:50 [06:49:50]line Смена: 552 ФФД: 1.0 [06:49:50]line ЗНМ: 0300000092 [06:49:50]line РНМ: 0000000000091684 [06:49:50]line Версия ККМ: 001 [06:49:50]line ФМ: 0000000000871841 [06:49:50]line ФД: 37851 [06:49:50]line ФПД: 83921002771816 [06:49:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T065000&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37851&fm=83921002771816&tin=02508201610067®Number=0000000000091684&sum=40000 [06:49:50]line 0 [06:49:50]OFD Sender: Processing packet 37851 [packets to send 42, broken 41] [06:49:50]ProducePacketName [06:49:50]name=ofd_packets/00037851 [06:49:50]OFD Sender: To server: pG, [06:49:50]CommunicateWithHost lk.salyk.kg:30040 [06:49:50]ConnectInit lk.salyk.kg [06:49:50]written 0, free lines is 4095 [06:49:51]Write to MH i2c: 01 00 00 F2 32 24 [06:49:51]Write i2c OK [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: 01 [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: 01 07 00 [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: 01 07 00 F2 32 00 00 00 00 00 CD 0C 04 [06:49:51]RasterBufferAndPrint [06:49:51]line [06:49:51]line [06:49:51]line [06:49:51]line [06:49:51]line [06:49:51]written 0, free lines is 3281 [06:49:51]MH_Cut [06:49:51]Write to MH i2c: D1 01 00 F9 32 01 FD [06:49:51]Write i2c OK [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: D1 [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: D1 01 00 [06:49:51]MH_I2C_Read... [06:49:51]Read from MH i2c: D1 01 00 F9 32 00 FC [06:49:51]Write to MH i2c: 01 00 00 FA 32 2C [06:49:51]Write i2c OK [06:49:51]MH_I2C_Read... [06:49:52]*** Cut start [06:49:52]*** Partial cut [06:49:52]*** CUTSNS_PIN = 1 [06:49:52]*** CUTSNS_PIN = 0 [06:49:52]*** Brake cut motor [06:49:52]Connected sock=11 [06:49:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 32 01 00 00 52 D4 2A 01 21 AB 5A 03 01 00 03 00 1E 01 1E 04 01 00 01 23 04 70 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 30 37 37 06 04 2C 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 9A D0 92 20 D0 9A D1 8B D1 80 D0 B3 D1 8B D0 B7 D1 81 D1 82 D0 B0 D0 BD 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 9C 00 00 00 00 13 04 06 00 40 9C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 9C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 98 10 00 00 00 00 07 04 06 00 40 9C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 98 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DB 93 00 00 35 04 06 00 4C 53 61 8F 35 68 37 E6 59 0B E2 9D 2C 18 [06:49:52]Read from MH i2c: 01 [06:49:52]MH_I2C_Read... [06:49:52]*** Stop cut motor [06:49:52]*** Cut end [06:49:52]Read from MH i2c: 01 07 00 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: 01 07 00 FA 32 00 00 00 00 00 FF 0F 41 [06:49:52]process_action close_receipt done [06:49:52]requested_data is exist [06:49:52]produce_requested_data [06:49:52]requested_item fm.sn is exist - process it [06:49:52]wFMCommunicate request_size=4 [06:49:52]MH_SAM_APDU [06:49:52]CAPDU: 80 11 00 00 [06:49:52]Write to MH i2c: E2 08 00 FB 32 80 11 00 00 00 00 00 00 A7 [06:49:52]Write i2c OK [06:49:52]MH_I2C_Read... [06:49:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:49:52]Read from MH i2c: E2 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 17 00 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 17 00 FB 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F7 [06:49:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:49:52]wFMCommunicate OK [06:49:52]requested_item fd.num is exist - process it [06:49:52]SAM_PROTO_GetFieldsCounters [06:49:52]wFMCommunicate request_size=4 [06:49:52]MH_SAM_APDU [06:49:52]CAPDU: 80 13 00 00 [06:49:52]Write to MH i2c: E2 08 00 FC 32 80 13 00 00 00 00 00 00 AA [06:49:52]Write i2c OK [06:49:52]MH_I2C_Read... [06:49:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:49:52]Read from MH i2c: E2 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 62 00 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 62 00 FC 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 8A [06:49:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:49:52]wFMCommunicate OK [06:49:52]SAM_PROTO_GetFieldsCounters done [06:49:52]requested_item shift.num is exist - process it [06:49:52]requested_item shift.opened is exist - process it [06:49:52]req_shift_opened [06:49:52]FM_GetShiftState [06:49:52]SAM_PROTO_GetShiftState [06:49:52]wFMCommunicate request_size=4 [06:49:52]MH_SAM_APDU [06:49:52]CAPDU: 80 13 01 00 [06:49:52]Write to MH i2c: E2 08 00 FD 32 80 13 01 00 00 00 00 00 AC [06:49:52]Write i2c OK [06:49:52]MH_I2C_Read... [06:49:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:49:52]Read from MH i2c: E2 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 0E 00 [06:49:52]MH_I2C_Read... [06:49:52]Read from MH i2c: E2 0E 00 FD 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 22 [06:49:52]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:49:52]wFMCommunicate OK [06:49:52]SAM_PROTO_GetShiftState done [06:49:52]FM_GetShiftState done [06:49:52]req_shift_opened done [06:49:52]requested_item shift.open_date is exist - process it [06:49:52]req_shift_open_date [06:49:52]req_shift_open_date done [06:49:52]produce_requested_data done [06:49:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37851,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [06:49:52]process_action_free close_receipt [06:49:52]json_value_free [06:49:52]json_value_free done [06:49:52]process_json_proto returns [06:49:52]Send response to host [06:49:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37851,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [06:49:52]free response buf [06:49:52]execute_script done [06:49:52]execute_script returns [06:49:52]free content buf [06:49:52]Sock 7.Close socket [06:49:52]Sock 7.Thread stoped [06:49:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 43 C8 47 00 52 43 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DB 93 00 00 F4 03 04 00 8C 30 20 67 B6 04 01 00 00 02 0C 0A B9 3C 60 6A 75 [06:49:53]CommunicateWithHost err = 0 [06:49:53]CheckOFDResponse [06:49:53]1017 (14) - 77093643461234 [06:49:53]1041 (16) - 0000000000871841 [06:49:53]1040 (4) - 37851 [06:49:53]1012 (4) - 29.10.2024 00:47 [06:49:53]1206 (1) - 0 [06:49:53]OFD Sender: Remove packet 37851 [06:49:53]ProducePacketName [06:49:53]name=ofd_packets/00037851 [06:49:53]NVStorageDeleteData [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:13]accept exits with 9 [06:50:13]New connection [06:50:13]New thread 3067297124 created [06:50:13]Thread 3067440484 joined [06:50:13]Waiting for new connection... [06:50:13] Sock 9.Parse request [06:50:13]Sock 9.Check first char [06:50:13]Sock 9.First char is OK [06:50:13]request: POST /json_proto HTTP/1.0 [06:50:13]Method: POST [06:50:13]URL: /json_proto [06:50:13]Method is POST - this is cgi request [06:50:13]url: /json_proto [06:50:13]query_string will be loaded in cgi processing [06:50:13]execute_cgi json_proto POST (null) [06:50:13]execute_cgi path=json_proto method=POST [06:50:13]POST find Content-Length [06:50:13]Host: 172.17.40.196:8080 [06:50:13]Content-Length: 672 [06:50:13]Content-Type: application/json [06:50:13] [06:50:13]POST finish read [06:50:13]Found Content-Length = 672 [06:50:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35151", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:13]execute_script... [06:50: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)35151", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 7.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [06:50:13]POST & json_proto [06:50:13]process_json_proto [06:50:13]json parsed OK: [06:50:13]protocol is kg_v1.0 [06:50:13]action value=close_receipt [06:50:13]process_action close_receipt [06:50:13]cmd_close_receipt [06:50:13]MH_GetDate [06:50:13]Write to MH i2c: F0 00 00 FE 32 1F [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: F0 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: F0 09 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: F0 09 00 FE 32 00 B1 85 20 67 5B 68 A1 66 AF [06:50:13]GetLastDocTimeStamp 1730184600 [06:50:13]current date 1730184625 [06:50:13]FM_GetShiftState [06:50:13]SAM_PROTO_GetShiftState [06:50:13]wFMCommunicate request_size=4 [06:50:13]MH_SAM_APDU [06:50:13]CAPDU: 80 13 01 00 [06:50:13]Write to MH i2c: E2 08 00 FF 32 80 13 01 00 00 00 00 00 AE [06:50:13]Write i2c OK [06:50:13]MH_I2C_Read... [06:50:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:13]Read from MH i2c: E2 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 0E 00 [06:50:13]MH_I2C_Read... [06:50:13]Read from MH i2c: E2 0E 00 FF 32 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 24 [06:50:13]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:50:13]wFMCommunicate OK [06:50:13]SAM_PROTO_GetShiftState done [06:50:13]FM_GetShiftState done [06:50:13]opened in 1730160317 [06:50:13]opened+sec_in_day 1730246717 [06:50:13]quantity*price = 700 [06:50:13]sum+1 = 701 [06:50:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 7.00 НСП 1% : 0.06 НДС 12% : 0.74 Наличными: 7.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 14 29.10.2024 06:50 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37852 ФПД: 262931797358700 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T065025&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37852&fm=262931797358700&tin=02508201610067®Number=0000000000091684&sum=700 0 [06:50:14]StoreToDocumentArchive [06:50:14]shift 552 fd 37852 [06:50:14]save to /storage/0552/doc_00037852 [06:50:14]save last doc name /storage/0552/doc_00037852 to /storage/kkm_last_doc_name [06:50:14]save OK [06:50:14]Clear old archive folders... [06:50:14]ProcessDocumentItem done err = 0, tmpTLVsize=287 [06:50:14]tlvbuf is 0031C2D0 [06:50:14]SAM_PROTO_ClearQueue [06:50:14]wFMCommunicate request_size=4 [06:50:14]MH_SAM_APDU [06:50:14]CAPDU: 80 09 00 00 [06:50:14]Write to MH i2c: E2 08 00 0C 33 80 09 00 00 00 00 00 00 B1 [06:50:14]Write i2c OK [06:50:14]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 0C 33 00 90 00 B3 [06:50:15]RAPDU: 90 00 [06:50:15]wFMCommunicate OK [06:50:15]SAM_PROTO_ClearQueue done [06:50:15]KKMCreateOFDPacket [06:50:15]OFDProtocolAddRootSTLVToBuf [06:50:15]FM_MakeSignedData [06:50:15]FM_MakeSignedData [06:50:15]SAM_PROTO_SignData [06:50:15]wFMCommunicate request_size=4 [06:50:15]MH_SAM_APDU [06:50:15]CAPDU: 80 0D 01 02 [06:50:15]Write to MH i2c: E2 08 00 0D 33 80 0D 01 02 00 00 00 00 B9 [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 0D 33 00 90 00 B4 [06:50:15]RAPDU: 90 00 [06:50:15]wFMCommunicate OK [06:50:15]wFMCommunicate request_size=255 [06:50:15]MH_SAM_APDU [06:50:15]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B1 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [06:50:15]Write to MH i2c: E2 02 01 0E 33 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B1 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 00 00 E9 [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 0E 33 00 90 00 B5 [06:50:15]RAPDU: 90 00 [06:50:15]wFMCommunicate OK [06:50:15]wFMCommunicate request_size=46 [06:50:15]MH_SAM_APDU [06:50:15]CAPDU: 80 0D 02 02 29 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DC 93 00 00 35 04 06 00 EF 22 94 61 B8 6C [06:50:15]Write to MH i2c: E2 31 00 0F 33 80 0D 02 02 29 00 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DC 93 00 00 35 04 06 00 EF 22 94 61 B8 6C 00 00 E2 [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 03 00 0F 33 00 90 00 B6 [06:50:15]RAPDU: 90 00 [06:50:15]wFMCommunicate OK [06:50:15]wFMCommunicate request_size=4 [06:50:15]MH_SAM_APDU [06:50:15]CAPDU: 80 0D 03 02 [06:50:15]Write to MH i2c: E2 08 00 10 33 80 0D 03 02 00 00 00 00 BE [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 0B 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 0B 00 10 33 00 21 AD 82 39 A1 21 B1 65 90 00 20 [06:50:15]RAPDU: 21 AD 82 39 A1 21 B1 65 90 00 [06:50:15]wFMCommunicate OK [06:50:15]SAM_PROTO_SignData done [06:50:15]FM_MakeSignedData done [06:50:15]CreateOFDProtocolMessage [06:50:15]wFMCommunicate request_size=4 [06:50:15]MH_SAM_APDU [06:50:15]CAPDU: 80 11 00 00 [06:50:15]Write to MH i2c: E2 08 00 11 33 80 11 00 00 00 00 00 00 BE [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:15]Read from MH i2c: E2 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 17 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: E2 17 00 11 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0E [06:50:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:50:15]wFMCommunicate OK [06:50:15]CreateOFDProtocolMessage done [06:50:15]OFDSenderStorePacket 37852 [06:50:15]StoreOFDPacket docnum=37852 [06:50:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 93 9F 2B 01 D6 7E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B1 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DC 93 00 00 35 04 06 00 EF 22 94 61 B8 6C 21 AD 82 39 A1 21 B1 65 [06:50:15]CheckFolder [06:50:15]dirname=/storage/ofd_packets [06:50:15]CheckFolder done [06:50:15]ProducePacketName [06:50:15]name=ofd_packets/00037852 [06:50:15]NVStorageSaveData ofd_packets/00037852 [06:50:15]File name is /storage/ofd_packets/00037852 [06:50:15]Write 337 bytes [06:50:15]NVStorageSaveData done [06:50:15]OFDSenderStorePacket done [06:50:15]KKMCreateOFDPacket done [06:50:15]NVStorageSaveData kkm_last_timestamp [06:50:15]File name is /storage/kkm_last_timestamp [06:50:15]Write 4 bytes [06:50:15]NVStorageSaveData done [06:50:15]ExternCall_PrintAddStr [06:50:15]wPrintStart [06:50:15]Write to MH i2c: 01 00 00 12 33 45 [06:50:15]Write i2c OK [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: 01 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: 01 07 00 [06:50:15]MH_I2C_Read... [06:50:15]Read from MH i2c: 01 07 00 12 33 00 00 00 00 00 FF 0F 5A [06:50:15]RasterBufferAndPrint [06:50:15]line Счет N : (3)35151 [06:50:15]line ИНН: 02508201610067 [06:50:15]line Контрольно-Кассовый Чек [06:50:15]line ПРОДАЖА [06:50:15]line Товар: 2000053020015 [06:50:15]line Бумажные стаканы 250мл 1шт [06:50:15]line 1.000 * 7.00 [06:50:15]line = 7.00 [06:50:15]line НДС 12% НСП 1% [06:50:15]line > о реализуемом товаре [06:50:15]line ИТОГО: 7.00 [06:50:15]line НСП 1% : 0.06 [06:50:15]line НДС 12% : 0.74 [06:50:15]line Наличными: 7.00 [06:50:15]line Безнал.: 0.00 [06:50:15]line Место: АЗС № 126 "Партнер Нефть" [06:50:15]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [06:50:15]line СНО: Общий режим [06:50:15]line Чек 14 29.10.2024 06:50 [06:50:15]line Смена: 552 ФФД: 1.0 [06:50:15]line ЗНМ: 0300000092 [06:50:15]line РНМ: 0000000000091684 [06:50:15]line Версия ККМ: 001 [06:50:15]line ФМ: 0000000000871841 [06:50:15]line ФД: 37852 [06:50:15]line ФПД: 262931797358700 [06:50:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T065025&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37852&fm=262931797358700&tin=02508201610067®Number=0000000000091684&sum=700 [06:50:15]line 0 [06:50:15]OFD Sender: Processing packet 37852 [packets to send 42, broken 41] [06:50:15]ProducePacketName [06:50:15]name=ofd_packets/00037852 [06:50:15]OFD Sender: To server: pG, [06:50:15]CommunicateWithHost lk.salyk.kg:30040 [06:50:15]ConnectInit lk.salyk.kg [06:50:15]written 0, free lines is 4095 [06:50:16]Connected sock=10 [06:50:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 93 9F 2B 01 D6 7E 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 02 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 06 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4A 00 00 00 00 00 07 04 06 00 BC 02 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 B1 85 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DC 93 00 00 35 04 06 00 EF 22 94 61 B8 6C 21 AD 82 39 A1 21 B1 65 [06:50:16]Write to MH i2c: 01 00 00 3B 33 6E [06:50:16]Write i2c OK [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: 01 [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: 01 07 00 [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: 01 07 00 3B 33 00 00 00 00 00 B3 0C 34 [06:50:16]RasterBufferAndPrint [06:50:16]line [06:50:16]line [06:50:16]line [06:50:16]line [06:50:16]line [06:50:16]written 0, free lines is 3256 [06:50:16]MH_Cut [06:50:16]Write to MH i2c: D1 01 00 42 33 01 47 [06:50:16]Write i2c OK [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: D1 [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: D1 01 00 [06:50:16]MH_I2C_Read... [06:50:16]Read from MH i2c: D1 01 00 42 33 00 46 [06:50:16]Write to MH i2c: 01 00 00 43 33 76 [06:50:16]Write i2c OK [06:50:16]MH_I2C_Read... [06:50:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D9 31 47 00 8E 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 38 37 31 38 34 31 10 04 04 00 DC 93 00 00 F4 03 04 00 A4 30 20 67 B6 04 01 00 00 0F 68 F9 50 45 4D 11 12 [06:50:16]CommunicateWithHost err = 0 [06:50:16]CheckOFDResponse [06:50:16]1017 (14) - 77093643461234 [06:50:16]1041 (16) - 0000000000871841 [06:50:16]1040 (4) - 37852 [06:50:16]1012 (4) - 29.10.2024 00:47 [06:50:16]1206 (1) - 0 [06:50:16]OFD Sender: Remove packet 37852 [06:50:16]ProducePacketName [06:50:16]name=ofd_packets/00037852 [06:50:16]NVStorageDeleteData [06:50:17]*** Cut start [06:50:17]*** Partial cut [06:50:17]*** CUTSNS_PIN = 1 [06:50:17]OFD Sender: No OFD packet to send [06:50:17]*** CUTSNS_PIN = 0 [06:50:17]*** Brake cut motor [06:50:17]Read from MH i2c: 01 [06:50:17]MH_I2C_Read... [06:50:17]*** Stop cut motor [06:50:17]*** Cut end [06:50:17]Read from MH i2c: 01 07 00 [06:50:17]MH_I2C_Read... [06:50:17]Read from MH i2c: 01 07 00 43 33 00 00 00 00 00 FF 0F 8B [06:50:17]process_action close_receipt done [06:50:17]requested_data is exist [06:50:17]produce_requested_data [06:50:17]requested_item fm.sn is exist - process it [06:50:17]wFMCommunicate request_size=4 [06:50:17]MH_SAM_APDU [06:50:17]CAPDU: 80 11 00 00 [06:50:17]Write to MH i2c: E2 08 00 44 33 80 11 00 00 00 00 00 00 F1 [06:50:17]Write i2c OK [06:50:17]MH_I2C_Read... [06:50:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:50:17]Read from MH i2c: E2 [06:50:17]MH_I2C_Read... [06:50:17]Read from MH i2c: E2 17 00 [06:50:17]MH_I2C_Read... [06:50:17]Read from MH i2c: E2 17 00 44 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 41 [06:50:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [06:50:17]wFMCommunicate OK [06:50:17]requested_item fd.num is exist - process it [06:50:17]SAM_PROTO_GetFieldsCounters [06:50:17]wFMCommunicate request_size=4 [06:50:17]MH_SAM_APDU [06:50:17]CAPDU: 80 13 00 00 [06:50:17]Write to MH i2c: E2 08 00 45 33 80 13 00 00 00 00 00 00 F4 [06:50:17]Write i2c OK [06:50:17]MH_I2C_Read... [06:50:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:50:17]Read from MH i2c: E2 [06:50:17]MH_I2C_Read... [06:50:17]Read from MH i2c: E2 62 00 [06:50:17]MH_I2C_Read... [06:50:17]Read from MH i2c: E2 62 00 45 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 D8 [06:50:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:50:17]wFMCommunicate OK [06:50:17]SAM_PROTO_GetFieldsCounters done [06:50:17]requested_item shift.num is exist - process it [06:50:17]requested_item shift.opened is exist - process it [06:50:17]req_shift_opened [06:50:17]FM_GetShiftState [06:50:17]SAM_PROTO_GetShiftState [06:50:17]wFMCommunicate request_size=4 [06:50:17]MH_SAM_APDU [06:50:17]CAPDU: 80 13 01 00 [06:50:17]Write to MH i2c: E2 08 00 46 33 80 13 01 00 00 00 00 00 F6 [06:50:17]Write i2c OK [06:50:17]MH_I2C_Read... [06:50:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:50:18]Read from MH i2c: E2 [06:50:18]MH_I2C_Read... [06:50:18]Read from MH i2c: E2 0E 00 [06:50:18]MH_I2C_Read... [06:50:18]Read from MH i2c: E2 0E 00 46 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6C [06:50:18]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [06:50:18]wFMCommunicate OK [06:50:18]SAM_PROTO_GetShiftState done [06:50:18]FM_GetShiftState done [06:50:18]req_shift_opened done [06:50:18]requested_item shift.open_date is exist - process it [06:50:18]req_shift_open_date [06:50:18]req_shift_open_date done [06:50:18]produce_requested_data done [06:50:18]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37852,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [06:50:18]process_action_free close_receipt [06:50:18]json_value_free [06:50:18]json_value_free done [06:50:18]process_json_proto returns [06:50:18]Send response to host [06:50:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37852,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [06:50:18]free response buf [06:50:18]execute_script done [06:50:18]execute_script returns [06:50:18]free content buf [06:50:18]Sock 9.Close socket [06:50:18]Sock 9.Thread stoped [06:50:22]OFD Sender: No OFD packet to send [06:50:27]OFD Sender: No OFD packet to send [06:50:32]OFD Sender: No OFD packet to send [06:50:37]OFD Sender: No OFD packet to send [06:50:42]OFD Sender: No OFD packet to send [06:50:47]OFD Sender: No OFD packet to send [06:50:52]OFD Sender: No OFD packet to send [06:50:57]OFD Sender: No OFD packet to send [06:51:02]OFD Sender: No OFD packet to send [06:51:07]OFD Sender: No OFD packet to send [06:51:12]OFD Sender: No OFD packet to send [06:51:17]OFD Sender: No OFD packet to send [06:51:22]OFD Sender: No OFD packet to send [06:51:27]OFD Sender: No OFD packet to send [06:51:32]OFD Sender: No OFD packet to send [06:51:37]OFD Sender: No OFD packet to send [06:51:42]OFD Sender: No OFD packet to send [06:51:47]OFD Sender: No OFD packet to send [06:51:52]OFD Sender: No OFD packet to send [06:51:57]OFD Sender: No OFD packet to send [06:52:02]OFD Sender: No OFD packet to send [06:52:07]OFD Sender: No OFD packet to send [06:52:12]OFD Sender: No OFD packet to send [06:52:17]OFD Sender: No OFD packet to send [06:52:22]OFD Sender: No OFD packet to send [06:52:27]OFD Sender: No OFD packet to send [06:52:32]OFD Sender: No OFD packet to send [06:52:37]OFD Sender: No OFD packet to send [06:52:42]OFD Sender: No OFD packet to send [06:52:47]OFD Sender: No OFD packet to send [06:52:52]OFD Sender: No OFD packet to send [06:52:57]OFD Sender: No OFD packet to send [06:53:02]OFD Sender: No OFD packet to send [06:53:07]OFD Sender: No OFD packet to send [06:53:12]OFD Sender: No OFD packet to send [06:53:17]OFD Sender: No OFD packet to send [06:53:22]OFD Sender: No OFD packet to send [06:53:27]OFD Sender: No OFD packet to send [06:53:32]OFD Sender: No OFD packet to send [06:53:37]OFD Sender: No OFD packet to send [06:53:42]OFD Sender: No OFD packet to send [06:53:47]OFD Sender: No OFD packet to send [06:53:52]OFD Sender: No OFD packet to send [06:53:57]OFD Sender: No OFD packet to send [06:54:02]OFD Sender: No OFD packet to send [06:54:07]OFD Sender: No OFD packet to send [06:54:12]OFD Sender: No OFD packet to send [06:54:17]OFD Sender: No OFD packet to send [06:54:22]OFD Sender: No OFD packet to send [06:54:27]OFD Sender: No OFD packet to send [06:54:32]OFD Sender: No OFD packet to send [06:54:37]OFD Sender: No OFD packet to send [06:54:42]OFD Sender: No OFD packet to send [06:54:47]OFD Sender: No OFD packet to send [06:54:52]OFD Sender: No OFD packet to send [06:54:57]OFD Sender: No OFD packet to send [06:55:02]OFD Sender: No OFD packet to send [06:55:07]OFD Sender: No OFD packet to send [06:55:12]OFD Sender: No OFD packet to send [06:55:17]OFD Sender: No OFD packet to send [06:55:22]OFD Sender: No OFD packet to send [06:55:27]OFD Sender: No OFD packet to send [06:55:32]OFD Sender: No OFD packet to send [06:55:37]OFD Sender: No OFD packet to send [06:55:42]OFD Sender: No OFD packet to send [06:55:47]OFD Sender: No OFD packet to send [06:55:52]OFD Sender: No OFD packet to send [06:55:57]OFD Sender: No OFD packet to send [06:56:02]OFD Sender: No OFD packet to send [06:56:07]OFD Sender: No OFD packet to send [06:56:12]OFD Sender: No OFD packet to send [06:56:17]OFD Sender: No OFD packet to send [06:56:22]OFD Sender: No OFD packet to send [06:56:27]OFD Sender: No OFD packet to send [06:56:32]OFD Sender: No OFD packet to send [06:56:37]OFD Sender: No OFD packet to send [06:56:42]OFD Sender: No OFD packet to send [06:56:47]OFD Sender: No OFD packet to send [06:56:52]OFD Sender: No OFD packet to send [06:56:57]OFD Sender: No OFD packet to send [06:57:02]OFD Sender: No OFD packet to send [06:57:07]OFD Sender: No OFD packet to send [06:57:12]OFD Sender: No OFD packet to send [06:57:17]OFD Sender: No OFD packet to send [06:57:22]OFD Sender: No OFD packet to send [06:57:27]OFD Sender: No OFD packet to send [06:57:32]OFD Sender: No OFD packet to send [06:57:37]OFD Sender: No OFD packet to send [06:57:42]OFD Sender: No OFD packet to send [06:57:47]OFD Sender: No OFD packet to send [06:57:52]OFD Sender: No OFD packet to send [06:57:57]OFD Sender: No OFD packet to send [06:58:02]OFD Sender: No OFD packet to send [06:58:07]OFD Sender: No OFD packet to send [06:58:12]OFD Sender: No OFD packet to send [06:58:17]OFD Sender: No OFD packet to send [06:58:22]OFD Sender: No OFD packet to send [06:58:27]OFD Sender: No OFD packet to send [06:58:32]OFD Sender: No OFD packet to send [06:58:37]OFD Sender: No OFD packet to send [06:58:42]OFD Sender: No OFD packet to send [06:58:47]OFD Sender: No OFD packet to send [06:58:52]OFD Sender: No OFD packet to send [06:58:57]OFD Sender: No OFD packet to send [06:59:02]OFD Sender: No OFD packet to send [06:59:07]OFD Sender: No OFD packet to send [06:59:12]OFD Sender: No OFD packet to send [06:59:17]OFD Sender: No OFD packet to send [06:59:22]OFD Sender: No OFD packet to send [06:59:27]OFD Sender: No OFD packet to send [06:59:32]OFD Sender: No OFD packet to send [06:59:37]OFD Sender: No OFD packet to send [06:59:42]OFD Sender: No OFD packet to send [06:59:47]OFD Sender: No OFD packet to send [06:59:52]OFD Sender: No OFD packet to send [06:59:57]OFD Sender: No OFD packet to send [07:00:02]OFD Sender: No OFD packet to send [07:00:07]OFD Sender: No OFD packet to send [07:00:12]OFD Sender: No OFD packet to send [07:00:17]OFD Sender: No OFD packet to send [07:00:22]OFD Sender: No OFD packet to send [07:00:27]OFD Sender: No OFD packet to send [07:00:32]OFD Sender: No OFD packet to send [07:00:37]OFD Sender: No OFD packet to send [07:00:42]OFD Sender: No OFD packet to send [07:00:47]OFD Sender: No OFD packet to send [07:00:52]OFD Sender: No OFD packet to send [07:00:57]OFD Sender: No OFD packet to send [07:01:02]OFD Sender: No OFD packet to send [07:01:07]OFD Sender: No OFD packet to send [07:01:12]OFD Sender: No OFD packet to send [07:01:17]OFD Sender: No OFD packet to send [07:01:22]OFD Sender: No OFD packet to send [07:01:27]OFD Sender: No OFD packet to send [07:01:32]OFD Sender: No OFD packet to send [07:01:37]OFD Sender: No OFD packet to send [07:01:42]OFD Sender: No OFD packet to send [07:01:47]OFD Sender: No OFD packet to send [07:01:52]OFD Sender: No OFD packet to send [07:01:57]OFD Sender: No OFD packet to send [07:02:02]OFD Sender: No OFD packet to send [07:02:07]OFD Sender: No OFD packet to send [07:02:12]OFD Sender: No OFD packet to send [07:02:17]OFD Sender: No OFD packet to send [07:02:22]OFD Sender: No OFD packet to send [07:02:27]OFD Sender: No OFD packet to send [07:02:32]OFD Sender: No OFD packet to send [07:02:37]OFD Sender: No OFD packet to send [07:02:42]OFD Sender: No OFD packet to send [07:02:47]OFD Sender: No OFD packet to send [07:02:52]OFD Sender: No OFD packet to send [07:02:57]OFD Sender: No OFD packet to send [07:03:02]OFD Sender: No OFD packet to send [07:03:07]OFD Sender: No OFD packet to send [07:03:12]OFD Sender: No OFD packet to send [07:03:17]OFD Sender: No OFD packet to send [07:03:22]OFD Sender: No OFD packet to send [07:03:27]OFD Sender: No OFD packet to send [07:03:32]OFD Sender: No OFD packet to send [07:03:37]OFD Sender: No OFD packet to send [07:03:42]OFD Sender: No OFD packet to send [07:03:47]OFD Sender: No OFD packet to send [07:03:52]OFD Sender: No OFD packet to send [07:03:57]OFD Sender: No OFD packet to send [07:04:02]OFD Sender: No OFD packet to send [07:04:07]OFD Sender: No OFD packet to send [07:04:12]OFD Sender: No OFD packet to send [07:04:17]OFD Sender: No OFD packet to send [07:04:22]OFD Sender: No OFD packet to send [07:04:27]OFD Sender: No OFD packet to send [07:04:32]OFD Sender: No OFD packet to send [07:04:37]OFD Sender: No OFD packet to send [07:04:42]OFD Sender: No OFD packet to send [07:04:47]OFD Sender: No OFD packet to send [07:04:52]OFD Sender: No OFD packet to send [07:04:57]OFD Sender: No OFD packet to send [07:05:02]OFD Sender: No OFD packet to send [07:05:07]OFD Sender: No OFD packet to send [07:05:12]OFD Sender: No OFD packet to send [07:05:17]OFD Sender: No OFD packet to send [07:05:22]OFD Sender: No OFD packet to send [07:05:27]OFD Sender: No OFD packet to send [07:05:32]OFD Sender: No OFD packet to send [07:05:37]OFD Sender: No OFD packet to send [07:05:42]OFD Sender: No OFD packet to send [07:05:47]OFD Sender: No OFD packet to send [07:05:52]OFD Sender: No OFD packet to send [07:05:57]OFD Sender: No OFD packet to send [07:06:03]OFD Sender: No OFD packet to send [07:06:08]OFD Sender: No OFD packet to send [07:06:13]OFD Sender: No OFD packet to send [07:06:18]OFD Sender: No OFD packet to send [07:06:23]OFD Sender: No OFD packet to send [07:06:28]OFD Sender: No OFD packet to send [07:06:33]OFD Sender: No OFD packet to send [07:06:38]OFD Sender: No OFD packet to send [07:06:43]OFD Sender: No OFD packet to send [07:06:48]OFD Sender: No OFD packet to send [07:06:53]OFD Sender: No OFD packet to send [07:06:58]OFD Sender: No OFD packet to send [07:07:03]OFD Sender: No OFD packet to send [07:07:08]OFD Sender: No OFD packet to send [07:07:13]OFD Sender: No OFD packet to send [07:07:18]OFD Sender: No OFD packet to send [07:07:23]OFD Sender: No OFD packet to send [07:07:28]OFD Sender: No OFD packet to send [07:07:33]OFD Sender: No OFD packet to send [07:07:38]OFD Sender: No OFD packet to send [07:07:43]OFD Sender: No OFD packet to send [07:07:48]OFD Sender: No OFD packet to send [07:07:53]OFD Sender: No OFD packet to send [07:07:58]OFD Sender: No OFD packet to send [07:08:03]OFD Sender: No OFD packet to send [07:08:08]OFD Sender: No OFD packet to send [07:08:13]OFD Sender: No OFD packet to send [07:08:18]OFD Sender: No OFD packet to send [07:08:23]OFD Sender: No OFD packet to send [07:08:28]OFD Sender: No OFD packet to send [07:08:33]OFD Sender: No OFD packet to send [07:08:38]OFD Sender: No OFD packet to send [07:08:43]OFD Sender: No OFD packet to send [07:08:48]OFD Sender: No OFD packet to send [07:08:53]OFD Sender: No OFD packet to send [07:08:58]OFD Sender: No OFD packet to send [07:09:03]OFD Sender: No OFD packet to send [07:09:08]OFD Sender: No OFD packet to send [07:09:13]OFD Sender: No OFD packet to send [07:09:18]OFD Sender: No OFD packet to send [07:09:23]OFD Sender: No OFD packet to send [07:09:28]OFD Sender: No OFD packet to send [07:09:33]OFD Sender: No OFD packet to send [07:09:38]OFD Sender: No OFD packet to send [07:09:43]OFD Sender: No OFD packet to send [07:09:48]OFD Sender: No OFD packet to send [07:09:53]OFD Sender: No OFD packet to send [07:09:58]OFD Sender: No OFD packet to send [07:10:03]OFD Sender: No OFD packet to send [07:10:08]OFD Sender: No OFD packet to send [07:10:13]OFD Sender: No OFD packet to send [07:10:18]OFD Sender: No OFD packet to send [07:10:23]OFD Sender: No OFD packet to send [07:10:28]OFD Sender: No OFD packet to send [07:10:33]OFD Sender: No OFD packet to send [07:10:38]OFD Sender: No OFD packet to send [07:10:43]OFD Sender: No OFD packet to send [07:10:48]OFD Sender: No OFD packet to send [07:10:53]OFD Sender: No OFD packet to send [07:10:58]OFD Sender: No OFD packet to send [07:11:03]OFD Sender: No OFD packet to send [07:11:08]OFD Sender: No OFD packet to send [07:11:13]OFD Sender: No OFD packet to send [07:11:18]OFD Sender: No OFD packet to send [07:11:23]OFD Sender: No OFD packet to send [07:11:28]OFD Sender: No OFD packet to send [07:11:33]OFD Sender: No OFD packet to send [07:11:38]OFD Sender: No OFD packet to send [07:11:43]OFD Sender: No OFD packet to send [07:11:48]OFD Sender: No OFD packet to send [07:11:53]OFD Sender: No OFD packet to send [07:11:58]OFD Sender: No OFD packet to send [07:12:03]OFD Sender: No OFD packet to send [07:12:08]OFD Sender: No OFD packet to send [07:12:13]OFD Sender: No OFD packet to send [07:12:18]OFD Sender: No OFD packet to send [07:12:23]OFD Sender: No OFD packet to send [07:12:28]OFD Sender: No OFD packet to send [07:12:33]OFD Sender: No OFD packet to send [07:12:38]OFD Sender: No OFD packet to send [07:12:43]OFD Sender: No OFD packet to send [07:12:48]OFD Sender: No OFD packet to send [07:12:53]OFD Sender: No OFD packet to send [07:12:58]OFD Sender: No OFD packet to send [07:13:03]OFD Sender: No OFD packet to send [07:13:08]OFD Sender: No OFD packet to send [07:13:13]OFD Sender: No OFD packet to send [07:13:18]OFD Sender: No OFD packet to send [07:13:23]OFD Sender: No OFD packet to send [07:13:28]OFD Sender: No OFD packet to send [07:13:33]OFD Sender: No OFD packet to send [07:13:38]OFD Sender: No OFD packet to send [07:13:43]OFD Sender: No OFD packet to send [07:13:48]OFD Sender: No OFD packet to send [07:13:53]OFD Sender: No OFD packet to send [07:13:58]OFD Sender: No OFD packet to send [07:14:03]OFD Sender: No OFD packet to send [07:14:08]OFD Sender: No OFD packet to send [07:14:13]OFD Sender: No OFD packet to send [07:14:18]OFD Sender: No OFD packet to send [07:14:23]OFD Sender: No OFD packet to send [07:14:28]OFD Sender: No OFD packet to send [07:14:33]OFD Sender: No OFD packet to send [07:14:38]OFD Sender: No OFD packet to send [07:14:43]OFD Sender: No OFD packet to send [07:14:48]OFD Sender: No OFD packet to send [07:14:53]OFD Sender: No OFD packet to send [07:14:58]OFD Sender: No OFD packet to send [07:15:03]OFD Sender: No OFD packet to send [07:15:08]OFD Sender: No OFD packet to send [07:15:13]OFD Sender: No OFD packet to send [07:15:18]OFD Sender: No OFD packet to send [07:15:23]OFD Sender: No OFD packet to send [07:15:28]OFD Sender: No OFD packet to send [07:15:33]OFD Sender: No OFD packet to send [07:15:38]OFD Sender: No OFD packet to send [07:15:43]OFD Sender: No OFD packet to send [07:15:48]OFD Sender: No OFD packet to send [07:15:53]OFD Sender: No OFD packet to send [07:15:58]OFD Sender: No OFD packet to send [07:16:03]OFD Sender: No OFD packet to send [07:16:08]OFD Sender: No OFD packet to send [07:16:13]OFD Sender: No OFD packet to send [07:16:18]OFD Sender: No OFD packet to send [07:16:23]OFD Sender: No OFD packet to send [07:16:28]OFD Sender: No OFD packet to send [07:16:33]OFD Sender: No OFD packet to send [07:16:38]OFD Sender: No OFD packet to send [07:16:43]OFD Sender: No OFD packet to send [07:16:48]OFD Sender: No OFD packet to send [07:16:53]OFD Sender: No OFD packet to send [07:16:58]OFD Sender: No OFD packet to send [07:17:03]OFD Sender: No OFD packet to send [07:17:08]OFD Sender: No OFD packet to send [07:17:13]OFD Sender: No OFD packet to send [07:17:18]OFD Sender: No OFD packet to send [07:17:23]OFD Sender: No OFD packet to send [07:17:28]OFD Sender: No OFD packet to send [07:17:33]OFD Sender: No OFD packet to send [07:17:38]OFD Sender: No OFD packet to send [07:17:43]OFD Sender: No OFD packet to send [07:17:48]OFD Sender: No OFD packet to send [07:17:53]OFD Sender: No OFD packet to send [07:17:58]OFD Sender: No OFD packet to send [07:18:03]OFD Sender: No OFD packet to send [07:18:08]OFD Sender: No OFD packet to send [07:18:13]OFD Sender: No OFD packet to send [07:18:18]OFD Sender: No OFD packet to send [07:18:23]OFD Sender: No OFD packet to send [07:18:28]OFD Sender: No OFD packet to send [07:18:33]OFD Sender: No OFD packet to send [07:18:38]OFD Sender: No OFD packet to send [07:18:43]OFD Sender: No OFD packet to send [07:18:48]OFD Sender: No OFD packet to send [07:18:53]OFD Sender: No OFD packet to send [07:18:58]OFD Sender: No OFD packet to send [07:19:03]OFD Sender: No OFD packet to send [07:19:08]OFD Sender: No OFD packet to send [07:19:13]OFD Sender: No OFD packet to send [07:19:18]OFD Sender: No OFD packet to send [07:19:23]OFD Sender: No OFD packet to send [07:19:28]OFD Sender: No OFD packet to send [07:19:33]OFD Sender: No OFD packet to send [07:19:38]OFD Sender: No OFD packet to send [07:19:43]OFD Sender: No OFD packet to send [07:19:48]OFD Sender: No OFD packet to send [07:19:53]OFD Sender: No OFD packet to send [07:19:58]OFD Sender: No OFD packet to send [07:20:03]OFD Sender: No OFD packet to send [07:20:08]OFD Sender: No OFD packet to send [07:20:13]OFD Sender: No OFD packet to send [07:20:18]OFD Sender: No OFD packet to send [07:20:23]OFD Sender: No OFD packet to send [07:20:28]OFD Sender: No OFD packet to send [07:20:33]OFD Sender: No OFD packet to send [07:20:38]OFD Sender: No OFD packet to send [07:20:43]OFD Sender: No OFD packet to send [07:20:48]OFD Sender: No OFD packet to send [07:20:53]OFD Sender: No OFD packet to send [07:20:58]OFD Sender: No OFD packet to send [07:21:03]OFD Sender: No OFD packet to send [07:21:08]OFD Sender: No OFD packet to send [07:21:13]OFD Sender: No OFD packet to send [07:21:18]OFD Sender: No OFD packet to send [07:21:23]OFD Sender: No OFD packet to send [07:21:28]OFD Sender: No OFD packet to send [07:21:33]OFD Sender: No OFD packet to send [07:21:38]OFD Sender: No OFD packet to send [07:21:43]OFD Sender: No OFD packet to send [07:21:48]OFD Sender: No OFD packet to send [07:21:53]OFD Sender: No OFD packet to send [07:21:58]OFD Sender: No OFD packet to send [07:22:03]OFD Sender: No OFD packet to send [07:22:08]OFD Sender: No OFD packet to send [07:22:13]OFD Sender: No OFD packet to send [07:22:18]OFD Sender: No OFD packet to send [07:22:23]OFD Sender: No OFD packet to send [07:22:28]OFD Sender: No OFD packet to send [07:22:33]OFD Sender: No OFD packet to send [07:22:38]OFD Sender: No OFD packet to send [07:22:43]OFD Sender: No OFD packet to send [07:22:48]OFD Sender: No OFD packet to send [07:22:53]OFD Sender: No OFD packet to send [07:22:58]OFD Sender: No OFD packet to send [07:23:03]OFD Sender: No OFD packet to send [07:23:08]OFD Sender: No OFD packet to send [07:23:13]OFD Sender: No OFD packet to send [07:23:18]OFD Sender: No OFD packet to send [07:23:23]OFD Sender: No OFD packet to send [07:23:28]OFD Sender: No OFD packet to send [07:23:33]OFD Sender: No OFD packet to send [07:23:38]OFD Sender: No OFD packet to send [07:23:43]OFD Sender: No OFD packet to send [07:23:48]OFD Sender: No OFD packet to send [07:23:53]OFD Sender: No OFD packet to send [07:23:58]OFD Sender: No OFD packet to send [07:24:03]OFD Sender: No OFD packet to send [07:24:08]OFD Sender: No OFD packet to send [07:24:13]OFD Sender: No OFD packet to send [07:24:18]OFD Sender: No OFD packet to send [07:24:23]OFD Sender: No OFD packet to send [07:24:28]OFD Sender: No OFD packet to send [07:24:33]OFD Sender: No OFD packet to send [07:24:38]OFD Sender: No OFD packet to send [07:24:44]OFD Sender: No OFD packet to send [07:24:49]OFD Sender: No OFD packet to send [07:24:54]OFD Sender: No OFD packet to send [07:24:59]OFD Sender: No OFD packet to send [07:25:04]OFD Sender: No OFD packet to send [07:25:09]OFD Sender: No OFD packet to send [07:25:14]OFD Sender: No OFD packet to send [07:25:19]OFD Sender: No OFD packet to send [07:25:24]OFD Sender: No OFD packet to send [07:25:29]OFD Sender: No OFD packet to send [07:25:34]OFD Sender: No OFD packet to send [07:25:39]OFD Sender: No OFD packet to send [07:25:44]OFD Sender: No OFD packet to send [07:25:49]OFD Sender: No OFD packet to send [07:25:54]OFD Sender: No OFD packet to send [07:25:59]OFD Sender: No OFD packet to send [07:26:04]OFD Sender: No OFD packet to send [07:26:09]OFD Sender: No OFD packet to send [07:26:14]OFD Sender: No OFD packet to send [07:26:19]OFD Sender: No OFD packet to send [07:26:24]OFD Sender: No OFD packet to send [07:26:29]OFD Sender: No OFD packet to send [07:26:34]OFD Sender: No OFD packet to send [07:26:39]OFD Sender: No OFD packet to send [07:26:44]OFD Sender: No OFD packet to send [07:26:49]OFD Sender: No OFD packet to send [07:26:54]OFD Sender: No OFD packet to send [07:26:59]OFD Sender: No OFD packet to send [07:27:04]OFD Sender: No OFD packet to send [07:27:09]OFD Sender: No OFD packet to send [07:27:14]OFD Sender: No OFD packet to send [07:27:19]OFD Sender: No OFD packet to send [07:27:24]OFD Sender: No OFD packet to send [07:27:29]OFD Sender: No OFD packet to send [07:27:34]OFD Sender: No OFD packet to send [07:27:39]OFD Sender: No OFD packet to send [07:27:44]OFD Sender: No OFD packet to send [07:27:49]OFD Sender: No OFD packet to send [07:27:54]OFD Sender: No OFD packet to send [07:27:59]OFD Sender: No OFD packet to send [07:28:04]OFD Sender: No OFD packet to send [07:28:06]accept exits with 7 [07:28:06]New connection [07:28:06]New thread 3067440484 created [07:28:06]Thread 3067297124 joined [07:28:06]Waiting for new connection... [07:28:06] Sock 7.Parse request [07:28:06]Sock 7.Check first char [07:28:06]Sock 7.First char is OK [07:28:06]request: POST /json_proto HTTP/1.0 [07:28:06]Method: POST [07:28:06]URL: /json_proto [07:28:06]Method is POST - this is cgi request [07:28:06]url: /json_proto [07:28:06]query_string will be loaded in cgi processing [07:28:06]execute_cgi json_proto POST (null) [07:28:06]execute_cgi path=json_proto method=POST [07:28:06]POST find Content-Length [07:28:06]Host: 172.17.40.196:8080 [07:28:06]Content-Length: 625 [07:28:06]Content-Type: application/json [07:28:06] [07:28:06]POST finish read [07:28:06]Found Content-Length = 625 [07:28:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35152", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:06]execute_script... [07:28: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)35152", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 1.000, "sum" : 115.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 115.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:06]POST & json_proto [07:28:06]process_json_proto [07:28:06]json parsed OK: [07:28:06]protocol is kg_v1.0 [07:28:06]action value=close_receipt [07:28:06]process_action close_receipt [07:28:06]cmd_close_receipt [07:28:06]MH_GetDate [07:28:06]Write to MH i2c: F0 00 00 47 33 69 [07:28:06]Write i2c OK [07:28:06]MH_I2C_Read... [07:28:06]Read from MH i2c: F0 [07:28:06]MH_I2C_Read... [07:28:06]Read from MH i2c: F0 09 00 [07:28:06]MH_I2C_Read... [07:28:06]Read from MH i2c: F0 09 00 47 33 00 92 8E 20 67 5B 68 A1 66 E3 [07:28:06]GetLastDocTimeStamp 1730184625 [07:28:06]current date 1730186898 [07:28:06]FM_GetShiftState [07:28:06]SAM_PROTO_GetShiftState [07:28:06]wFMCommunicate request_size=4 [07:28:06]MH_SAM_APDU [07:28:06]CAPDU: 80 13 01 00 [07:28:06]Write to MH i2c: E2 08 00 48 33 80 13 01 00 00 00 00 00 F8 [07:28:06]Write i2c OK [07:28:06]MH_I2C_Read... [07:28:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:06]Read from MH i2c: E2 [07:28:06]MH_I2C_Read... [07:28:06]Read from MH i2c: E2 0E 00 [07:28:06]MH_I2C_Read... [07:28:06]Read from MH i2c: E2 0E 00 48 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6E [07:28:06]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [07:28:06]wFMCommunicate OK [07:28:06]SAM_PROTO_GetShiftState done [07:28:06]FM_GetShiftState done [07:28:06]opened in 1730160317 [07:28:06]opened+sec_in_day 1730246717 [07:28:06]quantity*price = 11500 [07:28:06]sum+1 = 11501 [07:28:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 115.00 НСП 1% : 1.02 НДС 12% : 12.21 Наличными: 115.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 15 29.10.2024 07:28 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37853 ФПД: 262383550689721 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T072818&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37853&fm=262383550689721&tin=02508201610067®Number=0000000000091684&sum=11500 0 [07:28:07]StoreToDocumentArchive [07:28:07]shift 552 fd 37853 [07:28:07]save to /storage/0552/doc_00037853 [07:28:07]save last doc name /storage/0552/doc_00037853 to /storage/kkm_last_doc_name [07:28:07]save OK [07:28:07]Clear old archive folders... [07:28:07]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:28:07]tlvbuf is 002FB090 [07:28:07]SAM_PROTO_ClearQueue [07:28:07]wFMCommunicate request_size=4 [07:28:07]MH_SAM_APDU [07:28:07]CAPDU: 80 09 00 00 [07:28:07]Write to MH i2c: E2 08 00 55 33 80 09 00 00 00 00 00 00 FA [07:28:07]Write i2c OK [07:28:07]MH_I2C_Read... [07:28:07]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 55 33 00 90 00 FC [07:28:08]RAPDU: 90 00 [07:28:08]wFMCommunicate OK [07:28:08]SAM_PROTO_ClearQueue done [07:28:08]KKMCreateOFDPacket [07:28:08]OFDProtocolAddRootSTLVToBuf [07:28:08]FM_MakeSignedData [07:28:08]FM_MakeSignedData [07:28:08]SAM_PROTO_SignData [07:28:08]wFMCommunicate request_size=4 [07:28:08]MH_SAM_APDU [07:28:08]CAPDU: 80 0D 01 02 [07:28:08]Write to MH i2c: E2 08 00 56 33 80 0D 01 02 00 00 00 00 02 [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 56 33 00 90 00 FD [07:28:08]RAPDU: 90 00 [07:28:08]wFMCommunicate OK [07:28:08]wFMCommunicate request_size=255 [07:28:08]MH_SAM_APDU [07:28:08]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 92 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [07:28:08]Write to MH i2c: E2 02 01 57 33 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 92 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 81 [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 57 33 00 90 00 FE [07:28:08]RAPDU: 90 00 [07:28:08]wFMCommunicate OK [07:28:08]wFMCommunicate request_size=33 [07:28:08]MH_SAM_APDU [07:28:08]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DD 93 00 00 35 04 06 00 EE A2 EE 55 71 B9 [07:28:08]Write to MH i2c: E2 24 00 58 33 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DD 93 00 00 35 04 06 00 EE A2 EE 55 71 B9 00 00 FE [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 03 00 58 33 00 90 00 FF [07:28:08]RAPDU: 90 00 [07:28:08]wFMCommunicate OK [07:28:08]wFMCommunicate request_size=4 [07:28:08]MH_SAM_APDU [07:28:08]CAPDU: 80 0D 03 02 [07:28:08]Write to MH i2c: E2 08 00 59 33 80 0D 03 02 00 00 00 00 07 [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 0B 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 0B 00 59 33 00 6F 80 71 C3 0A 64 F1 BC 90 00 46 [07:28:08]RAPDU: 6F 80 71 C3 0A 64 F1 BC 90 00 [07:28:08]wFMCommunicate OK [07:28:08]SAM_PROTO_SignData done [07:28:08]FM_MakeSignedData done [07:28:08]CreateOFDProtocolMessage [07:28:08]wFMCommunicate request_size=4 [07:28:08]MH_SAM_APDU [07:28:08]CAPDU: 80 11 00 00 [07:28:08]Write to MH i2c: E2 08 00 5A 33 80 11 00 00 00 00 00 00 07 [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:08]Read from MH i2c: E2 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 17 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: E2 17 00 5A 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [07:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:28:08]wFMCommunicate OK [07:28:08]CreateOFDProtocolMessage done [07:28:08]OFDSenderStorePacket 37853 [07:28:08]StoreOFDPacket docnum=37853 [07:28:08]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 0F 91 1E 01 C9 93 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 92 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DD 93 00 00 35 04 06 00 EE A2 EE 55 71 B9 6F 80 71 C3 0A 64 F1 BC [07:28:08]CheckFolder [07:28:08]dirname=/storage/ofd_packets [07:28:08]CheckFolder done [07:28:08]ProducePacketName [07:28:08]name=ofd_packets/00037853 [07:28:08]NVStorageSaveData ofd_packets/00037853 [07:28:08]File name is /storage/ofd_packets/00037853 [07:28:08]Write 324 bytes [07:28:08]NVStorageSaveData done [07:28:08]OFDSenderStorePacket done [07:28:08]KKMCreateOFDPacket done [07:28:08]NVStorageSaveData kkm_last_timestamp [07:28:08]File name is /storage/kkm_last_timestamp [07:28:08]Write 4 bytes [07:28:08]NVStorageSaveData done [07:28:08]ExternCall_PrintAddStr [07:28:08]wPrintStart [07:28:08]Write to MH i2c: 01 00 00 5B 33 8E [07:28:08]Write i2c OK [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: 01 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: 01 07 00 [07:28:08]MH_I2C_Read... [07:28:08]Read from MH i2c: 01 07 00 5B 33 00 00 00 00 00 FF 0F A3 [07:28:08]RasterBufferAndPrint [07:28:08]line Счет N : (3)35152 [07:28:08]line ИНН: 02508201610067 [07:28:08]line Контрольно-Кассовый Чек [07:28:08]line ПРОДАЖА [07:28:08]line Товар: 2000036240010 [07:28:08]line Кофе Латте (GABB TRADE) [07:28:08]line 1.000 * 115.00 [07:28:08]line = 115.00 [07:28:08]line НДС 12% НСП 1% [07:28:08]line > о реализуемом товаре [07:28:08]line ИТОГО: 115.00 [07:28:08]line НСП 1% : 1.02 [07:28:08]line НДС 12% : 12.21 [07:28:08]line Наличными: 115.00 [07:28:08]line Безнал.: 0.00 [07:28:08]line Место: АЗС № 126 "Партнер Нефть" [07:28:08]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:28:08]line СНО: Общий режим [07:28:08]line Чек 15 29.10.2024 07:28 [07:28:08]line Смена: 552 ФФД: 1.0 [07:28:08]line ЗНМ: 0300000092 [07:28:08]line РНМ: 0000000000091684 [07:28:08]line Версия ККМ: 001 [07:28:08]line ФМ: 0000000000871841 [07:28:08]line ФД: 37853 [07:28:08]line ФПД: 262383550689721 [07:28:08]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T072818&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37853&fm=262383550689721&tin=02508201610067®Number=0000000000091684&sum=11500 [07:28:08]line 0 [07:28:08]written 0, free lines is 4095 [07:28:08]OFD Sender: Processing packet 37853 [packets to send 42, broken 41] [07:28:08]ProducePacketName [07:28:08]name=ofd_packets/00037853 [07:28:08]OFD Sender: To server: pG, [07:28:08]CommunicateWithHost lk.salyk.kg:30040 [07:28:08]ConnectInit lk.salyk.kg [07:28:09]Connected sock=10 [07:28:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 0F 91 1E 01 C9 93 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 EC 2C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC 2C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 04 00 00 00 00 07 04 06 00 EC 2C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 92 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DD 93 00 00 35 04 06 00 EE A2 EE 55 71 B9 6F 80 71 C3 0A 64 F1 BC [07:28:09]Write to MH i2c: 01 00 00 83 33 B6 [07:28:09]Write i2c OK [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: 01 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: 01 07 00 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: 01 07 00 83 33 00 00 00 00 00 E9 0C B2 [07:28:09]RasterBufferAndPrint [07:28:09]line [07:28:09]line [07:28:09]line [07:28:09]line [07:28:09]line [07:28:09]written 0, free lines is 3314 [07:28:09]MH_Cut [07:28:09]Write to MH i2c: D1 01 00 8A 33 01 8F [07:28:09]Write i2c OK [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: D1 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: D1 01 00 [07:28:09]MH_I2C_Read... [07:28:09]Read from MH i2c: D1 01 00 8A 33 00 8E [07:28:09]Write to MH i2c: 01 00 00 8B 33 BE [07:28:09]Write i2c OK [07:28:09]MH_I2C_Read... [07:28:09]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6A C0 47 00 94 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DD 93 00 00 F4 03 04 00 85 39 20 67 B6 04 01 00 00 7D 41 71 F4 A6 C1 B1 96 [07:28:09]CommunicateWithHost err = 0 [07:28:09]CheckOFDResponse [07:28:09]1017 (14) - 77093643461234 [07:28:09]1041 (16) - 0000000000871841 [07:28:09]1040 (4) - 37853 [07:28:09]1012 (4) - 29.10.2024 01:25 [07:28:09]1206 (1) - 0 [07:28:09]OFD Sender: Remove packet 37853 [07:28:09]ProducePacketName [07:28:09]name=ofd_packets/00037853 [07:28:09]NVStorageDeleteData [07:28:10]OFD Sender: No OFD packet to send [07:28:10]*** Cut start [07:28:10]*** Partial cut [07:28:10]*** CUTSNS_PIN = 1 [07:28:10]*** CUTSNS_PIN = 0 [07:28:10]*** Brake cut motor [07:28:10]Read from MH i2c: 01 [07:28:10]MH_I2C_Read... [07:28:10]*** Stop cut motor [07:28:10]*** Cut end [07:28:10]Read from MH i2c: 01 07 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: 01 07 00 8B 33 00 00 00 00 00 FF 0F D3 [07:28:10]process_action close_receipt done [07:28:10]requested_data is exist [07:28:10]produce_requested_data [07:28:10]requested_item fm.sn is exist - process it [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 11 00 00 [07:28:10]Write to MH i2c: E2 08 00 8C 33 80 11 00 00 00 00 00 00 39 [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 17 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 17 00 8C 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [07:28:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:28:10]wFMCommunicate OK [07:28:10]requested_item fd.num is exist - process it [07:28:10]SAM_PROTO_GetFieldsCounters [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 13 00 00 [07:28:10]Write to MH i2c: E2 08 00 8D 33 80 13 00 00 00 00 00 00 3C [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 62 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 62 00 8D 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DD 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 24 [07:28:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DD 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:28:10]wFMCommunicate OK [07:28:10]SAM_PROTO_GetFieldsCounters done [07:28:10]requested_item shift.num is exist - process it [07:28:10]requested_item shift.opened is exist - process it [07:28:10]req_shift_opened [07:28:10]FM_GetShiftState [07:28:10]SAM_PROTO_GetShiftState [07:28:10]wFMCommunicate request_size=4 [07:28:10]MH_SAM_APDU [07:28:10]CAPDU: 80 13 01 00 [07:28:10]Write to MH i2c: E2 08 00 8E 33 80 13 01 00 00 00 00 00 3E [07:28:10]Write i2c OK [07:28:10]MH_I2C_Read... [07:28:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:10]Read from MH i2c: E2 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 0E 00 [07:28:10]MH_I2C_Read... [07:28:10]Read from MH i2c: E2 0E 00 8E 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B4 [07:28:10]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [07:28:10]wFMCommunicate OK [07:28:10]SAM_PROTO_GetShiftState done [07:28:10]FM_GetShiftState done [07:28:10]req_shift_opened done [07:28:10]requested_item shift.open_date is exist - process it [07:28:10]req_shift_open_date [07:28:10]req_shift_open_date done [07:28:10]produce_requested_data done [07:28:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37853,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [07:28:10]process_action_free close_receipt [07:28:10]json_value_free [07:28:10]json_value_free done [07:28:10]process_json_proto returns [07:28:10]Send response to host [07:28:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37853,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [07:28:10]free response buf [07:28:10]execute_script done [07:28:10]execute_script returns [07:28:10]free content buf [07:28:10]Sock 7.Close socket [07:28:10]Sock 7.Thread stoped [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:51]accept exits with 9 [07:28:51]New connection [07:28:51]New thread 3067297124 created [07:28:51]Thread 3067440484 joined [07:28:51]Waiting for new connection... [07:28:51] Sock 9.Parse request [07:28:51]Sock 9.Check first char [07:28:51]Sock 9.First char is OK [07:28:51]request: POST /json_proto HTTP/1.0 [07:28:51]Method: POST [07:28:51]URL: /json_proto [07:28:51]Method is POST - this is cgi request [07:28:51]url: /json_proto [07:28:51]query_string will be loaded in cgi processing [07:28:51]execute_cgi json_proto POST (null) [07:28:51]execute_cgi path=json_proto method=POST [07:28:51]POST find Content-Length [07:28:51]Host: 172.17.40.196:8080 [07:28:51]Content-Length: 752 [07:28:51]Content-Type: application/json [07:28:51] [07:28:51]POST finish read [07:28:51]Found Content-Length = 752 [07:28:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35153", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.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" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:51]execute_script... [07:28:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35153", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 4.000, "sum" : 460.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" : 460.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [07:28:51]POST & json_proto [07:28:51]process_json_proto [07:28:51]json parsed OK: [07:28:51]protocol is kg_v1.0 [07:28:51]action value=close_receipt [07:28:51]process_action close_receipt [07:28:51]cmd_close_receipt [07:28:51]MH_GetDate [07:28:51]Write to MH i2c: F0 00 00 8F 33 B1 [07:28:51]Write i2c OK [07:28:51]MH_I2C_Read... [07:28:51]Read from MH i2c: F0 [07:28:51]MH_I2C_Read... [07:28:51]Read from MH i2c: F0 09 00 [07:28:51]MH_I2C_Read... [07:28:51]Read from MH i2c: F0 09 00 8F 33 00 BF 8E 20 67 5B 68 A1 66 58 [07:28:51]GetLastDocTimeStamp 1730186898 [07:28:51]current date 1730186943 [07:28:51]FM_GetShiftState [07:28:51]SAM_PROTO_GetShiftState [07:28:51]wFMCommunicate request_size=4 [07:28:51]MH_SAM_APDU [07:28:51]CAPDU: 80 13 01 00 [07:28:51]Write to MH i2c: E2 08 00 90 33 80 13 01 00 00 00 00 00 40 [07:28:51]Write i2c OK [07:28:51]MH_I2C_Read... [07:28:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:51]Read from MH i2c: E2 [07:28:51]MH_I2C_Read... [07:28:51]Read from MH i2c: E2 0E 00 [07:28:51]MH_I2C_Read... [07:28:51]Read from MH i2c: E2 0E 00 90 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B6 [07:28:51]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [07:28:51]wFMCommunicate OK [07:28:51]SAM_PROTO_GetShiftState done [07:28:51]FM_GetShiftState done [07:28:51]opened in 1730160317 [07:28:51]opened+sec_in_day 1730246717 [07:28:51]quantity*price = 46000 [07:28:51]sum+1 = 46001 [07:28:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 460.00 НСП 1% : 4.07 НДС 12% : 48.85 Наличными: 0.00 Безнал.: 460.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 16 29.10.2024 07:29 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37854 ФПД: 13358674943195 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T072903&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37854&fm=13358674943195&tin=02508201610067®Number=0000000000091684&sum=46000 0 [07:28:52]StoreToDocumentArchive [07:28:52]shift 552 fd 37854 [07:28:52]save to /storage/0552/doc_00037854 [07:28:52]save last doc name /storage/0552/doc_00037854 to /storage/kkm_last_doc_name [07:28:52]save OK [07:28:52]Clear old archive folders... [07:28:52]ProcessDocumentItem done err = 0, tmpTLVsize=274 [07:28:52]tlvbuf is 00244650 [07:28:52]SAM_PROTO_ClearQueue [07:28:52]wFMCommunicate request_size=4 [07:28:52]MH_SAM_APDU [07:28:52]CAPDU: 80 09 00 00 [07:28:52]Write to MH i2c: E2 08 00 9D 33 80 09 00 00 00 00 00 00 42 [07:28:52]Write i2c OK [07:28:52]MH_I2C_Read... [07:28:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:28:52]Read from MH i2c: E2 [07:28:52]MH_I2C_Read... [07:28:52]Read from MH i2c: E2 03 00 [07:28:52]MH_I2C_Read... [07:28:52]Read from MH i2c: E2 03 00 9D 33 00 90 00 44 [07:28:52]RAPDU: 90 00 [07:28:52]wFMCommunicate OK [07:28:52]SAM_PROTO_ClearQueue done [07:28:52]KKMCreateOFDPacket [07:28:52]OFDProtocolAddRootSTLVToBuf [07:28:52]FM_MakeSignedData [07:28:52]FM_MakeSignedData [07:28:52]SAM_PROTO_SignData [07:28:52]wFMCommunicate request_size=4 [07:28:52]MH_SAM_APDU [07:28:52]CAPDU: 80 0D 01 02 [07:28:52]Write to MH i2c: E2 08 00 9E 33 80 0D 01 02 00 00 00 00 4A [07:28:52]Write i2c OK [07:28:52]MH_I2C_Read... [07:28:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:28:53]Read from MH i2c: E2 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 9E 33 00 90 00 45 [07:28:53]RAPDU: 90 00 [07:28:53]wFMCommunicate OK [07:28:53]wFMCommunicate request_size=255 [07:28:53]MH_SAM_APDU [07:28:53]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 B3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 BF 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [07:28:53]Write to MH i2c: E2 02 01 9F 33 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 B3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 BF 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 2D [07:28:53]Write i2c OK [07:28:53]MH_I2C_Read... [07:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:53]Read from MH i2c: E2 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 9F 33 00 90 00 46 [07:28:53]RAPDU: 90 00 [07:28:53]wFMCommunicate OK [07:28:53]wFMCommunicate request_size=33 [07:28:53]MH_SAM_APDU [07:28:53]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DE 93 00 00 35 04 06 00 0C 26 4F 13 1C DB [07:28:53]Write to MH i2c: E2 24 00 A0 33 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DE 93 00 00 35 04 06 00 0C 26 4F 13 1C DB 00 00 D5 [07:28:53]Write i2c OK [07:28:53]MH_I2C_Read... [07:28:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:28:53]Read from MH i2c: E2 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 03 00 A0 33 00 90 00 47 [07:28:53]RAPDU: 90 00 [07:28:53]wFMCommunicate OK [07:28:53]wFMCommunicate request_size=4 [07:28:53]MH_SAM_APDU [07:28:53]CAPDU: 80 0D 03 02 [07:28:53]Write to MH i2c: E2 08 00 A1 33 80 0D 03 02 00 00 00 00 4F [07:28:53]Write i2c OK [07:28:53]MH_I2C_Read... [07:28:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:28:53]Read from MH i2c: E2 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 0B 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 0B 00 A1 33 00 89 10 49 64 9C 0D 39 39 90 00 B1 [07:28:53]RAPDU: 89 10 49 64 9C 0D 39 39 90 00 [07:28:53]wFMCommunicate OK [07:28:53]SAM_PROTO_SignData done [07:28:53]FM_MakeSignedData done [07:28:53]CreateOFDProtocolMessage [07:28:53]wFMCommunicate request_size=4 [07:28:53]MH_SAM_APDU [07:28:53]CAPDU: 80 11 00 00 [07:28:53]Write to MH i2c: E2 08 00 A2 33 80 11 00 00 00 00 00 00 4F [07:28:53]Write i2c OK [07:28:53]MH_I2C_Read... [07:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:53]Read from MH i2c: E2 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 17 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: E2 17 00 A2 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9F [07:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:28:53]wFMCommunicate OK [07:28:53]CreateOFDProtocolMessage done [07:28:53]OFDSenderStorePacket 37854 [07:28:53]StoreOFDPacket docnum=37854 [07:28:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 E1 B6 1E 01 92 09 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 B3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 BF 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DE 93 00 00 35 04 06 00 0C 26 4F 13 1C DB 89 10 49 64 9C 0D 39 39 [07:28:53]CheckFolder [07:28:53]dirname=/storage/ofd_packets [07:28:53]CheckFolder done [07:28:53]ProducePacketName [07:28:53]name=ofd_packets/00037854 [07:28:53]NVStorageSaveData ofd_packets/00037854 [07:28:53]File name is /storage/ofd_packets/00037854 [07:28:53]Write 324 bytes [07:28:53]NVStorageSaveData done [07:28:53]OFDSenderStorePacket done [07:28:53]KKMCreateOFDPacket done [07:28:53]NVStorageSaveData kkm_last_timestamp [07:28:53]File name is /storage/kkm_last_timestamp [07:28:53]Write 4 bytes [07:28:53]NVStorageSaveData done [07:28:53]ExternCall_PrintAddStr [07:28:53]wPrintStart [07:28:53]Write to MH i2c: 01 00 00 A3 33 D6 [07:28:53]Write i2c OK [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: 01 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: 01 07 00 [07:28:53]MH_I2C_Read... [07:28:53]Read from MH i2c: 01 07 00 A3 33 00 00 00 00 00 FF 0F EB [07:28:53]RasterBufferAndPrint [07:28:53]line Счет N : (3)35153 [07:28:53]line ИНН: 02508201610067 [07:28:53]line Контрольно-Кассовый Чек [07:28:53]line ПРОДАЖА [07:28:53]line Товар: 2000036240010 [07:28:53]line Кофе Латте (GABB TRADE) [07:28:53]line 4.000 * 115.00 [07:28:53]line = 460.00 [07:28:53]line НДС 12% НСП 1% [07:28:53]line > о реализуемом товаре [07:28:53]line ИТОГО: 460.00 [07:28:53]line НСП 1% : 4.07 [07:28:53]line НДС 12% : 48.85 [07:28:53]line Наличными: 0.00 [07:28:53]line Безнал.: 460.00 [07:28:53]line Место: АЗС № 126 "Партнер Нефть" [07:28:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [07:28:53]line СНО: Общий режим [07:28:53]line Чек 16 29.10.2024 07:29 [07:28:53]line Смена: 552 ФФД: 1.0 [07:28:53]line ЗНМ: 0300000092 [07:28:53]line РНМ: 0000000000091684 [07:28:53]line Версия ККМ: 001 [07:28:53]line Платежная система: Mbank [07:28:53]line ФМ: 0000000000871841 [07:28:53]line ФД: 37854 [07:28:53]line ФПД: 13358674943195 [07:28:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T072903&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37854&fm=13358674943195&tin=02508201610067®Number=0000000000091684&sum=46000 [07:28:53]OFD Sender: Processing packet 37854 [packets to send 42, broken 41] [07:28:53]ProducePacketName [07:28:53]name=ofd_packets/00037854 [07:28:53]OFD Sender: To server: pG, [07:28:53]CommunicateWithHost lk.salyk.kg:30040 [07:28:53]ConnectInit lk.salyk.kg [07:28:53]line 0 [07:28:53]written 0, free lines is 4095 [07:28:54]Connected sock=10 [07:28:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 E1 B6 1E 01 92 09 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 A0 0F 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 B0 B3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B0 B3 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 97 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 15 13 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 B3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 BF 8E 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DE 93 00 00 35 04 06 00 0C 26 4F 13 1C DB 89 10 49 64 9C 0D 39 39 [07:28:54]Write to MH i2c: 01 00 00 CC 33 FF [07:28:54]Write i2c OK [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: 01 [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: 01 07 00 [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: 01 07 00 CC 33 00 00 00 00 00 DD 0C EF [07:28:54]RasterBufferAndPrint [07:28:54]line [07:28:54]line [07:28:54]line [07:28:54]line [07:28:54]line [07:28:54]written 0, free lines is 3299 [07:28:54]MH_Cut [07:28:54]Write to MH i2c: D1 01 00 D3 33 01 D8 [07:28:54]Write i2c OK [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: D1 [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: D1 01 00 [07:28:54]MH_I2C_Read... [07:28:54]Read from MH i2c: D1 01 00 D3 33 00 D7 [07:28:54]Write to MH i2c: 01 00 00 D4 33 07 [07:28:54]Write i2c OK [07:28:54]MH_I2C_Read... [07:28:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D3 46 47 00 75 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DE 93 00 00 F4 03 04 00 B2 39 20 67 B6 04 01 00 00 E4 AA DF 2C DC C7 41 62 [07:28:54]CommunicateWithHost err = 0 [07:28:54]CheckOFDResponse [07:28:54]1017 (14) - 77093643461234 [07:28:54]1041 (16) - 0000000000871841 [07:28:54]1040 (4) - 37854 [07:28:54]1012 (4) - 29.10.2024 01:26 [07:28:54]1206 (1) - 0 [07:28:54]OFD Sender: Remove packet 37854 [07:28:54]ProducePacketName [07:28:54]name=ofd_packets/00037854 [07:28:54]NVStorageDeleteData [07:28:55]OFD Sender: No OFD packet to send [07:28:55]*** Cut start [07:28:55]*** Partial cut [07:28:55]*** CUTSNS_PIN = 1 [07:28:55]*** CUTSNS_PIN = 0 [07:28:55]*** Brake cut motor [07:28:55]Read from MH i2c: 01 [07:28:55]MH_I2C_Read... [07:28:55]*** Stop cut motor [07:28:55]*** Cut end [07:28:55]Read from MH i2c: 01 07 00 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: 01 07 00 D4 33 00 00 00 00 00 FF 0F 1C [07:28:55]process_action close_receipt done [07:28:55]requested_data is exist [07:28:55]produce_requested_data [07:28:55]requested_item fm.sn is exist - process it [07:28:55]wFMCommunicate request_size=4 [07:28:55]MH_SAM_APDU [07:28:55]CAPDU: 80 11 00 00 [07:28:55]Write to MH i2c: E2 08 00 D5 33 80 11 00 00 00 00 00 00 82 [07:28:55]Write i2c OK [07:28:55]MH_I2C_Read... [07:28:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:28:55]Read from MH i2c: E2 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 17 00 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 17 00 D5 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D2 [07:28:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [07:28:55]wFMCommunicate OK [07:28:55]requested_item fd.num is exist - process it [07:28:55]SAM_PROTO_GetFieldsCounters [07:28:55]wFMCommunicate request_size=4 [07:28:55]MH_SAM_APDU [07:28:55]CAPDU: 80 13 00 00 [07:28:55]Write to MH i2c: E2 08 00 D6 33 80 13 00 00 00 00 00 00 85 [07:28:55]Write i2c OK [07:28:55]MH_I2C_Read... [07:28:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:28:55]Read from MH i2c: E2 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 62 00 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 62 00 D6 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 71 [07:28:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:28:55]wFMCommunicate OK [07:28:55]SAM_PROTO_GetFieldsCounters done [07:28:55]requested_item shift.num is exist - process it [07:28:55]requested_item shift.opened is exist - process it [07:28:55]req_shift_opened [07:28:55]FM_GetShiftState [07:28:55]SAM_PROTO_GetShiftState [07:28:55]wFMCommunicate request_size=4 [07:28:55]MH_SAM_APDU [07:28:55]CAPDU: 80 13 01 00 [07:28:55]Write to MH i2c: E2 08 00 D7 33 80 13 01 00 00 00 00 00 87 [07:28:55]Write i2c OK [07:28:55]MH_I2C_Read... [07:28:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:28:55]Read from MH i2c: E2 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 0E 00 [07:28:55]MH_I2C_Read... [07:28:55]Read from MH i2c: E2 0E 00 D7 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FD [07:28:55]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [07:28:55]wFMCommunicate OK [07:28:55]SAM_PROTO_GetShiftState done [07:28:55]FM_GetShiftState done [07:28:55]req_shift_opened done [07:28:55]requested_item shift.open_date is exist - process it [07:28:55]req_shift_open_date [07:28:55]req_shift_open_date done [07:28:55]produce_requested_data done [07:28:55]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37854,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [07:28:55]process_action_free close_receipt [07:28:55]json_value_free [07:28:55]json_value_free done [07:28:55]process_json_proto returns [07:28:55]Send response to host [07:28:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37854,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [07:28:55]free response buf [07:28:55]execute_script done [07:28:55]execute_script returns [07:28:55]free content buf [07:28:55]Sock 9.Close socket [07:28:55]Sock 9.Thread stoped [07:29:00]OFD Sender: No OFD packet to send [07:29:05]OFD Sender: No OFD packet to send [07:29:10]OFD Sender: No OFD packet to send [07:29:15]OFD Sender: No OFD packet to send [07:29:20]OFD Sender: No OFD packet to send [07:29:25]OFD Sender: No OFD packet to send [07:29:30]OFD Sender: No OFD packet to send [07:29:35]OFD Sender: No OFD packet to send [07:29:40]OFD Sender: No OFD packet to send [07:29:45]OFD Sender: No OFD packet to send [07:29:50]OFD Sender: No OFD packet to send [07:29:55]OFD Sender: No OFD packet to send [07:30:00]OFD Sender: No OFD packet to send [07:30:05]OFD Sender: No OFD packet to send [07:30:10]OFD Sender: No OFD packet to send [07:30:15]OFD Sender: No OFD packet to send [07:30:20]OFD Sender: No OFD packet to send [07:30:25]OFD Sender: No OFD packet to send [07:30:30]OFD Sender: No OFD packet to send [07:30:35]OFD Sender: No OFD packet to send [07:30:40]OFD Sender: No OFD packet to send [07:30:45]OFD Sender: No OFD packet to send [07:30:50]OFD Sender: No OFD packet to send [07:30:55]OFD Sender: No OFD packet to send [07:31:00]OFD Sender: No OFD packet to send [07:31:05]OFD Sender: No OFD packet to send [07:31:10]OFD Sender: No OFD packet to send [07:31:15]OFD Sender: No OFD packet to send [07:31:20]OFD Sender: No OFD packet to send [07:31:25]OFD Sender: No OFD packet to send [07:31:30]OFD Sender: No OFD packet to send [07:31:35]OFD Sender: No OFD packet to send [07:31:40]OFD Sender: No OFD packet to send [07:31:45]OFD Sender: No OFD packet to send [07:31:50]OFD Sender: No OFD packet to send [07:31:55]OFD Sender: No OFD packet to send [07:32:00]OFD Sender: No OFD packet to send [07:32:05]OFD Sender: No OFD packet to send [07:32:10]OFD Sender: No OFD packet to send [07:32:15]OFD Sender: No OFD packet to send [07:32:20]OFD Sender: No OFD packet to send [07:32:25]OFD Sender: No OFD packet to send [07:32:30]OFD Sender: No OFD packet to send [07:32:35]OFD Sender: No OFD packet to send [07:32:40]OFD Sender: No OFD packet to send [07:32:45]OFD Sender: No OFD packet to send [07:32:50]OFD Sender: No OFD packet to send [07:32:55]OFD Sender: No OFD packet to send [07:33:00]OFD Sender: No OFD packet to send [07:33:05]OFD Sender: No OFD packet to send [07:33:10]OFD Sender: No OFD packet to send [07:33:15]OFD Sender: No OFD packet to send [07:33:20]OFD Sender: No OFD packet to send [07:33:25]OFD Sender: No OFD packet to send [07:33:30]OFD Sender: No OFD packet to send [07:33:35]OFD Sender: No OFD packet to send [07:33:40]OFD Sender: No OFD packet to send [07:33:45]OFD Sender: No OFD packet to send [07:33:50]OFD Sender: No OFD packet to send [07:33:55]OFD Sender: No OFD packet to send [07:34:00]OFD Sender: No OFD packet to send [07:34:05]OFD Sender: No OFD packet to send [07:34:10]OFD Sender: No OFD packet to send [07:34:15]OFD Sender: No OFD packet to send [07:34:20]OFD Sender: No OFD packet to send [07:34:25]OFD Sender: No OFD packet to send [07:34:30]OFD Sender: No OFD packet to send [07:34:35]OFD Sender: No OFD packet to send [07:34:40]OFD Sender: No OFD packet to send [07:34:45]OFD Sender: No OFD packet to send [07:34:50]OFD Sender: No OFD packet to send [07:34:55]OFD Sender: No OFD packet to send [07:35:00]OFD Sender: No OFD packet to send [07:35:05]OFD Sender: No OFD packet to send [07:35:10]OFD Sender: No OFD packet to send [07:35:15]OFD Sender: No OFD packet to send [07:35:20]OFD Sender: No OFD packet to send [07:35:25]OFD Sender: No OFD packet to send [07:35:30]OFD Sender: No OFD packet to send [07:35:35]OFD Sender: No OFD packet to send [07:35:40]OFD Sender: No OFD packet to send [07:35:45]OFD Sender: No OFD packet to send [07:35:50]OFD Sender: No OFD packet to send [07:35:55]OFD Sender: No OFD packet to send [07:36:00]OFD Sender: No OFD packet to send [07:36:05]OFD Sender: No OFD packet to send [07:36:10]OFD Sender: No OFD packet to send [07:36:15]OFD Sender: No OFD packet to send [07:36:20]OFD Sender: No OFD packet to send [07:36:25]OFD Sender: No OFD packet to send [07:36:30]OFD Sender: No OFD packet to send [07:36:35]OFD Sender: No OFD packet to send [07:36:40]OFD Sender: No OFD packet to send [07:36:45]OFD Sender: No OFD packet to send [07:36:50]OFD Sender: No OFD packet to send [07:36:55]OFD Sender: No OFD packet to send [07:37:00]OFD Sender: No OFD packet to send [07:37:05]OFD Sender: No OFD packet to send [07:37:10]OFD Sender: No OFD packet to send [07:37:15]OFD Sender: No OFD packet to send [07:37:20]OFD Sender: No OFD packet to send [07:37:25]OFD Sender: No OFD packet to send [07:37:30]OFD Sender: No OFD packet to send [07:37:35]OFD Sender: No OFD packet to send [07:37:40]OFD Sender: No OFD packet to send [07:37:45]OFD Sender: No OFD packet to send [07:37:50]OFD Sender: No OFD packet to send [07:37:55]OFD Sender: No OFD packet to send [07:38:00]OFD Sender: No OFD packet to send [07:38:05]OFD Sender: No OFD packet to send [07:38:10]OFD Sender: No OFD packet to send [07:38:15]OFD Sender: No OFD packet to send [07:38:20]OFD Sender: No OFD packet to send [07:38:25]OFD Sender: No OFD packet to send [07:38:30]OFD Sender: No OFD packet to send [07:38:35]OFD Sender: No OFD packet to send [07:38:40]OFD Sender: No OFD packet to send [07:38:45]OFD Sender: No OFD packet to send [07:38:50]OFD Sender: No OFD packet to send [07:38:55]OFD Sender: No OFD packet to send [07:39:00]OFD Sender: No OFD packet to send [07:39:05]OFD Sender: No OFD packet to send [07:39:10]OFD Sender: No OFD packet to send [07:39:15]OFD Sender: No OFD packet to send [07:39:20]OFD Sender: No OFD packet to send [07:39:25]OFD Sender: No OFD packet to send [07:39:30]OFD Sender: No OFD packet to send [07:39:35]OFD Sender: No OFD packet to send [07:39:40]OFD Sender: No OFD packet to send [07:39:45]OFD Sender: No OFD packet to send [07:39:50]OFD Sender: No OFD packet to send [07:39:55]OFD Sender: No OFD packet to send [07:40:00]OFD Sender: No OFD packet to send [07:40:05]OFD Sender: No OFD packet to send [07:40:10]OFD Sender: No OFD packet to send [07:40:15]OFD Sender: No OFD packet to send [07:40:20]OFD Sender: No OFD packet to send [07:40:25]OFD Sender: No OFD packet to send [07:40:30]OFD Sender: No OFD packet to send [07:40:35]OFD Sender: No OFD packet to send [07:40:40]OFD Sender: No OFD packet to send [07:40:45]OFD Sender: No OFD packet to send [07:40:50]OFD Sender: No OFD packet to send [07:40:55]OFD Sender: No OFD packet to send [07:41:00]OFD Sender: No OFD packet to send [07:41:05]OFD Sender: No OFD packet to send [07:41:10]OFD Sender: No OFD packet to send [07:41:15]OFD Sender: No OFD packet to send [07:41:20]OFD Sender: No OFD packet to send [07:41:25]OFD Sender: No OFD packet to send [07:41:30]OFD Sender: No OFD packet to send [07:41:35]OFD Sender: No OFD packet to send [07:41:40]OFD Sender: No OFD packet to send [07:41:45]OFD Sender: No OFD packet to send [07:41:50]OFD Sender: No OFD packet to send [07:41:55]OFD Sender: No OFD packet to send [07:42:00]OFD Sender: No OFD packet to send [07:42:05]OFD Sender: No OFD packet to send [07:42:10]OFD Sender: No OFD packet to send [07:42:15]OFD Sender: No OFD packet to send [07:42:20]OFD Sender: No OFD packet to send [07:42:25]OFD Sender: No OFD packet to send [07:42:30]OFD Sender: No OFD packet to send [07:42:35]OFD Sender: No OFD packet to send [07:42:40]OFD Sender: No OFD packet to send [07:42:45]OFD Sender: No OFD packet to send [07:42:50]OFD Sender: No OFD packet to send [07:42:55]OFD Sender: No OFD packet to send [07:43:00]OFD Sender: No OFD packet to send [07:43:05]OFD Sender: No OFD packet to send [07:43:10]OFD Sender: No OFD packet to send [07:43:15]OFD Sender: No OFD packet to send [07:43:20]OFD Sender: No OFD packet to send [07:43:25]OFD Sender: No OFD packet to send [07:43:30]OFD Sender: No OFD packet to send [07:43:35]OFD Sender: No OFD packet to send [07:43:40]OFD Sender: No OFD packet to send [07:43:45]OFD Sender: No OFD packet to send [07:43:50]OFD Sender: No OFD packet to send [07:43:55]OFD Sender: No OFD packet to send [07:44:00]OFD Sender: No OFD packet to send [07:44:05]OFD Sender: No OFD packet to send [07:44:10]OFD Sender: No OFD packet to send [07:44:15]OFD Sender: No OFD packet to send [07:44:20]OFD Sender: No OFD packet to send [07:44:25]OFD Sender: No OFD packet to send [07:44:30]OFD Sender: No OFD packet to send [07:44:35]OFD Sender: No OFD packet to send [07:44:40]OFD Sender: No OFD packet to send [07:44:45]OFD Sender: No OFD packet to send [07:44:50]OFD Sender: No OFD packet to send [07:44:55]OFD Sender: No OFD packet to send [07:45:00]OFD Sender: No OFD packet to send [07:45:05]OFD Sender: No OFD packet to send [07:45:10]OFD Sender: No OFD packet to send [07:45:15]OFD Sender: No OFD packet to send [07:45:20]OFD Sender: No OFD packet to send [07:45:25]OFD Sender: No OFD packet to send [07:45:30]OFD Sender: No OFD packet to send [07:45:35]OFD Sender: No OFD packet to send [07:45:40]OFD Sender: No OFD packet to send [07:45:45]OFD Sender: No OFD packet to send [07:45:50]OFD Sender: No OFD packet to send [07:45:55]OFD Sender: No OFD packet to send [07:46:00]OFD Sender: No OFD packet to send [07:46:05]OFD Sender: No OFD packet to send [07:46:10]OFD Sender: No OFD packet to send [07:46:15]OFD Sender: No OFD packet to send [07:46:20]OFD Sender: No OFD packet to send [07:46:25]OFD Sender: No OFD packet to send [07:46:30]OFD Sender: No OFD packet to send [07:46:35]OFD Sender: No OFD packet to send [07:46:40]OFD Sender: No OFD packet to send [07:46:45]OFD Sender: No OFD packet to send [07:46:50]OFD Sender: No OFD packet to send [07:46:55]OFD Sender: No OFD packet to send [07:47:01]OFD Sender: No OFD packet to send [07:47:06]OFD Sender: No OFD packet to send [07:47:11]OFD Sender: No OFD packet to send [07:47:16]OFD Sender: No OFD packet to send [07:47:21]OFD Sender: No OFD packet to send [07:47:26]OFD Sender: No OFD packet to send [07:47:31]OFD Sender: No OFD packet to send [07:47:36]OFD Sender: No OFD packet to send [07:47:41]OFD Sender: No OFD packet to send [07:47:46]OFD Sender: No OFD packet to send [07:47:51]OFD Sender: No OFD packet to send [07:47:56]OFD Sender: No OFD packet to send [07:48:01]OFD Sender: No OFD packet to send [07:48:06]OFD Sender: No OFD packet to send [07:48:11]OFD Sender: No OFD packet to send [07:48:16]OFD Sender: No OFD packet to send [07:48:21]OFD Sender: No OFD packet to send [07:48:26]OFD Sender: No OFD packet to send [07:48:31]OFD Sender: No OFD packet to send [07:48:36]OFD Sender: No OFD packet to send [07:48:41]OFD Sender: No OFD packet to send [07:48:46]OFD Sender: No OFD packet to send [07:48:51]OFD Sender: No OFD packet to send [07:48:56]OFD Sender: No OFD packet to send [07:49:01]OFD Sender: No OFD packet to send [07:49:06]OFD Sender: No OFD packet to send [07:49:11]OFD Sender: No OFD packet to send [07:49:16]OFD Sender: No OFD packet to send [07:49:21]OFD Sender: No OFD packet to send [07:49:26]OFD Sender: No OFD packet to send [07:49:31]OFD Sender: No OFD packet to send [07:49:36]OFD Sender: No OFD packet to send [07:49:41]OFD Sender: No OFD packet to send [07:49:46]OFD Sender: No OFD packet to send [07:49:51]OFD Sender: No OFD packet to send [07:49:56]OFD Sender: No OFD packet to send [07:50:01]OFD Sender: No OFD packet to send [07:50:06]OFD Sender: No OFD packet to send [07:50:11]OFD Sender: No OFD packet to send [07:50:16]OFD Sender: No OFD packet to send [07:50:21]OFD Sender: No OFD packet to send [07:50:26]OFD Sender: No OFD packet to send [07:50:31]OFD Sender: No OFD packet to send [07:50:36]OFD Sender: No OFD packet to send [07:50:41]OFD Sender: No OFD packet to send [07:50:46]OFD Sender: No OFD packet to send [07:50:51]OFD Sender: No OFD packet to send [07:50:56]OFD Sender: No OFD packet to send [07:51:01]OFD Sender: No OFD packet to send [07:51:06]OFD Sender: No OFD packet to send [07:51:11]OFD Sender: No OFD packet to send [07:51:16]OFD Sender: No OFD packet to send [07:51:21]OFD Sender: No OFD packet to send [07:51:26]OFD Sender: No OFD packet to send [07:51:31]OFD Sender: No OFD packet to send [07:51:36]OFD Sender: No OFD packet to send [07:51:41]OFD Sender: No OFD packet to send [07:51:46]OFD Sender: No OFD packet to send [07:51:51]OFD Sender: No OFD packet to send [07:51:56]OFD Sender: No OFD packet to send [07:52:01]OFD Sender: No OFD packet to send [07:52:06]OFD Sender: No OFD packet to send [07:52:11]OFD Sender: No OFD packet to send [07:52:16]OFD Sender: No OFD packet to send [07:52:21]OFD Sender: No OFD packet to send [07:52:26]OFD Sender: No OFD packet to send [07:52:31]OFD Sender: No OFD packet to send [07:52:36]OFD Sender: No OFD packet to send [07:52:41]OFD Sender: No OFD packet to send [07:52:46]OFD Sender: No OFD packet to send [07:52:51]OFD Sender: No OFD packet to send [07:52:56]OFD Sender: No OFD packet to send [07:53:01]OFD Sender: No OFD packet to send [07:53:06]OFD Sender: No OFD packet to send [07:53:11]OFD Sender: No OFD packet to send [07:53:16]OFD Sender: No OFD packet to send [07:53:21]OFD Sender: No OFD packet to send [07:53:26]OFD Sender: No OFD packet to send [07:53:31]OFD Sender: No OFD packet to send [07:53:36]OFD Sender: No OFD packet to send [07:53:41]OFD Sender: No OFD packet to send [07:53:46]OFD Sender: No OFD packet to send [07:53:51]OFD Sender: No OFD packet to send [07:53:56]OFD Sender: No OFD packet to send [07:54:01]OFD Sender: No OFD packet to send [07:54:06]OFD Sender: No OFD packet to send [07:54:11]OFD Sender: No OFD packet to send [07:54:16]OFD Sender: No OFD packet to send [07:54:21]OFD Sender: No OFD packet to send [07:54:26]OFD Sender: No OFD packet to send [07:54:31]OFD Sender: No OFD packet to send [07:54:36]OFD Sender: No OFD packet to send [07:54:41]OFD Sender: No OFD packet to send [07:54:46]OFD Sender: No OFD packet to send [07:54:51]OFD Sender: No OFD packet to send [07:54:56]OFD Sender: No OFD packet to send [07:55:01]OFD Sender: No OFD packet to send [07:55:06]OFD Sender: No OFD packet to send [07:55:11]OFD Sender: No OFD packet to send [07:55:16]OFD Sender: No OFD packet to send [07:55:21]OFD Sender: No OFD packet to send [07:55:26]OFD Sender: No OFD packet to send [07:55:31]OFD Sender: No OFD packet to send [07:55:36]OFD Sender: No OFD packet to send [07:55:41]OFD Sender: No OFD packet to send [07:55:46]OFD Sender: No OFD packet to send [07:55:51]OFD Sender: No OFD packet to send [07:55:56]OFD Sender: No OFD packet to send [07:56:01]OFD Sender: No OFD packet to send [07:56:06]OFD Sender: No OFD packet to send [07:56:11]OFD Sender: No OFD packet to send [07:56:16]OFD Sender: No OFD packet to send [07:56:21]OFD Sender: No OFD packet to send [07:56:26]OFD Sender: No OFD packet to send [07:56:31]OFD Sender: No OFD packet to send [07:56:36]OFD Sender: No OFD packet to send [07:56:41]OFD Sender: No OFD packet to send [07:56:46]OFD Sender: No OFD packet to send [07:56:51]OFD Sender: No OFD packet to send [07:56:56]OFD Sender: No OFD packet to send [07:57:01]OFD Sender: No OFD packet to send [07:57:06]OFD Sender: No OFD packet to send [07:57:11]OFD Sender: No OFD packet to send [07:57:16]OFD Sender: No OFD packet to send [07:57:21]OFD Sender: No OFD packet to send [07:57:26]OFD Sender: No OFD packet to send [07:57:31]OFD Sender: No OFD packet to send [07:57:36]OFD Sender: No OFD packet to send [07:57:41]OFD Sender: No OFD packet to send [07:57:46]OFD Sender: No OFD packet to send [07:57:51]OFD Sender: No OFD packet to send [07:57:56]OFD Sender: No OFD packet to send [07:58:01]OFD Sender: No OFD packet to send [07:58:06]OFD Sender: No OFD packet to send [07:58:11]OFD Sender: No OFD packet to send [07:58:16]OFD Sender: No OFD packet to send [07:58:21]OFD Sender: No OFD packet to send [07:58:26]OFD Sender: No OFD packet to send [07:58:31]OFD Sender: No OFD packet to send [07:58:36]OFD Sender: No OFD packet to send [07:58:41]OFD Sender: No OFD packet to send [07:58:46]OFD Sender: No OFD packet to send [07:58:51]OFD Sender: No OFD packet to send [07:58:56]OFD Sender: No OFD packet to send [07:59:01]OFD Sender: No OFD packet to send [07:59:06]OFD Sender: No OFD packet to send [07:59:11]OFD Sender: No OFD packet to send [07:59:16]OFD Sender: No OFD packet to send [07:59:21]OFD Sender: No OFD packet to send [07:59:26]OFD Sender: No OFD packet to send [07:59:31]OFD Sender: No OFD packet to send [07:59:36]OFD Sender: No OFD packet to send [07:59:41]OFD Sender: No OFD packet to send [07:59:46]OFD Sender: No OFD packet to send [07:59:51]OFD Sender: No OFD packet to send [07:59:56]OFD Sender: No OFD packet to send [08:00:01]OFD Sender: No OFD packet to send [08:00:06]OFD Sender: No OFD packet to send [08:00:11]OFD Sender: No OFD packet to send [08:00:16]OFD Sender: No OFD packet to send [08:00:21]OFD Sender: No OFD packet to send [08:00:26]OFD Sender: No OFD packet to send [08:00:31]OFD Sender: No OFD packet to send [08:00:36]OFD Sender: No OFD packet to send [08:00:41]OFD Sender: No OFD packet to send [08:00:46]OFD Sender: No OFD packet to send [08:00:51]OFD Sender: No OFD packet to send [08:00:56]OFD Sender: No OFD packet to send [08:01:01]OFD Sender: No OFD packet to send [08:01:06]OFD Sender: No OFD packet to send [08:01:11]OFD Sender: No OFD packet to send [08:01:16]OFD Sender: No OFD packet to send [08:01:21]OFD Sender: No OFD packet to send [08:01:26]OFD Sender: No OFD packet to send [08:01:31]OFD Sender: No OFD packet to send [08:01:36]OFD Sender: No OFD packet to send [08:01:41]OFD Sender: No OFD packet to send [08:01:46]OFD Sender: No OFD packet to send [08:01:51]OFD Sender: No OFD packet to send [08:01:56]OFD Sender: No OFD packet to send [08:02:01]OFD Sender: No OFD packet to send [08:02:06]OFD Sender: No OFD packet to send [08:02:11]OFD Sender: No OFD packet to send [08:02:16]OFD Sender: No OFD packet to send [08:02:21]OFD Sender: No OFD packet to send [08:02:26]OFD Sender: No OFD packet to send [08:02:31]OFD Sender: No OFD packet to send [08:02:36]OFD Sender: No OFD packet to send [08:02:41]OFD Sender: No OFD packet to send [08:02:46]OFD Sender: No OFD packet to send [08:02:51]OFD Sender: No OFD packet to send [08:02:56]OFD Sender: No OFD packet to send [08:03:01]OFD Sender: No OFD packet to send [08:03:06]OFD Sender: No OFD packet to send [08:03:11]OFD Sender: No OFD packet to send [08:03:16]OFD Sender: No OFD packet to send [08:03:21]OFD Sender: No OFD packet to send [08:03:26]OFD Sender: No OFD packet to send [08:03:31]OFD Sender: No OFD packet to send [08:03:36]OFD Sender: No OFD packet to send [08:03:41]OFD Sender: No OFD packet to send [08:03:46]OFD Sender: No OFD packet to send [08:03:51]OFD Sender: No OFD packet to send [08:03:56]OFD Sender: No OFD packet to send [08:04:01]OFD Sender: No OFD packet to send [08:04:06]OFD Sender: No OFD packet to send [08:04:11]OFD Sender: No OFD packet to send [08:04:16]OFD Sender: No OFD packet to send [08:04:21]OFD Sender: No OFD packet to send [08:04:26]OFD Sender: No OFD packet to send [08:04:31]OFD Sender: No OFD packet to send [08:04:36]OFD Sender: No OFD packet to send [08:04:41]OFD Sender: No OFD packet to send [08:04:46]OFD Sender: No OFD packet to send [08:04:51]OFD Sender: No OFD packet to send [08:04:56]OFD Sender: No OFD packet to send [08:05:01]OFD Sender: No OFD packet to send [08:05:06]OFD Sender: No OFD packet to send [08:05:11]OFD Sender: No OFD packet to send [08:05:16]OFD Sender: No OFD packet to send [08:05:21]OFD Sender: No OFD packet to send [08:05:26]OFD Sender: No OFD packet to send [08:05:31]OFD Sender: No OFD packet to send [08:05:36]OFD Sender: No OFD packet to send [08:05:41]OFD Sender: No OFD packet to send [08:05:46]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [08:06:02]OFD Sender: No OFD packet to send [08:06:07]OFD Sender: No OFD packet to send [08:06:12]OFD Sender: No OFD packet to send [08:06:17]OFD Sender: No OFD packet to send [08:06:22]OFD Sender: No OFD packet to send [08:06:27]OFD Sender: No OFD packet to send [08:06:32]OFD Sender: No OFD packet to send [08:06:37]OFD Sender: No OFD packet to send [08:06:42]OFD Sender: No OFD packet to send [08:06:47]OFD Sender: No OFD packet to send [08:06:52]OFD Sender: No OFD packet to send [08:06:57]OFD Sender: No OFD packet to send [08:07:02]OFD Sender: No OFD packet to send [08:07:07]OFD Sender: No OFD packet to send [08:07:12]OFD Sender: No OFD packet to send [08:07:17]OFD Sender: No OFD packet to send [08:07:22]OFD Sender: No OFD packet to send [08:07:27]OFD Sender: No OFD packet to send [08:07:32]OFD Sender: No OFD packet to send [08:07:37]OFD Sender: No OFD packet to send [08:07:42]OFD Sender: No OFD packet to send [08:07:47]OFD Sender: No OFD packet to send [08:07:52]OFD Sender: No OFD packet to send [08:07:57]OFD Sender: No OFD packet to send [08:08:02]OFD Sender: No OFD packet to send [08:08:07]OFD Sender: No OFD packet to send [08:08:12]OFD Sender: No OFD packet to send [08:08:17]OFD Sender: No OFD packet to send [08:08:22]OFD Sender: No OFD packet to send [08:08:27]OFD Sender: No OFD packet to send [08:08:32]OFD Sender: No OFD packet to send [08:08:37]OFD Sender: No OFD packet to send [08:08:42]OFD Sender: No OFD packet to send [08:08:47]OFD Sender: No OFD packet to send [08:08:52]OFD Sender: No OFD packet to send [08:08:57]OFD Sender: No OFD packet to send [08:09:02]OFD Sender: No OFD packet to send [08:09:07]OFD Sender: No OFD packet to send [08:09:12]OFD Sender: No OFD packet to send [08:09:17]OFD Sender: No OFD packet to send [08:09:22]OFD Sender: No OFD packet to send [08:09:27]OFD Sender: No OFD packet to send [08:09:32]OFD Sender: No OFD packet to send [08:09:37]OFD Sender: No OFD packet to send [08:09:42]OFD Sender: No OFD packet to send [08:09:47]OFD Sender: No OFD packet to send [08:09:52]OFD Sender: No OFD packet to send [08:09:57]OFD Sender: No OFD packet to send [08:10:02]OFD Sender: No OFD packet to send [08:10:07]OFD Sender: No OFD packet to send [08:10:12]OFD Sender: No OFD packet to send [08:10:17]OFD Sender: No OFD packet to send [08:10:22]OFD Sender: No OFD packet to send [08:10:27]OFD Sender: No OFD packet to send [08:10:32]OFD Sender: No OFD packet to send [08:10:37]OFD Sender: No OFD packet to send [08:10:42]OFD Sender: No OFD packet to send [08:10:47]OFD Sender: No OFD packet to send [08:10:52]OFD Sender: No OFD packet to send [08:10:57]OFD Sender: No OFD packet to send [08:11:02]OFD Sender: No OFD packet to send [08:11:07]OFD Sender: No OFD packet to send [08:11:12]OFD Sender: No OFD packet to send [08:11:17]OFD Sender: No OFD packet to send [08:11:22]OFD Sender: No OFD packet to send [08:11:27]OFD Sender: No OFD packet to send [08:11:32]OFD Sender: No OFD packet to send [08:11:37]OFD Sender: No OFD packet to send [08:11:42]OFD Sender: No OFD packet to send [08:11:47]OFD Sender: No OFD packet to send [08:11:52]OFD Sender: No OFD packet to send [08:11:57]OFD Sender: No OFD packet to send [08:12:02]OFD Sender: No OFD packet to send [08:12:07]OFD Sender: No OFD packet to send [08:12:12]OFD Sender: No OFD packet to send [08:12:17]OFD Sender: No OFD packet to send [08:12:22]OFD Sender: No OFD packet to send [08:12:27]OFD Sender: No OFD packet to send [08:12:32]OFD Sender: No OFD packet to send [08:12:37]OFD Sender: No OFD packet to send [08:12:42]OFD Sender: No OFD packet to send [08:12:47]OFD Sender: No OFD packet to send [08:12:52]OFD Sender: No OFD packet to send [08:12:57]OFD Sender: No OFD packet to send [08:13:02]OFD Sender: No OFD packet to send [08:13:07]OFD Sender: No OFD packet to send [08:13:12]OFD Sender: No OFD packet to send [08:13:17]OFD Sender: No OFD packet to send [08:13:22]OFD Sender: No OFD packet to send [08:13:27]OFD Sender: No OFD packet to send [08:13:32]OFD Sender: No OFD packet to send [08:13:37]OFD Sender: No OFD packet to send [08:13:42]OFD Sender: No OFD packet to send [08:13:47]OFD Sender: No OFD packet to send [08:13:52]OFD Sender: No OFD packet to send [08:13:57]OFD Sender: No OFD packet to send [08:14:02]OFD Sender: No OFD packet to send [08:14:07]OFD Sender: No OFD packet to send [08:14:12]OFD Sender: No OFD packet to send [08:14:17]OFD Sender: No OFD packet to send [08:14:22]OFD Sender: No OFD packet to send [08:14:27]OFD Sender: No OFD packet to send [08:14:32]OFD Sender: No OFD packet to send [08:14:37]OFD Sender: No OFD packet to send [08:14:42]OFD Sender: No OFD packet to send [08:14:47]OFD Sender: No OFD packet to send [08:14:52]OFD Sender: No OFD packet to send [08:14:57]OFD Sender: No OFD packet to send [08:15:02]OFD Sender: No OFD packet to send [08:15:07]OFD Sender: No OFD packet to send [08:15:12]OFD Sender: No OFD packet to send [08:15:17]OFD Sender: No OFD packet to send [08:15:22]OFD Sender: No OFD packet to send [08:15:27]OFD Sender: No OFD packet to send [08:15:32]OFD Sender: No OFD packet to send [08:15:37]OFD Sender: No OFD packet to send [08:15:42]OFD Sender: No OFD packet to send [08:15:47]OFD Sender: No OFD packet to send [08:15:52]OFD Sender: No OFD packet to send [08:15:57]OFD Sender: No OFD packet to send [08:16:02]OFD Sender: No OFD packet to send [08:16:07]OFD Sender: No OFD packet to send [08:16:12]OFD Sender: No OFD packet to send [08:16:17]OFD Sender: No OFD packet to send [08:16:22]OFD Sender: No OFD packet to send [08:16:27]OFD Sender: No OFD packet to send [08:16:29]accept exits with 7 [08:16:29]New connection [08:16:29]New thread 3067440484 created [08:16:29]Thread 3067297124 joined [08:16:29]Waiting for new connection... [08:16:29] Sock 7.Parse request [08:16:29]Sock 7.Check first char [08:16:29]Sock 7.First char is OK [08:16:29]request: POST /json_proto HTTP/1.0 [08:16:29]Method: POST [08:16:29]URL: /json_proto [08:16:29]Method is POST - this is cgi request [08:16:29]url: /json_proto [08:16:29]query_string will be loaded in cgi processing [08:16:29]execute_cgi json_proto POST (null) [08:16:29]execute_cgi path=json_proto method=POST [08:16:29]POST find Content-Length [08:16:29]Host: 172.17.40.196:8080 [08:16:29]Content-Length: 742 [08:16:29]Content-Type: application/json [08:16:29] [08:16:29]POST finish read [08:16:29]Found Content-Length = 742 [08:16:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35154", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:29]execute_script... [08:16: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)35154", "tax_sys" : 0, "items" : [ { "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 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:16:29]POST & json_proto [08:16:29]process_json_proto [08:16:29]json parsed OK: [08:16:29]protocol is kg_v1.0 [08:16:29]action value=close_receipt [08:16:29]process_action close_receipt [08:16:29]cmd_close_receipt [08:16:29]MH_GetDate [08:16:29]Write to MH i2c: F0 00 00 D8 33 FA [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: F0 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: F0 09 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: F0 09 00 D8 33 00 E9 99 20 67 5B 68 A1 66 D6 [08:16:29]GetLastDocTimeStamp 1730186943 [08:16:29]current date 1730189801 [08:16:29]FM_GetShiftState [08:16:29]SAM_PROTO_GetShiftState [08:16:29]wFMCommunicate request_size=4 [08:16:29]MH_SAM_APDU [08:16:29]CAPDU: 80 13 01 00 [08:16:29]Write to MH i2c: E2 08 00 D9 33 80 13 01 00 00 00 00 00 89 [08:16:29]Write i2c OK [08:16:29]MH_I2C_Read... [08:16:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:29]Read from MH i2c: E2 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 0E 00 [08:16:29]MH_I2C_Read... [08:16:29]Read from MH i2c: E2 0E 00 D9 33 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FF [08:16:29]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [08:16:29]wFMCommunicate OK [08:16:29]SAM_PROTO_GetShiftState done [08:16:29]FM_GetShiftState done [08:16:29]opened in 1730160317 [08:16:29]opened+sec_in_day 1730246717 [08:16:29]quantity*price = 9500 [08:16:29]sum+1 = 9501 [08:16:29]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 17 29.10.2024 08:16 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37855 ФПД: 114024790560833 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T081641&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37855&fm=114024790560833&tin=02508201610067®Number=0000000000091684&sum=9500 0 [08:16:30]StoreToDocumentArchive [08:16:30]shift 552 fd 37855 [08:16:30]save to /storage/0552/doc_00037855 [08:16:30]save last doc name /storage/0552/doc_00037855 to /storage/kkm_last_doc_name [08:16:30]save OK [08:16:30]Clear old archive folders... [08:16:30]ProcessDocumentItem done err = 0, tmpTLVsize=310 [08:16:30]tlvbuf is 00262CC0 [08:16:30]SAM_PROTO_ClearQueue [08:16:30]wFMCommunicate request_size=4 [08:16:30]MH_SAM_APDU [08:16:30]CAPDU: 80 09 00 00 [08:16:30]Write to MH i2c: E2 08 00 E6 33 80 09 00 00 00 00 00 00 8B [08:16:30]Write i2c OK [08:16:30]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 E6 33 00 90 00 8D [08:16:31]RAPDU: 90 00 [08:16:31]wFMCommunicate OK [08:16:31]SAM_PROTO_ClearQueue done [08:16:31]KKMCreateOFDPacket [08:16:31]OFDProtocolAddRootSTLVToBuf [08:16:31]FM_MakeSignedData [08:16:31]FM_MakeSignedData [08:16:31]SAM_PROTO_SignData [08:16:31]wFMCommunicate request_size=4 [08:16:31]MH_SAM_APDU [08:16:31]CAPDU: 80 0D 01 02 [08:16:31]Write to MH i2c: E2 08 00 E7 33 80 0D 01 02 00 00 00 00 93 [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 E7 33 00 90 00 8E [08:16:31]RAPDU: 90 00 [08:16:31]wFMCommunicate OK [08:16:31]wFMCommunicate request_size=255 [08:16:31]MH_SAM_APDU [08:16:31]CAPDU: 80 0D 02 02 FA 03 00 36 01 1E 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 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 11 00 00 00 F4 03 04 00 E9 99 20 67 0E 04 04 00 28 02 00 [08:16:31]Write to MH i2c: E2 02 01 E8 33 80 0D 02 02 FA 00 03 00 36 01 1E 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 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 11 00 00 00 F4 03 04 00 E9 99 20 67 0E 04 04 00 28 02 00 00 00 65 [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 E8 33 00 90 00 8F [08:16:31]RAPDU: 90 00 [08:16:31]wFMCommunicate OK [08:16:31]wFMCommunicate request_size=69 [08:16:31]MH_SAM_APDU [08:16:31]CAPDU: 80 0D 02 02 40 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DF 93 00 00 35 04 06 00 67 B4 77 23 10 41 [08:16:31]Write to MH i2c: E2 48 00 E9 33 80 0D 02 02 40 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DF 93 00 00 35 04 06 00 67 B4 77 23 10 41 00 00 23 [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 03 00 E9 33 00 90 00 90 [08:16:31]RAPDU: 90 00 [08:16:31]wFMCommunicate OK [08:16:31]wFMCommunicate request_size=4 [08:16:31]MH_SAM_APDU [08:16:31]CAPDU: 80 0D 03 02 [08:16:31]Write to MH i2c: E2 08 00 EA 33 80 0D 03 02 00 00 00 00 98 [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 0B 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 0B 00 EA 33 00 2C BA 55 9B D4 A8 27 D3 90 00 E5 [08:16:31]RAPDU: 2C BA 55 9B D4 A8 27 D3 90 00 [08:16:31]wFMCommunicate OK [08:16:31]SAM_PROTO_SignData done [08:16:31]FM_MakeSignedData done [08:16:31]CreateOFDProtocolMessage [08:16:31]wFMCommunicate request_size=4 [08:16:31]MH_SAM_APDU [08:16:31]CAPDU: 80 11 00 00 [08:16:31]Write to MH i2c: E2 08 00 EB 33 80 11 00 00 00 00 00 00 98 [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:31]Read from MH i2c: E2 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 17 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: E2 17 00 EB 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E8 [08:16:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:16:31]wFMCommunicate OK [08:16:31]CreateOFDProtocolMessage done [08:16:31]OFDSenderStorePacket 37855 [08:16:31]StoreOFDPacket docnum=37855 [08:16:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4A 01 00 00 EF F0 42 01 09 CA 5A 03 01 00 03 00 36 01 1E 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 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 11 00 00 00 F4 03 04 00 E9 99 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DF 93 00 00 35 04 06 00 67 B4 77 23 10 41 2C BA 55 9B D4 A8 27 D3 [08:16:31]CheckFolder [08:16:31]dirname=/storage/ofd_packets [08:16:31]CheckFolder done [08:16:31]ProducePacketName [08:16:31]name=ofd_packets/00037855 [08:16:31]NVStorageSaveData ofd_packets/00037855 [08:16:31]File name is /storage/ofd_packets/00037855 [08:16:31]Write 360 bytes [08:16:31]NVStorageSaveData done [08:16:31]OFDSenderStorePacket done [08:16:31]KKMCreateOFDPacket done [08:16:31]NVStorageSaveData kkm_last_timestamp [08:16:31]File name is /storage/kkm_last_timestamp [08:16:31]Write 4 bytes [08:16:31]NVStorageSaveData done [08:16:31]ExternCall_PrintAddStr [08:16:31]wPrintStart [08:16:31]Write to MH i2c: 01 00 00 EC 33 1F [08:16:31]Write i2c OK [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: 01 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: 01 07 00 [08:16:31]MH_I2C_Read... [08:16:31]Read from MH i2c: 01 07 00 EC 33 00 00 00 00 00 FF 0F 34 [08:16:31]RasterBufferAndPrint [08:16:31]line Счет N : (3)35154 [08:16:31]line ИНН: 02508201610067 [08:16:31]line Контрольно-Кассовый Чек [08:16:31]line ПРОДАЖА [08:16:31]line Товар: 4607015232868 [08:16:31]line Вафли Яшкино в шоколадной глазури 200г [08:16:31]line 1.000 * 95.00 [08:16:31]line = 95.00 [08:16:31]line НДС 12% НСП 1% [08:16:31]line > о реализуемом товаре [08:16:31]line ИТОГО: 95.00 [08:16:31]line НСП 1% : 0.84 [08:16:31]line НДС 12% : 10.09 [08:16:31]line Наличными: 95.00 [08:16:31]line Безнал.: 0.00 [08:16:31]line Место: АЗС № 126 "Партнер Нефть" [08:16:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:16:31]line СНО: Общий режим [08:16:31]line Чек 17 29.10.2024 08:16 [08:16:31]line Смена: 552 ФФД: 1.0 [08:16:31]line ЗНМ: 0300000092 [08:16:31]line РНМ: 0000000000091684 [08:16:31]line Версия ККМ: 001 [08:16:31]line ФМ: 0000000000871841 [08:16:31]line ФД: 37855 [08:16:31]line ФПД: 114024790560833 [08:16:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T081641&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37855&fm=114024790560833&tin=02508201610067®Number=0000000000091684&sum=9500 [08:16:31]line 0 [08:16:31]OFD Sender: Processing packet 37855 [packets to send 42, broken 41] [08:16:31]ProducePacketName [08:16:31]name=ofd_packets/00037855 [08:16:31]OFD Sender: To server: pG, [08:16:31]CommunicateWithHost lk.salyk.kg:30040 [08:16:31]ConnectInit lk.salyk.kg [08:16:31]written 0, free lines is 4095 [08:16:32]Connected sock=10 [08:16:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4A 01 00 00 EF F0 42 01 09 CA 5A 03 01 00 03 00 36 01 1E 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 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 11 00 00 00 F4 03 04 00 E9 99 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DF 93 00 00 35 04 06 00 67 B4 77 23 10 41 2C BA 55 9B D4 A8 27 D3 [08:16:32]Write to MH i2c: 01 00 00 15 34 49 [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: 01 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: 01 07 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: 01 07 00 15 34 00 00 00 00 00 C5 0C 21 [08:16:32]RasterBufferAndPrint [08:16:32]line [08:16:32]line [08:16:32]line [08:16:32]line [08:16:32]line [08:16:32]written 0, free lines is 3276 [08:16:32]MH_Cut [08:16:32]Write to MH i2c: D1 01 00 1C 34 01 22 [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: D1 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: D1 01 00 [08:16:32]MH_I2C_Read... [08:16:32]Read from MH i2c: D1 01 00 1C 34 00 21 [08:16:32]Write to MH i2c: 01 00 00 1D 34 51 [08:16:32]Write i2c OK [08:16:32]MH_I2C_Read... [08:16:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 60 DB 47 00 AC D1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 DF 93 00 00 F4 03 04 00 DC 44 20 67 B6 04 01 00 00 8C 3D D9 1D F1 BA 75 2E [08:16:32]CommunicateWithHost err = 0 [08:16:32]CheckOFDResponse [08:16:32]1017 (14) - 77093643461234 [08:16:32]1041 (16) - 0000000000871841 [08:16:32]1040 (4) - 37855 [08:16:32]1012 (4) - 29.10.2024 02:13 [08:16:32]1206 (1) - 0 [08:16:32]OFD Sender: Remove packet 37855 [08:16:32]ProducePacketName [08:16:32]name=ofd_packets/00037855 [08:16:32]NVStorageDeleteData [08:16:33]OFD Sender: No OFD packet to send [08:16:33]*** Cut start [08:16:33]*** Partial cut [08:16:33]*** CUTSNS_PIN = 1 [08:16:33]*** CUTSNS_PIN = 0 [08:16:33]*** Brake cut motor [08:16:33]Read from MH i2c: 01 [08:16:33]MH_I2C_Read... [08:16:33]*** Stop cut motor [08:16:33]*** Cut end [08:16:33]Read from MH i2c: 01 07 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: 01 07 00 1D 34 00 00 00 00 00 FF 0F 66 [08:16:33]process_action close_receipt done [08:16:33]requested_data is exist [08:16:33]produce_requested_data [08:16:33]requested_item fm.sn is exist - process it [08:16:33]wFMCommunicate request_size=4 [08:16:33]MH_SAM_APDU [08:16:33]CAPDU: 80 11 00 00 [08:16:33]Write to MH i2c: E2 08 00 1E 34 80 11 00 00 00 00 00 00 CC [08:16:33]Write i2c OK [08:16:33]MH_I2C_Read... [08:16:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:16:33]Read from MH i2c: E2 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 17 00 [08:16:33]MH_I2C_Read... [08:16:33]Read from MH i2c: E2 17 00 1E 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [08:16:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:16:33]wFMCommunicate OK [08:16:33]requested_item fd.num is exist - process it [08:16:33]SAM_PROTO_GetFieldsCounters [08:16:33]wFMCommunicate request_size=4 [08:16:33]MH_SAM_APDU [08:16:33]CAPDU: 80 13 00 00 [08:16:33]Write to MH i2c: E2 08 00 1F 34 80 13 00 00 00 00 00 00 CF [08:16:33]Write i2c OK [08:16:33]MH_I2C_Read... [08:16:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:16:34]Read from MH i2c: E2 [08:16:34]MH_I2C_Read... [08:16:34]Read from MH i2c: E2 62 00 [08:16:34]MH_I2C_Read... [08:16:34]Read from MH i2c: E2 62 00 1F 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 BF [08:16:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 DF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:16:34]wFMCommunicate OK [08:16:34]SAM_PROTO_GetFieldsCounters done [08:16:34]requested_item shift.num is exist - process it [08:16:34]requested_item shift.opened is exist - process it [08:16:34]req_shift_opened [08:16:34]FM_GetShiftState [08:16:34]SAM_PROTO_GetShiftState [08:16:34]wFMCommunicate request_size=4 [08:16:34]MH_SAM_APDU [08:16:34]CAPDU: 80 13 01 00 [08:16:34]Write to MH i2c: E2 08 00 20 34 80 13 01 00 00 00 00 00 D1 [08:16:34]Write i2c OK [08:16:34]MH_I2C_Read... [08:16:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:16:34]Read from MH i2c: E2 [08:16:34]MH_I2C_Read... [08:16:34]Read from MH i2c: E2 0E 00 [08:16:34]MH_I2C_Read... [08:16:34]Read from MH i2c: E2 0E 00 20 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 47 [08:16:34]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [08:16:34]wFMCommunicate OK [08:16:34]SAM_PROTO_GetShiftState done [08:16:34]FM_GetShiftState done [08:16:34]req_shift_opened done [08:16:34]requested_item shift.open_date is exist - process it [08:16:34]req_shift_open_date [08:16:34]req_shift_open_date done [08:16:34]produce_requested_data done [08:16:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37855,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [08:16:34]process_action_free close_receipt [08:16:34]json_value_free [08:16:34]json_value_free done [08:16:34]process_json_proto returns [08:16:34]Send response to host [08:16:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37855,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [08:16:34]free response buf [08:16:34]execute_script done [08:16:34]execute_script returns [08:16:34]free content buf [08:16:34]Sock 7.Close socket [08:16:34]Sock 7.Thread stoped [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:01]accept exits with 9 [08:25:01]New connection [08:25:01]New thread 3067297124 created [08:25:01]Thread 3067440484 joined [08:25:01]Waiting for new connection... [08:25:01] Sock 9.Parse request [08:25:01]Sock 9.Check first char [08:25:01]Sock 9.First char is OK [08:25:01]request: POST /json_proto HTTP/1.0 [08:25:01]Method: POST [08:25:01]URL: /json_proto [08:25:01]Method is POST - this is cgi request [08:25:01]url: /json_proto [08:25:01]query_string will be loaded in cgi processing [08:25:01]execute_cgi json_proto POST (null) [08:25:01]execute_cgi path=json_proto method=POST [08:25:01]POST find Content-Length [08:25:01]Host: 172.17.40.196:8080 [08:25:01]Content-Length: 644 [08:25:01]Content-Type: application/json [08:25:01] [08:25:01]POST finish read [08:25:01]Found Content-Length = 644 [08:25:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35155", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:01]execute_script... [08:25:01]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35155", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [08:25:01]POST & json_proto [08:25:01]process_json_proto [08:25:01]json parsed OK: [08:25:01]protocol is kg_v1.0 [08:25:01]action value=close_receipt [08:25:01]process_action close_receipt [08:25:01]cmd_close_receipt [08:25:01]MH_GetDate [08:25:01]Write to MH i2c: F0 00 00 21 34 44 [08:25:01]Write i2c OK [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: F0 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: F0 09 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: F0 09 00 21 34 00 E9 9B 20 67 5B 68 A1 66 22 [08:25:01]GetLastDocTimeStamp 1730189801 [08:25:01]current date 1730190313 [08:25:01]FM_GetShiftState [08:25:01]SAM_PROTO_GetShiftState [08:25:01]wFMCommunicate request_size=4 [08:25:01]MH_SAM_APDU [08:25:01]CAPDU: 80 13 01 00 [08:25:01]Write to MH i2c: E2 08 00 22 34 80 13 01 00 00 00 00 00 D3 [08:25:01]Write i2c OK [08:25:01]MH_I2C_Read... [08:25:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:01]Read from MH i2c: E2 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 0E 00 [08:25:01]MH_I2C_Read... [08:25:01]Read from MH i2c: E2 0E 00 22 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 49 [08:25:01]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [08:25:01]wFMCommunicate OK [08:25:01]SAM_PROTO_GetShiftState done [08:25:01]FM_GetShiftState done [08:25:01]opened in 1730160317 [08:25:01]opened+sec_in_day 1730246717 [08:25:01]quantity*price = 6500 [08:25:01]sum+1 = 6501 [08:25:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 18 29.10.2024 08:25 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37856 ФПД: 271854901698766 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T082513&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37856&fm=271854901698766&tin=02508201610067®Number=0000000000091684&sum=6500 0 [08:25:02]StoreToDocumentArchive [08:25:02]shift 552 fd 37856 [08:25:02]save to /storage/0552/doc_00037856 [08:25:02]save last doc name /storage/0552/doc_00037856 to /storage/kkm_last_doc_name [08:25:02]save OK [08:25:02]Clear old archive folders... [08:25:02]ProcessDocumentItem done err = 0, tmpTLVsize=272 [08:25:02]tlvbuf is 002E58D0 [08:25:02]SAM_PROTO_ClearQueue [08:25:02]wFMCommunicate request_size=4 [08:25:02]MH_SAM_APDU [08:25:02]CAPDU: 80 09 00 00 [08:25:02]Write to MH i2c: E2 08 00 2F 34 80 09 00 00 00 00 00 00 D5 [08:25:02]Write i2c OK [08:25:02]MH_I2C_Read... [08:25:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:25:02]Read from MH i2c: E2 [08:25:02]MH_I2C_Read... [08:25:02]Read from MH i2c: E2 03 00 [08:25:02]MH_I2C_Read... [08:25:02]Read from MH i2c: E2 03 00 2F 34 00 90 00 D7 [08:25:02]RAPDU: 90 00 [08:25:02]wFMCommunicate OK [08:25:02]SAM_PROTO_ClearQueue done [08:25:02]KKMCreateOFDPacket [08:25:02]OFDProtocolAddRootSTLVToBuf [08:25:02]FM_MakeSignedData [08:25:02]FM_MakeSignedData [08:25:02]SAM_PROTO_SignData [08:25:02]wFMCommunicate request_size=4 [08:25:02]MH_SAM_APDU [08:25:02]CAPDU: 80 0D 01 02 [08:25:02]Write to MH i2c: E2 08 00 30 34 80 0D 01 02 00 00 00 00 DD [08:25:02]Write i2c OK [08:25:02]MH_I2C_Read... [08:25:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:25:03]Read from MH i2c: E2 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 30 34 00 90 00 D8 [08:25:03]RAPDU: 90 00 [08:25:03]wFMCommunicate OK [08:25:03]wFMCommunicate request_size=255 [08:25:03]MH_SAM_APDU [08:25:03]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 E9 9B 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [08:25:03]Write to MH i2c: E2 02 01 31 34 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 E9 9B 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 73 [08:25:03]Write i2c OK [08:25:03]MH_I2C_Read... [08:25:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:03]Read from MH i2c: E2 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 31 34 00 90 00 D9 [08:25:03]RAPDU: 90 00 [08:25:03]wFMCommunicate OK [08:25:03]wFMCommunicate request_size=31 [08:25:03]MH_SAM_APDU [08:25:03]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 E0 93 00 00 35 04 06 00 F7 40 26 D8 A0 CE [08:25:03]Write to MH i2c: E2 22 00 32 34 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 E0 93 00 00 35 04 06 00 F7 40 26 D8 A0 CE 00 00 1E [08:25:03]Write i2c OK [08:25:03]MH_I2C_Read... [08:25:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:25:03]Read from MH i2c: E2 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 03 00 32 34 00 90 00 DA [08:25:03]RAPDU: 90 00 [08:25:03]wFMCommunicate OK [08:25:03]wFMCommunicate request_size=4 [08:25:03]MH_SAM_APDU [08:25:03]CAPDU: 80 0D 03 02 [08:25:03]Write to MH i2c: E2 08 00 33 34 80 0D 03 02 00 00 00 00 E2 [08:25:03]Write i2c OK [08:25:03]MH_I2C_Read... [08:25:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:25:03]Read from MH i2c: E2 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 0B 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 0B 00 33 34 00 F8 F2 4F BC BA 6E 7F C0 90 00 3F [08:25:03]RAPDU: F8 F2 4F BC BA 6E 7F C0 90 00 [08:25:03]wFMCommunicate OK [08:25:03]SAM_PROTO_SignData done [08:25:03]FM_MakeSignedData done [08:25:03]CreateOFDProtocolMessage [08:25:03]wFMCommunicate request_size=4 [08:25:03]MH_SAM_APDU [08:25:03]CAPDU: 80 11 00 00 [08:25:03]Write to MH i2c: E2 08 00 34 34 80 11 00 00 00 00 00 00 E2 [08:25:03]Write i2c OK [08:25:03]MH_I2C_Read... [08:25:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:03]Read from MH i2c: E2 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 17 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: E2 17 00 34 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 32 [08:25:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:25:03]wFMCommunicate OK [08:25:03]CreateOFDProtocolMessage done [08:25:03]OFDSenderStorePacket 37856 [08:25:03]StoreOFDPacket docnum=37856 [08:25:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 9B 80 1C 01 4A 7F 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 E9 9B 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E0 93 00 00 35 04 06 00 F7 40 26 D8 A0 CE F8 F2 4F BC BA 6E 7F C0 [08:25:03]CheckFolder [08:25:03]dirname=/storage/ofd_packets [08:25:03]CheckFolder done [08:25:03]ProducePacketName [08:25:03]name=ofd_packets/00037856 [08:25:03]NVStorageSaveData ofd_packets/00037856 [08:25:03]File name is /storage/ofd_packets/00037856 [08:25:03]Write 322 bytes [08:25:03]NVStorageSaveData done [08:25:03]OFDSenderStorePacket done [08:25:03]KKMCreateOFDPacket done [08:25:03]NVStorageSaveData kkm_last_timestamp [08:25:03]File name is /storage/kkm_last_timestamp [08:25:03]Write 4 bytes [08:25:03]NVStorageSaveData done [08:25:03]ExternCall_PrintAddStr [08:25:03]wPrintStart [08:25:03]Write to MH i2c: 01 00 00 35 34 69 [08:25:03]Write i2c OK [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: 01 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: 01 07 00 [08:25:03]MH_I2C_Read... [08:25:03]Read from MH i2c: 01 07 00 35 34 00 00 00 00 00 FF 0F 7E [08:25:03]RasterBufferAndPrint [08:25:03]line Счет N : (3)35155 [08:25:03]line ИНН: 02508201610067 [08:25:03]line Контрольно-Кассовый Чек [08:25:03]line ПРОДАЖА [08:25:03]line Товар: 47011656 [08:25:03]line Водка Пшеничная 0,1л [08:25:03]line 1.000 * 65.00 [08:25:03]line = 65.00 [08:25:03]line НДС 12% НСП 1% [08:25:03]line > о реализуемом товаре [08:25:03]line ИТОГО: 65.00 [08:25:03]line НСП 1% : 0.57 [08:25:03]line НДС 12% : 6.90 [08:25:03]line Наличными: 65.00 [08:25:03]line Безнал.: 0.00 [08:25:03]line Место: АЗС № 126 "Партнер Нефть" [08:25:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [08:25:03]line СНО: Общий режим [08:25:03]line Чек 18 29.10.2024 08:25 [08:25:03]line Смена: 552 ФФД: 1.0 [08:25:03]line ЗНМ: 0300000092 [08:25:03]line РНМ: 0000000000091684 [08:25:03]line Версия ККМ: 001 [08:25:03]line ФМ: 0000000000871841 [08:25:03]line ФД: 37856 [08:25:03]line ФПД: 271854901698766 [08:25:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T082513&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37856&fm=271854901698766&tin=02508201610067®Number=0000000000091684&sum=6500 [08:25:03]line 0 [08:25:03]OFD Sender: Processing packet 37856 [packets to send 42, broken 41] [08:25:03]ProducePacketName [08:25:03]name=ofd_packets/00037856 [08:25:03]OFD Sender: To server: pG, [08:25:03]CommunicateWithHost lk.salyk.kg:30040 [08:25:03]ConnectInit lk.salyk.kg [08:25:03]written 0, free lines is 4095 [08:25:04]Connected sock=10 [08:25:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 9B 80 1C 01 4A 7F 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 12 00 00 00 F4 03 04 00 E9 9B 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E0 93 00 00 35 04 06 00 F7 40 26 D8 A0 CE F8 F2 4F BC BA 6E 7F C0 [08:25:04]Write to MH i2c: 01 00 00 5D 34 91 [08:25:04]Write i2c OK [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: 01 [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: 01 07 00 [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: 01 07 00 5D 34 00 00 00 00 00 E3 0C 87 [08:25:04]RasterBufferAndPrint [08:25:04]line [08:25:04]line [08:25:04]line [08:25:04]line [08:25:04]line [08:25:04]written 0, free lines is 3306 [08:25:04]MH_Cut [08:25:04]Write to MH i2c: D1 01 00 64 34 01 6A [08:25:04]Write i2c OK [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: D1 [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: D1 01 00 [08:25:04]MH_I2C_Read... [08:25:04]Read from MH i2c: D1 01 00 64 34 00 69 [08:25:04]Write to MH i2c: 01 00 00 65 34 99 [08:25:04]Write i2c OK [08:25:04]MH_I2C_Read... [08:25:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 05 D7 47 00 83 2D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E0 93 00 00 F4 03 04 00 DC 46 20 67 B6 04 01 00 00 AA A1 FA FD FB E3 63 24 [08:25:04]CommunicateWithHost err = 0 [08:25:04]CheckOFDResponse [08:25:04]1017 (14) - 77093643461234 [08:25:04]1041 (16) - 0000000000871841 [08:25:04]1040 (4) - 37856 [08:25:04]1012 (4) - 29.10.2024 02:22 [08:25:04]1206 (1) - 0 [08:25:04]OFD Sender: Remove packet 37856 [08:25:04]ProducePacketName [08:25:04]name=ofd_packets/00037856 [08:25:04]NVStorageDeleteData [08:25:05]*** Cut start [08:25:05]*** Partial cut [08:25:05]*** CUTSNS_PIN = 1 [08:25:05]*** CUTSNS_PIN = 0 [08:25:05]OFD Sender: No OFD packet to send [08:25:05]*** Brake cut motor [08:25:05]Read from MH i2c: 01 [08:25:05]MH_I2C_Read... [08:25:05]*** Stop cut motor [08:25:05]*** Cut end [08:25:05]Read from MH i2c: 01 07 00 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: 01 07 00 65 34 00 00 00 00 00 FF 0F AE [08:25:05]process_action close_receipt done [08:25:05]requested_data is exist [08:25:05]produce_requested_data [08:25:05]requested_item fm.sn is exist - process it [08:25:05]wFMCommunicate request_size=4 [08:25:05]MH_SAM_APDU [08:25:05]CAPDU: 80 11 00 00 [08:25:05]Write to MH i2c: E2 08 00 66 34 80 11 00 00 00 00 00 00 14 [08:25:05]Write i2c OK [08:25:05]MH_I2C_Read... [08:25:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:25:05]Read from MH i2c: E2 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 17 00 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 17 00 66 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 64 [08:25:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [08:25:05]wFMCommunicate OK [08:25:05]requested_item fd.num is exist - process it [08:25:05]SAM_PROTO_GetFieldsCounters [08:25:05]wFMCommunicate request_size=4 [08:25:05]MH_SAM_APDU [08:25:05]CAPDU: 80 13 00 00 [08:25:05]Write to MH i2c: E2 08 00 67 34 80 13 00 00 00 00 00 00 17 [08:25:05]Write i2c OK [08:25:05]MH_I2C_Read... [08:25:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:25:05]Read from MH i2c: E2 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 62 00 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 62 00 67 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 0B [08:25:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:25:05]wFMCommunicate OK [08:25:05]SAM_PROTO_GetFieldsCounters done [08:25:05]requested_item shift.num is exist - process it [08:25:05]requested_item shift.opened is exist - process it [08:25:05]req_shift_opened [08:25:05]FM_GetShiftState [08:25:05]SAM_PROTO_GetShiftState [08:25:05]wFMCommunicate request_size=4 [08:25:05]MH_SAM_APDU [08:25:05]CAPDU: 80 13 01 00 [08:25:05]Write to MH i2c: E2 08 00 68 34 80 13 01 00 00 00 00 00 19 [08:25:05]Write i2c OK [08:25:05]MH_I2C_Read... [08:25:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:25:05]Read from MH i2c: E2 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 0E 00 [08:25:05]MH_I2C_Read... [08:25:05]Read from MH i2c: E2 0E 00 68 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 8F [08:25:05]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [08:25:05]wFMCommunicate OK [08:25:05]SAM_PROTO_GetShiftState done [08:25:05]FM_GetShiftState done [08:25:05]req_shift_opened done [08:25:05]requested_item shift.open_date is exist - process it [08:25:05]req_shift_open_date [08:25:05]req_shift_open_date done [08:25:05]produce_requested_data done [08:25:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37856,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [08:25:05]process_action_free close_receipt [08:25:05]json_value_free [08:25:05]json_value_free done [08:25:05]process_json_proto returns [08:25:05]Send response to host [08:25:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37856,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [08:25:05]free response buf [08:25:05]execute_script done [08:25:05]execute_script returns [08:25:05]free content buf [08:25:05]Sock 9.Close socket [08:25:05]Sock 9.Thread stoped [08:25:10]OFD Sender: No OFD packet to send [08:25:15]OFD Sender: No OFD packet to send [08:25:20]OFD Sender: No OFD packet to send [08:25:25]OFD Sender: No OFD packet to send [08:25:30]OFD Sender: No OFD packet to send [08:25:35]OFD Sender: No OFD packet to send [08:25:40]OFD Sender: No OFD packet to send [08:25:45]OFD Sender: No OFD packet to send [08:25:50]OFD Sender: No OFD packet to send [08:25:55]OFD Sender: No OFD packet to send [08:26:00]OFD Sender: No OFD packet to send [08:26:05]OFD Sender: No OFD packet to send [08:26:10]OFD Sender: No OFD packet to send [08:26:15]OFD Sender: No OFD packet to send [08:26:20]OFD Sender: No OFD packet to send [08:26:25]OFD Sender: No OFD packet to send [08:26:30]OFD Sender: No OFD packet to send [08:26:35]OFD Sender: No OFD packet to send [08:26:40]OFD Sender: No OFD packet to send [08:26:45]OFD Sender: No OFD packet to send [08:26:50]OFD Sender: No OFD packet to send [08:26:55]OFD Sender: No OFD packet to send [08:27:00]OFD Sender: No OFD packet to send [08:27:05]OFD Sender: No OFD packet to send [08:27:10]OFD Sender: No OFD packet to send [08:27:15]OFD Sender: No OFD packet to send [08:27:20]OFD Sender: No OFD packet to send [08:27:25]OFD Sender: No OFD packet to send [08:27:30]OFD Sender: No OFD packet to send [08:27:35]OFD Sender: No OFD packet to send [08:27:40]OFD Sender: No OFD packet to send [08:27:45]OFD Sender: No OFD packet to send [08:27:50]OFD Sender: No OFD packet to send [08:27:55]OFD Sender: No OFD packet to send [08:28:00]OFD Sender: No OFD packet to send [08:28:05]OFD Sender: No OFD packet to send [08:28:10]OFD Sender: No OFD packet to send [08:28:15]OFD Sender: No OFD packet to send [08:28:20]OFD Sender: No OFD packet to send [08:28:25]OFD Sender: No OFD packet to send [08:28:30]OFD Sender: No OFD packet to send [08:28:35]OFD Sender: No OFD packet to send [08:28:40]OFD Sender: No OFD packet to send [08:28:45]OFD Sender: No OFD packet to send [08:28:50]OFD Sender: No OFD packet to send [08:28:55]OFD Sender: No OFD packet to send [08:29:00]OFD Sender: No OFD packet to send [08:29:05]OFD Sender: No OFD packet to send [08:29:10]OFD Sender: No OFD packet to send [08:29:15]OFD Sender: No OFD packet to send [08:29:20]OFD Sender: No OFD packet to send [08:29:25]OFD Sender: No OFD packet to send [08:29:30]OFD Sender: No OFD packet to send [08:29:35]OFD Sender: No OFD packet to send [08:29:40]OFD Sender: No OFD packet to send [08:29:45]OFD Sender: No OFD packet to send [08:29:50]OFD Sender: No OFD packet to send [08:29:55]OFD Sender: No OFD packet to send [08:30:00]OFD Sender: No OFD packet to send [08:30:05]OFD Sender: No OFD packet to send [08:30:10]OFD Sender: No OFD packet to send [08:30:15]OFD Sender: No OFD packet to send [08:30:20]OFD Sender: No OFD packet to send [08:30:25]OFD Sender: No OFD packet to send [08:30:30]OFD Sender: No OFD packet to send [08:30:35]OFD Sender: No OFD packet to send [08:30:40]OFD Sender: No OFD packet to send [08:30:45]OFD Sender: No OFD packet to send [08:30:50]OFD Sender: No OFD packet to send [08:30:55]OFD Sender: No OFD packet to send [08:31:00]OFD Sender: No OFD packet to send [08:31:05]OFD Sender: No OFD packet to send [08:31:10]OFD Sender: No OFD packet to send [08:31:15]OFD Sender: No OFD packet to send [08:31:20]OFD Sender: No OFD packet to send [08:31:25]OFD Sender: No OFD packet to send [08:31:30]OFD Sender: No OFD packet to send [08:31:35]OFD Sender: No OFD packet to send [08:31:40]OFD Sender: No OFD packet to send [08:31:45]OFD Sender: No OFD packet to send [08:31:50]OFD Sender: No OFD packet to send [08:31:55]OFD Sender: No OFD packet to send [08:32:00]OFD Sender: No OFD packet to send [08:32:05]OFD Sender: No OFD packet to send [08:32:10]OFD Sender: No OFD packet to send [08:32:15]OFD Sender: No OFD packet to send [08:32:20]OFD Sender: No OFD packet to send [08:32:25]OFD Sender: No OFD packet to send [08:32:30]OFD Sender: No OFD packet to send [08:32:35]OFD Sender: No OFD packet to send [08:32:40]OFD Sender: No OFD packet to send [08:32:45]OFD Sender: No OFD packet to send [08:32:50]OFD Sender: No OFD packet to send [08:32:55]OFD Sender: No OFD packet to send [08:33:00]OFD Sender: No OFD packet to send [08:33:05]OFD Sender: No OFD packet to send [08:33:10]OFD Sender: No OFD packet to send [08:33:15]OFD Sender: No OFD packet to send [08:33:20]OFD Sender: No OFD packet to send [08:33:25]OFD Sender: No OFD packet to send [08:33:30]OFD Sender: No OFD packet to send [08:33:35]OFD Sender: No OFD packet to send [08:33:40]OFD Sender: No OFD packet to send [08:33:45]OFD Sender: No OFD packet to send [08:33:50]OFD Sender: No OFD packet to send [08:33:55]OFD Sender: No OFD packet to send [08:34:00]OFD Sender: No OFD packet to send [08:34:05]OFD Sender: No OFD packet to send [08:34:10]OFD Sender: No OFD packet to send [08:34:15]OFD Sender: No OFD packet to send [08:34:20]OFD Sender: No OFD packet to send [08:34:25]OFD Sender: No OFD packet to send [08:34:30]OFD Sender: No OFD packet to send [08:34:35]OFD Sender: No OFD packet to send [08:34:40]OFD Sender: No OFD packet to send [08:34:45]OFD Sender: No OFD packet to send [08:34:50]OFD Sender: No OFD packet to send [08:34:55]OFD Sender: No OFD packet to send [08:35:00]OFD Sender: No OFD packet to send [08:35:05]OFD Sender: No OFD packet to send [08:35:10]OFD Sender: No OFD packet to send [08:35:15]OFD Sender: No OFD packet to send [08:35:20]OFD Sender: No OFD packet to send [08:35:25]OFD Sender: No OFD packet to send [08:35:30]OFD Sender: No OFD packet to send [08:35:35]OFD Sender: No OFD packet to send [08:35:40]OFD Sender: No OFD packet to send [08:35:45]OFD Sender: No OFD packet to send [08:35:50]OFD Sender: No OFD packet to send [08:35:55]OFD Sender: No OFD packet to send [08:36:00]OFD Sender: No OFD packet to send [08:36:05]OFD Sender: No OFD packet to send [08:36:10]OFD Sender: No OFD packet to send [08:36:15]OFD Sender: No OFD packet to send [08:36:20]OFD Sender: No OFD packet to send [08:36:25]OFD Sender: No OFD packet to send [08:36:30]OFD Sender: No OFD packet to send [08:36:35]OFD Sender: No OFD packet to send [08:36:40]OFD Sender: No OFD packet to send [08:36:45]OFD Sender: No OFD packet to send [08:36:50]OFD Sender: No OFD packet to send [08:36:55]OFD Sender: No OFD packet to send [08:37:00]OFD Sender: No OFD packet to send [08:37:05]OFD Sender: No OFD packet to send [08:37:10]OFD Sender: No OFD packet to send [08:37:15]OFD Sender: No OFD packet to send [08:37:20]OFD Sender: No OFD packet to send [08:37:25]OFD Sender: No OFD packet to send [08:37:30]OFD Sender: No OFD packet to send [08:37:35]OFD Sender: No OFD packet to send [08:37:40]OFD Sender: No OFD packet to send [08:37:45]OFD Sender: No OFD packet to send [08:37:50]OFD Sender: No OFD packet to send [08:37:55]OFD Sender: No OFD packet to send [08:38:00]OFD Sender: No OFD packet to send [08:38:05]OFD Sender: No OFD packet to send [08:38:10]OFD Sender: No OFD packet to send [08:38:15]OFD Sender: No OFD packet to send [08:38:20]OFD Sender: No OFD packet to send [08:38:25]OFD Sender: No OFD packet to send [08:38:30]OFD Sender: No OFD packet to send [08:38:35]OFD Sender: No OFD packet to send [08:38:40]OFD Sender: No OFD packet to send [08:38:45]OFD Sender: No OFD packet to send [08:38:50]OFD Sender: No OFD packet to send [08:38:55]OFD Sender: No OFD packet to send [08:39:00]OFD Sender: No OFD packet to send [08:39:05]OFD Sender: No OFD packet to send [08:39:10]OFD Sender: No OFD packet to send [08:39:15]OFD Sender: No OFD packet to send [08:39:20]OFD Sender: No OFD packet to send [08:39:25]OFD Sender: No OFD packet to send [08:39:30]OFD Sender: No OFD packet to send [08:39:35]OFD Sender: No OFD packet to send [08:39:40]OFD Sender: No OFD packet to send [08:39:45]OFD Sender: No OFD packet to send [08:39:50]OFD Sender: No OFD packet to send [08:39:55]OFD Sender: No OFD packet to send [08:40:00]OFD Sender: No OFD packet to send [08:40:05]OFD Sender: No OFD packet to send [08:40:10]OFD Sender: No OFD packet to send [08:40:15]OFD Sender: No OFD packet to send [08:40:20]OFD Sender: No OFD packet to send [08:40:25]OFD Sender: No OFD packet to send [08:40:30]OFD Sender: No OFD packet to send [08:40:35]OFD Sender: No OFD packet to send [08:40:40]OFD Sender: No OFD packet to send [08:40:45]OFD Sender: No OFD packet to send [08:40:50]OFD Sender: No OFD packet to send [08:40:55]OFD Sender: No OFD packet to send [08:41:00]OFD Sender: No OFD packet to send [08:41:05]OFD Sender: No OFD packet to send [08:41:10]OFD Sender: No OFD packet to send [08:41:15]OFD Sender: No OFD packet to send [08:41:20]OFD Sender: No OFD packet to send [08:41:26]OFD Sender: No OFD packet to send [08:41:31]OFD Sender: No OFD packet to send [08:41:36]OFD Sender: No OFD packet to send [08:41:41]OFD Sender: No OFD packet to send [08:41:46]OFD Sender: No OFD packet to send [08:41:51]OFD Sender: No OFD packet to send [08:41:56]OFD Sender: No OFD packet to send [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:21]OFD Sender: No OFD packet to send [08:51:26]OFD Sender: No OFD packet to send [08:51:31]OFD Sender: No OFD packet to send [08:51:36]OFD Sender: No OFD packet to send [08:51:41]OFD Sender: No OFD packet to send [08:51:46]OFD Sender: No OFD packet to send [08:51:51]OFD Sender: No OFD packet to send [08:51:56]OFD Sender: No OFD packet to send [08:52:01]OFD Sender: No OFD packet to send [08:52:06]OFD Sender: No OFD packet to send [08:52:11]OFD Sender: No OFD packet to send [08:52:16]OFD Sender: No OFD packet to send [08:52:21]OFD Sender: No OFD packet to send [08:52:26]OFD Sender: No OFD packet to send [08:52:31]OFD Sender: No OFD packet to send [08:52:36]OFD Sender: No OFD packet to send [08:52:41]OFD Sender: No OFD packet to send [08:52:46]OFD Sender: No OFD packet to send [08:52:51]OFD Sender: No OFD packet to send [08:52:56]OFD Sender: No OFD packet to send [08:53:01]OFD Sender: No OFD packet to send [08:53:06]OFD Sender: No OFD packet to send [08:53:11]OFD Sender: No OFD packet to send [08:53:16]OFD Sender: No OFD packet to send [08:53:21]OFD Sender: No OFD packet to send [08:53:26]OFD Sender: No OFD packet to send [08:53:31]OFD Sender: No OFD packet to send [08:53:36]OFD Sender: No OFD packet to send [08:53:41]OFD Sender: No OFD packet to send [08:53:46]OFD Sender: No OFD packet to send [08:53:51]OFD Sender: No OFD packet to send [08:53:56]OFD Sender: No OFD packet to send [08:54:01]OFD Sender: No OFD packet to send [08:54:06]OFD Sender: No OFD packet to send [08:54:11]OFD Sender: No OFD packet to send [08:54:16]OFD Sender: No OFD packet to send [08:54:21]OFD Sender: No OFD packet to send [08:54:26]OFD Sender: No OFD packet to send [08:54:31]OFD Sender: No OFD packet to send [08:54:36]OFD Sender: No OFD packet to send [08:54:41]OFD Sender: No OFD packet to send [08:54:46]OFD Sender: No OFD packet to send [08:54:51]OFD Sender: No OFD packet to send [08:54:56]OFD Sender: No OFD packet to send [08:55:01]OFD Sender: No OFD packet to send [08:55:06]OFD Sender: No OFD packet to send [08:55:11]OFD Sender: No OFD packet to send [08:55:16]OFD Sender: No OFD packet to send [08:55:21]OFD Sender: No OFD packet to send [08:55:26]OFD Sender: No OFD packet to send [08:55:31]OFD Sender: No OFD packet to send [08:55:36]OFD Sender: No OFD packet to send [08:55:41]OFD Sender: No OFD packet to send [08:55:46]OFD Sender: No OFD packet to send [08:55:51]OFD Sender: No OFD packet to send [08:55:56]OFD Sender: No OFD packet to send [08:56:01]OFD Sender: No OFD packet to send [08:56:06]OFD Sender: No OFD packet to send [08:56:11]OFD Sender: No OFD packet to send [08:56:16]OFD Sender: No OFD packet to send [08:56:21]OFD Sender: No OFD packet to send [08:56:26]OFD Sender: No OFD packet to send [08:56:31]OFD Sender: No OFD packet to send [08:56:36]OFD Sender: No OFD packet to send [08:56:41]OFD Sender: No OFD packet to send [08:56:46]OFD Sender: No OFD packet to send [08:56:51]OFD Sender: No OFD packet to send [08:56:56]OFD Sender: No OFD packet to send [08:57:01]OFD Sender: No OFD packet to send [08:57:06]OFD Sender: No OFD packet to send [08:57:11]OFD Sender: No OFD packet to send [08:57:16]OFD Sender: No OFD packet to send [08:57:21]OFD Sender: No OFD packet to send [08:57:26]OFD Sender: No OFD packet to send [08:57:31]OFD Sender: No OFD packet to send [08:57:36]OFD Sender: No OFD packet to send [08:57:41]OFD Sender: No OFD packet to send [08:57:46]OFD Sender: No OFD packet to send [08:57:51]OFD Sender: No OFD packet to send [08:57:56]OFD Sender: No OFD packet to send [08:58:01]OFD Sender: No OFD packet to send [08:58:06]OFD Sender: No OFD packet to send [08:58:11]OFD Sender: No OFD packet to send [08:58:16]OFD Sender: No OFD packet to send [08:58:21]OFD Sender: No OFD packet to send [08:58:26]OFD Sender: No OFD packet to send [08:58:31]OFD Sender: No OFD packet to send [08:58:36]OFD Sender: No OFD packet to send [08:58:41]OFD Sender: No OFD packet to send [08:58:46]OFD Sender: No OFD packet to send [08:58:51]OFD Sender: No OFD packet to send [08:58:56]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:36]accept exits with 7 [09:00:36]New connection [09:00:36]New thread 3067440484 created [09:00:36]Thread 3067297124 joined [09:00:36]Waiting for new connection... [09:00:36] Sock 7.Parse request [09:00:36]Sock 7.Check first char [09:00:36]Sock 7.First char is OK [09:00:36]request: POST /json_proto HTTP/1.0 [09:00:36]Method: POST [09:00:36]URL: /json_proto [09:00:36]Method is POST - this is cgi request [09:00:36]url: /json_proto [09:00:36]query_string will be loaded in cgi processing [09:00:36]execute_cgi json_proto POST (null) [09:00:36]execute_cgi path=json_proto method=POST [09:00:36]POST find Content-Length [09:00:36]Host: 172.17.40.196:8080 [09:00:36]Content-Length: 623 [09:00:36]Content-Type: application/json [09:00:36] [09:00:36]POST finish read [09:00:36]Found Content-Length = 623 [09:00:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35156", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:36]execute_script... [09:00: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)35156", "tax_sys" : 0, "items" : [ { "code": "48742245", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Silver Blue", "price" : 160.00, "quantity" : 1.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:00:36]POST & json_proto [09:00:36]process_json_proto [09:00:36]json parsed OK: [09:00:36]protocol is kg_v1.0 [09:00:36]action value=close_receipt [09:00:36]process_action close_receipt [09:00:36]cmd_close_receipt [09:00:36]MH_GetDate [09:00:36]Write to MH i2c: F0 00 00 69 34 8C [09:00:36]Write i2c OK [09:00:36]MH_I2C_Read... [09:00:36]Read from MH i2c: F0 [09:00:36]MH_I2C_Read... [09:00:36]Read from MH i2c: F0 09 00 [09:00:36]MH_I2C_Read... [09:00:36]Read from MH i2c: F0 09 00 69 34 00 40 A4 20 67 5B 68 A1 66 CA [09:00:36]GetLastDocTimeStamp 1730190313 [09:00:36]current date 1730192448 [09:00:36]FM_GetShiftState [09:00:36]SAM_PROTO_GetShiftState [09:00:36]wFMCommunicate request_size=4 [09:00:36]MH_SAM_APDU [09:00:36]CAPDU: 80 13 01 00 [09:00:36]Write to MH i2c: E2 08 00 6A 34 80 13 01 00 00 00 00 00 1B [09:00:36]Write i2c OK [09:00:36]MH_I2C_Read... [09:00:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:36]Read from MH i2c: E2 [09:00:36]MH_I2C_Read... [09:00:36]Read from MH i2c: E2 0E 00 [09:00:36]MH_I2C_Read... [09:00:36]Read from MH i2c: E2 0E 00 6A 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 91 [09:00:36]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:00:36]wFMCommunicate OK [09:00:36]SAM_PROTO_GetShiftState done [09:00:36]FM_GetShiftState done [09:00:36]opened in 1730160317 [09:00:36]opened+sec_in_day 1730246717 [09:00:36]quantity*price = 16000 [09:00:36]sum+1 = 16001 [09:00:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 19 29.10.2024 09:00 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37857 ФПД: 271768906064205 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T090048&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37857&fm=271768906064205&tin=02508201610067®Number=0000000000091684&sum=16000 0 [09:00:37]StoreToDocumentArchive [09:00:37]shift 552 fd 37857 [09:00:37]save to /storage/0552/doc_00037857 [09:00:37]save last doc name /storage/0552/doc_00037857 to /storage/kkm_last_doc_name [09:00:37]save OK [09:00:37]Clear old archive folders... [09:00:37]ProcessDocumentItem done err = 0, tmpTLVsize=276 [09:00:37]tlvbuf is B6FCFCB0 [09:00:37]SAM_PROTO_ClearQueue [09:00:37]wFMCommunicate request_size=4 [09:00:37]MH_SAM_APDU [09:00:37]CAPDU: 80 09 00 00 [09:00:37]Write to MH i2c: E2 08 00 77 34 80 09 00 00 00 00 00 00 1D [09:00:37]Write i2c OK [09:00:37]MH_I2C_Read... [09:00:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:00:37]Read from MH i2c: E2 [09:00:37]MH_I2C_Read... [09:00:37]Read from MH i2c: E2 03 00 [09:00:37]MH_I2C_Read... [09:00:37]Read from MH i2c: E2 03 00 77 34 00 90 00 1F [09:00:37]RAPDU: 90 00 [09:00:37]wFMCommunicate OK [09:00:37]SAM_PROTO_ClearQueue done [09:00:37]KKMCreateOFDPacket [09:00:37]OFDProtocolAddRootSTLVToBuf [09:00:37]FM_MakeSignedData [09:00:37]FM_MakeSignedData [09:00:37]SAM_PROTO_SignData [09:00:37]wFMCommunicate request_size=4 [09:00:37]MH_SAM_APDU [09:00:37]CAPDU: 80 0D 01 02 [09:00:37]Write to MH i2c: E2 08 00 78 34 80 0D 01 02 00 00 00 00 25 [09:00:37]Write i2c OK [09:00:37]MH_I2C_Read... [09:00:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:00:37]Read from MH i2c: E2 [09:00:37]MH_I2C_Read... [09:00:37]Read from MH i2c: E2 03 00 [09:00:37]MH_I2C_Read... [09:00:37]Read from MH i2c: E2 03 00 78 34 00 90 00 20 [09:00:37]RAPDU: 90 00 [09:00:37]wFMCommunicate OK [09:00:37]wFMCommunicate request_size=255 [09:00:37]MH_SAM_APDU [09:00:37]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 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 A4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 [09:00:37]Write to MH i2c: E2 02 01 79 34 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 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 A4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 00 00 AA [09:00:37]Write i2c OK [09:00:37]MH_I2C_Read... [09:00:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:38]Read from MH i2c: E2 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 03 00 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 03 00 79 34 00 90 00 21 [09:00:38]RAPDU: 90 00 [09:00:38]wFMCommunicate OK [09:00:38]wFMCommunicate request_size=35 [09:00:38]MH_SAM_APDU [09:00:38]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E1 93 00 00 35 04 06 00 F7 2C 21 1B 61 4D [09:00:38]Write to MH i2c: E2 26 00 7A 34 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E1 93 00 00 35 04 06 00 F7 2C 21 1B 61 4D 00 00 99 [09:00:38]Write i2c OK [09:00:38]MH_I2C_Read... [09:00:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:00:38]Read from MH i2c: E2 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 03 00 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 03 00 7A 34 00 90 00 22 [09:00:38]RAPDU: 90 00 [09:00:38]wFMCommunicate OK [09:00:38]wFMCommunicate request_size=4 [09:00:38]MH_SAM_APDU [09:00:38]CAPDU: 80 0D 03 02 [09:00:38]Write to MH i2c: E2 08 00 7B 34 80 0D 03 02 00 00 00 00 2A [09:00:38]Write i2c OK [09:00:38]MH_I2C_Read... [09:00:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:00:38]Read from MH i2c: E2 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 0B 00 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 0B 00 7B 34 00 AB CE DA F7 93 30 60 81 90 00 19 [09:00:38]RAPDU: AB CE DA F7 93 30 60 81 90 00 [09:00:38]wFMCommunicate OK [09:00:38]SAM_PROTO_SignData done [09:00:38]FM_MakeSignedData done [09:00:38]CreateOFDProtocolMessage [09:00:38]wFMCommunicate request_size=4 [09:00:38]MH_SAM_APDU [09:00:38]CAPDU: 80 11 00 00 [09:00:38]Write to MH i2c: E2 08 00 7C 34 80 11 00 00 00 00 00 00 2A [09:00:38]Write i2c OK [09:00:38]MH_I2C_Read... [09:00:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:38]Read from MH i2c: E2 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 17 00 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: E2 17 00 7C 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7A [09:00:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:00:38]wFMCommunicate OK [09:00:38]CreateOFDProtocolMessage done [09:00:38]OFDSenderStorePacket 37857 [09:00:38]StoreOFDPacket docnum=37857 [09:00:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 3E 6D 20 01 29 C7 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 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 A4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E1 93 00 00 35 04 06 00 F7 2C 21 1B 61 4D AB CE DA F7 93 30 60 81 [09:00:38]CheckFolder [09:00:38]dirname=/storage/ofd_packets [09:00:38]CheckFolder done [09:00:38]ProducePacketName [09:00:38]name=ofd_packets/00037857 [09:00:38]NVStorageSaveData ofd_packets/00037857 [09:00:38]File name is /storage/ofd_packets/00037857 [09:00:38]Write 326 bytes [09:00:38]NVStorageSaveData done [09:00:38]OFDSenderStorePacket done [09:00:38]KKMCreateOFDPacket done [09:00:38]NVStorageSaveData kkm_last_timestamp [09:00:38]File name is /storage/kkm_last_timestamp [09:00:38]Write 4 bytes [09:00:38]NVStorageSaveData done [09:00:38]ExternCall_PrintAddStr [09:00:38]wPrintStart [09:00:38]Write to MH i2c: 01 00 00 7D 34 B1 [09:00:38]Write i2c OK [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: 01 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: 01 07 00 [09:00:38]MH_I2C_Read... [09:00:38]Read from MH i2c: 01 07 00 7D 34 00 00 00 00 00 FF 0F C6 [09:00:38]RasterBufferAndPrint [09:00:38]line Счет N : (3)35156 [09:00:38]line ИНН: 02508201610067 [09:00:38]line Контрольно-Кассовый Чек [09:00:38]line ПРОДАЖА [09:00:38]line Товар: 48742245 [09:00:38]line Сигареты Parliament Silver Blue [09:00:38]line 1.000 * 160.00 [09:00:38]line = 160.00 [09:00:38]line НДС 12% НСП 1% [09:00:38]line > о реализуемом товаре [09:00:38]line ИТОГО: 160.00 [09:00:38]line НСП 1% : 1.42 [09:00:38]line НДС 12% : 16.99 [09:00:38]line Наличными: 160.00 [09:00:38]line Безнал.: 0.00 [09:00:38]line Место: АЗС № 126 "Партнер Нефть" [09:00:38]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:00:38]line СНО: Общий режим [09:00:38]line Чек 19 29.10.2024 09:00 [09:00:38]line Смена: 552 ФФД: 1.0 [09:00:38]line ЗНМ: 0300000092 [09:00:38]line РНМ: 0000000000091684 [09:00:38]line Версия ККМ: 001 [09:00:38]line ФМ: 0000000000871841 [09:00:38]line ФД: 37857 [09:00:38]line ФПД: 271768906064205 [09:00:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T090048&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37857&fm=271768906064205&tin=02508201610067®Number=0000000000091684&sum=16000 [09:00:38]line 0 [09:00:38]OFD Sender: Processing packet 37857 [packets to send 42, broken 41] [09:00:38]ProducePacketName [09:00:38]name=ofd_packets/00037857 [09:00:38]OFD Sender: To server: pG, [09:00:38]CommunicateWithHost lk.salyk.kg:30040 [09:00:38]ConnectInit lk.salyk.kg [09:00:38]written 0, free lines is 4095 [09:00:39]Write to MH i2c: 01 00 00 A6 34 DA [09:00:39]Write i2c OK [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: 01 [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: 01 07 00 [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: 01 07 00 A6 34 00 00 00 00 00 B3 0C A0 [09:00:39]RasterBufferAndPrint [09:00:39]line [09:00:39]line [09:00:39]line [09:00:39]line [09:00:39]line [09:00:39]written 0, free lines is 3254 [09:00:39]MH_Cut [09:00:39]Write to MH i2c: D1 01 00 AD 34 01 B3 [09:00:39]Write i2c OK [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: D1 [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: D1 01 00 [09:00:39]MH_I2C_Read... [09:00:39]Read from MH i2c: D1 01 00 AD 34 00 B2 [09:00:39]Write to MH i2c: 01 00 00 AE 34 E2 [09:00:39]Write i2c OK [09:00:39]MH_I2C_Read... [09:00:39]*** Cut start [09:00:39]*** Partial cut [09:00:39]*** CUTSNS_PIN = 1 [09:00:39]*** CUTSNS_PIN = 0 [09:00:39]Connected sock=11 [09:00:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 28 01 00 00 3E 6D 20 01 29 C7 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 32 32 34 35 06 04 27 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 53 69 6C 76 65 72 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 80 3E 00 00 00 00 13 04 06 00 80 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A3 06 00 00 00 00 07 04 06 00 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 40 A4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E1 93 00 00 35 04 06 00 F7 2C 21 1B 61 4D AB CE DA F7 93 30 60 81 [09:00:40]*** Brake cut motor [09:00:40]Read from MH i2c: 01 [09:00:40]MH_I2C_Read... [09:00:40]*** Stop cut motor [09:00:40]*** Cut end [09:00:40]Read from MH i2c: 01 07 00 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: 01 07 00 AE 34 00 00 00 00 00 FF 0F F7 [09:00:40]process_action close_receipt done [09:00:40]requested_data is exist [09:00:40]produce_requested_data [09:00:40]requested_item fm.sn is exist - process it [09:00:40]wFMCommunicate request_size=4 [09:00:40]MH_SAM_APDU [09:00:40]CAPDU: 80 11 00 00 [09:00:40]Write to MH i2c: E2 08 00 AF 34 80 11 00 00 00 00 00 00 5D [09:00:40]Write i2c OK [09:00:40]MH_I2C_Read... [09:00:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D8 50 47 00 20 16 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E1 93 00 00 F4 03 04 00 34 4F 20 67 B6 04 01 00 00 5A 6C B7 6B 46 1B 3E 25 [09:00:40]CommunicateWithHost err = 0 [09:00:40]CheckOFDResponse [09:00:40]1017 (14) - 77093643461234 [09:00:40]1041 (16) - 0000000000871841 [09:00:40]1040 (4) - 37857 [09:00:40]1012 (4) - 29.10.2024 02:57 [09:00:40]1206 (1) - 0 [09:00:40]OFD Sender: Remove packet 37857 [09:00:40]ProducePacketName [09:00:40]name=ofd_packets/00037857 [09:00:40]NVStorageDeleteData [09:00:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:00:40]Read from MH i2c: E2 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 17 00 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 17 00 AF 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AD [09:00:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:00:40]wFMCommunicate OK [09:00:40]requested_item fd.num is exist - process it [09:00:40]SAM_PROTO_GetFieldsCounters [09:00:40]wFMCommunicate request_size=4 [09:00:40]MH_SAM_APDU [09:00:40]CAPDU: 80 13 00 00 [09:00:40]Write to MH i2c: E2 08 00 B0 34 80 13 00 00 00 00 00 00 60 [09:00:40]Write i2c OK [09:00:40]MH_I2C_Read... [09:00:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:00:40]Read from MH i2c: E2 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 62 00 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 62 00 B0 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [09:00:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:00:40]wFMCommunicate OK [09:00:40]SAM_PROTO_GetFieldsCounters done [09:00:40]requested_item shift.num is exist - process it [09:00:40]requested_item shift.opened is exist - process it [09:00:40]req_shift_opened [09:00:40]FM_GetShiftState [09:00:40]SAM_PROTO_GetShiftState [09:00:40]wFMCommunicate request_size=4 [09:00:40]MH_SAM_APDU [09:00:40]CAPDU: 80 13 01 00 [09:00:40]Write to MH i2c: E2 08 00 B1 34 80 13 01 00 00 00 00 00 62 [09:00:40]Write i2c OK [09:00:40]MH_I2C_Read... [09:00:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:00:40]Read from MH i2c: E2 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 0E 00 [09:00:40]MH_I2C_Read... [09:00:40]Read from MH i2c: E2 0E 00 B1 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 D8 [09:00:40]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:00:40]wFMCommunicate OK [09:00:40]SAM_PROTO_GetShiftState done [09:00:40]FM_GetShiftState done [09:00:40]req_shift_opened done [09:00:40]requested_item shift.open_date is exist - process it [09:00:40]req_shift_open_date [09:00:40]req_shift_open_date done [09:00:40]produce_requested_data done [09:00:40]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37857,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:00:40]process_action_free close_receipt [09:00:40]json_value_free [09:00:40]json_value_free done [09:00:40]process_json_proto returns [09:00:40]Send response to host [09:00:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37857,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:00:40]free response buf [09:00:40]execute_script done [09:00:40]execute_script returns [09:00:40]free content buf [09:00:40]Sock 7.Close socket [09:00:40]Sock 7.Thread stoped [09:00:41]OFD Sender: No OFD packet to send [09:00:46]OFD Sender: No OFD packet to send [09:00:51]OFD Sender: No OFD packet to send [09:00:56]OFD Sender: No OFD packet to send [09:01:01]OFD Sender: No OFD packet to send [09:01:06]OFD Sender: No OFD packet to send [09:01:11]OFD Sender: No OFD packet to send [09:01:16]OFD Sender: No OFD packet to send [09:01:21]OFD Sender: No OFD packet to send [09:01:26]OFD Sender: No OFD packet to send [09:01:31]OFD Sender: No OFD packet to send [09:01:36]OFD Sender: No OFD packet to send [09:01:41]OFD Sender: No OFD packet to send [09:01:46]OFD Sender: No OFD packet to send [09:01:51]OFD Sender: No OFD packet to send [09:01:56]OFD Sender: No OFD packet to send [09:02:01]OFD Sender: No OFD packet to send [09:02:06]OFD Sender: No OFD packet to send [09:02:11]OFD Sender: No OFD packet to send [09:02:16]OFD Sender: No OFD packet to send [09:02:21]OFD Sender: No OFD packet to send [09:02:26]OFD Sender: No OFD packet to send [09:02:31]OFD Sender: No OFD packet to send [09:02:36]OFD Sender: No OFD packet to send [09:02:41]OFD Sender: No OFD packet to send [09:02:46]OFD Sender: No OFD packet to send [09:02:51]OFD Sender: No OFD packet to send [09:02:56]OFD Sender: No OFD packet to send [09:03:01]OFD Sender: No OFD packet to send [09:03:06]OFD Sender: No OFD packet to send [09:03:11]OFD Sender: No OFD packet to send [09:03:16]OFD Sender: No OFD packet to send [09:03:21]OFD Sender: No OFD packet to send [09:03:26]OFD Sender: No OFD packet to send [09:03:31]OFD Sender: No OFD packet to send [09:03:36]OFD Sender: No OFD packet to send [09:03:41]OFD Sender: No OFD packet to send [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:49]accept exits with 9 [09:08:49]New connection [09:08:49]New thread 3067297124 created [09:08:49]Thread 3067440484 joined [09:08:49]Waiting for new connection... [09:08:49] Sock 9.Parse request [09:08:49]Sock 9.Check first char [09:08:49]Sock 9.First char is OK [09:08:49]request: POST /json_proto HTTP/1.0 [09:08:49]Method: POST [09:08:49]URL: /json_proto [09:08:49]Method is POST - this is cgi request [09:08:49]url: /json_proto [09:08:49]query_string will be loaded in cgi processing [09:08:49]execute_cgi json_proto POST (null) [09:08:49]execute_cgi path=json_proto method=POST [09:08:49]POST find Content-Length [09:08:49]Host: 172.17.40.196:8080 [09:08:49]Content-Length: 751 [09:08:49]Content-Type: application/json [09:08:49] [09:08:49]POST finish read [09:08:49]Found Content-Length = 751 [09:08:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35157", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:49]execute_script... [09:08: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)35157", "tax_sys" : 0, "items" : [ { "code": "4607015235333", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0441 \u0432\u0430\u0440\u0435\u043D\u043E\u0439 \u0441\u0433\u0443\u0449\u0435\u043D\u043A\u043E\u0439 350\u0433", "price" : 149.00, "quantity" : 1.000, "sum" : 149.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 149.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:08:49]POST & json_proto [09:08:49]process_json_proto [09:08:49]json parsed OK: [09:08:49]protocol is kg_v1.0 [09:08:49]action value=close_receipt [09:08:49]process_action close_receipt [09:08:49]cmd_close_receipt [09:08:49]MH_GetDate [09:08:49]Write to MH i2c: F0 00 00 B2 34 D5 [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: F0 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: F0 09 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: F0 09 00 B2 34 00 2E A6 20 67 5B 68 A1 66 03 [09:08:49]GetLastDocTimeStamp 1730192448 [09:08:49]current date 1730192942 [09:08:49]FM_GetShiftState [09:08:49]SAM_PROTO_GetShiftState [09:08:49]wFMCommunicate request_size=4 [09:08:49]MH_SAM_APDU [09:08:49]CAPDU: 80 13 01 00 [09:08:49]Write to MH i2c: E2 08 00 B3 34 80 13 01 00 00 00 00 00 64 [09:08:49]Write i2c OK [09:08:49]MH_I2C_Read... [09:08:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:49]Read from MH i2c: E2 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 0E 00 [09:08:49]MH_I2C_Read... [09:08:49]Read from MH i2c: E2 0E 00 B3 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 DA [09:08:49]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:08:49]wFMCommunicate OK [09:08:49]SAM_PROTO_GetShiftState done [09:08:49]FM_GetShiftState done [09:08:49]opened in 1730160317 [09:08:49]opened+sec_in_day 1730246717 [09:08:49]quantity*price = 14900 [09:08:49]sum+1 = 14901 [09:08:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 149.00 НСП 1% : 1.32 НДС 12% : 15.82 Наличными: 149.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 20 29.10.2024 09:09 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37858 ФПД: 224420238677250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T090902&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37858&fm=224420238677250&tin=02508201610067®Number=0000000000091684&sum=14900 0 [09:08:50]StoreToDocumentArchive [09:08:50]shift 552 fd 37858 [09:08:50]save to /storage/0552/doc_00037858 [09:08:50]save last doc name /storage/0552/doc_00037858 to /storage/kkm_last_doc_name [09:08:50]save OK [09:08:50]Clear old archive folders... [09:08:50]ProcessDocumentItem done err = 0, tmpTLVsize=312 [09:08:50]tlvbuf is 0029E3B0 [09:08:50]SAM_PROTO_ClearQueue [09:08:50]wFMCommunicate request_size=4 [09:08:50]MH_SAM_APDU [09:08:50]CAPDU: 80 09 00 00 [09:08:50]Write to MH i2c: E2 08 00 C0 34 80 09 00 00 00 00 00 00 66 [09:08:50]Write i2c OK [09:08:50]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 C0 34 00 90 00 68 [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]SAM_PROTO_ClearQueue done [09:08:51]KKMCreateOFDPacket [09:08:51]OFDProtocolAddRootSTLVToBuf [09:08:51]FM_MakeSignedData [09:08:51]FM_MakeSignedData [09:08:51]SAM_PROTO_SignData [09:08:51]wFMCommunicate request_size=4 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 01 02 [09:08:51]Write to MH i2c: E2 08 00 C1 34 80 0D 01 02 00 00 00 00 6E [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 C1 34 00 90 00 69 [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]wFMCommunicate request_size=255 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 02 02 FA 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2E A6 20 67 0E 04 04 00 28 [09:08:51]Write to MH i2c: E2 02 01 C2 34 80 0D 02 02 FA 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2E A6 20 67 0E 04 04 00 28 00 00 C4 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 C2 34 00 90 00 6A [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]wFMCommunicate request_size=71 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 02 02 42 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E2 93 00 00 35 04 06 00 CC 1B E8 9B 55 02 [09:08:51]Write to MH i2c: E2 4A 00 C3 34 80 0D 02 02 42 00 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E2 93 00 00 35 04 06 00 CC 1B E8 9B 55 02 00 00 C2 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 03 00 C3 34 00 90 00 6B [09:08:51]RAPDU: 90 00 [09:08:51]wFMCommunicate OK [09:08:51]wFMCommunicate request_size=4 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 0D 03 02 [09:08:51]Write to MH i2c: E2 08 00 C4 34 80 0D 03 02 00 00 00 00 73 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 0B 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 0B 00 C4 34 00 95 26 A8 84 26 AF A5 31 90 00 06 [09:08:51]RAPDU: 95 26 A8 84 26 AF A5 31 90 00 [09:08:51]wFMCommunicate OK [09:08:51]SAM_PROTO_SignData done [09:08:51]FM_MakeSignedData done [09:08:51]CreateOFDProtocolMessage [09:08:51]wFMCommunicate request_size=4 [09:08:51]MH_SAM_APDU [09:08:51]CAPDU: 80 11 00 00 [09:08:51]Write to MH i2c: E2 08 00 C5 34 80 11 00 00 00 00 00 00 73 [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]OFD Sender: No OFD packet to send [09:08:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:51]Read from MH i2c: E2 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 17 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: E2 17 00 C5 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C3 [09:08:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:08:51]wFMCommunicate OK [09:08:51]CreateOFDProtocolMessage done [09:08:51]OFDSenderStorePacket 37858 [09:08:51]StoreOFDPacket docnum=37858 [09:08:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4C 01 00 00 3E FA 44 01 83 A6 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2E A6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E2 93 00 00 35 04 06 00 CC 1B E8 9B 55 02 95 26 A8 84 26 AF A5 31 [09:08:51]CheckFolder [09:08:51]dirname=/storage/ofd_packets [09:08:51]CheckFolder done [09:08:51]ProducePacketName [09:08:51]name=ofd_packets/00037858 [09:08:51]NVStorageSaveData ofd_packets/00037858 [09:08:51]File name is /storage/ofd_packets/00037858 [09:08:51]Write 362 bytes [09:08:51]NVStorageSaveData done [09:08:51]OFDSenderStorePacket done [09:08:51]KKMCreateOFDPacket done [09:08:51]NVStorageSaveData kkm_last_timestamp [09:08:51]File name is /storage/kkm_last_timestamp [09:08:51]Write 4 bytes [09:08:51]NVStorageSaveData done [09:08:51]ExternCall_PrintAddStr [09:08:51]wPrintStart [09:08:51]Write to MH i2c: 01 00 00 C6 34 FA [09:08:51]Write i2c OK [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: 01 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: 01 07 00 [09:08:51]MH_I2C_Read... [09:08:51]Read from MH i2c: 01 07 00 C6 34 00 00 00 00 00 FF 0F 0F [09:08:51]RasterBufferAndPrint [09:08:51]line Счет N : (3)35157 [09:08:51]line ИНН: 02508201610067 [09:08:51]line Контрольно-Кассовый Чек [09:08:51]line ПРОДАЖА [09:08:51]line Товар: 4607015235333 [09:08:51]line Пряники Яшкино с вареной сгущенкой 350г [09:08:51]line 1.000 * 149.00 [09:08:51]line = 149.00 [09:08:51]line НДС 12% НСП 1% [09:08:51]line > о реализуемом товаре [09:08:51]line ИТОГО: 149.00 [09:08:51]line НСП 1% : 1.32 [09:08:51]line НДС 12% : 15.82 [09:08:51]line Наличными: 149.00 [09:08:51]line Безнал.: 0.00 [09:08:51]line Место: АЗС № 126 "Партнер Нефть" [09:08:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:08:51]line СНО: Общий режим [09:08:51]line Чек 20 29.10.2024 09:09 [09:08:51]line Смена: 552 ФФД: 1.0 [09:08:51]line ЗНМ: 0300000092 [09:08:51]line РНМ: 0000000000091684 [09:08:51]line Версия ККМ: 001 [09:08:51]line ФМ: 0000000000871841 [09:08:51]line ФД: 37858 [09:08:51]line ФПД: 224420238677250 [09:08:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T090902&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37858&fm=224420238677250&tin=02508201610067®Number=0000000000091684&sum=14900 [09:08:51]line 0 [09:08:51]OFD Sender: Processing packet 37858 [packets to send 42, broken 41] [09:08:51]ProducePacketName [09:08:51]name=ofd_packets/00037858 [09:08:51]OFD Sender: To server: pG, [09:08:51]CommunicateWithHost lk.salyk.kg:30040 [09:08:51]ConnectInit lk.salyk.kg [09:08:51]written 0, free lines is 4095 [09:08:52]Write to MH i2c: 01 00 00 EF 34 23 [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 07 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: 01 07 00 EF 34 00 00 00 00 00 B8 0C EE [09:08:52]RasterBufferAndPrint [09:08:52]line [09:08:52]line [09:08:52]line [09:08:52]line [09:08:52]line [09:08:52]written 0, free lines is 3259 [09:08:52]MH_Cut [09:08:52]Write to MH i2c: D1 01 00 F6 34 01 FC [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: D1 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: D1 01 00 [09:08:52]MH_I2C_Read... [09:08:52]Read from MH i2c: D1 01 00 F6 34 00 FB [09:08:52]Write to MH i2c: 01 00 00 F7 34 2B [09:08:52]Write i2c OK [09:08:52]MH_I2C_Read... [09:08:53]*** Cut start [09:08:53]*** Partial cut [09:08:53]*** CUTSNS_PIN = 1 [09:08:53]*** CUTSNS_PIN = 0 [09:08:53]*** Brake cut motor [09:08:53]Read from MH i2c: 01 [09:08:53]MH_I2C_Read... [09:08:53]*** Stop cut motor [09:08:53]*** Cut end [09:08:53]Read from MH i2c: 01 07 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: 01 07 00 F7 34 00 00 00 00 00 FF 0F 40 [09:08:53]process_action close_receipt done [09:08:53]requested_data is exist [09:08:53]produce_requested_data [09:08:53]requested_item fm.sn is exist - process it [09:08:53]wFMCommunicate request_size=4 [09:08:53]MH_SAM_APDU [09:08:53]CAPDU: 80 11 00 00 [09:08:53]Write to MH i2c: E2 08 00 F8 34 80 11 00 00 00 00 00 00 A6 [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]Connected sock=11 [09:08:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4C 01 00 00 3E FA 44 01 83 A6 5A 03 01 00 03 00 38 01 1E 04 01 00 01 23 04 8A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 33 33 33 06 04 46 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 81 20 D0 B2 D0 B0 D1 80 D0 B5 D0 BD D0 BE D0 B9 20 D1 81 D0 B3 D1 83 D1 89 D0 B5 D0 BD D0 BA D0 BE D0 B9 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 3A 00 00 00 00 13 04 06 00 34 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2E 06 00 00 00 00 07 04 06 00 34 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 14 00 00 00 F4 03 04 00 2E A6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E2 93 00 00 35 04 06 00 CC 1B E8 9B 55 02 95 26 A8 84 26 AF A5 31 [09:08:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:08:53]Read from MH i2c: E2 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 17 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 17 00 F8 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [09:08:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:08:53]wFMCommunicate OK [09:08:53]requested_item fd.num is exist - process it [09:08:53]SAM_PROTO_GetFieldsCounters [09:08:53]wFMCommunicate request_size=4 [09:08:53]MH_SAM_APDU [09:08:53]CAPDU: 80 13 00 00 [09:08:53]Write to MH i2c: E2 08 00 F9 34 80 13 00 00 00 00 00 00 A9 [09:08:53]Write i2c OK [09:08:53]MH_I2C_Read... [09:08:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:08:53]Read from MH i2c: E2 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 62 00 [09:08:53]MH_I2C_Read... [09:08:53]Read from MH i2c: E2 62 00 F9 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 A5 [09:08:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:08:54]wFMCommunicate OK [09:08:54]SAM_PROTO_GetFieldsCounters done [09:08:54]requested_item shift.num is exist - process it [09:08:54]requested_item shift.opened is exist - process it [09:08:54]req_shift_opened [09:08:54]FM_GetShiftState [09:08:54]SAM_PROTO_GetShiftState [09:08:54]wFMCommunicate request_size=4 [09:08:54]MH_SAM_APDU [09:08:54]CAPDU: 80 13 01 00 [09:08:54]Write to MH i2c: E2 08 00 FA 34 80 13 01 00 00 00 00 00 AB [09:08:54]Write i2c OK [09:08:54]MH_I2C_Read... [09:08:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:08:54]Read from MH i2c: E2 [09:08:54]MH_I2C_Read... [09:08:54]Read from MH i2c: E2 0E 00 [09:08:54]MH_I2C_Read... [09:08:54]Read from MH i2c: E2 0E 00 FA 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 21 [09:08:54]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:08:54]wFMCommunicate OK [09:08:54]SAM_PROTO_GetShiftState done [09:08:54]FM_GetShiftState done [09:08:54]req_shift_opened done [09:08:54]requested_item shift.open_date is exist - process it [09:08:54]req_shift_open_date [09:08:54]req_shift_open_date done [09:08:54]produce_requested_data done [09:08:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37858,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:08:54]process_action_free close_receipt [09:08:54]json_value_free [09:08:54]json_value_free done [09:08:54]process_json_proto returns [09:08:54]Send response to host [09:08:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37858,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:08:54]free response buf [09:08:54]execute_script done [09:08:54]execute_script returns [09:08:54]free content buf [09:08:54]Sock 9.Close socket [09:08:54]Sock 9.Thread stoped [09:08:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B3 23 47 00 4A 30 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E2 93 00 00 F4 03 04 00 21 51 20 67 B6 04 01 00 00 54 F4 8D 19 4F 15 2C 7B [09:08:54]CommunicateWithHost err = 0 [09:08:54]CheckOFDResponse [09:08:54]1017 (14) - 77093643461234 [09:08:54]1041 (16) - 0000000000871841 [09:08:54]1040 (4) - 37858 [09:08:54]1012 (4) - 29.10.2024 03:06 [09:08:54]1206 (1) - 0 [09:08:54]OFD Sender: Remove packet 37858 [09:08:54]ProducePacketName [09:08:54]name=ofd_packets/00037858 [09:08:54]NVStorageDeleteData [09:08:54]OFD Sender: No OFD packet to send [09:08:59]OFD Sender: No OFD packet to send [09:09:04]OFD Sender: No OFD packet to send [09:09:09]OFD Sender: No OFD packet to send [09:09:14]OFD Sender: No OFD packet to send [09:09:19]OFD Sender: No OFD packet to send [09:09:24]OFD Sender: No OFD packet to send [09:09:29]OFD Sender: No OFD packet to send [09:09:34]OFD Sender: No OFD packet to send [09:09:39]OFD Sender: No OFD packet to send [09:09:44]OFD Sender: No OFD packet to send [09:09:49]OFD Sender: No OFD packet to send [09:09:54]OFD Sender: No OFD packet to send [09:09:59]OFD Sender: No OFD packet to send [09:10:04]OFD Sender: No OFD packet to send [09:10:09]OFD Sender: No OFD packet to send [09:10:14]OFD Sender: No OFD packet to send [09:10:19]OFD Sender: No OFD packet to send [09:10:24]OFD Sender: No OFD packet to send [09:10:29]OFD Sender: No OFD packet to send [09:10:34]OFD Sender: No OFD packet to send [09:10:39]OFD Sender: No OFD packet to send [09:10:44]OFD Sender: No OFD packet to send [09:10:49]OFD Sender: No OFD packet to send [09:10:54]OFD Sender: No OFD packet to send [09:10:59]OFD Sender: No OFD packet to send [09:11:04]OFD Sender: No OFD packet to send [09:11:09]OFD Sender: No OFD packet to send [09:11:14]OFD Sender: No OFD packet to send [09:11:19]OFD Sender: No OFD packet to send [09:11:24]OFD Sender: No OFD packet to send [09:11:29]OFD Sender: No OFD packet to send [09:11:34]OFD Sender: No OFD packet to send [09:11:39]OFD Sender: No OFD packet to send [09:11:44]OFD Sender: No OFD packet to send [09:11:49]OFD Sender: No OFD packet to send [09:11:54]OFD Sender: No OFD packet to send [09:11:59]OFD Sender: No OFD packet to send [09:12:04]OFD Sender: No OFD packet to send [09:12:09]OFD Sender: No OFD packet to send [09:12:14]OFD Sender: No OFD packet to send [09:12:19]OFD Sender: No OFD packet to send [09:12:24]OFD Sender: No OFD packet to send [09:12:29]OFD Sender: No OFD packet to send [09:12:34]OFD Sender: No OFD packet to send [09:12:39]OFD Sender: No OFD packet to send [09:12:45]OFD Sender: No OFD packet to send [09:12:50]OFD Sender: No OFD packet to send [09:12:55]OFD Sender: No OFD packet to send [09:13:00]OFD Sender: No OFD packet to send [09:13:05]OFD Sender: No OFD packet to send [09:13:10]OFD Sender: No OFD packet to send [09:13:15]OFD Sender: No OFD packet to send [09:13:19]accept exits with 7 [09:13:19]New connection [09:13:19]New thread 3067440484 created [09:13:19]Thread 3067297124 joined [09:13:19]Waiting for new connection... [09:13:19] Sock 7.Parse request [09:13:19]Sock 7.Check first char [09:13:19]Sock 7.First char is OK [09:13:19]request: POST /json_proto HTTP/1.0 [09:13:19]Method: POST [09:13:19]URL: /json_proto [09:13:19]Method is POST - this is cgi request [09:13:19]url: /json_proto [09:13:19]query_string will be loaded in cgi processing [09:13:19]execute_cgi json_proto POST (null) [09:13:19]execute_cgi path=json_proto method=POST [09:13:19]POST find Content-Length [09:13:19]Host: 172.17.40.196:8080 [09:13:19]Content-Length: 646 [09:13:19]Content-Type: application/json [09:13:19] [09:13:19]POST finish read [09:13:19]Found Content-Length = 646 [09:13:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35158", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:13:19]execute_script... [09:13: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)35158", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:13:19]POST & json_proto [09:13:19]process_json_proto [09:13:19]json parsed OK: [09:13:19]protocol is kg_v1.0 [09:13:19]action value=close_receipt [09:13:19]process_action close_receipt [09:13:19]cmd_close_receipt [09:13:19]MH_GetDate [09:13:19]Write to MH i2c: F0 00 00 FB 34 1E [09:13:19]Write i2c OK [09:13:19]MH_I2C_Read... [09:13:19]Read from MH i2c: F0 [09:13:19]MH_I2C_Read... [09:13:19]Read from MH i2c: F0 09 00 [09:13:19]MH_I2C_Read... [09:13:19]Read from MH i2c: F0 09 00 FB 34 00 3B A7 20 67 5B 68 A1 66 5A [09:13:19]GetLastDocTimeStamp 1730192942 [09:13:19]current date 1730193211 [09:13:19]FM_GetShiftState [09:13:19]SAM_PROTO_GetShiftState [09:13:19]wFMCommunicate request_size=4 [09:13:19]MH_SAM_APDU [09:13:19]CAPDU: 80 13 01 00 [09:13:19]Write to MH i2c: E2 08 00 FC 34 80 13 01 00 00 00 00 00 AD [09:13:19]Write i2c OK [09:13:19]MH_I2C_Read... [09:13:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:19]Read from MH i2c: E2 [09:13:19]MH_I2C_Read... [09:13:19]Read from MH i2c: E2 0E 00 [09:13:19]MH_I2C_Read... [09:13:19]Read from MH i2c: E2 0E 00 FC 34 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 23 [09:13:19]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:13:19]wFMCommunicate OK [09:13:19]SAM_PROTO_GetShiftState done [09:13:19]FM_GetShiftState done [09:13:19]opened in 1730160317 [09:13:19]opened+sec_in_day 1730246717 [09:13:19]quantity*price = 19500 [09:13:19]sum+1 = 19501 [09:13:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 21 29.10.2024 09:13 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37859 ФПД: 121411321221804 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T091331&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37859&fm=121411321221804&tin=02508201610067®Number=0000000000091684&sum=19500 0 [09:13:20]StoreToDocumentArchive [09:13:20]shift 552 fd 37859 [09:13:20]save to /storage/0552/doc_00037859 [09:13:20]save last doc name /storage/0552/doc_00037859 to /storage/kkm_last_doc_name [09:13:20]save OK [09:13:20]Clear old archive folders... [09:13:20]ProcessDocumentItem done err = 0, tmpTLVsize=272 [09:13:20]tlvbuf is 0021F800 [09:13:20]SAM_PROTO_ClearQueue [09:13:20]wFMCommunicate request_size=4 [09:13:20]MH_SAM_APDU [09:13:20]CAPDU: 80 09 00 00 [09:13:20]Write to MH i2c: E2 08 00 09 35 80 09 00 00 00 00 00 00 B0 [09:13:20]Write i2c OK [09:13:20]MH_I2C_Read... [09:13:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:13:20]Read from MH i2c: E2 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: E2 03 00 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: E2 03 00 09 35 00 90 00 B2 [09:13:20]RAPDU: 90 00 [09:13:20]wFMCommunicate OK [09:13:20]SAM_PROTO_ClearQueue done [09:13:20]KKMCreateOFDPacket [09:13:20]OFDProtocolAddRootSTLVToBuf [09:13:20]FM_MakeSignedData [09:13:20]FM_MakeSignedData [09:13:20]SAM_PROTO_SignData [09:13:20]wFMCommunicate request_size=4 [09:13:20]MH_SAM_APDU [09:13:20]CAPDU: 80 0D 01 02 [09:13:20]Write to MH i2c: E2 08 00 0A 35 80 0D 01 02 00 00 00 00 B8 [09:13:20]Write i2c OK [09:13:20]MH_I2C_Read... [09:13:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:13:20]Read from MH i2c: E2 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: E2 03 00 [09:13:20]MH_I2C_Read... [09:13:20]Read from MH i2c: E2 03 00 0A 35 00 90 00 B3 [09:13:20]RAPDU: 90 00 [09:13:20]wFMCommunicate OK [09:13:20]wFMCommunicate request_size=255 [09:13:20]MH_SAM_APDU [09:13:20]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 3B A7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [09:13:20]Write to MH i2c: E2 02 01 0B 35 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 3B A7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 57 [09:13:20]Write i2c OK [09:13:20]MH_I2C_Read... [09:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:21]Read from MH i2c: E2 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 03 00 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 03 00 0B 35 00 90 00 B4 [09:13:21]RAPDU: 90 00 [09:13:21]wFMCommunicate OK [09:13:21]wFMCommunicate request_size=31 [09:13:21]MH_SAM_APDU [09:13:21]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 E3 93 00 00 35 04 06 00 6E 6C 46 AC 52 AC [09:13:21]Write to MH i2c: E2 22 00 0C 35 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 E3 93 00 00 35 04 06 00 6E 6C 46 AC 52 AC 00 00 23 [09:13:21]Write i2c OK [09:13:21]MH_I2C_Read... [09:13:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:21]Read from MH i2c: E2 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 03 00 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 03 00 0C 35 00 90 00 B5 [09:13:21]RAPDU: 90 00 [09:13:21]wFMCommunicate OK [09:13:21]wFMCommunicate request_size=4 [09:13:21]MH_SAM_APDU [09:13:21]CAPDU: 80 0D 03 02 [09:13:21]Write to MH i2c: E2 08 00 0D 35 80 0D 03 02 00 00 00 00 BD [09:13:21]Write i2c OK [09:13:21]MH_I2C_Read... [09:13:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:13:21]Read from MH i2c: E2 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 0B 00 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 0B 00 0D 35 00 4B 35 A8 DF F4 7A 38 F2 90 00 5D [09:13:21]RAPDU: 4B 35 A8 DF F4 7A 38 F2 90 00 [09:13:21]wFMCommunicate OK [09:13:21]SAM_PROTO_SignData done [09:13:21]FM_MakeSignedData done [09:13:21]CreateOFDProtocolMessage [09:13:21]wFMCommunicate request_size=4 [09:13:21]MH_SAM_APDU [09:13:21]CAPDU: 80 11 00 00 [09:13:21]Write to MH i2c: E2 08 00 0E 35 80 11 00 00 00 00 00 00 BD [09:13:21]Write i2c OK [09:13:21]MH_I2C_Read... [09:13:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:21]Read from MH i2c: E2 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 17 00 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: E2 17 00 0E 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0D [09:13:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:13:21]wFMCommunicate OK [09:13:21]CreateOFDProtocolMessage done [09:13:21]OFDSenderStorePacket 37859 [09:13:21]StoreOFDPacket docnum=37859 [09:13:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 41 CF 1C 01 92 1D 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 3B A7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E3 93 00 00 35 04 06 00 6E 6C 46 AC 52 AC 4B 35 A8 DF F4 7A 38 F2 [09:13:21]CheckFolder [09:13:21]dirname=/storage/ofd_packets [09:13:21]CheckFolder done [09:13:21]ProducePacketName [09:13:21]name=ofd_packets/00037859 [09:13:21]NVStorageSaveData ofd_packets/00037859 [09:13:21]File name is /storage/ofd_packets/00037859 [09:13:21]Write 322 bytes [09:13:21]NVStorageSaveData done [09:13:21]OFDSenderStorePacket done [09:13:21]KKMCreateOFDPacket done [09:13:21]NVStorageSaveData kkm_last_timestamp [09:13:21]File name is /storage/kkm_last_timestamp [09:13:21]Write 4 bytes [09:13:21]NVStorageSaveData done [09:13:21]ExternCall_PrintAddStr [09:13:21]wPrintStart [09:13:21]Write to MH i2c: 01 00 00 0F 35 44 [09:13:21]Write i2c OK [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: 01 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: 01 07 00 [09:13:21]MH_I2C_Read... [09:13:21]Read from MH i2c: 01 07 00 0F 35 00 00 00 00 00 FF 0F 59 [09:13:21]RasterBufferAndPrint [09:13:21]line Счет N : (3)35158 [09:13:21]line ИНН: 02508201610067 [09:13:21]line Контрольно-Кассовый Чек [09:13:21]line ПРОДАЖА [09:13:21]line Товар: 47011656 [09:13:21]line Водка Пшеничная 0,1л [09:13:21]line 3.000 * 65.00 [09:13:21]line = 195.00 [09:13:21]line НДС 12% НСП 1% [09:13:21]line > о реализуемом товаре [09:13:21]line ИТОГО: 195.00 [09:13:21]line НСП 1% : 1.73 [09:13:21]line НДС 12% : 20.71 [09:13:21]line Наличными: 195.00 [09:13:21]line Безнал.: 0.00 [09:13:21]line Место: АЗС № 126 "Партнер Нефть" [09:13:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:13:21]line СНО: Общий режим [09:13:21]line Чек 21 29.10.2024 09:13 [09:13:21]line Смена: 552 ФФД: 1.0 [09:13:21]line ЗНМ: 0300000092 [09:13:21]line РНМ: 0000000000091684 [09:13:21]line Версия ККМ: 001 [09:13:21]line ФМ: 0000000000871841 [09:13:21]line ФД: 37859 [09:13:21]line ФПД: 121411321221804 [09:13:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T091331&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37859&fm=121411321221804&tin=02508201610067®Number=0000000000091684&sum=19500 [09:13:21]line 0 [09:13:21]OFD Sender: Processing packet 37859 [packets to send 42, broken 41] [09:13:21]ProducePacketName [09:13:21]name=ofd_packets/00037859 [09:13:21]OFD Sender: To server: pG, [09:13:21]CommunicateWithHost lk.salyk.kg:30040 [09:13:21]ConnectInit lk.salyk.kg [09:13:21]written 0, free lines is 4095 [09:13:22]Write to MH i2c: 01 00 00 37 35 6C [09:13:22]Write i2c OK [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: 01 [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: 01 07 00 [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: 01 07 00 37 35 00 00 00 00 00 D1 0C 50 [09:13:22]RasterBufferAndPrint [09:13:22]line [09:13:22]line [09:13:22]line [09:13:22]line [09:13:22]line [09:13:22]written 0, free lines is 3285 [09:13:22]MH_Cut [09:13:22]Write to MH i2c: D1 01 00 3E 35 01 45 [09:13:22]Write i2c OK [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: D1 [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: D1 01 00 [09:13:22]MH_I2C_Read... [09:13:22]Read from MH i2c: D1 01 00 3E 35 00 44 [09:13:22]Write to MH i2c: 01 00 00 3F 35 74 [09:13:22]Write i2c OK [09:13:22]MH_I2C_Read... [09:13:22]*** Cut start [09:13:22]*** Partial cut [09:13:22]*** CUTSNS_PIN = 1 [09:13:22]*** CUTSNS_PIN = 0 [09:13:23]*** Brake cut motor [09:13:23]Connected sock=11 [09:13:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 41 CF 1C 01 92 1D 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 15 00 00 00 F4 03 04 00 3B A7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E3 93 00 00 35 04 06 00 6E 6C 46 AC 52 AC 4B 35 A8 DF F4 7A 38 F2 [09:13:23]Read from MH i2c: 01 [09:13:23]MH_I2C_Read... [09:13:23]*** Stop cut motor [09:13:23]*** Cut end [09:13:23]Read from MH i2c: 01 07 00 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: 01 07 00 3F 35 00 00 00 00 00 FF 0F 89 [09:13:23]process_action close_receipt done [09:13:23]requested_data is exist [09:13:23]produce_requested_data [09:13:23]requested_item fm.sn is exist - process it [09:13:23]wFMCommunicate request_size=4 [09:13:23]MH_SAM_APDU [09:13:23]CAPDU: 80 11 00 00 [09:13:23]Write to MH i2c: E2 08 00 40 35 80 11 00 00 00 00 00 00 EF [09:13:23]Write i2c OK [09:13:23]MH_I2C_Read... [09:13:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:23]Read from MH i2c: E2 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 17 00 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 17 00 40 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3F [09:13:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:13:23]wFMCommunicate OK [09:13:23]requested_item fd.num is exist - process it [09:13:23]SAM_PROTO_GetFieldsCounters [09:13:23]wFMCommunicate request_size=4 [09:13:23]MH_SAM_APDU [09:13:23]CAPDU: 80 13 00 00 [09:13:23]Write to MH i2c: E2 08 00 41 35 80 13 00 00 00 00 00 00 F2 [09:13:23]Write i2c OK [09:13:23]MH_I2C_Read... [09:13:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:13:23]Read from MH i2c: E2 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 62 00 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 62 00 41 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [09:13:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:13:23]wFMCommunicate OK [09:13:23]SAM_PROTO_GetFieldsCounters done [09:13:23]requested_item shift.num is exist - process it [09:13:23]requested_item shift.opened is exist - process it [09:13:23]req_shift_opened [09:13:23]FM_GetShiftState [09:13:23]SAM_PROTO_GetShiftState [09:13:23]wFMCommunicate request_size=4 [09:13:23]MH_SAM_APDU [09:13:23]CAPDU: 80 13 01 00 [09:13:23]Write to MH i2c: E2 08 00 42 35 80 13 01 00 00 00 00 00 F4 [09:13:23]Write i2c OK [09:13:23]MH_I2C_Read... [09:13:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:23]Read from MH i2c: E2 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 0E 00 [09:13:23]MH_I2C_Read... [09:13:23]Read from MH i2c: E2 0E 00 42 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6A [09:13:23]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:13:23]wFMCommunicate OK [09:13:23]SAM_PROTO_GetShiftState done [09:13:23]FM_GetShiftState done [09:13:23]req_shift_opened done [09:13:23]requested_item shift.open_date is exist - process it [09:13:23]req_shift_open_date [09:13:23]req_shift_open_date done [09:13:23]produce_requested_data done [09:13:23]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37859,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:13:23]process_action_free close_receipt [09:13:23]json_value_free [09:13:23]json_value_free done [09:13:23]process_json_proto returns [09:13:23]Send response to host [09:13:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37859,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:13:23]free response buf [09:13:23]execute_script done [09:13:23]execute_script returns [09:13:23]free content buf [09:13:23]Sock 7.Close socket [09:13:23]Sock 7.Thread stoped [09:13:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 96 5A 47 00 B2 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E3 93 00 00 F4 03 04 00 2F 52 20 67 B6 04 01 00 00 80 B6 63 BA 09 28 E6 C9 [09:13:23]CommunicateWithHost err = 0 [09:13:23]CheckOFDResponse [09:13:23]1017 (14) - 77093643461234 [09:13:23]1041 (16) - 0000000000871841 [09:13:23]1040 (4) - 37859 [09:13:23]1012 (4) - 29.10.2024 03:10 [09:13:23]1206 (1) - 0 [09:13:23]OFD Sender: Remove packet 37859 [09:13:23]ProducePacketName [09:13:23]name=ofd_packets/00037859 [09:13:23]NVStorageDeleteData [09:13:24]OFD Sender: No OFD packet to send [09:13:29]OFD Sender: No OFD packet to send [09:13:34]OFD Sender: No OFD packet to send [09:13:39]OFD Sender: No OFD packet to send [09:13:44]OFD Sender: No OFD packet to send [09:13:49]OFD Sender: No OFD packet to send [09:13:54]OFD Sender: No OFD packet to send [09:13:59]OFD Sender: No OFD packet to send [09:14:04]OFD Sender: No OFD packet to send [09:14:09]OFD Sender: No OFD packet to send [09:14:14]OFD Sender: No OFD packet to send [09:14:19]OFD Sender: No OFD packet to send [09:14:24]OFD Sender: No OFD packet to send [09:14:29]OFD Sender: No OFD packet to send [09:14:34]OFD Sender: No OFD packet to send [09:14:39]OFD Sender: No OFD packet to send [09:14:44]OFD Sender: No OFD packet to send [09:14:49]OFD Sender: No OFD packet to send [09:14:54]OFD Sender: No OFD packet to send [09:14:59]OFD Sender: No OFD packet to send [09:15:04]OFD Sender: No OFD packet to send [09:15:09]OFD Sender: No OFD packet to send [09:15:14]OFD Sender: No OFD packet to send [09:15:19]OFD Sender: No OFD packet to send [09:15:24]OFD Sender: No OFD packet to send [09:15:29]OFD Sender: No OFD packet to send [09:15:34]OFD Sender: No OFD packet to send [09:15:39]OFD Sender: No OFD packet to send [09:15:44]OFD Sender: No OFD packet to send [09:15:49]OFD Sender: No OFD packet to send [09:15:54]OFD Sender: No OFD packet to send [09:15:59]OFD Sender: No OFD packet to send [09:16:04]OFD Sender: No OFD packet to send [09:16:09]OFD Sender: No OFD packet to send [09:16:14]OFD Sender: No OFD packet to send [09:16:19]OFD Sender: No OFD packet to send [09:16:24]OFD Sender: No OFD packet to send [09:16:29]OFD Sender: No OFD packet to send [09:16:34]OFD Sender: No OFD packet to send [09:16:39]OFD Sender: No OFD packet to send [09:16:44]OFD Sender: No OFD packet to send [09:16:49]OFD Sender: No OFD packet to send [09:16:54]OFD Sender: No OFD packet to send [09:16:59]OFD Sender: No OFD packet to send [09:17:04]OFD Sender: No OFD packet to send [09:17:09]OFD Sender: No OFD packet to send [09:17:14]OFD Sender: No OFD packet to send [09:17:19]OFD Sender: No OFD packet to send [09:17:24]OFD Sender: No OFD packet to send [09:17:29]OFD Sender: No OFD packet to send [09:17:34]OFD Sender: No OFD packet to send [09:17:39]OFD Sender: No OFD packet to send [09:17:44]OFD Sender: No OFD packet to send [09:17:49]OFD Sender: No OFD packet to send [09:17:54]OFD Sender: No OFD packet to send [09:17:59]OFD Sender: No OFD packet to send [09:18:04]OFD Sender: No OFD packet to send [09:18:09]OFD Sender: No OFD packet to send [09:18:14]OFD Sender: No OFD packet to send [09:18:19]OFD Sender: No OFD packet to send [09:18:24]OFD Sender: No OFD packet to send [09:18:29]OFD Sender: No OFD packet to send [09:18:34]OFD Sender: No OFD packet to send [09:18:39]OFD Sender: No OFD packet to send [09:18:44]OFD Sender: No OFD packet to send [09:18:49]OFD Sender: No OFD packet to send [09:18:54]OFD Sender: No OFD packet to send [09:18:59]OFD Sender: No OFD packet to send [09:19:04]OFD Sender: No OFD packet to send [09:19:09]OFD Sender: No OFD packet to send [09:19:14]OFD Sender: No OFD packet to send [09:19:19]OFD Sender: No OFD packet to send [09:19:24]OFD Sender: No OFD packet to send [09:19:29]OFD Sender: No OFD packet to send [09:19:34]OFD Sender: No OFD packet to send [09:19:39]OFD Sender: No OFD packet to send [09:19:44]OFD Sender: No OFD packet to send [09:19:49]OFD Sender: No OFD packet to send [09:19:54]OFD Sender: No OFD packet to send [09:19:59]OFD Sender: No OFD packet to send [09:20:04]OFD Sender: No OFD packet to send [09:20:09]OFD Sender: No OFD packet to send [09:20:14]OFD Sender: No OFD packet to send [09:20:19]OFD Sender: No OFD packet to send [09:20:24]OFD Sender: No OFD packet to send [09:20:29]OFD Sender: No OFD packet to send [09:20:34]OFD Sender: No OFD packet to send [09:20:39]OFD Sender: No OFD packet to send [09:20:44]OFD Sender: No OFD packet to send [09:20:49]OFD Sender: No OFD packet to send [09:20:54]OFD Sender: No OFD packet to send [09:20:59]OFD Sender: No OFD packet to send [09:21:04]OFD Sender: No OFD packet to send [09:21:09]OFD Sender: No OFD packet to send [09:21:14]OFD Sender: No OFD packet to send [09:21:19]OFD Sender: No OFD packet to send [09:21:24]OFD Sender: No OFD packet to send [09:21:29]OFD Sender: No OFD packet to send [09:21:34]OFD Sender: No OFD packet to send [09:21:39]OFD Sender: No OFD packet to send [09:21:44]OFD Sender: No OFD packet to send [09:21:49]OFD Sender: No OFD packet to send [09:21:54]OFD Sender: No OFD packet to send [09:21:59]OFD Sender: No OFD packet to send [09:22:04]OFD Sender: No OFD packet to send [09:22:09]OFD Sender: No OFD packet to send [09:22:14]OFD Sender: No OFD packet to send [09:22:19]OFD Sender: No OFD packet to send [09:22:24]OFD Sender: No OFD packet to send [09:22:29]OFD Sender: No OFD packet to send [09:22:34]OFD Sender: No OFD packet to send [09:22:39]OFD Sender: No OFD packet to send [09:22:44]OFD Sender: No OFD packet to send [09:22:49]OFD Sender: No OFD packet to send [09:22:54]OFD Sender: No OFD packet to send [09:22:59]OFD Sender: No OFD packet to send [09:23:04]OFD Sender: No OFD packet to send [09:23:09]OFD Sender: No OFD packet to send [09:23:14]OFD Sender: No OFD packet to send [09:23:19]OFD Sender: No OFD packet to send [09:23:24]OFD Sender: No OFD packet to send [09:23:29]OFD Sender: No OFD packet to send [09:23:34]OFD Sender: No OFD packet to send [09:23:39]OFD Sender: No OFD packet to send [09:23:44]OFD Sender: No OFD packet to send [09:23:48]accept exits with 9 [09:23:48]New connection [09:23:48]New thread 3067297124 created [09:23:48]Thread 3067440484 joined [09:23:48]Waiting for new connection... [09:23:48] Sock 9.Parse request [09:23:48]Sock 9.Check first char [09:23:48]Sock 9.First char is OK [09:23:48]request: POST /json_proto HTTP/1.0 [09:23:48]Method: POST [09:23:48]URL: /json_proto [09:23:48]Method is POST - this is cgi request [09:23:48]url: /json_proto [09:23:48]query_string will be loaded in cgi processing [09:23:48]execute_cgi json_proto POST (null) [09:23:48]execute_cgi path=json_proto method=POST [09:23:48]POST find Content-Length [09:23:48]Host: 172.17.40.196:8080 [09:23:48]Content-Length: 1000 [09:23:48]Content-Type: application/json [09:23:48] [09:23:48]POST finish read [09:23:48]Found Content-Length = 1000 [09:23:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35159", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:23:48]execute_script... [09:23: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)35159", "tax_sys" : 0, "items" : [ { "code": "5449000189394", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u044F\u0433\u043E\u0434\u0430 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481965", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0434\u0438\u043A\u0438\u0435 \u044F\u0433\u043E\u0434\u044B 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" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:23:48]POST & json_proto [09:23:48]process_json_proto [09:23:48]json parsed OK: [09:23:48]protocol is kg_v1.0 [09:23:48]action value=close_receipt [09:23:48]process_action close_receipt [09:23:48]cmd_close_receipt [09:23:48]MH_GetDate [09:23:48]Write to MH i2c: F0 00 00 43 35 67 [09:23:48]Write i2c OK [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: F0 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: F0 09 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: F0 09 00 43 35 00 B1 A9 20 67 5B 68 A1 66 1B [09:23:48]GetLastDocTimeStamp 1730193211 [09:23:48]current date 1730193841 [09:23:48]FM_GetShiftState [09:23:48]SAM_PROTO_GetShiftState [09:23:48]wFMCommunicate request_size=4 [09:23:48]MH_SAM_APDU [09:23:48]CAPDU: 80 13 01 00 [09:23:48]Write to MH i2c: E2 08 00 44 35 80 13 01 00 00 00 00 00 F6 [09:23:48]Write i2c OK [09:23:48]MH_I2C_Read... [09:23:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:23:48]Read from MH i2c: E2 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 0E 00 [09:23:48]MH_I2C_Read... [09:23:48]Read from MH i2c: E2 0E 00 44 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6C [09:23:48]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:23:48]wFMCommunicate OK [09:23:48]SAM_PROTO_GetShiftState done [09:23:48]FM_GetShiftState done [09:23:48]opened in 1730160317 [09:23:48]opened+sec_in_day 1730246717 [09:23:48]quantity*price = 7500 [09:23:48]sum+1 = 7501 [09:23:48]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481965 Напиток энерг Nitro дикие ягоды 0,45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 22 29.10.2024 09:24 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37860 ФПД: 218530579470940 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T092401&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37860&fm=218530579470940&tin=02508201610067®Number=0000000000091684&sum=17000 0 [09:23:50]StoreToDocumentArchive [09:23:50]shift 552 fd 37860 [09:23:50]save to /storage/0552/doc_00037860 [09:23:50]save last doc name /storage/0552/doc_00037860 to /storage/kkm_last_doc_name [09:23:50]save OK [09:23:50]Clear old archive folders... [09:23:50]ProcessDocumentItem done err = 0, tmpTLVsize=423 [09:23:50]tlvbuf is 002DB290 [09:23:50]SAM_PROTO_ClearQueue [09:23:50]wFMCommunicate request_size=4 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 09 00 00 [09:23:50]Write to MH i2c: E2 08 00 51 35 80 09 00 00 00 00 00 00 F8 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 51 35 00 90 00 FA [09:23:50]RAPDU: 90 00 [09:23:50]wFMCommunicate OK [09:23:50]SAM_PROTO_ClearQueue done [09:23:50]KKMCreateOFDPacket [09:23:50]OFDProtocolAddRootSTLVToBuf [09:23:50]FM_MakeSignedData [09:23:50]FM_MakeSignedData [09:23:50]SAM_PROTO_SignData [09:23:50]wFMCommunicate request_size=4 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 0D 01 02 [09:23:50]Write to MH i2c: E2 08 00 52 35 80 0D 01 02 00 00 00 00 00 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 52 35 00 90 00 FB [09:23:50]RAPDU: 90 00 [09:23:50]wFMCommunicate OK [09:23:50]wFMCommunicate request_size=255 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 0D 02 02 FA 03 00 A7 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 [09:23:50]Write to MH i2c: E2 02 01 53 35 80 0D 02 02 FA 00 03 00 A7 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 00 33 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 53 35 00 90 00 FC [09:23:50]RAPDU: 90 00 [09:23:50]wFMCommunicate OK [09:23:50]wFMCommunicate request_size=182 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 0D 02 02 B1 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 16 00 00 00 F4 03 04 00 B1 A9 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E4 93 00 00 35 04 06 00 C6 C0 9D 8F DA 5C [09:23:50]Write to MH i2c: E2 B9 00 54 35 80 0D 02 02 B1 00 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 16 00 00 00 F4 03 04 00 B1 A9 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E4 93 00 00 35 04 06 00 C6 C0 9D 8F DA 5C 00 00 E3 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:23:50]Read from MH i2c: E2 03 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 03 00 54 35 00 90 00 FD [09:23:50]RAPDU: 90 00 [09:23:50]wFMCommunicate OK [09:23:50]wFMCommunicate request_size=4 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 0D 03 02 [09:23:50]Write to MH i2c: E2 08 00 55 35 80 0D 03 02 00 00 00 00 05 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 0B 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 0B 00 55 35 00 DA CD 14 09 F2 D5 C3 BC 90 00 10 [09:23:50]RAPDU: DA CD 14 09 F2 D5 C3 BC 90 00 [09:23:50]wFMCommunicate OK [09:23:50]SAM_PROTO_SignData done [09:23:50]FM_MakeSignedData done [09:23:50]CreateOFDProtocolMessage [09:23:50]wFMCommunicate request_size=4 [09:23:50]MH_SAM_APDU [09:23:50]CAPDU: 80 11 00 00 [09:23:50]Write to MH i2c: E2 08 00 56 35 80 11 00 00 00 00 00 00 05 [09:23:50]Write i2c OK [09:23:50]MH_I2C_Read... [09:23:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:23:50]Read from MH i2c: E2 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 17 00 [09:23:50]MH_I2C_Read... [09:23:50]Read from MH i2c: E2 17 00 56 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 55 [09:23:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:23:50]wFMCommunicate OK [09:23:50]CreateOFDProtocolMessage done [09:23:50]OFDSenderStorePacket 37860 [09:23:50]StoreOFDPacket docnum=37860 [09:23:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 BB 01 00 00 6F 9C B3 01 92 2E 5A 03 01 00 03 00 A7 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 16 00 00 00 F4 03 04 00 B1 A9 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E4 93 00 00 35 04 06 00 C6 C0 9D 8F DA 5C DA CD 14 09 F2 D5 C3 BC [09:23:50]CheckFolder [09:23:50]dirname=/storage/ofd_packets [09:23:50]CheckFolder done [09:23:50]ProducePacketName [09:23:50]name=ofd_packets/00037860 [09:23:50]NVStorageSaveData ofd_packets/00037860 [09:23:50]File name is /storage/ofd_packets/00037860 [09:23:50]Write 473 bytes [09:23:50]NVStorageSaveData done [09:23:50]OFDSenderStorePacket done [09:23:51]KKMCreateOFDPacket done [09:23:51]NVStorageSaveData kkm_last_timestamp [09:23:51]File name is /storage/kkm_last_timestamp [09:23:51]Write 4 bytes [09:23:51]NVStorageSaveData done [09:23:51]ExternCall_PrintAddStr [09:23:51]wPrintStart [09:23:51]Write to MH i2c: 01 00 00 57 35 8C [09:23:51]OFD Sender: Processing packet 37860 [packets to send 42, broken 41] [09:23:51]ProducePacketName [09:23:51]name=ofd_packets/00037860 [09:23:51]OFD Sender: To server: pG, [09:23:51]CommunicateWithHost lk.salyk.kg:30040 [09:23:51]ConnectInit lk.salyk.kg [09:23:51]Write i2c OK [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 07 00 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 07 00 57 35 00 00 00 00 00 FF 0F A1 [09:23:51]RasterBufferAndPrint [09:23:51]line Счет N : (3)35159 [09:23:51]line ИНН: 02508201610067 [09:23:51]line Контрольно-Кассовый Чек [09:23:51]line ПРОДАЖА [09:23:51]line Товар: 5449000189394 [09:23:51]line Холодный чай Fuse ягода 0,5л [09:23:51]line 1.000 * 75.00 [09:23:51]line = 75.00 [09:23:51]line НДС 12% НСП 1% [09:23:51]line > о реализуемом товаре [09:23:51]line Товар: 4700000481965 [09:23:51]line Напиток энерг Nitro дикие ягоды 0,45 ж/б [09:23:51]line 1.000 * 95.00 [09:23:51]line = 95.00 [09:23:51]line НДС 12% НСП 1% [09:23:51]line > о реализуемом товаре [09:23:51]line ИТОГО: 170.00 [09:23:51]line НСП 1% : 1.50 [09:23:51]line НДС 12% : 18.05 [09:23:51]line Наличными: 170.00 [09:23:51]line Безнал.: 0.00 [09:23:51]line Место: АЗС № 126 "Партнер Нефть" [09:23:51]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:23:51]line СНО: Общий режим [09:23:51]line Чек 22 29.10.2024 09:24 [09:23:51]line Смена: 552 ФФД: 1.0 [09:23:51]line ЗНМ: 0300000092 [09:23:51]line РНМ: 0000000000091684 [09:23:51]line Версия ККМ: 001 [09:23:51]line ФМ: 0000000000871841 [09:23:51]line ФД: 37860 [09:23:51]line ФПД: 218530579470940 [09:23:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T092401&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37860&fm=218530579470940&tin=02508201610067®Number=0000000000091684&sum=17000 [09:23:51]line 0 [09:23:51]written 0, free lines is 4095 [09:23:51]Write to MH i2c: 01 00 00 86 35 BB [09:23:51]Write i2c OK [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 07 00 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: 01 07 00 86 35 00 00 00 00 00 42 0C 10 [09:23:51]RasterBufferAndPrint [09:23:51]line [09:23:51]line [09:23:51]line [09:23:51]line [09:23:51]line [09:23:51]written 0, free lines is 3142 [09:23:51]MH_Cut [09:23:51]Write to MH i2c: D1 01 00 8D 35 01 94 [09:23:51]Write i2c OK [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: D1 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: D1 01 00 [09:23:51]MH_I2C_Read... [09:23:51]Read from MH i2c: D1 01 00 8D 35 00 93 [09:23:51]Write to MH i2c: 01 00 00 8E 35 C3 [09:23:51]Write i2c OK [09:23:51]MH_I2C_Read... [09:23:52]*** Cut start [09:23:52]*** Partial cut [09:23:52]*** CUTSNS_PIN = 1 [09:23:52]*** CUTSNS_PIN = 0 [09:23:52]*** Brake cut motor [09:23:52]Connected sock=11 [09:23:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 BB 01 00 00 6F 9C B3 01 92 2E 5A 03 01 00 03 00 A7 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 39 34 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D1 8F D0 B3 D0 BE D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 84 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 36 35 06 04 40 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B4 D0 B8 D0 BA D0 B8 D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 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 16 00 00 00 F4 03 04 00 B1 A9 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E4 93 00 00 35 04 06 00 C6 C0 9D 8F DA 5C DA CD 14 09 F2 D5 C3 BC [09:23:53]Read from MH i2c: 01 [09:23:53]MH_I2C_Read... [09:23:53]*** Stop cut motor [09:23:53]*** Cut end [09:23:53]Read from MH i2c: 01 07 00 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: 01 07 00 8E 35 00 00 00 00 00 FF 0F D8 [09:23:53]process_action close_receipt done [09:23:53]requested_data is exist [09:23:53]produce_requested_data [09:23:53]requested_item fm.sn is exist - process it [09:23:53]wFMCommunicate request_size=4 [09:23:53]MH_SAM_APDU [09:23:53]CAPDU: 80 11 00 00 [09:23:53]Write to MH i2c: E2 08 00 8F 35 80 11 00 00 00 00 00 00 3E [09:23:53]Write i2c OK [09:23:53]MH_I2C_Read... [09:23:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:23:53]Read from MH i2c: E2 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 17 00 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 17 00 8F 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8E [09:23:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:23:53]wFMCommunicate OK [09:23:53]requested_item fd.num is exist - process it [09:23:53]SAM_PROTO_GetFieldsCounters [09:23:53]wFMCommunicate request_size=4 [09:23:53]MH_SAM_APDU [09:23:53]CAPDU: 80 13 00 00 [09:23:53]Write to MH i2c: E2 08 00 90 35 80 13 00 00 00 00 00 00 41 [09:23:53]Write i2c OK [09:23:53]MH_I2C_Read... [09:23:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 26 25 47 00 D6 D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E4 93 00 00 F4 03 04 00 A5 54 20 67 B6 04 01 00 00 7D 65 CC B5 5E D7 2B CD [09:23:53]CommunicateWithHost err = 0 [09:23:53]CheckOFDResponse [09:23:53]1017 (14) - 77093643461234 [09:23:53]1041 (16) - 0000000000871841 [09:23:53]1040 (4) - 37860 [09:23:53]1012 (4) - 29.10.2024 03:21 [09:23:53]1206 (1) - 0 [09:23:53]OFD Sender: Remove packet 37860 [09:23:53]ProducePacketName [09:23:53]name=ofd_packets/00037860 [09:23:53]NVStorageDeleteData [09:23:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:23:53]Read from MH i2c: E2 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 62 00 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 62 00 90 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [09:23:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:23:53]wFMCommunicate OK [09:23:53]SAM_PROTO_GetFieldsCounters done [09:23:53]requested_item shift.num is exist - process it [09:23:53]requested_item shift.opened is exist - process it [09:23:53]req_shift_opened [09:23:53]FM_GetShiftState [09:23:53]SAM_PROTO_GetShiftState [09:23:53]wFMCommunicate request_size=4 [09:23:53]MH_SAM_APDU [09:23:53]CAPDU: 80 13 01 00 [09:23:53]Write to MH i2c: E2 08 00 91 35 80 13 01 00 00 00 00 00 43 [09:23:53]Write i2c OK [09:23:53]MH_I2C_Read... [09:23:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:23:53]Read from MH i2c: E2 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 0E 00 [09:23:53]MH_I2C_Read... [09:23:53]Read from MH i2c: E2 0E 00 91 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B9 [09:23:53]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:23:53]wFMCommunicate OK [09:23:53]SAM_PROTO_GetShiftState done [09:23:53]FM_GetShiftState done [09:23:53]req_shift_opened done [09:23:53]requested_item shift.open_date is exist - process it [09:23:53]req_shift_open_date [09:23:53]req_shift_open_date done [09:23:53]produce_requested_data done [09:23:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37860,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:23:53]process_action_free close_receipt [09:23:53]json_value_free [09:23:53]json_value_free done [09:23:53]process_json_proto returns [09:23:53]Send response to host [09:23:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37860,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:23:53]free response buf [09:23:53]execute_script done [09:23:53]execute_script returns [09:23:53]free content buf [09:23:53]Sock 9.Close socket [09:23:53]Sock 9.Thread stoped [09:23:53]OFD Sender: No OFD packet to send [09:23:58]OFD Sender: No OFD packet to send [09:24:03]OFD Sender: No OFD packet to send [09:24:08]OFD Sender: No OFD packet to send [09:24:13]OFD Sender: No OFD packet to send [09:24:18]OFD Sender: No OFD packet to send [09:24:23]OFD Sender: No OFD packet to send [09:24:28]OFD Sender: No OFD packet to send [09:24:33]OFD Sender: No OFD packet to send [09:24:38]OFD Sender: No OFD packet to send [09:24:43]OFD Sender: No OFD packet to send [09:24:48]OFD Sender: No OFD packet to send [09:24:53]OFD Sender: No OFD packet to send [09:24:58]OFD Sender: No OFD packet to send [09:25:03]OFD Sender: No OFD packet to send [09:25:08]OFD Sender: No OFD packet to send [09:25:13]OFD Sender: No OFD packet to send [09:25:18]OFD Sender: No OFD packet to send [09:25:23]OFD Sender: No OFD packet to send [09:25:28]OFD Sender: No OFD packet to send [09:25:33]OFD Sender: No OFD packet to send [09:25:38]OFD Sender: No OFD packet to send [09:25:43]OFD Sender: No OFD packet to send [09:25:48]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:44]OFD Sender: No OFD packet to send [09:27:49]OFD Sender: No OFD packet to send [09:27:54]OFD Sender: No OFD packet to send [09:27:59]OFD Sender: No OFD packet to send [09:28:04]OFD Sender: No OFD packet to send [09:28:09]OFD Sender: No OFD packet to send [09:28:14]OFD Sender: No OFD packet to send [09:28:19]OFD Sender: No OFD packet to send [09:28:24]OFD Sender: No OFD packet to send [09:28:29]OFD Sender: No OFD packet to send [09:28:34]OFD Sender: No OFD packet to send [09:28:39]OFD Sender: No OFD packet to send [09:28:44]OFD Sender: No OFD packet to send [09:28:49]OFD Sender: No OFD packet to send [09:28:54]OFD Sender: No OFD packet to send [09:28:59]OFD Sender: No OFD packet to send [09:29:04]OFD Sender: No OFD packet to send [09:29:09]OFD Sender: No OFD packet to send [09:29:14]OFD Sender: No OFD packet to send [09:29:19]OFD Sender: No OFD packet to send [09:29:24]OFD Sender: No OFD packet to send [09:29:29]OFD Sender: No OFD packet to send [09:29:34]OFD Sender: No OFD packet to send [09:29:39]OFD Sender: No OFD packet to send [09:29:44]OFD Sender: No OFD packet to send [09:29:49]OFD Sender: No OFD packet to send [09:29:54]OFD Sender: No OFD packet to send [09:29:59]OFD Sender: No OFD packet to send [09:30:04]OFD Sender: No OFD packet to send [09:30:09]OFD Sender: No OFD packet to send [09:30:14]OFD Sender: No OFD packet to send [09:30:19]OFD Sender: No OFD packet to send [09:30:24]OFD Sender: No OFD packet to send [09:30:29]OFD Sender: No OFD packet to send [09:30:34]OFD Sender: No OFD packet to send [09:30:39]OFD Sender: No OFD packet to send [09:30:44]OFD Sender: No OFD packet to send [09:30:49]OFD Sender: No OFD packet to send [09:30:54]OFD Sender: No OFD packet to send [09:30:59]OFD Sender: No OFD packet to send [09:31:04]OFD Sender: No OFD packet to send [09:31:09]OFD Sender: No OFD packet to send [09:31:14]OFD Sender: No OFD packet to send [09:31:19]OFD Sender: No OFD packet to send [09:31:24]OFD Sender: No OFD packet to send [09:31:29]OFD Sender: No OFD packet to send [09:31:34]OFD Sender: No OFD packet to send [09:31:39]OFD Sender: No OFD packet to send [09:31:44]OFD Sender: No OFD packet to send [09:31:49]OFD Sender: No OFD packet to send [09:31:54]OFD Sender: No OFD packet to send [09:31:59]OFD Sender: No OFD packet to send [09:32:04]OFD Sender: No OFD packet to send [09:32:09]OFD Sender: No OFD packet to send [09:32:14]OFD Sender: No OFD packet to send [09:32:19]OFD Sender: No OFD packet to send [09:32:24]OFD Sender: No OFD packet to send [09:32:29]OFD Sender: No OFD packet to send [09:32:34]OFD Sender: No OFD packet to send [09:32:39]OFD Sender: No OFD packet to send [09:32:44]OFD Sender: No OFD packet to send [09:32:49]OFD Sender: No OFD packet to send [09:32:54]OFD Sender: No OFD packet to send [09:32:59]OFD Sender: No OFD packet to send [09:33:04]OFD Sender: No OFD packet to send [09:33:09]OFD Sender: No OFD packet to send [09:33:14]OFD Sender: No OFD packet to send [09:33:19]OFD Sender: No OFD packet to send [09:33:24]OFD Sender: No OFD packet to send [09:33:29]OFD Sender: No OFD packet to send [09:33:34]OFD Sender: No OFD packet to send [09:33:39]OFD Sender: No OFD packet to send [09:33:44]OFD Sender: No OFD packet to send [09:33:49]OFD Sender: No OFD packet to send [09:33:54]OFD Sender: No OFD packet to send [09:33:59]OFD Sender: No OFD packet to send [09:34:04]OFD Sender: No OFD packet to send [09:34:09]OFD Sender: No OFD packet to send [09:34:14]OFD Sender: No OFD packet to send [09:34:19]OFD Sender: No OFD packet to send [09:34:24]OFD Sender: No OFD packet to send [09:34:29]OFD Sender: No OFD packet to send [09:34:34]OFD Sender: No OFD packet to send [09:34:39]OFD Sender: No OFD packet to send [09:34:44]OFD Sender: No OFD packet to send [09:34:49]OFD Sender: No OFD packet to send [09:34:54]OFD Sender: No OFD packet to send [09:34:59]OFD Sender: No OFD packet to send [09:35:04]OFD Sender: No OFD packet to send [09:35:09]OFD Sender: No OFD packet to send [09:35:14]OFD Sender: No OFD packet to send [09:35:19]OFD Sender: No OFD packet to send [09:35:24]OFD Sender: No OFD packet to send [09:35:29]OFD Sender: No OFD packet to send [09:35:34]OFD Sender: No OFD packet to send [09:35:39]OFD Sender: No OFD packet to send [09:35:44]OFD Sender: No OFD packet to send [09:35:49]OFD Sender: No OFD packet to send [09:35:54]OFD Sender: No OFD packet to send [09:35:59]OFD Sender: No OFD packet to send [09:36:04]OFD Sender: No OFD packet to send [09:36:09]OFD Sender: No OFD packet to send [09:36:14]OFD Sender: No OFD packet to send [09:36:19]OFD Sender: No OFD packet to send [09:36:24]OFD Sender: No OFD packet to send [09:36:29]OFD Sender: No OFD packet to send [09:36:34]OFD Sender: No OFD packet to send [09:36:39]OFD Sender: No OFD packet to send [09:36:44]OFD Sender: No OFD packet to send [09:36:49]OFD Sender: No OFD packet to send [09:36:54]OFD Sender: No OFD packet to send [09:36:59]OFD Sender: No OFD packet to send [09:37:04]OFD Sender: No OFD packet to send [09:37:09]OFD Sender: No OFD packet to send [09:37:14]OFD Sender: No OFD packet to send [09:37:19]OFD Sender: No OFD packet to send [09:37:24]OFD Sender: No OFD packet to send [09:37:29]OFD Sender: No OFD packet to send [09:37:34]OFD Sender: No OFD packet to send [09:37:39]OFD Sender: No OFD packet to send [09:37:44]OFD Sender: No OFD packet to send [09:37:49]OFD Sender: No OFD packet to send [09:37:54]OFD Sender: No OFD packet to send [09:37:59]OFD Sender: No OFD packet to send [09:38:04]OFD Sender: No OFD packet to send [09:38:09]OFD Sender: No OFD packet to send [09:38:14]OFD Sender: No OFD packet to send [09:38:19]OFD Sender: No OFD packet to send [09:38:24]OFD Sender: No OFD packet to send [09:38:29]OFD Sender: No OFD packet to send [09:38:34]OFD Sender: No OFD packet to send [09:38:39]OFD Sender: No OFD packet to send [09:38:44]OFD Sender: No OFD packet to send [09:38:49]OFD Sender: No OFD packet to send [09:38:54]OFD Sender: No OFD packet to send [09:38:59]OFD Sender: No OFD packet to send [09:39:04]OFD Sender: No OFD packet to send [09:39:09]OFD Sender: No OFD packet to send [09:39:14]OFD Sender: No OFD packet to send [09:39:19]OFD Sender: No OFD packet to send [09:39:24]OFD Sender: No OFD packet to send [09:39:29]OFD Sender: No OFD packet to send [09:39:34]OFD Sender: No OFD packet to send [09:39:39]OFD Sender: No OFD packet to send [09:39:44]OFD Sender: No OFD packet to send [09:39:49]OFD Sender: No OFD packet to send [09:39:54]OFD Sender: No OFD packet to send [09:39:59]OFD Sender: No OFD packet to send [09:40:04]OFD Sender: No OFD packet to send [09:40:09]OFD Sender: No OFD packet to send [09:40:14]OFD Sender: No OFD packet to send [09:40:19]OFD Sender: No OFD packet to send [09:40:20]accept exits with 7 [09:40:20]New connection [09:40:20]New thread 3067440484 created [09:40:20]Thread 3067297124 joined [09:40:20]Waiting for new connection... [09:40:20] Sock 7.Parse request [09:40:20]Sock 7.Check first char [09:40:20]Sock 7.First char is OK [09:40:20]request: POST /json_proto HTTP/1.0 [09:40:20]Method: POST [09:40:20]URL: /json_proto [09:40:20]Method is POST - this is cgi request [09:40:20]url: /json_proto [09:40:20]query_string will be loaded in cgi processing [09:40:20]execute_cgi json_proto POST (null) [09:40:20]execute_cgi path=json_proto method=POST [09:40:20]POST find Content-Length [09:40:20]Host: 172.17.40.196:8080 [09:40:20]Content-Length: 645 [09:40:20]Content-Type: application/json [09:40:20] [09:40:20]POST finish read [09:40:20]Found Content-Length = 645 [09:40:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35160", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:20]execute_script... [09:40:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35160", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:40:20]POST & json_proto [09:40:20]process_json_proto [09:40:20]json parsed OK: [09:40:20]protocol is kg_v1.0 [09:40:20]action value=close_receipt [09:40:20]process_action close_receipt [09:40:20]cmd_close_receipt [09:40:20]MH_GetDate [09:40:20]Write to MH i2c: F0 00 00 92 35 B6 [09:40:20]Write i2c OK [09:40:20]MH_I2C_Read... [09:40:20]Read from MH i2c: F0 [09:40:20]MH_I2C_Read... [09:40:20]Read from MH i2c: F0 09 00 [09:40:20]MH_I2C_Read... [09:40:20]Read from MH i2c: F0 09 00 92 35 00 90 AD 20 67 5B 68 A1 66 4D [09:40:20]GetLastDocTimeStamp 1730193841 [09:40:20]current date 1730194832 [09:40:20]FM_GetShiftState [09:40:20]SAM_PROTO_GetShiftState [09:40:20]wFMCommunicate request_size=4 [09:40:20]MH_SAM_APDU [09:40:20]CAPDU: 80 13 01 00 [09:40:20]Write to MH i2c: E2 08 00 93 35 80 13 01 00 00 00 00 00 45 [09:40:20]Write i2c OK [09:40:20]MH_I2C_Read... [09:40:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:20]Read from MH i2c: E2 [09:40:20]MH_I2C_Read... [09:40:20]Read from MH i2c: E2 0E 00 [09:40:20]MH_I2C_Read... [09:40:20]Read from MH i2c: E2 0E 00 93 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 BB [09:40:20]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:40:20]wFMCommunicate OK [09:40:20]SAM_PROTO_GetShiftState done [09:40:20]FM_GetShiftState done [09:40:20]opened in 1730160317 [09:40:20]opened+sec_in_day 1730246717 [09:40:20]quantity*price = 13000 [09:40:20]sum+1 = 13001 [09:40:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 23 29.10.2024 09:40 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37861 ФПД: 151288363832270 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094033&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37861&fm=151288363832270&tin=02508201610067®Number=0000000000091684&sum=13000 0 [09:40:21]StoreToDocumentArchive [09:40:21]shift 552 fd 37861 [09:40:21]save to /storage/0552/doc_00037861 [09:40:21]save last doc name /storage/0552/doc_00037861 to /storage/kkm_last_doc_name [09:40:21]save OK [09:40:21]Clear old archive folders... [09:40:21]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:40:21]tlvbuf is B6FCC0C0 [09:40:21]SAM_PROTO_ClearQueue [09:40:21]wFMCommunicate request_size=4 [09:40:21]MH_SAM_APDU [09:40:21]CAPDU: 80 09 00 00 [09:40:21]Write to MH i2c: E2 08 00 A0 35 80 09 00 00 00 00 00 00 47 [09:40:21]Write i2c OK [09:40:21]MH_I2C_Read... [09:40:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:40:21]Read from MH i2c: E2 [09:40:21]MH_I2C_Read... [09:40:21]Read from MH i2c: E2 03 00 [09:40:21]MH_I2C_Read... [09:40:21]Read from MH i2c: E2 03 00 A0 35 00 90 00 49 [09:40:21]RAPDU: 90 00 [09:40:21]wFMCommunicate OK [09:40:21]SAM_PROTO_ClearQueue done [09:40:21]KKMCreateOFDPacket [09:40:21]OFDProtocolAddRootSTLVToBuf [09:40:21]FM_MakeSignedData [09:40:21]FM_MakeSignedData [09:40:21]SAM_PROTO_SignData [09:40:21]wFMCommunicate request_size=4 [09:40:21]MH_SAM_APDU [09:40:21]CAPDU: 80 0D 01 02 [09:40:21]Write to MH i2c: E2 08 00 A1 35 80 0D 01 02 00 00 00 00 4F [09:40:21]Write i2c OK [09:40:21]MH_I2C_Read... [09:40:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:40:21]Read from MH i2c: E2 [09:40:21]MH_I2C_Read... [09:40:21]Read from MH i2c: E2 03 00 [09:40:21]MH_I2C_Read... [09:40:21]Read from MH i2c: E2 03 00 A1 35 00 90 00 4A [09:40:21]RAPDU: 90 00 [09:40:21]wFMCommunicate OK [09:40:21]wFMCommunicate request_size=255 [09:40:21]MH_SAM_APDU [09:40:21]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 91 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [09:40:21]Write to MH i2c: E2 02 01 A2 35 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 91 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 67 [09:40:21]Write i2c OK [09:40:21]MH_I2C_Read... [09:40:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:22]Read from MH i2c: E2 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 03 00 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 03 00 A2 35 00 90 00 4B [09:40:22]RAPDU: 90 00 [09:40:22]wFMCommunicate OK [09:40:22]wFMCommunicate request_size=41 [09:40:22]MH_SAM_APDU [09:40:22]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E5 93 00 00 35 04 06 00 89 98 91 2F 53 CE [09:40:22]Write to MH i2c: E2 2C 00 A3 35 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E5 93 00 00 35 04 06 00 89 98 91 2F 53 CE 00 00 98 [09:40:22]Write i2c OK [09:40:22]MH_I2C_Read... [09:40:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:40:22]Read from MH i2c: E2 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 03 00 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 03 00 A3 35 00 90 00 4C [09:40:22]RAPDU: 90 00 [09:40:22]wFMCommunicate OK [09:40:22]wFMCommunicate request_size=4 [09:40:22]MH_SAM_APDU [09:40:22]CAPDU: 80 0D 03 02 [09:40:22]Write to MH i2c: E2 08 00 A4 35 80 0D 03 02 00 00 00 00 54 [09:40:22]Write i2c OK [09:40:22]MH_I2C_Read... [09:40:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:40:22]Read from MH i2c: E2 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 0B 00 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 0B 00 A4 35 00 8D 31 CF CF 26 31 3D B3 90 00 F8 [09:40:22]RAPDU: 8D 31 CF CF 26 31 3D B3 90 00 [09:40:22]wFMCommunicate OK [09:40:22]SAM_PROTO_SignData done [09:40:22]FM_MakeSignedData done [09:40:22]CreateOFDProtocolMessage [09:40:22]wFMCommunicate request_size=4 [09:40:22]MH_SAM_APDU [09:40:22]CAPDU: 80 11 00 00 [09:40:22]Write to MH i2c: E2 08 00 A5 35 80 11 00 00 00 00 00 00 54 [09:40:22]Write i2c OK [09:40:22]MH_I2C_Read... [09:40:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:22]Read from MH i2c: E2 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 17 00 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: E2 17 00 A5 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A4 [09:40:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:40:22]wFMCommunicate OK [09:40:22]CreateOFDProtocolMessage done [09:40:22]OFDSenderStorePacket 37861 [09:40:22]StoreOFDPacket docnum=37861 [09:40:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 44 77 26 01 49 BE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 91 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E5 93 00 00 35 04 06 00 89 98 91 2F 53 CE 8D 31 CF CF 26 31 3D B3 [09:40:22]CheckFolder [09:40:22]dirname=/storage/ofd_packets [09:40:22]CheckFolder done [09:40:22]ProducePacketName [09:40:22]name=ofd_packets/00037861 [09:40:22]NVStorageSaveData ofd_packets/00037861 [09:40:22]File name is /storage/ofd_packets/00037861 [09:40:22]Write 332 bytes [09:40:22]NVStorageSaveData done [09:40:22]OFDSenderStorePacket done [09:40:22]KKMCreateOFDPacket done [09:40:22]NVStorageSaveData kkm_last_timestamp [09:40:22]File name is /storage/kkm_last_timestamp [09:40:22]Write 4 bytes [09:40:22]NVStorageSaveData done [09:40:22]ExternCall_PrintAddStr [09:40:22]wPrintStart [09:40:22]Write to MH i2c: 01 00 00 A6 35 DB [09:40:22]Write i2c OK [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: 01 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: 01 07 00 [09:40:22]MH_I2C_Read... [09:40:22]Read from MH i2c: 01 07 00 A6 35 00 00 00 00 00 FF 0F F0 [09:40:22]RasterBufferAndPrint [09:40:22]line Счет N : (3)35160 [09:40:22]line ИНН: 02508201610067 [09:40:22]line Контрольно-Кассовый Чек [09:40:22]line ПРОДАЖА [09:40:22]line Товар: 2000036220012 [09:40:22]line Кофе Капучино XL(GABB TRADE) [09:40:22]line 1.000 * 130.00 [09:40:22]line = 130.00 [09:40:22]line НДС 12% НСП 1% [09:40:22]line > о реализуемом товаре [09:40:22]line ИТОГО: 130.00 [09:40:22]line НСП 1% : 1.15 [09:40:22]line НДС 12% : 13.80 [09:40:22]line Наличными: 130.00 [09:40:22]line Безнал.: 0.00 [09:40:22]line Место: АЗС № 126 "Партнер Нефть" [09:40:22]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:40:22]line СНО: Общий режим [09:40:22]line Чек 23 29.10.2024 09:40 [09:40:22]line Смена: 552 ФФД: 1.0 [09:40:22]line ЗНМ: 0300000092 [09:40:22]line РНМ: 0000000000091684 [09:40:22]line Версия ККМ: 001 [09:40:22]line ФМ: 0000000000871841 [09:40:22]line ФД: 37861 [09:40:22]line ФПД: 151288363832270 [09:40:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094033&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37861&fm=151288363832270&tin=02508201610067®Number=0000000000091684&sum=13000 [09:40:22]OFD Sender: Processing packet 37861 [packets to send 42, broken 41] [09:40:22]ProducePacketName [09:40:22]name=ofd_packets/00037861 [09:40:22]OFD Sender: To server: pG, [09:40:22]CommunicateWithHost lk.salyk.kg:30040 [09:40:22]ConnectInit lk.salyk.kg [09:40:22]line 0 [09:40:22]written 0, free lines is 4095 [09:40:22]Connected sock=10 [09:40:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 44 77 26 01 49 BE 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 91 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E5 93 00 00 35 04 06 00 89 98 91 2F 53 CE 8D 31 CF CF 26 31 3D B3 [09:40:23]Write to MH i2c: 01 00 00 CF 35 04 [09:40:23]Write i2c OK [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: 01 [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: 01 07 00 [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: 01 07 00 CF 35 00 00 00 00 00 C3 0C DA [09:40:23]RasterBufferAndPrint [09:40:23]line [09:40:23]line [09:40:23]line [09:40:23]line [09:40:23]line [09:40:23]written 0, free lines is 3272 [09:40:23]MH_Cut [09:40:23]Write to MH i2c: D1 01 00 D6 35 01 DD [09:40:23]Write i2c OK [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: D1 [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: D1 01 00 [09:40:23]MH_I2C_Read... [09:40:23]Read from MH i2c: D1 01 00 D6 35 00 DC [09:40:23]Write to MH i2c: 01 00 00 D7 35 0C [09:40:23]Write i2c OK [09:40:23]MH_I2C_Read... [09:40:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9E 73 47 00 86 28 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E5 93 00 00 F4 03 04 00 83 58 20 67 B6 04 01 00 00 05 1C 56 B9 78 D6 9F 40 [09:40:23]CommunicateWithHost err = 0 [09:40:23]CheckOFDResponse [09:40:23]1017 (14) - 77093643461234 [09:40:23]1041 (16) - 0000000000871841 [09:40:23]1040 (4) - 37861 [09:40:23]1012 (4) - 29.10.2024 03:37 [09:40:23]1206 (1) - 0 [09:40:23]OFD Sender: Remove packet 37861 [09:40:23]ProducePacketName [09:40:23]name=ofd_packets/00037861 [09:40:23]NVStorageDeleteData [09:40:23]OFD Sender: No OFD packet to send [09:40:23]*** Cut start [09:40:23]*** Partial cut [09:40:23]*** CUTSNS_PIN = 1 [09:40:24]*** CUTSNS_PIN = 0 [09:40:24]*** Brake cut motor [09:40:24]Read from MH i2c: 01 [09:40:24]MH_I2C_Read... [09:40:24]*** Stop cut motor [09:40:24]*** Cut end [09:40:24]Read from MH i2c: 01 07 00 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: 01 07 00 D7 35 00 00 00 00 00 FF 0F 21 [09:40:24]process_action close_receipt done [09:40:24]requested_data is exist [09:40:24]produce_requested_data [09:40:24]requested_item fm.sn is exist - process it [09:40:24]wFMCommunicate request_size=4 [09:40:24]MH_SAM_APDU [09:40:24]CAPDU: 80 11 00 00 [09:40:24]Write to MH i2c: E2 08 00 D8 35 80 11 00 00 00 00 00 00 87 [09:40:24]Write i2c OK [09:40:24]MH_I2C_Read... [09:40:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:40:24]Read from MH i2c: E2 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 17 00 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 17 00 D8 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D7 [09:40:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:40:24]wFMCommunicate OK [09:40:24]requested_item fd.num is exist - process it [09:40:24]SAM_PROTO_GetFieldsCounters [09:40:24]wFMCommunicate request_size=4 [09:40:24]MH_SAM_APDU [09:40:24]CAPDU: 80 13 00 00 [09:40:24]Write to MH i2c: E2 08 00 D9 35 80 13 00 00 00 00 00 00 8A [09:40:24]Write i2c OK [09:40:24]MH_I2C_Read... [09:40:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:40:24]Read from MH i2c: E2 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 62 00 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 62 00 D9 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [09:40:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:40:24]wFMCommunicate OK [09:40:24]SAM_PROTO_GetFieldsCounters done [09:40:24]requested_item shift.num is exist - process it [09:40:24]requested_item shift.opened is exist - process it [09:40:24]req_shift_opened [09:40:24]FM_GetShiftState [09:40:24]SAM_PROTO_GetShiftState [09:40:24]wFMCommunicate request_size=4 [09:40:24]MH_SAM_APDU [09:40:24]CAPDU: 80 13 01 00 [09:40:24]Write to MH i2c: E2 08 00 DA 35 80 13 01 00 00 00 00 00 8C [09:40:24]Write i2c OK [09:40:24]MH_I2C_Read... [09:40:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:40:24]Read from MH i2c: E2 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 0E 00 [09:40:24]MH_I2C_Read... [09:40:24]Read from MH i2c: E2 0E 00 DA 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 02 [09:40:24]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:40:24]wFMCommunicate OK [09:40:24]SAM_PROTO_GetShiftState done [09:40:24]FM_GetShiftState done [09:40:24]req_shift_opened done [09:40:24]requested_item shift.open_date is exist - process it [09:40:24]req_shift_open_date [09:40:24]req_shift_open_date done [09:40:24]produce_requested_data done [09:40:24]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37861,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:40:24]process_action_free close_receipt [09:40:24]json_value_free [09:40:24]json_value_free done [09:40:24]process_json_proto returns [09:40:24]Send response to host [09:40:24]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37861,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:40:24]free response buf [09:40:24]execute_script done [09:40:24]execute_script returns [09:40:24]free content buf [09:40:24]Sock 7.Close socket [09:40:24]Sock 7.Thread stoped [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:29]OFD Sender: No OFD packet to send [09:41:30]accept exits with 9 [09:41:30]New connection [09:41:30]New thread 3067297124 created [09:41:30]Thread 3067440484 joined [09:41:30]Waiting for new connection... [09:41:30] Sock 9.Parse request [09:41:30]Sock 9.Check first char [09:41:30]Sock 9.First char is OK [09:41:30]request: POST /json_proto HTTP/1.0 [09:41:30]Method: POST [09:41:30]URL: /json_proto [09:41:30]Method is POST - this is cgi request [09:41:30]url: /json_proto [09:41:30]query_string will be loaded in cgi processing [09:41:30]execute_cgi json_proto POST (null) [09:41:30]execute_cgi path=json_proto method=POST [09:41:30]POST find Content-Length [09:41:30]Host: 172.17.40.196:8080 [09:41:30]Content-Length: 618 [09:41:30]Content-Type: application/json [09:41:30] [09:41:30]POST finish read [09:41:30]Found Content-Length = 618 [09:41:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35161", "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" ] } } [09:41:30]execute_script... [09:41: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)35161", "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" ] } } [09:41:30]POST & json_proto [09:41:30]process_json_proto [09:41:30]json parsed OK: [09:41:30]protocol is kg_v1.0 [09:41:30]action value=close_receipt [09:41:30]process_action close_receipt [09:41:30]cmd_close_receipt [09:41:30]MH_GetDate [09:41:30]Write to MH i2c: F0 00 00 DB 35 FF [09:41:30]Write i2c OK [09:41:30]MH_I2C_Read... [09:41:30]Read from MH i2c: F0 [09:41:30]MH_I2C_Read... [09:41:30]Read from MH i2c: F0 09 00 [09:41:30]MH_I2C_Read... [09:41:30]Read from MH i2c: F0 09 00 DB 35 00 D6 AD 20 67 5B 68 A1 66 DC [09:41:30]GetLastDocTimeStamp 1730194833 [09:41:30]current date 1730194902 [09:41:30]FM_GetShiftState [09:41:30]SAM_PROTO_GetShiftState [09:41:30]wFMCommunicate request_size=4 [09:41:30]MH_SAM_APDU [09:41:30]CAPDU: 80 13 01 00 [09:41:30]Write to MH i2c: E2 08 00 DC 35 80 13 01 00 00 00 00 00 8E [09:41:30]Write i2c OK [09:41:30]MH_I2C_Read... [09:41:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:30]Read from MH i2c: E2 [09:41:30]MH_I2C_Read... [09:41:30]Read from MH i2c: E2 0E 00 [09:41:30]MH_I2C_Read... [09:41:30]Read from MH i2c: E2 0E 00 DC 35 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 04 [09:41:30]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:41:30]wFMCommunicate OK [09:41:30]SAM_PROTO_GetShiftState done [09:41:30]FM_GetShiftState done [09:41:30]opened in 1730160317 [09:41:30]opened+sec_in_day 1730246717 [09:41:30]quantity*price = 14400 [09:41:30]sum+1 = 14401 [09:41:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 24 29.10.2024 09:41 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37862 ФПД: 97055204925336 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094142&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37862&fm=97055204925336&tin=02508201610067®Number=0000000000091684&sum=14400 0 [09:41:31]StoreToDocumentArchive [09:41:31]shift 552 fd 37862 [09:41:31]save to /storage/0552/doc_00037862 [09:41:31]save last doc name /storage/0552/doc_00037862 to /storage/kkm_last_doc_name [09:41:31]save OK [09:41:31]Clear old archive folders... [09:41:31]ProcessDocumentItem done err = 0, tmpTLVsize=271 [09:41:31]tlvbuf is 0028AAD0 [09:41:31]SAM_PROTO_ClearQueue [09:41:31]wFMCommunicate request_size=4 [09:41:31]MH_SAM_APDU [09:41:31]CAPDU: 80 09 00 00 [09:41:31]Write to MH i2c: E2 08 00 E9 35 80 09 00 00 00 00 00 00 90 [09:41:31]Write i2c OK [09:41:31]MH_I2C_Read... [09:41:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:41:31]Read from MH i2c: E2 [09:41:31]MH_I2C_Read... [09:41:31]Read from MH i2c: E2 03 00 [09:41:31]MH_I2C_Read... [09:41:31]Read from MH i2c: E2 03 00 E9 35 00 90 00 92 [09:41:31]RAPDU: 90 00 [09:41:31]wFMCommunicate OK [09:41:31]SAM_PROTO_ClearQueue done [09:41:31]KKMCreateOFDPacket [09:41:31]OFDProtocolAddRootSTLVToBuf [09:41:31]FM_MakeSignedData [09:41:31]FM_MakeSignedData [09:41:31]SAM_PROTO_SignData [09:41:31]wFMCommunicate request_size=4 [09:41:31]MH_SAM_APDU [09:41:31]CAPDU: 80 0D 01 02 [09:41:31]Write to MH i2c: E2 08 00 EA 35 80 0D 01 02 00 00 00 00 98 [09:41:31]Write i2c OK [09:41:31]MH_I2C_Read... [09:41:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:41:31]Read from MH i2c: E2 [09:41:31]MH_I2C_Read... [09:41:31]Read from MH i2c: E2 03 00 [09:41:31]MH_I2C_Read... [09:41:31]Read from MH i2c: E2 03 00 EA 35 00 90 00 93 [09:41:31]RAPDU: 90 00 [09:41:31]wFMCommunicate OK [09:41:31]wFMCommunicate request_size=255 [09:41:31]MH_SAM_APDU [09:41:31]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 18 00 00 00 F4 03 04 00 D6 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [09:41:31]Write to MH i2c: E2 02 01 EB 35 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 18 00 00 00 F4 03 04 00 D6 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 E0 [09:41:31]Write i2c OK [09:41:31]MH_I2C_Read... [09:41:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:32]Read from MH i2c: E2 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 03 00 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 03 00 EB 35 00 90 00 94 [09:41:32]RAPDU: 90 00 [09:41:32]wFMCommunicate OK [09:41:32]wFMCommunicate request_size=30 [09:41:32]MH_SAM_APDU [09:41:32]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 E6 93 00 00 35 04 06 00 58 45 6D 03 5F 98 [09:41:32]Write to MH i2c: E2 21 00 EC 35 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 E6 93 00 00 35 04 06 00 58 45 6D 03 5F 98 00 00 0E [09:41:32]Write i2c OK [09:41:32]MH_I2C_Read... [09:41:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:41:32]Read from MH i2c: E2 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 03 00 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 03 00 EC 35 00 90 00 95 [09:41:32]RAPDU: 90 00 [09:41:32]wFMCommunicate OK [09:41:32]wFMCommunicate request_size=4 [09:41:32]MH_SAM_APDU [09:41:32]CAPDU: 80 0D 03 02 [09:41:32]Write to MH i2c: E2 08 00 ED 35 80 0D 03 02 00 00 00 00 9D [09:41:32]Write i2c OK [09:41:32]MH_I2C_Read... [09:41:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:41:32]Read from MH i2c: E2 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 0B 00 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 0B 00 ED 35 00 06 56 96 18 BC 5E 76 51 90 00 89 [09:41:32]RAPDU: 06 56 96 18 BC 5E 76 51 90 00 [09:41:32]wFMCommunicate OK [09:41:32]SAM_PROTO_SignData done [09:41:32]FM_MakeSignedData done [09:41:32]CreateOFDProtocolMessage [09:41:32]wFMCommunicate request_size=4 [09:41:32]MH_SAM_APDU [09:41:32]CAPDU: 80 11 00 00 [09:41:32]Write to MH i2c: E2 08 00 EE 35 80 11 00 00 00 00 00 00 9D [09:41:32]Write i2c OK [09:41:32]MH_I2C_Read... [09:41:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:32]Read from MH i2c: E2 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 17 00 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: E2 17 00 EE 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 ED [09:41:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:41:32]wFMCommunicate OK [09:41:32]CreateOFDProtocolMessage done [09:41:32]OFDSenderStorePacket 37862 [09:41:32]StoreOFDPacket docnum=37862 [09:41:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 B9 B4 1B 01 C7 66 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 18 00 00 00 F4 03 04 00 D6 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E6 93 00 00 35 04 06 00 58 45 6D 03 5F 98 06 56 96 18 BC 5E 76 51 [09:41:32]CheckFolder [09:41:32]dirname=/storage/ofd_packets [09:41:32]CheckFolder done [09:41:32]ProducePacketName [09:41:32]name=ofd_packets/00037862 [09:41:32]NVStorageSaveData ofd_packets/00037862 [09:41:32]File name is /storage/ofd_packets/00037862 [09:41:32]Write 321 bytes [09:41:32]NVStorageSaveData done [09:41:32]OFDSenderStorePacket done [09:41:32]KKMCreateOFDPacket done [09:41:32]NVStorageSaveData kkm_last_timestamp [09:41:32]File name is /storage/kkm_last_timestamp [09:41:32]Write 4 bytes [09:41:32]NVStorageSaveData done [09:41:32]ExternCall_PrintAddStr [09:41:32]wPrintStart [09:41:32]Write to MH i2c: 01 00 00 EF 35 24 [09:41:32]OFD Sender: Processing packet 37862 [packets to send 42, broken 41] [09:41:32]ProducePacketName [09:41:32]name=ofd_packets/00037862 [09:41:32]OFD Sender: To server: pG, [09:41:32]CommunicateWithHost lk.salyk.kg:30040 [09:41:32]ConnectInit lk.salyk.kg [09:41:32]Write i2c OK [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: 01 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: 01 07 00 [09:41:32]MH_I2C_Read... [09:41:32]Read from MH i2c: 01 07 00 EF 35 00 00 00 00 00 FF 0F 39 [09:41:32]RasterBufferAndPrint [09:41:32]line Счет N : (3)35161 [09:41:32]line ИНН: 02508201610067 [09:41:32]line Контрольно-Кассовый Чек [09:41:32]line ПРОДАЖА [09:41:32]line Товар: 47802995 [09:41:32]line Сигареты Winston XS Silver [09:41:32]line 1.000 * 144.00 [09:41:32]line = 144.00 [09:41:32]line НДС 12% НСП 1% [09:41:32]line > о реализуемом товаре [09:41:32]line ИТОГО: 144.00 [09:41:32]line НСП 1% : 1.27 [09:41:32]line НДС 12% : 15.29 [09:41:32]line Наличными: 144.00 [09:41:32]line Безнал.: 0.00 [09:41:32]line Место: АЗС № 126 "Партнер Нефть" [09:41:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:41:32]line СНО: Общий режим [09:41:32]line Чек 24 29.10.2024 09:41 [09:41:32]line Смена: 552 ФФД: 1.0 [09:41:32]line ЗНМ: 0300000092 [09:41:32]line РНМ: 0000000000091684 [09:41:32]line Версия ККМ: 001 [09:41:32]line ФМ: 0000000000871841 [09:41:32]line ФД: 37862 [09:41:32]line ФПД: 97055204925336 [09:41:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094142&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37862&fm=97055204925336&tin=02508201610067®Number=0000000000091684&sum=14400 [09:41:32]line 0 [09:41:32]written 0, free lines is 4095 [09:41:33]Write to MH i2c: 01 00 00 17 36 4D [09:41:33]Write i2c OK [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: 01 [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: 01 07 00 [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: 01 07 00 17 36 00 00 00 00 00 C5 0C 25 [09:41:33]RasterBufferAndPrint [09:41:33]line [09:41:33]line [09:41:33]line [09:41:33]line [09:41:33]line [09:41:33]written 0, free lines is 3273 [09:41:33]MH_Cut [09:41:33]Write to MH i2c: D1 01 00 1E 36 01 26 [09:41:33]Write i2c OK [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: D1 [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: D1 01 00 [09:41:33]MH_I2C_Read... [09:41:33]Read from MH i2c: D1 01 00 1E 36 00 25 [09:41:33]Write to MH i2c: 01 00 00 1F 36 55 [09:41:33]Write i2c OK [09:41:33]MH_I2C_Read... [09:41:33]*** Cut start [09:41:33]*** Partial cut [09:41:33]*** CUTSNS_PIN = 1 [09:41:33]*** CUTSNS_PIN = 0 [09:41:34]*** Brake cut motor [09:41:34]Read from MH i2c: 01 [09:41:34]MH_I2C_Read... [09:41:34]*** Stop cut motor [09:41:34]*** Cut end [09:41:34]Read from MH i2c: 01 07 00 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: 01 07 00 1F 36 00 00 00 00 00 FF 0F 6A [09:41:34]process_action close_receipt done [09:41:34]requested_data is exist [09:41:34]produce_requested_data [09:41:34]requested_item fm.sn is exist - process it [09:41:34]wFMCommunicate request_size=4 [09:41:34]MH_SAM_APDU [09:41:34]CAPDU: 80 11 00 00 [09:41:34]Write to MH i2c: E2 08 00 20 36 80 11 00 00 00 00 00 00 D0 [09:41:34]Write i2c OK [09:41:34]MH_I2C_Read... [09:41:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:41:34]Read from MH i2c: E2 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 17 00 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 17 00 20 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 20 [09:41:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:41:34]wFMCommunicate OK [09:41:34]requested_item fd.num is exist - process it [09:41:34]SAM_PROTO_GetFieldsCounters [09:41:34]wFMCommunicate request_size=4 [09:41:34]MH_SAM_APDU [09:41:34]CAPDU: 80 13 00 00 [09:41:34]Write to MH i2c: E2 08 00 21 36 80 13 00 00 00 00 00 00 D3 [09:41:34]Write i2c OK [09:41:34]MH_I2C_Read... [09:41:34]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:41:34]Read from MH i2c: E2 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 62 00 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 62 00 21 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 DF [09:41:34]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 18 00 00 00 5E 04 04 00 18 00 00 00 57 04 04 00 19 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:41:34]wFMCommunicate OK [09:41:34]SAM_PROTO_GetFieldsCounters done [09:41:34]requested_item shift.num is exist - process it [09:41:34]requested_item shift.opened is exist - process it [09:41:34]req_shift_opened [09:41:34]FM_GetShiftState [09:41:34]SAM_PROTO_GetShiftState [09:41:34]wFMCommunicate request_size=4 [09:41:34]MH_SAM_APDU [09:41:34]CAPDU: 80 13 01 00 [09:41:34]Write to MH i2c: E2 08 00 22 36 80 13 01 00 00 00 00 00 D5 [09:41:34]Write i2c OK [09:41:34]MH_I2C_Read... [09:41:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:41:34]Read from MH i2c: E2 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 0E 00 [09:41:34]MH_I2C_Read... [09:41:34]Read from MH i2c: E2 0E 00 22 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 4B [09:41:34]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:41:34]wFMCommunicate OK [09:41:34]SAM_PROTO_GetShiftState done [09:41:34]FM_GetShiftState done [09:41:34]req_shift_opened done [09:41:34]requested_item shift.open_date is exist - process it [09:41:34]req_shift_open_date [09:41:34]req_shift_open_date done [09:41:34]produce_requested_data done [09:41:34]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37862,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:41:34]process_action_free close_receipt [09:41:34]json_value_free [09:41:34]json_value_free done [09:41:34]process_json_proto returns [09:41:34]Send response to host [09:41:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37862,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:41:34]free response buf [09:41:34]execute_script done [09:41:34]execute_script returns [09:41:34]free content buf [09:41:34]Sock 9.Close socket [09:41:34]Sock 9.Thread stoped [09:41:34]Connected sock=11 [09:41:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 B9 B4 1B 01 C7 66 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 18 00 00 00 F4 03 04 00 D6 AD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E6 93 00 00 35 04 06 00 58 45 6D 03 5F 98 06 56 96 18 BC 5E 76 51 [09:41:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 93 D2 47 00 09 29 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E6 93 00 00 F4 03 04 00 CB 58 20 67 B6 04 01 00 00 27 96 FB 63 9A AE 64 6B [09:41:35]CommunicateWithHost err = 0 [09:41:35]CheckOFDResponse [09:41:35]1017 (14) - 77093643461234 [09:41:35]1041 (16) - 0000000000871841 [09:41:35]1040 (4) - 37862 [09:41:35]1012 (4) - 29.10.2024 03:38 [09:41:35]1206 (1) - 0 [09:41:35]OFD Sender: Remove packet 37862 [09:41:35]ProducePacketName [09:41:35]name=ofd_packets/00037862 [09:41:35]NVStorageDeleteData [09:41:35]OFD Sender: No OFD packet to send [09:41:40]OFD Sender: No OFD packet to send [09:41:45]OFD Sender: No OFD packet to send [09:41:50]OFD Sender: No OFD packet to send [09:41:55]OFD Sender: No OFD packet to send [09:42:00]OFD Sender: No OFD packet to send [09:42:05]OFD Sender: No OFD packet to send [09:42:10]OFD Sender: No OFD packet to send [09:42:15]OFD Sender: No OFD packet to send [09:42:20]OFD Sender: No OFD packet to send [09:42:25]OFD Sender: No OFD packet to send [09:42:30]OFD Sender: No OFD packet to send [09:42:35]OFD Sender: No OFD packet to send [09:42:40]OFD Sender: No OFD packet to send [09:42:45]OFD Sender: No OFD packet to send [09:42:50]OFD Sender: No OFD packet to send [09:42:55]OFD Sender: No OFD packet to send [09:43:00]OFD Sender: No OFD packet to send [09:43:05]OFD Sender: No OFD packet to send [09:43:10]OFD Sender: No OFD packet to send [09:43:15]OFD Sender: No OFD packet to send [09:43:20]accept exits with 7 [09:43:20]New connection [09:43:20]New thread 3067440484 created [09:43:20]Thread 3067297124 joined [09:43:20]Waiting for new connection... [09:43:20] Sock 7.Parse request [09:43:20]Sock 7.Check first char [09:43:20]Sock 7.First char is OK [09:43:20]request: POST /json_proto HTTP/1.0 [09:43:20]Method: POST [09:43:20]URL: /json_proto [09:43:20]Method is POST - this is cgi request [09:43:20]url: /json_proto [09:43:20]query_string will be loaded in cgi processing [09:43:20]execute_cgi json_proto POST (null) [09:43:20]execute_cgi path=json_proto method=POST [09:43:20]POST find Content-Length [09:43:20]Host: 172.17.40.196:8080 [09:43:20]Content-Length: 996 [09:43:20]Content-Type: application/json [09:43:20] [09:43:20]POST finish read [09:43:20]Found Content-Length = 996 [09:43:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35162", "tax_sys" : 0, "items" : [ { "code": "46227744", "name": "\u0416\u0435\u0432 \u043C\u0435\u043D\u0442\u043E\u0441 \u0431\u0430\u043D\u043A\u0430 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 8*6*54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:20]execute_script... [09:43:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35162", "tax_sys" : 0, "items" : [ { "code": "46227744", "name": "\u0416\u0435\u0432 \u043C\u0435\u043D\u0442\u043E\u0441 \u0431\u0430\u043D\u043A\u0430 \u0412\u0438\u043D\u043E\u0433\u0440\u0430\u0434 8*6*54\u0433", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 285.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [09:43:20]POST & json_proto [09:43:20]process_json_proto [09:43:20]json parsed OK: [09:43:20]protocol is kg_v1.0 [09:43:20]action value=close_receipt [09:43:20]process_action close_receipt [09:43:20]cmd_close_receipt [09:43:20]MH_GetDate [09:43:20]Write to MH i2c: F0 00 00 23 36 48 [09:43:20]Write i2c OK [09:43:20]MH_I2C_Read... [09:43:20]Read from MH i2c: F0 [09:43:20]MH_I2C_Read... [09:43:20]Read from MH i2c: F0 09 00 [09:43:20]MH_I2C_Read... [09:43:20]Read from MH i2c: F0 09 00 23 36 00 45 AE 20 67 5B 68 A1 66 95 [09:43:20]GetLastDocTimeStamp 1730194902 [09:43:20]current date 1730195013 [09:43:20]FM_GetShiftState [09:43:20]SAM_PROTO_GetShiftState [09:43:20]wFMCommunicate request_size=4 [09:43:20]MH_SAM_APDU [09:43:20]CAPDU: 80 13 01 00 [09:43:20]Write to MH i2c: E2 08 00 24 36 80 13 01 00 00 00 00 00 D7 [09:43:20]Write i2c OK [09:43:20]MH_I2C_Read... [09:43:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:20]Read from MH i2c: E2 [09:43:20]MH_I2C_Read... [09:43:20]Read from MH i2c: E2 0E 00 [09:43:20]MH_I2C_Read... [09:43:20]Read from MH i2c: E2 0E 00 24 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 4D [09:43:20]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:43:20]wFMCommunicate OK [09:43:20]SAM_PROTO_GetShiftState done [09:43:20]FM_GetShiftState done [09:43:20]opened in 1730160317 [09:43:20]opened+sec_in_day 1730246717 [09:43:20]quantity*price = 20500 [09:43:20]sum+1 = 20501 [09:43:20]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010353 Напиток Let`s Go! с/с груша ПЭТ 1л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 285.00 НСП 1% : 2.52 НДС 12% : 30.27 Наличными: 285.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 25 29.10.2024 09:43 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37863 ФПД: 208806863501226 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094333&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37863&fm=208806863501226&tin=02508201610067®Number=0000000000091684&sum=28500 0 [09:43:21]StoreToDocumentArchive [09:43:21]shift 552 fd 37863 [09:43:21]save to /storage/0552/doc_00037863 [09:43:21]save last doc name /storage/0552/doc_00037863 to /storage/kkm_last_doc_name [09:43:21]save OK [09:43:21]Clear old archive folders... [09:43:21]ProcessDocumentItem done err = 0, tmpTLVsize=417 [09:43:21]tlvbuf is 002E52A0 [09:43:21]SAM_PROTO_ClearQueue [09:43:21]wFMCommunicate request_size=4 [09:43:21]MH_SAM_APDU [09:43:21]CAPDU: 80 09 00 00 [09:43:21]Write to MH i2c: E2 08 00 31 36 80 09 00 00 00 00 00 00 D9 [09:43:21]Write i2c OK [09:43:21]MH_I2C_Read... [09:43:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 31 36 00 90 00 DB [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]SAM_PROTO_ClearQueue done [09:43:22]KKMCreateOFDPacket [09:43:22]OFDProtocolAddRootSTLVToBuf [09:43:22]FM_MakeSignedData [09:43:22]FM_MakeSignedData [09:43:22]SAM_PROTO_SignData [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 01 02 [09:43:22]Write to MH i2c: E2 08 00 32 36 80 0D 01 02 00 00 00 00 E1 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 32 36 00 90 00 DC [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=255 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 02 02 FA 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 08 00 34 36 32 32 37 37 34 34 06 04 38 00 D0 96 D0 B5 D0 B2 20 D0 BC D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 38 2A 36 2A 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [09:43:22]Write to MH i2c: E2 02 01 33 36 80 0D 02 02 FA 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 08 00 34 36 32 32 37 37 34 34 06 04 38 00 D0 96 D0 B5 D0 B2 20 D0 BC D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 38 2A 36 2A 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 61 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 33 36 00 90 00 DD [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=176 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 02 02 AB 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 45 AE 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E7 93 00 00 35 04 06 00 BD E8 A2 EC F7 AA [09:43:22]Write to MH i2c: E2 B3 00 34 36 80 0D 02 02 AB 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 45 AE 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E7 93 00 00 35 04 06 00 BD E8 A2 EC F7 AA 00 00 AA [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 03 00 34 36 00 90 00 DE [09:43:22]RAPDU: 90 00 [09:43:22]wFMCommunicate OK [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 0D 03 02 [09:43:22]Write to MH i2c: E2 08 00 35 36 80 0D 03 02 00 00 00 00 E6 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 0B 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 0B 00 35 36 00 41 E5 6F 11 AB 04 B0 C5 90 00 B1 [09:43:22]RAPDU: 41 E5 6F 11 AB 04 B0 C5 90 00 [09:43:22]wFMCommunicate OK [09:43:22]SAM_PROTO_SignData done [09:43:22]FM_MakeSignedData done [09:43:22]CreateOFDProtocolMessage [09:43:22]wFMCommunicate request_size=4 [09:43:22]MH_SAM_APDU [09:43:22]CAPDU: 80 11 00 00 [09:43:22]Write to MH i2c: E2 08 00 36 36 80 11 00 00 00 00 00 00 E6 [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:22]Read from MH i2c: E2 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 17 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: E2 17 00 36 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 36 [09:43:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:43:22]wFMCommunicate OK [09:43:22]CreateOFDProtocolMessage done [09:43:22]OFDSenderStorePacket 37863 [09:43:22]StoreOFDPacket docnum=37863 [09:43:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B5 01 00 00 09 04 AD 01 C0 DB 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 08 00 34 36 32 32 37 37 34 34 06 04 38 00 D0 96 D0 B5 D0 B2 20 D0 BC D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 38 2A 36 2A 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 45 AE 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E7 93 00 00 35 04 06 00 BD E8 A2 EC F7 AA 41 E5 6F 11 AB 04 B0 C5 [09:43:22]CheckFolder [09:43:22]dirname=/storage/ofd_packets [09:43:22]CheckFolder done [09:43:22]ProducePacketName [09:43:22]name=ofd_packets/00037863 [09:43:22]NVStorageSaveData ofd_packets/00037863 [09:43:22]File name is /storage/ofd_packets/00037863 [09:43:22]Write 467 bytes [09:43:22]NVStorageSaveData done [09:43:22]OFDSenderStorePacket done [09:43:22]KKMCreateOFDPacket done [09:43:22]NVStorageSaveData kkm_last_timestamp [09:43:22]File name is /storage/kkm_last_timestamp [09:43:22]Write 4 bytes [09:43:22]NVStorageSaveData done [09:43:22]ExternCall_PrintAddStr [09:43:22]wPrintStart [09:43:22]Write to MH i2c: 01 00 00 37 36 6D [09:43:22]Write i2c OK [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: 01 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: 01 07 00 [09:43:22]MH_I2C_Read... [09:43:22]Read from MH i2c: 01 07 00 37 36 00 00 00 00 00 FF 0F 82 [09:43:22]RasterBufferAndPrint [09:43:22]line Счет N : (3)35162 [09:43:22]line ИНН: 02508201610067 [09:43:22]line Контрольно-Кассовый Чек [09:43:22]line ПРОДАЖА [09:43:22]line Товар: 46227744 [09:43:22]line Жев ментос банка Виноград 8*6*54г [09:43:22]line 1.000 * 205.00 [09:43:22]line = 205.00 [09:43:22]line НДС 12% НСП 1% [09:43:22]line > о реализуемом товаре [09:43:22]line Товар: 4700003010353 [09:43:22]line Напиток Let`s Go! с/с груша ПЭТ 1л [09:43:22]line 1.000 * 80.00 [09:43:22]line = 80.00 [09:43:22]line НДС 12% НСП 1% [09:43:22]line > о реализуемом товаре [09:43:22]line ИТОГО: 285.00 [09:43:22]line НСП 1% : 2.52 [09:43:22]line НДС 12% : 30.27 [09:43:22]line Наличными: 285.00 [09:43:22]line Безнал.: 0.00 [09:43:22]line Место: АЗС № 126 "Партнер Нефть" [09:43:22]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [09:43:22]line СНО: Общий режим [09:43:22]line Чек 25 29.10.2024 09:43 [09:43:22]line Смена: 552 ФФД: 1.0 [09:43:22]line ЗНМ: 0300000092 [09:43:22]line РНМ: 0000000000091684 [09:43:22]line Версия ККМ: 001 [09:43:22]line ФМ: 0000000000871841 [09:43:22]line ФД: 37863 [09:43:22]line ФПД: 208806863501226 [09:43:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T094333&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37863&fm=208806863501226&tin=02508201610067®Number=0000000000091684&sum=28500 [09:43:22]line 0 [09:43:22]OFD Sender: Processing packet 37863 [packets to send 42, broken 41] [09:43:22]ProducePacketName [09:43:22]name=ofd_packets/00037863 [09:43:22]OFD Sender: To server: pG, [09:43:22]CommunicateWithHost lk.salyk.kg:30040 [09:43:23]ConnectInit lk.salyk.kg [09:43:23]written 0, free lines is 4095 [09:43:23]Connected sock=10 [09:43:23]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B5 01 00 00 09 04 AD 01 C0 DB 5A 03 01 00 03 00 A1 01 1E 04 01 00 01 23 04 77 00 8A 04 08 00 34 36 32 32 37 37 34 34 06 04 38 00 D0 96 D0 B5 D0 B2 20 D0 BC D0 B5 D0 BD D1 82 D0 BE D1 81 20 D0 B1 D0 B0 D0 BD D0 BA D0 B0 20 D0 92 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 38 2A 36 2A 35 34 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 54 6F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FC 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D3 0B 00 00 00 00 07 04 06 00 54 6F 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 45 AE 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E7 93 00 00 35 04 06 00 BD E8 A2 EC F7 AA 41 E5 6F 11 AB 04 B0 C5 [09:43:23]Write to MH i2c: 01 00 00 67 36 9D [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: 01 07 00 67 36 00 00 00 00 00 3D 0C ED [09:43:23]RasterBufferAndPrint [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]line [09:43:23]written 0, free lines is 3141 [09:43:23]MH_Cut [09:43:23]Write to MH i2c: D1 01 00 6E 36 01 76 [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 01 00 [09:43:23]MH_I2C_Read... [09:43:23]Read from MH i2c: D1 01 00 6E 36 00 75 [09:43:23]Write to MH i2c: 01 00 00 6F 36 A5 [09:43:23]Write i2c OK [09:43:23]MH_I2C_Read... [09:43:23]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F2 70 47 00 18 A6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E7 93 00 00 F4 03 04 00 37 59 20 67 B6 04 01 00 00 B7 E1 CD 2E 0D C5 65 0D [09:43:23]CommunicateWithHost err = 0 [09:43:23]CheckOFDResponse [09:43:23]1017 (14) - 77093643461234 [09:43:23]1041 (16) - 0000000000871841 [09:43:23]1040 (4) - 37863 [09:43:23]1012 (4) - 29.10.2024 03:40 [09:43:23]1206 (1) - 0 [09:43:23]OFD Sender: Remove packet 37863 [09:43:23]ProducePacketName [09:43:23]name=ofd_packets/00037863 [09:43:23]NVStorageDeleteData [09:43:24]OFD Sender: No OFD packet to send [09:43:24]*** Cut start [09:43:24]*** Partial cut [09:43:24]*** CUTSNS_PIN = 1 [09:43:24]*** CUTSNS_PIN = 0 [09:43:24]*** Brake cut motor [09:43:25]Read from MH i2c: 01 [09:43:25]MH_I2C_Read... [09:43:25]*** Stop cut motor [09:43:25]*** Cut end [09:43:25]Read from MH i2c: 01 07 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: 01 07 00 6F 36 00 00 00 00 00 FF 0F BA [09:43:25]process_action close_receipt done [09:43:25]requested_data is exist [09:43:25]produce_requested_data [09:43:25]requested_item fm.sn is exist - process it [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 11 00 00 [09:43:25]Write to MH i2c: E2 08 00 70 36 80 11 00 00 00 00 00 00 20 [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 17 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 17 00 70 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 70 [09:43:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [09:43:25]wFMCommunicate OK [09:43:25]requested_item fd.num is exist - process it [09:43:25]SAM_PROTO_GetFieldsCounters [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 13 00 00 [09:43:25]Write to MH i2c: E2 08 00 71 36 80 13 00 00 00 00 00 00 23 [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 62 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 62 00 71 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 33 [09:43:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 19 00 00 00 5E 04 04 00 19 00 00 00 57 04 04 00 1A 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:43:25]wFMCommunicate OK [09:43:25]SAM_PROTO_GetFieldsCounters done [09:43:25]requested_item shift.num is exist - process it [09:43:25]requested_item shift.opened is exist - process it [09:43:25]req_shift_opened [09:43:25]FM_GetShiftState [09:43:25]SAM_PROTO_GetShiftState [09:43:25]wFMCommunicate request_size=4 [09:43:25]MH_SAM_APDU [09:43:25]CAPDU: 80 13 01 00 [09:43:25]Write to MH i2c: E2 08 00 72 36 80 13 01 00 00 00 00 00 25 [09:43:25]Write i2c OK [09:43:25]MH_I2C_Read... [09:43:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:43:25]Read from MH i2c: E2 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 0E 00 [09:43:25]MH_I2C_Read... [09:43:25]Read from MH i2c: E2 0E 00 72 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9B [09:43:25]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [09:43:25]wFMCommunicate OK [09:43:25]SAM_PROTO_GetShiftState done [09:43:25]FM_GetShiftState done [09:43:25]req_shift_opened done [09:43:25]requested_item shift.open_date is exist - process it [09:43:25]req_shift_open_date [09:43:25]req_shift_open_date done [09:43:25]produce_requested_data done [09:43:25]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37863,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [09:43:25]process_action_free close_receipt [09:43:25]json_value_free [09:43:25]json_value_free done [09:43:25]process_json_proto returns [09:43:25]Send response to host [09:43:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37863,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [09:43:25]free response buf [09:43:25]execute_script done [09:43:25]execute_script returns [09:43:25]free content buf [09:43:25]Sock 7.Close socket [09:43:25]Sock 7.Thread stoped [09:43:29]OFD Sender: No OFD packet to send [09:43:34]OFD Sender: No OFD packet to send [09:43:39]OFD Sender: No OFD packet to send [09:43:44]OFD Sender: No OFD packet to send [09:43:49]OFD Sender: No OFD packet to send [09:43:54]OFD Sender: No OFD packet to send [09:43:59]OFD Sender: No OFD packet to send [09:44:04]OFD Sender: No OFD packet to send [09:44:09]OFD Sender: No OFD packet to send [09:44:14]OFD Sender: No OFD packet to send [09:44:19]OFD Sender: No OFD packet to send [09:44:24]OFD Sender: No OFD packet to send [09:44:29]OFD Sender: No OFD packet to send [09:44:34]OFD Sender: No OFD packet to send [09:44:39]OFD Sender: No OFD packet to send [09:44:44]OFD Sender: No OFD packet to send [09:44:49]OFD Sender: No OFD packet to send [09:44:54]OFD Sender: No OFD packet to send [09:44:59]OFD Sender: No OFD packet to send [09:45:04]OFD Sender: No OFD packet to send [09:45:09]OFD Sender: No OFD packet to send [09:45:14]OFD Sender: No OFD packet to send [09:45:19]OFD Sender: No OFD packet to send [09:45:24]OFD Sender: No OFD packet to send [09:45:29]OFD Sender: No OFD packet to send [09:45:34]OFD Sender: No OFD packet to send [09:45:39]OFD Sender: No OFD packet to send [09:45:44]OFD Sender: No OFD packet to send [09:45:49]OFD Sender: No OFD packet to send [09:45:54]OFD Sender: No OFD packet to send [09:45:59]OFD Sender: No OFD packet to send [09:46:04]OFD Sender: No OFD packet to send [09:46:09]OFD Sender: No OFD packet to send [09:46:14]OFD Sender: No OFD packet to send [09:46:19]OFD Sender: No OFD packet to send [09:46:24]OFD Sender: No OFD packet to send [09:46:29]OFD Sender: No OFD packet to send [09:46:34]OFD Sender: No OFD packet to send [09:46:39]OFD Sender: No OFD packet to send [09:46:44]OFD Sender: No OFD packet to send [09:46:49]OFD Sender: No OFD packet to send [09:46:54]OFD Sender: No OFD packet to send [09:46:59]OFD Sender: No OFD packet to send [09:47:04]OFD Sender: No OFD packet to send [09:47:09]OFD Sender: No OFD packet to send [09:47:14]OFD Sender: No OFD packet to send [09:47:19]OFD Sender: No OFD packet to send [09:47:24]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:39]OFD Sender: No OFD packet to send [09:54:44]OFD Sender: No OFD packet to send [09:54:49]OFD Sender: No OFD packet to send [09:54:54]OFD Sender: No OFD packet to send [09:54:59]OFD Sender: No OFD packet to send [09:55:04]OFD Sender: No OFD packet to send [09:55:09]OFD Sender: No OFD packet to send [09:55:14]OFD Sender: No OFD packet to send [09:55:19]OFD Sender: No OFD packet to send [09:55:24]OFD Sender: No OFD packet to send [09:55:29]OFD Sender: No OFD packet to send [09:55:34]OFD Sender: No OFD packet to send [09:55:39]OFD Sender: No OFD packet to send [09:55:44]OFD Sender: No OFD packet to send [09:55:49]OFD Sender: No OFD packet to send [09:55:54]OFD Sender: No OFD packet to send [09:55:59]OFD Sender: No OFD packet to send [09:56:04]OFD Sender: No OFD packet to send [09:56:09]OFD Sender: No OFD packet to send [09:56:14]OFD Sender: No OFD packet to send [09:56:19]OFD Sender: No OFD packet to send [09:56:24]OFD Sender: No OFD packet to send [09:56:30]OFD Sender: No OFD packet to send [09:56:35]OFD Sender: No OFD packet to send [10:00:05]OFD Sender: No OFD packet to send [10:00:10]OFD Sender: No OFD packet to send [10:00:15]OFD Sender: No OFD packet to send [10:00:20]OFD Sender: No OFD packet to send [10:00:25]OFD Sender: No OFD packet to send [10:00:30]OFD Sender: No OFD packet to send [10:00:35]OFD Sender: No OFD packet to send [10:00:40]OFD Sender: No OFD packet to send [10:00:45]OFD Sender: No OFD packet to send [10:00:50]OFD Sender: No OFD packet to send [10:00:55]OFD Sender: No OFD packet to send [10:01:00]OFD Sender: No OFD packet to send [10:01:05]OFD Sender: No OFD packet to send [10:01:10]OFD Sender: No OFD packet to send [10:01:15]OFD Sender: No OFD packet to send [10:01:20]OFD Sender: No OFD packet to send [10:01:25]OFD Sender: No OFD packet to send [10:01:30]OFD Sender: No OFD packet to send [10:01:35]OFD Sender: No OFD packet to send [10:01:40]OFD Sender: No OFD packet to send [10:01:45]OFD Sender: No OFD packet to send [10:01:50]OFD Sender: No OFD packet to send [10:01:55]OFD Sender: No OFD packet to send [10:02:00]OFD Sender: No OFD packet to send [10:02:05]OFD Sender: No OFD packet to send [10:02:10]OFD Sender: No OFD packet to send [10:02:15]OFD Sender: No OFD packet to send [10:02:16]ConnectInit Can't connect to host [10:02:20]OFD Sender: No OFD packet to send [10:02:25]OFD Sender: No OFD packet to send [10:02:30]OFD Sender: No OFD packet to send [10:02:35]OFD Sender: No OFD packet to send [10:02:40]OFD Sender: No OFD packet to send [10:02:45]OFD Sender: No OFD packet to send [10:02:50]OFD Sender: No OFD packet to send [10:02:55]OFD Sender: No OFD packet to send [10:03:00]OFD Sender: No OFD packet to send [10:03:05]OFD Sender: No OFD packet to send [10:03:10]OFD Sender: No OFD packet to send [10:03:15]OFD Sender: No OFD packet to send [10:03:20]OFD Sender: No OFD packet to send [10:03:25]OFD Sender: No OFD packet to send [10:03:30]OFD Sender: No OFD packet to send [10:03:35]OFD Sender: No OFD packet to send [10:03:40]OFD Sender: No OFD packet to send [10:03:45]OFD Sender: No OFD packet to send [10:03:50]OFD Sender: No OFD packet to send [10:03:55]OFD Sender: No OFD packet to send [10:04:00]OFD Sender: No OFD packet to send [10:04:05]OFD Sender: No OFD packet to send [10:04:10]OFD Sender: No OFD packet to send [10:04:15]OFD Sender: No OFD packet to send [10:04:20]OFD Sender: No OFD packet to send [10:04:25]OFD Sender: No OFD packet to send [10:04:30]OFD Sender: No OFD packet to send [10:04:35]OFD Sender: No OFD packet to send [10:04:40]OFD Sender: No OFD packet to send [10:04:45]OFD Sender: No OFD packet to send [10:04:50]OFD Sender: No OFD packet to send [10:04:55]OFD Sender: No OFD packet to send [10:05:00]OFD Sender: No OFD packet to send [10:05:05]OFD Sender: No OFD packet to send [10:05:10]OFD Sender: No OFD packet to send [10:05:15]OFD Sender: No OFD packet to send [10:05:20]OFD Sender: No OFD packet to send [10:05:25]OFD Sender: No OFD packet to send [10:05:30]OFD Sender: No OFD packet to send [10:05:31]accept exits with 9 [10:05:31]New connection [10:05:31]New thread 3067297124 created [10:05:31]Thread 3067440484 joined [10:05:31]Waiting for new connection... [10:05:31] Sock 9.Parse request [10:05:31]Sock 9.Check first char [10:05:31]Sock 9.First char is OK [10:05:31]request: POST /json_proto HTTP/1.0 [10:05:31]Method: POST [10:05:31]URL: /json_proto [10:05:31]Method is POST - this is cgi request [10:05:31]url: /json_proto [10:05:31]query_string will be loaded in cgi processing [10:05:31]execute_cgi json_proto POST (null) [10:05:31]execute_cgi path=json_proto method=POST [10:05:31]POST find Content-Length [10:05:31]Host: 172.17.40.196:8080 [10:05:31]Content-Length: 747 [10:05:31]Content-Type: application/json [10:05:31] [10:05:31]POST finish read [10:05:31]Found Content-Length = 747 [10:05:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35163", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:05:31]execute_script... [10:05:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35163", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:05:31]POST & json_proto [10:05:31]process_json_proto [10:05:31]json parsed OK: [10:05:31]protocol is kg_v1.0 [10:05:31]action value=close_receipt [10:05:31]process_action close_receipt [10:05:31]cmd_close_receipt [10:05:31]MH_GetDate [10:05:31]Write to MH i2c: F0 00 00 73 36 98 [10:05:31]Write i2c OK [10:05:31]MH_I2C_Read... [10:05:31]Read from MH i2c: F0 [10:05:31]MH_I2C_Read... [10:05:31]Read from MH i2c: F0 09 00 [10:05:31]MH_I2C_Read... [10:05:31]Read from MH i2c: F0 09 00 73 36 00 77 B3 20 67 5B 68 A1 66 1C [10:05:31]GetLastDocTimeStamp 1730195013 [10:05:31]current date 1730196343 [10:05:31]FM_GetShiftState [10:05:31]SAM_PROTO_GetShiftState [10:05:31]wFMCommunicate request_size=4 [10:05:31]MH_SAM_APDU [10:05:31]CAPDU: 80 13 01 00 [10:05:31]Write to MH i2c: E2 08 00 74 36 80 13 01 00 00 00 00 00 27 [10:05:31]Write i2c OK [10:05:31]MH_I2C_Read... [10:05:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:31]Read from MH i2c: E2 [10:05:31]MH_I2C_Read... [10:05:31]Read from MH i2c: E2 0E 00 [10:05:31]MH_I2C_Read... [10:05:31]Read from MH i2c: E2 0E 00 74 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9D [10:05:31]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:05:31]wFMCommunicate OK [10:05:31]SAM_PROTO_GetShiftState done [10:05:31]FM_GetShiftState done [10:05:31]opened in 1730160317 [10:05:31]opened+sec_in_day 1730246717 [10:05:31]quantity*price = 14400 [10:05:31]sum+1 = 14401 [10:05:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 26 29.10.2024 10:05 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37864 ФПД: 17157852587996 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37864&fm=17157852587996&tin=02508201610067®Number=0000000000091684&sum=14400 0 [10:05:32]StoreToDocumentArchive [10:05:32]shift 552 fd 37864 [10:05:32]save to /storage/0552/doc_00037864 [10:05:32]save last doc name /storage/0552/doc_00037864 to /storage/kkm_last_doc_name [10:05:32]save OK [10:05:32]Clear old archive folders... [10:05:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [10:05:32]tlvbuf is 0027E0C0 [10:05:32]SAM_PROTO_ClearQueue [10:05:32]wFMCommunicate request_size=4 [10:05:32]MH_SAM_APDU [10:05:32]CAPDU: 80 09 00 00 [10:05:32]Write to MH i2c: E2 08 00 81 36 80 09 00 00 00 00 00 00 29 [10:05:32]Write i2c OK [10:05:32]MH_I2C_Read... [10:05:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:05:32]Read from MH i2c: E2 [10:05:32]MH_I2C_Read... [10:05:32]Read from MH i2c: E2 03 00 [10:05:32]MH_I2C_Read... [10:05:32]Read from MH i2c: E2 03 00 81 36 00 90 00 2B [10:05:32]RAPDU: 90 00 [10:05:32]wFMCommunicate OK [10:05:32]SAM_PROTO_ClearQueue done [10:05:32]KKMCreateOFDPacket [10:05:32]OFDProtocolAddRootSTLVToBuf [10:05:32]FM_MakeSignedData [10:05:32]FM_MakeSignedData [10:05:32]SAM_PROTO_SignData [10:05:32]wFMCommunicate request_size=4 [10:05:32]MH_SAM_APDU [10:05:32]CAPDU: 80 0D 01 02 [10:05:32]Write to MH i2c: E2 08 00 82 36 80 0D 01 02 00 00 00 00 31 [10:05:32]Write i2c OK [10:05:32]MH_I2C_Read... [10:05:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:05:32]Read from MH i2c: E2 [10:05:32]MH_I2C_Read... [10:05:32]Read from MH i2c: E2 03 00 [10:05:32]MH_I2C_Read... [10:05:32]Read from MH i2c: E2 03 00 82 36 00 90 00 2C [10:05:32]RAPDU: 90 00 [10:05:32]wFMCommunicate OK [10:05:32]wFMCommunicate request_size=255 [10:05:32]MH_SAM_APDU [10:05:32]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 78 B3 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [10:05:32]Write to MH i2c: E2 02 01 83 36 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 78 B3 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 94 [10:05:32]Write i2c OK [10:05:32]MH_I2C_Read... [10:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:33]Read from MH i2c: E2 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 03 00 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 03 00 83 36 00 90 00 2D [10:05:33]RAPDU: 90 00 [10:05:33]wFMCommunicate OK [10:05:33]wFMCommunicate request_size=32 [10:05:33]MH_SAM_APDU [10:05:33]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 E8 93 00 00 35 04 06 00 0F 9A DF B5 67 DC [10:05:33]Write to MH i2c: E2 23 00 84 36 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 E8 93 00 00 35 04 06 00 0F 9A DF B5 67 DC 00 00 89 [10:05:33]Write i2c OK [10:05:33]MH_I2C_Read... [10:05:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:05:33]Read from MH i2c: E2 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 03 00 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 03 00 84 36 00 90 00 2E [10:05:33]RAPDU: 90 00 [10:05:33]wFMCommunicate OK [10:05:33]wFMCommunicate request_size=4 [10:05:33]MH_SAM_APDU [10:05:33]CAPDU: 80 0D 03 02 [10:05:33]Write to MH i2c: E2 08 00 85 36 80 0D 03 02 00 00 00 00 36 [10:05:33]Write i2c OK [10:05:33]MH_I2C_Read... [10:05:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:05:33]Read from MH i2c: E2 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 0B 00 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 0B 00 85 36 00 CE 28 3A 14 56 D3 EE A3 90 00 35 [10:05:33]RAPDU: CE 28 3A 14 56 D3 EE A3 90 00 [10:05:33]wFMCommunicate OK [10:05:33]SAM_PROTO_SignData done [10:05:33]FM_MakeSignedData done [10:05:33]CreateOFDProtocolMessage [10:05:33]wFMCommunicate request_size=4 [10:05:33]MH_SAM_APDU [10:05:33]CAPDU: 80 11 00 00 [10:05:33]Write to MH i2c: E2 08 00 86 36 80 11 00 00 00 00 00 00 36 [10:05:33]Write i2c OK [10:05:33]MH_I2C_Read... [10:05:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:33]Read from MH i2c: E2 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 17 00 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: E2 17 00 86 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 86 [10:05:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:05:33]wFMCommunicate OK [10:05:33]CreateOFDProtocolMessage done [10:05:33]OFDSenderStorePacket 37864 [10:05:33]StoreOFDPacket docnum=37864 [10:05:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 49 DD 1D 01 03 E3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 78 B3 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E8 93 00 00 35 04 06 00 0F 9A DF B5 67 DC CE 28 3A 14 56 D3 EE A3 [10:05:33]CheckFolder [10:05:33]dirname=/storage/ofd_packets [10:05:33]CheckFolder done [10:05:33]ProducePacketName [10:05:33]name=ofd_packets/00037864 [10:05:33]NVStorageSaveData ofd_packets/00037864 [10:05:33]File name is /storage/ofd_packets/00037864 [10:05:33]Write 323 bytes [10:05:33]NVStorageSaveData done [10:05:33]OFDSenderStorePacket done [10:05:33]KKMCreateOFDPacket done [10:05:33]NVStorageSaveData kkm_last_timestamp [10:05:33]File name is /storage/kkm_last_timestamp [10:05:33]Write 4 bytes [10:05:33]NVStorageSaveData done [10:05:33]ExternCall_PrintAddStr [10:05:33]wPrintStart [10:05:33]Write to MH i2c: 01 00 00 87 36 BD [10:05:33]Write i2c OK [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: 01 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: 01 07 00 [10:05:33]MH_I2C_Read... [10:05:33]Read from MH i2c: 01 07 00 87 36 00 00 00 00 00 FF 0F D2 [10:05:33]RasterBufferAndPrint [10:05:33]line Счет N : (3)35163 [10:05:33]line ИНН: 02508201610067 [10:05:33]line Контрольно-Кассовый Чек [10:05:33]line ПРОДАЖА [10:05:33]line Товар: 48743570 [10:05:33]line Сигареты Winston XStyle Blue [10:05:33]line 1.000 * 144.00 [10:05:33]line = 144.00 [10:05:33]line НДС 12% НСП 1% [10:05:33]line > о реализуемом товаре [10:05:33]line ИТОГО: 144.00 [10:05:33]line НСП 1% : 1.27 [10:05:33]line НДС 12% : 15.29 [10:05:33]line Наличными: 0.00 [10:05:33]line Безнал.: 144.00 [10:05:33]line Место: АЗС № 126 "Партнер Нефть" [10:05:33]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:05:33]line СНО: Общий режим [10:05:33]line Чек 26 29.10.2024 10:05 [10:05:33]line Смена: 552 ФФД: 1.0 [10:05:33]line ЗНМ: 0300000092 [10:05:33]line РНМ: 0000000000091684 [10:05:33]line Версия ККМ: 001 [10:05:33]line Платежная система: Mbank [10:05:33]line ФМ: 0000000000871841 [10:05:33]line ФД: 37864 [10:05:33]line ФПД: 17157852587996 [10:05:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100544&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37864&fm=17157852587996&tin=02508201610067®Number=0000000000091684&sum=14400 [10:05:33]OFD Sender: Processing packet 37864 [packets to send 42, broken 41] [10:05:33]ProducePacketName [10:05:33]name=ofd_packets/00037864 [10:05:33]OFD Sender: To server: pG, [10:05:33]CommunicateWithHost lk.salyk.kg:30040 [10:05:33]ConnectInit lk.salyk.kg [10:05:33]line 0 [10:05:33]written 0, free lines is 4095 [10:05:34]Write to MH i2c: 01 00 00 B0 36 E6 [10:05:34]Write i2c OK [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: 01 [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: 01 07 00 [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: 01 07 00 B0 36 00 00 00 00 00 B2 0C AB [10:05:34]RasterBufferAndPrint [10:05:34]line [10:05:34]line [10:05:34]line [10:05:34]line [10:05:34]line [10:05:34]written 0, free lines is 3257 [10:05:34]MH_Cut [10:05:34]Write to MH i2c: D1 01 00 B7 36 01 BF [10:05:34]Write i2c OK [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: D1 [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: D1 01 00 [10:05:34]MH_I2C_Read... [10:05:34]Read from MH i2c: D1 01 00 B7 36 00 BE [10:05:34]Write to MH i2c: 01 00 00 B8 36 EE [10:05:34]Write i2c OK [10:05:34]MH_I2C_Read... [10:05:34]Connected sock=10 [10:05:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 49 DD 1D 01 03 E3 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1A 00 00 00 F4 03 04 00 78 B3 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E8 93 00 00 35 04 06 00 0F 9A DF B5 67 DC CE 28 3A 14 56 D3 EE A3 [10:05:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 9D 7C 47 00 8B D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E8 93 00 00 F4 03 04 00 6A 5E 20 67 B6 04 01 00 00 76 44 9C 4F FE 97 47 18 [10:05:34]CommunicateWithHost err = 0 [10:05:34]CheckOFDResponse [10:05:34]1017 (14) - 77093643461234 [10:05:34]1041 (16) - 0000000000871841 [10:05:34]1040 (4) - 37864 [10:05:34]1012 (4) - 29.10.2024 04:02 [10:05:34]1206 (1) - 0 [10:05:34]OFD Sender: Remove packet 37864 [10:05:34]ProducePacketName [10:05:34]name=ofd_packets/00037864 [10:05:34]NVStorageDeleteData [10:05:34]*** Cut start [10:05:34]*** Partial cut [10:05:34]*** CUTSNS_PIN = 1 [10:05:34]*** CUTSNS_PIN = 0 [10:05:35]*** Brake cut motor [10:05:35]OFD Sender: No OFD packet to send [10:05:35]Read from MH i2c: 01 [10:05:35]MH_I2C_Read... [10:05:35]*** Stop cut motor [10:05:35]*** Cut end [10:05:35]Read from MH i2c: 01 07 00 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: 01 07 00 B8 36 00 00 00 00 00 FF 0F 03 [10:05:35]process_action close_receipt done [10:05:35]requested_data is exist [10:05:35]produce_requested_data [10:05:35]requested_item fm.sn is exist - process it [10:05:35]wFMCommunicate request_size=4 [10:05:35]MH_SAM_APDU [10:05:35]CAPDU: 80 11 00 00 [10:05:35]Write to MH i2c: E2 08 00 B9 36 80 11 00 00 00 00 00 00 69 [10:05:35]Write i2c OK [10:05:35]MH_I2C_Read... [10:05:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:05:35]Read from MH i2c: E2 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 17 00 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 17 00 B9 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B9 [10:05:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:05:35]wFMCommunicate OK [10:05:35]requested_item fd.num is exist - process it [10:05:35]SAM_PROTO_GetFieldsCounters [10:05:35]wFMCommunicate request_size=4 [10:05:35]MH_SAM_APDU [10:05:35]CAPDU: 80 13 00 00 [10:05:35]Write to MH i2c: E2 08 00 BA 36 80 13 00 00 00 00 00 00 6C [10:05:35]Write i2c OK [10:05:35]MH_I2C_Read... [10:05:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:05:35]Read from MH i2c: E2 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 62 00 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 62 00 BA 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [10:05:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1A 00 00 00 5E 04 04 00 1A 00 00 00 57 04 04 00 1B 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:05:35]wFMCommunicate OK [10:05:35]SAM_PROTO_GetFieldsCounters done [10:05:35]requested_item shift.num is exist - process it [10:05:35]requested_item shift.opened is exist - process it [10:05:35]req_shift_opened [10:05:35]FM_GetShiftState [10:05:35]SAM_PROTO_GetShiftState [10:05:35]wFMCommunicate request_size=4 [10:05:35]MH_SAM_APDU [10:05:35]CAPDU: 80 13 01 00 [10:05:35]Write to MH i2c: E2 08 00 BB 36 80 13 01 00 00 00 00 00 6E [10:05:35]Write i2c OK [10:05:35]MH_I2C_Read... [10:05:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:05:35]Read from MH i2c: E2 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 0E 00 [10:05:35]MH_I2C_Read... [10:05:35]Read from MH i2c: E2 0E 00 BB 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E4 [10:05:35]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:05:35]wFMCommunicate OK [10:05:35]SAM_PROTO_GetShiftState done [10:05:35]FM_GetShiftState done [10:05:35]req_shift_opened done [10:05:35]requested_item shift.open_date is exist - process it [10:05:35]req_shift_open_date [10:05:35]req_shift_open_date done [10:05:35]produce_requested_data done [10:05:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37864,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [10:05:35]process_action_free close_receipt [10:05:35]json_value_free [10:05:35]json_value_free done [10:05:35]process_json_proto returns [10:05:35]Send response to host [10:05:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37864,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [10:05:35]free response buf [10:05:35]execute_script done [10:05:35]execute_script returns [10:05:35]free content buf [10:05:35]Sock 9.Close socket [10:05:35]Sock 9.Thread stoped [10:05:40]OFD Sender: No OFD packet to send [10:05:45]OFD Sender: No OFD packet to send [10:05:50]OFD Sender: No OFD packet to send [10:05:55]OFD Sender: No OFD packet to send [10:06:00]OFD Sender: No OFD packet to send [10:06:05]OFD Sender: No OFD packet to send [10:06:10]OFD Sender: No OFD packet to send [10:06:15]OFD Sender: No OFD packet to send [10:06:20]OFD Sender: No OFD packet to send [10:06:25]OFD Sender: No OFD packet to send [10:06:30]OFD Sender: No OFD packet to send [10:06:35]OFD Sender: No OFD packet to send [10:06:40]OFD Sender: No OFD packet to send [10:06:45]OFD Sender: No OFD packet to send [10:06:50]OFD Sender: No OFD packet to send [10:06:55]OFD Sender: No OFD packet to send [10:07:00]OFD Sender: No OFD packet to send [10:07:05]OFD Sender: No OFD packet to send [10:07:10]OFD Sender: No OFD packet to send [10:07:15]OFD Sender: No OFD packet to send [10:07:20]OFD Sender: No OFD packet to send [10:07:25]OFD Sender: No OFD packet to send [10:07:30]OFD Sender: No OFD packet to send [10:07:35]OFD Sender: No OFD packet to send [10:07:40]OFD Sender: No OFD packet to send [10:07:45]OFD Sender: No OFD packet to send [10:07:48]accept exits with 7 [10:07:48]New connection [10:07:48]New thread 3067440484 created [10:07:48]Thread 3067297124 joined [10:07:48]Waiting for new connection... [10:07:48] Sock 7.Parse request [10:07:48]Sock 7.Check first char [10:07:48]Sock 7.First char is OK [10:07:48]request: POST /json_proto HTTP/1.0 [10:07:48]Method: POST [10:07:48]URL: /json_proto [10:07:48]Method is POST - this is cgi request [10:07:48]url: /json_proto [10:07:48]query_string will be loaded in cgi processing [10:07:48]execute_cgi json_proto POST (null) [10:07:48]execute_cgi path=json_proto method=POST [10:07:48]POST find Content-Length [10:07:48]Host: 172.17.40.196:8080 [10:07:48]Content-Length: 608 [10:07:48]Content-Type: application/json [10:07:48] [10:07:48]POST finish read [10:07:48]Found Content-Length = 608 [10:07:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35165", "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 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:48]execute_script... [10:07: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)35165", "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 }]} ], "payments": [ { "type": 0, "sum" : 134.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:07:48]POST & json_proto [10:07:48]process_json_proto [10:07:48]json parsed OK: [10:07:48]protocol is kg_v1.0 [10:07:48]action value=close_receipt [10:07:48]process_action close_receipt [10:07:48]cmd_close_receipt [10:07:48]MH_GetDate [10:07:48]Write to MH i2c: F0 00 00 BC 36 E1 [10:07:48]Write i2c OK [10:07:48]MH_I2C_Read... [10:07:48]Read from MH i2c: F0 [10:07:48]MH_I2C_Read... [10:07:48]Read from MH i2c: F0 09 00 [10:07:48]MH_I2C_Read... [10:07:48]Read from MH i2c: F0 09 00 BC 36 00 00 B4 20 67 5B 68 A1 66 EF [10:07:48]GetLastDocTimeStamp 1730196344 [10:07:48]current date 1730196480 [10:07:48]FM_GetShiftState [10:07:48]SAM_PROTO_GetShiftState [10:07:48]wFMCommunicate request_size=4 [10:07:48]MH_SAM_APDU [10:07:48]CAPDU: 80 13 01 00 [10:07:48]Write to MH i2c: E2 08 00 BD 36 80 13 01 00 00 00 00 00 70 [10:07:48]Write i2c OK [10:07:48]MH_I2C_Read... [10:07:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:48]Read from MH i2c: E2 [10:07:48]MH_I2C_Read... [10:07:48]Read from MH i2c: E2 0E 00 [10:07:48]MH_I2C_Read... [10:07:48]Read from MH i2c: E2 0E 00 BD 36 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E6 [10:07:48]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:07:48]wFMCommunicate OK [10:07:48]SAM_PROTO_GetShiftState done [10:07:48]FM_GetShiftState done [10:07:48]opened in 1730160317 [10:07:48]opened+sec_in_day 1730246717 [10:07:48]quantity*price = 13400 [10:07:48]sum+1 = 13401 [10:07:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 134.00 НСП 1% : 1.19 НДС 12% : 14.23 Наличными: 134.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 27 29.10.2024 10:08 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37865 ФПД: 91716952904314 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100800&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37865&fm=91716952904314&tin=02508201610067®Number=0000000000091684&sum=13400 0 [10:07:49]StoreToDocumentArchive [10:07:49]shift 552 fd 37865 [10:07:49]save to /storage/0552/doc_00037865 [10:07:49]save last doc name /storage/0552/doc_00037865 to /storage/kkm_last_doc_name [10:07:49]save OK [10:07:49]Clear old archive folders... [10:07:49]ProcessDocumentItem done err = 0, tmpTLVsize=261 [10:07:49]tlvbuf is B6FCCC70 [10:07:49]SAM_PROTO_ClearQueue [10:07:49]wFMCommunicate request_size=4 [10:07:49]MH_SAM_APDU [10:07:49]CAPDU: 80 09 00 00 [10:07:49]Write to MH i2c: E2 08 00 CA 36 80 09 00 00 00 00 00 00 72 [10:07:49]Write i2c OK [10:07:49]MH_I2C_Read... [10:07:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:07:49]Read from MH i2c: E2 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 CA 36 00 90 00 74 [10:07:49]RAPDU: 90 00 [10:07:49]wFMCommunicate OK [10:07:49]SAM_PROTO_ClearQueue done [10:07:49]KKMCreateOFDPacket [10:07:49]OFDProtocolAddRootSTLVToBuf [10:07:49]FM_MakeSignedData [10:07:49]FM_MakeSignedData [10:07:49]SAM_PROTO_SignData [10:07:49]wFMCommunicate request_size=4 [10:07:49]MH_SAM_APDU [10:07:49]CAPDU: 80 0D 01 02 [10:07:49]Write to MH i2c: E2 08 00 CB 36 80 0D 01 02 00 00 00 00 7A [10:07:49]Write i2c OK [10:07:49]MH_I2C_Read... [10:07:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:07:49]Read from MH i2c: E2 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 CB 36 00 90 00 75 [10:07:49]RAPDU: 90 00 [10:07:49]wFMCommunicate OK [10:07:49]wFMCommunicate request_size=255 [10:07:49]MH_SAM_APDU [10:07:49]CAPDU: 80 0D 02 02 FA 03 00 05 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 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 1B 00 00 00 F4 03 04 00 00 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 [10:07:49]Write to MH i2c: E2 02 01 CC 36 80 0D 02 02 FA 00 03 00 05 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 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 1B 00 00 00 F4 03 04 00 00 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 19 [10:07:49]Write i2c OK [10:07:49]MH_I2C_Read... [10:07:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:49]Read from MH i2c: E2 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 CC 36 00 90 00 76 [10:07:49]RAPDU: 90 00 [10:07:49]wFMCommunicate OK [10:07:49]wFMCommunicate request_size=20 [10:07:49]MH_SAM_APDU [10:07:49]CAPDU: 80 0D 02 02 0F 00 E9 93 00 00 35 04 06 00 53 6A 84 65 D2 7A [10:07:49]Write to MH i2c: E2 17 00 CD 36 80 0D 02 02 0F 00 00 E9 93 00 00 35 04 06 00 53 6A 84 65 D2 7A 00 00 48 [10:07:49]Write i2c OK [10:07:49]MH_I2C_Read... [10:07:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:07:49]Read from MH i2c: E2 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 [10:07:49]MH_I2C_Read... [10:07:49]Read from MH i2c: E2 03 00 CD 36 00 90 00 77 [10:07:49]RAPDU: 90 00 [10:07:49]wFMCommunicate OK [10:07:49]wFMCommunicate request_size=4 [10:07:49]MH_SAM_APDU [10:07:49]CAPDU: 80 0D 03 02 [10:07:49]Write to MH i2c: E2 08 00 CE 36 80 0D 03 02 00 00 00 00 7F [10:07:49]Write i2c OK [10:07:49]MH_I2C_Read... [10:07:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:07:50]Read from MH i2c: E2 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: E2 0B 00 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: E2 0B 00 CE 36 00 76 2F 54 45 C4 58 34 6C 90 00 7A [10:07:50]RAPDU: 76 2F 54 45 C4 58 34 6C 90 00 [10:07:50]wFMCommunicate OK [10:07:50]SAM_PROTO_SignData done [10:07:50]FM_MakeSignedData done [10:07:50]CreateOFDProtocolMessage [10:07:50]wFMCommunicate request_size=4 [10:07:50]MH_SAM_APDU [10:07:50]CAPDU: 80 11 00 00 [10:07:50]Write to MH i2c: E2 08 00 CF 36 80 11 00 00 00 00 00 00 7F [10:07:50]Write i2c OK [10:07:50]MH_I2C_Read... [10:07:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:50]Read from MH i2c: E2 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: E2 17 00 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: E2 17 00 CF 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 CF [10:07:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:07:50]wFMCommunicate OK [10:07:50]CreateOFDProtocolMessage done [10:07:50]OFDSenderStorePacket 37865 [10:07:50]StoreOFDPacket docnum=37865 [10:07:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 19 01 00 00 28 9B 11 01 5E B6 5A 03 01 00 03 00 05 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 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 1B 00 00 00 F4 03 04 00 00 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E9 93 00 00 35 04 06 00 53 6A 84 65 D2 7A 76 2F 54 45 C4 58 34 6C [10:07:50]CheckFolder [10:07:50]dirname=/storage/ofd_packets [10:07:50]CheckFolder done [10:07:50]ProducePacketName [10:07:50]name=ofd_packets/00037865 [10:07:50]NVStorageSaveData ofd_packets/00037865 [10:07:50]File name is /storage/ofd_packets/00037865 [10:07:50]Write 311 bytes [10:07:50]NVStorageSaveData done [10:07:50]OFDSenderStorePacket done [10:07:50]KKMCreateOFDPacket done [10:07:50]NVStorageSaveData kkm_last_timestamp [10:07:50]File name is /storage/kkm_last_timestamp [10:07:50]Write 4 bytes [10:07:50]NVStorageSaveData done [10:07:50]ExternCall_PrintAddStr [10:07:50]wPrintStart [10:07:50]Write to MH i2c: 01 00 00 D0 36 06 [10:07:50]Write i2c OK [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 07 00 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 07 00 D0 36 00 00 00 00 00 FF 0F 1B [10:07:50]RasterBufferAndPrint [10:07:50]line Счет N : (3)35165 [10:07:50]line ИНН: 02508201610067 [10:07:50]line Контрольно-Кассовый Чек [10:07:50]line ПРОДАЖА [10:07:50]line Товар: 48741156 [10:07:50]line Сигареты LD Blue [10:07:50]line 1.000 * 134.00 [10:07:50]line = 134.00 [10:07:50]line НДС 12% НСП 1% [10:07:50]line > о реализуемом товаре [10:07:50]line ИТОГО: 134.00 [10:07:50]line НСП 1% : 1.19 [10:07:50]line НДС 12% : 14.23 [10:07:50]line Наличными: 134.00 [10:07:50]line Безнал.: 0.00 [10:07:50]line Место: АЗС № 126 "Партнер Нефть" [10:07:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:07:50]line СНО: Общий режим [10:07:50]line Чек 27 29.10.2024 10:08 [10:07:50]line Смена: 552 ФФД: 1.0 [10:07:50]line ЗНМ: 0300000092 [10:07:50]line РНМ: 0000000000091684 [10:07:50]line Версия ККМ: 001 [10:07:50]line ФМ: 0000000000871841 [10:07:50]line ФД: 37865 [10:07:50]line ФПД: 91716952904314 [10:07:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100800&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37865&fm=91716952904314&tin=02508201610067®Number=0000000000091684&sum=13400 [10:07:50]line 0 [10:07:50]written 0, free lines is 4095 [10:07:50]OFD Sender: Processing packet 37865 [packets to send 42, broken 41] [10:07:50]ProducePacketName [10:07:50]name=ofd_packets/00037865 [10:07:50]OFD Sender: To server: pG, [10:07:50]CommunicateWithHost lk.salyk.kg:30040 [10:07:50]ConnectInit lk.salyk.kg [10:07:50]Write to MH i2c: 01 00 00 F8 36 2E [10:07:50]Write i2c OK [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 07 00 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: 01 07 00 F8 36 00 00 00 00 00 CC 0C 0D [10:07:50]RasterBufferAndPrint [10:07:50]line [10:07:50]line [10:07:50]line [10:07:50]line [10:07:50]line [10:07:50]written 0, free lines is 3280 [10:07:50]MH_Cut [10:07:50]Write to MH i2c: D1 01 00 FF 36 01 07 [10:07:50]Write i2c OK [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: D1 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: D1 01 00 [10:07:50]MH_I2C_Read... [10:07:50]Read from MH i2c: D1 01 00 FF 36 00 06 [10:07:50]Write to MH i2c: 01 00 00 00 37 37 [10:07:50]Write i2c OK [10:07:50]MH_I2C_Read... [10:07:51]*** Cut start [10:07:51]*** Partial cut [10:07:51]*** CUTSNS_PIN = 1 [10:07:51]*** CUTSNS_PIN = 0 [10:07:51]*** Brake cut motor [10:07:52]Read from MH i2c: 01 [10:07:52]MH_I2C_Read... [10:07:52]*** Stop cut motor [10:07:52]*** Cut end [10:07:52]Read from MH i2c: 01 07 00 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: 01 07 00 00 37 00 00 00 00 00 FF 0F 4C [10:07:52]process_action close_receipt done [10:07:52]requested_data is exist [10:07:52]produce_requested_data [10:07:52]requested_item fm.sn is exist - process it [10:07:52]wFMCommunicate request_size=4 [10:07:52]MH_SAM_APDU [10:07:52]CAPDU: 80 11 00 00 [10:07:52]Write to MH i2c: E2 08 00 01 37 80 11 00 00 00 00 00 00 B2 [10:07:52]Write i2c OK [10:07:52]MH_I2C_Read... [10:07:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:07:52]Read from MH i2c: E2 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: E2 17 00 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: E2 17 00 01 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 02 [10:07:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:07:52]wFMCommunicate OK [10:07:52]requested_item fd.num is exist - process it [10:07:52]SAM_PROTO_GetFieldsCounters [10:07:52]wFMCommunicate request_size=4 [10:07:52]MH_SAM_APDU [10:07:52]CAPDU: 80 13 00 00 [10:07:52]Write to MH i2c: E2 08 00 02 37 80 13 00 00 00 00 00 00 B5 [10:07:52]Write i2c OK [10:07:52]MH_I2C_Read... [10:07:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:07:52]Read from MH i2c: E2 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: E2 62 00 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: E2 62 00 02 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 CD [10:07:52]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 E9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1B 00 00 00 5E 04 04 00 1B 00 00 00 57 04 04 00 1C 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:07:52]wFMCommunicate OK [10:07:52]SAM_PROTO_GetFieldsCounters done [10:07:52]requested_item shift.num is exist - process it [10:07:52]requested_item shift.opened is exist - process it [10:07:52]req_shift_opened [10:07:52]FM_GetShiftState [10:07:52]SAM_PROTO_GetShiftState [10:07:52]wFMCommunicate request_size=4 [10:07:52]MH_SAM_APDU [10:07:52]CAPDU: 80 13 01 00 [10:07:52]Write to MH i2c: E2 08 00 03 37 80 13 01 00 00 00 00 00 B7 [10:07:52]Write i2c OK [10:07:52]MH_I2C_Read... [10:07:52]Connected sock=11 [10:07:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 19 01 00 00 28 9B 11 01 5E B6 5A 03 01 00 03 00 05 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 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 1B 00 00 00 F4 03 04 00 00 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E9 93 00 00 35 04 06 00 53 6A 84 65 D2 7A 76 2F 54 45 C4 58 34 6C [10:07:52]Read from MH i2c: E2 [10:07:52]MH_I2C_Read... [10:07:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:07:52]Read from MH i2c: E2 0E 00 [10:07:52]MH_I2C_Read... [10:07:52]Read from MH i2c: E2 0E 00 03 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 2D [10:07:52]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:07:52]wFMCommunicate OK [10:07:52]SAM_PROTO_GetShiftState done [10:07:52]FM_GetShiftState done [10:07:52]req_shift_opened done [10:07:52]requested_item shift.open_date is exist - process it [10:07:52]req_shift_open_date [10:07:52]req_shift_open_date done [10:07:52]produce_requested_data done [10:07:52]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37865,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [10:07:52]process_action_free close_receipt [10:07:52]json_value_free [10:07:52]json_value_free done [10:07:52]process_json_proto returns [10:07:52]Send response to host [10:07:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37865,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [10:07:52]free response buf [10:07:52]execute_script done [10:07:52]execute_script returns [10:07:52]free content buf [10:07:52]Sock 7.Close socket [10:07:52]Sock 7.Thread stoped [10:07:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 53 82 47 00 80 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 E9 93 00 00 F4 03 04 00 F4 5E 20 67 B6 04 01 00 00 26 AD D5 64 75 AB F4 1D [10:07:52]CommunicateWithHost err = 0 [10:07:52]CheckOFDResponse [10:07:52]1017 (14) - 77093643461234 [10:07:52]1041 (16) - 0000000000871841 [10:07:52]1040 (4) - 37865 [10:07:52]1012 (4) - 29.10.2024 04:05 [10:07:52]1206 (1) - 0 [10:07:52]OFD Sender: Remove packet 37865 [10:07:52]ProducePacketName [10:07:52]name=ofd_packets/00037865 [10:07:52]NVStorageDeleteData [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:46]accept exits with 9 [10:09:46]New connection [10:09:46]New thread 3067297124 created [10:09:46]Thread 3067440484 joined [10:09:46]Waiting for new connection... [10:09:46] Sock 9.Parse request [10:09:46]Sock 9.Check first char [10:09:46]Sock 9.First char is OK [10:09:46]request: POST /json_proto HTTP/1.0 [10:09:46]Method: POST [10:09:46]URL: /json_proto [10:09:46]Method is POST - this is cgi request [10:09:46]url: /json_proto [10:09:46]query_string will be loaded in cgi processing [10:09:46]execute_cgi json_proto POST (null) [10:09:46]execute_cgi path=json_proto method=POST [10:09:46]POST find Content-Length [10:09:46]Host: 172.17.40.196:8080 [10:09:46]Content-Length: 943 [10:09:46]Content-Type: application/json [10:09:46] [10:09:46]POST finish read [10:09:46]Found Content-Length = 943 [10:09:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35166", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:09:46]execute_script... [10:09: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)35166", "tax_sys" : 0, "items" : [ { "code": "4870002328398", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043C\u044F\u0442\u0430 \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 150.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:09:46]POST & json_proto [10:09:46]process_json_proto [10:09:46]json parsed OK: [10:09:46]protocol is kg_v1.0 [10:09:46]action value=close_receipt [10:09:46]process_action close_receipt [10:09:46]cmd_close_receipt [10:09:46]MH_GetDate [10:09:46]Write to MH i2c: F0 00 00 04 37 2A [10:09:46]Write i2c OK [10:09:46]MH_I2C_Read... [10:09:46]Read from MH i2c: F0 [10:09:46]MH_I2C_Read... [10:09:46]Read from MH i2c: F0 09 00 [10:09:46]MH_I2C_Read... [10:09:46]Read from MH i2c: F0 09 00 04 37 00 77 B4 20 67 5B 68 A1 66 AF [10:09:46]GetLastDocTimeStamp 1730196480 [10:09:46]current date 1730196599 [10:09:46]FM_GetShiftState [10:09:46]SAM_PROTO_GetShiftState [10:09:46]wFMCommunicate request_size=4 [10:09:46]MH_SAM_APDU [10:09:46]CAPDU: 80 13 01 00 [10:09:46]Write to MH i2c: E2 08 00 05 37 80 13 01 00 00 00 00 00 B9 [10:09:46]Write i2c OK [10:09:46]MH_I2C_Read... [10:09:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:09:46]Read from MH i2c: E2 [10:09:46]MH_I2C_Read... [10:09:46]Read from MH i2c: E2 0E 00 [10:09:46]MH_I2C_Read... [10:09:46]Read from MH i2c: E2 0E 00 05 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 2F [10:09:46]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:09:46]wFMCommunicate OK [10:09:46]SAM_PROTO_GetShiftState done [10:09:46]FM_GetShiftState done [10:09:46]opened in 1730160317 [10:09:46]opened+sec_in_day 1730246717 [10:09:46]quantity*price = 10000 [10:09:46]sum+1 = 10001 [10:09:46]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000005489 Вода Бонаква 1л б/г 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 150.00 НСП 1% : 1.32 НДС 12% : 15.93 Наличными: 150.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 28 29.10.2024 10:09 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37866 ФПД: 59238964023254 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100959&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37866&fm=59238964023254&tin=02508201610067®Number=0000000000091684&sum=15000 0 [10:09:47]StoreToDocumentArchive [10:09:47]shift 552 fd 37866 [10:09:47]save to /storage/0552/doc_00037866 [10:09:47]save last doc name /storage/0552/doc_00037866 to /storage/kkm_last_doc_name [10:09:47]save OK [10:09:47]Clear old archive folders... [10:09:47]ProcessDocumentItem done err = 0, tmpTLVsize=396 [10:09:47]tlvbuf is 003106C0 [10:09:47]SAM_PROTO_ClearQueue [10:09:47]wFMCommunicate request_size=4 [10:09:47]MH_SAM_APDU [10:09:47]CAPDU: 80 09 00 00 [10:09:47]Write to MH i2c: E2 08 00 12 37 80 09 00 00 00 00 00 00 BB [10:09:47]Write i2c OK [10:09:47]MH_I2C_Read... [10:09:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:09:47]Read from MH i2c: E2 [10:09:47]MH_I2C_Read... [10:09:47]Read from MH i2c: E2 03 00 [10:09:47]MH_I2C_Read... [10:09:47]Read from MH i2c: E2 03 00 12 37 00 90 00 BD [10:09:47]RAPDU: 90 00 [10:09:47]wFMCommunicate OK [10:09:47]SAM_PROTO_ClearQueue done [10:09:47]KKMCreateOFDPacket [10:09:47]OFDProtocolAddRootSTLVToBuf [10:09:47]FM_MakeSignedData [10:09:47]FM_MakeSignedData [10:09:47]SAM_PROTO_SignData [10:09:47]wFMCommunicate request_size=4 [10:09:47]MH_SAM_APDU [10:09:47]CAPDU: 80 0D 01 02 [10:09:47]Write to MH i2c: E2 08 00 13 37 80 0D 01 02 00 00 00 00 C3 [10:09:47]Write i2c OK [10:09:47]MH_I2C_Read... [10:09:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:09:47]Read from MH i2c: E2 [10:09:47]MH_I2C_Read... [10:09:47]Read from MH i2c: E2 03 00 [10:09:47]MH_I2C_Read... [10:09:47]Read from MH i2c: E2 03 00 13 37 00 90 00 BE [10:09:47]RAPDU: 90 00 [10:09:47]wFMCommunicate OK [10:09:47]wFMCommunicate request_size=255 [10:09:47]MH_SAM_APDU [10:09:47]CAPDU: 80 0D 02 02 FA 03 00 8C 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF [10:09:47]Write to MH i2c: E2 02 01 14 37 80 0D 02 02 FA 00 03 00 8C 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 00 00 FA [10:09:47]Write i2c OK [10:09:47]MH_I2C_Read... [10:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:09:48]Read from MH i2c: E2 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 03 00 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 03 00 14 37 00 90 00 BF [10:09:48]RAPDU: 90 00 [10:09:48]wFMCommunicate OK [10:09:48]wFMCommunicate request_size=155 [10:09:48]MH_SAM_APDU [10:09:48]CAPDU: 80 0D 02 02 96 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 77 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EA 93 00 00 35 04 06 00 35 E0 A5 68 4F D6 [10:09:48]Write to MH i2c: E2 9E 00 15 37 80 0D 02 02 96 00 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 77 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EA 93 00 00 35 04 06 00 35 E0 A5 68 4F D6 00 00 7D [10:09:48]Write i2c OK [10:09:48]MH_I2C_Read... [10:09:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:09:48]Read from MH i2c: E2 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 03 00 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 03 00 15 37 00 90 00 C0 [10:09:48]RAPDU: 90 00 [10:09:48]wFMCommunicate OK [10:09:48]wFMCommunicate request_size=4 [10:09:48]MH_SAM_APDU [10:09:48]CAPDU: 80 0D 03 02 [10:09:48]Write to MH i2c: E2 08 00 16 37 80 0D 03 02 00 00 00 00 C8 [10:09:48]Write i2c OK [10:09:48]MH_I2C_Read... [10:09:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:09:48]Read from MH i2c: E2 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 0B 00 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 0B 00 16 37 00 85 DA F4 06 71 62 56 43 90 00 8E [10:09:48]RAPDU: 85 DA F4 06 71 62 56 43 90 00 [10:09:48]wFMCommunicate OK [10:09:48]SAM_PROTO_SignData done [10:09:48]FM_MakeSignedData done [10:09:48]CreateOFDProtocolMessage [10:09:48]wFMCommunicate request_size=4 [10:09:48]MH_SAM_APDU [10:09:48]CAPDU: 80 11 00 00 [10:09:48]Write to MH i2c: E2 08 00 17 37 80 11 00 00 00 00 00 00 C8 [10:09:48]Write i2c OK [10:09:48]MH_I2C_Read... [10:09:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:09:48]Read from MH i2c: E2 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 17 00 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: E2 17 00 17 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 18 [10:09:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:09:48]wFMCommunicate OK [10:09:48]CreateOFDProtocolMessage done [10:09:48]OFDSenderStorePacket 37866 [10:09:48]StoreOFDPacket docnum=37866 [10:09:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 ED DB 98 01 D6 CB 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 77 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EA 93 00 00 35 04 06 00 35 E0 A5 68 4F D6 85 DA F4 06 71 62 56 43 [10:09:48]CheckFolder [10:09:48]dirname=/storage/ofd_packets [10:09:48]CheckFolder done [10:09:48]ProducePacketName [10:09:48]name=ofd_packets/00037866 [10:09:48]NVStorageSaveData ofd_packets/00037866 [10:09:48]File name is /storage/ofd_packets/00037866 [10:09:48]Write 446 bytes [10:09:48]NVStorageSaveData done [10:09:48]OFDSenderStorePacket done [10:09:48]KKMCreateOFDPacket done [10:09:48]NVStorageSaveData kkm_last_timestamp [10:09:48]File name is /storage/kkm_last_timestamp [10:09:48]Write 4 bytes [10:09:48]NVStorageSaveData done [10:09:48]ExternCall_PrintAddStr [10:09:48]wPrintStart [10:09:48]Write to MH i2c: 01 00 00 18 37 4F [10:09:48]Write i2c OK [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: 01 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: 01 07 00 [10:09:48]MH_I2C_Read... [10:09:48]Read from MH i2c: 01 07 00 18 37 00 00 00 00 00 FF 0F 64 [10:09:48]RasterBufferAndPrint [10:09:48]line Счет N : (3)35166 [10:09:48]line ИНН: 02508201610067 [10:09:48]line Контрольно-Кассовый Чек [10:09:48]line ПРОДАЖА [10:09:48]line Товар: 4870002328398 [10:09:48]line Вода ASU пит н.газ мята ПЭТ 1л [10:09:48]line 1.000 * 100.00 [10:09:48]line = 100.00 [10:09:48]line НДС 12% НСП 1% [10:09:48]line > о реализуемом товаре [10:09:48]line Товар: 5449000005489 [10:09:48]line Вода Бонаква 1л б/г [10:09:48]line 1.000 * 50.00 [10:09:48]line = 50.00 [10:09:48]line НДС 12% НСП 1% [10:09:48]line > о реализуемом товаре [10:09:48]line ИТОГО: 150.00 [10:09:48]line НСП 1% : 1.32 [10:09:48]line НДС 12% : 15.93 [10:09:48]line Наличными: 150.00 [10:09:48]line Безнал.: 0.00 [10:09:48]line Место: АЗС № 126 "Партнер Нефть" [10:09:48]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:09:48]line СНО: Общий режим [10:09:48]line Чек 28 29.10.2024 10:09 [10:09:48]line Смена: 552 ФФД: 1.0 [10:09:48]line ЗНМ: 0300000092 [10:09:48]line РНМ: 0000000000091684 [10:09:48]line Версия ККМ: 001 [10:09:48]line ФМ: 0000000000871841 [10:09:48]line ФД: 37866 [10:09:48]line ФПД: 59238964023254 [10:09:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T100959&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37866&fm=59238964023254&tin=02508201610067®Number=0000000000091684&sum=15000 [10:09:48]line 0 [10:09:48]OFD Sender: Processing packet 37866 [packets to send 42, broken 41] [10:09:48]ProducePacketName [10:09:48]name=ofd_packets/00037866 [10:09:48]OFD Sender: To server: pG, [10:09:48]CommunicateWithHost lk.salyk.kg:30040 [10:09:48]ConnectInit lk.salyk.kg [10:09:48]written 0, free lines is 4095 [10:09:49]Write to MH i2c: 01 00 00 47 37 7E [10:09:49]Write i2c OK [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: 01 [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: 01 07 00 [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: 01 07 00 47 37 00 00 00 00 00 4E 0C DF [10:09:49]RasterBufferAndPrint [10:09:49]line [10:09:49]line [10:09:49]line [10:09:49]line [10:09:49]line [10:09:49]written 0, free lines is 3154 [10:09:49]MH_Cut [10:09:49]Write to MH i2c: D1 01 00 4E 37 01 57 [10:09:49]Write i2c OK [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: D1 [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: D1 01 00 [10:09:49]MH_I2C_Read... [10:09:49]Read from MH i2c: D1 01 00 4E 37 00 56 [10:09:49]Write to MH i2c: 01 00 00 4F 37 86 [10:09:49]Write i2c OK [10:09:49]MH_I2C_Read... [10:09:50]*** Cut start [10:09:50]*** Partial cut [10:09:50]*** CUTSNS_PIN = 1 [10:09:50]*** CUTSNS_PIN = 0 [10:09:50]*** Brake cut motor [10:09:50]Read from MH i2c: 01 [10:09:50]MH_I2C_Read... [10:09:50]*** Stop cut motor [10:09:50]*** Cut end [10:09:50]Read from MH i2c: 01 07 00 [10:09:50]MH_I2C_Read... [10:09:50]Read from MH i2c: 01 07 00 4F 37 00 00 00 00 00 FF 0F 9B [10:09:50]process_action close_receipt done [10:09:50]requested_data is exist [10:09:50]produce_requested_data [10:09:50]requested_item fm.sn is exist - process it [10:09:50]wFMCommunicate request_size=4 [10:09:50]MH_SAM_APDU [10:09:50]CAPDU: 80 11 00 00 [10:09:50]Write to MH i2c: E2 08 00 50 37 80 11 00 00 00 00 00 00 01 [10:09:50]Write i2c OK [10:09:50]MH_I2C_Read... [10:09:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:09:50]Read from MH i2c: E2 [10:09:50]MH_I2C_Read... [10:09:50]Read from MH i2c: E2 17 00 [10:09:50]MH_I2C_Read... [10:09:50]Read from MH i2c: E2 17 00 50 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 51 [10:09:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:09:50]wFMCommunicate OK [10:09:50]requested_item fd.num is exist - process it [10:09:50]SAM_PROTO_GetFieldsCounters [10:09:50]wFMCommunicate request_size=4 [10:09:50]MH_SAM_APDU [10:09:50]CAPDU: 80 13 00 00 [10:09:50]Write to MH i2c: E2 08 00 51 37 80 13 00 00 00 00 00 00 04 [10:09:50]Write i2c OK [10:09:50]MH_I2C_Read... [10:09:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:09:51]Read from MH i2c: E2 [10:09:51]MH_I2C_Read... [10:09:51]Read from MH i2c: E2 62 00 [10:09:51]MH_I2C_Read... [10:09:51]Read from MH i2c: E2 62 00 51 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 20 [10:09:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:09:51]wFMCommunicate OK [10:09:51]SAM_PROTO_GetFieldsCounters done [10:09:51]requested_item shift.num is exist - process it [10:09:51]requested_item shift.opened is exist - process it [10:09:51]req_shift_opened [10:09:51]FM_GetShiftState [10:09:51]SAM_PROTO_GetShiftState [10:09:51]wFMCommunicate request_size=4 [10:09:51]MH_SAM_APDU [10:09:51]CAPDU: 80 13 01 00 [10:09:51]Write to MH i2c: E2 08 00 52 37 80 13 01 00 00 00 00 00 06 [10:09:51]Write i2c OK [10:09:51]MH_I2C_Read... [10:09:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:09:51]Read from MH i2c: E2 [10:09:51]MH_I2C_Read... [10:09:51]Read from MH i2c: E2 0E 00 [10:09:51]MH_I2C_Read... [10:09:51]Read from MH i2c: E2 0E 00 52 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7C [10:09:51]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:09:51]wFMCommunicate OK [10:09:51]SAM_PROTO_GetShiftState done [10:09:51]FM_GetShiftState done [10:09:51]req_shift_opened done [10:09:51]requested_item shift.open_date is exist - process it [10:09:51]req_shift_open_date [10:09:51]req_shift_open_date done [10:09:51]produce_requested_data done [10:09:51]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37866,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [10:09:51]process_action_free close_receipt [10:09:51]json_value_free [10:09:51]json_value_free done [10:09:51]process_json_proto returns [10:09:51]Send response to host [10:09:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37866,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [10:09:51]free response buf [10:09:51]execute_script done [10:09:51]execute_script returns [10:09:51]free content buf [10:09:51]Sock 9.Close socket [10:09:51]Sock 9.Thread stoped [10:09:51]Connected sock=11 [10:09:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A0 01 00 00 ED DB 98 01 D6 CB 5A 03 01 00 03 00 8C 01 1E 04 01 00 01 23 04 75 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 33 39 38 06 04 31 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 BC D1 8F D1 82 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 98 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 84 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 39 06 00 00 00 00 07 04 06 00 98 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1C 00 00 00 F4 03 04 00 77 B4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EA 93 00 00 35 04 06 00 35 E0 A5 68 4F D6 85 DA F4 06 71 62 56 43 [10:09:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 58 6D 47 00 0E 6B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EA 93 00 00 F4 03 04 00 6B 5F 20 67 B6 04 01 00 00 66 96 12 B5 61 4F 0C 64 [10:09:51]CommunicateWithHost err = 0 [10:09:51]CheckOFDResponse [10:09:51]1017 (14) - 77093643461234 [10:09:51]1041 (16) - 0000000000871841 [10:09:51]1040 (4) - 37866 [10:09:51]1012 (4) - 29.10.2024 04:07 [10:09:51]1206 (1) - 0 [10:09:51]OFD Sender: Remove packet 37866 [10:09:51]ProducePacketName [10:09:51]name=ofd_packets/00037866 [10:09:51]NVStorageDeleteData [10:09:52]OFD Sender: No OFD packet to send [10:09:57]OFD Sender: No OFD packet to send [10:10:02]OFD Sender: No OFD packet to send [10:10:07]OFD Sender: No OFD packet to send [10:10:12]OFD Sender: No OFD packet to send [10:10:17]OFD Sender: No OFD packet to send [10:10:22]OFD Sender: No OFD packet to send [10:10:27]OFD Sender: No OFD packet to send [10:10:32]OFD Sender: No OFD packet to send [10:10:37]OFD Sender: No OFD packet to send [10:10:42]OFD Sender: No OFD packet to send [10:10:47]OFD Sender: No OFD packet to send [10:10:52]OFD Sender: No OFD packet to send [10:10:57]OFD Sender: No OFD packet to send [10:11:02]OFD Sender: No OFD packet to send [10:11:07]OFD Sender: No OFD packet to send [10:11:12]OFD Sender: No OFD packet to send [10:11:17]OFD Sender: No OFD packet to send [10:11:22]OFD Sender: No OFD packet to send [10:11:27]OFD Sender: No OFD packet to send [10:11:32]OFD Sender: No OFD packet to send [10:11:37]OFD Sender: No OFD packet to send [10:11:42]OFD Sender: No OFD packet to send [10:11:47]OFD Sender: No OFD packet to send [10:11:52]OFD Sender: No OFD packet to send [10:11:57]OFD Sender: No OFD packet to send [10:12:02]OFD Sender: No OFD packet to send [10:12:07]OFD Sender: No OFD packet to send [10:12:12]OFD Sender: No OFD packet to send [10:12:17]OFD Sender: No OFD packet to send [10:12:22]OFD Sender: No OFD packet to send [10:12:27]OFD Sender: No OFD packet to send [10:12:32]OFD Sender: No OFD packet to send [10:12:37]OFD Sender: No OFD packet to send [10:12:42]OFD Sender: No OFD packet to send [10:12:47]OFD Sender: No OFD packet to send [10:12:52]OFD Sender: No OFD packet to send [10:12:57]OFD Sender: No OFD packet to send [10:13:02]OFD Sender: No OFD packet to send [10:13:07]OFD Sender: No OFD packet to send [10:13:12]OFD Sender: No OFD packet to send [10:13:17]OFD Sender: No OFD packet to send [10:13:22]OFD Sender: No OFD packet to send [10:13:27]OFD Sender: No OFD packet to send [10:13:32]OFD Sender: No OFD packet to send [10:13:37]OFD Sender: No OFD packet to send [10:13:42]OFD Sender: No OFD packet to send [10:13:47]OFD Sender: No OFD packet to send [10:13:52]OFD Sender: No OFD packet to send [10:13:57]OFD Sender: No OFD packet to send [10:14:02]OFD Sender: No OFD packet to send [10:14:07]OFD Sender: No OFD packet to send [10:14:12]OFD Sender: No OFD packet to send [10:14:17]OFD Sender: No OFD packet to send [10:14:22]OFD Sender: No OFD packet to send [10:14:27]OFD Sender: No OFD packet to send [10:14:32]OFD Sender: No OFD packet to send [10:14:37]OFD Sender: No OFD packet to send [10:14:42]OFD Sender: No OFD packet to send [10:14:47]OFD Sender: No OFD packet to send [10:14:52]OFD Sender: No OFD packet to send [10:14:57]OFD Sender: No OFD packet to send [10:15:02]OFD Sender: No OFD packet to send [10:15:07]OFD Sender: No OFD packet to send [10:15:12]OFD Sender: No OFD packet to send [10:15:17]OFD Sender: No OFD packet to send [10:15:22]OFD Sender: No OFD packet to send [10:15:27]OFD Sender: No OFD packet to send [10:15:32]OFD Sender: No OFD packet to send [10:15:37]OFD Sender: No OFD packet to send [10:15:42]OFD Sender: No OFD packet to send [10:15:47]OFD Sender: No OFD packet to send [10:15:52]OFD Sender: No OFD packet to send [10:15:57]OFD Sender: No OFD packet to send [10:16:02]OFD Sender: No OFD packet to send [10:16:07]OFD Sender: No OFD packet to send [10:16:12]OFD Sender: No OFD packet to send [10:16:17]OFD Sender: No OFD packet to send [10:16:22]OFD Sender: No OFD packet to send [10:16:27]OFD Sender: No OFD packet to send [10:16:32]OFD Sender: No OFD packet to send [10:16:37]OFD Sender: No OFD packet to send [10:16:42]OFD Sender: No OFD packet to send [10:16:47]OFD Sender: No OFD packet to send [10:16:52]OFD Sender: No OFD packet to send [10:16:57]OFD Sender: No OFD packet to send [10:17:02]OFD Sender: No OFD packet to send [10:17:07]OFD Sender: No OFD packet to send [10:17:12]OFD Sender: No OFD packet to send [10:17:17]OFD Sender: No OFD packet to send [10:17:22]OFD Sender: No OFD packet to send [10:17:27]OFD Sender: No OFD packet to send [10:17:32]OFD Sender: No OFD packet to send [10:17:37]OFD Sender: No OFD packet to send [10:17:42]OFD Sender: No OFD packet to send [10:17:47]OFD Sender: No OFD packet to send [10:17:52]OFD Sender: No OFD packet to send [10:17:57]OFD Sender: No OFD packet to send [10:18:02]OFD Sender: No OFD packet to send [10:18:07]OFD Sender: No OFD packet to send [10:18:12]OFD Sender: No OFD packet to send [10:18:17]OFD Sender: No OFD packet to send [10:18:22]OFD Sender: No OFD packet to send [10:18:27]OFD Sender: No OFD packet to send [10:18:32]OFD Sender: No OFD packet to send [10:18:37]OFD Sender: No OFD packet to send [10:18:42]OFD Sender: No OFD packet to send [10:18:47]OFD Sender: No OFD packet to send [10:18:52]OFD Sender: No OFD packet to send [10:18:57]OFD Sender: No OFD packet to send [10:19:02]OFD Sender: No OFD packet to send [10:19:07]OFD Sender: No OFD packet to send [10:19:12]OFD Sender: No OFD packet to send [10:19:17]OFD Sender: No OFD packet to send [10:19:22]OFD Sender: No OFD packet to send [10:19:27]OFD Sender: No OFD packet to send [10:19:32]OFD Sender: No OFD packet to send [10:19:37]OFD Sender: No OFD packet to send [10:19:42]OFD Sender: No OFD packet to send [10:19:47]OFD Sender: No OFD packet to send [10:19:52]OFD Sender: No OFD packet to send [10:19:57]OFD Sender: No OFD packet to send [10:20:02]OFD Sender: No OFD packet to send [10:20:07]OFD Sender: No OFD packet to send [10:20:12]OFD Sender: No OFD packet to send [10:20:17]OFD Sender: No OFD packet to send [10:20:22]OFD Sender: No OFD packet to send [10:20:27]OFD Sender: No OFD packet to send [10:20:32]OFD Sender: No OFD packet to send [10:20:37]OFD Sender: No OFD packet to send [10:20:42]OFD Sender: No OFD packet to send [10:20:47]OFD Sender: No OFD packet to send [10:20:52]OFD Sender: No OFD packet to send [10:20:57]OFD Sender: No OFD packet to send [10:21:02]OFD Sender: No OFD packet to send [10:21:07]OFD Sender: No OFD packet to send [10:21:12]OFD Sender: No OFD packet to send [10:21:17]OFD Sender: No OFD packet to send [10:21:22]OFD Sender: No OFD packet to send [10:21:27]OFD Sender: No OFD packet to send [10:21:32]OFD Sender: No OFD packet to send [10:21:37]OFD Sender: No OFD packet to send [10:21:42]OFD Sender: No OFD packet to send [10:21:47]OFD Sender: No OFD packet to send [10:21:52]OFD Sender: No OFD packet to send [10:21:57]OFD Sender: No OFD packet to send [10:22:02]OFD Sender: No OFD packet to send [10:22:07]OFD Sender: No OFD packet to send [10:22:12]OFD Sender: No OFD packet to send [10:22:17]OFD Sender: No OFD packet to send [10:22:22]OFD Sender: No OFD packet to send [10:22:27]OFD Sender: No OFD packet to send [10:22:32]OFD Sender: No OFD packet to send [10:22:37]OFD Sender: No OFD packet to send [10:22:42]OFD Sender: No OFD packet to send [10:22:47]OFD Sender: No OFD packet to send [10:22:52]OFD Sender: No OFD packet to send [10:22:57]OFD Sender: No OFD packet to send [10:23:02]OFD Sender: No OFD packet to send [10:23:07]OFD Sender: No OFD packet to send [10:23:12]OFD Sender: No OFD packet to send [10:23:17]OFD Sender: No OFD packet to send [10:23:22]OFD Sender: No OFD packet to send [10:23:27]OFD Sender: No OFD packet to send [10:23:32]OFD Sender: No OFD packet to send [10:23:37]OFD Sender: No OFD packet to send [10:23:42]OFD Sender: No OFD packet to send [10:23:47]OFD Sender: No OFD packet to send [10:23:52]OFD Sender: No OFD packet to send [10:23:57]OFD Sender: No OFD packet to send [10:24:02]OFD Sender: No OFD packet to send [10:24:07]OFD Sender: No OFD packet to send [10:24:12]OFD Sender: No OFD packet to send [10:24:17]OFD Sender: No OFD packet to send [10:24:22]OFD Sender: No OFD packet to send [10:24:27]OFD Sender: No OFD packet to send [10:24:32]OFD Sender: No OFD packet to send [10:24:37]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:13]OFD Sender: No OFD packet to send [10:33:18]OFD Sender: No OFD packet to send [10:33:23]OFD Sender: No OFD packet to send [10:33:28]OFD Sender: No OFD packet to send [10:33:33]OFD Sender: No OFD packet to send [10:33:38]OFD Sender: No OFD packet to send [10:33:43]OFD Sender: No OFD packet to send [10:33:48]OFD Sender: No OFD packet to send [10:33:53]OFD Sender: No OFD packet to send [10:33:58]OFD Sender: No OFD packet to send [10:34:03]OFD Sender: No OFD packet to send [10:34:08]OFD Sender: No OFD packet to send [10:34:13]OFD Sender: No OFD packet to send [10:34:18]OFD Sender: No OFD packet to send [10:34:23]OFD Sender: No OFD packet to send [10:34:28]OFD Sender: No OFD packet to send [10:34:33]OFD Sender: No OFD packet to send [10:34:38]OFD Sender: No OFD packet to send [10:34:43]OFD Sender: No OFD packet to send [10:34:48]OFD Sender: No OFD packet to send [10:34:53]OFD Sender: No OFD packet to send [10:34:58]OFD Sender: No OFD packet to send [10:35:03]OFD Sender: No OFD packet to send [10:35:08]OFD Sender: No OFD packet to send [10:35:13]OFD Sender: No OFD packet to send [10:35:18]OFD Sender: No OFD packet to send [10:35:23]OFD Sender: No OFD packet to send [10:35:28]OFD Sender: No OFD packet to send [10:35:33]OFD Sender: No OFD packet to send [10:35:38]OFD Sender: No OFD packet to send [10:35:43]OFD Sender: No OFD packet to send [10:35:48]OFD Sender: No OFD packet to send [10:35:53]OFD Sender: No OFD packet to send [10:35:58]OFD Sender: No OFD packet to send [10:36:03]OFD Sender: No OFD packet to send [10:36:08]OFD Sender: No OFD packet to send [10:36:13]OFD Sender: No OFD packet to send [10:36:18]OFD Sender: No OFD packet to send [10:36:23]OFD Sender: No OFD packet to send [10:36:28]OFD Sender: No OFD packet to send [10:36:33]OFD Sender: No OFD packet to send [10:36:38]OFD Sender: No OFD packet to send [10:36:43]OFD Sender: No OFD packet to send [10:36:46]accept exits with 7 [10:36:46]New connection [10:36:46]New thread 3067440484 created [10:36:46]Thread 3067297124 joined [10:36:46]Waiting for new connection... [10:36:46] Sock 7.Parse request [10:36:46]Sock 7.Check first char [10:36:46]Sock 7.First char is OK [10:36:46]request: POST /json_proto HTTP/1.0 [10:36:46]Method: POST [10:36:46]URL: /json_proto [10:36:46]Method is POST - this is cgi request [10:36:46]url: /json_proto [10:36:46]query_string will be loaded in cgi processing [10:36:46]execute_cgi json_proto POST (null) [10:36:46]execute_cgi path=json_proto method=POST [10:36:46]POST find Content-Length [10:36:46]Host: 172.17.40.196:8080 [10:36:46]Content-Length: 618 [10:36:46]Content-Type: application/json [10:36:46] [10:36:46]POST finish read [10:36:46]Found Content-Length = 618 [10:36:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35167", "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" ] } } [10:36:46]execute_script... [10:36:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35167", "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" ] } } [10:36:46]POST & json_proto [10:36:46]process_json_proto [10:36:46]json parsed OK: [10:36:46]protocol is kg_v1.0 [10:36:46]action value=close_receipt [10:36:46]process_action close_receipt [10:36:46]cmd_close_receipt [10:36:46]MH_GetDate [10:36:46]Write to MH i2c: F0 00 00 53 37 79 [10:36:46]Write i2c OK [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 09 00 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: F0 09 00 53 37 00 CA BA 20 67 5B 68 A1 66 57 [10:36:46]GetLastDocTimeStamp 1730196599 [10:36:46]current date 1730198218 [10:36:46]FM_GetShiftState [10:36:46]SAM_PROTO_GetShiftState [10:36:46]wFMCommunicate request_size=4 [10:36:46]MH_SAM_APDU [10:36:46]CAPDU: 80 13 01 00 [10:36:46]Write to MH i2c: E2 08 00 54 37 80 13 01 00 00 00 00 00 08 [10:36:46]Write i2c OK [10:36:46]MH_I2C_Read... [10:36:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:46]Read from MH i2c: E2 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: E2 0E 00 [10:36:46]MH_I2C_Read... [10:36:46]Read from MH i2c: E2 0E 00 54 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7E [10:36:46]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:36:46]wFMCommunicate OK [10:36:46]SAM_PROTO_GetShiftState done [10:36:46]FM_GetShiftState done [10:36:46]opened in 1730160317 [10:36:46]opened+sec_in_day 1730246717 [10:36:46]quantity*price = 14400 [10:36:46]sum+1 = 14401 [10:36:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 29 29.10.2024 10:36 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37867 ФПД: 157526540732384 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T103659&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37867&fm=157526540732384&tin=02508201610067®Number=0000000000091684&sum=14400 0 [10:36:47]StoreToDocumentArchive [10:36:47]shift 552 fd 37867 [10:36:47]save to /storage/0552/doc_00037867 [10:36:47]save last doc name /storage/0552/doc_00037867 to /storage/kkm_last_doc_name [10:36:47]save OK [10:36:47]Clear old archive folders... [10:36:47]ProcessDocumentItem done err = 0, tmpTLVsize=271 [10:36:47]tlvbuf is 00374E50 [10:36:47]SAM_PROTO_ClearQueue [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 09 00 00 [10:36:47]Write to MH i2c: E2 08 00 61 37 80 09 00 00 00 00 00 00 0A [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 61 37 00 90 00 0C [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]SAM_PROTO_ClearQueue done [10:36:47]KKMCreateOFDPacket [10:36:47]OFDProtocolAddRootSTLVToBuf [10:36:47]FM_MakeSignedData [10:36:47]FM_MakeSignedData [10:36:47]SAM_PROTO_SignData [10:36:47]wFMCommunicate request_size=4 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 01 02 [10:36:47]Write to MH i2c: E2 08 00 62 37 80 0D 01 02 00 00 00 00 12 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 62 37 00 90 00 0D [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]wFMCommunicate request_size=255 [10:36:47]MH_SAM_APDU [10:36:47]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 1D 00 00 00 F4 03 04 00 CB BA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 [10:36:47]Write to MH i2c: E2 02 01 63 37 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 1D 00 00 00 F4 03 04 00 CB BA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 61 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:47]Read from MH i2c: E2 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 [10:36:47]MH_I2C_Read... [10:36:47]Read from MH i2c: E2 03 00 63 37 00 90 00 0E [10:36:47]RAPDU: 90 00 [10:36:47]wFMCommunicate OK [10:36:47]wFMCommunicate request_size=30 [10:36:47]MH_SAM_APDU [10:36:47]CAPDU: 80 0D 02 02 19 30 38 37 31 38 34 31 10 04 04 00 EB 93 00 00 35 04 06 00 8F 45 01 80 C7 E0 [10:36:47]Write to MH i2c: E2 21 00 64 37 80 0D 02 02 19 00 30 38 37 31 38 34 31 10 04 04 00 EB 93 00 00 35 04 06 00 8F 45 01 80 C7 E0 00 00 85 [10:36:47]Write i2c OK [10:36:47]MH_I2C_Read... [10:36:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:36:48]Read from MH i2c: E2 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 03 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 03 00 64 37 00 90 00 0F [10:36:48]RAPDU: 90 00 [10:36:48]wFMCommunicate OK [10:36:48]wFMCommunicate request_size=4 [10:36:48]MH_SAM_APDU [10:36:48]CAPDU: 80 0D 03 02 [10:36:48]Write to MH i2c: E2 08 00 65 37 80 0D 03 02 00 00 00 00 17 [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:36:48]Read from MH i2c: E2 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 0B 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 0B 00 65 37 00 30 99 48 7C 3C 43 57 E9 90 00 64 [10:36:48]RAPDU: 30 99 48 7C 3C 43 57 E9 90 00 [10:36:48]wFMCommunicate OK [10:36:48]SAM_PROTO_SignData done [10:36:48]FM_MakeSignedData done [10:36:48]CreateOFDProtocolMessage [10:36:48]wFMCommunicate request_size=4 [10:36:48]MH_SAM_APDU [10:36:48]CAPDU: 80 11 00 00 [10:36:48]Write to MH i2c: E2 08 00 66 37 80 11 00 00 00 00 00 00 17 [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:48]Read from MH i2c: E2 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 17 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: E2 17 00 66 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 67 [10:36:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:36:48]wFMCommunicate OK [10:36:48]CreateOFDProtocolMessage done [10:36:48]OFDSenderStorePacket 37867 [10:36:48]StoreOFDPacket docnum=37867 [10:36:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 F4 0F 1B 01 92 37 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 1D 00 00 00 F4 03 04 00 CB BA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EB 93 00 00 35 04 06 00 8F 45 01 80 C7 E0 30 99 48 7C 3C 43 57 E9 [10:36:48]CheckFolder [10:36:48]dirname=/storage/ofd_packets [10:36:48]CheckFolder done [10:36:48]ProducePacketName [10:36:48]name=ofd_packets/00037867 [10:36:48]NVStorageSaveData ofd_packets/00037867 [10:36:48]File name is /storage/ofd_packets/00037867 [10:36:48]Write 321 bytes [10:36:48]NVStorageSaveData done [10:36:48]OFDSenderStorePacket done [10:36:48]KKMCreateOFDPacket done [10:36:48]NVStorageSaveData kkm_last_timestamp [10:36:48]File name is /storage/kkm_last_timestamp [10:36:48]Write 4 bytes [10:36:48]NVStorageSaveData done [10:36:48]ExternCall_PrintAddStr [10:36:48]wPrintStart [10:36:48]Write to MH i2c: 01 00 00 67 37 9E [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 67 37 00 00 00 00 00 FF 0F B3 [10:36:48]RasterBufferAndPrint [10:36:48]line Счет N : (3)35167 [10:36:48]line ИНН: 02508201610067 [10:36:48]line Контрольно-Кассовый Чек [10:36:48]line ПРОДАЖА [10:36:48]line Товар: 47802995 [10:36:48]line Сигареты Winston XS Silver [10:36:48]line 1.000 * 144.00 [10:36:48]line = 144.00 [10:36:48]line НДС 12% НСП 1% [10:36:48]line > о реализуемом товаре [10:36:48]line ИТОГО: 144.00 [10:36:48]line НСП 1% : 1.27 [10:36:48]line НДС 12% : 15.29 [10:36:48]line Наличными: 144.00 [10:36:48]line Безнал.: 0.00 [10:36:48]line Место: АЗС № 126 "Партнер Нефть" [10:36:48]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:36:48]line СНО: Общий режим [10:36:48]line Чек 29 29.10.2024 10:36 [10:36:48]line Смена: 552 ФФД: 1.0 [10:36:48]line ЗНМ: 0300000092 [10:36:48]line РНМ: 0000000000091684 [10:36:48]line Версия ККМ: 001 [10:36:48]line ФМ: 0000000000871841 [10:36:48]line ФД: 37867 [10:36:48]line ФПД: 157526540732384 [10:36:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T103659&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37867&fm=157526540732384&tin=02508201610067®Number=0000000000091684&sum=14400 [10:36:48]OFD Sender: Processing packet 37867 [packets to send 42, broken 41] [10:36:48]ProducePacketName [10:36:48]name=ofd_packets/00037867 [10:36:48]OFD Sender: To server: pG, [10:36:48]CommunicateWithHost lk.salyk.kg:30040 [10:36:48]ConnectInit lk.salyk.kg [10:36:48]line 0 [10:36:48]written 0, free lines is 4095 [10:36:48]Connected sock=11 [10:36:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 23 01 00 00 F4 0F 1B 01 92 37 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 1D 00 00 00 F4 03 04 00 CB BA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EB 93 00 00 35 04 06 00 8F 45 01 80 C7 E0 30 99 48 7C 3C 43 57 E9 [10:36:48]Write to MH i2c: 01 00 00 8F 37 C6 [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: 01 07 00 8F 37 00 00 00 00 00 D1 0C AA [10:36:48]RasterBufferAndPrint [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]line [10:36:48]written 0, free lines is 3287 [10:36:48]MH_Cut [10:36:48]Write to MH i2c: D1 01 00 96 37 01 9F [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 01 00 [10:36:48]MH_I2C_Read... [10:36:48]Read from MH i2c: D1 01 00 96 37 00 9E [10:36:48]Write to MH i2c: 01 00 00 97 37 CE [10:36:48]Write i2c OK [10:36:48]MH_I2C_Read... [10:36:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 50 B2 47 00 2D BD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EB 93 00 00 F4 03 04 00 BC 65 20 67 B6 04 01 00 00 8D FB 51 16 9E 62 DC DA [10:36:49]CommunicateWithHost err = 0 [10:36:49]CheckOFDResponse [10:36:49]1017 (14) - 77093643461234 [10:36:49]1041 (16) - 0000000000871841 [10:36:49]1040 (4) - 37867 [10:36:49]1012 (4) - 29.10.2024 04:34 [10:36:49]1206 (1) - 0 [10:36:49]OFD Sender: Remove packet 37867 [10:36:49]ProducePacketName [10:36:49]name=ofd_packets/00037867 [10:36:49]NVStorageDeleteData [10:36:49]*** Cut start [10:36:49]*** Partial cut [10:36:49]*** CUTSNS_PIN = 1 [10:36:49]*** CUTSNS_PIN = 0 [10:36:49]OFD Sender: No OFD packet to send [10:36:49]*** Brake cut motor [10:36:50]Read from MH i2c: 01 [10:36:50]MH_I2C_Read... [10:36:50]*** Stop cut motor [10:36:50]*** Cut end [10:36:50]Read from MH i2c: 01 07 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: 01 07 00 97 37 00 00 00 00 00 FF 0F E3 [10:36:50]process_action close_receipt done [10:36:50]requested_data is exist [10:36:50]produce_requested_data [10:36:50]requested_item fm.sn is exist - process it [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 11 00 00 [10:36:50]Write to MH i2c: E2 08 00 98 37 80 11 00 00 00 00 00 00 49 [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 17 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 17 00 98 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 99 [10:36:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:36:50]wFMCommunicate OK [10:36:50]requested_item fd.num is exist - process it [10:36:50]SAM_PROTO_GetFieldsCounters [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 13 00 00 [10:36:50]Write to MH i2c: E2 08 00 99 37 80 13 00 00 00 00 00 00 4C [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 62 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 62 00 99 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [10:36:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:36:50]wFMCommunicate OK [10:36:50]SAM_PROTO_GetFieldsCounters done [10:36:50]requested_item shift.num is exist - process it [10:36:50]requested_item shift.opened is exist - process it [10:36:50]req_shift_opened [10:36:50]FM_GetShiftState [10:36:50]SAM_PROTO_GetShiftState [10:36:50]wFMCommunicate request_size=4 [10:36:50]MH_SAM_APDU [10:36:50]CAPDU: 80 13 01 00 [10:36:50]Write to MH i2c: E2 08 00 9A 37 80 13 01 00 00 00 00 00 4E [10:36:50]Write i2c OK [10:36:50]MH_I2C_Read... [10:36:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:36:50]Read from MH i2c: E2 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 0E 00 [10:36:50]MH_I2C_Read... [10:36:50]Read from MH i2c: E2 0E 00 9A 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C4 [10:36:50]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:36:50]wFMCommunicate OK [10:36:50]SAM_PROTO_GetShiftState done [10:36:50]FM_GetShiftState done [10:36:50]req_shift_opened done [10:36:50]requested_item shift.open_date is exist - process it [10:36:50]req_shift_open_date [10:36:50]req_shift_open_date done [10:36:50]produce_requested_data done [10:36:50]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37867,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [10:36:50]process_action_free close_receipt [10:36:50]json_value_free [10:36:50]json_value_free done [10:36:50]process_json_proto returns [10:36:50]Send response to host [10:36:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37867,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [10:36:50]free response buf [10:36:50]execute_script done [10:36:50]execute_script returns [10:36:50]free content buf [10:36:50]Sock 7.Close socket [10:36:50]Sock 7.Thread stoped [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:25]accept exits with 9 [10:38:25]New connection [10:38:25]New thread 3067297124 created [10:38:25]Thread 3067440484 joined [10:38:25]Waiting for new connection... [10:38:25] Sock 9.Parse request [10:38:25]Sock 9.Check first char [10:38:25]Sock 9.First char is OK [10:38:25]request: POST /json_proto HTTP/1.0 [10:38:25]Method: POST [10:38:25]URL: /json_proto [10:38:25]Method is POST - this is cgi request [10:38:25]url: /json_proto [10:38:25]query_string will be loaded in cgi processing [10:38:25]execute_cgi json_proto POST (null) [10:38:25]execute_cgi path=json_proto method=POST [10:38:25]POST find Content-Length [10:38:25]Host: 172.17.40.196:8080 [10:38:25]Content-Length: 1282 [10:38:25]Content-Type: application/json [10:38:25] [10:38:25]POST finish read [10:38:25]Found Content-Length = 1282 [10:38:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35168", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 365.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:38:25]execute_script... [10:38:25]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35168", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 365.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [10:38:25]POST & json_proto [10:38:25]process_json_proto [10:38:25]json parsed OK: [10:38:25]protocol is kg_v1.0 [10:38:25]action value=close_receipt [10:38:25]process_action close_receipt [10:38:25]cmd_close_receipt [10:38:25]MH_GetDate [10:38:25]Write to MH i2c: F0 00 00 9B 37 C1 [10:38:25]Write i2c OK [10:38:25]MH_I2C_Read... [10:38:25]Read from MH i2c: F0 [10:38:25]MH_I2C_Read... [10:38:25]Read from MH i2c: F0 09 00 [10:38:25]MH_I2C_Read... [10:38:25]Read from MH i2c: F0 09 00 9B 37 00 2E BB 20 67 5B 68 A1 66 04 [10:38:25]GetLastDocTimeStamp 1730198219 [10:38:25]current date 1730198318 [10:38:25]FM_GetShiftState [10:38:25]SAM_PROTO_GetShiftState [10:38:25]wFMCommunicate request_size=4 [10:38:25]MH_SAM_APDU [10:38:25]CAPDU: 80 13 01 00 [10:38:25]Write to MH i2c: E2 08 00 9C 37 80 13 01 00 00 00 00 00 50 [10:38:25]Write i2c OK [10:38:25]MH_I2C_Read... [10:38:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:25]Read from MH i2c: E2 [10:38:25]MH_I2C_Read... [10:38:25]Read from MH i2c: E2 0E 00 [10:38:25]MH_I2C_Read... [10:38:25]Read from MH i2c: E2 0E 00 9C 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C6 [10:38:25]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:38:25]wFMCommunicate OK [10:38:25]SAM_PROTO_GetShiftState done [10:38:25]FM_GetShiftState done [10:38:25]opened in 1730160317 [10:38:25]opened+sec_in_day 1730246717 [10:38:25]quantity*price = 10500 [10:38:25]sum+1 = 10501 [10:38:25]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 365.00 НСП 1% : 3.23 НДС 12% : 38.75 Наличными: 0.00 Безнал.: 365.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 30 29.10.2024 10:38 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37868 ФПД: 13499183135901 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T103838&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37868&fm=13499183135901&tin=02508201610067®Number=0000000000091684&sum=36500 0 [10:38:26]StoreToDocumentArchive [10:38:26]shift 552 fd 37868 [10:38:26]save to /storage/0552/doc_00037868 [10:38:26]save last doc name /storage/0552/doc_00037868 to /storage/kkm_last_doc_name [10:38:26]save OK [10:38:26]Clear old archive folders... [10:38:26]ProcessDocumentItem done err = 0, tmpTLVsize=500 [10:38:26]tlvbuf is 002FA8C0 [10:38:26]SAM_PROTO_ClearQueue [10:38:26]wFMCommunicate request_size=4 [10:38:26]MH_SAM_APDU [10:38:26]CAPDU: 80 09 00 00 [10:38:26]Write to MH i2c: E2 08 00 A9 37 80 09 00 00 00 00 00 00 52 [10:38:26]Write i2c OK [10:38:26]MH_I2C_Read... [10:38:26]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:38:26]Read from MH i2c: E2 [10:38:26]MH_I2C_Read... [10:38:26]Read from MH i2c: E2 03 00 [10:38:26]MH_I2C_Read... [10:38:26]Read from MH i2c: E2 03 00 A9 37 00 90 00 54 [10:38:26]RAPDU: 90 00 [10:38:26]wFMCommunicate OK [10:38:26]SAM_PROTO_ClearQueue done [10:38:26]KKMCreateOFDPacket [10:38:26]OFDProtocolAddRootSTLVToBuf [10:38:26]FM_MakeSignedData [10:38:26]FM_MakeSignedData [10:38:26]SAM_PROTO_SignData [10:38:26]wFMCommunicate request_size=4 [10:38:26]MH_SAM_APDU [10:38:26]CAPDU: 80 0D 01 02 [10:38:26]Write to MH i2c: E2 08 00 AA 37 80 0D 01 02 00 00 00 00 5A [10:38:26]Write i2c OK [10:38:26]MH_I2C_Read... [10:38:26]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:38:27]Read from MH i2c: E2 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 AA 37 00 90 00 55 [10:38:27]RAPDU: 90 00 [10:38:27]wFMCommunicate OK [10:38:27]wFMCommunicate request_size=255 [10:38:27]MH_SAM_APDU [10:38:27]CAPDU: 80 0D 02 02 FA 03 00 F4 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 [10:38:27]Write to MH i2c: E2 02 01 AB 37 80 0D 02 02 FA 00 03 00 F4 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 00 00 5E [10:38:27]Write i2c OK [10:38:27]MH_I2C_Read... [10:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:27]Read from MH i2c: E2 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 AB 37 00 90 00 56 [10:38:27]RAPDU: 90 00 [10:38:27]wFMCommunicate OK [10:38:27]wFMCommunicate request_size=255 [10:38:27]MH_SAM_APDU [10:38:27]CAPDU: 80 0D 02 02 FA 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 8E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 8E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2E BB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EC 93 00 00 35 04 06 00 0C 47 [10:38:27]Write to MH i2c: E2 02 01 AC 37 80 0D 02 02 FA 00 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 8E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 8E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2E BB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EC 93 00 00 35 04 06 00 0C 47 00 00 7D [10:38:27]Write i2c OK [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 [10:38:27]MH_I2C_Read... [10:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:27]Read from MH i2c: E2 03 00 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 AC 37 00 90 00 57 [10:38:27]RAPDU: 90 00 [10:38:27]wFMCommunicate OK [10:38:27]wFMCommunicate request_size=9 [10:38:27]MH_SAM_APDU [10:38:27]CAPDU: 80 0D 02 02 04 06 03 FC 9D [10:38:27]Write to MH i2c: E2 0C 00 AD 37 80 0D 02 02 04 00 06 03 FC 9D 00 00 08 [10:38:27]Write i2c OK [10:38:27]MH_I2C_Read... [10:38:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:38:27]Read from MH i2c: E2 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 03 00 AD 37 00 90 00 58 [10:38:27]RAPDU: 90 00 [10:38:27]wFMCommunicate OK [10:38:27]wFMCommunicate request_size=4 [10:38:27]MH_SAM_APDU [10:38:27]CAPDU: 80 0D 03 02 [10:38:27]Write to MH i2c: E2 08 00 AE 37 80 0D 03 02 00 00 00 00 60 [10:38:27]Write i2c OK [10:38:27]MH_I2C_Read... [10:38:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:38:27]Read from MH i2c: E2 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 0B 00 [10:38:27]MH_I2C_Read... [10:38:27]Read from MH i2c: E2 0B 00 AE 37 00 A9 33 63 2D 59 7D 84 76 90 00 9D [10:38:27]RAPDU: A9 33 63 2D 59 7D 84 76 90 00 [10:38:27]wFMCommunicate OK [10:38:27]SAM_PROTO_SignData done [10:38:27]FM_MakeSignedData done [10:38:27]CreateOFDProtocolMessage [10:38:27]wFMCommunicate request_size=4 [10:38:27]MH_SAM_APDU [10:38:27]CAPDU: 80 11 00 00 [10:38:27]Write to MH i2c: E2 08 00 AF 37 80 11 00 00 00 00 00 00 60 [10:38:27]Write i2c OK [10:38:27]MH_I2C_Read... [10:38:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:28]Read from MH i2c: E2 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: E2 17 00 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: E2 17 00 AF 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B0 [10:38:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:38:28]wFMCommunicate OK [10:38:28]CreateOFDProtocolMessage done [10:38:28]OFDSenderStorePacket 37868 [10:38:28]StoreOFDPacket docnum=37868 [10:38:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 08 02 00 00 2C 5C 00 02 9C 51 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 8E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 8E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2E BB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EC 93 00 00 35 04 06 00 0C 47 06 03 FC 9D A9 33 63 2D 59 7D 84 76 [10:38:28]CheckFolder [10:38:28]dirname=/storage/ofd_packets [10:38:28]CheckFolder done [10:38:28]ProducePacketName [10:38:28]name=ofd_packets/00037868 [10:38:28]NVStorageSaveData ofd_packets/00037868 [10:38:28]File name is /storage/ofd_packets/00037868 [10:38:28]Write 550 bytes [10:38:28]NVStorageSaveData done [10:38:28]OFDSenderStorePacket done [10:38:28]KKMCreateOFDPacket done [10:38:28]NVStorageSaveData kkm_last_timestamp [10:38:28]File name is /storage/kkm_last_timestamp [10:38:28]Write 4 bytes [10:38:28]NVStorageSaveData done [10:38:28]ExternCall_PrintAddStr [10:38:28]wPrintStart [10:38:28]Write to MH i2c: 01 00 00 B0 37 E7 [10:38:28]Write i2c OK [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 07 00 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 07 00 B0 37 00 00 00 00 00 FF 0F FC [10:38:28]RasterBufferAndPrint [10:38:28]line Счет N : (3)35168 [10:38:28]line ИНН: 02508201610067 [10:38:28]line Контрольно-Кассовый Чек [10:38:28]line ПРОДАЖА [10:38:28]line Товар: 2000034730018 [10:38:28]line Кофе Американо (GABB TRADE) [10:38:28]line 1.000 * 105.00 [10:38:28]line = 105.00 [10:38:28]line НДС 12% НСП 1% [10:38:28]line > о реализуемом товаре [10:38:28]line Товар: 2000036220012 [10:38:28]line Кофе Капучино XL(GABB TRADE) [10:38:28]line 1.000 * 130.00 [10:38:28]line = 130.00 [10:38:28]line НДС 12% НСП 1% [10:38:28]line > о реализуемом товаре [10:38:28]line Товар: 2000036230011 [10:38:28]line Кофе Латте XL(GABB TRADE) [10:38:28]line 1.000 * 130.00 [10:38:28]line = 130.00 [10:38:28]line НДС 12% НСП 1% [10:38:28]line > о реализуемом товаре [10:38:28]line ИТОГО: 365.00 [10:38:28]line НСП 1% : 3.23 [10:38:28]line НДС 12% : 38.75 [10:38:28]line Наличными: 0.00 [10:38:28]line Безнал.: 365.00 [10:38:28]line Место: АЗС № 126 "Партнер Нефть" [10:38:28]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [10:38:28]line СНО: Общий режим [10:38:28]line Чек 30 29.10.2024 10:38 [10:38:28]line Смена: 552 ФФД: 1.0 [10:38:28]line ЗНМ: 0300000092 [10:38:28]line РНМ: 0000000000091684 [10:38:28]line Версия ККМ: 001 [10:38:28]line Платежная система: Mbank [10:38:28]line ФМ: 0000000000871841 [10:38:28]line ФД: 37868 [10:38:28]line ФПД: 13499183135901 [10:38:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T103838&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37868&fm=13499183135901&tin=02508201610067®Number=0000000000091684&sum=36500 [10:38:28]line 0 [10:38:28]OFD Sender: Processing packet 37868 [packets to send 42, broken 41] [10:38:28]ProducePacketName [10:38:28]name=ofd_packets/00037868 [10:38:28]OFD Sender: To server: pG, [10:38:28]CommunicateWithHost lk.salyk.kg:30040 [10:38:28]ConnectInit lk.salyk.kg [10:38:28]written 0, free lines is 4095 [10:38:28]Write to MH i2c: 01 00 00 E7 37 1E [10:38:28]Write i2c OK [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 07 00 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: 01 07 00 E7 37 00 00 00 00 00 E8 0B 18 [10:38:28]RasterBufferAndPrint [10:38:28]line [10:38:28]line [10:38:28]line [10:38:28]line [10:38:28]line [10:38:28]written 0, free lines is 3054 [10:38:28]MH_Cut [10:38:28]Write to MH i2c: D1 01 00 EE 37 01 F7 [10:38:28]Write i2c OK [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: D1 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: D1 01 00 [10:38:28]MH_I2C_Read... [10:38:28]Read from MH i2c: D1 01 00 EE 37 00 F6 [10:38:28]Write to MH i2c: 01 00 00 EF 37 26 [10:38:28]Write i2c OK [10:38:28]MH_I2C_Read... [10:38:29]*** Cut start [10:38:29]*** Partial cut [10:38:29]*** CUTSNS_PIN = 1 [10:38:30]*** CUTSNS_PIN = 0 [10:38:30]Connected sock=11 [10:38:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 08 02 00 00 2C 5C 00 02 9C 51 5A 03 01 00 03 00 F4 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 8E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 43 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 23 0F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 8E 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1E 00 00 00 F4 03 04 00 2E BB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EC 93 00 00 35 04 06 00 0C 47 06 03 FC 9D A9 33 63 2D 59 7D 84 76 [10:38:30]*** Brake cut motor [10:38:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 30 8B 47 00 9E 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 38 37 31 38 34 31 10 04 04 00 EC 93 00 00 F4 03 04 00 22 66 20 67 B6 04 01 00 00 54 36 9C C8 78 65 87 7A [10:38:30]CommunicateWithHost err = 0 [10:38:30]CheckOFDResponse [10:38:30]1017 (14) - 77093643461234 [10:38:30]1041 (16) - 0000000000871841 [10:38:30]1040 (4) - 37868 [10:38:30]1012 (4) - 29.10.2024 04:35 [10:38:30]1206 (1) - 0 [10:38:30]OFD Sender: Remove packet 37868 [10:38:30]ProducePacketName [10:38:30]name=ofd_packets/00037868 [10:38:30]NVStorageDeleteData [10:38:30]Read from MH i2c: 01 [10:38:30]MH_I2C_Read... [10:38:30]*** Stop cut motor [10:38:30]*** Cut end [10:38:30]Read from MH i2c: 01 07 00 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: 01 07 00 EF 37 00 00 00 00 00 FF 0F 3B [10:38:30]process_action close_receipt done [10:38:30]requested_data is exist [10:38:30]produce_requested_data [10:38:30]requested_item fm.sn is exist - process it [10:38:30]wFMCommunicate request_size=4 [10:38:30]MH_SAM_APDU [10:38:30]CAPDU: 80 11 00 00 [10:38:30]Write to MH i2c: E2 08 00 F0 37 80 11 00 00 00 00 00 00 A1 [10:38:30]Write i2c OK [10:38:30]MH_I2C_Read... [10:38:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:38:30]Read from MH i2c: E2 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 17 00 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 17 00 F0 37 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F1 [10:38:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [10:38:30]wFMCommunicate OK [10:38:30]requested_item fd.num is exist - process it [10:38:30]SAM_PROTO_GetFieldsCounters [10:38:30]wFMCommunicate request_size=4 [10:38:30]MH_SAM_APDU [10:38:30]CAPDU: 80 13 00 00 [10:38:30]Write to MH i2c: E2 08 00 F1 37 80 13 00 00 00 00 00 00 A4 [10:38:30]Write i2c OK [10:38:30]MH_I2C_Read... [10:38:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:38:30]Read from MH i2c: E2 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 62 00 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 62 00 F1 37 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [10:38:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:38:30]wFMCommunicate OK [10:38:30]SAM_PROTO_GetFieldsCounters done [10:38:30]requested_item shift.num is exist - process it [10:38:30]requested_item shift.opened is exist - process it [10:38:30]req_shift_opened [10:38:30]FM_GetShiftState [10:38:30]SAM_PROTO_GetShiftState [10:38:30]wFMCommunicate request_size=4 [10:38:30]MH_SAM_APDU [10:38:30]CAPDU: 80 13 01 00 [10:38:30]Write to MH i2c: E2 08 00 F2 37 80 13 01 00 00 00 00 00 A6 [10:38:30]Write i2c OK [10:38:30]MH_I2C_Read... [10:38:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:38:30]Read from MH i2c: E2 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 0E 00 [10:38:30]MH_I2C_Read... [10:38:30]Read from MH i2c: E2 0E 00 F2 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 1C [10:38:30]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [10:38:30]wFMCommunicate OK [10:38:30]SAM_PROTO_GetShiftState done [10:38:30]FM_GetShiftState done [10:38:30]req_shift_opened done [10:38:30]requested_item shift.open_date is exist - process it [10:38:30]req_shift_open_date [10:38:30]req_shift_open_date done [10:38:30]produce_requested_data done [10:38:30]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37868,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [10:38:30]process_action_free close_receipt [10:38:30]json_value_free [10:38:30]json_value_free done [10:38:30]process_json_proto returns [10:38:30]Send response to host [10:38:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37868,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [10:38:30]free response buf [10:38:30]execute_script done [10:38:30]execute_script returns [10:38:30]free content buf [10:38:30]Sock 9.Close socket [10:38:30]Sock 9.Thread stoped [10:38:31]OFD Sender: No OFD packet to send [10:38:36]OFD Sender: No OFD packet to send [10:38:41]OFD Sender: No OFD packet to send [10:38:46]OFD Sender: No OFD packet to send [10:38:51]OFD Sender: No OFD packet to send [10:38:56]OFD Sender: No OFD packet to send [10:39:01]OFD Sender: No OFD packet to send [10:39:06]OFD Sender: No OFD packet to send [10:39:11]OFD Sender: No OFD packet to send [10:39:16]OFD Sender: No OFD packet to send [10:39:21]OFD Sender: No OFD packet to send [10:39:26]OFD Sender: No OFD packet to send [10:39:31]OFD Sender: No OFD packet to send [10:39:36]OFD Sender: No OFD packet to send [10:39:41]OFD Sender: No OFD packet to send [10:39:46]OFD Sender: No OFD packet to send [10:39:51]OFD Sender: No OFD packet to send [10:39:56]OFD Sender: No OFD packet to send [10:40:01]OFD Sender: No OFD packet to send [10:40:06]OFD Sender: No OFD packet to send [10:40:11]OFD Sender: No OFD packet to send [10:40:16]OFD Sender: No OFD packet to send [10:40:21]OFD Sender: No OFD packet to send [10:40:26]OFD Sender: No OFD packet to send [10:40:31]OFD Sender: No OFD packet to send [10:40:36]OFD Sender: No OFD packet to send [10:40:41]OFD Sender: No OFD packet to send [10:40:46]OFD Sender: No OFD packet to send [10:40:51]OFD Sender: No OFD packet to send [10:40:56]OFD Sender: No OFD packet to send [10:41:01]OFD Sender: No OFD packet to send [10:41:06]OFD Sender: No OFD packet to send [10:41:11]OFD Sender: No OFD packet to send [10:41:16]OFD Sender: No OFD packet to send [10:41:21]OFD Sender: No OFD packet to send [10:41:26]OFD Sender: No OFD packet to send [10:41:31]OFD Sender: No OFD packet to send [10:41:36]OFD Sender: No OFD packet to send [10:41:41]OFD Sender: No OFD packet to send [10:41:46]OFD Sender: No OFD packet to send [10:41:51]OFD Sender: No OFD packet to send [10:41:56]OFD Sender: No OFD packet to send [10:42:01]OFD Sender: No OFD packet to send [10:42:06]OFD Sender: No OFD packet to send [10:42:11]OFD Sender: No OFD packet to send [10:42:16]OFD Sender: No OFD packet to send [10:42:21]OFD Sender: No OFD packet to send [10:42:26]OFD Sender: No OFD packet to send [10:42:31]OFD Sender: No OFD packet to send [10:42:36]OFD Sender: No OFD packet to send [10:42:41]OFD Sender: No OFD packet to send [10:42:46]OFD Sender: No OFD packet to send [10:42:51]OFD Sender: No OFD packet to send [10:42:56]OFD Sender: No OFD packet to send [10:43:01]OFD Sender: No OFD packet to send [10:43:06]OFD Sender: No OFD packet to send [10:43:11]OFD Sender: No OFD packet to send [10:43:16]OFD Sender: No OFD packet to send [10:43:21]OFD Sender: No OFD packet to send [10:43:26]OFD Sender: No OFD packet to send [10:43:31]OFD Sender: No OFD packet to send [10:43:36]OFD Sender: No OFD packet to send [10:43:41]OFD Sender: No OFD packet to send [10:43:46]OFD Sender: No OFD packet to send [10:43:51]OFD Sender: No OFD packet to send [10:43:56]OFD Sender: No OFD packet to send [10:44:01]OFD Sender: No OFD packet to send [10:44:06]OFD Sender: No OFD packet to send [10:44:11]OFD Sender: No OFD packet to send [10:44:16]OFD Sender: No OFD packet to send [10:44:21]OFD Sender: No OFD packet to send [10:44:26]OFD Sender: No OFD packet to send [10:44:31]OFD Sender: No OFD packet to send [10:44:36]OFD Sender: No OFD packet to send [10:44:41]OFD Sender: No OFD packet to send [10:44:46]OFD Sender: No OFD packet to send [10:44:51]OFD Sender: No OFD packet to send [10:44:56]OFD Sender: No OFD packet to send [10:45:01]OFD Sender: No OFD packet to send [10:45:06]OFD Sender: No OFD packet to send [10:45:11]OFD Sender: No OFD packet to send [10:45:16]OFD Sender: No OFD packet to send [10:45:21]OFD Sender: No OFD packet to send [10:45:26]OFD Sender: No OFD packet to send [10:45:31]OFD Sender: No OFD packet to send [10:45:36]OFD Sender: No OFD packet to send [10:45:41]OFD Sender: No OFD packet to send [10:45:46]OFD Sender: No OFD packet to send [10:45:51]OFD Sender: No OFD packet to send [10:45:56]OFD Sender: No OFD packet to send [10:46:01]OFD Sender: No OFD packet to send [10:46:06]OFD Sender: No OFD packet to send [10:46:11]OFD Sender: No OFD packet to send [10:46:16]OFD Sender: No OFD packet to send [10:46:21]OFD Sender: No OFD packet to send [10:46:26]OFD Sender: No OFD packet to send [10:46:31]OFD Sender: No OFD packet to send [10:46:36]OFD Sender: No OFD packet to send [10:46:41]OFD Sender: No OFD packet to send [10:46:46]OFD Sender: No OFD packet to send [10:46:51]OFD Sender: No OFD packet to send [10:46:56]OFD Sender: No OFD packet to send [10:47:01]OFD Sender: No OFD packet to send [10:47:06]OFD Sender: No OFD packet to send [10:47:11]OFD Sender: No OFD packet to send [10:47:16]OFD Sender: No OFD packet to send [10:47:21]OFD Sender: No OFD packet to send [10:47:26]OFD Sender: No OFD packet to send [10:47:31]OFD Sender: No OFD packet to send [10:47:36]OFD Sender: No OFD packet to send [10:47:41]OFD Sender: No OFD packet to send [10:47:46]OFD Sender: No OFD packet to send [10:47:51]OFD Sender: No OFD packet to send [10:47:56]OFD Sender: No OFD packet to send [10:48:01]OFD Sender: No OFD packet to send [10:48:06]OFD Sender: No OFD packet to send [10:48:11]OFD Sender: No OFD packet to send [10:48:16]OFD Sender: No OFD packet to send [10:48:21]OFD Sender: No OFD packet to send [10:48:26]OFD Sender: No OFD packet to send [10:48:31]OFD Sender: No OFD packet to send [10:48:36]OFD Sender: No OFD packet to send [10:48:41]OFD Sender: No OFD packet to send [10:48:46]OFD Sender: No OFD packet to send [10:48:51]OFD Sender: No OFD packet to send [10:48:56]OFD Sender: No OFD packet to send [10:49:01]OFD Sender: No OFD packet to send [10:49:06]OFD Sender: No OFD packet to send [10:49:11]OFD Sender: No OFD packet to send [10:49:16]OFD Sender: No OFD packet to send [10:49:21]OFD Sender: No OFD packet to send [10:49:26]OFD Sender: No OFD packet to send [10:49:31]OFD Sender: No OFD packet to send [10:49:36]OFD Sender: No OFD packet to send [10:49:41]OFD Sender: No OFD packet to send [10:49:46]OFD Sender: No OFD packet to send [10:49:51]OFD Sender: No OFD packet to send [10:49:56]OFD Sender: No OFD packet to send [10:50:01]OFD Sender: No OFD packet to send [10:50:06]OFD Sender: No OFD packet to send [10:50:11]OFD Sender: No OFD packet to send [10:50:16]OFD Sender: No OFD packet to send [10:50:21]OFD Sender: No OFD packet to send [10:50:26]OFD Sender: No OFD packet to send [10:50:31]OFD Sender: No OFD packet to send [10:50:36]OFD Sender: No OFD packet to send [10:50:41]OFD Sender: No OFD packet to send [10:50:46]OFD Sender: No OFD packet to send [10:50:51]OFD Sender: No OFD packet to send [10:50:56]OFD Sender: No OFD packet to send [10:51:01]OFD Sender: No OFD packet to send [10:51:06]OFD Sender: No OFD packet to send [10:51:11]OFD Sender: No OFD packet to send [10:51:16]OFD Sender: No OFD packet to send [10:51:21]OFD Sender: No OFD packet to send [10:51:26]OFD Sender: No OFD packet to send [10:51:31]OFD Sender: No OFD packet to send [10:51:36]OFD Sender: No OFD packet to send [10:51:41]OFD Sender: No OFD packet to send [10:51:46]OFD Sender: No OFD packet to send [10:51:51]OFD Sender: No OFD packet to send [10:51:56]OFD Sender: No OFD packet to send [10:52:01]OFD Sender: No OFD packet to send [10:52:06]OFD Sender: No OFD packet to send [10:52:11]OFD Sender: No OFD packet to send [10:52:16]OFD Sender: No OFD packet to send [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:12]OFD Sender: No OFD packet to send [10:56:17]OFD Sender: No OFD packet to send [10:56:22]OFD Sender: No OFD packet to send [10:56:27]OFD Sender: No OFD packet to send [10:56:32]OFD Sender: No OFD packet to send [10:56:37]OFD Sender: No OFD packet to send [10:56:42]OFD Sender: No OFD packet to send [10:56:47]OFD Sender: No OFD packet to send [10:56:52]OFD Sender: No OFD packet to send [10:56:57]OFD Sender: No OFD packet to send [10:57:02]OFD Sender: No OFD packet to send [10:57:07]OFD Sender: No OFD packet to send [10:57:12]OFD Sender: No OFD packet to send [10:57:17]OFD Sender: No OFD packet to send [10:57:22]OFD Sender: No OFD packet to send [10:57:27]OFD Sender: No OFD packet to send [10:57:32]OFD Sender: No OFD packet to send [10:57:37]OFD Sender: No OFD packet to send [10:57:42]OFD Sender: No OFD packet to send [10:57:47]OFD Sender: No OFD packet to send [10:57:52]OFD Sender: No OFD packet to send [10:57:57]OFD Sender: No OFD packet to send [10:58:02]OFD Sender: No OFD packet to send [10:58:07]OFD Sender: No OFD packet to send [10:58:12]OFD Sender: No OFD packet to send [10:58:17]OFD Sender: No OFD packet to send [10:58:22]OFD Sender: No OFD packet to send [10:58:27]OFD Sender: No OFD packet to send [10:58:32]OFD Sender: No OFD packet to send [10:58:37]OFD Sender: No OFD packet to send [10:58:42]OFD Sender: No OFD packet to send [10:58:47]OFD Sender: No OFD packet to send [10:58:52]OFD Sender: No OFD packet to send [10:58:57]OFD Sender: No OFD packet to send [10:59:02]OFD Sender: No OFD packet to send [10:59:07]OFD Sender: No OFD packet to send [10:59:12]OFD Sender: No OFD packet to send [10:59:17]OFD Sender: No OFD packet to send [10:59:22]OFD Sender: No OFD packet to send [10:59:27]OFD Sender: No OFD packet to send [10:59:32]OFD Sender: No OFD packet to send [10:59:37]OFD Sender: No OFD packet to send [10:59:42]OFD Sender: No OFD packet to send [10:59:47]OFD Sender: No OFD packet to send [10:59:52]OFD Sender: No OFD packet to send [10:59:57]OFD Sender: No OFD packet to send [11:00:02]OFD Sender: No OFD packet to send [11:00:07]OFD Sender: No OFD packet to send [11:00:12]OFD Sender: No OFD packet to send [11:00:17]OFD Sender: No OFD packet to send [11:00:22]OFD Sender: No OFD packet to send [11:00:27]OFD Sender: No OFD packet to send [11:00:32]OFD Sender: No OFD packet to send [11:00:37]OFD Sender: No OFD packet to send [11:00:42]OFD Sender: No OFD packet to send [11:00:47]OFD Sender: No OFD packet to send [11:00:52]OFD Sender: No OFD packet to send [11:00:57]OFD Sender: No OFD packet to send [11:01:02]OFD Sender: No OFD packet to send [11:01:07]OFD Sender: No OFD packet to send [11:01:12]OFD Sender: No OFD packet to send [11:01:17]OFD Sender: No OFD packet to send [11:01:22]OFD Sender: No OFD packet to send [11:01:27]OFD Sender: No OFD packet to send [11:01:32]OFD Sender: No OFD packet to send [11:01:37]OFD Sender: No OFD packet to send [11:01:42]OFD Sender: No OFD packet to send [11:01:47]OFD Sender: No OFD packet to send [11:01:52]OFD Sender: No OFD packet to send [11:01:57]OFD Sender: No OFD packet to send [11:02:02]OFD Sender: No OFD packet to send [11:02:07]OFD Sender: No OFD packet to send [11:02:12]OFD Sender: No OFD packet to send [11:02:17]OFD Sender: No OFD packet to send [11:02:22]OFD Sender: No OFD packet to send [11:02:27]OFD Sender: No OFD packet to send [11:02:32]OFD Sender: No OFD packet to send [11:02:37]OFD Sender: No OFD packet to send [11:02:42]OFD Sender: No OFD packet to send [11:02:47]OFD Sender: No OFD packet to send [11:02:52]OFD Sender: No OFD packet to send [11:02:57]OFD Sender: No OFD packet to send [11:03:02]OFD Sender: No OFD packet to send [11:03:07]OFD Sender: No OFD packet to send [11:03:12]OFD Sender: No OFD packet to send [11:03:17]OFD Sender: No OFD packet to send [11:03:22]OFD Sender: No OFD packet to send [11:03:27]OFD Sender: No OFD packet to send [11:03:32]OFD Sender: No OFD packet to send [11:03:37]OFD Sender: No OFD packet to send [11:03:42]OFD Sender: No OFD packet to send [11:03:47]OFD Sender: No OFD packet to send [11:03:52]OFD Sender: No OFD packet to send [11:03:57]OFD Sender: No OFD packet to send [11:04:02]OFD Sender: No OFD packet to send [11:04:07]OFD Sender: No OFD packet to send [11:04:12]OFD Sender: No OFD packet to send [11:04:17]OFD Sender: No OFD packet to send [11:04:22]OFD Sender: No OFD packet to send [11:04:27]OFD Sender: No OFD packet to send [11:04:32]OFD Sender: No OFD packet to send [11:04:37]OFD Sender: No OFD packet to send [11:04:42]OFD Sender: No OFD packet to send [11:04:47]OFD Sender: No OFD packet to send [11:04:52]OFD Sender: No OFD packet to send [11:04:57]OFD Sender: No OFD packet to send [11:05:02]OFD Sender: No OFD packet to send [11:05:07]OFD Sender: No OFD packet to send [11:05:12]OFD Sender: No OFD packet to send [11:05:17]OFD Sender: No OFD packet to send [11:05:22]OFD Sender: No OFD packet to send [11:05:27]OFD Sender: No OFD packet to send [11:05:32]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:39]accept exits with 7 [11:05:39]New connection [11:05:39]New thread 3067440484 created [11:05:39]Thread 3067297124 joined [11:05:39]Waiting for new connection... [11:05:39] Sock 7.Parse request [11:05:39]Sock 7.Check first char [11:05:39]Sock 7.First char is OK [11:05:39]request: POST /json_proto HTTP/1.0 [11:05:39]Method: POST [11:05:39]URL: /json_proto [11:05:39]Method is POST - this is cgi request [11:05:39]url: /json_proto [11:05:39]query_string will be loaded in cgi processing [11:05:39]execute_cgi json_proto POST (null) [11:05:39]execute_cgi path=json_proto method=POST [11:05:39]POST find Content-Length [11:05:39]Host: 172.17.40.196:8080 [11:05:39]Content-Length: 957 [11:05:39]Content-Type: application/json [11:05:39] [11:05:39]POST finish read [11:05:39]Found Content-Length = 957 [11:05:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35169", "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 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:39]execute_script... [11:05: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)35169", "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 }]} ,{ "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:05:39]POST & json_proto [11:05:39]process_json_proto [11:05:39]json parsed OK: [11:05:39]protocol is kg_v1.0 [11:05:39]action value=close_receipt [11:05:39]process_action close_receipt [11:05:39]cmd_close_receipt [11:05:39]MH_GetDate [11:05:39]Write to MH i2c: F0 00 00 F3 37 19 [11:05:39]Write i2c OK [11:05:39]MH_I2C_Read... [11:05:39]Read from MH i2c: F0 [11:05:39]MH_I2C_Read... [11:05:39]Read from MH i2c: F0 09 00 [11:05:39]MH_I2C_Read... [11:05:39]Read from MH i2c: F0 09 00 F3 37 00 90 C1 20 67 5B 68 A1 66 C4 [11:05:39]GetLastDocTimeStamp 1730198318 [11:05:39]current date 1730199952 [11:05:39]FM_GetShiftState [11:05:39]SAM_PROTO_GetShiftState [11:05:39]wFMCommunicate request_size=4 [11:05:39]MH_SAM_APDU [11:05:39]CAPDU: 80 13 01 00 [11:05:39]Write to MH i2c: E2 08 00 F4 37 80 13 01 00 00 00 00 00 A8 [11:05:39]Write i2c OK [11:05:39]MH_I2C_Read... [11:05:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:39]Read from MH i2c: E2 [11:05:39]MH_I2C_Read... [11:05:39]Read from MH i2c: E2 0E 00 [11:05:39]MH_I2C_Read... [11:05:39]Read from MH i2c: E2 0E 00 F4 37 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 1E [11:05:39]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:05:39]wFMCommunicate OK [11:05:39]SAM_PROTO_GetShiftState done [11:05:39]FM_GetShiftState done [11:05:39]opened in 1730160317 [11:05:39]opened+sec_in_day 1730246717 [11:05:39]quantity*price = 9000 [11:05:39]sum+1 = 9001 [11:05:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700001060169 Коньяк Бишкек 0,2л 1.000 * 330.00 = 330.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.72 НДС 12% : 44.60 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 31 29.10.2024 11:05 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37869 ФПД: 103068281188827 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T110552&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37869&fm=103068281188827&tin=02508201610067®Number=0000000000091684&sum=42000 0 [11:05:40]StoreToDocumentArchive [11:05:40]shift 552 fd 37869 [11:05:40]save to /storage/0552/doc_00037869 [11:05:40]save last doc name /storage/0552/doc_00037869 to /storage/kkm_last_doc_name [11:05:40]save OK [11:05:40]Clear old archive folders... [11:05:40]ProcessDocumentItem done err = 0, tmpTLVsize=402 [11:05:40]tlvbuf is B6F51DE0 [11:05:40]SAM_PROTO_ClearQueue [11:05:40]wFMCommunicate request_size=4 [11:05:40]MH_SAM_APDU [11:05:40]CAPDU: 80 09 00 00 [11:05:40]Write to MH i2c: E2 08 00 01 38 80 09 00 00 00 00 00 00 AB [11:05:40]Write i2c OK [11:05:40]MH_I2C_Read... [11:05:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:05:40]Read from MH i2c: E2 [11:05:40]MH_I2C_Read... [11:05:40]Read from MH i2c: E2 03 00 [11:05:40]MH_I2C_Read... [11:05:40]Read from MH i2c: E2 03 00 01 38 00 90 00 AD [11:05:40]RAPDU: 90 00 [11:05:40]wFMCommunicate OK [11:05:40]SAM_PROTO_ClearQueue done [11:05:40]KKMCreateOFDPacket [11:05:40]OFDProtocolAddRootSTLVToBuf [11:05:40]FM_MakeSignedData [11:05:40]FM_MakeSignedData [11:05:40]SAM_PROTO_SignData [11:05:40]wFMCommunicate request_size=4 [11:05:40]MH_SAM_APDU [11:05:40]CAPDU: 80 0D 01 02 [11:05:40]Write to MH i2c: E2 08 00 02 38 80 0D 01 02 00 00 00 00 B3 [11:05:40]Write i2c OK [11:05:40]MH_I2C_Read... [11:05:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:05:40]Read from MH i2c: E2 [11:05:40]MH_I2C_Read... [11:05:40]Read from MH i2c: E2 03 00 [11:05:40]MH_I2C_Read... [11:05:40]Read from MH i2c: E2 03 00 02 38 00 90 00 AE [11:05:40]RAPDU: 90 00 [11:05:40]wFMCommunicate OK [11:05:40]wFMCommunicate request_size=255 [11:05:40]MH_SAM_APDU [11:05:40]CAPDU: 80 0D 02 02 FA 03 00 92 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 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 [11:05:40]Write to MH i2c: E2 02 01 03 38 80 0D 02 02 FA 00 03 00 92 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 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 00 E2 [11:05:40]Write i2c OK [11:05:40]MH_I2C_Read... [11:05:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:41]Read from MH i2c: E2 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 03 00 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 03 00 03 38 00 90 00 AF [11:05:41]RAPDU: 90 00 [11:05:41]wFMCommunicate OK [11:05:41]wFMCommunicate request_size=161 [11:05:41]MH_SAM_APDU [11:05:41]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 90 C1 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 ED 93 00 00 35 04 06 00 5D BD 74 49 B1 DB [11:05:41]Write to MH i2c: E2 A4 00 04 38 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 90 C1 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 ED 93 00 00 35 04 06 00 5D BD 74 49 B1 DB 00 00 D5 [11:05:41]Write i2c OK [11:05:41]MH_I2C_Read... [11:05:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:05:41]Read from MH i2c: E2 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 03 00 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 03 00 04 38 00 90 00 B0 [11:05:41]RAPDU: 90 00 [11:05:41]wFMCommunicate OK [11:05:41]wFMCommunicate request_size=4 [11:05:41]MH_SAM_APDU [11:05:41]CAPDU: 80 0D 03 02 [11:05:41]Write to MH i2c: E2 08 00 05 38 80 0D 03 02 00 00 00 00 B8 [11:05:41]Write i2c OK [11:05:41]MH_I2C_Read... [11:05:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:05:41]Read from MH i2c: E2 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 0B 00 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 0B 00 05 38 00 DB D1 8F 42 3B DB 7C D9 90 00 A1 [11:05:41]RAPDU: DB D1 8F 42 3B DB 7C D9 90 00 [11:05:41]wFMCommunicate OK [11:05:41]SAM_PROTO_SignData done [11:05:41]FM_MakeSignedData done [11:05:41]CreateOFDProtocolMessage [11:05:41]wFMCommunicate request_size=4 [11:05:41]MH_SAM_APDU [11:05:41]CAPDU: 80 11 00 00 [11:05:41]Write to MH i2c: E2 08 00 06 38 80 11 00 00 00 00 00 00 B8 [11:05:41]Write i2c OK [11:05:41]MH_I2C_Read... [11:05:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:41]Read from MH i2c: E2 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 17 00 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: E2 17 00 06 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 08 [11:05:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:05:41]wFMCommunicate OK [11:05:41]CreateOFDProtocolMessage done [11:05:41]OFDSenderStorePacket 37869 [11:05:41]StoreOFDPacket docnum=37869 [11:05:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A6 01 00 00 97 08 9E 01 37 3F 5A 03 01 00 03 00 92 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 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 90 C1 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 ED 93 00 00 35 04 06 00 5D BD 74 49 B1 DB DB D1 8F 42 3B DB 7C D9 [11:05:41]CheckFolder [11:05:41]dirname=/storage/ofd_packets [11:05:41]CheckFolder done [11:05:41]ProducePacketName [11:05:41]name=ofd_packets/00037869 [11:05:41]NVStorageSaveData ofd_packets/00037869 [11:05:41]File name is /storage/ofd_packets/00037869 [11:05:41]Write 452 bytes [11:05:41]NVStorageSaveData done [11:05:41]OFDSenderStorePacket done [11:05:41]KKMCreateOFDPacket done [11:05:41]NVStorageSaveData kkm_last_timestamp [11:05:41]File name is /storage/kkm_last_timestamp [11:05:41]Write 4 bytes [11:05:41]NVStorageSaveData done [11:05:41]ExternCall_PrintAddStr [11:05:41]wPrintStart [11:05:41]Write to MH i2c: 01 00 00 07 38 3F [11:05:41]OFD Sender: Processing packet 37869 [packets to send 42, broken 41] [11:05:41]ProducePacketName [11:05:41]name=ofd_packets/00037869 [11:05:41]OFD Sender: To server: pG, [11:05:41]CommunicateWithHost lk.salyk.kg:30040 [11:05:41]ConnectInit lk.salyk.kg [11:05:41]Write i2c OK [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: 01 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: 01 07 00 [11:05:41]MH_I2C_Read... [11:05:41]Read from MH i2c: 01 07 00 07 38 00 00 00 00 00 FF 0F 54 [11:05:41]RasterBufferAndPrint [11:05:41]line Счет N : (3)35169 [11:05:41]line ИНН: 02508201610067 [11:05:41]line Контрольно-Кассовый Чек [11:05:41]line ПРОДАЖА [11:05:41]line Товар: 4870002325113 [11:05:41]line Напиток PEPSI газированный ст 0,25л [11:05:41]line 1.000 * 90.00 [11:05:41]line = 90.00 [11:05:41]line НДС 12% НСП 1% [11:05:41]line > о реализуемом товаре [11:05:41]line Товар: 4700001060169 [11:05:41]line Коньяк Бишкек 0,2л [11:05:41]line 1.000 * 330.00 [11:05:41]line = 330.00 [11:05:41]line НДС 12% НСП 1% [11:05:41]line > о реализуемом товаре [11:05:41]line ИТОГО: 420.00 [11:05:41]line НСП 1% : 3.72 [11:05:41]line НДС 12% : 44.60 [11:05:41]line Наличными: 420.00 [11:05:41]line Безнал.: 0.00 [11:05:41]line Место: АЗС № 126 "Партнер Нефть" [11:05:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:05:41]line СНО: Общий режим [11:05:41]line Чек 31 29.10.2024 11:05 [11:05:41]line Смена: 552 ФФД: 1.0 [11:05:41]line ЗНМ: 0300000092 [11:05:41]line РНМ: 0000000000091684 [11:05:41]line Версия ККМ: 001 [11:05:41]line ФМ: 0000000000871841 [11:05:41]line ФД: 37869 [11:05:41]line ФПД: 103068281188827 [11:05:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T110552&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37869&fm=103068281188827&tin=02508201610067®Number=0000000000091684&sum=42000 [11:05:41]line 0 [11:05:41]written 0, free lines is 4095 [11:05:42]Write to MH i2c: 01 00 00 36 38 6E [11:05:42]Write i2c OK [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: 01 [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: 01 07 00 [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: 01 07 00 36 38 00 00 00 00 00 54 0C D5 [11:05:42]RasterBufferAndPrint [11:05:42]line [11:05:42]line [11:05:42]line [11:05:42]line [11:05:42]line [11:05:42]written 0, free lines is 3162 [11:05:42]MH_Cut [11:05:42]Write to MH i2c: D1 01 00 3D 38 01 47 [11:05:42]Write i2c OK [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: D1 [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: D1 01 00 [11:05:42]MH_I2C_Read... [11:05:42]Read from MH i2c: D1 01 00 3D 38 00 46 [11:05:42]Write to MH i2c: 01 00 00 3E 38 76 [11:05:42]Write i2c OK [11:05:42]MH_I2C_Read... [11:05:42]Connected sock=11 [11:05:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 A6 01 00 00 97 08 9E 01 37 3F 5A 03 01 00 03 00 92 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 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 1F 00 00 00 F4 03 04 00 90 C1 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 ED 93 00 00 35 04 06 00 5D BD 74 49 B1 DB DB D1 8F 42 3B DB 7C D9 [11:05:43]*** Cut start [11:05:43]*** Partial cut [11:05:43]*** CUTSNS_PIN = 1 [11:05:43]*** CUTSNS_PIN = 0 [11:05:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 88 BD 47 00 73 D6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 ED 93 00 00 F4 03 04 00 83 6C 20 67 B6 04 01 00 00 A6 C2 8D 38 3D 76 2D D5 [11:05:43]CommunicateWithHost err = 0 [11:05:43]CheckOFDResponse [11:05:43]1017 (14) - 77093643461234 [11:05:43]1041 (16) - 0000000000871841 [11:05:43]1040 (4) - 37869 [11:05:43]1012 (4) - 29.10.2024 05:02 [11:05:43]1206 (1) - 0 [11:05:43]OFD Sender: Remove packet 37869 [11:05:43]ProducePacketName [11:05:43]name=ofd_packets/00037869 [11:05:43]NVStorageDeleteData [11:05:43]*** Brake cut motor [11:05:43]OFD Sender: No OFD packet to send [11:05:43]Read from MH i2c: 01 [11:05:43]MH_I2C_Read... [11:05:43]*** Stop cut motor [11:05:43]*** Cut end [11:05:43]Read from MH i2c: 01 07 00 [11:05:43]MH_I2C_Read... [11:05:43]Read from MH i2c: 01 07 00 3E 38 00 00 00 00 00 FF 0F 8B [11:05:43]process_action close_receipt done [11:05:43]requested_data is exist [11:05:43]produce_requested_data [11:05:43]requested_item fm.sn is exist - process it [11:05:43]wFMCommunicate request_size=4 [11:05:43]MH_SAM_APDU [11:05:43]CAPDU: 80 11 00 00 [11:05:43]Write to MH i2c: E2 08 00 3F 38 80 11 00 00 00 00 00 00 F1 [11:05:43]Write i2c OK [11:05:43]MH_I2C_Read... [11:05:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:05:43]Read from MH i2c: E2 [11:05:43]MH_I2C_Read... [11:05:43]Read from MH i2c: E2 17 00 [11:05:43]MH_I2C_Read... [11:05:43]Read from MH i2c: E2 17 00 3F 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 41 [11:05:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:05:43]wFMCommunicate OK [11:05:43]requested_item fd.num is exist - process it [11:05:43]SAM_PROTO_GetFieldsCounters [11:05:43]wFMCommunicate request_size=4 [11:05:43]MH_SAM_APDU [11:05:43]CAPDU: 80 13 00 00 [11:05:43]Write to MH i2c: E2 08 00 40 38 80 13 00 00 00 00 00 00 F4 [11:05:43]Write i2c OK [11:05:43]MH_I2C_Read... [11:05:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:05:43]Read from MH i2c: E2 [11:05:43]MH_I2C_Read... [11:05:43]Read from MH i2c: E2 62 00 [11:05:43]MH_I2C_Read... [11:05:43]Read from MH i2c: E2 62 00 40 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 ED 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 1C [11:05:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 ED 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:05:43]wFMCommunicate OK [11:05:43]SAM_PROTO_GetFieldsCounters done [11:05:43]requested_item shift.num is exist - process it [11:05:43]requested_item shift.opened is exist - process it [11:05:43]req_shift_opened [11:05:43]FM_GetShiftState [11:05:43]SAM_PROTO_GetShiftState [11:05:43]wFMCommunicate request_size=4 [11:05:43]MH_SAM_APDU [11:05:43]CAPDU: 80 13 01 00 [11:05:43]Write to MH i2c: E2 08 00 41 38 80 13 01 00 00 00 00 00 F6 [11:05:43]Write i2c OK [11:05:43]MH_I2C_Read... [11:05:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:05:44]Read from MH i2c: E2 [11:05:44]MH_I2C_Read... [11:05:44]Read from MH i2c: E2 0E 00 [11:05:44]MH_I2C_Read... [11:05:44]Read from MH i2c: E2 0E 00 41 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6C [11:05:44]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:05:44]wFMCommunicate OK [11:05:44]SAM_PROTO_GetShiftState done [11:05:44]FM_GetShiftState done [11:05:44]req_shift_opened done [11:05:44]requested_item shift.open_date is exist - process it [11:05:44]req_shift_open_date [11:05:44]req_shift_open_date done [11:05:44]produce_requested_data done [11:05:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37869,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [11:05:44]process_action_free close_receipt [11:05:44]json_value_free [11:05:44]json_value_free done [11:05:44]process_json_proto returns [11:05:44]Send response to host [11:05:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37869,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [11:05:44]free response buf [11:05:44]execute_script done [11:05:44]execute_script returns [11:05:44]free content buf [11:05:44]Sock 7.Close socket [11:05:44]Sock 7.Thread stoped [11:05:48]OFD Sender: No OFD packet to send [11:05:53]OFD Sender: No OFD packet to send [11:05:58]OFD Sender: No OFD packet to send [11:06:03]OFD Sender: No OFD packet to send [11:06:08]OFD Sender: No OFD packet to send [11:06:13]OFD Sender: No OFD packet to send [11:06:18]OFD Sender: No OFD packet to send [11:06:23]OFD Sender: No OFD packet to send [11:06:28]OFD Sender: No OFD packet to send [11:06:33]OFD Sender: No OFD packet to send [11:06:38]OFD Sender: No OFD packet to send [11:06:43]OFD Sender: No OFD packet to send [11:06:48]OFD Sender: No OFD packet to send [11:06:53]OFD Sender: No OFD packet to send [11:06:58]OFD Sender: No OFD packet to send [11:07:03]OFD Sender: No OFD packet to send [11:07:08]OFD Sender: No OFD packet to send [11:07:13]OFD Sender: No OFD packet to send [11:07:18]OFD Sender: No OFD packet to send [11:07:23]OFD Sender: No OFD packet to send [11:07:28]OFD Sender: No OFD packet to send [11:07:33]OFD Sender: No OFD packet to send [11:07:38]OFD Sender: No OFD packet to send [11:07:43]OFD Sender: No OFD packet to send [11:07:48]OFD Sender: No OFD packet to send [11:07:53]OFD Sender: No OFD packet to send [11:07:58]OFD Sender: No OFD packet to send [11:08:03]OFD Sender: No OFD packet to send [11:08:08]OFD Sender: No OFD packet to send [11:08:13]OFD Sender: No OFD packet to send [11:08:18]OFD Sender: No OFD packet to send [11:08:23]OFD Sender: No OFD packet to send [11:08:28]OFD Sender: No OFD packet to send [11:08:33]OFD Sender: No OFD packet to send [11:08:38]OFD Sender: No OFD packet to send [11:08:43]OFD Sender: No OFD packet to send [11:08:48]OFD Sender: No OFD packet to send [11:08:53]OFD Sender: No OFD packet to send [11:08:58]OFD Sender: No OFD packet to send [11:09:03]OFD Sender: No OFD packet to send [11:09:08]OFD Sender: No OFD packet to send [11:09:13]OFD Sender: No OFD packet to send [11:09:18]OFD Sender: No OFD packet to send [11:09:23]OFD Sender: No OFD packet to send [11:09:28]OFD Sender: No OFD packet to send [11:09:33]OFD Sender: No OFD packet to send [11:09:38]OFD Sender: No OFD packet to send [11:09:43]OFD Sender: No OFD packet to send [11:09:48]OFD Sender: No OFD packet to send [11:09:53]OFD Sender: No OFD packet to send [11:09:58]OFD Sender: No OFD packet to send [11:10:03]OFD Sender: No OFD packet to send [11:10:08]OFD Sender: No OFD packet to send [11:10:13]OFD Sender: No OFD packet to send [11:10:18]OFD Sender: No OFD packet to send [11:10:23]OFD Sender: No OFD packet to send [11:10:28]OFD Sender: No OFD packet to send [11:10:33]OFD Sender: No OFD packet to send [11:10:38]OFD Sender: No OFD packet to send [11:10:43]OFD Sender: No OFD packet to send [11:10:48]OFD Sender: No OFD packet to send [11:10:53]OFD Sender: No OFD packet to send [11:10:58]OFD Sender: No OFD packet to send [11:11:03]OFD Sender: No OFD packet to send [11:11:08]OFD Sender: No OFD packet to send [11:11:13]OFD Sender: No OFD packet to send [11:11:18]OFD Sender: No OFD packet to send [11:11:23]OFD Sender: No OFD packet to send [11:11:28]OFD Sender: No OFD packet to send [11:11:33]OFD Sender: No OFD packet to send [11:11:38]OFD Sender: No OFD packet to send [11:11:44]OFD Sender: No OFD packet to send [11:11:49]OFD Sender: No OFD packet to send [11:11:54]OFD Sender: No OFD packet to send [11:11:59]OFD Sender: No OFD packet to send [11:12:04]OFD Sender: No OFD packet to send [11:12:09]OFD Sender: No OFD packet to send [11:12:14]OFD Sender: No OFD packet to send [11:12:19]OFD Sender: No OFD packet to send [11:12:24]OFD Sender: No OFD packet to send [11:12:29]OFD Sender: No OFD packet to send [11:12:34]OFD Sender: No OFD packet to send [11:12:39]OFD Sender: No OFD packet to send [11:12:44]OFD Sender: No OFD packet to send [11:12:49]OFD Sender: No OFD packet to send [11:12:54]OFD Sender: No OFD packet to send [11:12:59]OFD Sender: No OFD packet to send [11:13:04]OFD Sender: No OFD packet to send [11:13:09]OFD Sender: No OFD packet to send [11:13:14]OFD Sender: No OFD packet to send [11:13:19]OFD Sender: No OFD packet to send [11:13:24]OFD Sender: No OFD packet to send [11:13:29]OFD Sender: No OFD packet to send [11:13:34]OFD Sender: No OFD packet to send [11:13:39]OFD Sender: No OFD packet to send [11:13:44]OFD Sender: No OFD packet to send [11:13:49]OFD Sender: No OFD packet to send [11:13:54]OFD Sender: No OFD packet to send [11:13:59]OFD Sender: No OFD packet to send [11:14:04]OFD Sender: No OFD packet to send [11:14:09]OFD Sender: No OFD packet to send [11:14:14]OFD Sender: No OFD packet to send [11:14:19]OFD Sender: No OFD packet to send [11:14:24]OFD Sender: No OFD packet to send [11:14:29]OFD Sender: No OFD packet to send [11:14:34]OFD Sender: No OFD packet to send [11:14:39]OFD Sender: No OFD packet to send [11:14:44]OFD Sender: No OFD packet to send [11:14:49]OFD Sender: No OFD packet to send [11:14:54]OFD Sender: No OFD packet to send [11:14:59]OFD Sender: No OFD packet to send [11:15:04]OFD Sender: No OFD packet to send [11:15:09]OFD Sender: No OFD packet to send [11:15:14]OFD Sender: No OFD packet to send [11:15:19]OFD Sender: No OFD packet to send [11:15:24]OFD Sender: No OFD packet to send [11:15:29]OFD Sender: No OFD packet to send [11:15:34]OFD Sender: No OFD packet to send [11:15:39]OFD Sender: No OFD packet to send [11:15:44]OFD Sender: No OFD packet to send [11:15:49]OFD Sender: No OFD packet to send [11:15:54]OFD Sender: No OFD packet to send [11:15:59]OFD Sender: No OFD packet to send [11:16:03]accept exits with 9 [11:16:03]New connection [11:16:03]New thread 3067297124 created [11:16:03]Thread 3067440484 joined [11:16:03]Waiting for new connection... [11:16:03] Sock 9.Parse request [11:16:03]Sock 9.Check first char [11:16:03]Sock 9.First char is OK [11:16:03]request: POST /json_proto HTTP/1.0 [11:16:03]Method: POST [11:16:03]URL: /json_proto [11:16:03]Method is POST - this is cgi request [11:16:03]url: /json_proto [11:16:03]query_string will be loaded in cgi processing [11:16:03]execute_cgi json_proto POST (null) [11:16:03]execute_cgi path=json_proto method=POST [11:16:03]POST find Content-Length [11:16:03]Host: 172.17.40.196:8080 [11:16:03]Content-Length: 622 [11:16:03]Content-Type: application/json [11:16:03] [11:16:03]POST finish read [11:16:03]Found Content-Length = 622 [11:16:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35170", "tax_sys" : 0, "items" : [ { "code": "8699367358996", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C CARB", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:03]execute_script... [11:16: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)35170", "tax_sys" : 0, "items" : [ { "code": "8699367358996", "name": "\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0435\u043B\u044C CARB", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:16:03]POST & json_proto [11:16:03]process_json_proto [11:16:03]json parsed OK: [11:16:03]protocol is kg_v1.0 [11:16:03]action value=close_receipt [11:16:03]process_action close_receipt [11:16:03]cmd_close_receipt [11:16:03]MH_GetDate [11:16:03]Write to MH i2c: F0 00 00 42 38 69 [11:16:03]Write i2c OK [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: F0 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: F0 09 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: F0 09 00 42 38 00 00 C4 20 67 5B 68 A1 66 87 [11:16:03]GetLastDocTimeStamp 1730199952 [11:16:03]current date 1730200576 [11:16:03]FM_GetShiftState [11:16:03]SAM_PROTO_GetShiftState [11:16:03]wFMCommunicate request_size=4 [11:16:03]MH_SAM_APDU [11:16:03]CAPDU: 80 13 01 00 [11:16:03]Write to MH i2c: E2 08 00 43 38 80 13 01 00 00 00 00 00 F8 [11:16:03]Write i2c OK [11:16:03]MH_I2C_Read... [11:16:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:03]Read from MH i2c: E2 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 0E 00 [11:16:03]MH_I2C_Read... [11:16:03]Read from MH i2c: E2 0E 00 43 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 6E [11:16:03]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:16:03]wFMCommunicate OK [11:16:03]SAM_PROTO_GetShiftState done [11:16:03]FM_GetShiftState done [11:16:03]opened in 1730160317 [11:16:03]opened+sec_in_day 1730246717 [11:16:03]quantity*price = 20500 [11:16:03]sum+1 = 20501 [11:16:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 32 29.10.2024 11:16 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37870 ФПД: 184078636511908 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T111616&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37870&fm=184078636511908&tin=02508201610067®Number=0000000000091684&sum=20500 0 [11:16:04]StoreToDocumentArchive [11:16:04]shift 552 fd 37870 [11:16:04]save to /storage/0552/doc_00037870 [11:16:04]save last doc name /storage/0552/doc_00037870 to /storage/kkm_last_doc_name [11:16:04]save OK [11:16:04]Clear old archive folders... [11:16:04]ProcessDocumentItem done err = 0, tmpTLVsize=267 [11:16:04]tlvbuf is 00313FB0 [11:16:04]SAM_PROTO_ClearQueue [11:16:04]wFMCommunicate request_size=4 [11:16:04]MH_SAM_APDU [11:16:04]CAPDU: 80 09 00 00 [11:16:04]Write to MH i2c: E2 08 00 50 38 80 09 00 00 00 00 00 00 FA [11:16:04]Write i2c OK [11:16:04]MH_I2C_Read... [11:16:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:16:04]Read from MH i2c: E2 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 50 38 00 90 00 FC [11:16:04]RAPDU: 90 00 [11:16:04]wFMCommunicate OK [11:16:04]SAM_PROTO_ClearQueue done [11:16:04]KKMCreateOFDPacket [11:16:04]OFDProtocolAddRootSTLVToBuf [11:16:04]FM_MakeSignedData [11:16:04]FM_MakeSignedData [11:16:04]SAM_PROTO_SignData [11:16:04]wFMCommunicate request_size=4 [11:16:04]MH_SAM_APDU [11:16:04]CAPDU: 80 0D 01 02 [11:16:04]Write to MH i2c: E2 08 00 51 38 80 0D 01 02 00 00 00 00 02 [11:16:04]Write i2c OK [11:16:04]MH_I2C_Read... [11:16:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:16:04]Read from MH i2c: E2 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 51 38 00 90 00 FD [11:16:04]RAPDU: 90 00 [11:16:04]wFMCommunicate OK [11:16:04]wFMCommunicate request_size=255 [11:16:04]MH_SAM_APDU [11:16:04]CAPDU: 80 0D 02 02 FA 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 00 C4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 [11:16:04]Write to MH i2c: E2 02 01 52 38 80 0D 02 02 FA 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 00 C4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 00 00 64 [11:16:04]Write i2c OK [11:16:04]MH_I2C_Read... [11:16:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:04]Read from MH i2c: E2 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 [11:16:04]MH_I2C_Read... [11:16:04]Read from MH i2c: E2 03 00 52 38 00 90 00 FE [11:16:04]RAPDU: 90 00 [11:16:04]wFMCommunicate OK [11:16:04]wFMCommunicate request_size=26 [11:16:04]MH_SAM_APDU [11:16:04]CAPDU: 80 0D 02 02 15 38 34 31 10 04 04 00 EE 93 00 00 35 04 06 00 A7 6B 25 BD 72 A4 [11:16:04]Write to MH i2c: E2 1D 00 53 38 80 0D 02 02 15 00 38 34 31 10 04 04 00 EE 93 00 00 35 04 06 00 A7 6B 25 BD 72 A4 00 00 AE [11:16:04]Write i2c OK [11:16:04]MH_I2C_Read... [11:16:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:16:05]Read from MH i2c: E2 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 03 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 03 00 53 38 00 90 00 FF [11:16:05]RAPDU: 90 00 [11:16:05]wFMCommunicate OK [11:16:05]wFMCommunicate request_size=4 [11:16:05]MH_SAM_APDU [11:16:05]CAPDU: 80 0D 03 02 [11:16:05]Write to MH i2c: E2 08 00 54 38 80 0D 03 02 00 00 00 00 07 [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:16:05]Read from MH i2c: E2 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 0B 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 0B 00 54 38 00 8F F9 C4 6F FC 25 6F 99 90 00 EC [11:16:05]RAPDU: 8F F9 C4 6F FC 25 6F 99 90 00 [11:16:05]wFMCommunicate OK [11:16:05]SAM_PROTO_SignData done [11:16:05]FM_MakeSignedData done [11:16:05]CreateOFDProtocolMessage [11:16:05]wFMCommunicate request_size=4 [11:16:05]MH_SAM_APDU [11:16:05]CAPDU: 80 11 00 00 [11:16:05]Write to MH i2c: E2 08 00 55 38 80 11 00 00 00 00 00 00 07 [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:05]Read from MH i2c: E2 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 17 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: E2 17 00 55 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [11:16:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:16:05]wFMCommunicate OK [11:16:05]CreateOFDProtocolMessage done [11:16:05]OFDSenderStorePacket 37870 [11:16:05]StoreOFDPacket docnum=37870 [11:16:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1F 01 00 00 70 D7 17 01 2E 4C 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 00 C4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EE 93 00 00 35 04 06 00 A7 6B 25 BD 72 A4 8F F9 C4 6F FC 25 6F 99 [11:16:05]CheckFolder [11:16:05]dirname=/storage/ofd_packets [11:16:05]CheckFolder done [11:16:05]ProducePacketName [11:16:05]name=ofd_packets/00037870 [11:16:05]NVStorageSaveData ofd_packets/00037870 [11:16:05]File name is /storage/ofd_packets/00037870 [11:16:05]Write 317 bytes [11:16:05]NVStorageSaveData done [11:16:05]OFDSenderStorePacket done [11:16:05]KKMCreateOFDPacket done [11:16:05]NVStorageSaveData kkm_last_timestamp [11:16:05]File name is /storage/kkm_last_timestamp [11:16:05]Write 4 bytes [11:16:05]NVStorageSaveData done [11:16:05]ExternCall_PrintAddStr [11:16:05]wPrintStart [11:16:05]Write to MH i2c: 01 00 00 56 38 8E [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 07 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 07 00 56 38 00 00 00 00 00 FF 0F A3 [11:16:05]RasterBufferAndPrint [11:16:05]line Счет N : (3)35170 [11:16:05]line ИНН: 02508201610067 [11:16:05]line Контрольно-Кассовый Чек [11:16:05]line ПРОДАЖА [11:16:05]line Товар: 8699367358996 [11:16:05]line Очиститель CARB [11:16:05]line 1.000 * 205.00 [11:16:05]line = 205.00 [11:16:05]line НДС 12% НСП 1% [11:16:05]line > о реализуемом товаре [11:16:05]line ИТОГО: 205.00 [11:16:05]line НСП 1% : 1.81 [11:16:05]line НДС 12% : 21.77 [11:16:05]line Наличными: 205.00 [11:16:05]line Безнал.: 0.00 [11:16:05]line Место: АЗС № 126 "Партнер Нефть" [11:16:05]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:16:05]line СНО: Общий режим [11:16:05]line Чек 32 29.10.2024 11:16 [11:16:05]line Смена: 552 ФФД: 1.0 [11:16:05]line ЗНМ: 0300000092 [11:16:05]line РНМ: 0000000000091684 [11:16:05]line Версия ККМ: 001 [11:16:05]line ФМ: 0000000000871841 [11:16:05]line ФД: 37870 [11:16:05]line ФПД: 184078636511908 [11:16:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T111616&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37870&fm=184078636511908&tin=02508201610067®Number=0000000000091684&sum=20500 [11:16:05]OFD Sender: Processing packet 37870 [packets to send 42, broken 41] [11:16:05]ProducePacketName [11:16:05]name=ofd_packets/00037870 [11:16:05]OFD Sender: To server: pG, [11:16:05]CommunicateWithHost lk.salyk.kg:30040 [11:16:05]ConnectInit lk.salyk.kg [11:16:05]line 0 [11:16:05]written 0, free lines is 4095 [11:16:05]Write to MH i2c: 01 00 00 7E 38 B6 [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 07 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: 01 07 00 7E 38 00 00 00 00 00 D9 0C A2 [11:16:05]RasterBufferAndPrint [11:16:05]line [11:16:05]line [11:16:05]line [11:16:05]line [11:16:05]line [11:16:05]written 0, free lines is 3295 [11:16:05]MH_Cut [11:16:05]Write to MH i2c: D1 01 00 85 38 01 8F [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: D1 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: D1 01 00 [11:16:05]MH_I2C_Read... [11:16:05]Read from MH i2c: D1 01 00 85 38 00 8E [11:16:05]Write to MH i2c: 01 00 00 86 38 BE [11:16:05]Write i2c OK [11:16:05]MH_I2C_Read... [11:16:06]*** Cut start [11:16:06]*** Partial cut [11:16:06]*** CUTSNS_PIN = 1 [11:16:06]*** CUTSNS_PIN = 0 [11:16:07]*** Brake cut motor [11:16:07]Read from MH i2c: 01 [11:16:07]MH_I2C_Read... [11:16:07]*** Stop cut motor [11:16:07]*** Cut end [11:16:07]Read from MH i2c: 01 07 00 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: 01 07 00 86 38 00 00 00 00 00 FF 0F D3 [11:16:07]process_action close_receipt done [11:16:07]requested_data is exist [11:16:07]produce_requested_data [11:16:07]requested_item fm.sn is exist - process it [11:16:07]wFMCommunicate request_size=4 [11:16:07]MH_SAM_APDU [11:16:07]CAPDU: 80 11 00 00 [11:16:07]Write to MH i2c: E2 08 00 87 38 80 11 00 00 00 00 00 00 39 [11:16:07]Write i2c OK [11:16:07]MH_I2C_Read... [11:16:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:16:07]Read from MH i2c: E2 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 17 00 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 17 00 87 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 89 [11:16:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:16:07]wFMCommunicate OK [11:16:07]requested_item fd.num is exist - process it [11:16:07]SAM_PROTO_GetFieldsCounters [11:16:07]wFMCommunicate request_size=4 [11:16:07]MH_SAM_APDU [11:16:07]CAPDU: 80 13 00 00 [11:16:07]Write to MH i2c: E2 08 00 88 38 80 13 00 00 00 00 00 00 3C [11:16:07]Write i2c OK [11:16:07]MH_I2C_Read... [11:16:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:16:07]Read from MH i2c: E2 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 62 00 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 62 00 88 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 68 [11:16:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:16:07]wFMCommunicate OK [11:16:07]SAM_PROTO_GetFieldsCounters done [11:16:07]requested_item shift.num is exist - process it [11:16:07]requested_item shift.opened is exist - process it [11:16:07]req_shift_opened [11:16:07]FM_GetShiftState [11:16:07]SAM_PROTO_GetShiftState [11:16:07]wFMCommunicate request_size=4 [11:16:07]MH_SAM_APDU [11:16:07]CAPDU: 80 13 01 00 [11:16:07]Write to MH i2c: E2 08 00 89 38 80 13 01 00 00 00 00 00 3E [11:16:07]Write i2c OK [11:16:07]MH_I2C_Read... [11:16:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:16:07]Read from MH i2c: E2 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 0E 00 [11:16:07]MH_I2C_Read... [11:16:07]Read from MH i2c: E2 0E 00 89 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B4 [11:16:07]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:16:07]wFMCommunicate OK [11:16:07]SAM_PROTO_GetShiftState done [11:16:07]FM_GetShiftState done [11:16:07]req_shift_opened done [11:16:07]requested_item shift.open_date is exist - process it [11:16:07]req_shift_open_date [11:16:07]req_shift_open_date done [11:16:07]produce_requested_data done [11:16:07]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37870,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [11:16:07]process_action_free close_receipt [11:16:07]json_value_free [11:16:07]json_value_free done [11:16:07]process_json_proto returns [11:16:07]Send response to host [11:16:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37870,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [11:16:07]free response buf [11:16:07]execute_script done [11:16:07]execute_script returns [11:16:07]free content buf [11:16:07]Sock 9.Close socket [11:16:07]Sock 9.Thread stoped [11:16:07]Connected sock=11 [11:16:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1F 01 00 00 70 D7 17 01 2E 4C 5A 03 01 00 03 00 0B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 38 36 39 39 33 36 37 33 35 38 39 39 36 06 04 19 00 D0 9E D1 87 D0 B8 D1 81 D1 82 D0 B8 D1 82 D0 B5 D0 BB D1 8C 20 43 41 52 42 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 20 00 00 00 F4 03 04 00 00 C4 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EE 93 00 00 35 04 06 00 A7 6B 25 BD 72 A4 8F F9 C4 6F FC 25 6F 99 [11:16:08]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 57 43 47 00 CF 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 38 37 31 38 34 31 10 04 04 00 EE 93 00 00 F4 03 04 00 F4 6E 20 67 B6 04 01 00 00 8E 90 14 24 B1 D8 D8 6C [11:16:08]CommunicateWithHost err = 0 [11:16:08]CheckOFDResponse [11:16:08]1017 (14) - 77093643461234 [11:16:08]1041 (16) - 0000000000871841 [11:16:08]1040 (4) - 37870 [11:16:08]1012 (4) - 29.10.2024 05:13 [11:16:08]1206 (1) - 0 [11:16:08]OFD Sender: Remove packet 37870 [11:16:08]ProducePacketName [11:16:08]name=ofd_packets/00037870 [11:16:08]NVStorageDeleteData [11:16:08]OFD Sender: No OFD packet to send [11:16:13]OFD Sender: No OFD packet to send [11:16:18]OFD Sender: No OFD packet to send [11:16:23]OFD Sender: No OFD packet to send [11:16:28]OFD Sender: No OFD packet to send [11:16:33]OFD Sender: No OFD packet to send [11:16:38]OFD Sender: No OFD packet to send [11:16:43]OFD Sender: No OFD packet to send [11:16:48]OFD Sender: No OFD packet to send [11:16:53]OFD Sender: No OFD packet to send [11:16:58]OFD Sender: No OFD packet to send [11:17:03]OFD Sender: No OFD packet to send [11:17:08]OFD Sender: No OFD packet to send [11:17:13]OFD Sender: No OFD packet to send [11:17:18]OFD Sender: No OFD packet to send [11:17:23]OFD Sender: No OFD packet to send [11:17:28]OFD Sender: No OFD packet to send [11:17:33]OFD Sender: No OFD packet to send [11:17:38]OFD Sender: No OFD packet to send [11:17:43]OFD Sender: No OFD packet to send [11:17:48]OFD Sender: No OFD packet to send [11:17:53]OFD Sender: No OFD packet to send [11:17:58]OFD Sender: No OFD packet to send [11:18:03]OFD Sender: No OFD packet to send [11:18:08]OFD Sender: No OFD packet to send [11:18:13]OFD Sender: No OFD packet to send [11:18:18]OFD Sender: No OFD packet to send [11:18:23]OFD Sender: No OFD packet to send [11:18:28]OFD Sender: No OFD packet to send [11:18:33]OFD Sender: No OFD packet to send [11:18:38]OFD Sender: No OFD packet to send [11:18:43]OFD Sender: No OFD packet to send [11:18:48]OFD Sender: No OFD packet to send [11:18:53]OFD Sender: No OFD packet to send [11:18:58]OFD Sender: No OFD packet to send [11:19:03]OFD Sender: No OFD packet to send [11:19:08]OFD Sender: No OFD packet to send [11:19:13]OFD Sender: No OFD packet to send [11:19:18]OFD Sender: No OFD packet to send [11:19:23]OFD Sender: No OFD packet to send [11:19:28]OFD Sender: No OFD packet to send [11:19:33]OFD Sender: No OFD packet to send [11:19:38]OFD Sender: No OFD packet to send [11:19:43]OFD Sender: No OFD packet to send [11:19:48]OFD Sender: No OFD packet to send [11:19:53]OFD Sender: No OFD packet to send [11:19:58]OFD Sender: No OFD packet to send [11:20:03]OFD Sender: No OFD packet to send [11:20:08]OFD Sender: No OFD packet to send [11:20:13]OFD Sender: No OFD packet to send [11:20:18]OFD Sender: No OFD packet to send [11:20:23]OFD Sender: No OFD packet to send [11:20:28]OFD Sender: No OFD packet to send [11:20:33]OFD Sender: No OFD packet to send [11:20:38]OFD Sender: No OFD packet to send [11:20:43]OFD Sender: No OFD packet to send [11:20:48]OFD Sender: No OFD packet to send [11:20:53]OFD Sender: No OFD packet to send [11:20:58]OFD Sender: No OFD packet to send [11:21:03]OFD Sender: No OFD packet to send [11:21:08]OFD Sender: No OFD packet to send [11:21:13]OFD Sender: No OFD packet to send [11:21:18]OFD Sender: No OFD packet to send [11:21:23]OFD Sender: No OFD packet to send [11:21:28]OFD Sender: No OFD packet to send [11:21:33]OFD Sender: No OFD packet to send [11:21:38]OFD Sender: No OFD packet to send [11:21:43]OFD Sender: No OFD packet to send [11:21:48]OFD Sender: No OFD packet to send [11:21:53]OFD Sender: No OFD packet to send [11:21:58]OFD Sender: No OFD packet to send [11:22:03]OFD Sender: No OFD packet to send [11:22:08]OFD Sender: No OFD packet to send [11:22:13]OFD Sender: No OFD packet to send [11:22:18]OFD Sender: No OFD packet to send [11:22:23]OFD Sender: No OFD packet to send [11:22:28]OFD Sender: No OFD packet to send [11:22:33]OFD Sender: No OFD packet to send [11:22:38]OFD Sender: No OFD packet to send [11:22:43]OFD Sender: No OFD packet to send [11:22:48]OFD Sender: No OFD packet to send [11:22:53]OFD Sender: No OFD packet to send [11:22:58]OFD Sender: No OFD packet to send [11:23:03]OFD Sender: No OFD packet to send [11:23:08]OFD Sender: No OFD packet to send [11:23:13]OFD Sender: No OFD packet to send [11:23:18]OFD Sender: No OFD packet to send [11:23:24]OFD Sender: No OFD packet to send [11:23:29]OFD Sender: No OFD packet to send [11:23:34]OFD Sender: No OFD packet to send [11:23:39]OFD Sender: No OFD packet to send [11:23:44]OFD Sender: No OFD packet to send [11:23:49]OFD Sender: No OFD packet to send [11:23:54]OFD Sender: No OFD packet to send [11:23:59]OFD Sender: No OFD packet to send [11:24:04]OFD Sender: No OFD packet to send [11:24:09]OFD Sender: No OFD packet to send [11:24:14]OFD Sender: No OFD packet to send [11:24:19]OFD Sender: No OFD packet to send [11:24:24]OFD Sender: No OFD packet to send [11:24:29]OFD Sender: No OFD packet to send [11:24:34]OFD Sender: No OFD packet to send [11:24:39]OFD Sender: No OFD packet to send [11:24:44]OFD Sender: No OFD packet to send [11:24:49]OFD Sender: No OFD packet to send [11:24:54]OFD Sender: No OFD packet to send [11:24:59]OFD Sender: No OFD packet to send [11:25:04]OFD Sender: No OFD packet to send [11:25:09]OFD Sender: No OFD packet to send [11:25:14]OFD Sender: No OFD packet to send [11:25:19]OFD Sender: No OFD packet to send [11:25:24]OFD Sender: No OFD packet to send [11:25:29]OFD Sender: No OFD packet to send [11:25:34]OFD Sender: No OFD packet to send [11:28:02]ConnectInit Can't connect to host [11:28:04]OFD Sender: No OFD packet to send [11:28:09]OFD Sender: No OFD packet to send [11:28:14]OFD Sender: No OFD packet to send [11:28:19]OFD Sender: No OFD packet to send [11:28:24]OFD Sender: No OFD packet to send [11:28:29]OFD Sender: No OFD packet to send [11:28:34]OFD Sender: No OFD packet to send [11:28:39]OFD Sender: No OFD packet to send [11:28:42]accept exits with 7 [11:28:42]New connection [11:28:42]New thread 3067440484 created [11:28:42]Thread 3067297124 joined [11:28:42]Waiting for new connection... [11:28:42] Sock 7.Parse request [11:28:42]Sock 7.Check first char [11:28:42]Sock 7.First char is OK [11:28:42]request: POST /json_proto HTTP/1.0 [11:28:42]Method: POST [11:28:42]URL: /json_proto [11:28:42]Method is POST - this is cgi request [11:28:42]url: /json_proto [11:28:42]query_string will be loaded in cgi processing [11:28:42]execute_cgi json_proto POST (null) [11:28:42]execute_cgi path=json_proto method=POST [11:28:42]POST find Content-Length [11:28:42]Host: 172.17.40.196:8080 [11:28:42]Content-Length: 643 [11:28:42]Content-Type: application/json [11:28:42] [11:28:42]POST finish read [11:28:42]Found Content-Length = 643 [11:28:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35171", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 5.000, "sum" : 295.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:42]execute_script... [11:28: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)35171", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 5.000, "sum" : 295.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 295.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [11:28:42]POST & json_proto [11:28:42]process_json_proto [11:28:42]json parsed OK: [11:28:42]protocol is kg_v1.0 [11:28:42]action value=close_receipt [11:28:42]process_action close_receipt [11:28:42]cmd_close_receipt [11:28:42]MH_GetDate [11:28:42]Write to MH i2c: F0 00 00 8A 38 B1 [11:28:42]Write i2c OK [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 09 00 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: F0 09 00 8A 38 00 F7 C6 20 67 5B 68 A1 66 C8 [11:28:42]GetLastDocTimeStamp 1730200576 [11:28:42]current date 1730201335 [11:28:42]FM_GetShiftState [11:28:42]SAM_PROTO_GetShiftState [11:28:42]wFMCommunicate request_size=4 [11:28:42]MH_SAM_APDU [11:28:42]CAPDU: 80 13 01 00 [11:28:42]Write to MH i2c: E2 08 00 8B 38 80 13 01 00 00 00 00 00 40 [11:28:42]Write i2c OK [11:28:42]MH_I2C_Read... [11:28:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:42]Read from MH i2c: E2 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: E2 0E 00 [11:28:42]MH_I2C_Read... [11:28:42]Read from MH i2c: E2 0E 00 8B 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 B6 [11:28:42]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:28:42]wFMCommunicate OK [11:28:42]SAM_PROTO_GetShiftState done [11:28:42]FM_GetShiftState done [11:28:42]opened in 1730160317 [11:28:42]opened+sec_in_day 1730246717 [11:28:42]quantity*price = 29500 [11:28:42]sum+1 = 29501 [11:28:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 295.00 НСП 1% : 2.61 НДС 12% : 31.33 Наличными: 295.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 33 29.10.2024 11:28 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37871 ФПД: 38014748794907 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T112855&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37871&fm=38014748794907&tin=02508201610067®Number=0000000000091684&sum=29500 0 [11:28:43]StoreToDocumentArchive [11:28:43]shift 552 fd 37871 [11:28:43]save to /storage/0552/doc_00037871 [11:28:43]save last doc name /storage/0552/doc_00037871 to /storage/kkm_last_doc_name [11:28:43]save OK [11:28:43]Clear old archive folders... [11:28:43]ProcessDocumentItem done err = 0, tmpTLVsize=281 [11:28:43]tlvbuf is 00244920 [11:28:43]SAM_PROTO_ClearQueue [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 09 00 00 [11:28:43]Write to MH i2c: E2 08 00 98 38 80 09 00 00 00 00 00 00 42 [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 98 38 00 90 00 44 [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]SAM_PROTO_ClearQueue done [11:28:43]KKMCreateOFDPacket [11:28:43]OFDProtocolAddRootSTLVToBuf [11:28:43]FM_MakeSignedData [11:28:43]FM_MakeSignedData [11:28:43]SAM_PROTO_SignData [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 01 02 [11:28:43]Write to MH i2c: E2 08 00 99 38 80 0D 01 02 00 00 00 00 4A [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 99 38 00 90 00 45 [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]wFMCommunicate request_size=255 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 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 F7 C6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [11:28:43]Write to MH i2c: E2 02 01 9A 38 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 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 F7 C6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 64 [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 9A 38 00 90 00 46 [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]wFMCommunicate request_size=40 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EF 93 00 00 35 04 06 00 22 92 FF 99 20 1B [11:28:43]Write to MH i2c: E2 2B 00 9B 38 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EF 93 00 00 35 04 06 00 22 92 FF 99 20 1B 00 00 10 [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 03 00 9B 38 00 90 00 47 [11:28:43]RAPDU: 90 00 [11:28:43]wFMCommunicate OK [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 0D 03 02 [11:28:43]Write to MH i2c: E2 08 00 9C 38 80 0D 03 02 00 00 00 00 4F [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:28:43]Read from MH i2c: E2 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 0B 00 [11:28:43]MH_I2C_Read... [11:28:43]Read from MH i2c: E2 0B 00 9C 38 00 2E 19 B7 D6 C9 A8 6D A6 90 00 A8 [11:28:43]RAPDU: 2E 19 B7 D6 C9 A8 6D A6 90 00 [11:28:43]wFMCommunicate OK [11:28:43]SAM_PROTO_SignData done [11:28:43]FM_MakeSignedData done [11:28:43]CreateOFDProtocolMessage [11:28:43]wFMCommunicate request_size=4 [11:28:43]MH_SAM_APDU [11:28:43]CAPDU: 80 11 00 00 [11:28:43]Write to MH i2c: E2 08 00 9D 38 80 11 00 00 00 00 00 00 4F [11:28:43]Write i2c OK [11:28:43]MH_I2C_Read... [11:28:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:44]Read from MH i2c: E2 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 17 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: E2 17 00 9D 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9F [11:28:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:28:44]wFMCommunicate OK [11:28:44]CreateOFDProtocolMessage done [11:28:44]OFDSenderStorePacket 37871 [11:28:44]StoreOFDPacket docnum=37871 [11:28:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 30 50 25 01 97 7B 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 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 F7 C6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EF 93 00 00 35 04 06 00 22 92 FF 99 20 1B 2E 19 B7 D6 C9 A8 6D A6 [11:28:44]CheckFolder [11:28:44]dirname=/storage/ofd_packets [11:28:44]CheckFolder done [11:28:44]ProducePacketName [11:28:44]name=ofd_packets/00037871 [11:28:44]NVStorageSaveData ofd_packets/00037871 [11:28:44]File name is /storage/ofd_packets/00037871 [11:28:44]Write 331 bytes [11:28:44]NVStorageSaveData done [11:28:44]OFDSenderStorePacket done [11:28:44]KKMCreateOFDPacket done [11:28:44]NVStorageSaveData kkm_last_timestamp [11:28:44]File name is /storage/kkm_last_timestamp [11:28:44]Write 4 bytes [11:28:44]NVStorageSaveData done [11:28:44]ExternCall_PrintAddStr [11:28:44]wPrintStart [11:28:44]Write to MH i2c: 01 00 00 9E 38 D6 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 9E 38 00 00 00 00 00 FF 0F EB [11:28:44]RasterBufferAndPrint [11:28:44]line Счет N : (3)35171 [11:28:44]line ИНН: 02508201610067 [11:28:44]line Контрольно-Кассовый Чек [11:28:44]line ПРОДАЖА [11:28:44]line Товар: 4607065001445 [11:28:44]line Шок батончик Snickers 50,5г [11:28:44]line 5.000 * 59.00 [11:28:44]line = 295.00 [11:28:44]line НДС 12% НСП 1% [11:28:44]line > о реализуемом товаре [11:28:44]line ИТОГО: 295.00 [11:28:44]line НСП 1% : 2.61 [11:28:44]line НДС 12% : 31.33 [11:28:44]line Наличными: 295.00 [11:28:44]line Безнал.: 0.00 [11:28:44]line Место: АЗС № 126 "Партнер Нефть" [11:28:44]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [11:28:44]line СНО: Общий режим [11:28:44]line Чек 33 29.10.2024 11:28 [11:28:44]line Смена: 552 ФФД: 1.0 [11:28:44]line ЗНМ: 0300000092 [11:28:44]line РНМ: 0000000000091684 [11:28:44]line Версия ККМ: 001 [11:28:44]line ФМ: 0000000000871841 [11:28:44]line ФД: 37871 [11:28:44]line ФПД: 38014748794907 [11:28:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T112855&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37871&fm=38014748794907&tin=02508201610067®Number=0000000000091684&sum=29500 [11:28:44]line 0 [11:28:44]OFD Sender: Processing packet 37871 [packets to send 42, broken 41] [11:28:44]ProducePacketName [11:28:44]name=ofd_packets/00037871 [11:28:44]OFD Sender: To server: pG, [11:28:44]CommunicateWithHost lk.salyk.kg:30040 [11:28:44]ConnectInit lk.salyk.kg [11:28:44]written 0, free lines is 4095 [11:28:44]Connected sock=10 [11:28:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 30 50 25 01 97 7B 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 3C 73 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 3C 73 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 05 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3D 0C 00 00 00 00 07 04 06 00 3C 73 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 F7 C6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EF 93 00 00 35 04 06 00 22 92 FF 99 20 1B 2E 19 B7 D6 C9 A8 6D A6 [11:28:44]Write to MH i2c: 01 00 00 C6 38 FE [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: 01 07 00 C6 38 00 00 00 00 00 CE 0C DF [11:28:44]RasterBufferAndPrint [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]line [11:28:44]written 0, free lines is 3285 [11:28:44]MH_Cut [11:28:44]Write to MH i2c: D1 01 00 CD 38 01 D7 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 01 00 [11:28:44]MH_I2C_Read... [11:28:44]Read from MH i2c: D1 01 00 CD 38 00 D6 [11:28:44]Write to MH i2c: 01 00 00 CE 38 06 [11:28:44]Write i2c OK [11:28:44]MH_I2C_Read... [11:28:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B5 EC 47 00 7E 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 EF 93 00 00 F4 03 04 00 E9 71 20 67 B6 04 01 00 00 4A 7F E7 E1 86 CD 91 8A [11:28:45]CommunicateWithHost err = 0 [11:28:45]CheckOFDResponse [11:28:45]1017 (14) - 77093643461234 [11:28:45]1041 (16) - 0000000000871841 [11:28:45]1040 (4) - 37871 [11:28:45]1012 (4) - 29.10.2024 05:26 [11:28:45]1206 (1) - 0 [11:28:45]OFD Sender: Remove packet 37871 [11:28:45]ProducePacketName [11:28:45]name=ofd_packets/00037871 [11:28:45]NVStorageDeleteData [11:28:45]OFD Sender: No OFD packet to send [11:28:45]*** Cut start [11:28:45]*** Partial cut [11:28:45]*** CUTSNS_PIN = 1 [11:28:45]*** CUTSNS_PIN = 0 [11:28:45]*** Brake cut motor [11:28:46]Read from MH i2c: 01 [11:28:46]MH_I2C_Read... [11:28:46]*** Stop cut motor [11:28:46]*** Cut end [11:28:46]Read from MH i2c: 01 07 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: 01 07 00 CE 38 00 00 00 00 00 FF 0F 1B [11:28:46]process_action close_receipt done [11:28:46]requested_data is exist [11:28:46]produce_requested_data [11:28:46]requested_item fm.sn is exist - process it [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 11 00 00 [11:28:46]Write to MH i2c: E2 08 00 CF 38 80 11 00 00 00 00 00 00 81 [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 17 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 17 00 CF 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D1 [11:28:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [11:28:46]wFMCommunicate OK [11:28:46]requested_item fd.num is exist - process it [11:28:46]SAM_PROTO_GetFieldsCounters [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 13 00 00 [11:28:46]Write to MH i2c: E2 08 00 D0 38 80 13 00 00 00 00 00 00 84 [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 62 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 62 00 D0 38 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 B4 [11:28:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 EF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [11:28:46]wFMCommunicate OK [11:28:46]SAM_PROTO_GetFieldsCounters done [11:28:46]requested_item shift.num is exist - process it [11:28:46]requested_item shift.opened is exist - process it [11:28:46]req_shift_opened [11:28:46]FM_GetShiftState [11:28:46]SAM_PROTO_GetShiftState [11:28:46]wFMCommunicate request_size=4 [11:28:46]MH_SAM_APDU [11:28:46]CAPDU: 80 13 01 00 [11:28:46]Write to MH i2c: E2 08 00 D1 38 80 13 01 00 00 00 00 00 86 [11:28:46]Write i2c OK [11:28:46]MH_I2C_Read... [11:28:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:28:46]Read from MH i2c: E2 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 0E 00 [11:28:46]MH_I2C_Read... [11:28:46]Read from MH i2c: E2 0E 00 D1 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FC [11:28:46]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [11:28:46]wFMCommunicate OK [11:28:46]SAM_PROTO_GetShiftState done [11:28:46]FM_GetShiftState done [11:28:46]req_shift_opened done [11:28:46]requested_item shift.open_date is exist - process it [11:28:46]req_shift_open_date [11:28:46]req_shift_open_date done [11:28:46]produce_requested_data done [11:28:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37871,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [11:28:46]process_action_free close_receipt [11:28:46]json_value_free [11:28:46]json_value_free done [11:28:46]process_json_proto returns [11:28:46]Send response to host [11:28:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37871,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [11:28:46]free response buf [11:28:46]execute_script done [11:28:46]execute_script returns [11:28:46]free content buf [11:28:46]Sock 7.Close socket [11:28:46]Sock 7.Thread stoped [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:50]OFD Sender: No OFD packet to send [11:34:55]OFD Sender: No OFD packet to send [11:35:00]OFD Sender: No OFD packet to send [11:35:05]OFD Sender: No OFD packet to send [11:35:10]OFD Sender: No OFD packet to send [11:35:15]OFD Sender: No OFD packet to send [11:35:20]OFD Sender: No OFD packet to send [11:35:25]OFD Sender: No OFD packet to send [11:35:30]OFD Sender: No OFD packet to send [11:35:35]OFD Sender: No OFD packet to send [11:35:40]OFD Sender: No OFD packet to send [11:35:45]OFD Sender: No OFD packet to send [11:35:50]OFD Sender: No OFD packet to send [11:35:55]OFD Sender: No OFD packet to send [11:36:00]OFD Sender: No OFD packet to send [11:36:05]OFD Sender: No OFD packet to send [11:36:10]OFD Sender: No OFD packet to send [11:36:15]OFD Sender: No OFD packet to send [11:36:20]OFD Sender: No OFD packet to send [11:36:25]OFD Sender: No OFD packet to send [11:36:31]OFD Sender: No OFD packet to send [11:36:36]OFD Sender: No OFD packet to send [11:36:41]OFD Sender: No OFD packet to send [11:36:46]OFD Sender: No OFD packet to send [11:36:51]OFD Sender: No OFD packet to send [11:36:56]OFD Sender: No OFD packet to send [11:37:01]OFD Sender: No OFD packet to send [11:37:06]OFD Sender: No OFD packet to send [11:37:11]OFD Sender: No OFD packet to send [11:37:16]OFD Sender: No OFD packet to send [11:37:21]OFD Sender: No OFD packet to send [11:37:26]OFD Sender: No OFD packet to send [11:37:31]OFD Sender: No OFD packet to send [11:37:36]OFD Sender: No OFD packet to send [11:37:41]OFD Sender: No OFD packet to send [11:37:46]OFD Sender: No OFD packet to send [11:37:51]OFD Sender: No OFD packet to send [11:37:56]OFD Sender: No OFD packet to send [11:38:01]OFD Sender: No OFD packet to send [11:38:06]OFD Sender: No OFD packet to send [11:38:11]OFD Sender: No OFD packet to send [11:38:16]OFD Sender: No OFD packet to send [11:38:21]OFD Sender: No OFD packet to send [11:38:26]OFD Sender: No OFD packet to send [11:38:31]OFD Sender: No OFD packet to send [11:38:36]OFD Sender: No OFD packet to send [11:38:41]OFD Sender: No OFD packet to send [11:38:46]OFD Sender: No OFD packet to send [11:38:51]OFD Sender: No OFD packet to send [11:38:56]OFD Sender: No OFD packet to send [11:39:01]OFD Sender: No OFD packet to send [11:39:06]OFD Sender: No OFD packet to send [11:39:11]OFD Sender: No OFD packet to send [11:39:16]OFD Sender: No OFD packet to send [11:39:21]OFD Sender: No OFD packet to send [11:39:26]OFD Sender: No OFD packet to send [11:39:31]OFD Sender: No OFD packet to send [11:39:36]OFD Sender: No OFD packet to send [11:39:41]OFD Sender: No OFD packet to send [11:39:46]OFD Sender: No OFD packet to send [11:39:51]OFD Sender: No OFD packet to send [11:39:56]OFD Sender: No OFD packet to send [11:40:01]OFD Sender: No OFD packet to send [11:40:06]OFD Sender: No OFD packet to send [11:40:11]OFD Sender: No OFD packet to send [11:40:16]OFD Sender: No OFD packet to send [11:40:21]OFD Sender: No OFD packet to send [11:40:26]OFD Sender: No OFD packet to send [11:40:31]OFD Sender: No OFD packet to send [11:40:36]OFD Sender: No OFD packet to send [11:40:41]OFD Sender: No OFD packet to send [11:40:46]OFD Sender: No OFD packet to send [11:40:51]OFD Sender: No OFD packet to send [11:40:56]OFD Sender: No OFD packet to send [11:41:01]OFD Sender: No OFD packet to send [11:41:06]OFD Sender: No OFD packet to send [11:41:11]OFD Sender: No OFD packet to send [11:41:16]OFD Sender: No OFD packet to send [11:41:21]OFD Sender: No OFD packet to send [11:41:26]OFD Sender: No OFD packet to send [11:41:31]OFD Sender: No OFD packet to send [11:41:36]OFD Sender: No OFD packet to send [11:41:41]OFD Sender: No OFD packet to send [11:41:46]OFD Sender: No OFD packet to send [11:41:51]OFD Sender: No OFD packet to send [11:41:56]OFD Sender: No OFD packet to send [11:42:01]OFD Sender: No OFD packet to send [11:42:06]OFD Sender: No OFD packet to send [11:42:11]OFD Sender: No OFD packet to send [11:42:16]OFD Sender: No OFD packet to send [11:42:21]OFD Sender: No OFD packet to send [11:42:26]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:26]OFD Sender: No OFD packet to send [11:46:31]OFD Sender: No OFD packet to send [11:46:36]OFD Sender: No OFD packet to send [11:46:41]OFD Sender: No OFD packet to send [11:46:46]OFD Sender: No OFD packet to send [11:46:51]OFD Sender: No OFD packet to send [11:46:56]OFD Sender: No OFD packet to send [11:47:01]OFD Sender: No OFD packet to send [11:47:06]OFD Sender: No OFD packet to send [11:47:11]OFD Sender: No OFD packet to send [11:47:16]OFD Sender: No OFD packet to send [11:47:21]OFD Sender: No OFD packet to send [11:47:26]OFD Sender: No OFD packet to send [11:47:31]OFD Sender: No OFD packet to send [11:47:36]OFD Sender: No OFD packet to send [11:47:41]OFD Sender: No OFD packet to send [11:47:46]OFD Sender: No OFD packet to send [11:47:51]OFD Sender: No OFD packet to send [11:47:56]OFD Sender: No OFD packet to send [11:48:01]OFD Sender: No OFD packet to send [11:48:06]OFD Sender: No OFD packet to send [11:48:11]OFD Sender: No OFD packet to send [11:48:16]OFD Sender: No OFD packet to send [11:48:21]OFD Sender: No OFD packet to send [11:48:26]OFD Sender: No OFD packet to send [11:48:31]OFD Sender: No OFD packet to send [11:48:36]OFD Sender: No OFD packet to send [11:48:41]OFD Sender: No OFD packet to send [11:48:46]OFD Sender: No OFD packet to send [11:48:51]OFD Sender: No OFD packet to send [11:48:56]OFD Sender: No OFD packet to send [11:49:01]OFD Sender: No OFD packet to send [11:49:06]OFD Sender: No OFD packet to send [11:49:11]OFD Sender: No OFD packet to send [11:49:16]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:12]OFD Sender: No OFD packet to send [11:55:17]OFD Sender: No OFD packet to send [11:55:22]OFD Sender: No OFD packet to send [11:55:27]OFD Sender: No OFD packet to send [11:55:32]OFD Sender: No OFD packet to send [11:55:37]OFD Sender: No OFD packet to send [11:55:42]OFD Sender: No OFD packet to send [11:55:47]OFD Sender: No OFD packet to send [11:55:52]OFD Sender: No OFD packet to send [11:55:57]OFD Sender: No OFD packet to send [11:56:02]OFD Sender: No OFD packet to send [11:56:07]OFD Sender: No OFD packet to send [11:56:12]OFD Sender: No OFD packet to send [11:56:17]OFD Sender: No OFD packet to send [11:56:22]OFD Sender: No OFD packet to send [11:56:27]OFD Sender: No OFD packet to send [11:56:32]OFD Sender: No OFD packet to send [11:56:37]OFD Sender: No OFD packet to send [11:56:42]OFD Sender: No OFD packet to send [11:56:47]OFD Sender: No OFD packet to send [11:56:52]OFD Sender: No OFD packet to send [11:56:57]OFD Sender: No OFD packet to send [11:57:02]OFD Sender: No OFD packet to send [11:57:07]OFD Sender: No OFD packet to send [11:57:12]OFD Sender: No OFD packet to send [11:57:17]OFD Sender: No OFD packet to send [11:57:22]OFD Sender: No OFD packet to send [11:57:27]OFD Sender: No OFD packet to send [11:57:32]OFD Sender: No OFD packet to send [11:57:37]OFD Sender: No OFD packet to send [11:57:42]OFD Sender: No OFD packet to send [11:57:47]OFD Sender: No OFD packet to send [11:57:52]OFD Sender: No OFD packet to send [11:57:57]OFD Sender: No OFD packet to send [11:58:02]OFD Sender: No OFD packet to send [11:58:07]OFD Sender: No OFD packet to send [11:58:12]OFD Sender: No OFD packet to send [11:58:17]OFD Sender: No OFD packet to send [11:58:22]OFD Sender: No OFD packet to send [11:58:27]OFD Sender: No OFD packet to send [11:58:32]OFD Sender: No OFD packet to send [11:58:37]OFD Sender: No OFD packet to send [11:58:42]OFD Sender: No OFD packet to send [11:58:47]OFD Sender: No OFD packet to send [11:58:52]OFD Sender: No OFD packet to send [11:58:57]OFD Sender: No OFD packet to send [11:59:02]OFD Sender: No OFD packet to send [11:59:07]OFD Sender: No OFD packet to send [11:59:12]OFD Sender: No OFD packet to send [11:59:17]OFD Sender: No OFD packet to send [11:59:22]OFD Sender: No OFD packet to send [11:59:27]OFD Sender: No OFD packet to send [11:59:32]OFD Sender: No OFD packet to send [11:59:37]OFD Sender: No OFD packet to send [11:59:42]OFD Sender: No OFD packet to send [11:59:47]OFD Sender: No OFD packet to send [11:59:52]OFD Sender: No OFD packet to send [11:59:57]OFD Sender: No OFD packet to send [12:00:02]OFD Sender: No OFD packet to send [12:00:07]OFD Sender: No OFD packet to send [12:00:12]OFD Sender: No OFD packet to send [12:00:17]OFD Sender: No OFD packet to send [12:00:22]OFD Sender: No OFD packet to send [12:00:27]OFD Sender: No OFD packet to send [12:00:32]OFD Sender: No OFD packet to send [12:00:37]OFD Sender: No OFD packet to send [12:00:42]OFD Sender: No OFD packet to send [12:00:47]OFD Sender: No OFD packet to send [12:00:52]OFD Sender: No OFD packet to send [12:00:57]OFD Sender: No OFD packet to send [12:01:02]OFD Sender: No OFD packet to send [12:01:07]OFD Sender: No OFD packet to send [12:01:12]OFD Sender: No OFD packet to send [12:01:17]OFD Sender: No OFD packet to send [12:01:22]OFD Sender: No OFD packet to send [12:01:27]OFD Sender: No OFD packet to send [12:01:32]OFD Sender: No OFD packet to send [12:01:37]OFD Sender: No OFD packet to send [12:01:42]OFD Sender: No OFD packet to send [12:01:47]OFD Sender: No OFD packet to send [12:01:52]OFD Sender: No OFD packet to send [12:01:57]OFD Sender: No OFD packet to send [12:02:02]OFD Sender: No OFD packet to send [12:02:07]OFD Sender: No OFD packet to send [12:02:12]OFD Sender: No OFD packet to send [12:02:17]OFD Sender: No OFD packet to send [12:02:22]OFD Sender: No OFD packet to send [12:02:27]OFD Sender: No OFD packet to send [12:02:32]OFD Sender: No OFD packet to send [12:02:37]OFD Sender: No OFD packet to send [12:02:42]OFD Sender: No OFD packet to send [12:02:47]OFD Sender: No OFD packet to send [12:02:52]OFD Sender: No OFD packet to send [12:02:57]OFD Sender: No OFD packet to send [12:03:02]OFD Sender: No OFD packet to send [12:03:07]OFD Sender: No OFD packet to send [12:03:12]OFD Sender: No OFD packet to send [12:03:17]OFD Sender: No OFD packet to send [12:03:22]OFD Sender: No OFD packet to send [12:03:27]OFD Sender: No OFD packet to send [12:03:32]OFD Sender: No OFD packet to send [12:03:37]OFD Sender: No OFD packet to send [12:03:42]OFD Sender: No OFD packet to send [12:03:47]OFD Sender: No OFD packet to send [12:03:52]OFD Sender: No OFD packet to send [12:03:57]OFD Sender: No OFD packet to send [12:04:02]OFD Sender: No OFD packet to send [12:04:07]OFD Sender: No OFD packet to send [12:04:12]OFD Sender: No OFD packet to send [12:04:17]OFD Sender: No OFD packet to send [12:04:22]OFD Sender: No OFD packet to send [12:04:27]OFD Sender: No OFD packet to send [12:04:32]OFD Sender: No OFD packet to send [12:04:37]OFD Sender: No OFD packet to send [12:04:42]OFD Sender: No OFD packet to send [12:04:47]OFD Sender: No OFD packet to send [12:04:52]OFD Sender: No OFD packet to send [12:04:57]OFD Sender: No OFD packet to send [12:05:02]OFD Sender: No OFD packet to send [12:05:07]OFD Sender: No OFD packet to send [12:05:12]OFD Sender: No OFD packet to send [12:05:17]OFD Sender: No OFD packet to send [12:05:22]OFD Sender: No OFD packet to send [12:05:27]OFD Sender: No OFD packet to send [12:05:32]OFD Sender: No OFD packet to send [12:05:37]OFD Sender: No OFD packet to send [12:05:42]OFD Sender: No OFD packet to send [12:05:47]OFD Sender: No OFD packet to send [12:05:52]OFD Sender: No OFD packet to send [12:05:57]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:38]ConnectInit Can't connect to host [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:08]OFD Sender: No OFD packet to send [12:14:13]OFD Sender: No OFD packet to send [12:14:18]OFD Sender: No OFD packet to send [12:14:23]OFD Sender: No OFD packet to send [12:14:28]OFD Sender: No OFD packet to send [12:14:33]OFD Sender: No OFD packet to send [12:14:38]OFD Sender: No OFD packet to send [12:14:43]OFD Sender: No OFD packet to send [12:14:48]OFD Sender: No OFD packet to send [12:14:53]OFD Sender: No OFD packet to send [12:14:58]OFD Sender: No OFD packet to send [12:15:03]OFD Sender: No OFD packet to send [12:15:08]OFD Sender: No OFD packet to send [12:15:13]OFD Sender: No OFD packet to send [12:15:18]OFD Sender: No OFD packet to send [12:15:23]OFD Sender: No OFD packet to send [12:15:28]OFD Sender: No OFD packet to send [12:15:33]OFD Sender: No OFD packet to send [12:15:38]OFD Sender: No OFD packet to send [12:15:43]OFD Sender: No OFD packet to send [12:15:48]OFD Sender: No OFD packet to send [12:15:53]OFD Sender: No OFD packet to send [12:15:58]OFD Sender: No OFD packet to send [12:16:03]OFD Sender: No OFD packet to send [12:16:08]OFD Sender: No OFD packet to send [12:16:13]OFD Sender: No OFD packet to send [12:16:18]OFD Sender: No OFD packet to send [12:16:23]OFD Sender: No OFD packet to send [12:16:28]OFD Sender: No OFD packet to send [12:16:33]OFD Sender: No OFD packet to send [12:16:38]OFD Sender: No OFD packet to send [12:16:43]OFD Sender: No OFD packet to send [12:16:48]OFD Sender: No OFD packet to send [12:16:53]OFD Sender: No OFD packet to send [12:16:58]OFD Sender: No OFD packet to send [12:17:03]OFD Sender: No OFD packet to send [12:17:08]OFD Sender: No OFD packet to send [12:17:13]OFD Sender: No OFD packet to send [12:17:18]OFD Sender: No OFD packet to send [12:17:23]OFD Sender: No OFD packet to send [12:17:28]OFD Sender: No OFD packet to send [12:17:33]OFD Sender: No OFD packet to send [12:17:38]OFD Sender: No OFD packet to send [12:17:43]OFD Sender: No OFD packet to send [12:17:48]OFD Sender: No OFD packet to send [12:17:53]OFD Sender: No OFD packet to send [12:17:58]OFD Sender: No OFD packet to send [12:18:03]OFD Sender: No OFD packet to send [12:18:08]OFD Sender: No OFD packet to send [12:18:13]OFD Sender: No OFD packet to send [12:18:18]OFD Sender: No OFD packet to send [12:18:23]OFD Sender: No OFD packet to send [12:18:28]OFD Sender: No OFD packet to send [12:18:33]OFD Sender: No OFD packet to send [12:18:38]OFD Sender: No OFD packet to send [12:18:43]OFD Sender: No OFD packet to send [12:18:48]OFD Sender: No OFD packet to send [12:18:53]OFD Sender: No OFD packet to send [12:18:58]OFD Sender: No OFD packet to send [12:19:03]OFD Sender: No OFD packet to send [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]OFD Sender: No OFD packet to send [12:19:48]OFD Sender: No OFD packet to send [12:19:53]OFD Sender: No OFD packet to send [12:19:58]OFD Sender: No OFD packet to send [12:20:03]OFD Sender: No OFD packet to send [12:20:08]OFD Sender: No OFD packet to send [12:20:13]OFD Sender: No OFD packet to send [12:20:18]OFD Sender: No OFD packet to send [12:20:23]OFD Sender: No OFD packet to send [12:20:28]OFD Sender: No OFD packet to send [12:20:33]OFD Sender: No OFD packet to send [12:20:38]OFD Sender: No OFD packet to send [12:20:43]OFD Sender: No OFD packet to send [12:20:48]OFD Sender: No OFD packet to send [12:20:53]OFD Sender: No OFD packet to send [12:20:58]OFD Sender: No OFD packet to send [12:21:03]OFD Sender: No OFD packet to send [12:21:08]OFD Sender: No OFD packet to send [12:21:13]OFD Sender: No OFD packet to send [12:21:18]OFD Sender: No OFD packet to send [12:21:23]OFD Sender: No OFD packet to send [12:21:28]OFD Sender: No OFD packet to send [12:21:33]OFD Sender: No OFD packet to send [12:21:38]OFD Sender: No OFD packet to send [12:21:43]OFD Sender: No OFD packet to send [12:21:48]OFD Sender: No OFD packet to send [12:21:53]OFD Sender: No OFD packet to send [12:21:58]OFD Sender: No OFD packet to send [12:22:03]OFD Sender: No OFD packet to send [12:22:08]OFD Sender: No OFD packet to send [12:22:13]OFD Sender: No OFD packet to send [12:22:18]OFD Sender: No OFD packet to send [12:22:23]OFD Sender: No OFD packet to send [12:22:28]OFD Sender: No OFD packet to send [12:22:33]OFD Sender: No OFD packet to send [12:22:38]OFD Sender: No OFD packet to send [12:22:43]OFD Sender: No OFD packet to send [12:22:48]OFD Sender: No OFD packet to send [12:22:53]OFD Sender: No OFD packet to send [12:22:58]OFD Sender: No OFD packet to send [12:23:03]OFD Sender: No OFD packet to send [12:23:08]OFD Sender: No OFD packet to send [12:23:13]OFD Sender: No OFD packet to send [12:23:18]OFD Sender: No OFD packet to send [12:23:23]OFD Sender: No OFD packet to send [12:23:28]OFD Sender: No OFD packet to send [12:23:33]OFD Sender: No OFD packet to send [12:23:38]OFD Sender: No OFD packet to send [12:23:43]OFD Sender: No OFD packet to send [12:23:48]OFD Sender: No OFD packet to send [12:23:53]OFD Sender: No OFD packet to send [12:23:58]OFD Sender: No OFD packet to send [12:24:03]OFD Sender: No OFD packet to send [12:24:08]OFD Sender: No OFD packet to send [12:24:13]OFD Sender: No OFD packet to send [12:24:18]OFD Sender: No OFD packet to send [12:24:23]OFD Sender: No OFD packet to send [12:24:28]OFD Sender: No OFD packet to send [12:24:33]OFD Sender: No OFD packet to send [12:24:38]OFD Sender: No OFD packet to send [12:24:43]OFD Sender: No OFD packet to send [12:24:48]OFD Sender: No OFD packet to send [12:24:53]OFD Sender: No OFD packet to send [12:24:58]OFD Sender: No OFD packet to send [12:25:03]OFD Sender: No OFD packet to send [12:25:08]OFD Sender: No OFD packet to send [12:25:13]OFD Sender: No OFD packet to send [12:25:18]OFD Sender: No OFD packet to send [12:25:23]OFD Sender: No OFD packet to send [12:25:28]OFD Sender: No OFD packet to send [12:25:33]OFD Sender: No OFD packet to send [12:25:38]OFD Sender: No OFD packet to send [12:25:43]OFD Sender: No OFD packet to send [12:25:48]OFD Sender: No OFD packet to send [12:25:53]OFD Sender: No OFD packet to send [12:25:58]OFD Sender: No OFD packet to send [12:26:03]OFD Sender: No OFD packet to send [12:26:08]OFD Sender: No OFD packet to send [12:26:13]OFD Sender: No OFD packet to send [12:26:18]OFD Sender: No OFD packet to send [12:26:23]OFD Sender: No OFD packet to send [12:26:28]OFD Sender: No OFD packet to send [12:26:33]OFD Sender: No OFD packet to send [12:26:38]OFD Sender: No OFD packet to send [12:26:43]OFD Sender: No OFD packet to send [12:26:48]OFD Sender: No OFD packet to send [12:26:53]OFD Sender: No OFD packet to send [12:26:58]OFD Sender: No OFD packet to send [12:27:03]OFD Sender: No OFD packet to send [12:27:08]OFD Sender: No OFD packet to send [12:27:13]OFD Sender: No OFD packet to send [12:27:18]OFD Sender: No OFD packet to send [12:27:23]OFD Sender: No OFD packet to send [12:27:28]OFD Sender: No OFD packet to send [12:27:33]OFD Sender: No OFD packet to send [12:27:38]OFD Sender: No OFD packet to send [12:27:43]OFD Sender: No OFD packet to send [12:27:48]OFD Sender: No OFD packet to send [12:27:53]OFD Sender: No OFD packet to send [12:27:58]OFD Sender: No OFD packet to send [12:28:03]OFD Sender: No OFD packet to send [12:28:08]OFD Sender: No OFD packet to send [12:28:13]OFD Sender: No OFD packet to send [12:28:18]OFD Sender: No OFD packet to send [12:28:23]OFD Sender: No OFD packet to send [12:28:28]OFD Sender: No OFD packet to send [12:28:33]OFD Sender: No OFD packet to send [12:28:38]OFD Sender: No OFD packet to send [12:28:43]OFD Sender: No OFD packet to send [12:28:48]OFD Sender: No OFD packet to send [12:28:53]OFD Sender: No OFD packet to send [12:28:58]OFD Sender: No OFD packet to send [12:29:03]OFD Sender: No OFD packet to send [12:29:08]OFD Sender: No OFD packet to send [12:29:13]OFD Sender: No OFD packet to send [12:29:18]OFD Sender: No OFD packet to send [12:29:23]OFD Sender: No OFD packet to send [12:29:28]OFD Sender: No OFD packet to send [12:29:33]OFD Sender: No OFD packet to send [12:29:38]OFD Sender: No OFD packet to send [12:29:43]OFD Sender: No OFD packet to send [12:29:48]OFD Sender: No OFD packet to send [12:29:53]OFD Sender: No OFD packet to send [12:29:58]OFD Sender: No OFD packet to send [12:30:03]OFD Sender: No OFD packet to send [12:30:08]OFD Sender: No OFD packet to send [12:30:13]OFD Sender: No OFD packet to send [12:30:18]OFD Sender: No OFD packet to send [12:30:23]OFD Sender: No OFD packet to send [12:30:28]OFD Sender: No OFD packet to send [12:30:33]OFD Sender: No OFD packet to send [12:30:38]OFD Sender: No OFD packet to send [12:30:43]OFD Sender: No OFD packet to send [12:30:48]OFD Sender: No OFD packet to send [12:30:53]OFD Sender: No OFD packet to send [12:30:58]OFD Sender: No OFD packet to send [12:31:03]OFD Sender: No OFD packet to send [12:31:08]OFD Sender: No OFD packet to send [12:31:13]OFD Sender: No OFD packet to send [12:31:18]OFD Sender: No OFD packet to send [12:31:23]OFD Sender: No OFD packet to send [12:31:28]OFD Sender: No OFD packet to send [12:31:33]OFD Sender: No OFD packet to send [12:31:38]OFD Sender: No OFD packet to send [12:31:43]OFD Sender: No OFD packet to send [12:31:48]OFD Sender: No OFD packet to send [12:31:53]OFD Sender: No OFD packet to send [12:31:58]OFD Sender: No OFD packet to send [12:32:03]OFD Sender: No OFD packet to send [12:32:08]OFD Sender: No OFD packet to send [12:32:13]OFD Sender: No OFD packet to send [12:32:19]OFD Sender: No OFD packet to send [12:32:24]OFD Sender: No OFD packet to send [12:32:29]OFD Sender: No OFD packet to send [12:32:34]OFD Sender: No OFD packet to send [12:32:39]OFD Sender: No OFD packet to send [12:32:44]OFD Sender: No OFD packet to send [12:32:49]OFD Sender: No OFD packet to send [12:32:54]OFD Sender: No OFD packet to send [12:32:59]OFD Sender: No OFD packet to send [12:33:04]OFD Sender: No OFD packet to send [12:33:09]OFD Sender: No OFD packet to send [12:33:14]OFD Sender: No OFD packet to send [12:33:19]OFD Sender: No OFD packet to send [12:33:24]OFD Sender: No OFD packet to send [12:33:29]OFD Sender: No OFD packet to send [12:33:34]OFD Sender: No OFD packet to send [12:33:39]OFD Sender: No OFD packet to send [12:33:44]OFD Sender: No OFD packet to send [12:33:49]OFD Sender: No OFD packet to send [12:33:54]OFD Sender: No OFD packet to send [12:33:59]OFD Sender: No OFD packet to send [12:34:04]OFD Sender: No OFD packet to send [12:34:09]OFD Sender: No OFD packet to send [12:34:14]OFD Sender: No OFD packet to send [12:34:17]accept exits with 9 [12:34:17]New connection [12:34:17]New thread 3067297124 created [12:34:17]Thread 3067440484 joined [12:34:17]Waiting for new connection... [12:34:17] Sock 9.Parse request [12:34:17]Sock 9.Check first char [12:34:17]Sock 9.First char is OK [12:34:17]request: POST /json_proto HTTP/1.0 [12:34:17]Method: POST [12:34:17]URL: /json_proto [12:34:17]Method is POST - this is cgi request [12:34:17]url: /json_proto [12:34:17]query_string will be loaded in cgi processing [12:34:17]execute_cgi json_proto POST (null) [12:34:17]execute_cgi path=json_proto method=POST [12:34:17]POST find Content-Length [12:34:17]Host: 172.17.40.196:8080 [12:34:17]Content-Length: 916 [12:34:17]Content-Type: application/json [12:34:17] [12:34:17]POST finish read [12:34:17]Found Content-Length = 916 [12:34:17]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35172", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 17.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:17]execute_script... [12:34: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)35172", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 1.000, "sum" : 7.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 17.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:34:17]POST & json_proto [12:34:17]process_json_proto [12:34:17]json parsed OK: [12:34:17]protocol is kg_v1.0 [12:34:17]action value=close_receipt [12:34:17]process_action close_receipt [12:34:17]cmd_close_receipt [12:34:17]MH_GetDate [12:34:17]Write to MH i2c: F0 00 00 D2 38 F9 [12:34:17]Write i2c OK [12:34:17]MH_I2C_Read... [12:34:17]Read from MH i2c: F0 [12:34:17]MH_I2C_Read... [12:34:17]Read from MH i2c: F0 09 00 [12:34:17]MH_I2C_Read... [12:34:17]Read from MH i2c: F0 09 00 D2 38 00 56 D6 20 67 5B 68 A1 66 7F [12:34:17]GetLastDocTimeStamp 1730201335 [12:34:17]current date 1730205270 [12:34:17]FM_GetShiftState [12:34:17]SAM_PROTO_GetShiftState [12:34:17]wFMCommunicate request_size=4 [12:34:17]MH_SAM_APDU [12:34:17]CAPDU: 80 13 01 00 [12:34:17]Write to MH i2c: E2 08 00 D3 38 80 13 01 00 00 00 00 00 88 [12:34:17]Write i2c OK [12:34:17]MH_I2C_Read... [12:34:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:17]Read from MH i2c: E2 [12:34:17]MH_I2C_Read... [12:34:17]Read from MH i2c: E2 0E 00 [12:34:17]MH_I2C_Read... [12:34:17]Read from MH i2c: E2 0E 00 D3 38 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FE [12:34:17]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:34:17]wFMCommunicate OK [12:34:17]SAM_PROTO_GetShiftState done [12:34:17]FM_GetShiftState done [12:34:17]opened in 1730160317 [12:34:17]opened+sec_in_day 1730246717 [12:34:17]quantity*price = 700 [12:34:17]sum+1 = 701 [12:34:17]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46226624 Mentos ПВ Клубника 6*100*2 1.000 * 10.00 = 10.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 17.00 НСП 1% : 0.15 НДС 12% : 1.80 Наличными: 17.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 34 29.10.2024 12:34 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37872 ФПД: 45141542254013 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T123430&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37872&fm=45141542254013&tin=02508201610067®Number=0000000000091684&sum=1700 0 [12:34:18]StoreToDocumentArchive [12:34:18]shift 552 fd 37872 [12:34:18]save to /storage/0552/doc_00037872 [12:34:18]save last doc name /storage/0552/doc_00037872 to /storage/kkm_last_doc_name [12:34:18]save OK [12:34:18]Clear old archive folders... [12:34:18]ProcessDocumentItem done err = 0, tmpTLVsize=390 [12:34:18]tlvbuf is 00244710 [12:34:18]SAM_PROTO_ClearQueue [12:34:18]wFMCommunicate request_size=4 [12:34:18]MH_SAM_APDU [12:34:18]CAPDU: 80 09 00 00 [12:34:18]Write to MH i2c: E2 08 00 E0 38 80 09 00 00 00 00 00 00 8A [12:34:18]Write i2c OK [12:34:18]MH_I2C_Read... [12:34:18]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:34:18]Read from MH i2c: E2 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 E0 38 00 90 00 8C [12:34:18]RAPDU: 90 00 [12:34:18]wFMCommunicate OK [12:34:18]SAM_PROTO_ClearQueue done [12:34:18]KKMCreateOFDPacket [12:34:18]OFDProtocolAddRootSTLVToBuf [12:34:18]FM_MakeSignedData [12:34:18]FM_MakeSignedData [12:34:18]SAM_PROTO_SignData [12:34:18]wFMCommunicate request_size=4 [12:34:18]MH_SAM_APDU [12:34:18]CAPDU: 80 0D 01 02 [12:34:18]Write to MH i2c: E2 08 00 E1 38 80 0D 01 02 00 00 00 00 92 [12:34:18]Write i2c OK [12:34:18]MH_I2C_Read... [12:34:18]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:34:18]Read from MH i2c: E2 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 E1 38 00 90 00 8D [12:34:18]RAPDU: 90 00 [12:34:18]wFMCommunicate OK [12:34:18]wFMCommunicate request_size=255 [12:34:18]MH_SAM_APDU [12:34:18]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [12:34:18]Write to MH i2c: E2 02 01 E2 38 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 CA [12:34:18]Write i2c OK [12:34:18]MH_I2C_Read... [12:34:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:18]Read from MH i2c: E2 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 [12:34:18]MH_I2C_Read... [12:34:18]Read from MH i2c: E2 03 00 E2 38 00 90 00 8E [12:34:18]RAPDU: 90 00 [12:34:18]wFMCommunicate OK [12:34:18]wFMCommunicate request_size=149 [12:34:18]MH_SAM_APDU [12:34:18]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 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 56 D6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F0 93 00 00 35 04 06 00 29 0E 55 97 35 BD [12:34:18]Write to MH i2c: E2 98 00 E3 38 80 0D 02 02 90 00 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 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 56 D6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F0 93 00 00 35 04 06 00 29 0E 55 97 35 BD 00 00 E7 [12:34:18]Write i2c OK [12:34:18]MH_I2C_Read... [12:34:19]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:34:19]Read from MH i2c: E2 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 03 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 03 00 E3 38 00 90 00 8F [12:34:19]RAPDU: 90 00 [12:34:19]wFMCommunicate OK [12:34:19]wFMCommunicate request_size=4 [12:34:19]MH_SAM_APDU [12:34:19]CAPDU: 80 0D 03 02 [12:34:19]Write to MH i2c: E2 08 00 E4 38 80 0D 03 02 00 00 00 00 97 [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:19]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:34:19]Read from MH i2c: E2 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 0B 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 0B 00 E4 38 00 CF 12 E3 79 BF 53 BF A2 90 00 48 [12:34:19]RAPDU: CF 12 E3 79 BF 53 BF A2 90 00 [12:34:19]wFMCommunicate OK [12:34:19]SAM_PROTO_SignData done [12:34:19]FM_MakeSignedData done [12:34:19]CreateOFDProtocolMessage [12:34:19]wFMCommunicate request_size=4 [12:34:19]MH_SAM_APDU [12:34:19]CAPDU: 80 11 00 00 [12:34:19]Write to MH i2c: E2 08 00 E5 38 80 11 00 00 00 00 00 00 97 [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:19]Read from MH i2c: E2 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 17 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: E2 17 00 E5 38 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E7 [12:34:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:34:19]wFMCommunicate OK [12:34:19]CreateOFDProtocolMessage done [12:34:19]OFDSenderStorePacket 37872 [12:34:19]StoreOFDPacket docnum=37872 [12:34:19]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 32 F2 92 01 64 1E 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 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 56 D6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F0 93 00 00 35 04 06 00 29 0E 55 97 35 BD CF 12 E3 79 BF 53 BF A2 [12:34:19]CheckFolder [12:34:19]dirname=/storage/ofd_packets [12:34:19]CheckFolder done [12:34:19]ProducePacketName [12:34:19]name=ofd_packets/00037872 [12:34:19]NVStorageSaveData ofd_packets/00037872 [12:34:19]File name is /storage/ofd_packets/00037872 [12:34:19]Write 440 bytes [12:34:19]NVStorageSaveData done [12:34:19]OFDSenderStorePacket done [12:34:19]KKMCreateOFDPacket done [12:34:19]NVStorageSaveData kkm_last_timestamp [12:34:19]File name is /storage/kkm_last_timestamp [12:34:19]Write 4 bytes [12:34:19]NVStorageSaveData done [12:34:19]ExternCall_PrintAddStr [12:34:19]wPrintStart [12:34:19]Write to MH i2c: 01 00 00 E6 38 1E [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 07 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 07 00 E6 38 00 00 00 00 00 FF 0F 33 [12:34:19]RasterBufferAndPrint [12:34:19]line Счет N : (3)35172 [12:34:19]line ИНН: 02508201610067 [12:34:19]line Контрольно-Кассовый Чек [12:34:19]line ПРОДАЖА [12:34:19]line Товар: 2000053020015 [12:34:19]line Бумажные стаканы 250мл 1шт [12:34:19]line 1.000 * 7.00 [12:34:19]line = 7.00 [12:34:19]line НДС 12% НСП 1% [12:34:19]line > о реализуемом товаре [12:34:19]line Товар: 46226624 [12:34:19]line Mentos ПВ Клубника 6*100*2 [12:34:19]line 1.000 * 10.00 [12:34:19]line = 10.00 [12:34:19]line НДС 12% НСП 1% [12:34:19]line > о реализуемом товаре [12:34:19]line ИТОГО: 17.00 [12:34:19]line НСП 1% : 0.15 [12:34:19]line НДС 12% : 1.80 [12:34:19]line Наличными: 17.00 [12:34:19]line Безнал.: 0.00 [12:34:19]line Место: АЗС № 126 "Партнер Нефть" [12:34:19]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:34:19]line СНО: Общий режим [12:34:19]line Чек 34 29.10.2024 12:34 [12:34:19]line Смена: 552 ФФД: 1.0 [12:34:19]line ЗНМ: 0300000092 [12:34:19]line РНМ: 0000000000091684 [12:34:19]line Версия ККМ: 001 [12:34:19]line ФМ: 0000000000871841 [12:34:19]line ФД: 37872 [12:34:19]line ФПД: 45141542254013 [12:34:19]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T123430&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37872&fm=45141542254013&tin=02508201610067®Number=0000000000091684&sum=1700 [12:34:19]line 0 [12:34:19]OFD Sender: Processing packet 37872 [packets to send 42, broken 41] [12:34:19]ProducePacketName [12:34:19]name=ofd_packets/00037872 [12:34:19]OFD Sender: To server: pG, [12:34:19]CommunicateWithHost lk.salyk.kg:30040 [12:34:19]ConnectInit lk.salyk.kg [12:34:19]written 0, free lines is 4095 [12:34:19]Write to MH i2c: 01 00 00 15 39 4E [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 07 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: 01 07 00 15 39 00 00 00 00 00 40 0C A1 [12:34:19]RasterBufferAndPrint [12:34:19]line [12:34:19]line [12:34:19]line [12:34:19]line [12:34:19]line [12:34:19]written 0, free lines is 3141 [12:34:19]MH_Cut [12:34:19]Write to MH i2c: D1 01 00 1C 39 01 27 [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: D1 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: D1 01 00 [12:34:19]MH_I2C_Read... [12:34:19]Read from MH i2c: D1 01 00 1C 39 00 26 [12:34:19]Write to MH i2c: 01 00 00 1D 39 56 [12:34:19]Write i2c OK [12:34:19]MH_I2C_Read... [12:34:20]Connected sock=7 [12:34:20]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 32 F2 92 01 64 1E 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 BC 02 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 06 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B4 00 00 00 00 00 07 04 06 00 A4 06 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 56 D6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F0 93 00 00 35 04 06 00 29 0E 55 97 35 BD CF 12 E3 79 BF 53 BF A2 [12:34:20]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 00 A9 47 00 69 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F0 93 00 00 F4 03 04 00 48 81 20 67 B6 04 01 00 00 97 20 1E 5C 62 6F 90 02 [12:34:20]CommunicateWithHost err = 0 [12:34:20]CheckOFDResponse [12:34:20]1017 (14) - 77093643461234 [12:34:20]1041 (16) - 0000000000871841 [12:34:20]1040 (4) - 37872 [12:34:20]1012 (4) - 29.10.2024 06:31 [12:34:20]1206 (1) - 0 [12:34:20]OFD Sender: Remove packet 37872 [12:34:20]ProducePacketName [12:34:20]name=ofd_packets/00037872 [12:34:20]NVStorageDeleteData [12:34:20]*** Cut start [12:34:20]*** Partial cut [12:34:20]*** CUTSNS_PIN = 1 [12:34:20]*** CUTSNS_PIN = 0 [12:34:21]*** Brake cut motor [12:34:21]OFD Sender: No OFD packet to send [12:34:21]Read from MH i2c: 01 [12:34:21]MH_I2C_Read... [12:34:21]*** Stop cut motor [12:34:21]*** Cut end [12:34:21]Read from MH i2c: 01 07 00 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: 01 07 00 1D 39 00 00 00 00 00 FF 0F 6B [12:34:21]process_action close_receipt done [12:34:21]requested_data is exist [12:34:21]produce_requested_data [12:34:21]requested_item fm.sn is exist - process it [12:34:21]wFMCommunicate request_size=4 [12:34:21]MH_SAM_APDU [12:34:21]CAPDU: 80 11 00 00 [12:34:21]Write to MH i2c: E2 08 00 1E 39 80 11 00 00 00 00 00 00 D1 [12:34:21]Write i2c OK [12:34:21]MH_I2C_Read... [12:34:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:34:21]Read from MH i2c: E2 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 17 00 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 17 00 1E 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 21 [12:34:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:34:21]wFMCommunicate OK [12:34:21]requested_item fd.num is exist - process it [12:34:21]SAM_PROTO_GetFieldsCounters [12:34:21]wFMCommunicate request_size=4 [12:34:21]MH_SAM_APDU [12:34:21]CAPDU: 80 13 00 00 [12:34:21]Write to MH i2c: E2 08 00 1F 39 80 13 00 00 00 00 00 00 D4 [12:34:21]Write i2c OK [12:34:21]MH_I2C_Read... [12:34:21]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:34:21]Read from MH i2c: E2 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 62 00 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 62 00 1F 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 08 [12:34:21]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F0 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:34:21]wFMCommunicate OK [12:34:21]SAM_PROTO_GetFieldsCounters done [12:34:21]requested_item shift.num is exist - process it [12:34:21]requested_item shift.opened is exist - process it [12:34:21]req_shift_opened [12:34:21]FM_GetShiftState [12:34:21]SAM_PROTO_GetShiftState [12:34:21]wFMCommunicate request_size=4 [12:34:21]MH_SAM_APDU [12:34:21]CAPDU: 80 13 01 00 [12:34:21]Write to MH i2c: E2 08 00 20 39 80 13 01 00 00 00 00 00 D6 [12:34:21]Write i2c OK [12:34:21]MH_I2C_Read... [12:34:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:34:21]Read from MH i2c: E2 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 0E 00 [12:34:21]MH_I2C_Read... [12:34:21]Read from MH i2c: E2 0E 00 20 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 4C [12:34:21]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:34:21]wFMCommunicate OK [12:34:21]SAM_PROTO_GetShiftState done [12:34:21]FM_GetShiftState done [12:34:21]req_shift_opened done [12:34:21]requested_item shift.open_date is exist - process it [12:34:21]req_shift_open_date [12:34:21]req_shift_open_date done [12:34:21]produce_requested_data done [12:34:21]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37872,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [12:34:21]process_action_free close_receipt [12:34:21]json_value_free [12:34:21]json_value_free done [12:34:21]process_json_proto returns [12:34:21]Send response to host [12:34:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37872,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [12:34:21]free response buf [12:34:21]execute_script done [12:34:21]execute_script returns [12:34:21]free content buf [12:34:21]Sock 9.Close socket [12:34:21]Sock 9.Thread stoped [12:34:26]OFD Sender: No OFD packet to send [12:34:31]OFD Sender: No OFD packet to send [12:34:36]OFD Sender: No OFD packet to send [12:34:41]OFD Sender: No OFD packet to send [12:34:46]OFD Sender: No OFD packet to send [12:34:51]OFD Sender: No OFD packet to send [12:34:56]OFD Sender: No OFD packet to send [12:35:01]OFD Sender: No OFD packet to send [12:35:06]OFD Sender: No OFD packet to send [12:35:11]OFD Sender: No OFD packet to send [12:35:16]OFD Sender: No OFD packet to send [12:35:21]OFD Sender: No OFD packet to send [12:35:26]OFD Sender: No OFD packet to send [12:35:31]OFD Sender: No OFD packet to send [12:35:36]OFD Sender: No OFD packet to send [12:35:41]OFD Sender: No OFD packet to send [12:35:46]OFD Sender: No OFD packet to send [12:35:51]OFD Sender: No OFD packet to send [12:35:56]OFD Sender: No OFD packet to send [12:36:01]OFD Sender: No OFD packet to send [12:36:06]OFD Sender: No OFD packet to send [12:36:11]OFD Sender: No OFD packet to send [12:36:16]OFD Sender: No OFD packet to send [12:36:21]OFD Sender: No OFD packet to send [12:36:26]OFD Sender: No OFD packet to send [12:36:31]OFD Sender: No OFD packet to send [12:36:36]OFD Sender: No OFD packet to send [12:36:41]OFD Sender: No OFD packet to send [12:36:46]OFD Sender: No OFD packet to send [12:36:51]OFD Sender: No OFD packet to send [12:36:56]OFD Sender: No OFD packet to send [12:37:01]OFD Sender: No OFD packet to send [12:37:06]OFD Sender: No OFD packet to send [12:37:11]OFD Sender: No OFD packet to send [12:37:16]OFD Sender: No OFD packet to send [12:37:21]OFD Sender: No OFD packet to send [12:37:26]OFD Sender: No OFD packet to send [12:37:31]OFD Sender: No OFD packet to send [12:37:36]OFD Sender: No OFD packet to send [12:37:41]OFD Sender: No OFD packet to send [12:37:46]OFD Sender: No OFD packet to send [12:37:51]OFD Sender: No OFD packet to send [12:37:56]OFD Sender: No OFD packet to send [12:38:01]OFD Sender: No OFD packet to send [12:38:06]OFD Sender: No OFD packet to send [12:38:11]OFD Sender: No OFD packet to send [12:38:16]OFD Sender: No OFD packet to send [12:38:21]OFD Sender: No OFD packet to send [12:38:26]OFD Sender: No OFD packet to send [12:38:31]OFD Sender: No OFD packet to send [12:38:36]OFD Sender: No OFD packet to send [12:38:41]OFD Sender: No OFD packet to send [12:38:46]OFD Sender: No OFD packet to send [12:38:51]OFD Sender: No OFD packet to send [12:38:56]OFD Sender: No OFD packet to send [12:39:01]OFD Sender: No OFD packet to send [12:39:06]OFD Sender: No OFD packet to send [12:39:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:29]accept exits with 10 [12:40:29]New connection [12:40:29]New thread 3067440484 created [12:40:29]Thread 3067297124 joined [12:40:29]Waiting for new connection... [12:40:29] Sock 10.Parse request [12:40:29]Sock 10.Check first char [12:40:29]Sock 10.First char is OK [12:40:29]request: POST /json_proto HTTP/1.0 [12:40:29]Method: POST [12:40:29]URL: /json_proto [12:40:29]Method is POST - this is cgi request [12:40:29]url: /json_proto [12:40:29]query_string will be loaded in cgi processing [12:40:29]execute_cgi json_proto POST (null) [12:40:29]execute_cgi path=json_proto method=POST [12:40:29]POST find Content-Length [12:40:29]Host: 172.17.40.196:8080 [12:40:29]Content-Length: 852 [12:40:29]Content-Type: application/json [12:40:29] [12:40:29]POST finish read [12:40:29]Found Content-Length = 852 [12:40:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35173", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:40:29]execute_script... [12:40: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)35173", "tax_sys" : 0, "items" : [ { "code": "48744546", "name": "LD Compact Silver", "price" : 134.00, "quantity" : 1.000, "sum" : 134.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 334.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:40:29]POST & json_proto [12:40:29]process_json_proto [12:40:29]json parsed OK: [12:40:29]protocol is kg_v1.0 [12:40:29]action value=close_receipt [12:40:29]process_action close_receipt [12:40:29]cmd_close_receipt [12:40:29]MH_GetDate [12:40:29]Write to MH i2c: F0 00 00 21 39 49 [12:40:29]Write i2c OK [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: F0 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: F0 09 00 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: F0 09 00 21 39 00 CA D7 20 67 5B 68 A1 66 44 [12:40:29]GetLastDocTimeStamp 1730205270 [12:40:29]current date 1730205642 [12:40:29]FM_GetShiftState [12:40:29]SAM_PROTO_GetShiftState [12:40:29]wFMCommunicate request_size=4 [12:40:29]MH_SAM_APDU [12:40:29]CAPDU: 80 13 01 00 [12:40:29]Write to MH i2c: E2 08 00 22 39 80 13 01 00 00 00 00 00 D8 [12:40:29]Write i2c OK [12:40:29]MH_I2C_Read... [12:40:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:29]Read from MH i2c: E2 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: E2 0E 00 [12:40:29]MH_I2C_Read... [12:40:29]Read from MH i2c: E2 0E 00 22 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 4E [12:40:29]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:40:29]wFMCommunicate OK [12:40:29]SAM_PROTO_GetShiftState done [12:40:29]FM_GetShiftState done [12:40:29]opened in 1730160317 [12:40:29]opened+sec_in_day 1730246717 [12:40:29]quantity*price = 13400 [12:40:29]sum+1 = 13401 [12:40:29]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700002085444 Водка Белое золото 0,24л 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 334.00 НСП 1% : 2.96 НДС 12% : 35.47 Наличными: 334.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 35 29.10.2024 12:40 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37873 ФПД: 52805880268236 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T124042&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37873&fm=52805880268236&tin=02508201610067®Number=0000000000091684&sum=33400 0 [12:40:30]StoreToDocumentArchive [12:40:30]shift 552 fd 37873 [12:40:30]save to /storage/0552/doc_00037873 [12:40:30]save last doc name /storage/0552/doc_00037873 to /storage/kkm_last_doc_name [12:40:30]save OK [12:40:30]Clear old archive folders... [12:40:30]ProcessDocumentItem done err = 0, tmpTLVsize=367 [12:40:30]tlvbuf is 00370200 [12:40:30]SAM_PROTO_ClearQueue [12:40:30]wFMCommunicate request_size=4 [12:40:30]MH_SAM_APDU [12:40:30]CAPDU: 80 09 00 00 [12:40:30]Write to MH i2c: E2 08 00 2F 39 80 09 00 00 00 00 00 00 DA [12:40:30]Write i2c OK [12:40:30]MH_I2C_Read... [12:40:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:40:30]Read from MH i2c: E2 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 2F 39 00 90 00 DC [12:40:30]RAPDU: 90 00 [12:40:30]wFMCommunicate OK [12:40:30]SAM_PROTO_ClearQueue done [12:40:30]KKMCreateOFDPacket [12:40:30]OFDProtocolAddRootSTLVToBuf [12:40:30]FM_MakeSignedData [12:40:30]FM_MakeSignedData [12:40:30]SAM_PROTO_SignData [12:40:30]wFMCommunicate request_size=4 [12:40:30]MH_SAM_APDU [12:40:30]CAPDU: 80 0D 01 02 [12:40:30]Write to MH i2c: E2 08 00 30 39 80 0D 01 02 00 00 00 00 E2 [12:40:30]Write i2c OK [12:40:30]MH_I2C_Read... [12:40:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:40:30]Read from MH i2c: E2 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 30 39 00 90 00 DD [12:40:30]RAPDU: 90 00 [12:40:30]wFMCommunicate OK [12:40:30]wFMCommunicate request_size=255 [12:40:30]MH_SAM_APDU [12:40:30]CAPDU: 80 0D 02 02 FA 03 00 6F 01 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 [12:40:30]Write to MH i2c: E2 02 01 31 39 80 0D 02 02 FA 00 03 00 6F 01 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 00 00 31 [12:40:30]Write i2c OK [12:40:30]MH_I2C_Read... [12:40:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:30]Read from MH i2c: E2 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 [12:40:30]MH_I2C_Read... [12:40:30]Read from MH i2c: E2 03 00 31 39 00 90 00 DE [12:40:30]RAPDU: 90 00 [12:40:30]wFMCommunicate OK [12:40:30]wFMCommunicate request_size=126 [12:40:30]MH_SAM_APDU [12:40:30]CAPDU: 80 0D 02 02 79 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 CA D7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F1 93 00 00 35 04 06 00 30 06 D3 BC 45 CC [12:40:30]Write to MH i2c: E2 81 00 32 39 80 0D 02 02 79 00 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 CA D7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F1 93 00 00 35 04 06 00 30 06 D3 BC 45 CC 00 00 C8 [12:40:30]Write i2c OK [12:40:30]MH_I2C_Read... [12:40:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:40:31]Read from MH i2c: E2 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 03 00 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 03 00 32 39 00 90 00 DF [12:40:31]RAPDU: 90 00 [12:40:31]wFMCommunicate OK [12:40:31]wFMCommunicate request_size=4 [12:40:31]MH_SAM_APDU [12:40:31]CAPDU: 80 0D 03 02 [12:40:31]Write to MH i2c: E2 08 00 33 39 80 0D 03 02 00 00 00 00 E7 [12:40:31]Write i2c OK [12:40:31]MH_I2C_Read... [12:40:31]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:40:31]Read from MH i2c: E2 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 0B 00 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 0B 00 33 39 00 90 26 D8 C3 3D 1A FD 97 90 00 24 [12:40:31]RAPDU: 90 26 D8 C3 3D 1A FD 97 90 00 [12:40:31]wFMCommunicate OK [12:40:31]SAM_PROTO_SignData done [12:40:31]FM_MakeSignedData done [12:40:31]CreateOFDProtocolMessage [12:40:31]wFMCommunicate request_size=4 [12:40:31]MH_SAM_APDU [12:40:31]CAPDU: 80 11 00 00 [12:40:31]Write to MH i2c: E2 08 00 34 39 80 11 00 00 00 00 00 00 E7 [12:40:31]Write i2c OK [12:40:31]MH_I2C_Read... [12:40:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:31]Read from MH i2c: E2 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 17 00 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: E2 17 00 34 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 37 [12:40:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:40:31]wFMCommunicate OK [12:40:31]CreateOFDProtocolMessage done [12:40:31]OFDSenderStorePacket 37873 [12:40:31]StoreOFDPacket docnum=37873 [12:40:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 83 01 00 00 05 98 7B 01 A3 95 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 CA D7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F1 93 00 00 35 04 06 00 30 06 D3 BC 45 CC 90 26 D8 C3 3D 1A FD 97 [12:40:31]CheckFolder [12:40:31]dirname=/storage/ofd_packets [12:40:31]CheckFolder done [12:40:31]ProducePacketName [12:40:31]name=ofd_packets/00037873 [12:40:31]NVStorageSaveData ofd_packets/00037873 [12:40:31]File name is /storage/ofd_packets/00037873 [12:40:31]Write 417 bytes [12:40:31]NVStorageSaveData done [12:40:31]OFDSenderStorePacket done [12:40:31]KKMCreateOFDPacket done [12:40:31]NVStorageSaveData kkm_last_timestamp [12:40:31]File name is /storage/kkm_last_timestamp [12:40:31]Write 4 bytes [12:40:31]NVStorageSaveData done [12:40:31]ExternCall_PrintAddStr [12:40:31]wPrintStart [12:40:31]Write to MH i2c: 01 00 00 35 39 6E [12:40:31]Write i2c OK [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: 01 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: 01 07 00 [12:40:31]MH_I2C_Read... [12:40:31]Read from MH i2c: 01 07 00 35 39 00 00 00 00 00 FF 0F 83 [12:40:31]RasterBufferAndPrint [12:40:31]line Счет N : (3)35173 [12:40:31]line ИНН: 02508201610067 [12:40:31]line Контрольно-Кассовый Чек [12:40:31]line ПРОДАЖА [12:40:31]line Товар: 48744546 [12:40:31]line LD Compact Silver [12:40:31]line 1.000 * 134.00 [12:40:31]line = 134.00 [12:40:31]line НДС 12% НСП 1% [12:40:31]line > о реализуемом товаре [12:40:31]line Товар: 4700002085444 [12:40:31]line Водка Белое золото 0,24л [12:40:31]line 1.000 * 200.00 [12:40:31]line = 200.00 [12:40:31]line НДС 12% НСП 1% [12:40:31]line > о реализуемом товаре [12:40:31]line ИТОГО: 334.00 [12:40:31]line НСП 1% : 2.96 [12:40:31]line НДС 12% : 35.47 [12:40:31]line Наличными: 334.00 [12:40:31]line Безнал.: 0.00 [12:40:31]line Место: АЗС № 126 "Партнер Нефть" [12:40:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:40:31]line СНО: Общий режим [12:40:31]line Чек 35 29.10.2024 12:40 [12:40:31]line Смена: 552 ФФД: 1.0 [12:40:31]line ЗНМ: 0300000092 [12:40:31]line РНМ: 0000000000091684 [12:40:31]line Версия ККМ: 001 [12:40:31]line ФМ: 0000000000871841 [12:40:31]line ФД: 37873 [12:40:31]line ФПД: 52805880268236 [12:40:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T124042&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37873&fm=52805880268236&tin=02508201610067®Number=0000000000091684&sum=33400 [12:40:31]line 0 [12:40:31]OFD Sender: Processing packet 37873 [packets to send 42, broken 41] [12:40:31]ProducePacketName [12:40:31]name=ofd_packets/00037873 [12:40:31]OFD Sender: To server: pG, [12:40:31]CommunicateWithHost lk.salyk.kg:30040 [12:40:31]ConnectInit lk.salyk.kg [12:40:31]written 0, free lines is 4095 [12:40:31]Connected sock=9 [12:40:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 83 01 00 00 05 98 7B 01 A3 95 5A 03 01 00 03 00 6F 01 1E 04 01 00 01 23 04 50 00 8A 04 08 00 34 38 37 34 34 35 34 36 06 04 11 00 4C 44 20 43 6F 6D 70 61 63 74 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 34 00 00 00 00 13 04 06 00 58 34 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 82 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DB 0D 00 00 00 00 07 04 06 00 78 82 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 CA D7 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F1 93 00 00 35 04 06 00 30 06 D3 BC 45 CC 90 26 D8 C3 3D 1A FD 97 [12:40:32]Write to MH i2c: 01 00 00 63 39 9C [12:40:32]Write i2c OK [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: 01 [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: 01 07 00 [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: 01 07 00 63 39 00 00 00 00 00 6D 0C 1C [12:40:32]RasterBufferAndPrint [12:40:32]line [12:40:32]line [12:40:32]line [12:40:32]line [12:40:32]line [12:40:32]written 0, free lines is 3190 [12:40:32]MH_Cut [12:40:32]Write to MH i2c: D1 01 00 6A 39 01 75 [12:40:32]Write i2c OK [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: D1 [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: D1 01 00 [12:40:32]MH_I2C_Read... [12:40:32]Read from MH i2c: D1 01 00 6A 39 00 74 [12:40:32]Write to MH i2c: 01 00 00 6B 39 A4 [12:40:32]Write i2c OK [12:40:32]MH_I2C_Read... [12:40:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 39 71 47 00 CC 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F1 93 00 00 F4 03 04 00 BC 82 20 67 B6 04 01 00 00 03 1C 56 1D 2D 72 A6 D2 [12:40:32]CommunicateWithHost err = 0 [12:40:32]CheckOFDResponse [12:40:32]1017 (14) - 77093643461234 [12:40:32]1041 (16) - 0000000000871841 [12:40:32]1040 (4) - 37873 [12:40:32]1012 (4) - 29.10.2024 06:37 [12:40:32]1206 (1) - 0 [12:40:32]OFD Sender: Remove packet 37873 [12:40:32]ProducePacketName [12:40:32]name=ofd_packets/00037873 [12:40:32]NVStorageDeleteData [12:40:32]*** Cut start [12:40:32]*** Partial cut [12:40:32]*** CUTSNS_PIN = 1 [12:40:32]OFD Sender: No OFD packet to send [12:40:32]*** CUTSNS_PIN = 0 [12:40:33]*** Brake cut motor [12:40:33]Read from MH i2c: 01 [12:40:33]MH_I2C_Read... [12:40:33]*** Stop cut motor [12:40:33]*** Cut end [12:40:33]Read from MH i2c: 01 07 00 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: 01 07 00 6B 39 00 00 00 00 00 FF 0F B9 [12:40:33]process_action close_receipt done [12:40:33]requested_data is exist [12:40:33]produce_requested_data [12:40:33]requested_item fm.sn is exist - process it [12:40:33]wFMCommunicate request_size=4 [12:40:33]MH_SAM_APDU [12:40:33]CAPDU: 80 11 00 00 [12:40:33]Write to MH i2c: E2 08 00 6C 39 80 11 00 00 00 00 00 00 1F [12:40:33]Write i2c OK [12:40:33]MH_I2C_Read... [12:40:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:40:33]Read from MH i2c: E2 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 17 00 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 17 00 6C 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6F [12:40:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:40:33]wFMCommunicate OK [12:40:33]requested_item fd.num is exist - process it [12:40:33]SAM_PROTO_GetFieldsCounters [12:40:33]wFMCommunicate request_size=4 [12:40:33]MH_SAM_APDU [12:40:33]CAPDU: 80 13 00 00 [12:40:33]Write to MH i2c: E2 08 00 6D 39 80 13 00 00 00 00 00 00 22 [12:40:33]Write i2c OK [12:40:33]MH_I2C_Read... [12:40:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:40:33]Read from MH i2c: E2 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 62 00 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 62 00 6D 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 5A [12:40:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F1 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:40:33]wFMCommunicate OK [12:40:33]SAM_PROTO_GetFieldsCounters done [12:40:33]requested_item shift.num is exist - process it [12:40:33]requested_item shift.opened is exist - process it [12:40:33]req_shift_opened [12:40:33]FM_GetShiftState [12:40:33]SAM_PROTO_GetShiftState [12:40:33]wFMCommunicate request_size=4 [12:40:33]MH_SAM_APDU [12:40:33]CAPDU: 80 13 01 00 [12:40:33]Write to MH i2c: E2 08 00 6E 39 80 13 01 00 00 00 00 00 24 [12:40:33]Write i2c OK [12:40:33]MH_I2C_Read... [12:40:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:40:33]Read from MH i2c: E2 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 0E 00 [12:40:33]MH_I2C_Read... [12:40:33]Read from MH i2c: E2 0E 00 6E 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9A [12:40:33]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:40:33]wFMCommunicate OK [12:40:33]SAM_PROTO_GetShiftState done [12:40:33]FM_GetShiftState done [12:40:33]req_shift_opened done [12:40:33]requested_item shift.open_date is exist - process it [12:40:33]req_shift_open_date [12:40:33]req_shift_open_date done [12:40:33]produce_requested_data done [12:40:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37873,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [12:40:33]process_action_free close_receipt [12:40:33]json_value_free [12:40:33]json_value_free done [12:40:33]process_json_proto returns [12:40:33]Send response to host [12:40:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37873,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [12:40:33]free response buf [12:40:33]execute_script done [12:40:33]execute_script returns [12:40:33]free content buf [12:40:33]Sock 10.Close socket [12:40:33]Sock 10.Thread stoped [12:40:37]OFD Sender: No OFD packet to send [12:40:42]OFD Sender: No OFD packet to send [12:40:47]OFD Sender: No OFD packet to send [12:40:52]OFD Sender: No OFD packet to send [12:40:57]OFD Sender: No OFD packet to send [12:41:02]OFD Sender: No OFD packet to send [12:41:07]OFD Sender: No OFD packet to send [12:41:12]OFD Sender: No OFD packet to send [12:41:17]OFD Sender: No OFD packet to send [12:41:22]OFD Sender: No OFD packet to send [12:41:27]OFD Sender: No OFD packet to send [12:41:32]OFD Sender: No OFD packet to send [12:41:35]accept exits with 7 [12:41:35]New connection [12:41:35]New thread 3067297124 created [12:41:35]Thread 3067440484 joined [12:41:35]Waiting for new connection... [12:41:35] Sock 7.Parse request [12:41:35]Sock 7.Check first char [12:41:35]Sock 7.First char is OK [12:41:35]request: POST /json_proto HTTP/1.0 [12:41:35]Method: POST [12:41:35]URL: /json_proto [12:41:35]Method is POST - this is cgi request [12:41:35]url: /json_proto [12:41:35]query_string will be loaded in cgi processing [12:41:35]execute_cgi json_proto POST (null) [12:41:35]execute_cgi path=json_proto method=POST [12:41:35]POST find Content-Length [12:41:35]Host: 172.17.40.196:8080 [12:41:35]Content-Length: 887 [12:41:35]Content-Type: application/json [12:41:35] [12:41:35]POST finish read [12:41:35]Found Content-Length = 887 [12:41:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35174", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 193.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:41:35]execute_script... [12:41: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)35174", "tax_sys" : 0, "items" : [ { "code": "4700000310173", "name": "\u0412\u043E\u0434\u0430 \u0410\u0434\u044B\u0433\u0435\u043D\u0435 0,5\u043B \u0431/\u0433", "price" : 39.00, "quantity" : 1.000, "sum" : 39.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46230607", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Richmond Bronze Edition", "price" : 154.00, "quantity" : 1.000, "sum" : 154.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 193.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:41:35]POST & json_proto [12:41:35]process_json_proto [12:41:35]json parsed OK: [12:41:35]protocol is kg_v1.0 [12:41:35]action value=close_receipt [12:41:35]process_action close_receipt [12:41:35]cmd_close_receipt [12:41:35]MH_GetDate [12:41:35]Write to MH i2c: F0 00 00 6F 39 97 [12:41:35]Write i2c OK [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 09 00 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: F0 09 00 6F 39 00 0C D8 20 67 5B 68 A1 66 D5 [12:41:35]GetLastDocTimeStamp 1730205642 [12:41:35]current date 1730205708 [12:41:35]FM_GetShiftState [12:41:35]SAM_PROTO_GetShiftState [12:41:35]wFMCommunicate request_size=4 [12:41:35]MH_SAM_APDU [12:41:35]CAPDU: 80 13 01 00 [12:41:35]Write to MH i2c: E2 08 00 70 39 80 13 01 00 00 00 00 00 26 [12:41:35]Write i2c OK [12:41:35]MH_I2C_Read... [12:41:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:35]Read from MH i2c: E2 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: E2 0E 00 [12:41:35]MH_I2C_Read... [12:41:35]Read from MH i2c: E2 0E 00 70 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9C [12:41:35]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:41:35]wFMCommunicate OK [12:41:35]SAM_PROTO_GetShiftState done [12:41:35]FM_GetShiftState done [12:41:35]opened in 1730160317 [12:41:35]opened+sec_in_day 1730246717 [12:41:35]quantity*price = 3900 [12:41:35]sum+1 = 3901 [12:41:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46230607 Сигареты Richmond Bronze Edition 1.000 * 154.00 = 154.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 193.00 НСП 1% : 1.70 НДС 12% : 20.49 Наличными: 193.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 36 29.10.2024 12:41 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37874 ФПД: 117846815829405 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T124148&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37874&fm=117846815829405&tin=02508201610067®Number=0000000000091684&sum=19300 0 [12:41:36]StoreToDocumentArchive [12:41:36]shift 552 fd 37874 [12:41:36]save to /storage/0552/doc_00037874 [12:41:36]save last doc name /storage/0552/doc_00037874 to /storage/kkm_last_doc_name [12:41:36]save OK [12:41:36]Clear old archive folders... [12:41:36]ProcessDocumentItem done err = 0, tmpTLVsize=384 [12:41:36]tlvbuf is 002E4FD0 [12:41:36]SAM_PROTO_ClearQueue [12:41:36]wFMCommunicate request_size=4 [12:41:36]MH_SAM_APDU [12:41:36]CAPDU: 80 09 00 00 [12:41:36]Write to MH i2c: E2 08 00 7D 39 80 09 00 00 00 00 00 00 28 [12:41:36]Write i2c OK [12:41:36]MH_I2C_Read... [12:41:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:41:36]Read from MH i2c: E2 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 7D 39 00 90 00 2A [12:41:36]RAPDU: 90 00 [12:41:36]wFMCommunicate OK [12:41:36]SAM_PROTO_ClearQueue done [12:41:36]KKMCreateOFDPacket [12:41:36]OFDProtocolAddRootSTLVToBuf [12:41:36]FM_MakeSignedData [12:41:36]FM_MakeSignedData [12:41:36]SAM_PROTO_SignData [12:41:36]wFMCommunicate request_size=4 [12:41:36]MH_SAM_APDU [12:41:36]CAPDU: 80 0D 01 02 [12:41:36]Write to MH i2c: E2 08 00 7E 39 80 0D 01 02 00 00 00 00 30 [12:41:36]Write i2c OK [12:41:36]MH_I2C_Read... [12:41:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:41:36]Read from MH i2c: E2 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 7E 39 00 90 00 2B [12:41:36]RAPDU: 90 00 [12:41:36]wFMCommunicate OK [12:41:36]wFMCommunicate request_size=255 [12:41:36]MH_SAM_APDU [12:41:36]CAPDU: 80 0D 02 02 FA 03 00 80 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [12:41:36]Write to MH i2c: E2 02 01 7F 39 80 0D 02 02 FA 00 03 00 80 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 25 [12:41:36]Write i2c OK [12:41:36]MH_I2C_Read... [12:41:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:36]Read from MH i2c: E2 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 [12:41:36]MH_I2C_Read... [12:41:36]Read from MH i2c: E2 03 00 7F 39 00 90 00 2C [12:41:36]RAPDU: 90 00 [12:41:36]wFMCommunicate OK [12:41:36]wFMCommunicate request_size=143 [12:41:36]MH_SAM_APDU [12:41:36]CAPDU: 80 0D 02 02 8A AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 08 00 00 00 00 07 04 06 00 64 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0C D8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F2 93 00 00 35 04 06 00 6B 2E 59 98 6D 9D [12:41:36]Write to MH i2c: E2 92 00 80 39 80 0D 02 02 8A 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 08 00 00 00 00 07 04 06 00 64 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0C D8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F2 93 00 00 35 04 06 00 6B 2E 59 98 6D 9D 00 00 A8 [12:41:36]Write i2c OK [12:41:36]MH_I2C_Read... [12:41:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:41:37]Read from MH i2c: E2 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 03 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 03 00 80 39 00 90 00 2D [12:41:37]RAPDU: 90 00 [12:41:37]wFMCommunicate OK [12:41:37]wFMCommunicate request_size=4 [12:41:37]MH_SAM_APDU [12:41:37]CAPDU: 80 0D 03 02 [12:41:37]Write to MH i2c: E2 08 00 81 39 80 0D 03 02 00 00 00 00 35 [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:41:37]Read from MH i2c: E2 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 0B 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 0B 00 81 39 00 5D AF EF 4E 26 3D 4B 65 90 00 92 [12:41:37]RAPDU: 5D AF EF 4E 26 3D 4B 65 90 00 [12:41:37]wFMCommunicate OK [12:41:37]SAM_PROTO_SignData done [12:41:37]FM_MakeSignedData done [12:41:37]CreateOFDProtocolMessage [12:41:37]wFMCommunicate request_size=4 [12:41:37]MH_SAM_APDU [12:41:37]CAPDU: 80 11 00 00 [12:41:37]Write to MH i2c: E2 08 00 82 39 80 11 00 00 00 00 00 00 35 [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:37]Read from MH i2c: E2 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 17 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: E2 17 00 82 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 85 [12:41:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:41:37]wFMCommunicate OK [12:41:37]CreateOFDProtocolMessage done [12:41:37]OFDSenderStorePacket 37874 [12:41:37]StoreOFDPacket docnum=37874 [12:41:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 3E 3A 8C 01 61 5E 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 08 00 00 00 00 07 04 06 00 64 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0C D8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F2 93 00 00 35 04 06 00 6B 2E 59 98 6D 9D 5D AF EF 4E 26 3D 4B 65 [12:41:37]CheckFolder [12:41:37]dirname=/storage/ofd_packets [12:41:37]CheckFolder done [12:41:37]ProducePacketName [12:41:37]name=ofd_packets/00037874 [12:41:37]NVStorageSaveData ofd_packets/00037874 [12:41:37]File name is /storage/ofd_packets/00037874 [12:41:37]Write 434 bytes [12:41:37]NVStorageSaveData done [12:41:37]OFDSenderStorePacket done [12:41:37]KKMCreateOFDPacket done [12:41:37]NVStorageSaveData kkm_last_timestamp [12:41:37]File name is /storage/kkm_last_timestamp [12:41:37]Write 4 bytes [12:41:37]NVStorageSaveData done [12:41:37]ExternCall_PrintAddStr [12:41:37]wPrintStart [12:41:37]Write to MH i2c: 01 00 00 83 39 BC [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 07 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 07 00 83 39 00 00 00 00 00 FF 0F D1 [12:41:37]RasterBufferAndPrint [12:41:37]line Счет N : (3)35174 [12:41:37]line ИНН: 02508201610067 [12:41:37]line Контрольно-Кассовый Чек [12:41:37]line ПРОДАЖА [12:41:37]line Товар: 4700000310173 [12:41:37]line Вода Адыгене 0,5л б/г [12:41:37]line 1.000 * 39.00 [12:41:37]line = 39.00 [12:41:37]line НДС 12% НСП 1% [12:41:37]line > о реализуемом товаре [12:41:37]line Товар: 46230607 [12:41:37]line Сигареты Richmond Bronze Edition [12:41:37]line 1.000 * 154.00 [12:41:37]line = 154.00 [12:41:37]line НДС 12% НСП 1% [12:41:37]line > о реализуемом товаре [12:41:37]line ИТОГО: 193.00 [12:41:37]line НСП 1% : 1.70 [12:41:37]line НДС 12% : 20.49 [12:41:37]line Наличными: 193.00 [12:41:37]line Безнал.: 0.00 [12:41:37]line Место: АЗС № 126 "Партнер Нефть" [12:41:37]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:41:37]line СНО: Общий режим [12:41:37]line Чек 36 29.10.2024 12:41 [12:41:37]line Смена: 552 ФФД: 1.0 [12:41:37]line ЗНМ: 0300000092 [12:41:37]line РНМ: 0000000000091684 [12:41:37]line Версия ККМ: 001 [12:41:37]line ФМ: 0000000000871841 [12:41:37]line ФД: 37874 [12:41:37]line ФПД: 117846815829405 [12:41:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T124148&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37874&fm=117846815829405&tin=02508201610067®Number=0000000000091684&sum=19300 [12:41:37]line 0 [12:41:37]OFD Sender: Processing packet 37874 [packets to send 42, broken 41] [12:41:37]ProducePacketName [12:41:37]name=ofd_packets/00037874 [12:41:37]OFD Sender: To server: pG, [12:41:37]CommunicateWithHost lk.salyk.kg:30040 [12:41:37]ConnectInit lk.salyk.kg [12:41:37]written 0, free lines is 4095 [12:41:37]Write to MH i2c: 01 00 00 B2 39 EB [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 07 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: 01 07 00 B2 39 00 00 00 00 00 51 0C 4F [12:41:37]RasterBufferAndPrint [12:41:37]line [12:41:37]line [12:41:37]line [12:41:37]line [12:41:37]line [12:41:37]written 0, free lines is 3159 [12:41:37]MH_Cut [12:41:37]Write to MH i2c: D1 01 00 B9 39 01 C4 [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: D1 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: D1 01 00 [12:41:37]MH_I2C_Read... [12:41:37]Read from MH i2c: D1 01 00 B9 39 00 C3 [12:41:37]Write to MH i2c: 01 00 00 BA 39 F3 [12:41:37]Write i2c OK [12:41:37]MH_I2C_Read... [12:41:38]*** Cut start [12:41:38]*** Partial cut [12:41:38]*** CUTSNS_PIN = 1 [12:41:38]*** CUTSNS_PIN = 0 [12:41:39]*** Brake cut motor [12:41:39]Connected sock=11 [12:41:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 94 01 00 00 3E 3A 8C 01 61 5E 5A 03 01 00 03 00 80 01 1E 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 30 30 33 31 30 31 37 33 06 04 23 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 90 D0 B4 D1 8B D0 B3 D0 B5 D0 BD D0 B5 20 30 2C 35 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 3C 0F 00 00 00 00 13 04 06 00 3C 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 08 00 34 36 32 33 30 36 30 37 06 04 28 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 52 69 63 68 6D 6F 6E 64 20 42 72 6F 6E 7A 65 20 45 64 69 74 69 6F 6E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 3C 00 00 00 00 13 04 06 00 28 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 01 08 00 00 00 00 07 04 06 00 64 4B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 24 00 00 00 F4 03 04 00 0C D8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F2 93 00 00 35 04 06 00 6B 2E 59 98 6D 9D 5D AF EF 4E 26 3D 4B 65 [12:41:39]Read from MH i2c: 01 [12:41:39]MH_I2C_Read... [12:41:39]*** Stop cut motor [12:41:39]*** Cut end [12:41:39]Read from MH i2c: 01 07 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: 01 07 00 BA 39 00 00 00 00 00 FF 0F 08 [12:41:39]process_action close_receipt done [12:41:39]requested_data is exist [12:41:39]produce_requested_data [12:41:39]requested_item fm.sn is exist - process it [12:41:39]wFMCommunicate request_size=4 [12:41:39]MH_SAM_APDU [12:41:39]CAPDU: 80 11 00 00 [12:41:39]Write to MH i2c: E2 08 00 BB 39 80 11 00 00 00 00 00 00 6E [12:41:39]Write i2c OK [12:41:39]MH_I2C_Read... [12:41:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:41:39]Read from MH i2c: E2 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 17 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 17 00 BB 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [12:41:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:41:39]wFMCommunicate OK [12:41:39]requested_item fd.num is exist - process it [12:41:39]SAM_PROTO_GetFieldsCounters [12:41:39]wFMCommunicate request_size=4 [12:41:39]MH_SAM_APDU [12:41:39]CAPDU: 80 13 00 00 [12:41:39]Write to MH i2c: E2 08 00 BC 39 80 13 00 00 00 00 00 00 71 [12:41:39]Write i2c OK [12:41:39]MH_I2C_Read... [12:41:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:41:39]Read from MH i2c: E2 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 62 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 62 00 BC 39 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [12:41:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F2 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:41:39]wFMCommunicate OK [12:41:39]SAM_PROTO_GetFieldsCounters done [12:41:39]requested_item shift.num is exist - process it [12:41:39]requested_item shift.opened is exist - process it [12:41:39]req_shift_opened [12:41:39]FM_GetShiftState [12:41:39]SAM_PROTO_GetShiftState [12:41:39]wFMCommunicate request_size=4 [12:41:39]MH_SAM_APDU [12:41:39]CAPDU: 80 13 01 00 [12:41:39]Write to MH i2c: E2 08 00 BD 39 80 13 01 00 00 00 00 00 73 [12:41:39]Write i2c OK [12:41:39]MH_I2C_Read... [12:41:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:41:39]Read from MH i2c: E2 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 0E 00 [12:41:39]MH_I2C_Read... [12:41:39]Read from MH i2c: E2 0E 00 BD 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E9 [12:41:39]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:41:39]wFMCommunicate OK [12:41:39]SAM_PROTO_GetShiftState done [12:41:39]FM_GetShiftState done [12:41:39]req_shift_opened done [12:41:39]requested_item shift.open_date is exist - process it [12:41:39]req_shift_open_date [12:41:39]req_shift_open_date done [12:41:39]produce_requested_data done [12:41:39]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37874,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [12:41:39]process_action_free close_receipt [12:41:39]json_value_free [12:41:39]json_value_free done [12:41:39]process_json_proto returns [12:41:39]Send response to host [12:41:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37874,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [12:41:39]free response buf [12:41:39]execute_script done [12:41:39]execute_script returns [12:41:39]free content buf [12:41:39]Sock 7.Close socket [12:41:39]Sock 7.Thread stoped [12:41:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 51 61 47 00 2E 3E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F2 93 00 00 F4 03 04 00 FF 82 20 67 B6 04 01 00 00 1B 06 C8 E1 CA 89 13 5B [12:41:39]CommunicateWithHost err = 0 [12:41:39]CheckOFDResponse [12:41:39]1017 (14) - 77093643461234 [12:41:39]1041 (16) - 0000000000871841 [12:41:39]1040 (4) - 37874 [12:41:39]1012 (4) - 29.10.2024 06:38 [12:41:39]1206 (1) - 0 [12:41:39]OFD Sender: Remove packet 37874 [12:41:39]ProducePacketName [12:41:39]name=ofd_packets/00037874 [12:41:39]NVStorageDeleteData [12:41:40]OFD Sender: No OFD packet to send [12:41:45]OFD Sender: No OFD packet to send [12:41:50]OFD Sender: No OFD packet to send [12:41:55]OFD Sender: No OFD packet to send [12:42:00]OFD Sender: No OFD packet to send [12:42:05]OFD Sender: No OFD packet to send [12:42:10]OFD Sender: No OFD packet to send [12:42:15]OFD Sender: No OFD packet to send [12:42:20]OFD Sender: No OFD packet to send [12:42:25]OFD Sender: No OFD packet to send [12:42:30]OFD Sender: No OFD packet to send [12:42:35]OFD Sender: No OFD packet to send [12:42:40]OFD Sender: No OFD packet to send [12:42:45]OFD Sender: No OFD packet to send [12:42:50]OFD Sender: No OFD packet to send [12:42:55]OFD Sender: No OFD packet to send [12:43:00]OFD Sender: No OFD packet to send [12:43:05]OFD Sender: No OFD packet to send [12:43:10]OFD Sender: No OFD packet to send [12:43:15]OFD Sender: No OFD packet to send [12:43:20]OFD Sender: No OFD packet to send [12:43:25]OFD Sender: No OFD packet to send [12:43:30]OFD Sender: No OFD packet to send [12:43:35]OFD Sender: No OFD packet to send [12:43:40]OFD Sender: No OFD packet to send [12:43:45]OFD Sender: No OFD packet to send [12:43:50]OFD Sender: No OFD packet to send [12:43:55]OFD Sender: No OFD packet to send [12:44:00]OFD Sender: No OFD packet to send [12:44:05]OFD Sender: No OFD packet to send [12:44:10]OFD Sender: No OFD packet to send [12:44:15]OFD Sender: No OFD packet to send [12:44:20]OFD Sender: No OFD packet to send [12:44:25]OFD Sender: No OFD packet to send [12:44:30]OFD Sender: No OFD packet to send [12:44:35]OFD Sender: No OFD packet to send [12:44:40]OFD Sender: No OFD packet to send [12:44:45]OFD Sender: No OFD packet to send [12:44:50]OFD Sender: No OFD packet to send [12:44:55]OFD Sender: No OFD packet to send [12:45:00]OFD Sender: No OFD packet to send [12:45:05]OFD Sender: No OFD packet to send [12:45:10]OFD Sender: No OFD packet to send [12:45:15]OFD Sender: No OFD packet to send [12:45:20]OFD Sender: No OFD packet to send [12:45:25]OFD Sender: No OFD packet to send [12:45:30]OFD Sender: No OFD packet to send [12:45:35]OFD Sender: No OFD packet to send [12:45:40]OFD Sender: No OFD packet to send [12:45:45]OFD Sender: No OFD packet to send [12:45:50]OFD Sender: No OFD packet to send [12:45:55]OFD Sender: No OFD packet to send [12:46:00]OFD Sender: No OFD packet to send [12:46:05]OFD Sender: No OFD packet to send [12:46:10]OFD Sender: No OFD packet to send [12:46:15]OFD Sender: No OFD packet to send [12:46:20]OFD Sender: No OFD packet to send [12:46:25]OFD Sender: No OFD packet to send [12:46:30]OFD Sender: No OFD packet to send [12:46:35]OFD Sender: No OFD packet to send [12:46:40]OFD Sender: No OFD packet to send [12:46:45]OFD Sender: No OFD packet to send [12:46:50]OFD Sender: No OFD packet to send [12:46:55]OFD Sender: No OFD packet to send [12:47:00]OFD Sender: No OFD packet to send [12:47:05]OFD Sender: No OFD packet to send [12:47:10]OFD Sender: No OFD packet to send [12:47:15]OFD Sender: No OFD packet to send [12:47:20]OFD Sender: No OFD packet to send [12:47:25]OFD Sender: No OFD packet to send [12:47:30]OFD Sender: No OFD packet to send [12:47:35]OFD Sender: No OFD packet to send [12:47:40]OFD Sender: No OFD packet to send [12:47:45]OFD Sender: No OFD packet to send [12:47:50]OFD Sender: No OFD packet to send [12:47:55]OFD Sender: No OFD packet to send [12:48:00]OFD Sender: No OFD packet to send [12:48:05]OFD Sender: No OFD packet to send [12:48:10]OFD Sender: No OFD packet to send [12:48:15]OFD Sender: No OFD packet to send [12:48:20]OFD Sender: No OFD packet to send [12:48:25]OFD Sender: No OFD packet to send [12:48:30]OFD Sender: No OFD packet to send [12:48:35]OFD Sender: No OFD packet to send [12:48:40]OFD Sender: No OFD packet to send [12:48:45]OFD Sender: No OFD packet to send [12:48:50]OFD Sender: No OFD packet to send [12:48:55]OFD Sender: No OFD packet to send [12:49:00]OFD Sender: No OFD packet to send [12:49:05]OFD Sender: No OFD packet to send [12:49:10]OFD Sender: No OFD packet to send [12:49:15]OFD Sender: No OFD packet to send [12:49:20]OFD Sender: No OFD packet to send [12:49:25]OFD Sender: No OFD packet to send [12:49:30]OFD Sender: No OFD packet to send [12:49:35]OFD Sender: No OFD packet to send [12:49:40]OFD Sender: No OFD packet to send [12:49:45]OFD Sender: No OFD packet to send [12:49:50]OFD Sender: No OFD packet to send [12:49:55]OFD Sender: No OFD packet to send [12:50:00]OFD Sender: No OFD packet to send [12:50:05]OFD Sender: No OFD packet to send [12:50:10]OFD Sender: No OFD packet to send [12:50:15]OFD Sender: No OFD packet to send [12:50:20]OFD Sender: No OFD packet to send [12:50:25]OFD Sender: No OFD packet to send [12:50:30]OFD Sender: No OFD packet to send [12:50:35]OFD Sender: No OFD packet to send [12:50:40]OFD Sender: No OFD packet to send [12:50:45]OFD Sender: No OFD packet to send [12:50:50]OFD Sender: No OFD packet to send [12:50:55]OFD Sender: No OFD packet to send [12:51:00]OFD Sender: No OFD packet to send [12:51:05]OFD Sender: No OFD packet to send [12:51:10]OFD Sender: No OFD packet to send [12:51:15]OFD Sender: No OFD packet to send [12:51:20]OFD Sender: No OFD packet to send [12:51:25]OFD Sender: No OFD packet to send [12:51:30]OFD Sender: No OFD packet to send [12:51:35]OFD Sender: No OFD packet to send [12:51:40]OFD Sender: No OFD packet to send [12:51:45]OFD Sender: No OFD packet to send [12:51:50]OFD Sender: No OFD packet to send [12:51:55]OFD Sender: No OFD packet to send [12:52:00]OFD Sender: No OFD packet to send [12:52:05]OFD Sender: No OFD packet to send [12:52:10]OFD Sender: No OFD packet to send [12:52:15]OFD Sender: No OFD packet to send [12:52:20]OFD Sender: No OFD packet to send [12:52:25]OFD Sender: No OFD packet to send [12:52:30]OFD Sender: No OFD packet to send [12:52:35]OFD Sender: No OFD packet to send [12:52:41]OFD Sender: No OFD packet to send [12:52:46]OFD Sender: No OFD packet to send [12:52:51]OFD Sender: No OFD packet to send [12:52:56]OFD Sender: No OFD packet to send [12:53:01]OFD Sender: No OFD packet to send [12:53:06]OFD Sender: No OFD packet to send [12:53:11]OFD Sender: No OFD packet to send [12:53:16]OFD Sender: No OFD packet to send [12:53:21]OFD Sender: No OFD packet to send [12:53:26]OFD Sender: No OFD packet to send [12:53:31]OFD Sender: No OFD packet to send [12:53:36]OFD Sender: No OFD packet to send [12:53:41]OFD Sender: No OFD packet to send [12:53:46]OFD Sender: No OFD packet to send [12:53:51]OFD Sender: No OFD packet to send [12:53:55]accept exits with 9 [12:53:55]New connection [12:53:55]New thread 3067440484 created [12:53:55]Thread 3067297124 joined [12:53:55]Waiting for new connection... [12:53:55] Sock 9.Parse request [12:53:55]Sock 9.Check first char [12:53:55]Sock 9.First char is OK [12:53:55]request: POST /json_proto HTTP/1.0 [12:53:55]Method: POST [12:53:55]URL: /json_proto [12:53:55]Method is POST - this is cgi request [12:53:55]url: /json_proto [12:53:55]query_string will be loaded in cgi processing [12:53:55]execute_cgi json_proto POST (null) [12:53:55]execute_cgi path=json_proto method=POST [12:53:55]POST find Content-Length [12:53:55]Host: 172.17.40.196:8080 [12:53:55]Content-Length: 571 [12:53:55]Content-Type: application/json [12:53:55] [12:53:55]POST finish read [12:53:55]Found Content-Length = 571 [12:53:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35175", "tax_sys" : 0, "items" : [ { "code": "4904530592034", "name": "TOSHIBA CR2016", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:53:55]execute_script... [12:53:55]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35175", "tax_sys" : 0, "items" : [ { "code": "4904530592034", "name": "TOSHIBA CR2016", "price" : 133.00, "quantity" : 1.000, "sum" : 133.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [12:53:55]POST & json_proto [12:53:55]process_json_proto [12:53:55]json parsed OK: [12:53:55]protocol is kg_v1.0 [12:53:55]action value=close_receipt [12:53:55]process_action close_receipt [12:53:55]cmd_close_receipt [12:53:55]MH_GetDate [12:53:55]Write to MH i2c: F0 00 00 BE 39 E6 [12:53:55]Write i2c OK [12:53:55]MH_I2C_Read... [12:53:55]Read from MH i2c: F0 [12:53:55]MH_I2C_Read... [12:53:55]Read from MH i2c: F0 09 00 [12:53:55]MH_I2C_Read... [12:53:55]Read from MH i2c: F0 09 00 BE 39 00 F0 DA 20 67 5B 68 A1 66 0A [12:53:55]GetLastDocTimeStamp 1730205708 [12:53:55]current date 1730206448 [12:53:55]FM_GetShiftState [12:53:55]SAM_PROTO_GetShiftState [12:53:55]wFMCommunicate request_size=4 [12:53:55]MH_SAM_APDU [12:53:55]CAPDU: 80 13 01 00 [12:53:55]Write to MH i2c: E2 08 00 BF 39 80 13 01 00 00 00 00 00 75 [12:53:55]Write i2c OK [12:53:55]MH_I2C_Read... [12:53:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:55]Read from MH i2c: E2 [12:53:55]MH_I2C_Read... [12:53:55]Read from MH i2c: E2 0E 00 [12:53:55]MH_I2C_Read... [12:53:55]Read from MH i2c: E2 0E 00 BF 39 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 EB [12:53:55]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:53:55]wFMCommunicate OK [12:53:55]SAM_PROTO_GetShiftState done [12:53:55]FM_GetShiftState done [12:53:55]opened in 1730160317 [12:53:55]opened+sec_in_day 1730246717 [12:53:55]quantity*price = 13300 [12:53:55]sum+1 = 13301 [12:53:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 133.00 НСП 1% : 1.18 НДС 12% : 14.12 Наличными: 133.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 37 29.10.2024 12:54 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37875 ФПД: 184648874097203 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T125408&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37875&fm=184648874097203&tin=02508201610067®Number=0000000000091684&sum=13300 0 [12:53:56]StoreToDocumentArchive [12:53:56]shift 552 fd 37875 [12:53:56]save to /storage/0552/doc_00037875 [12:53:56]save last doc name /storage/0552/doc_00037875 to /storage/kkm_last_doc_name [12:53:56]save OK [12:53:56]Clear old archive folders... [12:53:56]ProcessDocumentItem done err = 0, tmpTLVsize=256 [12:53:56]tlvbuf is 00314670 [12:53:56]SAM_PROTO_ClearQueue [12:53:56]wFMCommunicate request_size=4 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 09 00 00 [12:53:56]Write to MH i2c: E2 08 00 CC 39 80 09 00 00 00 00 00 00 77 [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 CC 39 00 90 00 79 [12:53:56]RAPDU: 90 00 [12:53:56]wFMCommunicate OK [12:53:56]SAM_PROTO_ClearQueue done [12:53:56]KKMCreateOFDPacket [12:53:56]OFDProtocolAddRootSTLVToBuf [12:53:56]FM_MakeSignedData [12:53:56]FM_MakeSignedData [12:53:56]SAM_PROTO_SignData [12:53:56]wFMCommunicate request_size=4 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 0D 01 02 [12:53:56]Write to MH i2c: E2 08 00 CD 39 80 0D 01 02 00 00 00 00 7F [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 CD 39 00 90 00 7A [12:53:56]RAPDU: 90 00 [12:53:56]wFMCommunicate OK [12:53:56]wFMCommunicate request_size=255 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 0D 02 02 FA 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 F0 DA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F3 93 00 00 [12:53:56]Write to MH i2c: E2 02 01 CE 39 80 0D 02 02 FA 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 F0 DA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F3 93 00 00 00 00 C0 [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 CE 39 00 90 00 7B [12:53:56]RAPDU: 90 00 [12:53:56]wFMCommunicate OK [12:53:56]wFMCommunicate request_size=15 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 0D 02 02 0A 35 04 06 00 A7 EF EA 8C 7A 33 [12:53:56]Write to MH i2c: E2 12 00 CF 39 80 0D 02 02 0A 00 35 04 06 00 A7 EF EA 8C 7A 33 00 00 8E [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 03 00 CF 39 00 90 00 7C [12:53:56]RAPDU: 90 00 [12:53:56]wFMCommunicate OK [12:53:56]wFMCommunicate request_size=4 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 0D 03 02 [12:53:56]Write to MH i2c: E2 08 00 D0 39 80 0D 03 02 00 00 00 00 84 [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 0B 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 0B 00 D0 39 00 1B FA 0E 53 11 A1 A4 6E 90 00 BF [12:53:56]RAPDU: 1B FA 0E 53 11 A1 A4 6E 90 00 [12:53:56]wFMCommunicate OK [12:53:56]SAM_PROTO_SignData done [12:53:56]FM_MakeSignedData done [12:53:56]CreateOFDProtocolMessage [12:53:56]wFMCommunicate request_size=4 [12:53:56]MH_SAM_APDU [12:53:56]CAPDU: 80 11 00 00 [12:53:56]Write to MH i2c: E2 08 00 D1 39 80 11 00 00 00 00 00 00 84 [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:56]Read from MH i2c: E2 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 17 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: E2 17 00 D1 39 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D4 [12:53:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:53:56]wFMCommunicate OK [12:53:56]CreateOFDProtocolMessage done [12:53:56]OFDSenderStorePacket 37875 [12:53:56]StoreOFDPacket docnum=37875 [12:53:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 14 01 00 00 92 83 0C 01 C1 CC 5A 03 01 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 F0 DA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F3 93 00 00 35 04 06 00 A7 EF EA 8C 7A 33 1B FA 0E 53 11 A1 A4 6E [12:53:56]CheckFolder [12:53:56]dirname=/storage/ofd_packets [12:53:56]CheckFolder done [12:53:56]ProducePacketName [12:53:56]name=ofd_packets/00037875 [12:53:56]NVStorageSaveData ofd_packets/00037875 [12:53:56]File name is /storage/ofd_packets/00037875 [12:53:56]Write 306 bytes [12:53:56]NVStorageSaveData done [12:53:56]OFDSenderStorePacket done [12:53:56]KKMCreateOFDPacket done [12:53:56]NVStorageSaveData kkm_last_timestamp [12:53:56]File name is /storage/kkm_last_timestamp [12:53:56]Write 4 bytes [12:53:56]NVStorageSaveData done [12:53:56]ExternCall_PrintAddStr [12:53:56]wPrintStart [12:53:56]Write to MH i2c: 01 00 00 D2 39 0B [12:53:56]Write i2c OK [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: 01 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: 01 07 00 [12:53:56]MH_I2C_Read... [12:53:56]Read from MH i2c: 01 07 00 D2 39 00 00 00 00 00 FF 0F 20 [12:53:56]RasterBufferAndPrint [12:53:56]line Счет N : (3)35175 [12:53:56]line ИНН: 02508201610067 [12:53:56]line Контрольно-Кассовый Чек [12:53:56]line ПРОДАЖА [12:53:56]line Товар: 4904530592034 [12:53:56]line TOSHIBA CR2016 [12:53:56]line 1.000 * 133.00 [12:53:56]line = 133.00 [12:53:56]line НДС 12% НСП 1% [12:53:56]line > о реализуемом товаре [12:53:56]line ИТОГО: 133.00 [12:53:56]line НСП 1% : 1.18 [12:53:56]line НДС 12% : 14.12 [12:53:56]line Наличными: 133.00 [12:53:56]line Безнал.: 0.00 [12:53:56]line Место: АЗС № 126 "Партнер Нефть" [12:53:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [12:53:56]line СНО: Общий режим [12:53:56]line Чек 37 29.10.2024 12:54 [12:53:56]line Смена: 552 ФФД: 1.0 [12:53:56]line ЗНМ: 0300000092 [12:53:56]line РНМ: 0000000000091684 [12:53:56]line Версия ККМ: 001 [12:53:56]line ФМ: 0000000000871841 [12:53:56]line ФД: 37875 [12:53:56]line ФПД: 184648874097203 [12:53:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T125408&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37875&fm=184648874097203&tin=02508201610067®Number=0000000000091684&sum=13300 [12:53:56]OFD Sender: Processing packet 37875 [packets to send 42, broken 41] [12:53:56]ProducePacketName [12:53:56]name=ofd_packets/00037875 [12:53:56]OFD Sender: To server: pG, [12:53:56]CommunicateWithHost lk.salyk.kg:30040 [12:53:56]ConnectInit lk.salyk.kg [12:53:57]line 0 [12:53:57]written 0, free lines is 4095 [12:53:57]Write to MH i2c: 01 00 00 FA 39 33 [12:53:57]Write i2c OK [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: 01 [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: 01 07 00 [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: 01 07 00 FA 39 00 00 00 00 00 DF 0C 25 [12:53:57]RasterBufferAndPrint [12:53:57]line [12:53:57]line [12:53:57]line [12:53:57]line [12:53:57]line [12:53:57]written 0, free lines is 3301 [12:53:57]MH_Cut [12:53:57]Write to MH i2c: D1 01 00 01 3A 01 0D [12:53:57]Write i2c OK [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: D1 [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: D1 01 00 [12:53:57]MH_I2C_Read... [12:53:57]Read from MH i2c: D1 01 00 01 3A 00 0C [12:53:57]Write to MH i2c: 01 00 00 02 3A 3C [12:53:57]Write i2c OK [12:53:57]MH_I2C_Read... [12:53:58]*** Cut start [12:53:58]*** Partial cut [12:53:58]*** CUTSNS_PIN = 1 [12:53:58]*** CUTSNS_PIN = 0 [12:53:58]*** Brake cut motor [12:53:58]Connected sock=11 [12:53:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 14 01 00 00 92 83 0C 01 C1 CC 5A 03 01 00 03 00 00 01 1E 04 01 00 01 23 04 52 00 8A 04 0D 00 34 39 30 34 35 33 30 35 39 32 30 33 34 06 04 0E 00 54 4F 53 48 49 42 41 20 43 52 32 30 31 36 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 F4 33 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 25 00 00 00 F4 03 04 00 F0 DA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F3 93 00 00 35 04 06 00 A7 EF EA 8C 7A 33 1B FA 0E 53 11 A1 A4 6E [12:53:58]Read from MH i2c: 01 [12:53:58]MH_I2C_Read... [12:53:58]Read from MH i2c: 01 07 00 [12:53:58]MH_I2C_Read... [12:53:58]*** Stop cut motor [12:53:58]*** Cut end [12:53:58]Read from MH i2c: 01 07 00 02 3A 00 00 00 00 00 FF 0F 51 [12:53:58]process_action close_receipt done [12:53:58]requested_data is exist [12:53:58]produce_requested_data [12:53:58]requested_item fm.sn is exist - process it [12:53:58]wFMCommunicate request_size=4 [12:53:58]MH_SAM_APDU [12:53:58]CAPDU: 80 11 00 00 [12:53:58]Write to MH i2c: E2 08 00 03 3A 80 11 00 00 00 00 00 00 B7 [12:53:58]Write i2c OK [12:53:58]MH_I2C_Read... [12:53:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:53:59]Read from MH i2c: E2 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 17 00 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 17 00 03 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 07 [12:53:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [12:53:59]wFMCommunicate OK [12:53:59]requested_item fd.num is exist - process it [12:53:59]SAM_PROTO_GetFieldsCounters [12:53:59]wFMCommunicate request_size=4 [12:53:59]MH_SAM_APDU [12:53:59]CAPDU: 80 13 00 00 [12:53:59]Write to MH i2c: E2 08 00 04 3A 80 13 00 00 00 00 00 00 BA [12:53:59]Write i2c OK [12:53:59]MH_I2C_Read... [12:53:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:53:59]Read from MH i2c: E2 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 62 00 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 62 00 04 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 FA [12:53:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F3 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [12:53:59]wFMCommunicate OK [12:53:59]SAM_PROTO_GetFieldsCounters done [12:53:59]requested_item shift.num is exist - process it [12:53:59]requested_item shift.opened is exist - process it [12:53:59]req_shift_opened [12:53:59]FM_GetShiftState [12:53:59]SAM_PROTO_GetShiftState [12:53:59]wFMCommunicate request_size=4 [12:53:59]MH_SAM_APDU [12:53:59]CAPDU: 80 13 01 00 [12:53:59]Write to MH i2c: E2 08 00 05 3A 80 13 01 00 00 00 00 00 BC [12:53:59]Write i2c OK [12:53:59]MH_I2C_Read... [12:53:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:53:59]Read from MH i2c: E2 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 0E 00 [12:53:59]MH_I2C_Read... [12:53:59]Read from MH i2c: E2 0E 00 05 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 32 [12:53:59]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [12:53:59]wFMCommunicate OK [12:53:59]SAM_PROTO_GetShiftState done [12:53:59]FM_GetShiftState done [12:53:59]req_shift_opened done [12:53:59]requested_item shift.open_date is exist - process it [12:53:59]req_shift_open_date [12:53:59]req_shift_open_date done [12:53:59]produce_requested_data done [12:53:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37875,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [12:53:59]process_action_free close_receipt [12:53:59]json_value_free [12:53:59]json_value_free done [12:53:59]process_json_proto returns [12:53:59]Send response to host [12:53:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37875,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [12:53:59]free response buf [12:53:59]execute_script done [12:53:59]execute_script returns [12:53:59]free content buf [12:53:59]Sock 9.Close socket [12:53:59]Sock 9.Thread stoped [12:53:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 45 2C 47 00 C8 38 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F3 93 00 00 F4 03 04 00 E3 85 20 67 B6 04 01 00 00 5F 11 5D 5B 13 98 35 5F [12:53:59]CommunicateWithHost err = 0 [12:53:59]CheckOFDResponse [12:53:59]1017 (14) - 77093643461234 [12:53:59]1041 (16) - 0000000000871841 [12:53:59]1040 (4) - 37875 [12:53:59]1012 (4) - 29.10.2024 06:51 [12:53:59]1206 (1) - 0 [12:53:59]OFD Sender: Remove packet 37875 [12:53:59]ProducePacketName [12:53:59]name=ofd_packets/00037875 [12:53:59]NVStorageDeleteData [12:53:59]OFD Sender: No OFD packet to send [12:54:04]OFD Sender: No OFD packet to send [12:54:09]OFD Sender: No OFD packet to send [12:54:14]OFD Sender: No OFD packet to send [12:54:19]OFD Sender: No OFD packet to send [12:54:24]OFD Sender: No OFD packet to send [12:54:29]OFD Sender: No OFD packet to send [12:54:34]OFD Sender: No OFD packet to send [12:54:39]OFD Sender: No OFD packet to send [12:54:44]OFD Sender: No OFD packet to send [12:54:49]OFD Sender: No OFD packet to send [12:54:54]OFD Sender: No OFD packet to send [12:54:59]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:30]OFD Sender: No OFD packet to send [12:56:35]OFD Sender: No OFD packet to send [12:56:40]OFD Sender: No OFD packet to send [12:56:45]OFD Sender: No OFD packet to send [12:56:50]OFD Sender: No OFD packet to send [12:56:55]OFD Sender: No OFD packet to send [12:57:00]OFD Sender: No OFD packet to send [12:57:05]OFD Sender: No OFD packet to send [12:57:10]OFD Sender: No OFD packet to send [12:57:15]OFD Sender: No OFD packet to send [12:57:20]OFD Sender: No OFD packet to send [12:57:25]OFD Sender: No OFD packet to send [12:57:30]OFD Sender: No OFD packet to send [12:57:35]OFD Sender: No OFD packet to send [12:57:40]OFD Sender: No OFD packet to send [12:57:45]OFD Sender: No OFD packet to send [12:57:50]OFD Sender: No OFD packet to send [12:57:55]OFD Sender: No OFD packet to send [12:58:00]OFD Sender: No OFD packet to send [12:58:05]OFD Sender: No OFD packet to send [12:58:10]OFD Sender: No OFD packet to send [12:58:15]OFD Sender: No OFD packet to send [12:58:20]OFD Sender: No OFD packet to send [12:58:25]OFD Sender: No OFD packet to send [12:58:30]OFD Sender: No OFD packet to send [12:58:35]OFD Sender: No OFD packet to send [12:58:40]OFD Sender: No OFD packet to send [12:58:45]OFD Sender: No OFD packet to send [12:58:50]OFD Sender: No OFD packet to send [12:58:55]OFD Sender: No OFD packet to send [12:59:00]OFD Sender: No OFD packet to send [12:59:05]OFD Sender: No OFD packet to send [12:59:10]OFD Sender: No OFD packet to send [12:59:15]OFD Sender: No OFD packet to send [12:59:20]OFD Sender: No OFD packet to send [12:59:25]OFD Sender: No OFD packet to send [12:59:30]OFD Sender: No OFD packet to send [12:59:35]OFD Sender: No OFD packet to send [12:59:40]OFD Sender: No OFD packet to send [12:59:45]OFD Sender: No OFD packet to send [12:59:50]OFD Sender: No OFD packet to send [12:59:55]OFD Sender: No OFD packet to send [13:00:00]OFD Sender: No OFD packet to send [13:00:05]OFD Sender: No OFD packet to send [13:00:10]OFD Sender: No OFD packet to send [13:00:15]OFD Sender: No OFD packet to send [13:00:20]OFD Sender: No OFD packet to send [13:00:25]OFD Sender: No OFD packet to send [13:00:30]OFD Sender: No OFD packet to send [13:00:35]OFD Sender: No OFD packet to send [13:00:40]OFD Sender: No OFD packet to send [13:00:45]OFD Sender: No OFD packet to send [13:00:50]OFD Sender: No OFD packet to send [13:00:55]OFD Sender: No OFD packet to send [13:01:00]OFD Sender: No OFD packet to send [13:01:05]OFD Sender: No OFD packet to send [13:01:10]OFD Sender: No OFD packet to send [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02:45]OFD Sender: No OFD packet to send [13:02:50]OFD Sender: No OFD packet to send [13:02:55]OFD Sender: No OFD packet to send [13:03:00]OFD Sender: No OFD packet to send [13:03:05]OFD Sender: No OFD packet to send [13:03:10]OFD Sender: No OFD packet to send [13:03:15]OFD Sender: No OFD packet to send [13:03:20]OFD Sender: No OFD packet to send [13:03:25]OFD Sender: No OFD packet to send [13:03:30]OFD Sender: No OFD packet to send [13:03:35]OFD Sender: No OFD packet to send [13:03:40]OFD Sender: No OFD packet to send [13:03:45]OFD Sender: No OFD packet to send [13:03:50]OFD Sender: No OFD packet to send [13:03:55]OFD Sender: No OFD packet to send [13:04:00]OFD Sender: No OFD packet to send [13:04:05]OFD Sender: No OFD packet to send [13:04:10]OFD Sender: No OFD packet to send [13:04:15]OFD Sender: No OFD packet to send [13:04:20]OFD Sender: No OFD packet to send [13:04:25]OFD Sender: No OFD packet to send [13:04:30]OFD Sender: No OFD packet to send [13:04:35]OFD Sender: No OFD packet to send [13:04:40]OFD Sender: No OFD packet to send [13:04:45]OFD Sender: No OFD packet to send [13:04:50]OFD Sender: No OFD packet to send [13:04:55]OFD Sender: No OFD packet to send [13:05:00]OFD Sender: No OFD packet to send [13:05:05]OFD Sender: No OFD packet to send [13:05:10]OFD Sender: No OFD packet to send [13:05:15]OFD Sender: No OFD packet to send [13:05:20]OFD Sender: No OFD packet to send [13:05:21]accept exits with 7 [13:05:21]New connection [13:05:21]New thread 3067297124 created [13:05:21]Thread 3067440484 joined [13:05:21]Waiting for new connection... [13:05:21] Sock 7.Parse request [13:05:21]Sock 7.Check first char [13:05:21]Sock 7.First char is OK [13:05:21]request: POST /json_proto HTTP/1.0 [13:05:21]Method: POST [13:05:21]URL: /json_proto [13:05:21]Method is POST - this is cgi request [13:05:21]url: /json_proto [13:05:21]query_string will be loaded in cgi processing [13:05:21]execute_cgi json_proto POST (null) [13:05:21]execute_cgi path=json_proto method=POST [13:05:21]POST find Content-Length [13:05:21]Host: 172.17.40.196:8080 [13:05:21]Content-Length: 657 [13:05:21]Content-Type: application/json [13:05:21] [13:05:21]POST finish read [13:05:21]Found Content-Length = 657 [13:05:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35176", "tax_sys" : 0, "items" : [ { "code": "2500216880017", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:05:21]execute_script... [13:05:21]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35176", "tax_sys" : 0, "items" : [ { "code": "2500216880017", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 90.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:05:21]POST & json_proto [13:05:21]process_json_proto [13:05:21]json parsed OK: [13:05:21]protocol is kg_v1.0 [13:05:21]action value=close_receipt [13:05:21]process_action close_receipt [13:05:21]cmd_close_receipt [13:05:21]MH_GetDate [13:05:21]Write to MH i2c: F0 00 00 06 3A 2F [13:05:21]Write i2c OK [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: F0 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: F0 09 00 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: F0 09 00 06 3A 00 9E DD 20 67 5B 68 A1 66 04 [13:05:21]GetLastDocTimeStamp 1730206448 [13:05:21]current date 1730207134 [13:05:21]FM_GetShiftState [13:05:21]SAM_PROTO_GetShiftState [13:05:21]wFMCommunicate request_size=4 [13:05:21]MH_SAM_APDU [13:05:21]CAPDU: 80 13 01 00 [13:05:21]Write to MH i2c: E2 08 00 07 3A 80 13 01 00 00 00 00 00 BE [13:05:21]Write i2c OK [13:05:21]MH_I2C_Read... [13:05:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:21]Read from MH i2c: E2 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: E2 0E 00 [13:05:21]MH_I2C_Read... [13:05:21]Read from MH i2c: E2 0E 00 07 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 34 [13:05:21]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:05:21]wFMCommunicate OK [13:05:21]SAM_PROTO_GetShiftState done [13:05:21]FM_GetShiftState done [13:05:21]opened in 1730160317 [13:05:21]opened+sec_in_day 1730246717 [13:05:21]quantity*price = 9000 [13:05:21]sum+1 = 9001 [13:05:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 90.00 НСП 1% : 0.80 НДС 12% : 9.56 Наличными: 90.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 38 29.10.2024 13:05 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37876 ФПД: 226970663049603 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T130534&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37876&fm=226970663049603&tin=02508201610067®Number=0000000000091684&sum=9000 0 [13:05:22]StoreToDocumentArchive [13:05:22]shift 552 fd 37876 [13:05:22]save to /storage/0552/doc_00037876 [13:05:22]save last doc name /storage/0552/doc_00037876 to /storage/kkm_last_doc_name [13:05:22]save OK [13:05:22]Clear old archive folders... [13:05:22]ProcessDocumentItem done err = 0, tmpTLVsize=281 [13:05:22]tlvbuf is 0036AB50 [13:05:22]SAM_PROTO_ClearQueue [13:05:22]wFMCommunicate request_size=4 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 09 00 00 [13:05:22]Write to MH i2c: E2 08 00 14 3A 80 09 00 00 00 00 00 00 C0 [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 14 3A 00 90 00 C2 [13:05:22]RAPDU: 90 00 [13:05:22]wFMCommunicate OK [13:05:22]SAM_PROTO_ClearQueue done [13:05:22]KKMCreateOFDPacket [13:05:22]OFDProtocolAddRootSTLVToBuf [13:05:22]FM_MakeSignedData [13:05:22]FM_MakeSignedData [13:05:22]SAM_PROTO_SignData [13:05:22]wFMCommunicate request_size=4 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 0D 01 02 [13:05:22]Write to MH i2c: E2 08 00 15 3A 80 0D 01 02 00 00 00 00 C8 [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 15 3A 00 90 00 C3 [13:05:22]RAPDU: 90 00 [13:05:22]wFMCommunicate OK [13:05:22]wFMCommunicate request_size=255 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9E DD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [13:05:22]Write to MH i2c: E2 02 01 16 3A 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9E DD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 8A [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 16 3A 00 90 00 C4 [13:05:22]RAPDU: 90 00 [13:05:22]wFMCommunicate OK [13:05:22]wFMCommunicate request_size=40 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F4 93 00 00 35 04 06 00 CE 6D B9 BE D9 83 [13:05:22]Write to MH i2c: E2 2B 00 17 3A 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F4 93 00 00 35 04 06 00 CE 6D B9 BE D9 83 00 00 1A [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 03 00 17 3A 00 90 00 C5 [13:05:22]RAPDU: 90 00 [13:05:22]wFMCommunicate OK [13:05:22]wFMCommunicate request_size=4 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 0D 03 02 [13:05:22]Write to MH i2c: E2 08 00 18 3A 80 0D 03 02 00 00 00 00 CD [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 0B 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 0B 00 18 3A 00 55 78 54 04 04 0B 41 AE 90 00 F1 [13:05:22]RAPDU: 55 78 54 04 04 0B 41 AE 90 00 [13:05:22]wFMCommunicate OK [13:05:22]SAM_PROTO_SignData done [13:05:22]FM_MakeSignedData done [13:05:22]CreateOFDProtocolMessage [13:05:22]wFMCommunicate request_size=4 [13:05:22]MH_SAM_APDU [13:05:22]CAPDU: 80 11 00 00 [13:05:22]Write to MH i2c: E2 08 00 19 3A 80 11 00 00 00 00 00 00 CD [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:05:22]Read from MH i2c: E2 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 17 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: E2 17 00 19 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [13:05:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:05:22]wFMCommunicate OK [13:05:22]CreateOFDProtocolMessage done [13:05:22]OFDSenderStorePacket 37876 [13:05:22]StoreOFDPacket docnum=37876 [13:05:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 9D 2C 25 01 C6 2A 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9E DD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F4 93 00 00 35 04 06 00 CE 6D B9 BE D9 83 55 78 54 04 04 0B 41 AE [13:05:22]CheckFolder [13:05:22]dirname=/storage/ofd_packets [13:05:22]CheckFolder done [13:05:22]ProducePacketName [13:05:22]name=ofd_packets/00037876 [13:05:22]NVStorageSaveData ofd_packets/00037876 [13:05:22]File name is /storage/ofd_packets/00037876 [13:05:22]Write 331 bytes [13:05:22]NVStorageSaveData done [13:05:22]OFDSenderStorePacket done [13:05:22]KKMCreateOFDPacket done [13:05:22]NVStorageSaveData kkm_last_timestamp [13:05:22]File name is /storage/kkm_last_timestamp [13:05:22]Write 4 bytes [13:05:22]NVStorageSaveData done [13:05:22]ExternCall_PrintAddStr [13:05:22]wPrintStart [13:05:22]Write to MH i2c: 01 00 00 1A 3A 54 [13:05:22]Write i2c OK [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: 01 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: 01 07 00 [13:05:22]MH_I2C_Read... [13:05:22]Read from MH i2c: 01 07 00 1A 3A 00 00 00 00 00 FF 0F 69 [13:05:22]RasterBufferAndPrint [13:05:22]line Счет N : (3)35176 [13:05:22]line ИНН: 02508201610067 [13:05:22]line Контрольно-Кассовый Чек [13:05:22]line ПРОДАЖА [13:05:22]line Товар: 2500216880017 [13:05:22]line Напиток Кока-Кола 0,25л [13:05:22]line 1.000 * 90.00 [13:05:22]line = 90.00 [13:05:22]line НДС 12% НСП 1% [13:05:22]line > о реализуемом товаре [13:05:22]line ИТОГО: 90.00 [13:05:22]line НСП 1% : 0.80 [13:05:22]line НДС 12% : 9.56 [13:05:22]line Наличными: 90.00 [13:05:22]line Безнал.: 0.00 [13:05:22]line Место: АЗС № 126 "Партнер Нефть" [13:05:22]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:05:22]line СНО: Общий режим [13:05:22]line Чек 38 29.10.2024 13:05 [13:05:22]line Смена: 552 ФФД: 1.0 [13:05:22]line ЗНМ: 0300000092 [13:05:22]line РНМ: 0000000000091684 [13:05:22]line Версия ККМ: 001 [13:05:22]line ФМ: 0000000000871841 [13:05:22]line ФД: 37876 [13:05:22]line ФПД: 226970663049603 [13:05:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T130534&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37876&fm=226970663049603&tin=02508201610067®Number=0000000000091684&sum=9000 [13:05:23]line 0 [13:05:23]OFD Sender: Processing packet 37876 [packets to send 42, broken 41] [13:05:23]ProducePacketName [13:05:23]name=ofd_packets/00037876 [13:05:23]OFD Sender: To server: pG, [13:05:23]CommunicateWithHost lk.salyk.kg:30040 [13:05:23]ConnectInit lk.salyk.kg [13:05:23]written 0, free lines is 4095 [13:05:23]Write to MH i2c: 01 00 00 42 3A 7C [13:05:23]Write i2c OK [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: 01 [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: 01 07 00 [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: 01 07 00 42 3A 00 00 00 00 00 D8 0C 67 [13:05:23]RasterBufferAndPrint [13:05:23]line [13:05:23]line [13:05:23]line [13:05:23]line [13:05:23]line [13:05:23]written 0, free lines is 3294 [13:05:23]MH_Cut [13:05:23]Write to MH i2c: D1 01 00 49 3A 01 55 [13:05:23]Write i2c OK [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: D1 [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: D1 01 00 [13:05:23]MH_I2C_Read... [13:05:23]Read from MH i2c: D1 01 00 49 3A 00 54 [13:05:23]Write to MH i2c: 01 00 00 4A 3A 84 [13:05:23]Write i2c OK [13:05:23]MH_I2C_Read... [13:05:24]Connected sock=11 [13:05:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 9D 2C 25 01 C6 2A 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 32 35 30 30 32 31 36 38 38 30 30 31 37 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 28 23 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BC 03 00 00 00 00 07 04 06 00 28 23 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 9E DD 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F4 93 00 00 35 04 06 00 CE 6D B9 BE D9 83 55 78 54 04 04 0B 41 AE [13:05:24]*** Cut start [13:05:24]*** Partial cut [13:05:24]*** CUTSNS_PIN = 1 [13:05:24]*** CUTSNS_PIN = 0 [13:05:24]*** Brake cut motor [13:05:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 1F 07 47 00 1A BC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F4 93 00 00 F4 03 04 00 90 88 20 67 B6 04 01 00 00 37 19 8B 69 E1 BA 1D 0C [13:05:24]CommunicateWithHost err = 0 [13:05:24]CheckOFDResponse [13:05:24]1017 (14) - 77093643461234 [13:05:24]1041 (16) - 0000000000871841 [13:05:24]1040 (4) - 37876 [13:05:24]1012 (4) - 29.10.2024 07:02 [13:05:24]1206 (1) - 0 [13:05:24]OFD Sender: Remove packet 37876 [13:05:24]ProducePacketName [13:05:24]name=ofd_packets/00037876 [13:05:24]NVStorageDeleteData [13:05:24]Read from MH i2c: 01 [13:05:24]MH_I2C_Read... [13:05:24]*** Stop cut motor [13:05:24]*** Cut end [13:05:24]Read from MH i2c: 01 07 00 [13:05:24]MH_I2C_Read... [13:05:24]Read from MH i2c: 01 07 00 4A 3A 00 00 00 00 00 FF 0F 99 [13:05:24]process_action close_receipt done [13:05:24]requested_data is exist [13:05:24]produce_requested_data [13:05:24]requested_item fm.sn is exist - process it [13:05:24]wFMCommunicate request_size=4 [13:05:24]MH_SAM_APDU [13:05:24]CAPDU: 80 11 00 00 [13:05:24]Write to MH i2c: E2 08 00 4B 3A 80 11 00 00 00 00 00 00 FF [13:05:24]Write i2c OK [13:05:24]MH_I2C_Read... [13:05:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:05:25]Read from MH i2c: E2 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 17 00 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 17 00 4B 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4F [13:05:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:05:25]wFMCommunicate OK [13:05:25]requested_item fd.num is exist - process it [13:05:25]SAM_PROTO_GetFieldsCounters [13:05:25]wFMCommunicate request_size=4 [13:05:25]MH_SAM_APDU [13:05:25]CAPDU: 80 13 00 00 [13:05:25]Write to MH i2c: E2 08 00 4C 3A 80 13 00 00 00 00 00 00 02 [13:05:25]Write i2c OK [13:05:25]MH_I2C_Read... [13:05:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:05:25]Read from MH i2c: E2 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 62 00 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 62 00 4C 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [13:05:25]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F4 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:05:25]wFMCommunicate OK [13:05:25]SAM_PROTO_GetFieldsCounters done [13:05:25]requested_item shift.num is exist - process it [13:05:25]requested_item shift.opened is exist - process it [13:05:25]req_shift_opened [13:05:25]FM_GetShiftState [13:05:25]SAM_PROTO_GetShiftState [13:05:25]wFMCommunicate request_size=4 [13:05:25]MH_SAM_APDU [13:05:25]CAPDU: 80 13 01 00 [13:05:25]Write to MH i2c: E2 08 00 4D 3A 80 13 01 00 00 00 00 00 04 [13:05:25]OFD Sender: No OFD packet to send [13:05:25]Write i2c OK [13:05:25]MH_I2C_Read... [13:05:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:05:25]Read from MH i2c: E2 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 0E 00 [13:05:25]MH_I2C_Read... [13:05:25]Read from MH i2c: E2 0E 00 4D 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7A [13:05:25]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:05:25]wFMCommunicate OK [13:05:25]SAM_PROTO_GetShiftState done [13:05:25]FM_GetShiftState done [13:05:25]req_shift_opened done [13:05:25]requested_item shift.open_date is exist - process it [13:05:25]req_shift_open_date [13:05:25]req_shift_open_date done [13:05:25]produce_requested_data done [13:05:25]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37876,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:05:25]process_action_free close_receipt [13:05:25]json_value_free [13:05:25]json_value_free done [13:05:25]process_json_proto returns [13:05:25]Send response to host [13:05:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37876,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:05:25]free response buf [13:05:25]execute_script done [13:05:25]execute_script returns [13:05:25]free content buf [13:05:25]Sock 7.Close socket [13:05:25]Sock 7.Thread stoped [13:05:30]OFD Sender: No OFD packet to send [13:05:35]OFD Sender: No OFD packet to send [13:05:40]OFD Sender: No OFD packet to send [13:05:45]OFD Sender: No OFD packet to send [13:05:50]OFD Sender: No OFD packet to send [13:05:55]OFD Sender: No OFD packet to send [13:06:00]OFD Sender: No OFD packet to send [13:06:05]OFD Sender: No OFD packet to send [13:06:10]OFD Sender: No OFD packet to send [13:06:15]OFD Sender: No OFD packet to send [13:06:20]OFD Sender: No OFD packet to send [13:06:25]OFD Sender: No OFD packet to send [13:06:30]OFD Sender: No OFD packet to send [13:06:35]OFD Sender: No OFD packet to send [13:06:40]OFD Sender: No OFD packet to send [13:06:45]OFD Sender: No OFD packet to send [13:06:50]OFD Sender: No OFD packet to send [13:06:55]OFD Sender: No OFD packet to send [13:07:00]OFD Sender: No OFD packet to send [13:07:05]OFD Sender: No OFD packet to send [13:07:10]OFD Sender: No OFD packet to send [13:07:15]OFD Sender: No OFD packet to send [13:07:20]OFD Sender: No OFD packet to send [13:07:25]OFD Sender: No OFD packet to send [13:07:30]OFD Sender: No OFD packet to send [13:07:35]OFD Sender: No OFD packet to send [13:07:40]OFD Sender: No OFD packet to send [13:07:45]OFD Sender: No OFD packet to send [13:07:50]OFD Sender: No OFD packet to send [13:07:55]OFD Sender: No OFD packet to send [13:08:00]OFD Sender: No OFD packet to send [13:08:05]OFD Sender: No OFD packet to send [13:08:10]OFD Sender: No OFD packet to send [13:08:15]OFD Sender: No OFD packet to send [13:08:20]OFD Sender: No OFD packet to send [13:08:25]OFD Sender: No OFD packet to send [13:08:30]OFD Sender: No OFD packet to send [13:08:35]OFD Sender: No OFD packet to send [13:08:40]OFD Sender: No OFD packet to send [13:08:45]OFD Sender: No OFD packet to send [13:08:50]OFD Sender: No OFD packet to send [13:08:55]OFD Sender: No OFD packet to send [13:09:00]OFD Sender: No OFD packet to send [13:09:05]OFD Sender: No OFD packet to send [13:09:10]OFD Sender: No OFD packet to send [13:09:15]OFD Sender: No OFD packet to send [13:09:20]OFD Sender: No OFD packet to send [13:09:25]OFD Sender: No OFD packet to send [13:09:30]OFD Sender: No OFD packet to send [13:09:35]OFD Sender: No OFD packet to send [13:09:40]OFD Sender: No OFD packet to send [13:09:45]OFD Sender: No OFD packet to send [13:09:50]OFD Sender: No OFD packet to send [13:09:55]OFD Sender: No OFD packet to send [13:10:00]OFD Sender: No OFD packet to send [13:10:05]OFD Sender: No OFD packet to send [13:10:10]OFD Sender: No OFD packet to send [13:10:15]OFD Sender: No OFD packet to send [13:10:20]OFD Sender: No OFD packet to send [13:10:25]OFD Sender: No OFD packet to send [13:10:30]OFD Sender: No OFD packet to send [13:10:35]OFD Sender: No OFD packet to send [13:10:40]OFD Sender: No OFD packet to send [13:10:45]OFD Sender: No OFD packet to send [13:10:50]OFD Sender: No OFD packet to send [13:10:55]OFD Sender: No OFD packet to send [13:11:00]OFD Sender: No OFD packet to send [13:11:05]OFD Sender: No OFD packet to send [13:11:10]OFD Sender: No OFD packet to send [13:11:15]OFD Sender: No OFD packet to send [13:11:20]OFD Sender: No OFD packet to send [13:11:25]OFD Sender: No OFD packet to send [13:11:30]OFD Sender: No OFD packet to send [13:11:35]OFD Sender: No OFD packet to send [13:11:40]OFD Sender: No OFD packet to send [13:11:45]OFD Sender: No OFD packet to send [13:11:50]OFD Sender: No OFD packet to send [13:11:55]OFD Sender: No OFD packet to send [13:12:00]OFD Sender: No OFD packet to send [13:12:05]OFD Sender: No OFD packet to send [13:12:10]OFD Sender: No OFD packet to send [13:12:15]OFD Sender: No OFD packet to send [13:12:20]OFD Sender: No OFD packet to send [13:12:25]OFD Sender: No OFD packet to send [13:12:30]OFD Sender: No OFD packet to send [13:12:35]OFD Sender: No OFD packet to send [13:12:40]OFD Sender: No OFD packet to send [13:12:45]OFD Sender: No OFD packet to send [13:12:50]OFD Sender: No OFD packet to send [13:12:55]OFD Sender: No OFD packet to send [13:13:00]OFD Sender: No OFD packet to send [13:13:05]OFD Sender: No OFD packet to send [13:13:10]OFD Sender: No OFD packet to send [13:13:15]OFD Sender: No OFD packet to send [13:13:20]OFD Sender: No OFD packet to send [13:13:25]OFD Sender: No OFD packet to send [13:13:30]OFD Sender: No OFD packet to send [13:13:35]OFD Sender: No OFD packet to send [13:13:40]OFD Sender: No OFD packet to send [13:13:45]OFD Sender: No OFD packet to send [13:13:50]OFD Sender: No OFD packet to send [13:13:55]OFD Sender: No OFD packet to send [13:14:00]OFD Sender: No OFD packet to send [13:14:05]OFD Sender: No OFD packet to send [13:14:10]OFD Sender: No OFD packet to send [13:14:15]OFD Sender: No OFD packet to send [13:14:20]OFD Sender: No OFD packet to send [13:14:25]OFD Sender: No OFD packet to send [13:14:30]OFD Sender: No OFD packet to send [13:14:35]OFD Sender: No OFD packet to send [13:14:40]OFD Sender: No OFD packet to send [13:14:45]OFD Sender: No OFD packet to send [13:14:50]OFD Sender: No OFD packet to send [13:14:55]OFD Sender: No OFD packet to send [13:15:00]OFD Sender: No OFD packet to send [13:15:05]OFD Sender: No OFD packet to send [13:15:10]OFD Sender: No OFD packet to send [13:15:15]OFD Sender: No OFD packet to send [13:15:20]OFD Sender: No OFD packet to send [13:15:25]OFD Sender: No OFD packet to send [13:15:30]OFD Sender: No OFD packet to send [13:15:35]OFD Sender: No OFD packet to send [13:15:40]OFD Sender: No OFD packet to send [13:15:45]OFD Sender: No OFD packet to send [13:15:50]OFD Sender: No OFD packet to send [13:15:55]OFD Sender: No OFD packet to send [13:16:00]OFD Sender: No OFD packet to send [13:16:05]OFD Sender: No OFD packet to send [13:16:10]OFD Sender: No OFD packet to send [13:16:15]OFD Sender: No OFD packet to send [13:16:20]OFD Sender: No OFD packet to send [13:16:25]OFD Sender: No OFD packet to send [13:16:30]OFD Sender: No OFD packet to send [13:16:35]OFD Sender: No OFD packet to send [13:16:40]OFD Sender: No OFD packet to send [13:16:45]OFD Sender: No OFD packet to send [13:16:50]OFD Sender: No OFD packet to send [13:16:55]OFD Sender: No OFD packet to send [13:17:00]OFD Sender: No OFD packet to send [13:17:05]OFD Sender: No OFD packet to send [13:17:10]OFD Sender: No OFD packet to send [13:17:15]OFD Sender: No OFD packet to send [13:17:20]OFD Sender: No OFD packet to send [13:17:25]OFD Sender: No OFD packet to send [13:17:30]OFD Sender: No OFD packet to send [13:17:35]OFD Sender: No OFD packet to send [13:17:40]OFD Sender: No OFD packet to send [13:17:45]OFD Sender: No OFD packet to send [13:17:50]OFD Sender: No OFD packet to send [13:17:55]OFD Sender: No OFD packet to send [13:18:00]OFD Sender: No OFD packet to send [13:18:05]OFD Sender: No OFD packet to send [13:18:10]OFD Sender: No OFD packet to send [13:18:15]OFD Sender: No OFD packet to send [13:18:20]OFD Sender: No OFD packet to send [13:18:25]OFD Sender: No OFD packet to send [13:18:30]OFD Sender: No OFD packet to send [13:18:35]OFD Sender: No OFD packet to send [13:18:40]OFD Sender: No OFD packet to send [13:18:45]OFD Sender: No OFD packet to send [13:18:50]OFD Sender: No OFD packet to send [13:18:55]OFD Sender: No OFD packet to send [13:19:00]OFD Sender: No OFD packet to send [13:19:05]OFD Sender: No OFD packet to send [13:19:10]OFD Sender: No OFD packet to send [13:19:15]OFD Sender: No OFD packet to send [13:19:20]OFD Sender: No OFD packet to send [13:19:25]OFD Sender: No OFD packet to send [13:19:30]OFD Sender: No OFD packet to send [13:19:35]OFD Sender: No OFD packet to send [13:19:40]OFD Sender: No OFD packet to send [13:19:45]OFD Sender: No OFD packet to send [13:19:50]OFD Sender: No OFD packet to send [13:19:55]OFD Sender: No OFD packet to send [13:20:00]OFD Sender: No OFD packet to send [13:20:05]OFD Sender: No OFD packet to send [13:20:10]OFD Sender: No OFD packet to send [13:20:15]OFD Sender: No OFD packet to send [13:20:20]OFD Sender: No OFD packet to send [13:20:25]OFD Sender: No OFD packet to send [13:20:31]OFD Sender: No OFD packet to send [13:20:36]OFD Sender: No OFD packet to send [13:20:41]OFD Sender: No OFD packet to send [13:20:46]OFD Sender: No OFD packet to send [13:20:51]OFD Sender: No OFD packet to send [13:20:56]OFD Sender: No OFD packet to send [13:21:01]OFD Sender: No OFD packet to send [13:21:06]OFD Sender: No OFD packet to send [13:21:11]OFD Sender: No OFD packet to send [13:21:16]OFD Sender: No OFD packet to send [13:21:21]OFD Sender: No OFD packet to send [13:21:26]OFD Sender: No OFD packet to send [13:21:31]OFD Sender: No OFD packet to send [13:21:36]OFD Sender: No OFD packet to send [13:21:41]OFD Sender: No OFD packet to send [13:21:46]OFD Sender: No OFD packet to send [13:21:51]OFD Sender: No OFD packet to send [13:21:56]OFD Sender: No OFD packet to send [13:22:01]OFD Sender: No OFD packet to send [13:22:06]OFD Sender: No OFD packet to send [13:22:11]OFD Sender: No OFD packet to send [13:22:16]OFD Sender: No OFD packet to send [13:22:21]OFD Sender: No OFD packet to send [13:22:26]OFD Sender: No OFD packet to send [13:22:31]OFD Sender: No OFD packet to send [13:22:36]OFD Sender: No OFD packet to send [13:22:41]OFD Sender: No OFD packet to send [13:22:46]OFD Sender: No OFD packet to send [13:22:51]OFD Sender: No OFD packet to send [13:22:56]OFD Sender: No OFD packet to send [13:23:01]OFD Sender: No OFD packet to send [13:23:06]OFD Sender: No OFD packet to send [13:23:11]OFD Sender: No OFD packet to send [13:23:16]OFD Sender: No OFD packet to send [13:23:21]OFD Sender: No OFD packet to send [13:23:26]OFD Sender: No OFD packet to send [13:23:31]OFD Sender: No OFD packet to send [13:23:36]OFD Sender: No OFD packet to send [13:23:41]OFD Sender: No OFD packet to send [13:23:46]OFD Sender: No OFD packet to send [13:23:51]OFD Sender: No OFD packet to send [13:23:56]OFD Sender: No OFD packet to send [13:24:01]OFD Sender: No OFD packet to send [13:24:06]OFD Sender: No OFD packet to send [13:24:11]OFD Sender: No OFD packet to send [13:24:16]OFD Sender: No OFD packet to send [13:24:21]OFD Sender: No OFD packet to send [13:24:26]OFD Sender: No OFD packet to send [13:24:31]OFD Sender: No OFD packet to send [13:24:36]OFD Sender: No OFD packet to send [13:24:41]OFD Sender: No OFD packet to send [13:24:44]accept exits with 9 [13:24:44]New connection [13:24:44]New thread 3067440484 created [13:24:44]Thread 3067297124 joined [13:24:44]Waiting for new connection... [13:24:44] Sock 9.Parse request [13:24:44]Sock 9.Check first char [13:24:44]Sock 9.First char is OK [13:24:44]request: POST /json_proto HTTP/1.0 [13:24:44]Method: POST [13:24:44]URL: /json_proto [13:24:44]Method is POST - this is cgi request [13:24:44]url: /json_proto [13:24:44]query_string will be loaded in cgi processing [13:24:44]execute_cgi json_proto POST (null) [13:24:44]execute_cgi path=json_proto method=POST [13:24:44]POST find Content-Length [13:24:44]Host: 172.17.40.196:8080 [13:24:44]Content-Length: 636 [13:24:44]Content-Type: application/json [13:24:44] [13:24:44]POST finish read [13:24:44]Found Content-Length = 636 [13:24:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35177", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:44]execute_script... [13:24: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)35177", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:24:44]POST & json_proto [13:24:44]process_json_proto [13:24:44]json parsed OK: [13:24:44]protocol is kg_v1.0 [13:24:44]action value=close_receipt [13:24:44]process_action close_receipt [13:24:44]cmd_close_receipt [13:24:44]MH_GetDate [13:24:44]Write to MH i2c: F0 00 00 4E 3A 77 [13:24:44]Write i2c OK [13:24:44]MH_I2C_Read... [13:24:44]Read from MH i2c: F0 [13:24:44]MH_I2C_Read... [13:24:44]Read from MH i2c: F0 09 00 [13:24:44]MH_I2C_Read... [13:24:44]Read from MH i2c: F0 09 00 4E 3A 00 2A E2 20 67 5B 68 A1 66 DD [13:24:44]GetLastDocTimeStamp 1730207134 [13:24:44]current date 1730208298 [13:24:44]FM_GetShiftState [13:24:44]SAM_PROTO_GetShiftState [13:24:44]wFMCommunicate request_size=4 [13:24:44]MH_SAM_APDU [13:24:44]CAPDU: 80 13 01 00 [13:24:44]Write to MH i2c: E2 08 00 4F 3A 80 13 01 00 00 00 00 00 06 [13:24:44]Write i2c OK [13:24:44]MH_I2C_Read... [13:24:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:45]Read from MH i2c: E2 [13:24:45]MH_I2C_Read... [13:24:45]Read from MH i2c: E2 0E 00 [13:24:45]MH_I2C_Read... [13:24:45]Read from MH i2c: E2 0E 00 4F 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7C [13:24:45]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:24:45]wFMCommunicate OK [13:24:45]SAM_PROTO_GetShiftState done [13:24:45]FM_GetShiftState done [13:24:45]opened in 1730160317 [13:24:45]opened+sec_in_day 1730246717 [13:24:45]quantity*price = 7000 [13:24:45]sum+1 = 7001 [13:24:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 39 29.10.2024 13:24 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37877 ФПД: 168008527321905 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132458&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37877&fm=168008527321905&tin=02508201610067®Number=0000000000091684&sum=7000 0 [13:24:46]StoreToDocumentArchive [13:24:46]shift 552 fd 37877 [13:24:46]save to /storage/0552/doc_00037877 [13:24:46]save last doc name /storage/0552/doc_00037877 to /storage/kkm_last_doc_name [13:24:46]save OK [13:24:46]Clear old archive folders... [13:24:46]ProcessDocumentItem done err = 0, tmpTLVsize=272 [13:24:46]tlvbuf is 00385280 [13:24:46]SAM_PROTO_ClearQueue [13:24:46]wFMCommunicate request_size=4 [13:24:46]MH_SAM_APDU [13:24:46]CAPDU: 80 09 00 00 [13:24:46]Write to MH i2c: E2 08 00 5C 3A 80 09 00 00 00 00 00 00 08 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 5C 3A 00 90 00 0A [13:24:46]RAPDU: 90 00 [13:24:46]wFMCommunicate OK [13:24:46]SAM_PROTO_ClearQueue done [13:24:46]KKMCreateOFDPacket [13:24:46]OFDProtocolAddRootSTLVToBuf [13:24:46]FM_MakeSignedData [13:24:46]FM_MakeSignedData [13:24:46]SAM_PROTO_SignData [13:24:46]wFMCommunicate request_size=4 [13:24:46]MH_SAM_APDU [13:24:46]CAPDU: 80 0D 01 02 [13:24:46]Write to MH i2c: E2 08 00 5D 3A 80 0D 01 02 00 00 00 00 10 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]OFD Sender: No OFD packet to send [13:24:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 5D 3A 00 90 00 0B [13:24:46]RAPDU: 90 00 [13:24:46]wFMCommunicate OK [13:24:46]wFMCommunicate request_size=255 [13:24:46]MH_SAM_APDU [13:24:46]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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2A E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [13:24:46]Write to MH i2c: E2 02 01 5E 3A 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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2A E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F9 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 5E 3A 00 90 00 0C [13:24:46]RAPDU: 90 00 [13:24:46]wFMCommunicate OK [13:24:46]wFMCommunicate request_size=31 [13:24:46]MH_SAM_APDU [13:24:46]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 F5 93 00 00 35 04 06 00 98 CD 88 97 1B 31 [13:24:46]Write to MH i2c: E2 22 00 5F 3A 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 F5 93 00 00 35 04 06 00 98 CD 88 97 1B 31 00 00 93 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 03 00 5F 3A 00 90 00 0D [13:24:46]RAPDU: 90 00 [13:24:46]wFMCommunicate OK [13:24:46]wFMCommunicate request_size=4 [13:24:46]MH_SAM_APDU [13:24:46]CAPDU: 80 0D 03 02 [13:24:46]Write to MH i2c: E2 08 00 60 3A 80 0D 03 02 00 00 00 00 15 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 0B 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 0B 00 60 3A 00 41 05 95 A2 C9 10 CE 6F 90 00 A9 [13:24:46]RAPDU: 41 05 95 A2 C9 10 CE 6F 90 00 [13:24:46]wFMCommunicate OK [13:24:46]SAM_PROTO_SignData done [13:24:46]FM_MakeSignedData done [13:24:46]CreateOFDProtocolMessage [13:24:46]wFMCommunicate request_size=4 [13:24:46]MH_SAM_APDU [13:24:46]CAPDU: 80 11 00 00 [13:24:46]Write to MH i2c: E2 08 00 61 3A 80 11 00 00 00 00 00 00 15 [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:46]Read from MH i2c: E2 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 17 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: E2 17 00 61 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 65 [13:24:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:24:46]wFMCommunicate OK [13:24:46]CreateOFDProtocolMessage done [13:24:46]OFDSenderStorePacket 37877 [13:24:46]StoreOFDPacket docnum=37877 [13:24:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 7E CF 1C 01 92 FF 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2A E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F5 93 00 00 35 04 06 00 98 CD 88 97 1B 31 41 05 95 A2 C9 10 CE 6F [13:24:46]CheckFolder [13:24:46]dirname=/storage/ofd_packets [13:24:46]CheckFolder done [13:24:46]ProducePacketName [13:24:46]name=ofd_packets/00037877 [13:24:46]NVStorageSaveData ofd_packets/00037877 [13:24:46]File name is /storage/ofd_packets/00037877 [13:24:46]Write 322 bytes [13:24:46]NVStorageSaveData done [13:24:46]OFDSenderStorePacket done [13:24:46]KKMCreateOFDPacket done [13:24:46]NVStorageSaveData kkm_last_timestamp [13:24:46]File name is /storage/kkm_last_timestamp [13:24:46]Write 4 bytes [13:24:46]NVStorageSaveData done [13:24:46]ExternCall_PrintAddStr [13:24:46]wPrintStart [13:24:46]Write to MH i2c: 01 00 00 62 3A 9C [13:24:46]Write i2c OK [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: 01 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: 01 07 00 [13:24:46]MH_I2C_Read... [13:24:46]Read from MH i2c: 01 07 00 62 3A 00 00 00 00 00 FF 0F B1 [13:24:46]RasterBufferAndPrint [13:24:46]line Счет N : (3)35177 [13:24:46]line ИНН: 02508201610067 [13:24:46]line Контрольно-Кассовый Чек [13:24:46]line ПРОДАЖА [13:24:46]line Товар: 4630007400358 [13:24:46]line Семечки ДЖИНН 70г [13:24:46]line 1.000 * 70.00 [13:24:46]line = 70.00 [13:24:46]line НДС 12% НСП 1% [13:24:46]line > о реализуемом товаре [13:24:46]line ИТОГО: 70.00 [13:24:46]line НСП 1% : 0.62 [13:24:46]line НДС 12% : 7.43 [13:24:46]line Наличными: 70.00 [13:24:46]line Безнал.: 0.00 [13:24:46]line Место: АЗС № 126 "Партнер Нефть" [13:24:46]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:24:46]line СНО: Общий режим [13:24:46]line Чек 39 29.10.2024 13:24 [13:24:46]line Смена: 552 ФФД: 1.0 [13:24:46]line ЗНМ: 0300000092 [13:24:46]line РНМ: 0000000000091684 [13:24:46]line Версия ККМ: 001 [13:24:46]line ФМ: 0000000000871841 [13:24:46]line ФД: 37877 [13:24:46]line ФПД: 168008527321905 [13:24:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132458&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37877&fm=168008527321905&tin=02508201610067®Number=0000000000091684&sum=7000 [13:24:47]line 0 [13:24:47]OFD Sender: Processing packet 37877 [packets to send 42, broken 41] [13:24:47]ProducePacketName [13:24:47]name=ofd_packets/00037877 [13:24:47]OFD Sender: To server: pG, [13:24:47]CommunicateWithHost lk.salyk.kg:30040 [13:24:47]ConnectInit lk.salyk.kg [13:24:47]written 0, free lines is 4095 [13:24:47]Write to MH i2c: 01 00 00 8A 3A C4 [13:24:47]Write i2c OK [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: 01 [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: 01 07 00 [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: 01 07 00 8A 3A 00 00 00 00 00 D8 0C AF [13:24:47]RasterBufferAndPrint [13:24:47]line [13:24:47]line [13:24:47]line [13:24:47]line [13:24:47]line [13:24:47]written 0, free lines is 3294 [13:24:47]MH_Cut [13:24:47]Write to MH i2c: D1 01 00 91 3A 01 9D [13:24:47]Write i2c OK [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: D1 [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: D1 01 00 [13:24:47]MH_I2C_Read... [13:24:47]Read from MH i2c: D1 01 00 91 3A 00 9C [13:24:47]Write to MH i2c: 01 00 00 92 3A CC [13:24:47]Write i2c OK [13:24:47]MH_I2C_Read... [13:24:48]*** Cut start [13:24:48]*** Partial cut [13:24:48]*** CUTSNS_PIN = 1 [13:24:48]*** CUTSNS_PIN = 0 [13:24:48]*** Brake cut motor [13:24:48]Connected sock=11 [13:24:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 7E CF 1C 01 92 FF 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D0 94 D0 96 D0 98 D0 9D D0 9D 20 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 27 00 00 00 F4 03 04 00 2A E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F5 93 00 00 35 04 06 00 98 CD 88 97 1B 31 41 05 95 A2 C9 10 CE 6F [13:24:48]Read from MH i2c: 01 [13:24:48]MH_I2C_Read... [13:24:48]*** Stop cut motor [13:24:48]*** Cut end [13:24:48]Read from MH i2c: 01 07 00 [13:24:48]MH_I2C_Read... [13:24:48]Read from MH i2c: 01 07 00 92 3A 00 00 00 00 00 FF 0F E1 [13:24:48]process_action close_receipt done [13:24:48]requested_data is exist [13:24:48]produce_requested_data [13:24:48]requested_item fm.sn is exist - process it [13:24:48]wFMCommunicate request_size=4 [13:24:48]MH_SAM_APDU [13:24:48]CAPDU: 80 11 00 00 [13:24:48]Write to MH i2c: E2 08 00 93 3A 80 11 00 00 00 00 00 00 47 [13:24:48]Write i2c OK [13:24:48]MH_I2C_Read... [13:24:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:24:48]Read from MH i2c: E2 [13:24:48]MH_I2C_Read... [13:24:48]Read from MH i2c: E2 17 00 [13:24:48]MH_I2C_Read... [13:24:48]Read from MH i2c: E2 17 00 93 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 97 [13:24:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:24:48]wFMCommunicate OK [13:24:48]requested_item fd.num is exist - process it [13:24:48]SAM_PROTO_GetFieldsCounters [13:24:48]wFMCommunicate request_size=4 [13:24:48]MH_SAM_APDU [13:24:48]CAPDU: 80 13 00 00 [13:24:48]Write to MH i2c: E2 08 00 94 3A 80 13 00 00 00 00 00 00 4A [13:24:48]Write i2c OK [13:24:48]MH_I2C_Read... [13:24:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:24:49]Read from MH i2c: E2 [13:24:49]MH_I2C_Read... [13:24:49]Read from MH i2c: E2 62 00 [13:24:49]MH_I2C_Read... [13:24:49]Read from MH i2c: E2 62 00 94 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 92 [13:24:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F5 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:24:49]wFMCommunicate OK [13:24:49]SAM_PROTO_GetFieldsCounters done [13:24:49]requested_item shift.num is exist - process it [13:24:49]requested_item shift.opened is exist - process it [13:24:49]req_shift_opened [13:24:49]FM_GetShiftState [13:24:49]SAM_PROTO_GetShiftState [13:24:49]wFMCommunicate request_size=4 [13:24:49]MH_SAM_APDU [13:24:49]CAPDU: 80 13 01 00 [13:24:49]Write to MH i2c: E2 08 00 95 3A 80 13 01 00 00 00 00 00 4C [13:24:49]Write i2c OK [13:24:49]MH_I2C_Read... [13:24:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:24:49]Read from MH i2c: E2 [13:24:49]MH_I2C_Read... [13:24:49]Read from MH i2c: E2 0E 00 [13:24:49]MH_I2C_Read... [13:24:49]Read from MH i2c: E2 0E 00 95 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C2 [13:24:49]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:24:49]wFMCommunicate OK [13:24:49]SAM_PROTO_GetShiftState done [13:24:49]FM_GetShiftState done [13:24:49]req_shift_opened done [13:24:49]requested_item shift.open_date is exist - process it [13:24:49]req_shift_open_date [13:24:49]req_shift_open_date done [13:24:49]produce_requested_data done [13:24:49]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37877,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:24:49]process_action_free close_receipt [13:24:49]json_value_free [13:24:49]json_value_free done [13:24:49]process_json_proto returns [13:24:49]Send response to host [13:24:49]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37877,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:24:49]free response buf [13:24:49]execute_script done [13:24:49]execute_script returns [13:24:49]free content buf [13:24:49]Sock 9.Close socket [13:24:49]Sock 9.Thread stoped [13:24:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 0D 86 47 00 59 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 38 37 31 38 34 31 10 04 04 00 F5 93 00 00 F4 03 04 00 1D 8D 20 67 B6 04 01 00 00 70 32 ED 3D 08 D8 8C 87 [13:24:49]CommunicateWithHost err = 0 [13:24:49]CheckOFDResponse [13:24:49]1017 (14) - 77093643461234 [13:24:49]1041 (16) - 0000000000871841 [13:24:49]1040 (4) - 37877 [13:24:49]1012 (4) - 29.10.2024 07:22 [13:24:49]1206 (1) - 0 [13:24:49]OFD Sender: Remove packet 37877 [13:24:49]ProducePacketName [13:24:49]name=ofd_packets/00037877 [13:24:49]NVStorageDeleteData [13:24:49]OFD Sender: No OFD packet to send [13:24:54]OFD Sender: No OFD packet to send [13:24:59]OFD Sender: No OFD packet to send [13:25:04]OFD Sender: No OFD packet to send [13:25:09]OFD Sender: No OFD packet to send [13:25:14]OFD Sender: No OFD packet to send [13:25:19]OFD Sender: No OFD packet to send [13:25:24]OFD Sender: No OFD packet to send [13:25:29]OFD Sender: No OFD packet to send [13:25:34]OFD Sender: No OFD packet to send [13:25:39]OFD Sender: No OFD packet to send [13:25:44]OFD Sender: No OFD packet to send [13:25:49]OFD Sender: No OFD packet to send [13:25:54]OFD Sender: No OFD packet to send [13:25:59]OFD Sender: No OFD packet to send [13:26:04]OFD Sender: No OFD packet to send [13:26:09]OFD Sender: No OFD packet to send [13:26:12]accept exits with 7 [13:26:12]New connection [13:26:12]New thread 3067297124 created [13:26:12]Thread 3067440484 joined [13:26:12]Waiting for new connection... [13:26:12] Sock 7.Parse request [13:26:12]Sock 7.Check first char [13:26:12]Sock 7.First char is OK [13:26:12]request: POST /json_proto HTTP/1.0 [13:26:12]Method: POST [13:26:12]URL: /json_proto [13:26:12]Method is POST - this is cgi request [13:26:12]url: /json_proto [13:26:12]query_string will be loaded in cgi processing [13:26:12]execute_cgi json_proto POST (null) [13:26:12]execute_cgi path=json_proto method=POST [13:26:12]POST find Content-Length [13:26:12]Host: 172.17.40.196:8080 [13:26:12]Content-Length: 666 [13:26:12]Content-Type: application/json [13:26:12] [13:26:12]POST finish read [13:26:12]Found Content-Length = 666 [13:26:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35178", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:26:12]execute_script... [13:26: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)35178", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 350.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:26:12]POST & json_proto [13:26:12]process_json_proto [13:26:12]json parsed OK: [13:26:12]protocol is kg_v1.0 [13:26:12]action value=close_receipt [13:26:12]process_action close_receipt [13:26:12]cmd_close_receipt [13:26:12]MH_GetDate [13:26:12]Write to MH i2c: F0 00 00 96 3A BF [13:26:12]Write i2c OK [13:26:12]MH_I2C_Read... [13:26:12]Read from MH i2c: F0 [13:26:12]MH_I2C_Read... [13:26:12]Read from MH i2c: F0 09 00 [13:26:12]MH_I2C_Read... [13:26:12]Read from MH i2c: F0 09 00 96 3A 00 81 E2 20 67 5B 68 A1 66 7C [13:26:12]GetLastDocTimeStamp 1730208298 [13:26:12]current date 1730208385 [13:26:12]FM_GetShiftState [13:26:12]SAM_PROTO_GetShiftState [13:26:12]wFMCommunicate request_size=4 [13:26:12]MH_SAM_APDU [13:26:12]CAPDU: 80 13 01 00 [13:26:12]Write to MH i2c: E2 08 00 97 3A 80 13 01 00 00 00 00 00 4E [13:26:12]Write i2c OK [13:26:12]MH_I2C_Read... [13:26:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:12]Read from MH i2c: E2 [13:26:12]MH_I2C_Read... [13:26:12]Read from MH i2c: E2 0E 00 [13:26:12]MH_I2C_Read... [13:26:12]Read from MH i2c: E2 0E 00 97 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C4 [13:26:12]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:26:12]wFMCommunicate OK [13:26:12]SAM_PROTO_GetShiftState done [13:26:12]FM_GetShiftState done [13:26:12]opened in 1730160317 [13:26:12]opened+sec_in_day 1730246717 [13:26:12]quantity*price = 35000 [13:26:12]sum+1 = 35001 [13:26:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 350.00 НСП 1% : 3.10 НДС 12% : 37.17 Наличными: 350.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 40 29.10.2024 13:26 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37878 ФПД: 110321591720764 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37878&fm=110321591720764&tin=02508201610067®Number=0000000000091684&sum=35000 0 [13:26:13]StoreToDocumentArchive [13:26:13]shift 552 fd 37878 [13:26:13]save to /storage/0552/doc_00037878 [13:26:13]save last doc name /storage/0552/doc_00037878 to /storage/kkm_last_doc_name [13:26:13]save OK [13:26:13]Clear old archive folders... [13:26:13]ProcessDocumentItem done err = 0, tmpTLVsize=283 [13:26:13]tlvbuf is 0021B6A0 [13:26:13]SAM_PROTO_ClearQueue [13:26:13]wFMCommunicate request_size=4 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 09 00 00 [13:26:13]Write to MH i2c: E2 08 00 A4 3A 80 09 00 00 00 00 00 00 50 [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 A4 3A 00 90 00 52 [13:26:13]RAPDU: 90 00 [13:26:13]wFMCommunicate OK [13:26:13]SAM_PROTO_ClearQueue done [13:26:13]KKMCreateOFDPacket [13:26:13]OFDProtocolAddRootSTLVToBuf [13:26:13]FM_MakeSignedData [13:26:13]FM_MakeSignedData [13:26:13]SAM_PROTO_SignData [13:26:13]wFMCommunicate request_size=4 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 0D 01 02 [13:26:13]Write to MH i2c: E2 08 00 A5 3A 80 0D 01 02 00 00 00 00 58 [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 A5 3A 00 90 00 53 [13:26:13]RAPDU: 90 00 [13:26:13]wFMCommunicate OK [13:26:13]wFMCommunicate request_size=255 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 81 E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 [13:26:13]Write to MH i2c: E2 02 01 A6 3A 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 81 E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 00 00 12 [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 A6 3A 00 90 00 54 [13:26:13]RAPDU: 90 00 [13:26:13]wFMCommunicate OK [13:26:13]wFMCommunicate request_size=42 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F6 93 00 00 35 04 06 00 64 56 3F 49 1B 3C [13:26:13]Write to MH i2c: E2 2D 00 A7 3A 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F6 93 00 00 35 04 06 00 64 56 3F 49 1B 3C 00 00 4F [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 03 00 A7 3A 00 90 00 55 [13:26:13]RAPDU: 90 00 [13:26:13]wFMCommunicate OK [13:26:13]wFMCommunicate request_size=4 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 0D 03 02 [13:26:13]Write to MH i2c: E2 08 00 A8 3A 80 0D 03 02 00 00 00 00 5D [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 0B 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 0B 00 A8 3A 00 D0 6E 65 45 B5 37 02 D6 90 00 0A [13:26:13]RAPDU: D0 6E 65 45 B5 37 02 D6 90 00 [13:26:13]wFMCommunicate OK [13:26:13]SAM_PROTO_SignData done [13:26:13]FM_MakeSignedData done [13:26:13]CreateOFDProtocolMessage [13:26:13]wFMCommunicate request_size=4 [13:26:13]MH_SAM_APDU [13:26:13]CAPDU: 80 11 00 00 [13:26:13]Write to MH i2c: E2 08 00 A9 3A 80 11 00 00 00 00 00 00 5D [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:13]Read from MH i2c: E2 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 17 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: E2 17 00 A9 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AD [13:26:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:26:13]wFMCommunicate OK [13:26:13]CreateOFDProtocolMessage done [13:26:13]OFDSenderStorePacket 37878 [13:26:13]StoreOFDPacket docnum=37878 [13:26:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 D5 5C 27 01 0D 6C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 81 E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F6 93 00 00 35 04 06 00 64 56 3F 49 1B 3C D0 6E 65 45 B5 37 02 D6 [13:26:13]CheckFolder [13:26:13]dirname=/storage/ofd_packets [13:26:13]CheckFolder done [13:26:13]ProducePacketName [13:26:13]name=ofd_packets/00037878 [13:26:13]NVStorageSaveData ofd_packets/00037878 [13:26:13]File name is /storage/ofd_packets/00037878 [13:26:13]Write 333 bytes [13:26:13]NVStorageSaveData done [13:26:13]OFDSenderStorePacket done [13:26:13]KKMCreateOFDPacket done [13:26:13]NVStorageSaveData kkm_last_timestamp [13:26:13]File name is /storage/kkm_last_timestamp [13:26:13]Write 4 bytes [13:26:13]NVStorageSaveData done [13:26:13]ExternCall_PrintAddStr [13:26:13]wPrintStart [13:26:13]Write to MH i2c: 01 00 00 AA 3A E4 [13:26:13]Write i2c OK [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: 01 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: 01 07 00 [13:26:13]MH_I2C_Read... [13:26:13]Read from MH i2c: 01 07 00 AA 3A 00 00 00 00 00 FF 0F F9 [13:26:13]RasterBufferAndPrint [13:26:13]line Счет N : (3)35178 [13:26:13]line ИНН: 02508201610067 [13:26:13]line Контрольно-Кассовый Чек [13:26:13]line ПРОДАЖА [13:26:13]line Товар: 4700002082191 [13:26:13]line Водка Белое золото 0,46л [13:26:13]line 1.000 * 350.00 [13:26:13]line = 350.00 [13:26:13]line НДС 12% НСП 1% [13:26:13]line > о реализуемом товаре [13:26:13]line ИТОГО: 350.00 [13:26:13]line НСП 1% : 3.10 [13:26:13]line НДС 12% : 37.17 [13:26:13]line Наличными: 350.00 [13:26:13]line Безнал.: 0.00 [13:26:13]line Место: АЗС № 126 "Партнер Нефть" [13:26:13]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:26:13]line СНО: Общий режим [13:26:13]line Чек 40 29.10.2024 13:26 [13:26:13]line Смена: 552 ФФД: 1.0 [13:26:13]line ЗНМ: 0300000092 [13:26:13]line РНМ: 0000000000091684 [13:26:13]line Версия ККМ: 001 [13:26:13]line ФМ: 0000000000871841 [13:26:13]line ФД: 37878 [13:26:13]line ФПД: 110321591720764 [13:26:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132625&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37878&fm=110321591720764&tin=02508201610067®Number=0000000000091684&sum=35000 [13:26:14]OFD Sender: Processing packet 37878 [packets to send 42, broken 41] [13:26:14]ProducePacketName [13:26:14]name=ofd_packets/00037878 [13:26:14]OFD Sender: To server: pG, [13:26:14]CommunicateWithHost lk.salyk.kg:30040 [13:26:14]ConnectInit lk.salyk.kg [13:26:14]line 0 [13:26:14]written 0, free lines is 4095 [13:26:14]Connected sock=10 [13:26:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2F 01 00 00 D5 5C 27 01 0D 6C 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B8 88 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 36 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 0E 00 00 00 00 07 04 06 00 B8 88 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 81 E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F6 93 00 00 35 04 06 00 64 56 3F 49 1B 3C D0 6E 65 45 B5 37 02 D6 [13:26:14]Write to MH i2c: 01 00 00 D2 3A 0C [13:26:14]Write i2c OK [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: 01 [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: 01 07 00 [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: 01 07 00 D2 3A 00 00 00 00 00 E2 0C 01 [13:26:14]RasterBufferAndPrint [13:26:14]line [13:26:14]line [13:26:14]line [13:26:14]line [13:26:14]line [13:26:14]written 0, free lines is 3304 [13:26:14]MH_Cut [13:26:14]Write to MH i2c: D1 01 00 D9 3A 01 E5 [13:26:14]Write i2c OK [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: D1 [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: D1 01 00 [13:26:14]MH_I2C_Read... [13:26:14]Read from MH i2c: D1 01 00 D9 3A 00 E4 [13:26:14]Write to MH i2c: 01 00 00 DA 3A 14 [13:26:14]Write i2c OK [13:26:14]MH_I2C_Read... [13:26:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 AC 99 47 00 52 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F6 93 00 00 F4 03 04 00 73 8D 20 67 B6 04 01 00 00 BC 08 BD 63 9D 31 5B 65 [13:26:14]CommunicateWithHost err = 0 [13:26:14]CheckOFDResponse [13:26:14]1017 (14) - 77093643461234 [13:26:14]1041 (16) - 0000000000871841 [13:26:14]1040 (4) - 37878 [13:26:14]1012 (4) - 29.10.2024 07:23 [13:26:14]1206 (1) - 0 [13:26:14]OFD Sender: Remove packet 37878 [13:26:14]ProducePacketName [13:26:14]name=ofd_packets/00037878 [13:26:14]NVStorageDeleteData [13:26:15]*** Cut start [13:26:15]*** Partial cut [13:26:15]*** CUTSNS_PIN = 1 [13:26:15]*** CUTSNS_PIN = 0 [13:26:15]OFD Sender: No OFD packet to send [13:26:15]*** Brake cut motor [13:26:16]Read from MH i2c: 01 [13:26:16]MH_I2C_Read... [13:26:16]*** Stop cut motor [13:26:16]*** Cut end [13:26:16]Read from MH i2c: 01 07 00 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: 01 07 00 DA 3A 00 00 00 00 00 FF 0F 29 [13:26:16]process_action close_receipt done [13:26:16]requested_data is exist [13:26:16]produce_requested_data [13:26:16]requested_item fm.sn is exist - process it [13:26:16]wFMCommunicate request_size=4 [13:26:16]MH_SAM_APDU [13:26:16]CAPDU: 80 11 00 00 [13:26:16]Write to MH i2c: E2 08 00 DB 3A 80 11 00 00 00 00 00 00 8F [13:26:16]Write i2c OK [13:26:16]MH_I2C_Read... [13:26:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:26:16]Read from MH i2c: E2 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 17 00 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 17 00 DB 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DF [13:26:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:26:16]wFMCommunicate OK [13:26:16]requested_item fd.num is exist - process it [13:26:16]SAM_PROTO_GetFieldsCounters [13:26:16]wFMCommunicate request_size=4 [13:26:16]MH_SAM_APDU [13:26:16]CAPDU: 80 13 00 00 [13:26:16]Write to MH i2c: E2 08 00 DC 3A 80 13 00 00 00 00 00 00 92 [13:26:16]Write i2c OK [13:26:16]MH_I2C_Read... [13:26:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:26:16]Read from MH i2c: E2 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 62 00 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 62 00 DC 3A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 DE [13:26:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F6 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:26:16]wFMCommunicate OK [13:26:16]SAM_PROTO_GetFieldsCounters done [13:26:16]requested_item shift.num is exist - process it [13:26:16]requested_item shift.opened is exist - process it [13:26:16]req_shift_opened [13:26:16]FM_GetShiftState [13:26:16]SAM_PROTO_GetShiftState [13:26:16]wFMCommunicate request_size=4 [13:26:16]MH_SAM_APDU [13:26:16]CAPDU: 80 13 01 00 [13:26:16]Write to MH i2c: E2 08 00 DD 3A 80 13 01 00 00 00 00 00 94 [13:26:16]Write i2c OK [13:26:16]MH_I2C_Read... [13:26:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:26:16]Read from MH i2c: E2 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 0E 00 [13:26:16]MH_I2C_Read... [13:26:16]Read from MH i2c: E2 0E 00 DD 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 0A [13:26:16]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:26:16]wFMCommunicate OK [13:26:16]SAM_PROTO_GetShiftState done [13:26:16]FM_GetShiftState done [13:26:16]req_shift_opened done [13:26:16]requested_item shift.open_date is exist - process it [13:26:16]req_shift_open_date [13:26:16]req_shift_open_date done [13:26:16]produce_requested_data done [13:26:16]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37878,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:26:16]process_action_free close_receipt [13:26:16]json_value_free [13:26:16]json_value_free done [13:26:16]process_json_proto returns [13:26:16]Send response to host [13:26:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37878,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:26:16]free response buf [13:26:16]execute_script done [13:26:16]execute_script returns [13:26:16]free content buf [13:26:16]Sock 7.Close socket [13:26:16]Sock 7.Thread stoped [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:26]accept exits with 9 [13:27:26]New connection [13:27:26]New thread 3067440484 created [13:27:26]Thread 3067297124 joined [13:27:26]Waiting for new connection... [13:27:26] Sock 9.Parse request [13:27:26]Sock 9.Check first char [13:27:26]Sock 9.First char is OK [13:27:26]request: POST /json_proto HTTP/1.0 [13:27:26]Method: POST [13:27:26]URL: /json_proto [13:27:26]Method is POST - this is cgi request [13:27:26]url: /json_proto [13:27:26]query_string will be loaded in cgi processing [13:27:26]execute_cgi json_proto POST (null) [13:27:26]execute_cgi path=json_proto method=POST [13:27:26]POST find Content-Length [13:27:26]Host: 172.17.40.196:8080 [13:27:26]Content-Length: 1276 [13:27:26]Content-Type: application/json [13:27:26] [13:27:26]POST finish read [13:27:26]Found Content-Length = 1276 [13:27:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35179", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:26]execute_script... [13:27: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)35179", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 2.000, "sum" : 30.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 209.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:27:26]POST & json_proto [13:27:26]process_json_proto [13:27:26]json parsed OK: [13:27:26]protocol is kg_v1.0 [13:27:26]action value=close_receipt [13:27:26]process_action close_receipt [13:27:26]cmd_close_receipt [13:27:26]MH_GetDate [13:27:26]Write to MH i2c: F0 00 00 DE 3A 07 [13:27:26]Write i2c OK [13:27:26]MH_I2C_Read... [13:27:26]Read from MH i2c: F0 [13:27:26]MH_I2C_Read... [13:27:26]Read from MH i2c: F0 09 00 [13:27:26]MH_I2C_Read... [13:27:26]Read from MH i2c: F0 09 00 DE 3A 00 CB E2 20 67 5B 68 A1 66 0E [13:27:26]GetLastDocTimeStamp 1730208385 [13:27:26]current date 1730208459 [13:27:26]FM_GetShiftState [13:27:26]SAM_PROTO_GetShiftState [13:27:26]wFMCommunicate request_size=4 [13:27:26]MH_SAM_APDU [13:27:26]CAPDU: 80 13 01 00 [13:27:26]Write to MH i2c: E2 08 00 DF 3A 80 13 01 00 00 00 00 00 96 [13:27:26]Write i2c OK [13:27:26]MH_I2C_Read... [13:27:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:26]Read from MH i2c: E2 [13:27:26]MH_I2C_Read... [13:27:26]Read from MH i2c: E2 0E 00 [13:27:26]MH_I2C_Read... [13:27:26]Read from MH i2c: E2 0E 00 DF 3A 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 0C [13:27:26]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:27:26]wFMCommunicate OK [13:27:26]SAM_PROTO_GetShiftState done [13:27:26]FM_GetShiftState done [13:27:26]opened in 1730160317 [13:27:26]opened+sec_in_day 1730246717 [13:27:26]quantity*price = 12000 [13:27:26]sum+1 = 12001 [13:27:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4607065001445 Шок батончик Snickers 50,5г 1.000 * 59.00 = 59.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 2.000 * 15.00 = 30.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 209.00 НСП 1% : 1.84 НДС 12% : 22.19 Наличными: 209.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 41 29.10.2024 13:27 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37879 ФПД: 193588851616280 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132740&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37879&fm=193588851616280&tin=02508201610067®Number=0000000000091684&sum=20900 0 [13:27:27]StoreToDocumentArchive [13:27:27]shift 552 fd 37879 [13:27:27]save to /storage/0552/doc_00037879 [13:27:27]save last doc name /storage/0552/doc_00037879 to /storage/kkm_last_doc_name [13:27:27]save OK [13:27:27]Clear old archive folders... [13:27:27]ProcessDocumentItem done err = 0, tmpTLVsize=529 [13:27:27]tlvbuf is 002676E0 [13:27:27]SAM_PROTO_ClearQueue [13:27:27]wFMCommunicate request_size=4 [13:27:27]MH_SAM_APDU [13:27:27]CAPDU: 80 09 00 00 [13:27:27]Write to MH i2c: E2 08 00 EC 3A 80 09 00 00 00 00 00 00 98 [13:27:27]Write i2c OK [13:27:27]MH_I2C_Read... [13:27:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:27:27]Read from MH i2c: E2 [13:27:27]MH_I2C_Read... [13:27:27]Read from MH i2c: E2 03 00 [13:27:27]MH_I2C_Read... [13:27:27]Read from MH i2c: E2 03 00 EC 3A 00 90 00 9A [13:27:27]RAPDU: 90 00 [13:27:27]wFMCommunicate OK [13:27:27]SAM_PROTO_ClearQueue done [13:27:27]KKMCreateOFDPacket [13:27:27]OFDProtocolAddRootSTLVToBuf [13:27:27]FM_MakeSignedData [13:27:27]FM_MakeSignedData [13:27:27]SAM_PROTO_SignData [13:27:27]wFMCommunicate request_size=4 [13:27:27]MH_SAM_APDU [13:27:27]CAPDU: 80 0D 01 02 [13:27:27]Write to MH i2c: E2 08 00 ED 3A 80 0D 01 02 00 00 00 00 A0 [13:27:27]Write i2c OK [13:27:27]MH_I2C_Read... [13:27:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:27:27]Read from MH i2c: E2 [13:27:27]MH_I2C_Read... [13:27:27]Read from MH i2c: E2 03 00 [13:27:27]MH_I2C_Read... [13:27:27]Read from MH i2c: E2 03 00 ED 3A 00 90 00 9B [13:27:27]RAPDU: 90 00 [13:27:27]wFMCommunicate OK [13:27:27]wFMCommunicate request_size=255 [13:27:27]MH_SAM_APDU [13:27:27]CAPDU: 80 0D 02 02 FA 03 00 11 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 [13:27:28]Write to MH i2c: E2 02 01 EE 3A 80 0D 02 02 FA 00 03 00 11 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 00 00 D8 [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:28]Read from MH i2c: E2 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 EE 3A 00 90 00 9C [13:27:28]RAPDU: 90 00 [13:27:28]wFMCommunicate OK [13:27:28]wFMCommunicate request_size=255 [13:27:28]MH_SAM_APDU [13:27:28]CAPDU: 80 0D 02 02 FA 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 CC E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 [13:27:28]Write to MH i2c: E2 02 01 EF 3A 80 0D 02 02 FA 00 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 CC E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 00 00 BC [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:28]Read from MH i2c: E2 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 EF 3A 00 90 00 9D [13:27:28]RAPDU: 90 00 [13:27:28]wFMCommunicate OK [13:27:28]wFMCommunicate request_size=38 [13:27:28]MH_SAM_APDU [13:27:28]CAPDU: 80 0D 02 02 21 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F7 93 00 00 35 04 06 00 B0 11 6A BB AA 18 [13:27:28]Write to MH i2c: E2 29 00 F0 3A 80 0D 02 02 21 00 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F7 93 00 00 35 04 06 00 B0 11 6A BB AA 18 00 00 5C [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:27:28]Read from MH i2c: E2 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 03 00 F0 3A 00 90 00 9E [13:27:28]RAPDU: 90 00 [13:27:28]wFMCommunicate OK [13:27:28]wFMCommunicate request_size=4 [13:27:28]MH_SAM_APDU [13:27:28]CAPDU: 80 0D 03 02 [13:27:28]Write to MH i2c: E2 08 00 F1 3A 80 0D 03 02 00 00 00 00 A6 [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:27:28]Read from MH i2c: E2 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 0B 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 0B 00 F1 3A 00 67 9B 8E D1 A3 B9 0A 79 90 00 E7 [13:27:28]RAPDU: 67 9B 8E D1 A3 B9 0A 79 90 00 [13:27:28]wFMCommunicate OK [13:27:28]SAM_PROTO_SignData done [13:27:28]FM_MakeSignedData done [13:27:28]CreateOFDProtocolMessage [13:27:28]wFMCommunicate request_size=4 [13:27:28]MH_SAM_APDU [13:27:28]CAPDU: 80 11 00 00 [13:27:28]Write to MH i2c: E2 08 00 F2 3A 80 11 00 00 00 00 00 00 A6 [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:28]Read from MH i2c: E2 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 17 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: E2 17 00 F2 3A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [13:27:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:27:28]wFMCommunicate OK [13:27:28]CreateOFDProtocolMessage done [13:27:28]OFDSenderStorePacket 37879 [13:27:28]StoreOFDPacket docnum=37879 [13:27:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 02 00 00 49 FF 1D 02 B0 46 5A 03 01 00 03 00 11 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 CC E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F7 93 00 00 35 04 06 00 B0 11 6A BB AA 18 67 9B 8E D1 A3 B9 0A 79 [13:27:28]CheckFolder [13:27:28]dirname=/storage/ofd_packets [13:27:28]CheckFolder done [13:27:28]ProducePacketName [13:27:28]name=ofd_packets/00037879 [13:27:28]NVStorageSaveData ofd_packets/00037879 [13:27:28]File name is /storage/ofd_packets/00037879 [13:27:28]Write 579 bytes [13:27:28]NVStorageSaveData done [13:27:28]OFDSenderStorePacket done [13:27:28]KKMCreateOFDPacket done [13:27:28]NVStorageSaveData kkm_last_timestamp [13:27:28]File name is /storage/kkm_last_timestamp [13:27:28]Write 4 bytes [13:27:28]NVStorageSaveData done [13:27:28]ExternCall_PrintAddStr [13:27:28]wPrintStart [13:27:28]Write to MH i2c: 01 00 00 F3 3A 2D [13:27:28]Write i2c OK [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: 01 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: 01 07 00 [13:27:28]MH_I2C_Read... [13:27:28]Read from MH i2c: 01 07 00 F3 3A 00 00 00 00 00 FF 0F 42 [13:27:28]RasterBufferAndPrint [13:27:28]line Счет N : (3)35179 [13:27:28]line ИНН: 02508201610067 [13:27:28]line Контрольно-Кассовый Чек [13:27:28]line ПРОДАЖА [13:27:28]line Товар: 5449000189356 [13:27:28]line Холодный чай Fuse манго ананас 1л [13:27:28]line 1.000 * 120.00 [13:27:28]line = 120.00 [13:27:28]line НДС 12% НСП 1% [13:27:28]line > о реализуемом товаре [13:27:28]line Товар: 4607065001445 [13:27:28]line Шок батончик Snickers 50,5г [13:27:28]line 1.000 * 59.00 [13:27:28]line = 59.00 [13:27:28]line НДС 12% НСП 1% [13:27:28]line > о реализуемом товаре [13:27:28]line Товар: 4700000160013 [13:27:28]line Снек Курут индивидуальный [13:27:28]line 2.000 * 15.00 [13:27:28]line = 30.00 [13:27:28]line НДС 12% НСП 1% [13:27:28]line > о реализуемом товаре [13:27:28]line ИТОГО: 209.00 [13:27:28]line НСП 1% : 1.84 [13:27:28]line НДС 12% : 22.19 [13:27:28]line Наличными: 209.00 [13:27:28]line Безнал.: 0.00 [13:27:28]line Место: АЗС № 126 "Партнер Нефть" [13:27:28]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:27:28]line СНО: Общий режим [13:27:28]line Чек 41 29.10.2024 13:27 [13:27:28]line Смена: 552 ФФД: 1.0 [13:27:28]line ЗНМ: 0300000092 [13:27:28]line РНМ: 0000000000091684 [13:27:28]line Версия ККМ: 001 [13:27:28]line ФМ: 0000000000871841 [13:27:28]line ФД: 37879 [13:27:28]line ФПД: 193588851616280 [13:27:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T132740&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37879&fm=193588851616280&tin=02508201610067®Number=0000000000091684&sum=20900 [13:27:28]line 0 [13:27:28]written 0, free lines is 4095 [13:27:28]OFD Sender: Processing packet 37879 [packets to send 42, broken 41] [13:27:28]ProducePacketName [13:27:28]name=ofd_packets/00037879 [13:27:28]OFD Sender: To server: pG, [13:27:28]CommunicateWithHost lk.salyk.kg:30040 [13:27:28]ConnectInit lk.salyk.kg [13:27:29]Connected sock=10 [13:27:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 02 00 00 49 FF 1D 02 B0 46 5A 03 01 00 03 00 11 02 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 DC 05 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 A4 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 08 00 00 00 00 07 04 06 00 A4 51 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 CC E2 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F7 93 00 00 35 04 06 00 B0 11 6A BB AA 18 67 9B 8E D1 A3 B9 0A 79 [13:27:29]Write to MH i2c: 01 00 00 28 3B 63 [13:27:29]Write i2c OK [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: 01 [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: 01 07 00 [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: 01 07 00 28 3B 00 00 00 00 00 02 0C 78 [13:27:29]RasterBufferAndPrint [13:27:29]line [13:27:29]line [13:27:29]line [13:27:29]line [13:27:29]line [13:27:29]written 0, free lines is 3080 [13:27:29]MH_Cut [13:27:29]Write to MH i2c: D1 01 00 2F 3B 01 3C [13:27:29]Write i2c OK [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: D1 [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: D1 01 00 [13:27:29]MH_I2C_Read... [13:27:29]Read from MH i2c: D1 01 00 2F 3B 00 3B [13:27:29]Write to MH i2c: 01 00 00 30 3B 6B [13:27:29]Write i2c OK [13:27:29]MH_I2C_Read... [13:27:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A8 43 47 00 BA 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 38 37 31 38 34 31 10 04 04 00 F7 93 00 00 F4 03 04 00 BD 8D 20 67 B6 04 01 00 00 49 33 B8 18 36 DF 8D F1 [13:27:29]CommunicateWithHost err = 0 [13:27:29]CheckOFDResponse [13:27:29]1017 (14) - 77093643461234 [13:27:29]1041 (16) - 0000000000871841 [13:27:29]1040 (4) - 37879 [13:27:29]1012 (4) - 29.10.2024 07:24 [13:27:29]1206 (1) - 0 [13:27:29]OFD Sender: Remove packet 37879 [13:27:29]ProducePacketName [13:27:29]name=ofd_packets/00037879 [13:27:29]NVStorageDeleteData [13:27:30]OFD Sender: No OFD packet to send [13:27:30]*** Cut start [13:27:30]*** Partial cut [13:27:30]*** CUTSNS_PIN = 1 [13:27:30]*** CUTSNS_PIN = 0 [13:27:30]*** Brake cut motor [13:27:30]Read from MH i2c: 01 [13:27:30]MH_I2C_Read... [13:27:30]*** Stop cut motor [13:27:30]*** Cut end [13:27:30]Read from MH i2c: 01 07 00 [13:27:30]MH_I2C_Read... [13:27:30]Read from MH i2c: 01 07 00 30 3B 00 00 00 00 00 FF 0F 80 [13:27:30]process_action close_receipt done [13:27:30]requested_data is exist [13:27:30]produce_requested_data [13:27:30]requested_item fm.sn is exist - process it [13:27:30]wFMCommunicate request_size=4 [13:27:30]MH_SAM_APDU [13:27:30]CAPDU: 80 11 00 00 [13:27:30]Write to MH i2c: E2 08 00 31 3B 80 11 00 00 00 00 00 00 E6 [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:27:31]Read from MH i2c: E2 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 17 00 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 17 00 31 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 36 [13:27:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:27:31]wFMCommunicate OK [13:27:31]requested_item fd.num is exist - process it [13:27:31]SAM_PROTO_GetFieldsCounters [13:27:31]wFMCommunicate request_size=4 [13:27:31]MH_SAM_APDU [13:27:31]CAPDU: 80 13 00 00 [13:27:31]Write to MH i2c: E2 08 00 32 3B 80 13 00 00 00 00 00 00 E9 [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:27:31]Read from MH i2c: E2 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 62 00 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 62 00 32 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 39 [13:27:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F7 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:27:31]wFMCommunicate OK [13:27:31]SAM_PROTO_GetFieldsCounters done [13:27:31]requested_item shift.num is exist - process it [13:27:31]requested_item shift.opened is exist - process it [13:27:31]req_shift_opened [13:27:31]FM_GetShiftState [13:27:31]SAM_PROTO_GetShiftState [13:27:31]wFMCommunicate request_size=4 [13:27:31]MH_SAM_APDU [13:27:31]CAPDU: 80 13 01 00 [13:27:31]Write to MH i2c: E2 08 00 33 3B 80 13 01 00 00 00 00 00 EB [13:27:31]Write i2c OK [13:27:31]MH_I2C_Read... [13:27:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:27:31]Read from MH i2c: E2 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 0E 00 [13:27:31]MH_I2C_Read... [13:27:31]Read from MH i2c: E2 0E 00 33 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 61 [13:27:31]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:27:31]wFMCommunicate OK [13:27:31]SAM_PROTO_GetShiftState done [13:27:31]FM_GetShiftState done [13:27:31]req_shift_opened done [13:27:31]requested_item shift.open_date is exist - process it [13:27:31]req_shift_open_date [13:27:31]req_shift_open_date done [13:27:31]produce_requested_data done [13:27:31]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37879,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:27:31]process_action_free close_receipt [13:27:31]json_value_free [13:27:31]json_value_free done [13:27:31]process_json_proto returns [13:27:31]Send response to host [13:27:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37879,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:27:31]free response buf [13:27:31]execute_script done [13:27:31]execute_script returns [13:27:31]free content buf [13:27:31]Sock 9.Close socket [13:27:31]Sock 9.Thread stoped [13:27:35]OFD Sender: No OFD packet to send [13:27:40]OFD Sender: No OFD packet to send [13:27:45]OFD Sender: No OFD packet to send [13:27:50]OFD Sender: No OFD packet to send [13:27:55]OFD Sender: No OFD packet to send [13:28:00]OFD Sender: No OFD packet to send [13:28:05]OFD Sender: No OFD packet to send [13:28:10]OFD Sender: No OFD packet to send [13:28:15]OFD Sender: No OFD packet to send [13:28:20]OFD Sender: No OFD packet to send [13:28:25]OFD Sender: No OFD packet to send [13:28:30]OFD Sender: No OFD packet to send [13:28:35]OFD Sender: No OFD packet to send [13:28:40]OFD Sender: No OFD packet to send [13:28:45]OFD Sender: No OFD packet to send [13:28:50]OFD Sender: No OFD packet to send [13:28:55]OFD Sender: No OFD packet to send [13:29:00]OFD Sender: No OFD packet to send [13:29:05]OFD Sender: No OFD packet to send [13:29:10]OFD Sender: No OFD packet to send [13:29:15]OFD Sender: No OFD packet to send [13:29:20]OFD Sender: No OFD packet to send [13:29:25]OFD Sender: No OFD packet to send [13:29:30]OFD Sender: No OFD packet to send [13:29:35]OFD Sender: No OFD packet to send [13:29:40]OFD Sender: No OFD packet to send [13:29:45]OFD Sender: No OFD packet to send [13:29:50]OFD Sender: No OFD packet to send [13:29:55]OFD Sender: No OFD packet to send [13:30:00]OFD Sender: No OFD packet to send [13:30:05]OFD Sender: No OFD packet to send [13:30:10]OFD Sender: No OFD packet to send [13:30:15]OFD Sender: No OFD packet to send [13:30:20]OFD Sender: No OFD packet to send [13:30:25]OFD Sender: No OFD packet to send [13:30:30]OFD Sender: No OFD packet to send [13:30:35]OFD Sender: No OFD packet to send [13:30:40]OFD Sender: No OFD packet to send [13:30:45]OFD Sender: No OFD packet to send [13:30:50]OFD Sender: No OFD packet to send [13:30:55]OFD Sender: No OFD packet to send [13:31:00]OFD Sender: No OFD packet to send [13:31:05]OFD Sender: No OFD packet to send [13:31:10]OFD Sender: No OFD packet to send [13:31:15]OFD Sender: No OFD packet to send [13:31:20]OFD Sender: No OFD packet to send [13:31:25]OFD Sender: No OFD packet to send [13:31:30]OFD Sender: No OFD packet to send [13:31:35]OFD Sender: No OFD packet to send [13:31:40]OFD Sender: No OFD packet to send [13:31:45]OFD Sender: No OFD packet to send [13:31:50]OFD Sender: No OFD packet to send [13:31:55]OFD Sender: No OFD packet to send [13:32:00]OFD Sender: No OFD packet to send [13:32:05]OFD Sender: No OFD packet to send [13:32:10]OFD Sender: No OFD packet to send [13:32:15]OFD Sender: No OFD packet to send [13:32:20]OFD Sender: No OFD packet to send [13:32:25]OFD Sender: No OFD packet to send [13:32:30]OFD Sender: No OFD packet to send [13:32:35]OFD Sender: No OFD packet to send [13:32:40]OFD Sender: No OFD packet to send [13:32:45]OFD Sender: No OFD packet to send [13:32:50]OFD Sender: No OFD packet to send [13:32:55]OFD Sender: No OFD packet to send [13:33:00]OFD Sender: No OFD packet to send [13:33:05]OFD Sender: No OFD packet to send [13:33:10]OFD Sender: No OFD packet to send [13:33:15]OFD Sender: No OFD packet to send [13:33:20]OFD Sender: No OFD packet to send [13:33:25]OFD Sender: No OFD packet to send [13:33:30]OFD Sender: No OFD packet to send [13:33:35]OFD Sender: No OFD packet to send [13:33:40]OFD Sender: No OFD packet to send [13:33:45]OFD Sender: No OFD packet to send [13:33:50]OFD Sender: No OFD packet to send [13:33:55]OFD Sender: No OFD packet to send [13:34:00]OFD Sender: No OFD packet to send [13:34:05]OFD Sender: No OFD packet to send [13:34:10]OFD Sender: No OFD packet to send [13:34:15]OFD Sender: No OFD packet to send [13:34:20]OFD Sender: No OFD packet to send [13:34:25]OFD Sender: No OFD packet to send [13:34:30]OFD Sender: No OFD packet to send [13:34:35]OFD Sender: No OFD packet to send [13:34:40]OFD Sender: No OFD packet to send [13:34:45]OFD Sender: No OFD packet to send [13:34:50]OFD Sender: No OFD packet to send [13:34:55]OFD Sender: No OFD packet to send [13:35:00]OFD Sender: No OFD packet to send [13:35:05]OFD Sender: No OFD packet to send [13:35:10]OFD Sender: No OFD packet to send [13:35:15]OFD Sender: No OFD packet to send [13:35:20]OFD Sender: No OFD packet to send [13:35:25]OFD Sender: No OFD packet to send [13:35:30]OFD Sender: No OFD packet to send [13:35:35]OFD Sender: No OFD packet to send [13:35:40]OFD Sender: No OFD packet to send [13:35:45]OFD Sender: No OFD packet to send [13:35:50]OFD Sender: No OFD packet to send [13:35:55]OFD Sender: No OFD packet to send [13:36:00]OFD Sender: No OFD packet to send [13:36:05]OFD Sender: No OFD packet to send [13:36:10]OFD Sender: No OFD packet to send [13:36:15]OFD Sender: No OFD packet to send [13:36:20]OFD Sender: No OFD packet to send [13:36:25]OFD Sender: No OFD packet to send [13:36:30]OFD Sender: No OFD packet to send [13:36:35]OFD Sender: No OFD packet to send [13:36:40]OFD Sender: No OFD packet to send [13:36:45]OFD Sender: No OFD packet to send [13:36:50]OFD Sender: No OFD packet to send [13:36:55]OFD Sender: No OFD packet to send [13:37:00]OFD Sender: No OFD packet to send [13:37:05]OFD Sender: No OFD packet to send [13:37:10]OFD Sender: No OFD packet to send [13:37:15]OFD Sender: No OFD packet to send [13:37:20]OFD Sender: No OFD packet to send [13:37:25]OFD Sender: No OFD packet to send [13:37:30]OFD Sender: No OFD packet to send [13:37:35]OFD Sender: No OFD packet to send [13:37:40]OFD Sender: No OFD packet to send [13:37:45]OFD Sender: No OFD packet to send [13:37:50]OFD Sender: No OFD packet to send [13:37:55]OFD Sender: No OFD packet to send [13:38:00]OFD Sender: No OFD packet to send [13:38:05]OFD Sender: No OFD packet to send [13:38:10]OFD Sender: No OFD packet to send [13:38:15]OFD Sender: No OFD packet to send [13:38:20]OFD Sender: No OFD packet to send [13:38:23]accept exits with 7 [13:38:23]New connection [13:38:23]New thread 3067297124 created [13:38:23]Thread 3067440484 joined [13:38:23]Waiting for new connection... [13:38:23] Sock 7.Parse request [13:38:23]Sock 7.Check first char [13:38:23]Sock 7.First char is OK [13:38:23]request: POST /json_proto HTTP/1.0 [13:38:23]Method: POST [13:38:23]URL: /json_proto [13:38:23]Method is POST - this is cgi request [13:38:23]url: /json_proto [13:38:23]query_string will be loaded in cgi processing [13:38:23]execute_cgi json_proto POST (null) [13:38:23]execute_cgi path=json_proto method=POST [13:38:23]POST find Content-Length [13:38:23]Host: 172.17.40.196:8080 [13:38:23]Content-Length: 612 [13:38:23]Content-Type: application/json [13:38:23] [13:38:23]POST finish read [13:38:23]Found Content-Length = 612 [13:38:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35180", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:23]execute_script... [13:38: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)35180", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:38:23]POST & json_proto [13:38:23]process_json_proto [13:38:23]json parsed OK: [13:38:23]protocol is kg_v1.0 [13:38:23]action value=close_receipt [13:38:23]process_action close_receipt [13:38:23]cmd_close_receipt [13:38:23]MH_GetDate [13:38:23]Write to MH i2c: F0 00 00 34 3B 5E [13:38:23]Write i2c OK [13:38:23]MH_I2C_Read... [13:38:23]Read from MH i2c: F0 [13:38:23]MH_I2C_Read... [13:38:23]Read from MH i2c: F0 09 00 [13:38:23]MH_I2C_Read... [13:38:23]Read from MH i2c: F0 09 00 34 3B 00 5C E5 20 67 5B 68 A1 66 F9 [13:38:23]GetLastDocTimeStamp 1730208460 [13:38:23]current date 1730209116 [13:38:23]FM_GetShiftState [13:38:23]SAM_PROTO_GetShiftState [13:38:23]wFMCommunicate request_size=4 [13:38:23]MH_SAM_APDU [13:38:23]CAPDU: 80 13 01 00 [13:38:23]Write to MH i2c: E2 08 00 35 3B 80 13 01 00 00 00 00 00 ED [13:38:23]Write i2c OK [13:38:23]MH_I2C_Read... [13:38:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:23]Read from MH i2c: E2 [13:38:23]MH_I2C_Read... [13:38:23]Read from MH i2c: E2 0E 00 [13:38:23]MH_I2C_Read... [13:38:23]Read from MH i2c: E2 0E 00 35 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 63 [13:38:23]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:38:23]wFMCommunicate OK [13:38:23]SAM_PROTO_GetShiftState done [13:38:23]FM_GetShiftState done [13:38:23]opened in 1730160317 [13:38:23]opened+sec_in_day 1730246717 [13:38:23]quantity*price = 8000 [13:38:23]sum+1 = 8001 [13:38:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 42 29.10.2024 13:38 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37880 ФПД: 5667572885937 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T133836&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37880&fm=5667572885937&tin=02508201610067®Number=0000000000091684&sum=8000 0 [13:38:24]StoreToDocumentArchive [13:38:24]shift 552 fd 37880 [13:38:24]save to /storage/0552/doc_00037880 [13:38:24]save last doc name /storage/0552/doc_00037880 to /storage/kkm_last_doc_name [13:38:24]save OK [13:38:24]Clear old archive folders... [13:38:24]ProcessDocumentItem done err = 0, tmpTLVsize=268 [13:38:24]tlvbuf is B6E1F260 [13:38:24]SAM_PROTO_ClearQueue [13:38:24]wFMCommunicate request_size=4 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 09 00 00 [13:38:24]Write to MH i2c: E2 08 00 42 3B 80 09 00 00 00 00 00 00 EF [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 42 3B 00 90 00 F1 [13:38:24]RAPDU: 90 00 [13:38:24]wFMCommunicate OK [13:38:24]SAM_PROTO_ClearQueue done [13:38:24]KKMCreateOFDPacket [13:38:24]OFDProtocolAddRootSTLVToBuf [13:38:24]FM_MakeSignedData [13:38:24]FM_MakeSignedData [13:38:24]SAM_PROTO_SignData [13:38:24]wFMCommunicate request_size=4 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 0D 01 02 [13:38:24]Write to MH i2c: E2 08 00 43 3B 80 0D 01 02 00 00 00 00 F7 [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 43 3B 00 90 00 F2 [13:38:24]RAPDU: 90 00 [13:38:24]wFMCommunicate OK [13:38:24]wFMCommunicate request_size=255 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 5C E5 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [13:38:24]Write to MH i2c: E2 02 01 44 3B 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 5C E5 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 29 [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 44 3B 00 90 00 F3 [13:38:24]RAPDU: 90 00 [13:38:24]wFMCommunicate OK [13:38:24]wFMCommunicate request_size=27 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 0D 02 02 16 31 38 34 31 10 04 04 00 F8 93 00 00 35 04 06 00 05 27 95 AB 29 B1 [13:38:24]Write to MH i2c: E2 1E 00 45 3B 80 0D 02 02 16 00 31 38 34 31 10 04 04 00 F8 93 00 00 35 04 06 00 05 27 95 AB 29 B1 00 00 1C [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 03 00 45 3B 00 90 00 F4 [13:38:24]RAPDU: 90 00 [13:38:24]wFMCommunicate OK [13:38:24]wFMCommunicate request_size=4 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 0D 03 02 [13:38:24]Write to MH i2c: E2 08 00 46 3B 80 0D 03 02 00 00 00 00 FC [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 0B 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 0B 00 46 3B 00 61 71 53 DD BD 35 D9 4E 90 00 18 [13:38:24]RAPDU: 61 71 53 DD BD 35 D9 4E 90 00 [13:38:24]wFMCommunicate OK [13:38:24]SAM_PROTO_SignData done [13:38:24]FM_MakeSignedData done [13:38:24]CreateOFDProtocolMessage [13:38:24]wFMCommunicate request_size=4 [13:38:24]MH_SAM_APDU [13:38:24]CAPDU: 80 11 00 00 [13:38:24]Write to MH i2c: E2 08 00 47 3B 80 11 00 00 00 00 00 00 FC [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:24]Read from MH i2c: E2 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 17 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: E2 17 00 47 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4C [13:38:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:38:24]wFMCommunicate OK [13:38:24]CreateOFDProtocolMessage done [13:38:24]OFDSenderStorePacket 37880 [13:38:24]StoreOFDPacket docnum=37880 [13:38:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 0C DF 18 01 AA E6 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 5C E5 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F8 93 00 00 35 04 06 00 05 27 95 AB 29 B1 61 71 53 DD BD 35 D9 4E [13:38:24]CheckFolder [13:38:24]dirname=/storage/ofd_packets [13:38:24]CheckFolder done [13:38:24]ProducePacketName [13:38:24]name=ofd_packets/00037880 [13:38:24]NVStorageSaveData ofd_packets/00037880 [13:38:24]File name is /storage/ofd_packets/00037880 [13:38:24]Write 318 bytes [13:38:24]NVStorageSaveData done [13:38:24]OFDSenderStorePacket done [13:38:24]KKMCreateOFDPacket done [13:38:24]NVStorageSaveData kkm_last_timestamp [13:38:24]File name is /storage/kkm_last_timestamp [13:38:24]Write 4 bytes [13:38:24]NVStorageSaveData done [13:38:24]ExternCall_PrintAddStr [13:38:24]wPrintStart [13:38:24]Write to MH i2c: 01 00 00 48 3B 83 [13:38:24]Write i2c OK [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 07 00 [13:38:24]MH_I2C_Read... [13:38:24]Read from MH i2c: 01 07 00 48 3B 00 00 00 00 00 FF 0F 98 [13:38:24]RasterBufferAndPrint [13:38:24]line Счет N : (3)35180 [13:38:24]line ИНН: 02508201610067 [13:38:24]line Контрольно-Кассовый Чек [13:38:24]line ПРОДАЖА [13:38:24]line Товар: 4870001570057 [13:38:24]line Напиток Pepsi 0,5л [13:38:24]line 1.000 * 80.00 [13:38:24]line = 80.00 [13:38:24]line НДС 12% НСП 1% [13:38:24]line > о реализуемом товаре [13:38:24]line ИТОГО: 80.00 [13:38:24]line НСП 1% : 0.71 [13:38:24]line НДС 12% : 8.50 [13:38:24]line Наличными: 80.00 [13:38:24]line Безнал.: 0.00 [13:38:24]line Место: АЗС № 126 "Партнер Нефть" [13:38:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:38:24]line СНО: Общий режим [13:38:24]line Чек 42 29.10.2024 13:38 [13:38:24]line Смена: 552 ФФД: 1.0 [13:38:24]line ЗНМ: 0300000092 [13:38:24]line РНМ: 0000000000091684 [13:38:24]line Версия ККМ: 001 [13:38:24]line ФМ: 0000000000871841 [13:38:24]line ФД: 37880 [13:38:24]line ФПД: 5667572885937 [13:38:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T133836&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37880&fm=5667572885937&tin=02508201610067®Number=0000000000091684&sum=8000 [13:38:25]OFD Sender: Processing packet 37880 [packets to send 42, broken 41] [13:38:25]ProducePacketName [13:38:25]name=ofd_packets/00037880 [13:38:25]OFD Sender: To server: pG, [13:38:25]CommunicateWithHost lk.salyk.kg:30040 [13:38:25]ConnectInit lk.salyk.kg [13:38:25]line 0 [13:38:25]written 0, free lines is 4095 [13:38:25]Write to MH i2c: 01 00 00 70 3B AB [13:38:25]Write i2c OK [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: 01 07 00 70 3B 00 00 00 00 00 CE 0C 8C [13:38:25]RasterBufferAndPrint [13:38:25]line [13:38:25]line [13:38:25]line [13:38:25]line [13:38:25]line [13:38:25]written 0, free lines is 3282 [13:38:25]MH_Cut [13:38:25]Write to MH i2c: D1 01 00 77 3B 01 84 [13:38:25]Write i2c OK [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: D1 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: D1 01 00 [13:38:25]MH_I2C_Read... [13:38:25]Read from MH i2c: D1 01 00 77 3B 00 83 [13:38:25]Write to MH i2c: 01 00 00 78 3B B3 [13:38:25]Write i2c OK [13:38:25]MH_I2C_Read... [13:38:25]Connected sock=10 [13:38:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 0C DF 18 01 AA E6 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 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 5C E5 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F8 93 00 00 35 04 06 00 05 27 95 AB 29 B1 61 71 53 DD BD 35 D9 4E [13:38:26]*** Cut start [13:38:26]*** Partial cut [13:38:26]*** CUTSNS_PIN = 1 [13:38:26]*** CUTSNS_PIN = 0 [13:38:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 98 A8 47 00 D9 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F8 93 00 00 F4 03 04 00 4E 90 20 67 B6 04 01 00 00 74 E5 43 6B EA 0F E1 B2 [13:38:26]CommunicateWithHost err = 0 [13:38:26]CheckOFDResponse [13:38:26]1017 (14) - 77093643461234 [13:38:26]1041 (16) - 0000000000871841 [13:38:26]1040 (4) - 37880 [13:38:26]1012 (4) - 29.10.2024 07:35 [13:38:26]1206 (1) - 0 [13:38:26]OFD Sender: Remove packet 37880 [13:38:26]ProducePacketName [13:38:26]name=ofd_packets/00037880 [13:38:26]NVStorageDeleteData [13:38:26]*** Brake cut motor [13:38:26]OFD Sender: No OFD packet to send [13:38:26]Read from MH i2c: 01 [13:38:26]MH_I2C_Read... [13:38:26]*** Stop cut motor [13:38:26]*** Cut end [13:38:26]Read from MH i2c: 01 07 00 [13:38:26]MH_I2C_Read... [13:38:26]Read from MH i2c: 01 07 00 78 3B 00 00 00 00 00 FF 0F C8 [13:38:26]process_action close_receipt done [13:38:26]requested_data is exist [13:38:26]produce_requested_data [13:38:26]requested_item fm.sn is exist - process it [13:38:26]wFMCommunicate request_size=4 [13:38:26]MH_SAM_APDU [13:38:26]CAPDU: 80 11 00 00 [13:38:26]Write to MH i2c: E2 08 00 79 3B 80 11 00 00 00 00 00 00 2E [13:38:26]Write i2c OK [13:38:26]MH_I2C_Read... [13:38:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:38:26]Read from MH i2c: E2 [13:38:26]MH_I2C_Read... [13:38:26]Read from MH i2c: E2 17 00 [13:38:26]MH_I2C_Read... [13:38:26]Read from MH i2c: E2 17 00 79 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7E [13:38:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:38:26]wFMCommunicate OK [13:38:26]requested_item fd.num is exist - process it [13:38:26]SAM_PROTO_GetFieldsCounters [13:38:26]wFMCommunicate request_size=4 [13:38:26]MH_SAM_APDU [13:38:26]CAPDU: 80 13 00 00 [13:38:26]Write to MH i2c: E2 08 00 7A 3B 80 13 00 00 00 00 00 00 31 [13:38:26]Write i2c OK [13:38:26]MH_I2C_Read... [13:38:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:38:27]Read from MH i2c: E2 [13:38:27]MH_I2C_Read... [13:38:27]Read from MH i2c: E2 62 00 [13:38:27]MH_I2C_Read... [13:38:27]Read from MH i2c: E2 62 00 7A 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 85 [13:38:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F8 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:38:27]wFMCommunicate OK [13:38:27]SAM_PROTO_GetFieldsCounters done [13:38:27]requested_item shift.num is exist - process it [13:38:27]requested_item shift.opened is exist - process it [13:38:27]req_shift_opened [13:38:27]FM_GetShiftState [13:38:27]SAM_PROTO_GetShiftState [13:38:27]wFMCommunicate request_size=4 [13:38:27]MH_SAM_APDU [13:38:27]CAPDU: 80 13 01 00 [13:38:27]Write to MH i2c: E2 08 00 7B 3B 80 13 01 00 00 00 00 00 33 [13:38:27]Write i2c OK [13:38:27]MH_I2C_Read... [13:38:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:38:27]Read from MH i2c: E2 [13:38:27]MH_I2C_Read... [13:38:27]Read from MH i2c: E2 0E 00 [13:38:27]MH_I2C_Read... [13:38:27]Read from MH i2c: E2 0E 00 7B 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 A9 [13:38:27]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:38:27]wFMCommunicate OK [13:38:27]SAM_PROTO_GetShiftState done [13:38:27]FM_GetShiftState done [13:38:27]req_shift_opened done [13:38:27]requested_item shift.open_date is exist - process it [13:38:27]req_shift_open_date [13:38:27]req_shift_open_date done [13:38:27]produce_requested_data done [13:38:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37880,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:38:27]process_action_free close_receipt [13:38:27]json_value_free [13:38:27]json_value_free done [13:38:27]process_json_proto returns [13:38:27]Send response to host [13:38:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37880,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:38:27]free response buf [13:38:27]execute_script done [13:38:27]execute_script returns [13:38:27]free content buf [13:38:27]Sock 7.Close socket [13:38:27]Sock 7.Thread stoped [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:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:47]OFD Sender: No OFD packet to send [13:40:52]OFD Sender: No OFD packet to send [13:40:57]OFD Sender: No OFD packet to send [13:41:02]OFD Sender: No OFD packet to send [13:41:07]OFD Sender: No OFD packet to send [13:41:12]OFD Sender: No OFD packet to send [13:41:17]OFD Sender: No OFD packet to send [13:41:22]OFD Sender: No OFD packet to send [13:41:27]OFD Sender: No OFD packet to send [13:41:32]OFD Sender: No OFD packet to send [13:41:37]OFD Sender: No OFD packet to send [13:41:42]OFD Sender: No OFD packet to send [13:41:47]OFD Sender: No OFD packet to send [13:41:52]OFD Sender: No OFD packet to send [13:41:57]OFD Sender: No OFD packet to send [13:42:02]OFD Sender: No OFD packet to send [13:42:07]OFD Sender: No OFD packet to send [13:42:12]OFD Sender: No OFD packet to send [13:42:17]OFD Sender: No OFD packet to send [13:42:22]OFD Sender: No OFD packet to send [13:42:27]OFD Sender: No OFD packet to send [13:42:32]OFD Sender: No OFD packet to send [13:42:37]OFD Sender: No OFD packet to send [13:42:42]OFD Sender: No OFD packet to send [13:42:47]OFD Sender: No OFD packet to send [13:42:52]OFD Sender: No OFD packet to send [13:42:57]OFD Sender: No OFD packet to send [13:43:02]OFD Sender: No OFD packet to send [13:43:07]OFD Sender: No OFD packet to send [13:43:12]OFD Sender: No OFD packet to send [13:43:17]OFD Sender: No OFD packet to send [13:43:22]OFD Sender: No OFD packet to send [13:43:27]OFD Sender: No OFD packet to send [13:43:32]OFD Sender: No OFD packet to send [13:43:37]OFD Sender: No OFD packet to send [13:43:42]OFD Sender: No OFD packet to send [13:43:47]OFD Sender: No OFD packet to send [13:43:52]OFD Sender: No OFD packet to send [13:43:57]OFD Sender: No OFD packet to send [13:44:02]OFD Sender: No OFD packet to send [13:44:07]OFD Sender: No OFD packet to send [13:44:12]OFD Sender: No OFD packet to send [13:44:17]OFD Sender: No OFD packet to send [13:44:22]OFD Sender: No OFD packet to send [13:44:27]OFD Sender: No OFD packet to send [13:44:32]OFD Sender: No OFD packet to send [13:44:37]OFD Sender: No OFD packet to send [13:44:42]OFD Sender: No OFD packet to send [13:44:47]OFD Sender: No OFD packet to send [13:44:52]OFD Sender: No OFD packet to send [13:44:57]OFD Sender: No OFD packet to send [13:45:02]OFD Sender: No OFD packet to send [13:45:07]OFD Sender: No OFD packet to send [13:45:12]OFD Sender: No OFD packet to send [13:45:17]OFD Sender: No OFD packet to send [13:45:22]OFD Sender: No OFD packet to send [13:45:27]OFD Sender: No OFD packet to send [13:45:32]OFD Sender: No OFD packet to send [13:45:37]OFD Sender: No OFD packet to send [13:45:42]OFD Sender: No OFD packet to send [13:45:47]OFD Sender: No OFD packet to send [13:45:52]OFD Sender: No OFD packet to send [13:45:57]OFD Sender: No OFD packet to send [13:46:02]OFD Sender: No OFD packet to send [13:46:07]OFD Sender: No OFD packet to send [13:46:12]OFD Sender: No OFD packet to send [13:46:17]OFD Sender: No OFD packet to send [13:46:22]OFD Sender: No OFD packet to send [13:46:27]OFD Sender: No OFD packet to send [13:46:32]OFD Sender: No OFD packet to send [13:46:37]OFD Sender: No OFD packet to send [13:46:42]OFD Sender: No OFD packet to send [13:46:47]OFD Sender: No OFD packet to send [13:46:52]OFD Sender: No OFD packet to send [13:46:57]OFD Sender: No OFD packet to send [13:47:02]OFD Sender: No OFD packet to send [13:47:07]OFD Sender: No OFD packet to send [13:47:12]OFD Sender: No OFD packet to send [13:47:17]OFD Sender: No OFD packet to send [13:47:22]OFD Sender: No OFD packet to send [13:47:27]OFD Sender: No OFD packet to send [13:47:32]OFD Sender: No OFD packet to send [13:47:37]OFD Sender: No OFD packet to send [13:47:42]OFD Sender: No OFD packet to send [13:47:47]OFD Sender: No OFD packet to send [13:47:52]OFD Sender: No OFD packet to send [13:47:57]OFD Sender: No OFD packet to send [13:48:02]OFD Sender: No OFD packet to send [13:48:07]OFD Sender: No OFD packet to send [13:48:12]OFD Sender: No OFD packet to send [13:48:17]OFD Sender: No OFD packet to send [13:48:22]OFD Sender: No OFD packet to send [13:48:27]OFD Sender: No OFD packet to send [13:48:32]OFD Sender: No OFD packet to send [13:48:37]OFD Sender: No OFD packet to send [13:48:42]OFD Sender: No OFD packet to send [13:48:47]OFD Sender: No OFD packet to send [13:48:52]OFD Sender: No OFD packet to send [13:48:57]OFD Sender: No OFD packet to send [13:49:02]OFD Sender: No OFD packet to send [13:49:07]OFD Sender: No OFD packet to send [13:49:12]OFD Sender: No OFD packet to send [13:49:17]OFD Sender: No OFD packet to send [13:49:22]OFD Sender: No OFD packet to send [13:49:27]OFD Sender: No OFD packet to send [13:49:32]OFD Sender: No OFD packet to send [13:49:37]OFD Sender: No OFD packet to send [13:49:42]OFD Sender: No OFD packet to send [13:49:47]OFD Sender: No OFD packet to send [13:49:52]OFD Sender: No OFD packet to send [13:49:54]accept exits with 9 [13:49:54]New connection [13:49:54]New thread 3067440484 created [13:49:54]Thread 3067297124 joined [13:49:54]Waiting for new connection... [13:49:54] Sock 9.Parse request [13:49:54]Sock 9.Check first char [13:49:54]Sock 9.First char is OK [13:49:54]request: POST /json_proto HTTP/1.0 [13:49:54]Method: POST [13:49:54]URL: /json_proto [13:49:54]Method is POST - this is cgi request [13:49:54]url: /json_proto [13:49:54]query_string will be loaded in cgi processing [13:49:54]execute_cgi json_proto POST (null) [13:49:54]execute_cgi path=json_proto method=POST [13:49:54]POST find Content-Length [13:49:54]Host: 172.17.40.196:8080 [13:49:54]Content-Length: 643 [13:49:54]Content-Type: application/json [13:49:54] [13:49:54]POST finish read [13:49:54]Found Content-Length = 643 [13:49:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35181", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:54]execute_script... [13:49: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)35181", "tax_sys" : 0, "items" : [ { "code": "5449000005489", "name": "\u0412\u043E\u0434\u0430 \u0411\u043E\u043D\u0430\u043A\u0432\u0430 1\u043B \u0431/\u0433", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 50.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:49:54]POST & json_proto [13:49:54]process_json_proto [13:49:54]json parsed OK: [13:49:54]protocol is kg_v1.0 [13:49:54]action value=close_receipt [13:49:54]process_action close_receipt [13:49:54]cmd_close_receipt [13:49:54]MH_GetDate [13:49:54]Write to MH i2c: F0 00 00 7C 3B A6 [13:49:54]Write i2c OK [13:49:54]MH_I2C_Read... [13:49:54]Read from MH i2c: F0 [13:49:54]MH_I2C_Read... [13:49:54]Read from MH i2c: F0 09 00 [13:49:54]MH_I2C_Read... [13:49:54]Read from MH i2c: F0 09 00 7C 3B 00 10 E8 20 67 5B 68 A1 66 F8 [13:49:54]GetLastDocTimeStamp 1730209116 [13:49:54]current date 1730209808 [13:49:54]FM_GetShiftState [13:49:54]SAM_PROTO_GetShiftState [13:49:54]wFMCommunicate request_size=4 [13:49:54]MH_SAM_APDU [13:49:54]CAPDU: 80 13 01 00 [13:49:54]Write to MH i2c: E2 08 00 7D 3B 80 13 01 00 00 00 00 00 35 [13:49:54]Write i2c OK [13:49:54]MH_I2C_Read... [13:49:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:54]Read from MH i2c: E2 [13:49:54]MH_I2C_Read... [13:49:54]Read from MH i2c: E2 0E 00 [13:49:54]MH_I2C_Read... [13:49:54]Read from MH i2c: E2 0E 00 7D 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 AB [13:49:54]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:49:54]wFMCommunicate OK [13:49:54]SAM_PROTO_GetShiftState done [13:49:54]FM_GetShiftState done [13:49:54]opened in 1730160317 [13:49:54]opened+sec_in_day 1730246717 [13:49:54]quantity*price = 5000 [13:49:54]sum+1 = 5001 [13:49:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 43 29.10.2024 13:50 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37881 ФПД: 138601509833669 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135008&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37881&fm=138601509833669&tin=02508201610067®Number=0000000000091684&sum=5000 0 [13:49:56]StoreToDocumentArchive [13:49:56]shift 552 fd 37881 [13:49:56]save to /storage/0552/doc_00037881 [13:49:56]save last doc name /storage/0552/doc_00037881 to /storage/kkm_last_doc_name [13:49:56]save OK [13:49:56]Clear old archive folders... [13:49:56]ProcessDocumentItem done err = 0, tmpTLVsize=275 [13:49:56]tlvbuf is 0029A2E0 [13:49:56]SAM_PROTO_ClearQueue [13:49:56]wFMCommunicate request_size=4 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 09 00 00 [13:49:56]Write to MH i2c: E2 08 00 8A 3B 80 09 00 00 00 00 00 00 37 [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 8A 3B 00 90 00 39 [13:49:56]RAPDU: 90 00 [13:49:56]wFMCommunicate OK [13:49:56]SAM_PROTO_ClearQueue done [13:49:56]KKMCreateOFDPacket [13:49:56]OFDProtocolAddRootSTLVToBuf [13:49:56]FM_MakeSignedData [13:49:56]FM_MakeSignedData [13:49:56]SAM_PROTO_SignData [13:49:56]wFMCommunicate request_size=4 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 0D 01 02 [13:49:56]Write to MH i2c: E2 08 00 8B 3B 80 0D 01 02 00 00 00 00 3F [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 8B 3B 00 90 00 3A [13:49:56]RAPDU: 90 00 [13:49:56]wFMCommunicate OK [13:49:56]wFMCommunicate request_size=255 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 10 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [13:49:56]Write to MH i2c: E2 02 01 8C 3B 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 10 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 77 [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 8C 3B 00 90 00 3B [13:49:56]RAPDU: 90 00 [13:49:56]wFMCommunicate OK [13:49:56]wFMCommunicate request_size=34 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F9 93 00 00 35 04 06 00 7E 0E AD C2 4B C5 [13:49:56]Write to MH i2c: E2 25 00 8D 3B 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F9 93 00 00 35 04 06 00 7E 0E AD C2 4B C5 00 00 97 [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 03 00 8D 3B 00 90 00 3C [13:49:56]RAPDU: 90 00 [13:49:56]wFMCommunicate OK [13:49:56]wFMCommunicate request_size=4 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 0D 03 02 [13:49:56]Write to MH i2c: E2 08 00 8E 3B 80 0D 03 02 00 00 00 00 44 [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 0B 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 0B 00 8E 3B 00 4E CE 5D B4 72 0F D1 25 90 00 E9 [13:49:56]RAPDU: 4E CE 5D B4 72 0F D1 25 90 00 [13:49:56]wFMCommunicate OK [13:49:56]SAM_PROTO_SignData done [13:49:56]FM_MakeSignedData done [13:49:56]CreateOFDProtocolMessage [13:49:56]wFMCommunicate request_size=4 [13:49:56]MH_SAM_APDU [13:49:56]CAPDU: 80 11 00 00 [13:49:56]Write to MH i2c: E2 08 00 8F 3B 80 11 00 00 00 00 00 00 44 [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:56]Read from MH i2c: E2 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 17 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: E2 17 00 8F 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 94 [13:49:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:49:56]wFMCommunicate OK [13:49:56]CreateOFDProtocolMessage done [13:49:56]OFDSenderStorePacket 37881 [13:49:56]StoreOFDPacket docnum=37881 [13:49:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 64 D5 1F 01 14 7A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 10 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F9 93 00 00 35 04 06 00 7E 0E AD C2 4B C5 4E CE 5D B4 72 0F D1 25 [13:49:56]CheckFolder [13:49:56]dirname=/storage/ofd_packets [13:49:56]CheckFolder done [13:49:56]ProducePacketName [13:49:56]name=ofd_packets/00037881 [13:49:56]NVStorageSaveData ofd_packets/00037881 [13:49:56]File name is /storage/ofd_packets/00037881 [13:49:56]Write 325 bytes [13:49:56]NVStorageSaveData done [13:49:56]OFDSenderStorePacket done [13:49:56]KKMCreateOFDPacket done [13:49:56]NVStorageSaveData kkm_last_timestamp [13:49:56]File name is /storage/kkm_last_timestamp [13:49:56]Write 4 bytes [13:49:56]NVStorageSaveData done [13:49:56]ExternCall_PrintAddStr [13:49:56]wPrintStart [13:49:56]Write to MH i2c: 01 00 00 90 3B CB [13:49:56]Write i2c OK [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: 01 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: 01 07 00 [13:49:56]MH_I2C_Read... [13:49:56]Read from MH i2c: 01 07 00 90 3B 00 00 00 00 00 FF 0F E0 [13:49:56]RasterBufferAndPrint [13:49:56]line Счет N : (3)35181 [13:49:56]line ИНН: 02508201610067 [13:49:56]line Контрольно-Кассовый Чек [13:49:56]line ПРОДАЖА [13:49:56]line Товар: 5449000005489 [13:49:56]line Вода Бонаква 1л б/г [13:49:56]line 1.000 * 50.00 [13:49:56]line = 50.00 [13:49:56]line НДС 12% НСП 1% [13:49:56]line > о реализуемом товаре [13:49:56]line ИТОГО: 50.00 [13:49:56]line НСП 1% : 0.44 [13:49:56]line НДС 12% : 5.31 [13:49:56]line Наличными: 50.00 [13:49:56]line Безнал.: 0.00 [13:49:56]line Место: АЗС № 126 "Партнер Нефть" [13:49:56]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:49:56]line СНО: Общий режим [13:49:56]line Чек 43 29.10.2024 13:50 [13:49:56]line Смена: 552 ФФД: 1.0 [13:49:56]line ЗНМ: 0300000092 [13:49:56]line РНМ: 0000000000091684 [13:49:56]line Версия ККМ: 001 [13:49:56]line ФМ: 0000000000871841 [13:49:56]line ФД: 37881 [13:49:56]line ФПД: 138601509833669 [13:49:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135008&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37881&fm=138601509833669&tin=02508201610067®Number=0000000000091684&sum=5000 [13:49:56]line 0 [13:49:57]written 0, free lines is 4095 [13:49:57]OFD Sender: Processing packet 37881 [packets to send 42, broken 41] [13:49:57]ProducePacketName [13:49:57]name=ofd_packets/00037881 [13:49:57]OFD Sender: To server: pG, [13:49:57]CommunicateWithHost lk.salyk.kg:30040 [13:49:57]ConnectInit lk.salyk.kg [13:49:57]Connected sock=11 [13:49:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 64 D5 1F 01 14 7A 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2B 00 00 00 F4 03 04 00 10 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F9 93 00 00 35 04 06 00 7E 0E AD C2 4B C5 4E CE 5D B4 72 0F D1 25 [13:49:57]Write to MH i2c: 01 00 00 B8 3B F3 [13:49:57]Write i2c OK [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: 01 [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: 01 07 00 [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: 01 07 00 B8 3B 00 00 00 00 00 D4 0C DA [13:49:57]RasterBufferAndPrint [13:49:57]line [13:49:57]line [13:49:57]line [13:49:57]line [13:49:57]line [13:49:57]written 0, free lines is 3292 [13:49:57]MH_Cut [13:49:57]Write to MH i2c: D1 01 00 BF 3B 01 CC [13:49:57]Write i2c OK [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: D1 [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: D1 01 00 [13:49:57]MH_I2C_Read... [13:49:57]Read from MH i2c: D1 01 00 BF 3B 00 CB [13:49:57]Write to MH i2c: 01 00 00 C0 3B FB [13:49:57]Write i2c OK [13:49:57]MH_I2C_Read... [13:49:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 93 1B 47 00 BE D9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 F9 93 00 00 F4 03 04 00 01 93 20 67 B6 04 01 00 00 18 1E F0 15 6C 41 A4 30 [13:49:57]CommunicateWithHost err = 0 [13:49:57]CheckOFDResponse [13:49:57]1017 (14) - 77093643461234 [13:49:57]1041 (16) - 0000000000871841 [13:49:57]1040 (4) - 37881 [13:49:57]1012 (4) - 29.10.2024 07:47 [13:49:57]1206 (1) - 0 [13:49:57]OFD Sender: Remove packet 37881 [13:49:57]ProducePacketName [13:49:57]name=ofd_packets/00037881 [13:49:57]NVStorageDeleteData [13:49:58]*** Cut start [13:49:58]*** Partial cut [13:49:58]*** CUTSNS_PIN = 1 [13:49:58]*** CUTSNS_PIN = 0 [13:49:58]OFD Sender: No OFD packet to send [13:49:58]*** Brake cut motor [13:49:58]Read from MH i2c: 01 [13:49:58]MH_I2C_Read... [13:49:58]*** Stop cut motor [13:49:58]*** Cut end [13:49:58]Read from MH i2c: 01 07 00 [13:49:58]MH_I2C_Read... [13:49:58]Read from MH i2c: 01 07 00 C0 3B 00 00 00 00 00 FF 0F 10 [13:49:58]process_action close_receipt done [13:49:58]requested_data is exist [13:49:58]produce_requested_data [13:49:58]requested_item fm.sn is exist - process it [13:49:58]wFMCommunicate request_size=4 [13:49:58]MH_SAM_APDU [13:49:58]CAPDU: 80 11 00 00 [13:49:58]Write to MH i2c: E2 08 00 C1 3B 80 11 00 00 00 00 00 00 76 [13:49:58]Write i2c OK [13:49:58]MH_I2C_Read... [13:49:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:49:58]Read from MH i2c: E2 [13:49:58]MH_I2C_Read... [13:49:58]Read from MH i2c: E2 17 00 [13:49:58]MH_I2C_Read... [13:49:58]Read from MH i2c: E2 17 00 C1 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C6 [13:49:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:49:58]wFMCommunicate OK [13:49:58]requested_item fd.num is exist - process it [13:49:58]SAM_PROTO_GetFieldsCounters [13:49:58]wFMCommunicate request_size=4 [13:49:58]MH_SAM_APDU [13:49:58]CAPDU: 80 13 00 00 [13:49:58]Write to MH i2c: E2 08 00 C2 3B 80 13 00 00 00 00 00 00 79 [13:49:58]Write i2c OK [13:49:58]MH_I2C_Read... [13:49:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:49:59]Read from MH i2c: E2 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: E2 62 00 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: E2 62 00 C2 3B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 D1 [13:49:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 F9 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:49:59]wFMCommunicate OK [13:49:59]SAM_PROTO_GetFieldsCounters done [13:49:59]requested_item shift.num is exist - process it [13:49:59]requested_item shift.opened is exist - process it [13:49:59]req_shift_opened [13:49:59]FM_GetShiftState [13:49:59]SAM_PROTO_GetShiftState [13:49:59]wFMCommunicate request_size=4 [13:49:59]MH_SAM_APDU [13:49:59]CAPDU: 80 13 01 00 [13:49:59]Write to MH i2c: E2 08 00 C3 3B 80 13 01 00 00 00 00 00 7B [13:49:59]Write i2c OK [13:49:59]MH_I2C_Read... [13:49:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:49:59]Read from MH i2c: E2 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: E2 0E 00 [13:49:59]MH_I2C_Read... [13:49:59]Read from MH i2c: E2 0E 00 C3 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F1 [13:49:59]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:49:59]wFMCommunicate OK [13:49:59]SAM_PROTO_GetShiftState done [13:49:59]FM_GetShiftState done [13:49:59]req_shift_opened done [13:49:59]requested_item shift.open_date is exist - process it [13:49:59]req_shift_open_date [13:49:59]req_shift_open_date done [13:49:59]produce_requested_data done [13:49:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37881,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:49:59]process_action_free close_receipt [13:49:59]json_value_free [13:49:59]json_value_free done [13:49:59]process_json_proto returns [13:49:59]Send response to host [13:49:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37881,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:49:59]free response buf [13:49:59]execute_script done [13:49:59]execute_script returns [13:49:59]free content buf [13:49:59]Sock 9.Close socket [13:49:59]Sock 9.Thread stoped [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:48]accept exits with 10 [13:51:48]New connection [13:51:48]New thread 3067297124 created [13:51:48]Thread 3067440484 joined [13:51:48]Waiting for new connection... [13:51:48] Sock 10.Parse request [13:51:48]Sock 10.Check first char [13:51:48]Sock 10.First char is OK [13:51:48]request: POST /json_proto HTTP/1.0 [13:51:48]Method: POST [13:51:48]URL: /json_proto [13:51:48]Method is POST - this is cgi request [13:51:48]url: /json_proto [13:51:48]query_string will be loaded in cgi processing [13:51:48]execute_cgi json_proto POST (null) [13:51:48]execute_cgi path=json_proto method=POST [13:51:48]POST find Content-Length [13:51:48]Host: 172.17.40.196:8080 [13:51:48]Content-Length: 641 [13:51:48]Content-Type: application/json [13:51:48] [13:51:48]POST finish read [13:51:48]Found Content-Length = 641 [13:51:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35182", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:48]execute_script... [13:51: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)35182", "tax_sys" : 0, "items" : [ { "code": "4607065001445", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A Snickers 50,5\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:51:48]POST & json_proto [13:51:48]process_json_proto [13:51:48]json parsed OK: [13:51:48]protocol is kg_v1.0 [13:51:48]action value=close_receipt [13:51:48]process_action close_receipt [13:51:48]cmd_close_receipt [13:51:48]MH_GetDate [13:51:48]Write to MH i2c: F0 00 00 C4 3B EE [13:51:48]Write i2c OK [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: F0 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: F0 09 00 [13:51:48]MH_I2C_Read... [13:51:48]Read from MH i2c: F0 09 00 C4 3B 00 82 E8 20 67 5B 68 A1 66 B2 [13:51:48]GetLastDocTimeStamp 1730209808 [13:51:48]current date 1730209922 [13:51:48]FM_GetShiftState [13:51:48]SAM_PROTO_GetShiftState [13:51:48]wFMCommunicate request_size=4 [13:51:48]MH_SAM_APDU [13:51:48]CAPDU: 80 13 01 00 [13:51:48]Write to MH i2c: E2 08 00 C5 3B 80 13 01 00 00 00 00 00 7D [13:51:48]Write i2c OK [13:51:48]MH_I2C_Read... [13:51:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:49]Read from MH i2c: E2 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 0E 00 [13:51:49]MH_I2C_Read... [13:51:49]Read from MH i2c: E2 0E 00 C5 3B 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F3 [13:51:49]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:51:49]wFMCommunicate OK [13:51:49]SAM_PROTO_GetShiftState done [13:51:49]FM_GetShiftState done [13:51:49]opened in 1730160317 [13:51:49]opened+sec_in_day 1730246717 [13:51:49]quantity*price = 5900 [13:51:49]sum+1 = 5901 [13:51:49]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 44 29.10.2024 13:52 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37882 ФПД: 136465108199382 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135202&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37882&fm=136465108199382&tin=02508201610067®Number=0000000000091684&sum=5900 0 [13:51:50]StoreToDocumentArchive [13:51:50]shift 552 fd 37882 [13:51:50]save to /storage/0552/doc_00037882 [13:51:50]save last doc name /storage/0552/doc_00037882 to /storage/kkm_last_doc_name [13:51:50]save OK [13:51:50]Clear old archive folders... [13:51:50]ProcessDocumentItem done err = 0, tmpTLVsize=281 [13:51:50]tlvbuf is 002F0A20 [13:51:50]SAM_PROTO_ClearQueue [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 09 00 00 [13:51:50]Write to MH i2c: E2 08 00 D2 3B 80 09 00 00 00 00 00 00 7F [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 D2 3B 00 90 00 81 [13:51:50]RAPDU: 90 00 [13:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_ClearQueue done [13:51:50]KKMCreateOFDPacket [13:51:50]OFDProtocolAddRootSTLVToBuf [13:51:50]FM_MakeSignedData [13:51:50]FM_MakeSignedData [13:51:50]SAM_PROTO_SignData [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 0D 01 02 [13:51:50]Write to MH i2c: E2 08 00 D3 3B 80 0D 01 02 00 00 00 00 87 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 D3 3B 00 90 00 82 [13:51:50]RAPDU: 90 00 [13:51:50]wFMCommunicate OK [13:51:50]wFMCommunicate request_size=255 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 0D 02 02 FA 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 82 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 [13:51:50]Write to MH i2c: E2 02 01 D4 3B 80 0D 02 02 FA 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 82 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 5E [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 D4 3B 00 90 00 83 [13:51:50]RAPDU: 90 00 [13:51:50]wFMCommunicate OK [13:51:50]wFMCommunicate request_size=40 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 0D 02 02 23 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FA 93 00 00 35 04 06 00 7C 1D 42 4C 67 D6 [13:51:50]Write to MH i2c: E2 2B 00 D5 3B 80 0D 02 02 23 00 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FA 93 00 00 35 04 06 00 7C 1D 42 4C 67 D6 00 00 35 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 03 00 D5 3B 00 90 00 84 [13:51:50]RAPDU: 90 00 [13:51:50]wFMCommunicate OK [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 0D 03 02 [13:51:50]Write to MH i2c: E2 08 00 D6 3B 80 0D 03 02 00 00 00 00 8C [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 0B 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 0B 00 D6 3B 00 CA 78 4C 8B 17 09 6E 48 90 00 7C [13:51:50]RAPDU: CA 78 4C 8B 17 09 6E 48 90 00 [13:51:50]wFMCommunicate OK [13:51:50]SAM_PROTO_SignData done [13:51:50]FM_MakeSignedData done [13:51:50]CreateOFDProtocolMessage [13:51:50]wFMCommunicate request_size=4 [13:51:50]MH_SAM_APDU [13:51:50]CAPDU: 80 11 00 00 [13:51:50]Write to MH i2c: E2 08 00 D7 3B 80 11 00 00 00 00 00 00 8C [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:50]Read from MH i2c: E2 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 17 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: E2 17 00 D7 3B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DC [13:51:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:51:50]wFMCommunicate OK [13:51:50]CreateOFDProtocolMessage done [13:51:50]OFDSenderStorePacket 37882 [13:51:50]StoreOFDPacket docnum=37882 [13:51:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 6D 0E 25 01 26 BA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 82 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FA 93 00 00 35 04 06 00 7C 1D 42 4C 67 D6 CA 78 4C 8B 17 09 6E 48 [13:51:50]CheckFolder [13:51:50]dirname=/storage/ofd_packets [13:51:50]CheckFolder done [13:51:50]ProducePacketName [13:51:50]name=ofd_packets/00037882 [13:51:50]NVStorageSaveData ofd_packets/00037882 [13:51:50]File name is /storage/ofd_packets/00037882 [13:51:50]Write 331 bytes [13:51:50]NVStorageSaveData done [13:51:50]OFDSenderStorePacket done [13:51:50]KKMCreateOFDPacket done [13:51:50]NVStorageSaveData kkm_last_timestamp [13:51:50]File name is /storage/kkm_last_timestamp [13:51:50]Write 4 bytes [13:51:50]NVStorageSaveData done [13:51:50]ExternCall_PrintAddStr [13:51:50]wPrintStart [13:51:50]Write to MH i2c: 01 00 00 D8 3B 13 [13:51:50]Write i2c OK [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: 01 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: 01 07 00 [13:51:50]MH_I2C_Read... [13:51:50]Read from MH i2c: 01 07 00 D8 3B 00 00 00 00 00 FF 0F 28 [13:51:50]RasterBufferAndPrint [13:51:50]line Счет N : (3)35182 [13:51:50]line ИНН: 02508201610067 [13:51:50]line Контрольно-Кассовый Чек [13:51:50]line ПРОДАЖА [13:51:50]line Товар: 4607065001445 [13:51:50]line Шок батончик Snickers 50,5г [13:51:50]line 1.000 * 59.00 [13:51:50]line = 59.00 [13:51:50]line НДС 12% НСП 1% [13:51:50]line > о реализуемом товаре [13:51:50]line ИТОГО: 59.00 [13:51:50]line НСП 1% : 0.52 [13:51:50]line НДС 12% : 6.26 [13:51:50]line Наличными: 59.00 [13:51:50]line Безнал.: 0.00 [13:51:50]line Место: АЗС № 126 "Партнер Нефть" [13:51:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:51:50]line СНО: Общий режим [13:51:50]line Чек 44 29.10.2024 13:52 [13:51:50]line Смена: 552 ФФД: 1.0 [13:51:50]line ЗНМ: 0300000092 [13:51:50]line РНМ: 0000000000091684 [13:51:50]line Версия ККМ: 001 [13:51:50]line ФМ: 0000000000871841 [13:51:50]line ФД: 37882 [13:51:50]line ФПД: 136465108199382 [13:51:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135202&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37882&fm=136465108199382&tin=02508201610067®Number=0000000000091684&sum=5900 [13:51:51]OFD Sender: Processing packet 37882 [packets to send 42, broken 41] [13:51:51]ProducePacketName [13:51:51]name=ofd_packets/00037882 [13:51:51]OFD Sender: To server: pG, [13:51:51]CommunicateWithHost lk.salyk.kg:30040 [13:51:51]ConnectInit lk.salyk.kg [13:51:51]line 0 [13:51:51]written 0, free lines is 4095 [13:51:51]Connected sock=7 [13:51:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2D 01 00 00 6D 0E 25 01 26 BA 5A 03 01 00 03 00 19 01 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 31 34 34 35 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 B1 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 53 6E 69 63 6B 65 72 73 20 35 30 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 0C 17 00 00 00 00 13 04 06 00 0C 17 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 17 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2C 00 00 00 F4 03 04 00 82 E8 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FA 93 00 00 35 04 06 00 7C 1D 42 4C 67 D6 CA 78 4C 8B 17 09 6E 48 [13:51:51]Write to MH i2c: 01 00 00 00 3C 3C [13:51:51]Write i2c OK [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: 01 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: 01 07 00 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: 01 07 00 00 3C 00 00 00 00 00 C9 0C 18 [13:51:51]RasterBufferAndPrint [13:51:51]line [13:51:51]line [13:51:51]line [13:51:51]line [13:51:51]line [13:51:51]written 0, free lines is 3280 [13:51:51]MH_Cut [13:51:51]Write to MH i2c: D1 01 00 07 3C 01 15 [13:51:51]Write i2c OK [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: D1 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: D1 01 00 [13:51:51]MH_I2C_Read... [13:51:51]Read from MH i2c: D1 01 00 07 3C 00 14 [13:51:51]Write to MH i2c: 01 00 00 08 3C 44 [13:51:51]Write i2c OK [13:51:51]MH_I2C_Read... [13:51:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7C 15 47 00 A3 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 38 37 31 38 34 31 10 04 04 00 FA 93 00 00 F4 03 04 00 73 93 20 67 B6 04 01 00 00 42 95 77 E0 D5 52 C9 95 [13:51:51]CommunicateWithHost err = 0 [13:51:51]CheckOFDResponse [13:51:51]1017 (14) - 77093643461234 [13:51:51]1041 (16) - 0000000000871841 [13:51:51]1040 (4) - 37882 [13:51:51]1012 (4) - 29.10.2024 07:49 [13:51:51]1206 (1) - 0 [13:51:51]OFD Sender: Remove packet 37882 [13:51:51]ProducePacketName [13:51:51]name=ofd_packets/00037882 [13:51:51]NVStorageDeleteData [13:51:52]OFD Sender: No OFD packet to send [13:51:52]*** Cut start [13:51:52]*** Partial cut [13:51:52]*** CUTSNS_PIN = 1 [13:51:52]*** CUTSNS_PIN = 0 [13:51:52]*** Brake cut motor [13:51:52]Read from MH i2c: 01 [13:51:52]MH_I2C_Read... [13:51:52]*** Stop cut motor [13:51:52]*** Cut end [13:51:52]Read from MH i2c: 01 07 00 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: 01 07 00 08 3C 00 00 00 00 00 FF 0F 59 [13:51:52]process_action close_receipt done [13:51:52]requested_data is exist [13:51:52]produce_requested_data [13:51:52]requested_item fm.sn is exist - process it [13:51:52]wFMCommunicate request_size=4 [13:51:52]MH_SAM_APDU [13:51:52]CAPDU: 80 11 00 00 [13:51:52]Write to MH i2c: E2 08 00 09 3C 80 11 00 00 00 00 00 00 BF [13:51:52]Write i2c OK [13:51:52]MH_I2C_Read... [13:51:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:51:52]Read from MH i2c: E2 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 17 00 [13:51:52]MH_I2C_Read... [13:51:52]Read from MH i2c: E2 17 00 09 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0F [13:51:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:51:52]wFMCommunicate OK [13:51:52]requested_item fd.num is exist - process it [13:51:52]SAM_PROTO_GetFieldsCounters [13:51:52]wFMCommunicate request_size=4 [13:51:52]MH_SAM_APDU [13:51:52]CAPDU: 80 13 00 00 [13:51:52]Write to MH i2c: E2 08 00 0A 3C 80 13 00 00 00 00 00 00 C2 [13:51:52]Write i2c OK [13:51:52]MH_I2C_Read... [13:51:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:51:53]Read from MH i2c: E2 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 62 00 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 62 00 0A 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 1E [13:51:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FA 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:51:53]wFMCommunicate OK [13:51:53]SAM_PROTO_GetFieldsCounters done [13:51:53]requested_item shift.num is exist - process it [13:51:53]requested_item shift.opened is exist - process it [13:51:53]req_shift_opened [13:51:53]FM_GetShiftState [13:51:53]SAM_PROTO_GetShiftState [13:51:53]wFMCommunicate request_size=4 [13:51:53]MH_SAM_APDU [13:51:53]CAPDU: 80 13 01 00 [13:51:53]Write to MH i2c: E2 08 00 0B 3C 80 13 01 00 00 00 00 00 C4 [13:51:53]Write i2c OK [13:51:53]MH_I2C_Read... [13:51:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:51:53]Read from MH i2c: E2 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 0E 00 [13:51:53]MH_I2C_Read... [13:51:53]Read from MH i2c: E2 0E 00 0B 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3A [13:51:53]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:51:53]wFMCommunicate OK [13:51:53]SAM_PROTO_GetShiftState done [13:51:53]FM_GetShiftState done [13:51:53]req_shift_opened done [13:51:53]requested_item shift.open_date is exist - process it [13:51:53]req_shift_open_date [13:51:53]req_shift_open_date done [13:51:53]produce_requested_data done [13:51:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37882,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:51:53]process_action_free close_receipt [13:51:53]json_value_free [13:51:53]json_value_free done [13:51:53]process_json_proto returns [13:51:53]Send response to host [13:51:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37882,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:51:53]free response buf [13:51:53]execute_script done [13:51:53]execute_script returns [13:51:53]free content buf [13:51:53]Sock 10.Close socket [13:51:53]Sock 10.Thread stoped [13:51:57]OFD Sender: No OFD packet to send [13:52:02]OFD Sender: No OFD packet to send [13:52:07]OFD Sender: No OFD packet to send [13:52:12]OFD Sender: No OFD packet to send [13:52:17]OFD Sender: No OFD packet to send [13:52:22]OFD Sender: No OFD packet to send [13:52:27]OFD Sender: No OFD packet to send [13:52:32]OFD Sender: No OFD packet to send [13:52:37]OFD Sender: No OFD packet to send [13:52:42]OFD Sender: No OFD packet to send [13:52:47]OFD Sender: No OFD packet to send [13:52:52]OFD Sender: No OFD packet to send [13:52:57]OFD Sender: No OFD packet to send [13:53:02]OFD Sender: No OFD packet to send [13:53:07]OFD Sender: No OFD packet to send [13:53:12]OFD Sender: No OFD packet to send [13:53:17]OFD Sender: No OFD packet to send [13:53:22]OFD Sender: No OFD packet to send [13:53:27]OFD Sender: No OFD packet to send [13:53:32]OFD Sender: No OFD packet to send [13:53:37]OFD Sender: No OFD packet to send [13:53:42]OFD Sender: No OFD packet to send [13:53:47]OFD Sender: No OFD packet to send [13:53:52]OFD Sender: No OFD packet to send [13:53:57]OFD Sender: No OFD packet to send [13:54:02]OFD Sender: No OFD packet to send [13:54:07]OFD Sender: No OFD packet to send [13:54:12]OFD Sender: No OFD packet to send [13:54:17]OFD Sender: No OFD packet to send [13:54:22]OFD Sender: No OFD packet to send [13:54:27]OFD Sender: No OFD packet to send [13:54:32]OFD Sender: No OFD packet to send [13:54:37]OFD Sender: No OFD packet to send [13:54:42]OFD Sender: No OFD packet to send [13:54:47]OFD Sender: No OFD packet to send [13:54:52]OFD Sender: No OFD packet to send [13:54:57]OFD Sender: No OFD packet to send [13:55:02]OFD Sender: No OFD packet to send [13:55:07]OFD Sender: No OFD packet to send [13:55:12]OFD Sender: No OFD packet to send [13:55:17]OFD Sender: No OFD packet to send [13:55:22]OFD Sender: No OFD packet to send [13:55:27]OFD Sender: No OFD packet to send [13:55:32]OFD Sender: No OFD packet to send [13:55:37]OFD Sender: No OFD packet to send [13:55:42]OFD Sender: No OFD packet to send [13:55:47]OFD Sender: No OFD packet to send [13:55:52]OFD Sender: No OFD packet to send [13:55:57]OFD Sender: No OFD packet to send [13:56:02]OFD Sender: No OFD packet to send [13:56:07]OFD Sender: No OFD packet to send [13:56:12]OFD Sender: No OFD packet to send [13:56:17]OFD Sender: No OFD packet to send [13:56:22]OFD Sender: No OFD packet to send [13:56:27]OFD Sender: No OFD packet to send [13:56:32]OFD Sender: No OFD packet to send [13:56:37]OFD Sender: No OFD packet to send [13:56:42]OFD Sender: No OFD packet to send [13:56:47]OFD Sender: No OFD packet to send [13:56:52]OFD Sender: No OFD packet to send [13:56:57]OFD Sender: No OFD packet to send [13:57:02]OFD Sender: No OFD packet to send [13:57:07]OFD Sender: No OFD packet to send [13:57:12]OFD Sender: No OFD packet to send [13:57:17]OFD Sender: No OFD packet to send [13:57:22]OFD Sender: No OFD packet to send [13:57:27]OFD Sender: No OFD packet to send [13:57:32]OFD Sender: No OFD packet to send [13:57:37]OFD Sender: No OFD packet to send [13:57:42]OFD Sender: No OFD packet to send [13:57:47]OFD Sender: No OFD packet to send [13:57:52]OFD Sender: No OFD packet to send [13:57:57]OFD Sender: No OFD packet to send [13:58:02]OFD Sender: No OFD packet to send [13:58:07]OFD Sender: No OFD packet to send [13:58:12]OFD Sender: No OFD packet to send [13:58:17]OFD Sender: No OFD packet to send [13:58:22]OFD Sender: No OFD packet to send [13:58:27]OFD Sender: No OFD packet to send [13:58:32]OFD Sender: No OFD packet to send [13:58:37]OFD Sender: No OFD packet to send [13:58:39]accept exits with 9 [13:58:39]New connection [13:58:39]New thread 3067440484 created [13:58:39]Thread 3067297124 joined [13:58:39]Waiting for new connection... [13:58:39] Sock 9.Parse request [13:58:39]Sock 9.Check first char [13:58:39]Sock 9.First char is OK [13:58:39]request: POST /json_proto HTTP/1.0 [13:58:39]Method: POST [13:58:39]URL: /json_proto [13:58:39]Method is POST - this is cgi request [13:58:39]url: /json_proto [13:58:39]query_string will be loaded in cgi processing [13:58:39]execute_cgi json_proto POST (null) [13:58:39]execute_cgi path=json_proto method=POST [13:58:39]POST find Content-Length [13:58:39]Host: 172.17.40.196:8080 [13:58:39]Content-Length: 625 [13:58:39]Content-Type: application/json [13:58:39] [13:58:39]POST finish read [13:58:39]Found Content-Length = 625 [13:58:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35183", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:58:39]execute_script... [13:58: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)35183", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [13:58:39]POST & json_proto [13:58:39]process_json_proto [13:58:39]json parsed OK: [13:58:39]protocol is kg_v1.0 [13:58:39]action value=close_receipt [13:58:39]process_action close_receipt [13:58:39]cmd_close_receipt [13:58:39]MH_GetDate [13:58:39]Write to MH i2c: F0 00 00 0C 3C 37 [13:58:39]Write i2c OK [13:58:39]MH_I2C_Read... [13:58:39]Read from MH i2c: F0 [13:58:39]MH_I2C_Read... [13:58:39]Read from MH i2c: F0 09 00 [13:58:39]MH_I2C_Read... [13:58:39]Read from MH i2c: F0 09 00 0C 3C 00 1C EA 20 67 5B 68 A1 66 97 [13:58:39]GetLastDocTimeStamp 1730209922 [13:58:39]current date 1730210332 [13:58:39]FM_GetShiftState [13:58:39]SAM_PROTO_GetShiftState [13:58:39]wFMCommunicate request_size=4 [13:58:39]MH_SAM_APDU [13:58:39]CAPDU: 80 13 01 00 [13:58:39]Write to MH i2c: E2 08 00 0D 3C 80 13 01 00 00 00 00 00 C6 [13:58:39]Write i2c OK [13:58:39]MH_I2C_Read... [13:58:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:58:39]Read from MH i2c: E2 [13:58:39]MH_I2C_Read... [13:58:39]Read from MH i2c: E2 0E 00 [13:58:39]MH_I2C_Read... [13:58:39]Read from MH i2c: E2 0E 00 0D 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3C [13:58:39]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:58:39]wFMCommunicate OK [13:58:39]SAM_PROTO_GetShiftState done [13:58:39]FM_GetShiftState done [13:58:39]opened in 1730160317 [13:58:39]opened+sec_in_day 1730246717 [13:58:39]quantity*price = 1000 [13:58:39]sum+1 = 1001 [13:58:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 45 29.10.2024 13:58 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37883 ФПД: 131592725722469 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37883&fm=131592725722469&tin=02508201610067®Number=0000000000091684&sum=1000 0 [13:58:40]StoreToDocumentArchive [13:58:40]shift 552 fd 37883 [13:58:40]save to /storage/0552/doc_00037883 [13:58:40]save last doc name /storage/0552/doc_00037883 to /storage/kkm_last_doc_name [13:58:40]save OK [13:58:40]Clear old archive folders... [13:58:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [13:58:40]tlvbuf is 00278D10 [13:58:40]SAM_PROTO_ClearQueue [13:58:40]wFMCommunicate request_size=4 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 09 00 00 [13:58:40]Write to MH i2c: E2 08 00 1A 3C 80 09 00 00 00 00 00 00 C8 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 1A 3C 00 90 00 CA [13:58:40]RAPDU: 90 00 [13:58:40]wFMCommunicate OK [13:58:40]SAM_PROTO_ClearQueue done [13:58:40]KKMCreateOFDPacket [13:58:40]OFDProtocolAddRootSTLVToBuf [13:58:40]FM_MakeSignedData [13:58:40]FM_MakeSignedData [13:58:40]SAM_PROTO_SignData [13:58:40]wFMCommunicate request_size=4 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 0D 01 02 [13:58:40]Write to MH i2c: E2 08 00 1B 3C 80 0D 01 02 00 00 00 00 D0 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 1B 3C 00 90 00 CB [13:58:40]RAPDU: 90 00 [13:58:40]wFMCommunicate OK [13:58:40]wFMCommunicate request_size=255 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 1C EA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [13:58:40]Write to MH i2c: E2 02 01 1C 3C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 1C EA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 F6 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 1C 3C 00 90 00 CC [13:58:40]RAPDU: 90 00 [13:58:40]wFMCommunicate OK [13:58:40]wFMCommunicate request_size=32 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 FB 93 00 00 35 04 06 00 77 AE D1 AB F5 65 [13:58:40]Write to MH i2c: E2 23 00 1D 3C 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 FB 93 00 00 35 04 06 00 77 AE D1 AB F5 65 00 00 B6 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 03 00 1D 3C 00 90 00 CD [13:58:40]RAPDU: 90 00 [13:58:40]wFMCommunicate OK [13:58:40]wFMCommunicate request_size=4 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 0D 03 02 [13:58:40]Write to MH i2c: E2 08 00 1E 3C 80 0D 03 02 00 00 00 00 D5 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 0B 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 0B 00 1E 3C 00 1E E4 C3 89 B2 0E 25 3A 90 00 43 [13:58:40]RAPDU: 1E E4 C3 89 B2 0E 25 3A 90 00 [13:58:40]wFMCommunicate OK [13:58:40]SAM_PROTO_SignData done [13:58:40]FM_MakeSignedData done [13:58:40]CreateOFDProtocolMessage [13:58:40]wFMCommunicate request_size=4 [13:58:40]MH_SAM_APDU [13:58:40]CAPDU: 80 11 00 00 [13:58:40]Write to MH i2c: E2 08 00 1F 3C 80 11 00 00 00 00 00 00 D5 [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:58:40]Read from MH i2c: E2 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 17 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: E2 17 00 1F 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 25 [13:58:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:58:40]wFMCommunicate OK [13:58:40]CreateOFDProtocolMessage done [13:58:40]OFDSenderStorePacket 37883 [13:58:40]StoreOFDPacket docnum=37883 [13:58:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 F5 8C 1D 01 B9 34 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 1C EA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FB 93 00 00 35 04 06 00 77 AE D1 AB F5 65 1E E4 C3 89 B2 0E 25 3A [13:58:40]CheckFolder [13:58:40]dirname=/storage/ofd_packets [13:58:40]CheckFolder done [13:58:40]ProducePacketName [13:58:40]name=ofd_packets/00037883 [13:58:40]NVStorageSaveData ofd_packets/00037883 [13:58:40]File name is /storage/ofd_packets/00037883 [13:58:40]Write 323 bytes [13:58:40]NVStorageSaveData done [13:58:40]OFDSenderStorePacket done [13:58:40]KKMCreateOFDPacket done [13:58:40]NVStorageSaveData kkm_last_timestamp [13:58:40]File name is /storage/kkm_last_timestamp [13:58:40]Write 4 bytes [13:58:40]NVStorageSaveData done [13:58:40]ExternCall_PrintAddStr [13:58:40]wPrintStart [13:58:40]Write to MH i2c: 01 00 00 20 3C 5C [13:58:40]Write i2c OK [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: 01 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: 01 07 00 [13:58:40]MH_I2C_Read... [13:58:40]Read from MH i2c: 01 07 00 20 3C 00 00 00 00 00 FF 0F 71 [13:58:40]RasterBufferAndPrint [13:58:40]line Счет N : (3)35183 [13:58:40]line ИНН: 02508201610067 [13:58:40]line Контрольно-Кассовый Чек [13:58:40]line ПРОДАЖА [13:58:40]line Товар: 46226624 [13:58:40]line Mentos ПВ Клубника 6*100*2 [13:58:40]line 1.000 * 10.00 [13:58:40]line = 10.00 [13:58:40]line НДС 12% НСП 1% [13:58:40]line > о реализуемом товаре [13:58:40]line ИТОГО: 10.00 [13:58:40]line НСП 1% : 0.09 [13:58:40]line НДС 12% : 1.06 [13:58:40]line Наличными: 10.00 [13:58:40]line Безнал.: 0.00 [13:58:40]line Место: АЗС № 126 "Партнер Нефть" [13:58:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [13:58:40]line СНО: Общий режим [13:58:40]line Чек 45 29.10.2024 13:58 [13:58:40]line Смена: 552 ФФД: 1.0 [13:58:40]line ЗНМ: 0300000092 [13:58:40]line РНМ: 0000000000091684 [13:58:40]line Версия ККМ: 001 [13:58:40]line ФМ: 0000000000871841 [13:58:40]line ФД: 37883 [13:58:40]line ФПД: 131592725722469 [13:58:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T135852&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37883&fm=131592725722469&tin=02508201610067®Number=0000000000091684&sum=1000 [13:58:40]line 0 [13:58:40]written 0, free lines is 4095 [13:58:40]OFD Sender: Processing packet 37883 [packets to send 42, broken 41] [13:58:40]ProducePacketName [13:58:40]name=ofd_packets/00037883 [13:58:40]OFD Sender: To server: pG, [13:58:40]CommunicateWithHost lk.salyk.kg:30040 [13:58:40]ConnectInit lk.salyk.kg [13:58:41]Connected sock=7 [13:58:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 F5 8C 1D 01 B9 34 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2D 00 00 00 F4 03 04 00 1C EA 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FB 93 00 00 35 04 06 00 77 AE D1 AB F5 65 1E E4 C3 89 B2 0E 25 3A [13:58:41]Write to MH i2c: 01 00 00 48 3C 84 [13:58:41]Write i2c OK [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: 01 [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: 01 07 00 [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: 01 07 00 48 3C 00 00 00 00 00 D3 0C 6A [13:58:41]RasterBufferAndPrint [13:58:41]line [13:58:41]line [13:58:41]line [13:58:41]line [13:58:41]line [13:58:41]written 0, free lines is 3289 [13:58:41]MH_Cut [13:58:41]Write to MH i2c: D1 01 00 4F 3C 01 5D [13:58:41]Write i2c OK [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: D1 [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: D1 01 00 [13:58:41]MH_I2C_Read... [13:58:41]Read from MH i2c: D1 01 00 4F 3C 00 5C [13:58:41]Write to MH i2c: 01 00 00 50 3C 8C [13:58:41]Write i2c OK [13:58:41]MH_I2C_Read... [13:58:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 96 4E 47 00 D9 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FB 93 00 00 F4 03 04 00 0D 95 20 67 B6 04 01 00 00 F3 28 B1 23 DF D9 89 14 [13:58:41]CommunicateWithHost err = 0 [13:58:41]CheckOFDResponse [13:58:41]1017 (14) - 77093643461234 [13:58:41]1041 (16) - 0000000000871841 [13:58:41]1040 (4) - 37883 [13:58:41]1012 (4) - 29.10.2024 07:55 [13:58:41]1206 (1) - 0 [13:58:41]OFD Sender: Remove packet 37883 [13:58:41]ProducePacketName [13:58:41]name=ofd_packets/00037883 [13:58:41]NVStorageDeleteData [13:58:42]*** Cut start [13:58:42]*** Partial cut [13:58:42]*** CUTSNS_PIN = 1 [13:58:42]*** CUTSNS_PIN = 0 [13:58:42]OFD Sender: No OFD packet to send [13:58:42]*** Brake cut motor [13:58:42]Read from MH i2c: 01 [13:58:42]MH_I2C_Read... [13:58:42]*** Stop cut motor [13:58:42]*** Cut end [13:58:42]Read from MH i2c: 01 07 00 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: 01 07 00 50 3C 00 00 00 00 00 FF 0F A1 [13:58:42]process_action close_receipt done [13:58:42]requested_data is exist [13:58:42]produce_requested_data [13:58:42]requested_item fm.sn is exist - process it [13:58:42]wFMCommunicate request_size=4 [13:58:42]MH_SAM_APDU [13:58:42]CAPDU: 80 11 00 00 [13:58:42]Write to MH i2c: E2 08 00 51 3C 80 11 00 00 00 00 00 00 07 [13:58:42]Write i2c OK [13:58:42]MH_I2C_Read... [13:58:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:58:42]Read from MH i2c: E2 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 17 00 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 17 00 51 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 57 [13:58:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [13:58:42]wFMCommunicate OK [13:58:42]requested_item fd.num is exist - process it [13:58:42]SAM_PROTO_GetFieldsCounters [13:58:42]wFMCommunicate request_size=4 [13:58:42]MH_SAM_APDU [13:58:42]CAPDU: 80 13 00 00 [13:58:42]Write to MH i2c: E2 08 00 52 3C 80 13 00 00 00 00 00 00 0A [13:58:42]Write i2c OK [13:58:42]MH_I2C_Read... [13:58:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:58:42]Read from MH i2c: E2 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 62 00 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 62 00 52 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 6A [13:58:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FB 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2D 00 00 00 5E 04 04 00 2D 00 00 00 57 04 04 00 2E 00 00 00 19 04 04 00 00 00 00 00 90 00 [13:58:42]wFMCommunicate OK [13:58:42]SAM_PROTO_GetFieldsCounters done [13:58:42]requested_item shift.num is exist - process it [13:58:42]requested_item shift.opened is exist - process it [13:58:42]req_shift_opened [13:58:42]FM_GetShiftState [13:58:42]SAM_PROTO_GetShiftState [13:58:42]wFMCommunicate request_size=4 [13:58:42]MH_SAM_APDU [13:58:42]CAPDU: 80 13 01 00 [13:58:42]Write to MH i2c: E2 08 00 53 3C 80 13 01 00 00 00 00 00 0C [13:58:42]Write i2c OK [13:58:42]MH_I2C_Read... [13:58:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:58:42]Read from MH i2c: E2 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 0E 00 [13:58:42]MH_I2C_Read... [13:58:42]Read from MH i2c: E2 0E 00 53 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 82 [13:58:42]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [13:58:42]wFMCommunicate OK [13:58:42]SAM_PROTO_GetShiftState done [13:58:42]FM_GetShiftState done [13:58:42]req_shift_opened done [13:58:42]requested_item shift.open_date is exist - process it [13:58:42]req_shift_open_date [13:58:42]req_shift_open_date done [13:58:42]produce_requested_data done [13:58:42]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37883,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [13:58:42]process_action_free close_receipt [13:58:42]json_value_free [13:58:42]json_value_free done [13:58:42]process_json_proto returns [13:58:42]Send response to host [13:58:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37883,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [13:58:42]free response buf [13:58:42]execute_script done [13:58:42]execute_script returns [13:58:42]free content buf [13:58:42]Sock 9.Close socket [13:58:42]Sock 9.Thread stoped [13:58:47]OFD Sender: No OFD packet to send [13:58:52]OFD Sender: No OFD packet to send [13:58:57]OFD Sender: No OFD packet to send [13:59:02]OFD Sender: No OFD packet to send [13:59:07]OFD Sender: No OFD packet to send [13:59:12]OFD Sender: No OFD packet to send [13:59:17]OFD Sender: No OFD packet to send [13:59:22]OFD Sender: No OFD packet to send [13:59:27]OFD Sender: No OFD packet to send [13:59:32]OFD Sender: No OFD packet to send [13:59:37]OFD Sender: No OFD packet to send [13:59:42]OFD Sender: No OFD packet to send [13:59:47]OFD Sender: No OFD packet to send [13:59:52]OFD Sender: No OFD packet to send [13:59:57]OFD Sender: No OFD packet to send [14:00:02]OFD Sender: No OFD packet to send [14:00:07]OFD Sender: No OFD packet to send [14:00:12]OFD Sender: No OFD packet to send [14:00:17]OFD Sender: No OFD packet to send [14:00:22]OFD Sender: No OFD packet to send [14:00:27]OFD Sender: No OFD packet to send [14:00:32]OFD Sender: No OFD packet to send [14:00:37]OFD Sender: No OFD packet to send [14:00:42]OFD Sender: No OFD packet to send [14:00:47]OFD Sender: No OFD packet to send [14:00:52]OFD Sender: No OFD packet to send [14:00:57]OFD Sender: No OFD packet to send [14:01:02]OFD Sender: No OFD packet to send [14:01:07]OFD Sender: No OFD packet to send [14:01:12]OFD Sender: No OFD packet to send [14:01:17]OFD Sender: No OFD packet to send [14:01:22]OFD Sender: No OFD packet to send [14:01:27]OFD Sender: No OFD packet to send [14:01:32]OFD Sender: No OFD packet to send [14:01:37]OFD Sender: No OFD packet to send [14:01:42]OFD Sender: No OFD packet to send [14:01:47]OFD Sender: No OFD packet to send [14:01:52]OFD Sender: No OFD packet to send [14:01:57]OFD Sender: No OFD packet to send [14:02:02]OFD Sender: No OFD packet to send [14:02:07]OFD Sender: No OFD packet to send [14:02:12]OFD Sender: No OFD packet to send [14:02:17]OFD Sender: No OFD packet to send [14:02:22]OFD Sender: No OFD packet to send [14:02:27]OFD Sender: No OFD packet to send [14:02:32]OFD Sender: No OFD packet to send [14:02:37]OFD Sender: No OFD packet to send [14:02:42]OFD Sender: No OFD packet to send [14:02:47]OFD Sender: No OFD packet to send [14:02:52]OFD Sender: No OFD packet to send [14:02:57]OFD Sender: No OFD packet to send [14:03:02]OFD Sender: No OFD packet to send [14:03:07]OFD Sender: No OFD packet to send [14:03:12]OFD Sender: No OFD packet to send [14:03:17]OFD Sender: No OFD packet to send [14:03:22]OFD Sender: No OFD packet to send [14:03:27]OFD Sender: No OFD packet to send [14:03:27]accept exits with 10 [14:03:27]New connection [14:03:27]New thread 3067297124 created [14:03:27]Thread 3067440484 joined [14:03:27]Waiting for new connection... [14:03:27] Sock 10.Parse request [14:03:27]Sock 10.Check first char [14:03:27]Sock 10.First char is OK [14:03:27]request: POST /json_proto HTTP/1.0 [14:03:27]Method: POST [14:03:27]URL: /json_proto [14:03:27]Method is POST - this is cgi request [14:03:27]url: /json_proto [14:03:27]query_string will be loaded in cgi processing [14:03:27]execute_cgi json_proto POST (null) [14:03:27]execute_cgi path=json_proto method=POST [14:03:27]POST find Content-Length [14:03:27]Host: 172.17.40.196:8080 [14:03:27]Content-Length: 625 [14:03:27]Content-Type: application/json [14:03:27] [14:03:27]POST finish read [14:03:27]Found Content-Length = 625 [14:03:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35184", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:27]execute_script... [14:03:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35184", "tax_sys" : 0, "items" : [ { "code": "2000036240010", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 (GABB TRADE)", "price" : 115.00, "quantity" : 2.000, "sum" : 230.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 230.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:03:27]POST & json_proto [14:03:27]process_json_proto [14:03:27]json parsed OK: [14:03:27]protocol is kg_v1.0 [14:03:27]action value=close_receipt [14:03:27]process_action close_receipt [14:03:27]cmd_close_receipt [14:03:27]MH_GetDate [14:03:27]Write to MH i2c: F0 00 00 54 3C 7F [14:03:27]Write i2c OK [14:03:27]MH_I2C_Read... [14:03:27]Read from MH i2c: F0 [14:03:27]MH_I2C_Read... [14:03:27]Read from MH i2c: F0 09 00 [14:03:27]MH_I2C_Read... [14:03:27]Read from MH i2c: F0 09 00 54 3C 00 3D EB 20 67 5B 68 A1 66 01 [14:03:27]GetLastDocTimeStamp 1730210332 [14:03:27]current date 1730210621 [14:03:27]FM_GetShiftState [14:03:27]SAM_PROTO_GetShiftState [14:03:27]wFMCommunicate request_size=4 [14:03:27]MH_SAM_APDU [14:03:27]CAPDU: 80 13 01 00 [14:03:27]Write to MH i2c: E2 08 00 55 3C 80 13 01 00 00 00 00 00 0E [14:03:27]Write i2c OK [14:03:27]MH_I2C_Read... [14:03:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:28]Read from MH i2c: E2 [14:03:28]MH_I2C_Read... [14:03:28]Read from MH i2c: E2 0E 00 [14:03:28]MH_I2C_Read... [14:03:28]Read from MH i2c: E2 0E 00 55 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 84 [14:03:28]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:03:28]wFMCommunicate OK [14:03:28]SAM_PROTO_GetShiftState done [14:03:28]FM_GetShiftState done [14:03:28]opened in 1730160317 [14:03:28]opened+sec_in_day 1730246717 [14:03:28]quantity*price = 23000 [14:03:28]sum+1 = 23001 [14:03:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 230.00 НСП 1% : 2.03 НДС 12% : 24.42 Наличными: 230.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 46 29.10.2024 14:03 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37884 ФПД: 252018371768024 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T140341&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37884&fm=252018371768024&tin=02508201610067®Number=0000000000091684&sum=23000 0 [14:03:29]StoreToDocumentArchive [14:03:29]shift 552 fd 37884 [14:03:29]save to /storage/0552/doc_00037884 [14:03:29]save last doc name /storage/0552/doc_00037884 to /storage/kkm_last_doc_name [14:03:29]save OK [14:03:29]Clear old archive folders... [14:03:29]ProcessDocumentItem done err = 0, tmpTLVsize=274 [14:03:29]tlvbuf is 0027D950 [14:03:29]SAM_PROTO_ClearQueue [14:03:29]wFMCommunicate request_size=4 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 09 00 00 [14:03:29]Write to MH i2c: E2 08 00 62 3C 80 09 00 00 00 00 00 00 10 [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 62 3C 00 90 00 12 [14:03:29]RAPDU: 90 00 [14:03:29]wFMCommunicate OK [14:03:29]SAM_PROTO_ClearQueue done [14:03:29]KKMCreateOFDPacket [14:03:29]OFDProtocolAddRootSTLVToBuf [14:03:29]FM_MakeSignedData [14:03:29]FM_MakeSignedData [14:03:29]SAM_PROTO_SignData [14:03:29]wFMCommunicate request_size=4 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 0D 01 02 [14:03:29]Write to MH i2c: E2 08 00 63 3C 80 0D 01 02 00 00 00 00 18 [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 63 3C 00 90 00 13 [14:03:29]RAPDU: 90 00 [14:03:29]wFMCommunicate OK [14:03:29]wFMCommunicate request_size=255 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 3D EB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 [14:03:29]Write to MH i2c: E2 02 01 64 3C 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 3D EB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 00 00 24 [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 64 3C 00 90 00 14 [14:03:29]RAPDU: 90 00 [14:03:29]wFMCommunicate OK [14:03:29]wFMCommunicate request_size=33 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FC 93 00 00 35 04 06 00 E5 35 99 86 AE D8 [14:03:29]Write to MH i2c: E2 24 00 65 3C 80 0D 02 02 1C 00 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FC 93 00 00 35 04 06 00 E5 35 99 86 AE D8 00 00 F5 [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 03 00 65 3C 00 90 00 15 [14:03:29]RAPDU: 90 00 [14:03:29]wFMCommunicate OK [14:03:29]wFMCommunicate request_size=4 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 0D 03 02 [14:03:29]Write to MH i2c: E2 08 00 66 3C 80 0D 03 02 00 00 00 00 1D [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 0B 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 0B 00 66 3C 00 0F EF 32 B5 EF 42 0A 7C 90 00 BA [14:03:29]RAPDU: 0F EF 32 B5 EF 42 0A 7C 90 00 [14:03:29]wFMCommunicate OK [14:03:29]SAM_PROTO_SignData done [14:03:29]FM_MakeSignedData done [14:03:29]CreateOFDProtocolMessage [14:03:29]wFMCommunicate request_size=4 [14:03:29]MH_SAM_APDU [14:03:29]CAPDU: 80 11 00 00 [14:03:29]Write to MH i2c: E2 08 00 67 3C 80 11 00 00 00 00 00 00 1D [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:29]Read from MH i2c: E2 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 17 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: E2 17 00 67 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6D [14:03:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:03:29]wFMCommunicate OK [14:03:29]CreateOFDProtocolMessage done [14:03:29]OFDSenderStorePacket 37884 [14:03:29]StoreOFDPacket docnum=37884 [14:03:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 A9 7A 1E 01 43 3C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 3D EB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FC 93 00 00 35 04 06 00 E5 35 99 86 AE D8 0F EF 32 B5 EF 42 0A 7C [14:03:29]CheckFolder [14:03:29]dirname=/storage/ofd_packets [14:03:29]CheckFolder done [14:03:29]ProducePacketName [14:03:29]name=ofd_packets/00037884 [14:03:29]NVStorageSaveData ofd_packets/00037884 [14:03:29]File name is /storage/ofd_packets/00037884 [14:03:29]Write 324 bytes [14:03:29]NVStorageSaveData done [14:03:29]OFDSenderStorePacket done [14:03:29]KKMCreateOFDPacket done [14:03:29]NVStorageSaveData kkm_last_timestamp [14:03:29]File name is /storage/kkm_last_timestamp [14:03:29]Write 4 bytes [14:03:29]NVStorageSaveData done [14:03:29]ExternCall_PrintAddStr [14:03:29]wPrintStart [14:03:29]Write to MH i2c: 01 00 00 68 3C A4 [14:03:29]Write i2c OK [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: 01 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: 01 07 00 [14:03:29]MH_I2C_Read... [14:03:29]Read from MH i2c: 01 07 00 68 3C 00 00 00 00 00 FF 0F B9 [14:03:29]RasterBufferAndPrint [14:03:29]line Счет N : (3)35184 [14:03:29]line ИНН: 02508201610067 [14:03:29]line Контрольно-Кассовый Чек [14:03:29]line ПРОДАЖА [14:03:29]line Товар: 2000036240010 [14:03:29]line Кофе Латте (GABB TRADE) [14:03:29]line 2.000 * 115.00 [14:03:29]line = 230.00 [14:03:29]line НДС 12% НСП 1% [14:03:29]line > о реализуемом товаре [14:03:29]line ИТОГО: 230.00 [14:03:29]line НСП 1% : 2.03 [14:03:29]line НДС 12% : 24.42 [14:03:29]line Наличными: 230.00 [14:03:29]line Безнал.: 0.00 [14:03:29]line Место: АЗС № 126 "Партнер Нефть" [14:03:29]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:03:29]line СНО: Общий режим [14:03:29]line Чек 46 29.10.2024 14:03 [14:03:29]line Смена: 552 ФФД: 1.0 [14:03:29]line ЗНМ: 0300000092 [14:03:29]line РНМ: 0000000000091684 [14:03:29]line Версия ККМ: 001 [14:03:29]line ФМ: 0000000000871841 [14:03:29]line ФД: 37884 [14:03:29]line ФПД: 252018371768024 [14:03:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T140341&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37884&fm=252018371768024&tin=02508201610067®Number=0000000000091684&sum=23000 [14:03:29]line 0 [14:03:30]written 0, free lines is 4095 [14:03:30]OFD Sender: Processing packet 37884 [packets to send 42, broken 41] [14:03:30]ProducePacketName [14:03:30]name=ofd_packets/00037884 [14:03:30]OFD Sender: To server: pG, [14:03:30]CommunicateWithHost lk.salyk.kg:30040 [14:03:30]ConnectInit lk.salyk.kg [14:03:30]Connected sock=9 [14:03:30]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 26 01 00 00 A9 7A 1E 01 43 3C 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 0D 00 32 30 30 30 30 33 36 32 34 30 30 31 30 06 04 20 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 EC 2C 00 00 00 00 13 04 06 00 D8 59 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D8 59 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 CB 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8A 09 00 00 00 00 07 04 06 00 D8 59 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2E 00 00 00 F4 03 04 00 3D EB 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FC 93 00 00 35 04 06 00 E5 35 99 86 AE D8 0F EF 32 B5 EF 42 0A 7C [14:03:30]Write to MH i2c: 01 00 00 90 3C CC [14:03:30]Write i2c OK [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: 01 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: 01 07 00 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: 01 07 00 90 3C 00 00 00 00 00 E2 0C C1 [14:03:30]RasterBufferAndPrint [14:03:30]line [14:03:30]line [14:03:30]line [14:03:30]line [14:03:30]line [14:03:30]written 0, free lines is 3307 [14:03:30]MH_Cut [14:03:30]Write to MH i2c: D1 01 00 97 3C 01 A5 [14:03:30]Write i2c OK [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: D1 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: D1 01 00 [14:03:30]MH_I2C_Read... [14:03:30]Read from MH i2c: D1 01 00 97 3C 00 A4 [14:03:30]Write to MH i2c: 01 00 00 98 3C D4 [14:03:30]Write i2c OK [14:03:30]MH_I2C_Read... [14:03:30]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 64 49 47 00 C6 8F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FC 93 00 00 F4 03 04 00 2E 96 20 67 B6 04 01 00 00 50 A5 6A 9D 20 DD 64 0C [14:03:30]CommunicateWithHost err = 0 [14:03:30]CheckOFDResponse [14:03:30]1017 (14) - 77093643461234 [14:03:30]1041 (16) - 0000000000871841 [14:03:30]1040 (4) - 37884 [14:03:30]1012 (4) - 29.10.2024 08:00 [14:03:30]1206 (1) - 0 [14:03:30]OFD Sender: Remove packet 37884 [14:03:30]ProducePacketName [14:03:30]name=ofd_packets/00037884 [14:03:30]NVStorageDeleteData [14:03:31]*** Cut start [14:03:31]*** Partial cut [14:03:31]*** CUTSNS_PIN = 1 [14:03:31]OFD Sender: No OFD packet to send [14:03:31]*** CUTSNS_PIN = 0 [14:03:31]*** Brake cut motor [14:03:31]Read from MH i2c: 01 [14:03:31]MH_I2C_Read... [14:03:31]*** Stop cut motor [14:03:31]*** Cut end [14:03:31]Read from MH i2c: 01 07 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: 01 07 00 98 3C 00 00 00 00 00 FF 0F E9 [14:03:31]process_action close_receipt done [14:03:31]requested_data is exist [14:03:31]produce_requested_data [14:03:31]requested_item fm.sn is exist - process it [14:03:31]wFMCommunicate request_size=4 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 11 00 00 [14:03:31]Write to MH i2c: E2 08 00 99 3C 80 11 00 00 00 00 00 00 4F [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:03:31]Read from MH i2c: E2 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 17 00 [14:03:31]MH_I2C_Read... [14:03:31]Read from MH i2c: E2 17 00 99 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9F [14:03:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:03:31]wFMCommunicate OK [14:03:31]requested_item fd.num is exist - process it [14:03:31]SAM_PROTO_GetFieldsCounters [14:03:31]wFMCommunicate request_size=4 [14:03:31]MH_SAM_APDU [14:03:31]CAPDU: 80 13 00 00 [14:03:31]Write to MH i2c: E2 08 00 9A 3C 80 13 00 00 00 00 00 00 52 [14:03:31]Write i2c OK [14:03:31]MH_I2C_Read... [14:03:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:03:32]Read from MH i2c: E2 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: E2 62 00 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: E2 62 00 9A 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 B6 [14:03:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FC 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:03:32]wFMCommunicate OK [14:03:32]SAM_PROTO_GetFieldsCounters done [14:03:32]requested_item shift.num is exist - process it [14:03:32]requested_item shift.opened is exist - process it [14:03:32]req_shift_opened [14:03:32]FM_GetShiftState [14:03:32]SAM_PROTO_GetShiftState [14:03:32]wFMCommunicate request_size=4 [14:03:32]MH_SAM_APDU [14:03:32]CAPDU: 80 13 01 00 [14:03:32]Write to MH i2c: E2 08 00 9B 3C 80 13 01 00 00 00 00 00 54 [14:03:32]Write i2c OK [14:03:32]MH_I2C_Read... [14:03:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:03:32]Read from MH i2c: E2 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: E2 0E 00 [14:03:32]MH_I2C_Read... [14:03:32]Read from MH i2c: E2 0E 00 9B 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 CA [14:03:32]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:03:32]wFMCommunicate OK [14:03:32]SAM_PROTO_GetShiftState done [14:03:32]FM_GetShiftState done [14:03:32]req_shift_opened done [14:03:32]requested_item shift.open_date is exist - process it [14:03:32]req_shift_open_date [14:03:32]req_shift_open_date done [14:03:32]produce_requested_data done [14:03:32]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37884,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [14:03:32]process_action_free close_receipt [14:03:32]json_value_free [14:03:32]json_value_free done [14:03:32]process_json_proto returns [14:03:32]Send response to host [14:03:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37884,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [14:03:32]free response buf [14:03:32]execute_script done [14:03:32]execute_script returns [14:03:32]free content buf [14:03:32]Sock 10.Close socket [14:03:32]Sock 10.Thread stoped [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:36]OFD Sender: No OFD packet to send [14:04:41]OFD Sender: No OFD packet to send [14:04:46]OFD Sender: No OFD packet to send [14:04:51]OFD Sender: No OFD packet to send [14:04:56]OFD Sender: No OFD packet to send [14:05:01]OFD Sender: No OFD packet to send [14:05:06]OFD Sender: No OFD packet to send [14:05:11]OFD Sender: No OFD packet to send [14:05:16]OFD Sender: No OFD packet to send [14:05:21]OFD Sender: No OFD packet to send [14:05:26]OFD Sender: No OFD packet to send [14:05:31]OFD Sender: No OFD packet to send [14:05:36]OFD Sender: No OFD packet to send [14:05:41]OFD Sender: No OFD packet to send [14:05:46]OFD Sender: No OFD packet to send [14:05:51]OFD Sender: No OFD packet to send [14:05:56]OFD Sender: No OFD packet to send [14:06:01]OFD Sender: No OFD packet to send [14:06:06]OFD Sender: No OFD packet to send [14:06:11]OFD Sender: No OFD packet to send [14:06:16]OFD Sender: No OFD packet to send [14:06:21]OFD Sender: No OFD packet to send [14:06:26]OFD Sender: No OFD packet to send [14:06:31]OFD Sender: No OFD packet to send [14:06:36]OFD Sender: No OFD packet to send [14:06:41]OFD Sender: No OFD packet to send [14:06:46]OFD Sender: No OFD packet to send [14:06:51]OFD Sender: No OFD packet to send [14:06:56]OFD Sender: No OFD packet to send [14:07:01]OFD Sender: No OFD packet to send [14:07:06]OFD Sender: No OFD packet to send [14:07:11]OFD Sender: No OFD packet to send [14:07:16]OFD Sender: No OFD packet to send [14:07:21]OFD Sender: No OFD packet to send [14:07:26]OFD Sender: No OFD packet to send [14:07:31]OFD Sender: No OFD packet to send [14:07:36]OFD Sender: No OFD packet to send [14:07:41]OFD Sender: No OFD packet to send [14:07:46]OFD Sender: No OFD packet to send [14:07:51]OFD Sender: No OFD packet to send [14:07:56]OFD Sender: No OFD packet to send [14:08:01]OFD Sender: No OFD packet to send [14:08:06]OFD Sender: No OFD packet to send [14:08:11]OFD Sender: No OFD packet to send [14:08:16]OFD Sender: No OFD packet to send [14:08:21]OFD Sender: No OFD packet to send [14:08:26]OFD Sender: No OFD packet to send [14:08:31]OFD Sender: No OFD packet to send [14:08:36]OFD Sender: No OFD packet to send [14:08:41]OFD Sender: No OFD packet to send [14:08:46]OFD Sender: No OFD packet to send [14:08:51]OFD Sender: No OFD packet to send [14:08:56]OFD Sender: No OFD packet to send [14:09:01]OFD Sender: No OFD packet to send [14:09:06]OFD Sender: No OFD packet to send [14:09:11]OFD Sender: No OFD packet to send [14:09:16]OFD Sender: No OFD packet to send [14:09:21]OFD Sender: No OFD packet to send [14:09:26]OFD Sender: No OFD packet to send [14:09:31]OFD Sender: No OFD packet to send [14:09:36]OFD Sender: No OFD packet to send [14:09:41]OFD Sender: No OFD packet to send [14:09:46]OFD Sender: No OFD packet to send [14:09:51]OFD Sender: No OFD packet to send [14:09:56]OFD Sender: No OFD packet to send [14:10:01]OFD Sender: No OFD packet to send [14:10:06]OFD Sender: No OFD packet to send [14:10:11]OFD Sender: No OFD packet to send [14:10:16]OFD Sender: No OFD packet to send [14:10:21]OFD Sender: No OFD packet to send [14:10:26]OFD Sender: No OFD packet to send [14:10:31]OFD Sender: No OFD packet to send [14:10:36]OFD Sender: No OFD packet to send [14:10:41]OFD Sender: No OFD packet to send [14:10:46]OFD Sender: No OFD packet to send [14:10:51]OFD Sender: No OFD packet to send [14:10:56]OFD Sender: No OFD packet to send [14:11:01]OFD Sender: No OFD packet to send [14:11:06]OFD Sender: No OFD packet to send [14:11:11]OFD Sender: No OFD packet to send [14:11:16]OFD Sender: No OFD packet to send [14:11:21]OFD Sender: No OFD packet to send [14:11:26]OFD Sender: No OFD packet to send [14:11:30]accept exits with 7 [14:11:30]New connection [14:11:30]New thread 3067440484 created [14:11:30]Thread 3067297124 joined [14:11:30]Waiting for new connection... [14:11:30] Sock 7.Parse request [14:11:30]Sock 7.Check first char [14:11:30]Sock 7.First char is OK [14:11:30]request: POST /json_proto HTTP/1.0 [14:11:30]Method: POST [14:11:30]URL: /json_proto [14:11:30]Method is POST - this is cgi request [14:11:30]url: /json_proto [14:11:30]query_string will be loaded in cgi processing [14:11:30]execute_cgi json_proto POST (null) [14:11:30]execute_cgi path=json_proto method=POST [14:11:30]POST find Content-Length [14:11:30]Host: 172.17.40.196:8080 [14:11:30]Content-Length: 645 [14:11:30]Content-Type: application/json [14:11:30] [14:11:30]POST finish read [14:11:30]Found Content-Length = 645 [14:11:30]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35185", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:30]execute_script... [14:11: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)35185", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:11:30]POST & json_proto [14:11:30]process_json_proto [14:11:30]json parsed OK: [14:11:30]protocol is kg_v1.0 [14:11:30]action value=close_receipt [14:11:30]process_action close_receipt [14:11:30]cmd_close_receipt [14:11:30]MH_GetDate [14:11:30]Write to MH i2c: F0 00 00 9C 3C C7 [14:11:30]Write i2c OK [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: F0 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: F0 09 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: F0 09 00 9C 3C 00 20 ED 20 67 5B 68 A1 66 2E [14:11:30]GetLastDocTimeStamp 1730210621 [14:11:30]current date 1730211104 [14:11:30]FM_GetShiftState [14:11:30]SAM_PROTO_GetShiftState [14:11:30]wFMCommunicate request_size=4 [14:11:30]MH_SAM_APDU [14:11:30]CAPDU: 80 13 01 00 [14:11:30]Write to MH i2c: E2 08 00 9D 3C 80 13 01 00 00 00 00 00 56 [14:11:30]Write i2c OK [14:11:30]MH_I2C_Read... [14:11:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:30]Read from MH i2c: E2 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 0E 00 [14:11:30]MH_I2C_Read... [14:11:30]Read from MH i2c: E2 0E 00 9D 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 CC [14:11:30]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:11:30]wFMCommunicate OK [14:11:30]SAM_PROTO_GetShiftState done [14:11:30]FM_GetShiftState done [14:11:30]opened in 1730160317 [14:11:30]opened+sec_in_day 1730246717 [14:11:30]quantity*price = 13000 [14:11:30]sum+1 = 13001 [14:11:30]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 47 29.10.2024 14:11 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37885 ФПД: 172190426319612 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T141144&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37885&fm=172190426319612&tin=02508201610067®Number=0000000000091684&sum=13000 0 [14:11:32]StoreToDocumentArchive [14:11:32]shift 552 fd 37885 [14:11:32]save to /storage/0552/doc_00037885 [14:11:32]save last doc name /storage/0552/doc_00037885 to /storage/kkm_last_doc_name [14:11:32]save OK [14:11:32]Clear old archive folders... [14:11:32]ProcessDocumentItem done err = 0, tmpTLVsize=282 [14:11:32]tlvbuf is 0027D6D0 [14:11:32]SAM_PROTO_ClearQueue [14:11:32]wFMCommunicate request_size=4 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 09 00 00 [14:11:32]Write to MH i2c: E2 08 00 AA 3C 80 09 00 00 00 00 00 00 58 [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 AA 3C 00 90 00 5A [14:11:32]RAPDU: 90 00 [14:11:32]wFMCommunicate OK [14:11:32]SAM_PROTO_ClearQueue done [14:11:32]KKMCreateOFDPacket [14:11:32]OFDProtocolAddRootSTLVToBuf [14:11:32]FM_MakeSignedData [14:11:32]FM_MakeSignedData [14:11:32]SAM_PROTO_SignData [14:11:32]wFMCommunicate request_size=4 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 0D 01 02 [14:11:32]Write to MH i2c: E2 08 00 AB 3C 80 0D 01 02 00 00 00 00 60 [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 AB 3C 00 90 00 5B [14:11:32]RAPDU: 90 00 [14:11:32]wFMCommunicate OK [14:11:32]wFMCommunicate request_size=255 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 20 ED 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [14:11:32]Write to MH i2c: E2 02 01 AC 3C 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 20 ED 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 5F [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 AC 3C 00 90 00 5C [14:11:32]RAPDU: 90 00 [14:11:32]wFMCommunicate OK [14:11:32]wFMCommunicate request_size=41 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FD 93 00 00 35 04 06 00 9C 9B 35 31 CA FC [14:11:32]Write to MH i2c: E2 2C 00 AD 3C 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FD 93 00 00 35 04 06 00 9C 9B 35 31 CA FC 00 00 22 [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 03 00 AD 3C 00 90 00 5D [14:11:32]RAPDU: 90 00 [14:11:32]wFMCommunicate OK [14:11:32]wFMCommunicate request_size=4 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 0D 03 02 [14:11:32]Write to MH i2c: E2 08 00 AE 3C 80 0D 03 02 00 00 00 00 65 [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 0B 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 0B 00 AE 3C 00 23 1A EA 48 CB E7 70 7F 90 00 76 [14:11:32]RAPDU: 23 1A EA 48 CB E7 70 7F 90 00 [14:11:32]wFMCommunicate OK [14:11:32]SAM_PROTO_SignData done [14:11:32]FM_MakeSignedData done [14:11:32]CreateOFDProtocolMessage [14:11:32]wFMCommunicate request_size=4 [14:11:32]MH_SAM_APDU [14:11:32]CAPDU: 80 11 00 00 [14:11:32]Write to MH i2c: E2 08 00 AF 3C 80 11 00 00 00 00 00 00 65 [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:32]Read from MH i2c: E2 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 17 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: E2 17 00 AF 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 B5 [14:11:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:11:32]wFMCommunicate OK [14:11:32]CreateOFDProtocolMessage done [14:11:32]OFDSenderStorePacket 37885 [14:11:32]StoreOFDPacket docnum=37885 [14:11:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 69 99 26 01 2B 7F 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 20 ED 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FD 93 00 00 35 04 06 00 9C 9B 35 31 CA FC 23 1A EA 48 CB E7 70 7F [14:11:32]CheckFolder [14:11:32]dirname=/storage/ofd_packets [14:11:32]CheckFolder done [14:11:32]ProducePacketName [14:11:32]name=ofd_packets/00037885 [14:11:32]NVStorageSaveData ofd_packets/00037885 [14:11:32]File name is /storage/ofd_packets/00037885 [14:11:32]Write 332 bytes [14:11:32]NVStorageSaveData done [14:11:32]OFDSenderStorePacket done [14:11:32]KKMCreateOFDPacket done [14:11:32]NVStorageSaveData kkm_last_timestamp [14:11:32]File name is /storage/kkm_last_timestamp [14:11:32]Write 4 bytes [14:11:32]NVStorageSaveData done [14:11:32]ExternCall_PrintAddStr [14:11:32]wPrintStart [14:11:32]Write to MH i2c: 01 00 00 B0 3C EC [14:11:32]OFD Sender: Processing packet 37885 [packets to send 42, broken 41] [14:11:32]ProducePacketName [14:11:32]name=ofd_packets/00037885 [14:11:32]OFD Sender: To server: pG, [14:11:32]CommunicateWithHost lk.salyk.kg:30040 [14:11:32]ConnectInit lk.salyk.kg [14:11:32]Write i2c OK [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: 01 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: 01 07 00 [14:11:32]MH_I2C_Read... [14:11:32]Read from MH i2c: 01 07 00 B0 3C 00 00 00 00 00 FF 0F 01 [14:11:32]RasterBufferAndPrint [14:11:32]line Счет N : (3)35185 [14:11:32]line ИНН: 02508201610067 [14:11:32]line Контрольно-Кассовый Чек [14:11:32]line ПРОДАЖА [14:11:32]line Товар: 2000036220012 [14:11:32]line Кофе Капучино XL(GABB TRADE) [14:11:32]line 1.000 * 130.00 [14:11:32]line = 130.00 [14:11:32]line НДС 12% НСП 1% [14:11:32]line > о реализуемом товаре [14:11:32]line ИТОГО: 130.00 [14:11:32]line НСП 1% : 1.15 [14:11:32]line НДС 12% : 13.80 [14:11:32]line Наличными: 130.00 [14:11:32]line Безнал.: 0.00 [14:11:32]line Место: АЗС № 126 "Партнер Нефть" [14:11:32]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:11:32]line СНО: Общий режим [14:11:32]line Чек 47 29.10.2024 14:11 [14:11:32]line Смена: 552 ФФД: 1.0 [14:11:32]line ЗНМ: 0300000092 [14:11:32]line РНМ: 0000000000091684 [14:11:32]line Версия ККМ: 001 [14:11:32]line ФМ: 0000000000871841 [14:11:32]line ФД: 37885 [14:11:32]line ФПД: 172190426319612 [14:11:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T141144&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37885&fm=172190426319612&tin=02508201610067®Number=0000000000091684&sum=13000 [14:11:33]Connected sock=10 [14:11:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 69 99 26 01 2B 7F 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 2F 00 00 00 F4 03 04 00 20 ED 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FD 93 00 00 35 04 06 00 9C 9B 35 31 CA FC 23 1A EA 48 CB E7 70 7F [14:11:33]line 0 [14:11:33]written 0, free lines is 4095 [14:11:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7D 77 47 00 BF 7F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FD 93 00 00 F4 03 04 00 11 98 20 67 B6 04 01 00 00 69 4F FF AC F6 6B 8C B5 [14:11:33]CommunicateWithHost err = 0 [14:11:33]CheckOFDResponse [14:11:33]1017 (14) - 77093643461234 [14:11:33]1041 (16) - 0000000000871841 [14:11:33]1040 (4) - 37885 [14:11:33]1012 (4) - 29.10.2024 08:08 [14:11:33]1206 (1) - 0 [14:11:33]OFD Sender: Remove packet 37885 [14:11:33]ProducePacketName [14:11:33]name=ofd_packets/00037885 [14:11:33]NVStorageDeleteData [14:11:33]Write to MH i2c: 01 00 00 D9 3C 15 [14:11:33]Write i2c OK [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: 01 [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: 01 07 00 [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: 01 07 00 D9 3C 00 00 00 00 00 BE 0C E6 [14:11:33]RasterBufferAndPrint [14:11:33]line [14:11:33]line [14:11:33]line [14:11:33]line [14:11:33]line [14:11:33]written 0, free lines is 3268 [14:11:33]MH_Cut [14:11:33]Write to MH i2c: D1 01 00 E0 3C 01 EE [14:11:33]Write i2c OK [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: D1 [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: D1 01 00 [14:11:33]MH_I2C_Read... [14:11:33]Read from MH i2c: D1 01 00 E0 3C 00 ED [14:11:33]Write to MH i2c: 01 00 00 E1 3C 1D [14:11:33]Write i2c OK [14:11:33]MH_I2C_Read... [14:11:33]OFD Sender: No OFD packet to send [14:11:34]*** Cut start [14:11:34]*** Partial cut [14:11:34]*** CUTSNS_PIN = 1 [14:11:34]*** CUTSNS_PIN = 0 [14:11:34]*** Brake cut motor [14:11:34]Read from MH i2c: 01 [14:11:34]MH_I2C_Read... [14:11:34]*** Stop cut motor [14:11:34]*** Cut end [14:11:34]Read from MH i2c: 01 07 00 [14:11:34]MH_I2C_Read... [14:11:34]Read from MH i2c: 01 07 00 E1 3C 00 00 00 00 00 FF 0F 32 [14:11:34]process_action close_receipt done [14:11:34]requested_data is exist [14:11:34]produce_requested_data [14:11:34]requested_item fm.sn is exist - process it [14:11:34]wFMCommunicate request_size=4 [14:11:34]MH_SAM_APDU [14:11:34]CAPDU: 80 11 00 00 [14:11:34]Write to MH i2c: E2 08 00 E2 3C 80 11 00 00 00 00 00 00 98 [14:11:34]Write i2c OK [14:11:34]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 17 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 17 00 E2 3C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E8 [14:11:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:11:35]wFMCommunicate OK [14:11:35]requested_item fd.num is exist - process it [14:11:35]SAM_PROTO_GetFieldsCounters [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 13 00 00 [14:11:35]Write to MH i2c: E2 08 00 E3 3C 80 13 00 00 00 00 00 00 9B [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 62 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 62 00 E3 3C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FD 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 03 [14:11:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FD 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:11:35]wFMCommunicate OK [14:11:35]SAM_PROTO_GetFieldsCounters done [14:11:35]requested_item shift.num is exist - process it [14:11:35]requested_item shift.opened is exist - process it [14:11:35]req_shift_opened [14:11:35]FM_GetShiftState [14:11:35]SAM_PROTO_GetShiftState [14:11:35]wFMCommunicate request_size=4 [14:11:35]MH_SAM_APDU [14:11:35]CAPDU: 80 13 01 00 [14:11:35]Write to MH i2c: E2 08 00 E4 3C 80 13 01 00 00 00 00 00 9D [14:11:35]Write i2c OK [14:11:35]MH_I2C_Read... [14:11:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:11:35]Read from MH i2c: E2 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 0E 00 [14:11:35]MH_I2C_Read... [14:11:35]Read from MH i2c: E2 0E 00 E4 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 13 [14:11:35]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:11:35]wFMCommunicate OK [14:11:35]SAM_PROTO_GetShiftState done [14:11:35]FM_GetShiftState done [14:11:35]req_shift_opened done [14:11:35]requested_item shift.open_date is exist - process it [14:11:35]req_shift_open_date [14:11:35]req_shift_open_date done [14:11:35]produce_requested_data done [14:11:35]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37885,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [14:11:35]process_action_free close_receipt [14:11:35]json_value_free [14:11:35]json_value_free done [14:11:35]process_json_proto returns [14:11:35]Send response to host [14:11:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37885,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [14:11:35]free response buf [14:11:35]execute_script done [14:11:35]execute_script returns [14:11:35]free content buf [14:11:35]Sock 7.Close socket [14:11:35]Sock 7.Thread stoped [14:11:38]OFD Sender: No OFD packet to send [14:11:43]OFD Sender: No OFD packet to send [14:11:48]OFD Sender: No OFD packet to send [14:11:53]OFD Sender: No OFD packet to send [14:11:56]int [14:11:56]Write to MH i2c: 01 00 00 E5 3C 21 [14:11:56]*** FLAG_PRN_PAP1 set [14:11:56]Write i2c OK [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 07 00 [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 07 00 E5 3C 00 01 00 00 00 FF 0F 37 [14:11:56]state=0 [14:11:56]No paper [14:11:56]int [14:11:56]Write to MH i2c: 01 00 00 E6 3C 22 [14:11:56]*** FLAG_PRN_PAP2 set [14:11:56]Write i2c OK [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 07 00 [14:11:56]MH_I2C_Read... [14:11:56]Read from MH i2c: 01 07 00 E6 3C 00 03 00 00 00 FF 0F 3A [14:11:56]state=0 [14:11:56]No paper [14:11:56]Cover opened [14:11:58]OFD Sender: No OFD packet to send [14:12:01]Write to MH i2c: 01 00 00 E7 3C 23 [14:12:01]Write i2c OK [14:12:01]MH_I2C_Read... [14:12:01]Read from MH i2c: 01 [14:12:01]MH_I2C_Read... [14:12:01]Read from MH i2c: 01 07 00 [14:12:01]MH_I2C_Read... [14:12:01]Read from MH i2c: 01 07 00 E7 3C 00 03 00 00 00 FF 0F 3B [14:12:01]state=3 [14:12:01]No paper [14:12:01]Cover opened [14:12:03]OFD Sender: No OFD packet to send [14:12:06]Write to MH i2c: 01 00 00 E8 3C 24 [14:12:06]Write i2c OK [14:12:06]MH_I2C_Read... [14:12:06]Read from MH i2c: 01 [14:12:06]MH_I2C_Read... [14:12:06]Read from MH i2c: 01 07 00 [14:12:06]MH_I2C_Read... [14:12:06]Read from MH i2c: 01 07 00 E8 3C 00 03 00 00 00 FF 0F 3C [14:12:06]state=3 [14:12:06]No paper [14:12:06]Cover opened [14:12:07]int [14:12:07]Write to MH i2c: 01 00 00 E9 3C 25 [14:12:07]*** FLAG_PRN_PAP2 reset [14:12:07]Write i2c OK [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 07 00 [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 07 00 E9 3C 00 01 00 00 00 FF 0F 3B [14:12:07]state=3 [14:12:07]No paper [14:12:07]Cover closed [14:12:07]int [14:12:07]Write to MH i2c: 01 00 00 EA 3C 26 [14:12:07]*** FLAG_PRN_PAP1 reset [14:12:07]Write i2c OK [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 07 00 [14:12:07]MH_I2C_Read... [14:12:07]Read from MH i2c: 01 07 00 EA 3C 00 00 00 00 00 FF 0F 3B [14:12:07]state=0 [14:12:08]int [14:12:08]Write to MH i2c: 01 00 00 EB 3C 27 [14:12:08]*** FLAG_PRN_KEY set [14:12:08]Write i2c OK [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 EB 3C 00 08 00 00 00 FF 0F 44 [14:12:08]state=0 [14:12:08]Key pressed [14:12:08]Feed [14:12:08]Write to MH i2c: D8 00 00 EC 3C FF [14:12:08]Write i2c OK [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: D8 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: D8 01 00 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: D8 01 00 EC 3C 00 00 [14:12:08]int [14:12:08]Write to MH i2c: 01 00 00 ED 3C 29 [14:12:08]Write i2c OK [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 ED 3C 00 48 00 00 00 3C 00 B4 [14:12:08]state=2 [14:12:08]Key pressed [14:12:08]int [14:12:08]Write to MH i2c: 01 00 00 EE 3C 2A [14:12:08]*** FLAG_PRN_KEY reset [14:12:08]Write i2c OK [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 [14:12:08]MH_I2C_Read... [14:12:08]Read from MH i2c: 01 07 00 EE 3C 00 00 00 00 00 F7 0F 37 [14:12:08]state=2 [14:12:08]Stop feed [14:12:08]OFD Sender: No OFD packet to send [14:12:13]OFD Sender: No OFD packet to send [14:12:18]OFD Sender: No OFD packet to send [14:12:23]OFD Sender: No OFD packet to send [14:12:28]OFD Sender: No OFD packet to send [14:12:33]OFD Sender: No OFD packet to send [14:12:38]OFD Sender: No OFD packet to send [14:12:43]OFD Sender: No OFD packet to send [14:12:48]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:39]OFD Sender: No OFD packet to send [14:17:44]OFD Sender: No OFD packet to send [14:17:49]OFD Sender: No OFD packet to send [14:17:54]OFD Sender: No OFD packet to send [14:17:59]OFD Sender: No OFD packet to send [14:18:04]OFD Sender: No OFD packet to send [14:18:09]OFD Sender: No OFD packet to send [14:18:14]OFD Sender: No OFD packet to send [14:18:19]OFD Sender: No OFD packet to send [14:18:24]OFD Sender: No OFD packet to send [14:18:29]OFD Sender: No OFD packet to send [14:18:34]OFD Sender: No OFD packet to send [14:18:39]OFD Sender: No OFD packet to send [14:18:44]OFD Sender: No OFD packet to send [14:18:49]OFD Sender: No OFD packet to send [14:18:54]OFD Sender: No OFD packet to send [14:18:59]OFD Sender: No OFD packet to send [14:19:04]OFD Sender: No OFD packet to send [14:19:09]OFD Sender: No OFD packet to send [14:19:14]OFD Sender: No OFD packet to send [14:19:19]OFD Sender: No OFD packet to send [14:19:24]OFD Sender: No OFD packet to send [14:19:29]OFD Sender: No OFD packet to send [14:19:34]OFD Sender: No OFD packet to send [14:19:39]OFD Sender: No OFD packet to send [14:19:44]OFD Sender: No OFD packet to send [14:19:49]OFD Sender: No OFD packet to send [14:19:54]OFD Sender: No OFD packet to send [14:19:59]OFD Sender: No OFD packet to send [14:20:04]OFD Sender: No OFD packet to send [14:20:09]OFD Sender: No OFD packet to send [14:20:14]OFD Sender: No OFD packet to send [14:20:19]OFD Sender: No OFD packet to send [14:20:24]OFD Sender: No OFD packet to send [14:20:29]OFD Sender: No OFD packet to send [14:20:34]OFD Sender: No OFD packet to send [14:20:39]OFD Sender: No OFD packet to send [14:20:44]OFD Sender: No OFD packet to send [14:20:49]OFD Sender: No OFD packet to send [14:20:54]OFD Sender: No OFD packet to send [14:20:59]OFD Sender: No OFD packet to send [14:21:04]OFD Sender: No OFD packet to send [14:21:09]OFD Sender: No OFD packet to send [14:21:14]OFD Sender: No OFD packet to send [14:21:19]OFD Sender: No OFD packet to send [14:21:24]OFD Sender: No OFD packet to send [14:21:29]OFD Sender: No OFD packet to send [14:21:34]OFD Sender: No OFD packet to send [14:21:39]OFD Sender: No OFD packet to send [14:21:44]OFD Sender: No OFD packet to send [14:21:49]OFD Sender: No OFD packet to send [14:21:54]OFD Sender: No OFD packet to send [14:21:59]OFD Sender: No OFD packet to send [14:22:04]OFD Sender: No OFD packet to send [14:22:09]OFD Sender: No OFD packet to send [14:22:14]OFD Sender: No OFD packet to send [14:22:19]OFD Sender: No OFD packet to send [14:22:24]OFD Sender: No OFD packet to send [14:22:29]OFD Sender: No OFD packet to send [14:22:34]OFD Sender: No OFD packet to send [14:22:39]OFD Sender: No OFD packet to send [14:22:44]OFD Sender: No OFD packet to send [14:22:49]OFD Sender: No OFD packet to send [14:22:54]OFD Sender: No OFD packet to send [14:22:59]OFD Sender: No OFD packet to send [14:23:04]OFD Sender: No OFD packet to send [14:23:09]OFD Sender: No OFD packet to send [14:23:14]OFD Sender: No OFD packet to send [14:23:19]OFD Sender: No OFD packet to send [14:23:24]OFD Sender: No OFD packet to send [14:23:29]OFD Sender: No OFD packet to send [14:23:34]OFD Sender: No OFD packet to send [14:23:39]OFD Sender: No OFD packet to send [14:23:44]OFD Sender: No OFD packet to send [14:23:49]OFD Sender: No OFD packet to send [14:23:54]OFD Sender: No OFD packet to send [14:23:59]OFD Sender: No OFD packet to send [14:24:04]OFD Sender: No OFD packet to send [14:24:09]OFD Sender: No OFD packet to send [14:24:14]OFD Sender: No OFD packet to send [14:24:19]OFD Sender: No OFD packet to send [14:24:24]OFD Sender: No OFD packet to send [14:24:29]OFD Sender: No OFD packet to send [14:24:34]OFD Sender: No OFD packet to send [14:24:39]OFD Sender: No OFD packet to send [14:24:44]OFD Sender: No OFD packet to send [14:24:49]OFD Sender: No OFD packet to send [14:24:54]OFD Sender: No OFD packet to send [14:24:59]OFD Sender: No OFD packet to send [14:25:04]OFD Sender: No OFD packet to send [14:25:09]OFD Sender: No OFD packet to send [14:25:14]OFD Sender: No OFD packet to send [14:25:19]OFD Sender: No OFD packet to send [14:25:24]OFD Sender: No OFD packet to send [14:25:29]OFD Sender: No OFD packet to send [14:25:34]OFD Sender: No OFD packet to send [14:25:39]OFD Sender: No OFD packet to send [14:25:44]OFD Sender: No OFD packet to send [14:25:49]OFD Sender: No OFD packet to send [14:25:54]OFD Sender: No OFD packet to send [14:25:59]OFD Sender: No OFD packet to send [14:26:04]OFD Sender: No OFD packet to send [14:26:09]OFD Sender: No OFD packet to send [14:26:14]OFD Sender: No OFD packet to send [14:26:19]OFD Sender: No OFD packet to send [14:26:24]OFD Sender: No OFD packet to send [14:26:29]OFD Sender: No OFD packet to send [14:26:34]OFD Sender: No OFD packet to send [14:26:39]OFD Sender: No OFD packet to send [14:26:44]OFD Sender: No OFD packet to send [14:26:49]OFD Sender: No OFD packet to send [14:26:54]OFD Sender: No OFD packet to send [14:26:59]OFD Sender: No OFD packet to send [14:27:04]OFD Sender: No OFD packet to send [14:27:09]OFD Sender: No OFD packet to send [14:27:14]OFD Sender: No OFD packet to send [14:27:19]OFD Sender: No OFD packet to send [14:27:24]OFD Sender: No OFD packet to send [14:27:29]OFD Sender: No OFD packet to send [14:27:34]OFD Sender: No OFD packet to send [14:27:39]OFD Sender: No OFD packet to send [14:27:44]OFD Sender: No OFD packet to send [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:40]OFD Sender: No OFD packet to send [14:31:45]OFD Sender: No OFD packet to send [14:31:50]OFD Sender: No OFD packet to send [14:31:55]OFD Sender: No OFD packet to send [14:32:00]OFD Sender: No OFD packet to send [14:32:05]OFD Sender: No OFD packet to send [14:32:10]OFD Sender: No OFD packet to send [14:32:15]OFD Sender: No OFD packet to send [14:32:20]OFD Sender: No OFD packet to send [14:32:25]OFD Sender: No OFD packet to send [14:32:30]OFD Sender: No OFD packet to send [14:32:35]OFD Sender: No OFD packet to send [14:32:40]OFD Sender: No OFD packet to send [14:32:45]OFD Sender: No OFD packet to send [14:32:50]OFD Sender: No OFD packet to send [14:32:55]OFD Sender: No OFD packet to send [14:33:00]OFD Sender: No OFD packet to send [14:33:05]OFD Sender: No OFD packet to send [14:33:10]OFD Sender: No OFD packet to send [14:33:15]OFD Sender: No OFD packet to send [14:33:20]OFD Sender: No OFD packet to send [14:33:25]OFD Sender: No OFD packet to send [14:33:30]OFD Sender: No OFD packet to send [14:33:35]OFD Sender: No OFD packet to send [14:33:40]OFD Sender: No OFD packet to send [14:33:45]OFD Sender: No OFD packet to send [14:33:50]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:51]accept exits with 9 [14:49:51]New connection [14:49:51]New thread 3067297124 created [14:49:51]Thread 3067440484 joined [14:49:51]Waiting for new connection... [14:49:51] Sock 9.Parse request [14:49:51]Sock 9.Check first char [14:49:51]Sock 9.First char is OK [14:49:51]request: POST /json_proto HTTP/1.0 [14:49:51]Method: POST [14:49:51]URL: /json_proto [14:49:51]Method is POST - this is cgi request [14:49:51]url: /json_proto [14:49:51]query_string will be loaded in cgi processing [14:49:51]execute_cgi json_proto POST (null) [14:49:51]execute_cgi path=json_proto method=POST [14:49:51]POST find Content-Length [14:49:51]Host: 172.17.40.196:8080 [14:49:51]Content-Length: 747 [14:49:51]Content-Type: application/json [14:49:51] [14:49:51]POST finish read [14:49:51]Found Content-Length = 747 [14:49:51]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35186", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:51]execute_script... [14:49:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35186", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 2.000, "sum" : 288.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 288.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [14:49:51]POST & json_proto [14:49:51]process_json_proto [14:49:51]json parsed OK: [14:49:51]protocol is kg_v1.0 [14:49:51]action value=close_receipt [14:49:51]process_action close_receipt [14:49:51]cmd_close_receipt [14:49:51]MH_GetDate [14:49:51]Write to MH i2c: F0 00 00 EF 3C 1A [14:49:51]Write i2c OK [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: F0 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: F0 09 00 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: F0 09 00 EF 3C 00 1D F6 20 67 5B 68 A1 66 87 [14:49:51]GetLastDocTimeStamp 1730211104 [14:49:51]current date 1730213405 [14:49:51]FM_GetShiftState [14:49:51]SAM_PROTO_GetShiftState [14:49:51]wFMCommunicate request_size=4 [14:49:51]MH_SAM_APDU [14:49:51]CAPDU: 80 13 01 00 [14:49:51]Write to MH i2c: E2 08 00 F0 3C 80 13 01 00 00 00 00 00 A9 [14:49:51]Write i2c OK [14:49:51]MH_I2C_Read... [14:49:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:51]Read from MH i2c: E2 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: E2 0E 00 [14:49:51]MH_I2C_Read... [14:49:51]Read from MH i2c: E2 0E 00 F0 3C 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 1F [14:49:51]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:49:51]wFMCommunicate OK [14:49:51]SAM_PROTO_GetShiftState done [14:49:51]FM_GetShiftState done [14:49:51]opened in 1730160317 [14:49:51]opened+sec_in_day 1730246717 [14:49:51]quantity*price = 28800 [14:49:51]sum+1 = 28801 [14:49:51]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 288.00 НСП 1% : 2.55 НДС 12% : 30.58 Наличными: 0.00 Безнал.: 288.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 48 29.10.2024 14:50 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37886 ФПД: 211934460945946 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T145005&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37886&fm=211934460945946&tin=02508201610067®Number=0000000000091684&sum=28800 0 [14:49:53]StoreToDocumentArchive [14:49:53]shift 552 fd 37886 [14:49:53]save to /storage/0552/doc_00037886 [14:49:53]save last doc name /storage/0552/doc_00037886 to /storage/kkm_last_doc_name [14:49:53]save OK [14:49:53]Clear old archive folders... [14:49:53]ProcessDocumentItem done err = 0, tmpTLVsize=273 [14:49:53]tlvbuf is B6E1F8A0 [14:49:53]SAM_PROTO_ClearQueue [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 09 00 00 [14:49:53]Write to MH i2c: E2 08 00 FD 3C 80 09 00 00 00 00 00 00 AB [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 FD 3C 00 90 00 AD [14:49:53]RAPDU: 90 00 [14:49:53]wFMCommunicate OK [14:49:53]SAM_PROTO_ClearQueue done [14:49:53]KKMCreateOFDPacket [14:49:53]OFDProtocolAddRootSTLVToBuf [14:49:53]FM_MakeSignedData [14:49:53]FM_MakeSignedData [14:49:53]SAM_PROTO_SignData [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 0D 01 02 [14:49:53]Write to MH i2c: E2 08 00 FE 3C 80 0D 01 02 00 00 00 00 B3 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 FE 3C 00 90 00 AE [14:49:53]RAPDU: 90 00 [14:49:53]wFMCommunicate OK [14:49:53]wFMCommunicate request_size=255 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 1D F6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [14:49:53]Write to MH i2c: E2 02 01 FF 3C 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 1D F6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 E7 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 FF 3C 00 90 00 AF [14:49:53]RAPDU: 90 00 [14:49:53]wFMCommunicate OK [14:49:53]wFMCommunicate request_size=32 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 FE 93 00 00 35 04 06 00 C0 C0 D6 42 A6 1A [14:49:53]Write to MH i2c: E2 23 00 00 3D 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 FE 93 00 00 35 04 06 00 C0 C0 D6 42 A6 1A 00 00 FA [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 03 00 00 3D 00 90 00 B1 [14:49:53]RAPDU: 90 00 [14:49:53]wFMCommunicate OK [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 0D 03 02 [14:49:53]Write to MH i2c: E2 08 00 01 3D 80 0D 03 02 00 00 00 00 B9 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 0B 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 0B 00 01 3D 00 76 9E 2C 36 74 DD 35 02 90 00 B8 [14:49:53]RAPDU: 76 9E 2C 36 74 DD 35 02 90 00 [14:49:53]wFMCommunicate OK [14:49:53]SAM_PROTO_SignData done [14:49:53]FM_MakeSignedData done [14:49:53]CreateOFDProtocolMessage [14:49:53]wFMCommunicate request_size=4 [14:49:53]MH_SAM_APDU [14:49:53]CAPDU: 80 11 00 00 [14:49:53]Write to MH i2c: E2 08 00 02 3D 80 11 00 00 00 00 00 00 B9 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:53]Read from MH i2c: E2 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 17 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: E2 17 00 02 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 09 [14:49:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:49:53]wFMCommunicate OK [14:49:53]CreateOFDProtocolMessage done [14:49:53]OFDSenderStorePacket 37886 [14:49:53]StoreOFDPacket docnum=37886 [14:49:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 0C 01 1D 01 EE 3D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 1D F6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FE 93 00 00 35 04 06 00 C0 C0 D6 42 A6 1A 76 9E 2C 36 74 DD 35 02 [14:49:53]CheckFolder [14:49:53]dirname=/storage/ofd_packets [14:49:53]CheckFolder done [14:49:53]ProducePacketName [14:49:53]name=ofd_packets/00037886 [14:49:53]NVStorageSaveData ofd_packets/00037886 [14:49:53]File name is /storage/ofd_packets/00037886 [14:49:53]Write 323 bytes [14:49:53]NVStorageSaveData done [14:49:53]OFDSenderStorePacket done [14:49:53]KKMCreateOFDPacket done [14:49:53]NVStorageSaveData kkm_last_timestamp [14:49:53]File name is /storage/kkm_last_timestamp [14:49:53]Write 4 bytes [14:49:53]NVStorageSaveData done [14:49:53]ExternCall_PrintAddStr [14:49:53]wPrintStart [14:49:53]Write to MH i2c: 01 00 00 03 3D 40 [14:49:53]Write i2c OK [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: 01 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: 01 07 00 [14:49:53]MH_I2C_Read... [14:49:53]Read from MH i2c: 01 07 00 03 3D 00 00 00 00 00 FF 0F 55 [14:49:53]RasterBufferAndPrint [14:49:53]line Счет N : (3)35186 [14:49:53]line ИНН: 02508201610067 [14:49:53]line Контрольно-Кассовый Чек [14:49:53]line ПРОДАЖА [14:49:53]line Товар: 48743570 [14:49:53]line Сигареты Winston XStyle Blue [14:49:53]line 2.000 * 144.00 [14:49:53]line = 288.00 [14:49:53]line НДС 12% НСП 1% [14:49:53]line > о реализуемом товаре [14:49:53]line ИТОГО: 288.00 [14:49:53]line НСП 1% : 2.55 [14:49:53]line НДС 12% : 30.58 [14:49:53]line Наличными: 0.00 [14:49:53]line Безнал.: 288.00 [14:49:53]line Место: АЗС № 126 "Партнер Нефть" [14:49:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [14:49:53]line СНО: Общий режим [14:49:53]line Чек 48 29.10.2024 14:50 [14:49:53]line Смена: 552 ФФД: 1.0 [14:49:53]line ЗНМ: 0300000092 [14:49:53]line РНМ: 0000000000091684 [14:49:53]line Версия ККМ: 001 [14:49:53]line Платежная система: Mbank [14:49:53]line ФМ: 0000000000871841 [14:49:53]line ФД: 37886 [14:49:53]line ФПД: 211934460945946 [14:49:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T145005&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37886&fm=211934460945946&tin=02508201610067®Number=0000000000091684&sum=28800 [14:49:53]OFD Sender: Processing packet 37886 [packets to send 42, broken 41] [14:49:53]ProducePacketName [14:49:53]name=ofd_packets/00037886 [14:49:53]OFD Sender: To server: pG, [14:49:53]CommunicateWithHost lk.salyk.kg:30040 [14:49:53]ConnectInit lk.salyk.kg [14:49:53]line 0 [14:49:53]written 0, free lines is 4095 [14:49:54]Connected sock=10 [14:49:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 0C 01 1D 01 EE 3D 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 80 70 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F2 0B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 80 70 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 1D F6 20 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FE 93 00 00 35 04 06 00 C0 C0 D6 42 A6 1A 76 9E 2C 36 74 DD 35 02 [14:49:54]Write to MH i2c: 01 00 00 2C 3D 69 [14:49:54]Write i2c OK [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: 01 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: 01 07 00 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: 01 07 00 2C 3D 00 00 00 00 00 C3 0C 3F [14:49:54]RasterBufferAndPrint [14:49:54]line [14:49:54]line [14:49:54]line [14:49:54]line [14:49:54]line [14:49:54]written 0, free lines is 3273 [14:49:54]MH_Cut [14:49:54]Write to MH i2c: D1 01 00 33 3D 01 42 [14:49:54]Write i2c OK [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: D1 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: D1 01 00 [14:49:54]MH_I2C_Read... [14:49:54]Read from MH i2c: D1 01 00 33 3D 00 41 [14:49:54]Write to MH i2c: 01 00 00 34 3D 71 [14:49:54]Write i2c OK [14:49:54]MH_I2C_Read... [14:49:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F5 E2 47 00 B3 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FE 93 00 00 F4 03 04 00 0E A1 20 67 B6 04 01 00 00 5A 05 1A 76 E0 66 85 CB [14:49:54]CommunicateWithHost err = 0 [14:49:54]CheckOFDResponse [14:49:54]1017 (14) - 77093643461234 [14:49:54]1041 (16) - 0000000000871841 [14:49:54]1040 (4) - 37886 [14:49:54]1012 (4) - 29.10.2024 08:47 [14:49:54]1206 (1) - 0 [14:49:54]OFD Sender: Remove packet 37886 [14:49:54]ProducePacketName [14:49:54]name=ofd_packets/00037886 [14:49:54]NVStorageDeleteData [14:49:55]OFD Sender: No OFD packet to send [14:49:55]*** Cut start [14:49:55]*** Partial cut [14:49:55]*** CUTSNS_PIN = 1 [14:49:55]*** CUTSNS_PIN = 0 [14:49:55]*** Brake cut motor [14:49:55]Read from MH i2c: 01 [14:49:55]MH_I2C_Read... [14:49:55]*** Stop cut motor [14:49:55]*** Cut end [14:49:55]Read from MH i2c: 01 07 00 [14:49:55]MH_I2C_Read... [14:49:55]Read from MH i2c: 01 07 00 34 3D 00 00 00 00 00 FF 0F 86 [14:49:55]process_action close_receipt done [14:49:55]requested_data is exist [14:49:55]produce_requested_data [14:49:55]requested_item fm.sn is exist - process it [14:49:55]wFMCommunicate request_size=4 [14:49:55]MH_SAM_APDU [14:49:55]CAPDU: 80 11 00 00 [14:49:55]Write to MH i2c: E2 08 00 35 3D 80 11 00 00 00 00 00 00 EC [14:49:55]Write i2c OK [14:49:55]MH_I2C_Read... [14:49:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:49:55]Read from MH i2c: E2 [14:49:55]MH_I2C_Read... [14:49:55]Read from MH i2c: E2 17 00 [14:49:55]MH_I2C_Read... [14:49:55]Read from MH i2c: E2 17 00 35 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3C [14:49:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [14:49:55]wFMCommunicate OK [14:49:55]requested_item fd.num is exist - process it [14:49:55]SAM_PROTO_GetFieldsCounters [14:49:55]wFMCommunicate request_size=4 [14:49:55]MH_SAM_APDU [14:49:55]CAPDU: 80 13 00 00 [14:49:55]Write to MH i2c: E2 08 00 36 3D 80 13 00 00 00 00 00 00 EF [14:49:55]Write i2c OK [14:49:55]MH_I2C_Read... [14:49:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:49:56]Read from MH i2c: E2 [14:49:56]MH_I2C_Read... [14:49:56]Read from MH i2c: E2 62 00 [14:49:56]MH_I2C_Read... [14:49:56]Read from MH i2c: E2 62 00 36 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 5B [14:49:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FE 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [14:49:56]wFMCommunicate OK [14:49:56]SAM_PROTO_GetFieldsCounters done [14:49:56]requested_item shift.num is exist - process it [14:49:56]requested_item shift.opened is exist - process it [14:49:56]req_shift_opened [14:49:56]FM_GetShiftState [14:49:56]SAM_PROTO_GetShiftState [14:49:56]wFMCommunicate request_size=4 [14:49:56]MH_SAM_APDU [14:49:56]CAPDU: 80 13 01 00 [14:49:56]Write to MH i2c: E2 08 00 37 3D 80 13 01 00 00 00 00 00 F1 [14:49:56]Write i2c OK [14:49:56]MH_I2C_Read... [14:49:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:49:56]Read from MH i2c: E2 [14:49:56]MH_I2C_Read... [14:49:56]Read from MH i2c: E2 0E 00 [14:49:56]MH_I2C_Read... [14:49:56]Read from MH i2c: E2 0E 00 37 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 67 [14:49:56]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [14:49:56]wFMCommunicate OK [14:49:56]SAM_PROTO_GetShiftState done [14:49:56]FM_GetShiftState done [14:49:56]req_shift_opened done [14:49:56]requested_item shift.open_date is exist - process it [14:49:56]req_shift_open_date [14:49:56]req_shift_open_date done [14:49:56]produce_requested_data done [14:49:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37886,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [14:49:56]process_action_free close_receipt [14:49:56]json_value_free [14:49:56]json_value_free done [14:49:56]process_json_proto returns [14:49:56]Send response to host [14:49:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37886,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [14:49:56]free response buf [14:49:56]execute_script done [14:49:56]execute_script returns [14:49:56]free content buf [14:49:56]Sock 9.Close socket [14:49:56]Sock 9.Thread stoped [14:50:00]OFD Sender: No OFD packet to send [14:50:05]OFD Sender: No OFD packet to send [14:50:10]OFD Sender: No OFD packet to send [14:50:15]OFD Sender: No OFD packet to send [14:50:20]OFD Sender: No OFD packet to send [14:50:25]OFD Sender: No OFD packet to send [14:50:30]OFD Sender: No OFD packet to send [14:50:35]OFD Sender: No OFD packet to send [14:50:40]OFD Sender: No OFD packet to send [14:50:45]OFD Sender: No OFD packet to send [14:50:50]OFD Sender: No OFD packet to send [14:50:55]OFD Sender: No OFD packet to send [14:51:00]OFD Sender: No OFD packet to send [14:51:05]OFD Sender: No OFD packet to send [14:51:10]OFD Sender: No OFD packet to send [14:51:15]OFD Sender: No OFD packet to send [14:51:20]OFD Sender: No OFD packet to send [14:51:25]OFD Sender: No OFD packet to send [14:51:30]OFD Sender: No OFD packet to send [14:51:35]OFD Sender: No OFD packet to send [14:51:40]OFD Sender: No OFD packet to send [14:51:45]OFD Sender: No OFD packet to send [14:51:50]OFD Sender: No OFD packet to send [14:51:55]OFD Sender: No OFD packet to send [14:52:00]OFD Sender: No OFD packet to send [14:52:05]OFD Sender: No OFD packet to send [14:52:10]OFD Sender: No OFD packet to send [14:52:15]OFD Sender: No OFD packet to send [14:52:20]OFD Sender: No OFD packet to send [14:52:25]OFD Sender: No OFD packet to send [14:52:30]OFD Sender: No OFD packet to send [14:52:35]OFD Sender: No OFD packet to send [14:52:40]OFD Sender: No OFD packet to send [14:52:45]OFD Sender: No OFD packet to send [14:52:50]OFD Sender: No OFD packet to send [14:52:55]OFD Sender: No OFD packet to send [14:53:00]OFD Sender: No OFD packet to send [14:53:05]OFD Sender: No OFD packet to send [14:53:10]OFD Sender: No OFD packet to send [14:53:15]OFD Sender: No OFD packet to send [14:53:20]OFD Sender: No OFD packet to send [14:53:25]OFD Sender: No OFD packet to send [14:53:30]OFD Sender: No OFD packet to send [14:53:35]OFD Sender: No OFD packet to send [14:53:40]OFD Sender: No OFD packet to send [14:53:45]OFD Sender: No OFD packet to send [14:53:50]OFD Sender: No OFD packet to send [14:53:55]OFD Sender: No OFD packet to send [14:54:00]OFD Sender: No OFD packet to send [14:54:05]OFD Sender: No OFD packet to send [14:54:10]OFD Sender: No OFD packet to send [14:54:15]OFD Sender: No OFD packet to send [14:54:20]OFD Sender: No OFD packet to send [14:54:25]OFD Sender: No OFD packet to send [14:54:30]OFD Sender: No OFD packet to send [14:54:35]OFD Sender: No OFD packet to send [14:54:40]OFD Sender: No OFD packet to send [14:54:45]OFD Sender: No OFD packet to send [14:54:50]OFD Sender: No OFD packet to send [14:54:55]OFD Sender: No OFD packet to send [14:55:00]OFD Sender: No OFD packet to send [14:55:05]OFD Sender: No OFD packet to send [14:55:10]OFD Sender: No OFD packet to send [14:55:15]OFD Sender: No OFD packet to send [14:55:20]OFD Sender: No OFD packet to send [14:55:25]OFD Sender: No OFD packet to send [14:55:30]OFD Sender: No OFD packet to send [14:55:35]OFD Sender: No OFD packet to send [14:55:40]OFD Sender: No OFD packet to send [14:55:45]OFD Sender: No OFD packet to send [14:55:50]OFD Sender: No OFD packet to send [14:55:55]OFD Sender: No OFD packet to send [14:56:00]OFD Sender: No OFD packet to send [14:56:05]OFD Sender: No OFD packet to send [14:56:10]OFD Sender: No OFD packet to send [14:56:15]OFD Sender: No OFD packet to send [14:56:20]OFD Sender: No OFD packet to send [14:56:25]OFD Sender: No OFD packet to send [14:56:30]OFD Sender: No OFD packet to send [14:56:35]OFD Sender: No OFD packet to send [14:56:40]OFD Sender: No OFD packet to send [14:56:45]OFD Sender: No OFD packet to send [14:56:50]OFD Sender: No OFD packet to send [14:56:55]OFD Sender: No OFD packet to send [14:57:00]OFD Sender: No OFD packet to send [14:57:05]OFD Sender: No OFD packet to send [14:57:10]OFD Sender: No OFD packet to send [14:57:15]OFD Sender: No OFD packet to send [14:57:20]OFD Sender: No OFD packet to send [14:57:25]OFD Sender: No OFD packet to send [14:57:30]OFD Sender: No OFD packet to send [14:57:35]OFD Sender: No OFD packet to send [14:57:40]OFD Sender: No OFD packet to send [14:57:45]OFD Sender: No OFD packet to send [14:57:50]OFD Sender: No OFD packet to send [14:57:55]OFD Sender: No OFD packet to send [14:58:00]OFD Sender: No OFD packet to send [14:58:05]OFD Sender: No OFD packet to send [14:58:10]OFD Sender: No OFD packet to send [14:58:15]OFD Sender: No OFD packet to send [14:58:20]OFD Sender: No OFD packet to send [14:58:25]OFD Sender: No OFD packet to send [14:58:30]OFD Sender: No OFD packet to send [14:58:35]OFD Sender: No OFD packet to send [14:58:40]OFD Sender: No OFD packet to send [14:58:45]OFD Sender: No OFD packet to send [14:58:50]OFD Sender: No OFD packet to send [14:58:55]OFD Sender: No OFD packet to send [14:59:00]OFD Sender: No OFD packet to send [14:59:05]OFD Sender: No OFD packet to send [14:59:10]OFD Sender: No OFD packet to send [14:59:15]OFD Sender: No OFD packet to send [14:59:20]OFD Sender: No OFD packet to send [14:59:25]OFD Sender: No OFD packet to send [14:59:30]OFD Sender: No OFD packet to send [14:59:35]OFD Sender: No OFD packet to send [14:59:40]OFD Sender: No OFD packet to send [14:59:45]OFD Sender: No OFD packet to send [14:59:50]OFD Sender: No OFD packet to send [14:59:55]OFD Sender: No OFD packet to send [15:00:00]OFD Sender: No OFD packet to send [15:00:05]OFD Sender: No OFD packet to send [15:00:10]OFD Sender: No OFD packet to send [15:00:15]OFD Sender: No OFD packet to send [15:00:20]OFD Sender: No OFD packet to send [15:00:25]OFD Sender: No OFD packet to send [15:00:30]OFD Sender: No OFD packet to send [15:00:35]OFD Sender: No OFD packet to send [15:00:40]OFD Sender: No OFD packet to send [15:00:45]OFD Sender: No OFD packet to send [15:00:50]OFD Sender: No OFD packet to send [15:00:55]OFD Sender: No OFD packet to send [15:01:00]OFD Sender: No OFD packet to send [15:01:05]OFD Sender: No OFD packet to send [15:01:10]OFD Sender: No OFD packet to send [15:01:15]OFD Sender: No OFD packet to send [15:01:20]OFD Sender: No OFD packet to send [15:01:25]OFD Sender: No OFD packet to send [15:01:30]OFD Sender: No OFD packet to send [15:01:35]OFD Sender: No OFD packet to send [15:01:40]OFD Sender: No OFD packet to send [15:01:45]OFD Sender: No OFD packet to send [15:01:50]OFD Sender: No OFD packet to send [15:01:55]OFD Sender: No OFD packet to send [15:02:00]OFD Sender: No OFD packet to send [15:02:05]OFD Sender: No OFD packet to send [15:02:10]OFD Sender: No OFD packet to send [15:02:15]OFD Sender: No OFD packet to send [15:02:20]OFD Sender: No OFD packet to send [15:02:25]OFD Sender: No OFD packet to send [15:02:30]OFD Sender: No OFD packet to send [15:02:35]OFD Sender: No OFD packet to send [15:02:40]OFD Sender: No OFD packet to send [15:02:45]OFD Sender: No OFD packet to send [15:02:50]OFD Sender: No OFD packet to send [15:02:55]OFD Sender: No OFD packet to send [15:03:00]OFD Sender: No OFD packet to send [15:03:05]OFD Sender: No OFD packet to send [15:03:10]OFD Sender: No OFD packet to send [15:03:15]OFD Sender: No OFD packet to send [15:03:20]OFD Sender: No OFD packet to send [15:03:25]OFD Sender: No OFD packet to send [15:03:30]OFD Sender: No OFD packet to send [15:03:35]OFD Sender: No OFD packet to send [15:03:40]OFD Sender: No OFD packet to send [15:03:45]OFD Sender: No OFD packet to send [15:03:50]OFD Sender: No OFD packet to send [15:03:55]OFD Sender: No OFD packet to send [15:04:00]OFD Sender: No OFD packet to send [15:04:05]OFD Sender: No OFD packet to send [15:04:10]OFD Sender: No OFD packet to send [15:04:15]OFD Sender: No OFD packet to send [15:04:20]OFD Sender: No OFD packet to send [15:04:25]OFD Sender: No OFD packet to send [15:04:30]OFD Sender: No OFD packet to send [15:04:35]OFD Sender: No OFD packet to send [15:04:40]OFD Sender: No OFD packet to send [15:04:45]OFD Sender: No OFD packet to send [15:04: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:46]OFD Sender: No OFD packet to send [15:12:51]OFD Sender: No OFD packet to send [15:12:56]OFD Sender: No OFD packet to send [15:13:01]OFD Sender: No OFD packet to send [15:13:06]OFD Sender: No OFD packet to send [15:13:11]OFD Sender: No OFD packet to send [15:13:16]OFD Sender: No OFD packet to send [15:13:21]OFD Sender: No OFD packet to send [15:13:26]OFD Sender: No OFD packet to send [15:13:31]OFD Sender: No OFD packet to send [15:13:36]OFD Sender: No OFD packet to send [15:13:41]OFD Sender: No OFD packet to send [15:13:46]OFD Sender: No OFD packet to send [15:13:51]OFD Sender: No OFD packet to send [15:13:56]OFD Sender: No OFD packet to send [15:14:01]OFD Sender: No OFD packet to send [15:14:06]OFD Sender: No OFD packet to send [15:14:11]OFD Sender: No OFD packet to send [15:14:16]OFD Sender: No OFD packet to send [15:14:21]OFD Sender: No OFD packet to send [15:14:26]OFD Sender: No OFD packet to send [15:14:31]OFD Sender: No OFD packet to send [15:14:36]OFD Sender: No OFD packet to send [15:14:41]OFD Sender: No OFD packet to send [15:14:46]OFD Sender: No OFD packet to send [15:14:51]OFD Sender: No OFD packet to send [15:14:56]OFD Sender: No OFD packet to send [15:15:01]OFD Sender: No OFD packet to send [15:15:06]OFD Sender: No OFD packet to send [15:15:11]OFD Sender: No OFD packet to send [15:15:16]OFD Sender: No OFD packet to send [15:15:21]OFD Sender: No OFD packet to send [15:15:26]OFD Sender: No OFD packet to send [15:15:31]OFD Sender: No OFD packet to send [15:15:36]OFD Sender: No OFD packet to send [15:15:41]OFD Sender: No OFD packet to send [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:56]OFD Sender: No OFD packet to send [15:19:01]OFD Sender: No OFD packet to send [15:19:06]OFD Sender: No OFD packet to send [15:19:11]OFD Sender: No OFD packet to send [15:19:16]OFD Sender: No OFD packet to send [15:19:21]OFD Sender: No OFD packet to send [15:19:26]OFD Sender: No OFD packet to send [15:19:31]OFD Sender: No OFD packet to send [15:19:36]OFD Sender: No OFD packet to send [15:19:41]OFD Sender: No OFD packet to send [15:19:46]OFD Sender: No OFD packet to send [15:19:51]OFD Sender: No OFD packet to send [15:19:56]OFD Sender: No OFD packet to send [15:20:01]OFD Sender: No OFD packet to send [15:20:06]OFD Sender: No OFD packet to send [15:20:11]OFD Sender: No OFD packet to send [15:20:16]OFD Sender: No OFD packet to send [15:20:21]OFD Sender: No OFD packet to send [15:20:26]OFD Sender: No OFD packet to send [15:20:31]OFD Sender: No OFD packet to send [15:20:36]OFD Sender: No OFD packet to send [15:20:41]OFD Sender: No OFD packet to send [15:20:46]OFD Sender: No OFD packet to send [15:20:51]OFD Sender: No OFD packet to send [15:20:56]OFD Sender: No OFD packet to send [15:21:01]OFD Sender: No OFD packet to send [15:21:06]OFD Sender: No OFD packet to send [15:21:11]OFD Sender: No OFD packet to send [15:21:16]OFD Sender: No OFD packet to send [15:21:21]OFD Sender: No OFD packet to send [15:21:26]OFD Sender: No OFD packet to send [15:21:31]OFD Sender: No OFD packet to send [15:21:36]OFD Sender: No OFD packet to send [15:21:41]OFD Sender: No OFD packet to send [15:21:46]OFD Sender: No OFD packet to send [15:21:51]OFD Sender: No OFD packet to send [15:21:56]OFD Sender: No OFD packet to send [15:22:01]OFD Sender: No OFD packet to send [15:22:06]OFD Sender: No OFD packet to send [15:22:11]OFD Sender: No OFD packet to send [15:22:16]OFD Sender: No OFD packet to send [15:22:21]OFD Sender: No OFD packet to send [15:22:26]OFD Sender: No OFD packet to send [15:22:31]OFD Sender: No OFD packet to send [15:22:36]OFD Sender: No OFD packet to send [15:22:41]OFD Sender: No OFD packet to send [15:22:46]OFD Sender: No OFD packet to send [15:22:51]OFD Sender: No OFD packet to send [15:22:56]OFD Sender: No OFD packet to send [15:23:01]OFD Sender: No OFD packet to send [15:23:06]OFD Sender: No OFD packet to send [15:23:11]OFD Sender: No OFD packet to send [15:23:16]OFD Sender: No OFD packet to send [15:23:21]OFD Sender: No OFD packet to send [15:23:26]OFD Sender: No OFD packet to send [15:23:31]OFD Sender: No OFD packet to send [15:23:36]OFD Sender: No OFD packet to send [15:23:42]OFD Sender: No OFD packet to send [15:23:47]OFD Sender: No OFD packet to send [15:23:52]OFD Sender: No OFD packet to send [15:23:57]OFD Sender: No OFD packet to send [15:24:02]OFD Sender: No OFD packet to send [15:24:07]OFD Sender: No OFD packet to send [15:24:12]OFD Sender: No OFD packet to send [15:24:17]OFD Sender: No OFD packet to send [15:24:22]OFD Sender: No OFD packet to send [15:24:27]OFD Sender: No OFD packet to send [15:24:32]OFD Sender: No OFD packet to send [15:24:37]OFD Sender: No OFD packet to send [15:24:42]OFD Sender: No OFD packet to send [15:24:47]OFD Sender: No OFD packet to send [15:24:52]OFD Sender: No OFD packet to send [15:24:57]OFD Sender: No OFD packet to send [15:25:02]OFD Sender: No OFD packet to send [15:25:07]OFD Sender: No OFD packet to send [15:25:12]OFD Sender: No OFD packet to send [15:25:17]OFD Sender: No OFD packet to send [15:25:22]OFD Sender: No OFD packet to send [15:25:27]OFD Sender: No OFD packet to send [15:25:32]OFD Sender: No OFD packet to send [15:25:37]OFD Sender: No OFD packet to send [15:25:42]OFD Sender: No OFD packet to send [15:25:47]OFD Sender: No OFD packet to send [15:25:52]OFD Sender: No OFD packet to send [15:25:57]OFD Sender: No OFD packet to send [15:26:02]OFD Sender: No OFD packet to send [15:26:07]OFD Sender: No OFD packet to send [15:26:12]OFD Sender: No OFD packet to send [15:26:17]OFD Sender: No OFD packet to send [15:26:22]OFD Sender: No OFD packet to send [15:26:27]OFD Sender: No OFD packet to send [15:26:32]OFD Sender: No OFD packet to send [15:26:37]OFD Sender: No OFD packet to send [15:26:42]OFD Sender: No OFD packet to send [15:26:47]OFD Sender: No OFD packet to send [15:26:52]OFD Sender: No OFD packet to send [15:26:57]OFD Sender: No OFD packet to send [15:27:02]OFD Sender: No OFD packet to send [15:27:07]OFD Sender: No OFD packet to send [15:27:12]OFD Sender: No OFD packet to send [15:27:17]OFD Sender: No OFD packet to send [15:27:22]OFD Sender: No OFD packet to send [15:27:27]OFD Sender: No OFD packet to send [15:27:32]OFD Sender: No OFD packet to send [15:27:37]OFD Sender: No OFD packet to send [15:27:42]OFD Sender: No OFD packet to send [15:27:47]OFD Sender: No OFD packet to send [15:27:52]OFD Sender: No OFD packet to send [15:27:57]OFD Sender: No OFD packet to send [15:28:02]OFD Sender: No OFD packet to send [15:28:07]OFD Sender: No OFD packet to send [15:28:12]OFD Sender: No OFD packet to send [15:28:17]OFD Sender: No OFD packet to send [15:28:22]OFD Sender: No OFD packet to send [15:28:27]OFD Sender: No OFD packet to send [15:28:32]OFD Sender: No OFD packet to send [15:28:37]OFD Sender: No OFD packet to send [15:28:42]OFD Sender: No OFD packet to send [15:28:47]OFD Sender: No OFD packet to send [15:28:52]OFD Sender: No OFD packet to send [15:28:57]OFD Sender: No OFD packet to send [15:29:02]OFD Sender: No OFD packet to send [15:29:07]OFD Sender: No OFD packet to send [15:29:12]OFD Sender: No OFD packet to send [15:29:17]OFD Sender: No OFD packet to send [15:29:22]OFD Sender: No OFD packet to send [15:29:27]OFD Sender: No OFD packet to send [15:29:32]OFD Sender: No OFD packet to send [15:29:37]OFD Sender: No OFD packet to send [15:29:42]OFD Sender: No OFD packet to send [15:29:47]OFD Sender: No OFD packet to send [15:29:52]OFD Sender: No OFD packet to send [15:29:57]OFD Sender: No OFD packet to send [15:30:02]OFD Sender: No OFD packet to send [15:30:07]OFD Sender: No OFD packet to send [15:30:12]OFD Sender: No OFD packet to send [15:30:17]OFD Sender: No OFD packet to send [15:30:22]OFD Sender: No OFD packet to send [15:30:27]OFD Sender: No OFD packet to send [15:30:32]OFD Sender: No OFD packet to send [15:30:37]OFD Sender: No OFD packet to send [15:30:42]OFD Sender: No OFD packet to send [15:30:47]OFD Sender: No OFD packet to send [15:30:52]OFD Sender: No OFD packet to send [15:30:57]OFD Sender: No OFD packet to send [15:31:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]OFD Sender: No OFD packet to send [15:33:42]OFD Sender: No OFD packet to send [15:33:47]OFD Sender: No OFD packet to send [15:33:52]OFD Sender: No OFD packet to send [15:33:57]OFD Sender: No OFD packet to send [15:34:02]OFD Sender: No OFD packet to send [15:34:07]OFD Sender: No OFD packet to send [15:34:12]OFD Sender: No OFD packet to send [15:34:17]OFD Sender: No OFD packet to send [15:34:22]OFD Sender: No OFD packet to send [15:34:27]OFD Sender: No OFD packet to send [15:34:32]OFD Sender: No OFD packet to send [15:34:37]OFD Sender: No OFD packet to send [15:34:42]OFD Sender: No OFD packet to send [15:34:47]OFD Sender: No OFD packet to send [15:34:52]OFD Sender: No OFD packet to send [15:34:57]OFD Sender: No OFD packet to send [15:35:02]OFD Sender: No OFD packet to send [15:35:07]OFD Sender: No OFD packet to send [15:35:12]OFD Sender: No OFD packet to send [15:35:17]OFD Sender: No OFD packet to send [15:35:22]OFD Sender: No OFD packet to send [15:35:27]OFD Sender: No OFD packet to send [15:35:32]OFD Sender: No OFD packet to send [15:35:37]OFD Sender: No OFD packet to send [15:35:42]OFD Sender: No OFD packet to send [15:35:47]OFD Sender: No OFD packet to send [15:35:52]OFD Sender: No OFD packet to send [15:35:57]OFD Sender: No OFD packet to send [15:36:02]OFD Sender: No OFD packet to send [15:36:07]OFD Sender: No OFD packet to send [15:36:12]OFD Sender: No OFD packet to send [15:36:17]OFD Sender: No OFD packet to send [15:36:22]OFD Sender: No OFD packet to send [15:36:27]OFD Sender: No OFD packet to send [15:36:32]OFD Sender: No OFD packet to send [15:36:37]OFD Sender: No OFD packet to send [15:36:42]OFD Sender: No OFD packet to send [15:36:47]OFD Sender: No OFD packet to send [15:36:52]OFD Sender: No OFD packet to send [15:36:57]OFD Sender: No OFD packet to send [15:37:02]OFD Sender: No OFD packet to send [15:37:07]OFD Sender: No OFD packet to send [15:37:12]OFD Sender: No OFD packet to send [15:37:17]OFD Sender: No OFD packet to send [15:37:22]OFD Sender: No OFD packet to send [15:37:27]OFD Sender: No OFD packet to send [15:37:32]OFD Sender: No OFD packet to send [15:37:37]OFD Sender: No OFD packet to send [15:37:42]OFD Sender: No OFD packet to send [15:37:47]OFD Sender: No OFD packet to send [15:37:52]OFD Sender: No OFD packet to send [15:37:57]OFD Sender: No OFD packet to send [15:38:02]OFD Sender: No OFD packet to send [15:38:07]OFD Sender: No OFD packet to send [15:38:12]OFD Sender: No OFD packet to send [15:38:17]OFD Sender: No OFD packet to send [15:38:22]OFD Sender: No OFD packet to send [15:38:27]OFD Sender: No OFD packet to send [15:38:32]OFD Sender: No OFD packet to send [15:38:37]OFD Sender: No OFD packet to send [15:38:42]OFD Sender: No OFD packet to send [15:38:47]OFD Sender: No OFD packet to send [15:38:52]OFD Sender: No OFD packet to send [15:38:57]OFD Sender: No OFD packet to send [15:39:02]OFD Sender: No OFD packet to send [15:39:07]OFD Sender: No OFD packet to send [15:39:12]OFD Sender: No OFD packet to send [15:39:17]OFD Sender: No OFD packet to send [15:39:22]OFD Sender: No OFD packet to send [15:39:27]OFD Sender: No OFD packet to send [15:39:32]OFD Sender: No OFD packet to send [15:39:37]OFD Sender: No OFD packet to send [15:39:42]OFD Sender: No OFD packet to send [15:39:47]OFD Sender: No OFD packet to send [15:39:52]OFD Sender: No OFD packet to send [15:39:57]OFD Sender: No OFD packet to send [15:40:02]OFD Sender: No OFD packet to send [15:40:07]OFD Sender: No OFD packet to send [15:40:12]OFD Sender: No OFD packet to send [15:40:17]OFD Sender: No OFD packet to send [15:40:22]OFD Sender: No OFD packet to send [15:40:27]OFD Sender: No OFD packet to send [15:40:32]OFD Sender: No OFD packet to send [15:40:37]OFD Sender: No OFD packet to send [15:40:42]OFD Sender: No OFD packet to send [15:40:47]OFD Sender: No OFD packet to send [15:40:52]OFD Sender: No OFD packet to send [15:40:57]OFD Sender: No OFD packet to send [15:41:02]OFD Sender: No OFD packet to send [15:41:07]OFD Sender: No OFD packet to send [15:41:12]OFD Sender: No OFD packet to send [15:41:17]OFD Sender: No OFD packet to send [15:41:22]OFD Sender: No OFD packet to send [15:41:27]OFD Sender: No OFD packet to send [15:41:32]OFD Sender: No OFD packet to send [15:41:37]OFD Sender: No OFD packet to send [15:41:42]OFD Sender: No OFD packet to send [15:41:47]OFD Sender: No OFD packet to send [15:41:52]OFD Sender: No OFD packet to send [15:41:57]OFD Sender: No OFD packet to send [15:42:02]OFD Sender: No OFD packet to send [15:42:07]OFD Sender: No OFD packet to send [15:42:12]OFD Sender: No OFD packet to send [15:42:17]OFD Sender: No OFD packet to send [15:42:22]OFD Sender: No OFD packet to send [15:42:28]OFD Sender: No OFD packet to send [15:42:33]OFD Sender: No OFD packet to send [15:42:38]OFD Sender: No OFD packet to send [15:42:43]OFD Sender: No OFD packet to send [15:42:48]OFD Sender: No OFD packet to send [15:42:53]OFD Sender: No OFD packet to send [15:42:58]OFD Sender: No OFD packet to send [15:43:03]OFD Sender: No OFD packet to send [15:43:08]OFD Sender: No OFD packet to send [15:43:13]OFD Sender: No OFD packet to send [15:43:18]OFD Sender: No OFD packet to send [15:43:23]OFD Sender: No OFD packet to send [15:43:28]OFD Sender: No OFD packet to send [15:43:33]OFD Sender: No OFD packet to send [15:43:38]OFD Sender: No OFD packet to send [15:43:43]OFD Sender: No OFD packet to send [15:43:48]OFD Sender: No OFD packet to send [15:43:53]OFD Sender: No OFD packet to send [15:43:58]OFD Sender: No OFD packet to send [15:44:03]OFD Sender: No OFD packet to send [15:44:08]OFD Sender: No OFD packet to send [15:44:13]OFD Sender: No OFD packet to send [15:44:18]OFD Sender: No OFD packet to send [15:44:23]OFD Sender: No OFD packet to send [15:44:28]OFD Sender: No OFD packet to send [15:44:33]OFD Sender: No OFD packet to send [15:44:38]OFD Sender: No OFD packet to send [15:44:43]OFD Sender: No OFD packet to send [15:44:48]OFD Sender: No OFD packet to send [15:44:53]OFD Sender: No OFD packet to send [15:44:58]OFD Sender: No OFD packet to send [15:45:03]OFD Sender: No OFD packet to send [15:45:08]OFD Sender: No OFD packet to send [15:45:13]OFD Sender: No OFD packet to send [15:45:18]OFD Sender: No OFD packet to send [15:45:23]OFD Sender: No OFD packet to send [15:45:28]OFD Sender: No OFD packet to send [15:45:33]OFD Sender: No OFD packet to send [15:45:38]OFD Sender: No OFD packet to send [15:45:43]OFD Sender: No OFD packet to send [15:45:48]OFD Sender: No OFD packet to send [15:45:53]OFD Sender: No OFD packet to send [15:45:58]OFD Sender: No OFD packet to send [15:46:03]OFD Sender: No OFD packet to send [15:46:08]OFD Sender: No OFD packet to send [15:46:13]OFD Sender: No OFD packet to send [15:46:18]OFD Sender: No OFD packet to send [15:46:23]OFD Sender: No OFD packet to send [15:46:28]OFD Sender: No OFD packet to send [15:46:33]OFD Sender: No OFD packet to send [15:46:38]OFD Sender: No OFD packet to send [15:46:43]OFD Sender: No OFD packet to send [15:46:48]OFD Sender: No OFD packet to send [15:46:53]OFD Sender: No OFD packet to send [15:46:58]OFD Sender: No OFD packet to send [15:47:03]OFD Sender: No OFD packet to send [15:47:08]OFD Sender: No OFD packet to send [15:47:13]OFD Sender: No OFD packet to send [15:47:18]OFD Sender: No OFD packet to send [15:47:23]OFD Sender: No OFD packet to send [15:47:28]OFD Sender: No OFD packet to send [15:47:33]OFD Sender: No OFD packet to send [15:47:38]OFD Sender: No OFD packet to send [15:47:43]OFD Sender: No OFD packet to send [15:47:48]OFD Sender: No OFD packet to send [15:47:53]OFD Sender: No OFD packet to send [15:47:58]OFD Sender: No OFD packet to send [15:48:03]OFD Sender: No OFD packet to send [15:48:08]OFD Sender: No OFD packet to send [15:48:13]OFD Sender: No OFD packet to send [15:48:18]OFD Sender: No OFD packet to send [15:48:23]OFD Sender: No OFD packet to send [15:48:28]OFD Sender: No OFD packet to send [15:48:33]OFD Sender: No OFD packet to send [15:48:38]OFD Sender: No OFD packet to send [15:48:43]OFD Sender: No OFD packet to send [15:48:48]OFD Sender: No OFD packet to send [15:48:53]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50:48]OFD Sender: No OFD packet to send [15:50:53]OFD Sender: No OFD packet to send [15:50:58]OFD Sender: No OFD packet to send [15:51:03]OFD Sender: No OFD packet to send [15:51:08]OFD Sender: No OFD packet to send [15:51:13]OFD Sender: No OFD packet to send [15:51:18]OFD Sender: No OFD packet to send [15:51:23]OFD Sender: No OFD packet to send [15:51:28]OFD Sender: No OFD packet to send [15:51:33]OFD Sender: No OFD packet to send [15:51:38]OFD Sender: No OFD packet to send [15:51:43]OFD Sender: No OFD packet to send [15:51:48]OFD Sender: No OFD packet to send [15:51:53]OFD Sender: No OFD packet to send [15:51:58]OFD Sender: No OFD packet to send [15:52:03]OFD Sender: No OFD packet to send [15:52:08]OFD Sender: No OFD packet to send [15:52:09]accept exits with 7 [15:52:09]New connection [15:52:09]New thread 3067440484 created [15:52:09]Thread 3067297124 joined [15:52:09]Waiting for new connection... [15:52:09] Sock 7.Parse request [15:52:09]Sock 7.Check first char [15:52:09]Sock 7.First char is OK [15:52:09]request: POST /json_proto HTTP/1.0 [15:52:09]Method: POST [15:52:09]URL: /json_proto [15:52:09]Method is POST - this is cgi request [15:52:09]url: /json_proto [15:52:09]query_string will be loaded in cgi processing [15:52:09]execute_cgi json_proto POST (null) [15:52:09]execute_cgi path=json_proto method=POST [15:52:09]POST find Content-Length [15:52:09]Host: 172.17.40.196:8080 [15:52:09]Content-Length: 1223 [15:52:09]Content-Type: application/json [15:52:09] [15:52:09]POST finish read [15:52:09]Found Content-Length = 1223 [15:52:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35187", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:09]execute_script... [15:52: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)35187", "tax_sys" : 0, "items" : [ { "code": "4700000481989", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043A\u0438\u0432\u0438-\u043C\u0430\u043D\u0433\u043E\u0441\u0442\u0438\u043D 0,45 ", "price" : 95.00, "quantity" : 1.000, "sum" : 95.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": "4700000160181", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 224.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [15:52:09]POST & json_proto [15:52:09]process_json_proto [15:52:09]json parsed OK: [15:52:09]protocol is kg_v1.0 [15:52:09]action value=close_receipt [15:52:09]process_action close_receipt [15:52:09]cmd_close_receipt [15:52:09]MH_GetDate [15:52:09]Write to MH i2c: F0 00 00 38 3D 64 [15:52:09]Write i2c OK [15:52:09]MH_I2C_Read... [15:52:09]Read from MH i2c: F0 [15:52:09]MH_I2C_Read... [15:52:09]Read from MH i2c: F0 09 00 [15:52:09]MH_I2C_Read... [15:52:09]Read from MH i2c: F0 09 00 38 3D 00 B6 04 21 67 5B 68 A1 66 79 [15:52:09]GetLastDocTimeStamp 1730213405 [15:52:09]current date 1730217142 [15:52:09]FM_GetShiftState [15:52:09]SAM_PROTO_GetShiftState [15:52:09]wFMCommunicate request_size=4 [15:52:09]MH_SAM_APDU [15:52:09]CAPDU: 80 13 01 00 [15:52:09]Write to MH i2c: E2 08 00 39 3D 80 13 01 00 00 00 00 00 F3 [15:52:09]Write i2c OK [15:52:09]MH_I2C_Read... [15:52:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:09]Read from MH i2c: E2 [15:52:09]MH_I2C_Read... [15:52:09]Read from MH i2c: E2 0E 00 [15:52:09]MH_I2C_Read... [15:52:09]Read from MH i2c: E2 0E 00 39 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 69 [15:52:09]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [15:52:09]wFMCommunicate OK [15:52:09]SAM_PROTO_GetShiftState done [15:52:09]FM_GetShiftState done [15:52:09]opened in 1730160317 [15:52:09]opened+sec_in_day 1730246717 [15:52:09]quantity*price = 9500 [15:52:09]sum+1 = 9501 [15:52:09]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000310043 Вода Жалалабат 27 1л 1.000 * 79.00 = 79.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160181 Вода Байтик 1л 1.000 * 50.00 = 50.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 224.00 НСП 1% : 1.98 НДС 12% : 23.79 Наличными: 224.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 49 29.10.2024 15:52 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37887 ФПД: 197176698709477 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T155222&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37887&fm=197176698709477&tin=02508201610067®Number=0000000000091684&sum=22400 0 [15:52:10]StoreToDocumentArchive [15:52:10]shift 552 fd 37887 [15:52:10]save to /storage/0552/doc_00037887 [15:52:10]save last doc name /storage/0552/doc_00037887 to /storage/kkm_last_doc_name [15:52:10]save OK [15:52:10]Clear old archive folders... [15:52:10]ProcessDocumentItem done err = 0, tmpTLVsize=510 [15:52:10]tlvbuf is B6E1F490 [15:52:10]SAM_PROTO_ClearQueue [15:52:10]wFMCommunicate request_size=4 [15:52:10]MH_SAM_APDU [15:52:10]CAPDU: 80 09 00 00 [15:52:10]Write to MH i2c: E2 08 00 46 3D 80 09 00 00 00 00 00 00 F5 [15:52:10]Write i2c OK [15:52:10]MH_I2C_Read... [15:52:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:52:10]Read from MH i2c: E2 [15:52:10]MH_I2C_Read... [15:52:10]Read from MH i2c: E2 03 00 [15:52:10]MH_I2C_Read... [15:52:10]Read from MH i2c: E2 03 00 46 3D 00 90 00 F7 [15:52:10]RAPDU: 90 00 [15:52:10]wFMCommunicate OK [15:52:10]SAM_PROTO_ClearQueue done [15:52:10]KKMCreateOFDPacket [15:52:10]OFDProtocolAddRootSTLVToBuf [15:52:10]FM_MakeSignedData [15:52:10]FM_MakeSignedData [15:52:10]SAM_PROTO_SignData [15:52:10]wFMCommunicate request_size=4 [15:52:10]MH_SAM_APDU [15:52:10]CAPDU: 80 0D 01 02 [15:52:10]Write to MH i2c: E2 08 00 47 3D 80 0D 01 02 00 00 00 00 FD [15:52:10]Write i2c OK [15:52:10]MH_I2C_Read... [15:52:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:52:10]Read from MH i2c: E2 [15:52:10]MH_I2C_Read... [15:52:10]Read from MH i2c: E2 03 00 [15:52:10]MH_I2C_Read... [15:52:10]Read from MH i2c: E2 03 00 47 3D 00 90 00 F8 [15:52:10]RAPDU: 90 00 [15:52:10]wFMCommunicate OK [15:52:10]wFMCommunicate request_size=255 [15:52:10]MH_SAM_APDU [15:52:10]CAPDU: 80 0D 02 02 FA 03 00 FE 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 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 [15:52:10]Write to MH i2c: E2 02 01 48 3D 80 0D 02 02 FA 00 03 00 FE 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 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 00 4B [15:52:10]Write i2c OK [15:52:10]MH_I2C_Read... [15:52:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:10]Read from MH i2c: E2 [15:52:10]MH_I2C_Read... [15:52:10]Read from MH i2c: E2 03 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 03 00 48 3D 00 90 00 F9 [15:52:11]RAPDU: 90 00 [15:52:11]wFMCommunicate OK [15:52:11]wFMCommunicate request_size=255 [15:52:11]MH_SAM_APDU [15:52:11]CAPDU: 80 0D 02 02 FA 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 B6 04 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 [15:52:11]Write to MH i2c: E2 02 01 49 3D 80 0D 02 02 FA 00 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 B6 04 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 00 2B [15:52:11]Write i2c OK [15:52:11]MH_I2C_Read... [15:52:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:11]Read from MH i2c: E2 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 03 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 03 00 49 3D 00 90 00 FA [15:52:11]RAPDU: 90 00 [15:52:11]wFMCommunicate OK [15:52:11]wFMCommunicate request_size=19 [15:52:11]MH_SAM_APDU [15:52:11]CAPDU: 80 0D 02 02 0E FF 93 00 00 35 04 06 00 B3 54 C7 15 A5 E5 [15:52:11]Write to MH i2c: E2 16 00 4A 3D 80 0D 02 02 0E 00 FF 93 00 00 35 04 06 00 B3 54 C7 15 A5 E5 00 00 5B [15:52:11]Write i2c OK [15:52:11]MH_I2C_Read... [15:52:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:52:11]Read from MH i2c: E2 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 03 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 03 00 4A 3D 00 90 00 FB [15:52:11]RAPDU: 90 00 [15:52:11]wFMCommunicate OK [15:52:11]wFMCommunicate request_size=4 [15:52:11]MH_SAM_APDU [15:52:11]CAPDU: 80 0D 03 02 [15:52:11]Write to MH i2c: E2 08 00 4B 3D 80 0D 03 02 00 00 00 00 03 [15:52:11]Write i2c OK [15:52:11]MH_I2C_Read... [15:52:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:52:11]Read from MH i2c: E2 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 0B 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 0B 00 4B 3D 00 9A E9 B4 99 CD 8E 5C C6 90 00 51 [15:52:11]RAPDU: 9A E9 B4 99 CD 8E 5C C6 90 00 [15:52:11]wFMCommunicate OK [15:52:11]SAM_PROTO_SignData done [15:52:11]FM_MakeSignedData done [15:52:11]CreateOFDProtocolMessage [15:52:11]wFMCommunicate request_size=4 [15:52:11]MH_SAM_APDU [15:52:11]CAPDU: 80 11 00 00 [15:52:11]Write to MH i2c: E2 08 00 4C 3D 80 11 00 00 00 00 00 00 03 [15:52:11]Write i2c OK [15:52:11]MH_I2C_Read... [15:52:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:11]Read from MH i2c: E2 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 17 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: E2 17 00 4C 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 53 [15:52:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:52:11]wFMCommunicate OK [15:52:11]CreateOFDProtocolMessage done [15:52:11]OFDSenderStorePacket 37887 [15:52:11]StoreOFDPacket docnum=37887 [15:52:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 02 00 00 31 0D 0A 02 A4 EA 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 B6 04 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FF 93 00 00 35 04 06 00 B3 54 C7 15 A5 E5 9A E9 B4 99 CD 8E 5C C6 [15:52:11]CheckFolder [15:52:11]dirname=/storage/ofd_packets [15:52:11]CheckFolder done [15:52:11]ProducePacketName [15:52:11]name=ofd_packets/00037887 [15:52:11]NVStorageSaveData ofd_packets/00037887 [15:52:11]File name is /storage/ofd_packets/00037887 [15:52:11]Write 560 bytes [15:52:11]NVStorageSaveData done [15:52:11]OFDSenderStorePacket done [15:52:11]KKMCreateOFDPacket done [15:52:11]NVStorageSaveData kkm_last_timestamp [15:52:11]File name is /storage/kkm_last_timestamp [15:52:11]Write 4 bytes [15:52:11]NVStorageSaveData done [15:52:11]ExternCall_PrintAddStr [15:52:11]wPrintStart [15:52:11]Write to MH i2c: 01 00 00 4D 3D 8A [15:52:11]Write i2c OK [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: 01 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: 01 07 00 [15:52:11]MH_I2C_Read... [15:52:11]Read from MH i2c: 01 07 00 4D 3D 00 00 00 00 00 FF 0F 9F [15:52:11]RasterBufferAndPrint [15:52:11]line Счет N : (3)35187 [15:52:11]line ИНН: 02508201610067 [15:52:11]line Контрольно-Кассовый Чек [15:52:11]line ПРОДАЖА [15:52:11]line Товар: 4700000481989 [15:52:11]line Напиток энерг Nitro киви-мангостин 0,45 [15:52:11]line 1.000 * 95.00 [15:52:11]line = 95.00 [15:52:11]line НДС 12% НСП 1% [15:52:11]line > о реализуемом товаре [15:52:11]line Товар: 4700000310043 [15:52:11]line Вода Жалалабат 27 1л [15:52:11]line 1.000 * 79.00 [15:52:11]line = 79.00 [15:52:11]line НДС 12% НСП 1% [15:52:11]line > о реализуемом товаре [15:52:11]line Товар: 4700000160181 [15:52:11]line Вода Байтик 1л [15:52:11]line 1.000 * 50.00 [15:52:11]line = 50.00 [15:52:11]line НДС 12% НСП 1% [15:52:11]line > о реализуемом товаре [15:52:11]line ИТОГО: 224.00 [15:52:11]line НСП 1% : 1.98 [15:52:11]line НДС 12% : 23.79 [15:52:11]line Наличными: 224.00 [15:52:11]line Безнал.: 0.00 [15:52:11]line Место: АЗС № 126 "Партнер Нефть" [15:52:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [15:52:11]line СНО: Общий режим [15:52:11]line Чек 49 29.10.2024 15:52 [15:52:11]line Смена: 552 ФФД: 1.0 [15:52:11]line ЗНМ: 0300000092 [15:52:11]line РНМ: 0000000000091684 [15:52:11]line Версия ККМ: 001 [15:52:11]line ФМ: 0000000000871841 [15:52:11]line ФД: 37887 [15:52:11]line ФПД: 197176698709477 [15:52:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T155222&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37887&fm=197176698709477&tin=02508201610067®Number=0000000000091684&sum=22400 [15:52:11]line 0 [15:52:11]OFD Sender: Processing packet 37887 [packets to send 42, broken 41] [15:52:11]ProducePacketName [15:52:11]name=ofd_packets/00037887 [15:52:11]OFD Sender: To server: pG, [15:52:11]CommunicateWithHost lk.salyk.kg:30040 [15:52:11]ConnectInit lk.salyk.kg [15:52:11]written 0, free lines is 4095 [15:52:12]Write to MH i2c: 01 00 00 82 3D BF [15:52:12]Write i2c OK [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: 01 [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: 01 07 00 [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: 01 07 00 82 3D 00 00 00 00 00 F9 0B CA [15:52:12]RasterBufferAndPrint [15:52:12]line [15:52:12]line [15:52:12]line [15:52:12]line [15:52:12]line [15:52:12]written 0, free lines is 3070 [15:52:12]MH_Cut [15:52:12]Write to MH i2c: D1 01 00 89 3D 01 98 [15:52:12]Write i2c OK [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: D1 [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: D1 01 00 [15:52:12]MH_I2C_Read... [15:52:12]Read from MH i2c: D1 01 00 89 3D 00 97 [15:52:12]Write to MH i2c: 01 00 00 8A 3D C7 [15:52:12]Write i2c OK [15:52:12]MH_I2C_Read... [15:52:13]*** Cut start [15:52:13]*** Partial cut [15:52:13]*** CUTSNS_PIN = 1 [15:52:13]*** CUTSNS_PIN = 0 [15:52:13]*** Brake cut motor [15:52:13]Read from MH i2c: 01 [15:52:13]MH_I2C_Read... [15:52:13]*** Stop cut motor [15:52:13]*** Cut end [15:52:13]Read from MH i2c: 01 07 00 [15:52:13]MH_I2C_Read... [15:52:13]Read from MH i2c: 01 07 00 8A 3D 00 00 00 00 00 FF 0F DC [15:52:13]process_action close_receipt done [15:52:13]requested_data is exist [15:52:13]produce_requested_data [15:52:13]requested_item fm.sn is exist - process it [15:52:13]wFMCommunicate request_size=4 [15:52:13]MH_SAM_APDU [15:52:13]CAPDU: 80 11 00 00 [15:52:13]Write to MH i2c: E2 08 00 8B 3D 80 11 00 00 00 00 00 00 42 [15:52:13]Write i2c OK [15:52:13]MH_I2C_Read... [15:52:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:52:14]Read from MH i2c: E2 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 17 00 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 17 00 8B 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 92 [15:52:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [15:52:14]wFMCommunicate OK [15:52:14]requested_item fd.num is exist - process it [15:52:14]SAM_PROTO_GetFieldsCounters [15:52:14]wFMCommunicate request_size=4 [15:52:14]MH_SAM_APDU [15:52:14]CAPDU: 80 13 00 00 [15:52:14]Write to MH i2c: E2 08 00 8C 3D 80 13 00 00 00 00 00 00 45 [15:52:14]Write i2c OK [15:52:14]MH_I2C_Read... [15:52:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:52:14]Read from MH i2c: E2 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 62 00 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 62 00 8C 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 B5 [15:52:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 FF 93 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [15:52:14]wFMCommunicate OK [15:52:14]SAM_PROTO_GetFieldsCounters done [15:52:14]requested_item shift.num is exist - process it [15:52:14]requested_item shift.opened is exist - process it [15:52:14]req_shift_opened [15:52:14]FM_GetShiftState [15:52:14]SAM_PROTO_GetShiftState [15:52:14]wFMCommunicate request_size=4 [15:52:14]MH_SAM_APDU [15:52:14]CAPDU: 80 13 01 00 [15:52:14]Write to MH i2c: E2 08 00 8D 3D 80 13 01 00 00 00 00 00 47 [15:52:14]Write i2c OK [15:52:14]MH_I2C_Read... [15:52:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:52:14]Read from MH i2c: E2 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 0E 00 [15:52:14]MH_I2C_Read... [15:52:14]Read from MH i2c: E2 0E 00 8D 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 BD [15:52:14]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [15:52:14]wFMCommunicate OK [15:52:14]SAM_PROTO_GetShiftState done [15:52:14]FM_GetShiftState done [15:52:14]req_shift_opened done [15:52:14]requested_item shift.open_date is exist - process it [15:52:14]req_shift_open_date [15:52:14]req_shift_open_date done [15:52:14]produce_requested_data done [15:52:14]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37887,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [15:52:14]process_action_free close_receipt [15:52:14]json_value_free [15:52:14]json_value_free done [15:52:14]process_json_proto returns [15:52:14]Send response to host [15:52:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37887,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [15:52:14]free response buf [15:52:14]execute_script done [15:52:14]execute_script returns [15:52:14]free content buf [15:52:14]Sock 7.Close socket [15:52:14]Sock 7.Thread stoped [15:54:21]ConnectInit Can't connect to host [15:54:21]CommunicateWithHost connect error [15:54:21]CommunicateWithHost err = -1 [15:54:21]OFD Sender: Server communicate error [15:54:26]OFD Sender: Processing packet 37887 [packets to send 42, broken 41] [15:54:26]ProducePacketName [15:54:26]name=ofd_packets/00037887 [15:54:26]OFD Sender: To server: pG, [15:54:26]CommunicateWithHost lk.salyk.kg:30040 [15:54:26]ConnectInit lk.salyk.kg [15:54:27]Connected sock=7 [15:54:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 12 02 00 00 31 0D 0A 02 A4 EA 5A 03 01 00 03 00 FE 01 1E 04 01 00 01 23 04 85 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 38 39 06 04 41 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BA D0 B8 D0 B2 D0 B8 2D D0 BC D0 B0 D0 BD D0 B3 D0 BE D1 81 D1 82 D0 B8 D0 BD 20 30 2C 34 35 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 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 5D 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 38 31 06 04 19 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C6 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 4B 09 00 00 00 00 07 04 06 00 80 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 B6 04 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FF 93 00 00 35 04 06 00 B3 54 C7 15 A5 E5 9A E9 B4 99 CD 8E 5C C6 [15:54:27]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 7B 1E 47 00 4D FE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 FF 93 00 00 F4 03 04 00 2F B0 20 67 B6 04 01 00 00 AC 69 C2 C0 1F 1E 07 09 [15:54:27]CommunicateWithHost err = 0 [15:54:27]CheckOFDResponse [15:54:27]1017 (14) - 77093643461234 [15:54:27]1041 (16) - 0000000000871841 [15:54:27]1040 (4) - 37887 [15:54:27]1012 (4) - 29.10.2024 09:51 [15:54:27]1206 (1) - 0 [15:54:27]OFD Sender: Remove packet 37887 [15:54:27]ProducePacketName [15:54:27]name=ofd_packets/00037887 [15:54:27]NVStorageDeleteData [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [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:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:37]accept exits with 9 [16:00:37]New connection [16:00:37]New thread 3067297124 created [16:00:37]Thread 3067440484 joined [16:00:37]Waiting for new connection... [16:00:37] Sock 9.Parse request [16:00:37]Sock 9.Check first char [16:00:37]Sock 9.First char is OK [16:00:37]request: POST /json_proto HTTP/1.0 [16:00:37]Method: POST [16:00:37]URL: /json_proto [16:00:37]Method is POST - this is cgi request [16:00:37]url: /json_proto [16:00:37]query_string will be loaded in cgi processing [16:00:37]execute_cgi json_proto POST (null) [16:00:37]execute_cgi path=json_proto method=POST [16:00:37]POST find Content-Length [16:00:37]Host: 172.17.40.196:8080 [16:00:37]Content-Length: 778 [16:00:37]Content-Type: application/json [16:00:37] [16:00:37]POST finish read [16:00:37]Found Content-Length = 778 [16:00:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35188", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:37]execute_script... [16:00: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)35188", "tax_sys" : 0, "items" : [ { "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:00:37]POST & json_proto [16:00:37]process_json_proto [16:00:37]json parsed OK: [16:00:37]protocol is kg_v1.0 [16:00:37]action value=close_receipt [16:00:37]process_action close_receipt [16:00:37]cmd_close_receipt [16:00:37]MH_GetDate [16:00:37]Write to MH i2c: F0 00 00 8E 3D BA [16:00:37]Write i2c OK [16:00:37]MH_I2C_Read... [16:00:37]Read from MH i2c: F0 [16:00:37]MH_I2C_Read... [16:00:37]Read from MH i2c: F0 09 00 [16:00:37]MH_I2C_Read... [16:00:37]Read from MH i2c: F0 09 00 8E 3D 00 B3 06 21 67 5B 68 A1 66 CE [16:00:37]GetLastDocTimeStamp 1730217142 [16:00:37]current date 1730217651 [16:00:37]FM_GetShiftState [16:00:37]SAM_PROTO_GetShiftState [16:00:37]wFMCommunicate request_size=4 [16:00:37]MH_SAM_APDU [16:00:37]CAPDU: 80 13 01 00 [16:00:37]Write to MH i2c: E2 08 00 8F 3D 80 13 01 00 00 00 00 00 49 [16:00:37]Write i2c OK [16:00:37]MH_I2C_Read... [16:00:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:37]Read from MH i2c: E2 [16:00:37]MH_I2C_Read... [16:00:37]Read from MH i2c: E2 0E 00 [16:00:37]MH_I2C_Read... [16:00:37]Read from MH i2c: E2 0E 00 8F 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 BF [16:00:37]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:00:37]wFMCommunicate OK [16:00:37]SAM_PROTO_GetShiftState done [16:00:37]FM_GetShiftState done [16:00:37]opened in 1730160317 [16:00:37]opened+sec_in_day 1730246717 [16:00:37]quantity*price = 12500 [16:00:37]sum+1 = 12501 [16:00:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 0.00 Безнал.: 125.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 50 29.10.2024 16:00 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37888 ФПД: 183320850092199 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160051&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37888&fm=183320850092199&tin=02508201610067®Number=0000000000091684&sum=12500 0 [16:00:38]StoreToDocumentArchive [16:00:38]shift 552 fd 37888 [16:00:38]save to /storage/0552/doc_00037888 [16:00:38]save last doc name /storage/0552/doc_00037888 to /storage/kkm_last_doc_name [16:00:38]save OK [16:00:38]Clear old archive folders... [16:00:38]ProcessDocumentItem done err = 0, tmpTLVsize=284 [16:00:38]tlvbuf is 0037E940 [16:00:38]SAM_PROTO_ClearQueue [16:00:38]wFMCommunicate request_size=4 [16:00:38]MH_SAM_APDU [16:00:38]CAPDU: 80 09 00 00 [16:00:38]Write to MH i2c: E2 08 00 9C 3D 80 09 00 00 00 00 00 00 4B [16:00:38]Write i2c OK [16:00:38]MH_I2C_Read... [16:00:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:00:38]Read from MH i2c: E2 [16:00:38]MH_I2C_Read... [16:00:38]Read from MH i2c: E2 03 00 [16:00:38]MH_I2C_Read... [16:00:38]Read from MH i2c: E2 03 00 9C 3D 00 90 00 4D [16:00:38]RAPDU: 90 00 [16:00:38]wFMCommunicate OK [16:00:38]SAM_PROTO_ClearQueue done [16:00:38]KKMCreateOFDPacket [16:00:38]OFDProtocolAddRootSTLVToBuf [16:00:38]FM_MakeSignedData [16:00:38]FM_MakeSignedData [16:00:38]SAM_PROTO_SignData [16:00:38]wFMCommunicate request_size=4 [16:00:38]MH_SAM_APDU [16:00:38]CAPDU: 80 0D 01 02 [16:00:38]Write to MH i2c: E2 08 00 9D 3D 80 0D 01 02 00 00 00 00 53 [16:00:38]Write i2c OK [16:00:38]MH_I2C_Read... [16:00:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:00:38]Read from MH i2c: E2 [16:00:38]MH_I2C_Read... [16:00:38]Read from MH i2c: E2 03 00 [16:00:38]MH_I2C_Read... [16:00:38]Read from MH i2c: E2 03 00 9D 3D 00 90 00 4E [16:00:38]RAPDU: 90 00 [16:00:38]wFMCommunicate OK [16:00:38]wFMCommunicate request_size=255 [16:00:38]MH_SAM_APDU [16:00:38]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 B3 06 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [16:00:38]Write to MH i2c: E2 02 01 9E 3D 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 B3 06 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 95 [16:00:38]Write i2c OK [16:00:38]MH_I2C_Read... [16:00:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:39]Read from MH i2c: E2 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 03 00 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 03 00 9E 3D 00 90 00 4F [16:00:39]RAPDU: 90 00 [16:00:39]wFMCommunicate OK [16:00:39]wFMCommunicate request_size=43 [16:00:39]MH_SAM_APDU [16:00:39]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 94 00 00 35 04 06 00 A6 BA B6 26 50 A7 [16:00:39]Write to MH i2c: E2 2E 00 9F 3D 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 94 00 00 35 04 06 00 A6 BA B6 26 50 A7 00 00 02 [16:00:39]Write i2c OK [16:00:39]MH_I2C_Read... [16:00:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:00:39]Read from MH i2c: E2 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 03 00 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 03 00 9F 3D 00 90 00 50 [16:00:39]RAPDU: 90 00 [16:00:39]wFMCommunicate OK [16:00:39]wFMCommunicate request_size=4 [16:00:39]MH_SAM_APDU [16:00:39]CAPDU: 80 0D 03 02 [16:00:39]Write to MH i2c: E2 08 00 A0 3D 80 0D 03 02 00 00 00 00 58 [16:00:39]Write i2c OK [16:00:39]MH_I2C_Read... [16:00:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:00:39]Read from MH i2c: E2 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 0B 00 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 0B 00 A0 3D 00 F9 2A CC F0 6F F7 EB C5 90 00 4E [16:00:39]RAPDU: F9 2A CC F0 6F F7 EB C5 90 00 [16:00:39]wFMCommunicate OK [16:00:39]SAM_PROTO_SignData done [16:00:39]FM_MakeSignedData done [16:00:39]CreateOFDProtocolMessage [16:00:39]wFMCommunicate request_size=4 [16:00:39]MH_SAM_APDU [16:00:39]CAPDU: 80 11 00 00 [16:00:39]Write to MH i2c: E2 08 00 A1 3D 80 11 00 00 00 00 00 00 58 [16:00:39]Write i2c OK [16:00:39]MH_I2C_Read... [16:00:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:39]Read from MH i2c: E2 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 17 00 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: E2 17 00 A1 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A8 [16:00:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:00:39]wFMCommunicate OK [16:00:39]CreateOFDProtocolMessage done [16:00:39]OFDSenderStorePacket 37888 [16:00:39]StoreOFDPacket docnum=37888 [16:00:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 30 01 00 00 BF 51 28 01 49 D7 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 B3 06 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 94 00 00 35 04 06 00 A6 BA B6 26 50 A7 F9 2A CC F0 6F F7 EB C5 [16:00:39]CheckFolder [16:00:39]dirname=/storage/ofd_packets [16:00:39]CheckFolder done [16:00:39]ProducePacketName [16:00:39]name=ofd_packets/00037888 [16:00:39]NVStorageSaveData ofd_packets/00037888 [16:00:39]File name is /storage/ofd_packets/00037888 [16:00:39]Write 334 bytes [16:00:39]NVStorageSaveData done [16:00:39]OFDSenderStorePacket done [16:00:39]KKMCreateOFDPacket done [16:00:39]NVStorageSaveData kkm_last_timestamp [16:00:39]File name is /storage/kkm_last_timestamp [16:00:39]Write 4 bytes [16:00:39]NVStorageSaveData done [16:00:39]ExternCall_PrintAddStr [16:00:39]wPrintStart [16:00:39]Write to MH i2c: 01 00 00 A2 3D DF [16:00:39]Write i2c OK [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: 01 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: 01 07 00 [16:00:39]MH_I2C_Read... [16:00:39]Read from MH i2c: 01 07 00 A2 3D 00 00 00 00 00 FF 0F F4 [16:00:39]RasterBufferAndPrint [16:00:39]line Счет N : (3)35188 [16:00:39]line ИНН: 02508201610067 [16:00:39]line Контрольно-Кассовый Чек [16:00:39]line ПРОДАЖА [16:00:39]line Товар: 2000036190018 [16:00:39]line Кофе Американо XL(GABB TRADE) [16:00:39]line 1.000 * 125.00 [16:00:39]line = 125.00 [16:00:39]line НДС 12% НСП 1% [16:00:39]line > о реализуемом товаре [16:00:39]line ИТОГО: 125.00 [16:00:39]line НСП 1% : 1.11 [16:00:39]line НДС 12% : 13.27 [16:00:39]line Наличными: 0.00 [16:00:39]line Безнал.: 125.00 [16:00:39]line Место: АЗС № 126 "Партнер Нефть" [16:00:39]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:00:39]line СНО: Общий режим [16:00:39]line Чек 50 29.10.2024 16:00 [16:00:39]line Смена: 552 ФФД: 1.0 [16:00:39]line ЗНМ: 0300000092 [16:00:39]line РНМ: 0000000000091684 [16:00:39]line Версия ККМ: 001 [16:00:39]line Платежная система: Mbank [16:00:39]line ФМ: 0000000000871841 [16:00:39]line ФД: 37888 [16:00:39]line ФПД: 183320850092199 [16:00:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160051&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37888&fm=183320850092199&tin=02508201610067®Number=0000000000091684&sum=12500 [16:00:39]line 0 [16:00:39]OFD Sender: Processing packet 37888 [packets to send 42, broken 41] [16:00:39]ProducePacketName [16:00:39]name=ofd_packets/00037888 [16:00:39]OFD Sender: To server: pG, [16:00:39]CommunicateWithHost lk.salyk.kg:30040 [16:00:39]ConnectInit lk.salyk.kg [16:00:39]written 0, free lines is 4095 [16:00:40]Connected sock=10 [16:00:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 30 01 00 00 BF 51 28 01 49 D7 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D4 30 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 32 00 00 00 F4 03 04 00 B3 06 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 94 00 00 35 04 06 00 A6 BA B6 26 50 A7 F9 2A CC F0 6F F7 EB C5 [16:00:40]Write to MH i2c: 01 00 00 CC 3D 09 [16:00:40]Write i2c OK [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: 01 [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: 01 07 00 [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: 01 07 00 CC 3D 00 00 00 00 00 AC 0C C8 [16:00:40]RasterBufferAndPrint [16:00:40]line [16:00:40]line [16:00:40]line [16:00:40]line [16:00:40]line [16:00:40]written 0, free lines is 3249 [16:00:40]MH_Cut [16:00:40]Write to MH i2c: D1 01 00 D3 3D 01 E2 [16:00:40]Write i2c OK [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: D1 [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: D1 01 00 [16:00:40]MH_I2C_Read... [16:00:40]Read from MH i2c: D1 01 00 D3 3D 00 E1 [16:00:40]Write to MH i2c: 01 00 00 D4 3D 11 [16:00:40]Write i2c OK [16:00:40]MH_I2C_Read... [16:00:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 29 E6 47 00 E1 46 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 00 94 00 00 F4 03 04 00 A4 B1 20 67 B6 04 01 00 00 D2 2B EB EF 78 7A 5C AB [16:00:40]CommunicateWithHost err = 0 [16:00:40]CheckOFDResponse [16:00:40]1017 (14) - 77093643461234 [16:00:40]1041 (16) - 0000000000871841 [16:00:40]1040 (4) - 37888 [16:00:40]1012 (4) - 29.10.2024 09:57 [16:00:40]1206 (1) - 0 [16:00:40]OFD Sender: Remove packet 37888 [16:00:40]ProducePacketName [16:00:40]name=ofd_packets/00037888 [16:00:40]NVStorageDeleteData [16:00:41]OFD Sender: No OFD packet to send [16:00:41]*** Cut start [16:00:41]*** Partial cut [16:00:41]*** CUTSNS_PIN = 1 [16:00:41]*** CUTSNS_PIN = 0 [16:00:41]*** Brake cut motor [16:00:41]Read from MH i2c: 01 [16:00:41]MH_I2C_Read... [16:00:41]*** Stop cut motor [16:00:41]*** Cut end [16:00:41]Read from MH i2c: 01 07 00 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: 01 07 00 D4 3D 00 00 00 00 00 FF 0F 26 [16:00:41]process_action close_receipt done [16:00:41]requested_data is exist [16:00:41]produce_requested_data [16:00:41]requested_item fm.sn is exist - process it [16:00:41]wFMCommunicate request_size=4 [16:00:41]MH_SAM_APDU [16:00:41]CAPDU: 80 11 00 00 [16:00:41]Write to MH i2c: E2 08 00 D5 3D 80 11 00 00 00 00 00 00 8C [16:00:41]Write i2c OK [16:00:41]MH_I2C_Read... [16:00:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:00:41]Read from MH i2c: E2 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 17 00 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 17 00 D5 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DC [16:00:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:00:41]wFMCommunicate OK [16:00:41]requested_item fd.num is exist - process it [16:00:41]SAM_PROTO_GetFieldsCounters [16:00:41]wFMCommunicate request_size=4 [16:00:41]MH_SAM_APDU [16:00:41]CAPDU: 80 13 00 00 [16:00:41]Write to MH i2c: E2 08 00 D6 3D 80 13 00 00 00 00 00 00 8F [16:00:41]Write i2c OK [16:00:41]MH_I2C_Read... [16:00:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:00:41]Read from MH i2c: E2 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 62 00 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 62 00 D6 3D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 00 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 04 [16:00:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 00 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:00:41]wFMCommunicate OK [16:00:41]SAM_PROTO_GetFieldsCounters done [16:00:41]requested_item shift.num is exist - process it [16:00:41]requested_item shift.opened is exist - process it [16:00:41]req_shift_opened [16:00:41]FM_GetShiftState [16:00:41]SAM_PROTO_GetShiftState [16:00:41]wFMCommunicate request_size=4 [16:00:41]MH_SAM_APDU [16:00:41]CAPDU: 80 13 01 00 [16:00:41]Write to MH i2c: E2 08 00 D7 3D 80 13 01 00 00 00 00 00 91 [16:00:41]Write i2c OK [16:00:41]MH_I2C_Read... [16:00:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:00:41]Read from MH i2c: E2 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 0E 00 [16:00:41]MH_I2C_Read... [16:00:41]Read from MH i2c: E2 0E 00 D7 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 07 [16:00:41]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:00:41]wFMCommunicate OK [16:00:41]SAM_PROTO_GetShiftState done [16:00:41]FM_GetShiftState done [16:00:41]req_shift_opened done [16:00:41]requested_item shift.open_date is exist - process it [16:00:41]req_shift_open_date [16:00:41]req_shift_open_date done [16:00:41]produce_requested_data done [16:00:41]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37888,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:00:41]process_action_free close_receipt [16:00:41]json_value_free [16:00:41]json_value_free done [16:00:41]process_json_proto returns [16:00:41]Send response to host [16:00:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37888,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:00:41]free response buf [16:00:41]execute_script done [16:00:41]execute_script returns [16:00:41]free content buf [16:00:41]Sock 9.Close socket [16:00:41]Sock 9.Thread stoped [16:00:46]OFD Sender: No OFD packet to send [16:00:51]OFD Sender: No OFD packet to send [16:00:56]OFD Sender: No OFD packet to send [16:01:01]OFD Sender: No OFD packet to send [16:01:06]OFD Sender: No OFD packet to send [16:01:11]OFD Sender: No OFD packet to send [16:01:16]OFD Sender: No OFD packet to send [16:01:21]OFD Sender: No OFD packet to send [16:01:26]OFD Sender: No OFD packet to send [16:01:31]OFD Sender: No OFD packet to send [16:01:36]OFD Sender: No OFD packet to send [16:01:41]OFD Sender: No OFD packet to send [16:01:46]OFD Sender: No OFD packet to send [16:01:51]OFD Sender: No OFD packet to send [16:01:56]OFD Sender: No OFD packet to send [16:02:01]OFD Sender: No OFD packet to send [16:02:06]OFD Sender: No OFD packet to send [16:02:11]OFD Sender: No OFD packet to send [16:02:16]OFD Sender: No OFD packet to send [16:02:21]OFD Sender: No OFD packet to send [16:02:26]OFD Sender: No OFD packet to send [16:02:31]OFD Sender: No OFD packet to send [16:02:36]OFD Sender: No OFD packet to send [16:02:41]OFD Sender: No OFD packet to send [16:02:46]OFD Sender: No OFD packet to send [16:02:51]OFD Sender: No OFD packet to send [16:02:53]accept exits with 7 [16:02:53]New connection [16:02:53]New thread 3067440484 created [16:02:53]Thread 3067297124 joined [16:02:53]Waiting for new connection... [16:02:53] Sock 7.Parse request [16:02:53]Sock 7.Check first char [16:02:53]Sock 7.First char is OK [16:02:53]request: POST /json_proto HTTP/1.0 [16:02:53]Method: POST [16:02:53]URL: /json_proto [16:02:53]Method is POST - this is cgi request [16:02:53]url: /json_proto [16:02:53]query_string will be loaded in cgi processing [16:02:53]execute_cgi json_proto POST (null) [16:02:53]execute_cgi path=json_proto method=POST [16:02:53]POST find Content-Length [16:02:53]Host: 172.17.40.196:8080 [16:02:53]Content-Length: 613 [16:02:53]Content-Type: application/json [16:02:53] [16:02:53]POST finish read [16:02:53]Found Content-Length = 613 [16:02:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35189", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:53]execute_script... [16:02: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)35189", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:02:53]POST & json_proto [16:02:53]process_json_proto [16:02:53]json parsed OK: [16:02:53]protocol is kg_v1.0 [16:02:53]action value=close_receipt [16:02:53]process_action close_receipt [16:02:53]cmd_close_receipt [16:02:53]MH_GetDate [16:02:53]Write to MH i2c: F0 00 00 D8 3D 04 [16:02:53]Write i2c OK [16:02:53]MH_I2C_Read... [16:02:53]Read from MH i2c: F0 [16:02:53]MH_I2C_Read... [16:02:53]Read from MH i2c: F0 09 00 [16:02:53]MH_I2C_Read... [16:02:53]Read from MH i2c: F0 09 00 D8 3D 00 3B 07 21 67 5B 68 A1 66 A1 [16:02:53]GetLastDocTimeStamp 1730217651 [16:02:53]current date 1730217787 [16:02:53]FM_GetShiftState [16:02:53]SAM_PROTO_GetShiftState [16:02:53]wFMCommunicate request_size=4 [16:02:53]MH_SAM_APDU [16:02:53]CAPDU: 80 13 01 00 [16:02:53]Write to MH i2c: E2 08 00 D9 3D 80 13 01 00 00 00 00 00 93 [16:02:53]Write i2c OK [16:02:53]MH_I2C_Read... [16:02:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:53]Read from MH i2c: E2 [16:02:53]MH_I2C_Read... [16:02:53]Read from MH i2c: E2 0E 00 [16:02:53]MH_I2C_Read... [16:02:53]Read from MH i2c: E2 0E 00 D9 3D 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 09 [16:02:53]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:02:53]wFMCommunicate OK [16:02:53]SAM_PROTO_GetShiftState done [16:02:53]FM_GetShiftState done [16:02:53]opened in 1730160317 [16:02:53]opened+sec_in_day 1730246717 [16:02:53]quantity*price = 11900 [16:02:53]sum+1 = 11901 [16:02:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 51 29.10.2024 16:03 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37889 ФПД: 72276158618647 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160307&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37889&fm=72276158618647&tin=02508201610067®Number=0000000000091684&sum=11900 0 [16:02:54]StoreToDocumentArchive [16:02:54]shift 552 fd 37889 [16:02:54]save to /storage/0552/doc_00037889 [16:02:54]save last doc name /storage/0552/doc_00037889 to /storage/kkm_last_doc_name [16:02:54]save OK [16:02:54]Clear old archive folders... [16:02:54]ProcessDocumentItem done err = 0, tmpTLVsize=266 [16:02:54]tlvbuf is 00314250 [16:02:54]SAM_PROTO_ClearQueue [16:02:54]wFMCommunicate request_size=4 [16:02:54]MH_SAM_APDU [16:02:54]CAPDU: 80 09 00 00 [16:02:54]Write to MH i2c: E2 08 00 E6 3D 80 09 00 00 00 00 00 00 95 [16:02:54]Write i2c OK [16:02:54]MH_I2C_Read... [16:02:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:02:54]Read from MH i2c: E2 [16:02:54]MH_I2C_Read... [16:02:54]Read from MH i2c: E2 03 00 [16:02:54]MH_I2C_Read... [16:02:54]Read from MH i2c: E2 03 00 E6 3D 00 90 00 97 [16:02:54]RAPDU: 90 00 [16:02:54]wFMCommunicate OK [16:02:54]SAM_PROTO_ClearQueue done [16:02:54]KKMCreateOFDPacket [16:02:54]OFDProtocolAddRootSTLVToBuf [16:02:54]FM_MakeSignedData [16:02:54]FM_MakeSignedData [16:02:54]SAM_PROTO_SignData [16:02:54]wFMCommunicate request_size=4 [16:02:54]MH_SAM_APDU [16:02:54]CAPDU: 80 0D 01 02 [16:02:54]Write to MH i2c: E2 08 00 E7 3D 80 0D 01 02 00 00 00 00 9D [16:02:54]Write i2c OK [16:02:54]MH_I2C_Read... [16:02:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:02:54]Read from MH i2c: E2 [16:02:54]MH_I2C_Read... [16:02:54]Read from MH i2c: E2 03 00 [16:02:54]MH_I2C_Read... [16:02:54]Read from MH i2c: E2 03 00 E7 3D 00 90 00 98 [16:02:54]RAPDU: 90 00 [16:02:54]wFMCommunicate OK [16:02:54]wFMCommunicate request_size=255 [16:02:54]MH_SAM_APDU [16:02:54]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 3B 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [16:02:54]Write to MH i2c: E2 02 01 E8 3D 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 3B 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 C6 [16:02:54]Write i2c OK [16:02:54]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 03 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 03 00 E8 3D 00 90 00 99 [16:02:55]RAPDU: 90 00 [16:02:55]wFMCommunicate OK [16:02:55]wFMCommunicate request_size=25 [16:02:55]MH_SAM_APDU [16:02:55]CAPDU: 80 0D 02 02 14 34 31 10 04 04 00 01 94 00 00 35 04 06 00 41 BC 1A C2 9C 17 [16:02:55]Write to MH i2c: E2 1C 00 E9 3D 80 0D 02 02 14 00 34 31 10 04 04 00 01 94 00 00 35 04 06 00 41 BC 1A C2 9C 17 00 00 A5 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 03 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 03 00 E9 3D 00 90 00 9A [16:02:55]RAPDU: 90 00 [16:02:55]wFMCommunicate OK [16:02:55]wFMCommunicate request_size=4 [16:02:55]MH_SAM_APDU [16:02:55]CAPDU: 80 0D 03 02 [16:02:55]Write to MH i2c: E2 08 00 EA 3D 80 0D 03 02 00 00 00 00 A2 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0B 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 0B 00 EA 3D 00 8B CA 93 C1 A6 F5 60 75 90 00 BC [16:02:55]RAPDU: 8B CA 93 C1 A6 F5 60 75 90 00 [16:02:55]wFMCommunicate OK [16:02:55]SAM_PROTO_SignData done [16:02:55]FM_MakeSignedData done [16:02:55]CreateOFDProtocolMessage [16:02:55]wFMCommunicate request_size=4 [16:02:55]MH_SAM_APDU [16:02:55]CAPDU: 80 11 00 00 [16:02:55]Write to MH i2c: E2 08 00 EB 3D 80 11 00 00 00 00 00 00 A2 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:55]Read from MH i2c: E2 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 17 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: E2 17 00 EB 3D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F2 [16:02:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:02:55]wFMCommunicate OK [16:02:55]CreateOFDProtocolMessage done [16:02:55]OFDSenderStorePacket 37889 [16:02:55]StoreOFDPacket docnum=37889 [16:02:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 9A 8B 16 01 5B C4 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 3B 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 01 94 00 00 35 04 06 00 41 BC 1A C2 9C 17 8B CA 93 C1 A6 F5 60 75 [16:02:55]CheckFolder [16:02:55]dirname=/storage/ofd_packets [16:02:55]CheckFolder done [16:02:55]ProducePacketName [16:02:55]name=ofd_packets/00037889 [16:02:55]NVStorageSaveData ofd_packets/00037889 [16:02:55]File name is /storage/ofd_packets/00037889 [16:02:55]Write 316 bytes [16:02:55]NVStorageSaveData done [16:02:55]OFDSenderStorePacket done [16:02:55]KKMCreateOFDPacket done [16:02:55]NVStorageSaveData kkm_last_timestamp [16:02:55]File name is /storage/kkm_last_timestamp [16:02:55]Write 4 bytes [16:02:55]NVStorageSaveData done [16:02:55]ExternCall_PrintAddStr [16:02:55]wPrintStart [16:02:55]Write to MH i2c: 01 00 00 EC 3D 29 [16:02:55]Write i2c OK [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: 01 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: 01 07 00 [16:02:55]MH_I2C_Read... [16:02:55]Read from MH i2c: 01 07 00 EC 3D 00 00 00 00 00 FF 0F 3E [16:02:55]RasterBufferAndPrint [16:02:55]line Счет N : (3)35189 [16:02:55]line ИНН: 02508201610067 [16:02:55]line Контрольно-Кассовый Чек [16:02:55]line ПРОДАЖА [16:02:55]line Товар: 4870001570071 [16:02:55]line Напиток Pepsi 1л [16:02:55]line 1.000 * 119.00 [16:02:55]line = 119.00 [16:02:55]line НДС 12% НСП 1% [16:02:55]line > о реализуемом товаре [16:02:55]line ИТОГО: 119.00 [16:02:55]line НСП 1% : 1.05 [16:02:55]line НДС 12% : 12.64 [16:02:55]line Наличными: 119.00 [16:02:55]line Безнал.: 0.00 [16:02:55]line Место: АЗС № 126 "Партнер Нефть" [16:02:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:02:55]line СНО: Общий режим [16:02:55]line Чек 51 29.10.2024 16:03 [16:02:55]line Смена: 552 ФФД: 1.0 [16:02:55]line ЗНМ: 0300000092 [16:02:55]line РНМ: 0000000000091684 [16:02:55]line Версия ККМ: 001 [16:02:55]line ФМ: 0000000000871841 [16:02:55]line ФД: 37889 [16:02:55]line ФПД: 72276158618647 [16:02:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160307&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37889&fm=72276158618647&tin=02508201610067®Number=0000000000091684&sum=11900 [16:02:55]line 0 [16:02:55]OFD Sender: Processing packet 37889 [packets to send 42, broken 41] [16:02:55]ProducePacketName [16:02:55]name=ofd_packets/00037889 [16:02:55]OFD Sender: To server: pG, [16:02:55]CommunicateWithHost lk.salyk.kg:30040 [16:02:55]ConnectInit lk.salyk.kg [16:02:55]written 0, free lines is 4095 [16:02:56]Write to MH i2c: 01 00 00 14 3E 52 [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: 01 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: 01 07 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: 01 07 00 14 3E 00 00 00 00 00 D1 0C 36 [16:02:56]RasterBufferAndPrint [16:02:56]line [16:02:56]line [16:02:56]line [16:02:56]line [16:02:56]line [16:02:56]written 0, free lines is 3287 [16:02:56]Connected sock=10 [16:02:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 9A 8B 16 01 5B C4 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 33 00 00 00 F4 03 04 00 3B 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 01 94 00 00 35 04 06 00 41 BC 1A C2 9C 17 8B CA 93 C1 A6 F5 60 75 [16:02:56]MH_Cut [16:02:56]Write to MH i2c: D1 01 00 1B 3E 01 2B [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: D1 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: D1 01 00 [16:02:56]MH_I2C_Read... [16:02:56]Read from MH i2c: D1 01 00 1B 3E 00 2A [16:02:56]Write to MH i2c: 01 00 00 1C 3E 5A [16:02:56]Write i2c OK [16:02:56]MH_I2C_Read... [16:02:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 B1 B8 47 00 29 12 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 01 94 00 00 F4 03 04 00 2C B2 20 67 B6 04 01 00 00 DA B7 74 26 16 2C B4 AF [16:02:56]CommunicateWithHost err = 0 [16:02:56]CheckOFDResponse [16:02:56]1017 (14) - 77093643461234 [16:02:56]1041 (16) - 0000000000871841 [16:02:56]1040 (4) - 37889 [16:02:56]1012 (4) - 29.10.2024 10:00 [16:02:56]1206 (1) - 0 [16:02:56]OFD Sender: Remove packet 37889 [16:02:56]ProducePacketName [16:02:56]name=ofd_packets/00037889 [16:02:56]NVStorageDeleteData [16:02:56]*** Cut start [16:02:56]*** Partial cut [16:02:56]*** CUTSNS_PIN = 1 [16:02:56]*** CUTSNS_PIN = 0 [16:02:57]OFD Sender: No OFD packet to send [16:02:57]*** Brake cut motor [16:02:57]Read from MH i2c: 01 [16:02:57]MH_I2C_Read... [16:02:57]*** Stop cut motor [16:02:57]*** Cut end [16:02:57]Read from MH i2c: 01 07 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: 01 07 00 1C 3E 00 00 00 00 00 FF 0F 6F [16:02:57]process_action close_receipt done [16:02:57]requested_data is exist [16:02:57]produce_requested_data [16:02:57]requested_item fm.sn is exist - process it [16:02:57]wFMCommunicate request_size=4 [16:02:57]MH_SAM_APDU [16:02:57]CAPDU: 80 11 00 00 [16:02:57]Write to MH i2c: E2 08 00 1D 3E 80 11 00 00 00 00 00 00 D5 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 17 00 1D 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 25 [16:02:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:02:57]wFMCommunicate OK [16:02:57]requested_item fd.num is exist - process it [16:02:57]SAM_PROTO_GetFieldsCounters [16:02:57]wFMCommunicate request_size=4 [16:02:57]MH_SAM_APDU [16:02:57]CAPDU: 80 13 00 00 [16:02:57]Write to MH i2c: E2 08 00 1E 3E 80 13 00 00 00 00 00 00 D8 [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 62 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 62 00 1E 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 01 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 51 [16:02:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 01 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:02:57]wFMCommunicate OK [16:02:57]SAM_PROTO_GetFieldsCounters done [16:02:57]requested_item shift.num is exist - process it [16:02:57]requested_item shift.opened is exist - process it [16:02:57]req_shift_opened [16:02:57]FM_GetShiftState [16:02:57]SAM_PROTO_GetShiftState [16:02:57]wFMCommunicate request_size=4 [16:02:57]MH_SAM_APDU [16:02:57]CAPDU: 80 13 01 00 [16:02:57]Write to MH i2c: E2 08 00 1F 3E 80 13 01 00 00 00 00 00 DA [16:02:57]Write i2c OK [16:02:57]MH_I2C_Read... [16:02:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:02:57]Read from MH i2c: E2 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 0E 00 [16:02:57]MH_I2C_Read... [16:02:57]Read from MH i2c: E2 0E 00 1F 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 50 [16:02:57]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:02:57]wFMCommunicate OK [16:02:57]SAM_PROTO_GetShiftState done [16:02:57]FM_GetShiftState done [16:02:57]req_shift_opened done [16:02:57]requested_item shift.open_date is exist - process it [16:02:57]req_shift_open_date [16:02:57]req_shift_open_date done [16:02:57]produce_requested_data done [16:02:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37889,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:02:57]process_action_free close_receipt [16:02:57]json_value_free [16:02:57]json_value_free done [16:02:57]process_json_proto returns [16:02:57]Send response to host [16:02:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37889,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:02:57]free response buf [16:02:57]execute_script done [16:02:57]execute_script returns [16:02:57]free content buf [16:02:57]Sock 7.Close socket [16:02:57]Sock 7.Thread stoped [16:03:02]OFD Sender: No OFD packet to send [16:03:07]OFD Sender: No OFD packet to send [16:03:12]OFD Sender: No OFD packet to send [16:03:17]OFD Sender: No OFD packet to send [16:03:22]OFD Sender: No OFD packet to send [16:03:27]OFD Sender: No OFD packet to send [16:03:32]OFD Sender: No OFD packet to send [16:03:37]OFD Sender: No OFD packet to send [16:03:42]OFD Sender: No OFD packet to send [16:03:47]OFD Sender: No OFD packet to send [16:03:52]OFD Sender: No OFD packet to send [16:03:56]accept exits with 9 [16:03:56]New connection [16:03:56]New thread 3067297124 created [16:03:56]Thread 3067440484 joined [16:03:56]Waiting for new connection... [16:03:56] Sock 9.Parse request [16:03:56]Sock 9.Check first char [16:03:56]Sock 9.First char is OK [16:03:56]request: POST /json_proto HTTP/1.0 [16:03:56]Method: POST [16:03:56]URL: /json_proto [16:03:56]Method is POST - this is cgi request [16:03:56]url: /json_proto [16:03:56]query_string will be loaded in cgi processing [16:03:56]execute_cgi json_proto POST (null) [16:03:56]execute_cgi path=json_proto method=POST [16:03:56]POST find Content-Length [16:03:56]Host: 172.17.40.196:8080 [16:03:56]Content-Length: 874 [16:03:56]Content-Type: application/json [16:03:56] [16:03:56]POST finish read [16:03:56]Found Content-Length = 874 [16:03:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35190", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:56]execute_script... [16: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)35190", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 159.00, "quantity" : 1.000, "sum" : 159.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 289.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:03:56]POST & json_proto [16:03:56]process_json_proto [16:03:56]json parsed OK: [16:03:56]protocol is kg_v1.0 [16:03:56]action value=close_receipt [16:03:56]process_action close_receipt [16:03:56]cmd_close_receipt [16:03:56]MH_GetDate [16:03:56]Write to MH i2c: F0 00 00 20 3E 4D [16:03:56]Write i2c OK [16:03:56]MH_I2C_Read... [16:03:56]Read from MH i2c: F0 [16:03:56]MH_I2C_Read... [16:03:56]Read from MH i2c: F0 09 00 [16:03:56]MH_I2C_Read... [16:03:56]Read from MH i2c: F0 09 00 20 3E 00 79 07 21 67 5B 68 A1 66 28 [16:03:56]GetLastDocTimeStamp 1730217787 [16:03:56]current date 1730217849 [16:03:56]FM_GetShiftState [16:03:56]SAM_PROTO_GetShiftState [16:03:56]wFMCommunicate request_size=4 [16:03:56]MH_SAM_APDU [16:03:56]CAPDU: 80 13 01 00 [16:03:56]Write to MH i2c: E2 08 00 21 3E 80 13 01 00 00 00 00 00 DC [16:03:56]Write i2c OK [16:03:56]MH_I2C_Read... [16:03:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:03:56]Read from MH i2c: E2 [16:03:56]MH_I2C_Read... [16:03:56]Read from MH i2c: E2 0E 00 [16:03:56]MH_I2C_Read... [16:03:56]Read from MH i2c: E2 0E 00 21 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 52 [16:03:56]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:03:56]wFMCommunicate OK [16:03:56]SAM_PROTO_GetShiftState done [16:03:56]FM_GetShiftState done [16:03:56]opened in 1730160317 [16:03:56]opened+sec_in_day 1730246717 [16:03:56]quantity*price = 13000 [16:03:56]sum+1 = 13001 [16:03:56]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 1.000 * 159.00 = 159.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 289.00 НСП 1% : 2.56 НДС 12% : 30.68 Наличными: 289.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 52 29.10.2024 16:04 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37890 ФПД: 81071492391221 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160409&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37890&fm=81071492391221&tin=02508201610067®Number=0000000000091684&sum=28900 0 [16:03:57]StoreToDocumentArchive [16:03:57]shift 552 fd 37890 [16:03:57]save to /storage/0552/doc_00037890 [16:03:57]save last doc name /storage/0552/doc_00037890 to /storage/kkm_last_doc_name [16:03:57]save OK [16:03:57]Clear old archive folders... [16:03:57]ProcessDocumentItem done err = 0, tmpTLVsize=377 [16:03:57]tlvbuf is B6E1F190 [16:03:57]SAM_PROTO_ClearQueue [16:03:57]wFMCommunicate request_size=4 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 09 00 00 [16:03:57]Write to MH i2c: E2 08 00 2E 3E 80 09 00 00 00 00 00 00 DE [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 2E 3E 00 90 00 E0 [16:03:57]RAPDU: 90 00 [16:03:57]wFMCommunicate OK [16:03:57]SAM_PROTO_ClearQueue done [16:03:57]KKMCreateOFDPacket [16:03:57]OFDProtocolAddRootSTLVToBuf [16:03:57]FM_MakeSignedData [16:03:57]FM_MakeSignedData [16:03:57]SAM_PROTO_SignData [16:03:57]wFMCommunicate request_size=4 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 0D 01 02 [16:03:57]Write to MH i2c: E2 08 00 2F 3E 80 0D 01 02 00 00 00 00 E6 [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 2F 3E 00 90 00 E1 [16:03:57]RAPDU: 90 00 [16:03:57]wFMCommunicate OK [16:03:57]wFMCommunicate request_size=255 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 0D 02 02 FA 03 00 79 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE [16:03:57]Write to MH i2c: E2 02 01 30 3E 80 0D 02 02 FA 00 03 00 79 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 00 00 91 [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 30 3E 00 90 00 E2 [16:03:57]RAPDU: 90 00 [16:03:57]wFMCommunicate OK [16:03:57]wFMCommunicate request_size=136 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 0D 02 02 83 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 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 34 00 00 00 F4 03 04 00 79 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 02 94 00 00 35 04 06 00 49 BB ED 81 61 35 [16:03:57]Write to MH i2c: E2 8B 00 31 3E 80 0D 02 02 83 00 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 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 34 00 00 00 F4 03 04 00 79 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 02 94 00 00 35 04 06 00 49 BB ED 81 61 35 00 00 8D [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 03 00 31 3E 00 90 00 E3 [16:03:57]RAPDU: 90 00 [16:03:57]wFMCommunicate OK [16:03:57]wFMCommunicate request_size=4 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 0D 03 02 [16:03:57]Write to MH i2c: E2 08 00 32 3E 80 0D 03 02 00 00 00 00 EB [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 0B 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 0B 00 32 3E 00 8F C0 31 45 F6 82 5C 3D 90 00 C2 [16:03:57]RAPDU: 8F C0 31 45 F6 82 5C 3D 90 00 [16:03:57]wFMCommunicate OK [16:03:57]SAM_PROTO_SignData done [16:03:57]FM_MakeSignedData done [16:03:57]CreateOFDProtocolMessage [16:03:57]wFMCommunicate request_size=4 [16:03:57]MH_SAM_APDU [16:03:57]CAPDU: 80 11 00 00 [16:03:57]Write to MH i2c: E2 08 00 33 3E 80 11 00 00 00 00 00 00 EB [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:03:57]Read from MH i2c: E2 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 17 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: E2 17 00 33 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3B [16:03:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:03:57]wFMCommunicate OK [16:03:57]CreateOFDProtocolMessage done [16:03:57]OFDSenderStorePacket 37890 [16:03:57]StoreOFDPacket docnum=37890 [16:03:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 8E 6A 85 01 91 91 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 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 34 00 00 00 F4 03 04 00 79 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 02 94 00 00 35 04 06 00 49 BB ED 81 61 35 8F C0 31 45 F6 82 5C 3D [16:03:57]CheckFolder [16:03:57]dirname=/storage/ofd_packets [16:03:57]CheckFolder done [16:03:57]ProducePacketName [16:03:57]name=ofd_packets/00037890 [16:03:57]NVStorageSaveData ofd_packets/00037890 [16:03:57]File name is /storage/ofd_packets/00037890 [16:03:57]Write 427 bytes [16:03:57]NVStorageSaveData done [16:03:57]OFDSenderStorePacket done [16:03:57]KKMCreateOFDPacket done [16:03:57]NVStorageSaveData kkm_last_timestamp [16:03:57]File name is /storage/kkm_last_timestamp [16:03:57]Write 4 bytes [16:03:57]NVStorageSaveData done [16:03:57]ExternCall_PrintAddStr [16:03:57]wPrintStart [16:03:57]Write to MH i2c: 01 00 00 34 3E 72 [16:03:57]Write i2c OK [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: 01 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: 01 07 00 [16:03:57]MH_I2C_Read... [16:03:57]Read from MH i2c: 01 07 00 34 3E 00 00 00 00 00 FF 0F 87 [16:03:57]RasterBufferAndPrint [16:03:57]line Счет N : (3)35190 [16:03:57]line ИНН: 02508201610067 [16:03:58]line Контрольно-Кассовый Чек [16:03:58]line ПРОДАЖА [16:03:58]line Товар: 2000036220012 [16:03:58]line Кофе Капучино XL(GABB TRADE) [16:03:58]line 1.000 * 130.00 [16:03:58]line = 130.00 [16:03:58]line НДС 12% НСП 1% [16:03:58]line > о реализуемом товаре [16:03:58]line Товар: 47803152 [16:03:58]line Сигареты Mevius Revo [16:03:58]line 1.000 * 159.00 [16:03:58]line = 159.00 [16:03:58]line НДС 12% НСП 1% [16:03:58]line > о реализуемом товаре [16:03:58]line ИТОГО: 289.00 [16:03:58]line НСП 1% : 2.56 [16:03:58]line НДС 12% : 30.68 [16:03:58]line Наличными: 289.00 [16:03:58]line Безнал.: 0.00 [16:03:58]line Место: АЗС № 126 "Партнер Нефть" [16:03:58]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:03:58]line СНО: Общий режим [16:03:58]line Чек 52 29.10.2024 16:04 [16:03:58]line Смена: 552 ФФД: 1.0 [16:03:58]line ЗНМ: 0300000092 [16:03:58]line РНМ: 0000000000091684 [16:03:58]line Версия ККМ: 001 [16:03:58]line ФМ: 0000000000871841 [16:03:58]line ФД: 37890 [16:03:58]line ФПД: 81071492391221 [16:03:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T160409&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37890&fm=81071492391221&tin=02508201610067®Number=0000000000091684&sum=28900 [16:03:58]line 0 [16:03:58]OFD Sender: Processing packet 37890 [packets to send 42, broken 41] [16:03:58]ProducePacketName [16:03:58]name=ofd_packets/00037890 [16:03:58]OFD Sender: To server: pG, [16:03:58]CommunicateWithHost lk.salyk.kg:30040 [16:03:58]ConnectInit lk.salyk.kg [16:03:58]written 0, free lines is 4095 [16:03:58]Write to MH i2c: 01 00 00 63 3E A1 [16:03:58]Write i2c OK [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: 01 [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: 01 07 00 [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: 01 07 00 63 3E 00 00 00 00 00 6A 0C 1E [16:03:58]RasterBufferAndPrint [16:03:58]line [16:03:58]line [16:03:58]line [16:03:58]line [16:03:58]line [16:03:58]written 0, free lines is 3183 [16:03:58]MH_Cut [16:03:58]Write to MH i2c: D1 01 00 6A 3E 01 7A [16:03:58]Write i2c OK [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: D1 [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: D1 01 00 [16:03:58]MH_I2C_Read... [16:03:58]Read from MH i2c: D1 01 00 6A 3E 00 79 [16:03:58]Write to MH i2c: 01 00 00 6B 3E A9 [16:03:58]Write i2c OK [16:03:58]MH_I2C_Read... [16:03:59]*** Cut start [16:03:59]*** Partial cut [16:03:59]*** CUTSNS_PIN = 1 [16:03:59]*** CUTSNS_PIN = 0 [16:03:59]*** Brake cut motor [16:04:00]Read from MH i2c: 01 [16:04:00]MH_I2C_Read... [16:04:00]*** Stop cut motor [16:04:00]*** Cut end [16:04:00]Read from MH i2c: 01 07 00 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: 01 07 00 6B 3E 00 00 00 00 00 FF 0F BE [16:04:00]process_action close_receipt done [16:04:00]requested_data is exist [16:04:00]produce_requested_data [16:04:00]requested_item fm.sn is exist - process it [16:04:00]wFMCommunicate request_size=4 [16:04:00]MH_SAM_APDU [16:04:00]CAPDU: 80 11 00 00 [16:04:00]Write to MH i2c: E2 08 00 6C 3E 80 11 00 00 00 00 00 00 24 [16:04:00]Write i2c OK [16:04:00]MH_I2C_Read... [16:04:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:04:00]Read from MH i2c: E2 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 17 00 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 17 00 6C 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [16:04:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:04:00]wFMCommunicate OK [16:04:00]requested_item fd.num is exist - process it [16:04:00]SAM_PROTO_GetFieldsCounters [16:04:00]wFMCommunicate request_size=4 [16:04:00]MH_SAM_APDU [16:04:00]CAPDU: 80 13 00 00 [16:04:00]Write to MH i2c: E2 08 00 6D 3E 80 13 00 00 00 00 00 00 27 [16:04:00]Write i2c OK [16:04:00]MH_I2C_Read... [16:04:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:04:00]Read from MH i2c: E2 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 62 00 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 62 00 6D 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 02 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 A4 [16:04:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 02 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 34 00 00 00 5E 04 04 00 34 00 00 00 57 04 04 00 35 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:04:00]wFMCommunicate OK [16:04:00]SAM_PROTO_GetFieldsCounters done [16:04:00]requested_item shift.num is exist - process it [16:04:00]requested_item shift.opened is exist - process it [16:04:00]req_shift_opened [16:04:00]FM_GetShiftState [16:04:00]SAM_PROTO_GetShiftState [16:04:00]wFMCommunicate request_size=4 [16:04:00]MH_SAM_APDU [16:04:00]CAPDU: 80 13 01 00 [16:04:00]Write to MH i2c: E2 08 00 6E 3E 80 13 01 00 00 00 00 00 29 [16:04:00]Write i2c OK [16:04:00]MH_I2C_Read... [16:04:00]Connected sock=11 [16:04:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 8D 01 00 00 8E 6A 85 01 91 91 5A 03 01 00 03 00 79 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5B 00 8A 04 08 00 34 37 38 30 33 31 35 32 06 04 1C 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4D 65 76 69 75 73 20 52 65 76 6F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 3E 00 00 00 00 13 04 06 00 1C 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 70 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 FC 0B 00 00 00 00 07 04 06 00 E4 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 34 00 00 00 F4 03 04 00 79 07 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 02 94 00 00 35 04 06 00 49 BB ED 81 61 35 8F C0 31 45 F6 82 5C 3D [16:04:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:04:00]Read from MH i2c: E2 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 0E 00 [16:04:00]MH_I2C_Read... [16:04:00]Read from MH i2c: E2 0E 00 6E 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 9F [16:04:00]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:04:00]wFMCommunicate OK [16:04:00]SAM_PROTO_GetShiftState done [16:04:00]FM_GetShiftState done [16:04:00]req_shift_opened done [16:04:00]requested_item shift.open_date is exist - process it [16:04:00]req_shift_open_date [16:04:00]req_shift_open_date done [16:04:00]produce_requested_data done [16:04:00]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37890,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:04:00]process_action_free close_receipt [16:04:00]json_value_free [16:04:00]json_value_free done [16:04:00]process_json_proto returns [16:04:00]Send response to host [16:04:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37890,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:04:00]free response buf [16:04:00]execute_script done [16:04:00]execute_script returns [16:04:00]free content buf [16:04:00]Sock 9.Close socket [16:04:00]Sock 9.Thread stoped [16:04:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D7 D7 47 00 8E 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 02 94 00 00 F4 03 04 00 6D B2 20 67 B6 04 01 00 00 86 AC 0C 61 10 6E 61 92 [16:04:00]CommunicateWithHost err = 0 [16:04:00]CheckOFDResponse [16:04:00]1017 (14) - 77093643461234 [16:04:00]1041 (16) - 0000000000871841 [16:04:00]1040 (4) - 37890 [16:04:00]1012 (4) - 29.10.2024 10:01 [16:04:00]1206 (1) - 0 [16:04:00]OFD Sender: Remove packet 37890 [16:04:00]ProducePacketName [16:04:00]name=ofd_packets/00037890 [16:04:00]NVStorageDeleteData [16:04:01]OFD Sender: No OFD packet to send [16:04:06]OFD Sender: No OFD packet to send [16:04:11]OFD Sender: No OFD packet to send [16:04:16]OFD Sender: No OFD packet to send [16:04:21]OFD Sender: No OFD packet to send [16:04:26]OFD Sender: No OFD packet to send [16:04:31]OFD Sender: No OFD packet to send [16:04:36]OFD Sender: No OFD packet to send [16:04:41]OFD Sender: No OFD packet to send [16:04:46]OFD Sender: No OFD packet to send [16:04:51]OFD Sender: No OFD packet to send [16:04:56]OFD Sender: No OFD packet to send [16:05:01]OFD Sender: No OFD packet to send [16:05:06]OFD Sender: No OFD packet to send [16:05:11]OFD Sender: No OFD packet to send [16:05:16]OFD Sender: No OFD packet to send [16:05:21]OFD Sender: No OFD packet to send [16:05:26]OFD Sender: No OFD packet to send [16:05:31]OFD Sender: No OFD packet to send [16:05:36]OFD Sender: No OFD packet to send [16:05:41]OFD Sender: No OFD packet to send [16:05:46]OFD Sender: No OFD packet to send [16:05:51]OFD Sender: No OFD packet to send [16:05:56]OFD Sender: No OFD packet to send [16:06:01]OFD Sender: No OFD packet to send [16:06:06]OFD Sender: No OFD packet to send [16:06:11]OFD Sender: No OFD packet to send [16:06:16]OFD Sender: No OFD packet to send [16:06:21]OFD Sender: No OFD packet to send [16:06:26]OFD Sender: No OFD packet to send [16:06:31]OFD Sender: No OFD packet to send [16:06:36]OFD Sender: No OFD packet to send [16:06:41]OFD Sender: No OFD packet to send [16:06:46]OFD Sender: No OFD packet to send [16:06:51]OFD Sender: No OFD packet to send [16:06:56]OFD Sender: No OFD packet to send [16:07:01]OFD Sender: No OFD packet to send [16:07:06]OFD Sender: No OFD packet to send [16:07:11]OFD Sender: No OFD packet to send [16:07:16]OFD Sender: No OFD packet to send [16:07:21]OFD Sender: No OFD packet to send [16:07:26]OFD Sender: No OFD packet to send [16:07:31]OFD Sender: No OFD packet to send [16:07:36]OFD Sender: No OFD packet to send [16:07:41]OFD Sender: No OFD packet to send [16:07:46]OFD Sender: No OFD packet to send [16:07:51]OFD Sender: No OFD packet to send [16:07:56]OFD Sender: No OFD packet to send [16:08:01]OFD Sender: No OFD packet to send [16:08:06]OFD Sender: No OFD packet to send [16:08:11]OFD Sender: No OFD packet to send [16:08:16]OFD Sender: No OFD packet to send [16:08:21]OFD Sender: No OFD packet to send [16:08:26]OFD Sender: No OFD packet to send [16:08:31]OFD Sender: No OFD packet to send [16:08:36]OFD Sender: No OFD packet to send [16:08:41]OFD Sender: No OFD packet to send [16:08:46]OFD Sender: No OFD packet to send [16:08:51]OFD Sender: No OFD packet to send [16:08:56]OFD Sender: No OFD packet to send [16:09:01]OFD Sender: No OFD packet to send [16:09:06]OFD Sender: No OFD packet to send [16:09:11]OFD Sender: No OFD packet to send [16:09:16]OFD Sender: No OFD packet to send [16:09:21]OFD Sender: No OFD packet to send [16:09:26]OFD Sender: No OFD packet to send [16:09:31]OFD Sender: No OFD packet to send [16:09:36]OFD Sender: No OFD packet to send [16:09:41]OFD Sender: No OFD packet to send [16:09:46]OFD Sender: No OFD packet to send [16:09:51]OFD Sender: No OFD packet to send [16:09:56]OFD Sender: No OFD packet to send [16:10:01]OFD Sender: No OFD packet to send [16:10:06]OFD Sender: No OFD packet to send [16:10:11]OFD Sender: No OFD packet to send [16:10:16]OFD Sender: No OFD packet to send [16:10:21]OFD Sender: No OFD packet to send [16:10:26]OFD Sender: No OFD packet to send [16:10:31]OFD Sender: No OFD packet to send [16:10:36]OFD Sender: No OFD packet to send [16:10:41]OFD Sender: No OFD packet to send [16:10:46]OFD Sender: No OFD packet to send [16:10:51]OFD Sender: No OFD packet to send [16:10:56]OFD Sender: No OFD packet to send [16:11:01]OFD Sender: No OFD packet to send [16:11:06]OFD Sender: No OFD packet to send [16:11:11]OFD Sender: No OFD packet to send [16:11:16]OFD Sender: No OFD packet to send [16:11:21]OFD Sender: No OFD packet to send [16:11:26]OFD Sender: No OFD packet to send [16:11:31]OFD Sender: No OFD packet to send [16:11:36]OFD Sender: No OFD packet to send [16:11:41]OFD Sender: No OFD packet to send [16:11:46]OFD Sender: No OFD packet to send [16:11:51]OFD Sender: No OFD packet to send [16:11:56]OFD Sender: No OFD packet to send [16:12:01]OFD Sender: No OFD packet to send [16:12:06]OFD Sender: No OFD packet to send [16:12:11]OFD Sender: No OFD packet to send [16:12:16]OFD Sender: No OFD packet to send [16:12:21]OFD Sender: No OFD packet to send [16:12:26]OFD Sender: No OFD packet to send [16:12:31]OFD Sender: No OFD packet to send [16:12:36]OFD Sender: No OFD packet to send [16:12:41]OFD Sender: No OFD packet to send [16:12:46]OFD Sender: No OFD packet to send [16:12:51]OFD Sender: No OFD packet to send [16:12:56]OFD Sender: No OFD packet to send [16:13:01]OFD Sender: No OFD packet to send [16:13:06]OFD Sender: No OFD packet to send [16:13:11]OFD Sender: No OFD packet to send [16:13:16]OFD Sender: No OFD packet to send [16:13:21]OFD Sender: No OFD packet to send [16:13:26]OFD Sender: No OFD packet to send [16:13:31]OFD Sender: No OFD packet to send [16:13:36]OFD Sender: No OFD packet to send [16:13:41]OFD Sender: No OFD packet to send [16:13:46]OFD Sender: No OFD packet to send [16:13:51]OFD Sender: No OFD packet to send [16:13:53]accept exits with 7 [16:13:53]New connection [16:13:53]New thread 3067440484 created [16:13:53]Thread 3067297124 joined [16:13:53]Waiting for new connection... [16:13:53] Sock 7.Parse request [16:13:53]Sock 7.Check first char [16:13:53]Sock 7.First char is OK [16:13:53]request: POST /json_proto HTTP/1.0 [16:13:53]Method: POST [16:13:53]URL: /json_proto [16:13:53]Method is POST - this is cgi request [16:13:53]url: /json_proto [16:13:53]query_string will be loaded in cgi processing [16:13:53]execute_cgi json_proto POST (null) [16:13:53]execute_cgi path=json_proto method=POST [16:13:53]POST find Content-Length [16:13:53]Host: 172.17.40.196:8080 [16:13:53]Content-Length: 747 [16:13:53]Content-Type: application/json [16:13:53] [16:13:53]POST finish read [16:13:53]Found Content-Length = 747 [16:13:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35191", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:53]execute_script... [16:13: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)35191", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:13:53]POST & json_proto [16:13:53]process_json_proto [16:13:53]json parsed OK: [16:13:53]protocol is kg_v1.0 [16:13:53]action value=close_receipt [16:13:53]process_action close_receipt [16:13:53]cmd_close_receipt [16:13:53]MH_GetDate [16:13:53]Write to MH i2c: F0 00 00 6F 3E 9C [16:13:53]Write i2c OK [16:13:53]MH_I2C_Read... [16:13:53]Read from MH i2c: F0 [16:13:53]MH_I2C_Read... [16:13:53]Read from MH i2c: F0 09 00 [16:13:53]MH_I2C_Read... [16:13:53]Read from MH i2c: F0 09 00 6F 3E 00 CF 09 21 67 5B 68 A1 66 CF [16:13:53]GetLastDocTimeStamp 1730217849 [16:13:53]current date 1730218447 [16:13:53]FM_GetShiftState [16:13:53]SAM_PROTO_GetShiftState [16:13:53]wFMCommunicate request_size=4 [16:13:53]MH_SAM_APDU [16:13:53]CAPDU: 80 13 01 00 [16:13:53]Write to MH i2c: E2 08 00 70 3E 80 13 01 00 00 00 00 00 2B [16:13:53]Write i2c OK [16:13:53]MH_I2C_Read... [16:13:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:53]Read from MH i2c: E2 [16:13:53]MH_I2C_Read... [16:13:53]Read from MH i2c: E2 0E 00 [16:13:53]MH_I2C_Read... [16:13:53]Read from MH i2c: E2 0E 00 70 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 A1 [16:13:53]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:13:53]wFMCommunicate OK [16:13:53]SAM_PROTO_GetShiftState done [16:13:53]FM_GetShiftState done [16:13:53]opened in 1730160317 [16:13:53]opened+sec_in_day 1730246717 [16:13:53]quantity*price = 14400 [16:13:53]sum+1 = 14401 [16:13:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 53 29.10.2024 16:14 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37891 ФПД: 39760682684227 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T161407&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37891&fm=39760682684227&tin=02508201610067®Number=0000000000091684&sum=14400 0 [16:13:54]StoreToDocumentArchive [16:13:54]shift 552 fd 37891 [16:13:54]save to /storage/0552/doc_00037891 [16:13:54]save last doc name /storage/0552/doc_00037891 to /storage/kkm_last_doc_name [16:13:54]save OK [16:13:54]Clear old archive folders... [16:13:54]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:13:54]tlvbuf is 002C2EB0 [16:13:54]SAM_PROTO_ClearQueue [16:13:54]wFMCommunicate request_size=4 [16:13:54]MH_SAM_APDU [16:13:54]CAPDU: 80 09 00 00 [16:13:54]Write to MH i2c: E2 08 00 7D 3E 80 09 00 00 00 00 00 00 2D [16:13:54]Write i2c OK [16:13:54]MH_I2C_Read... [16:13:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:13:54]Read from MH i2c: E2 [16:13:54]MH_I2C_Read... [16:13:54]Read from MH i2c: E2 03 00 [16:13:54]MH_I2C_Read... [16:13:54]Read from MH i2c: E2 03 00 7D 3E 00 90 00 2F [16:13:54]RAPDU: 90 00 [16:13:54]wFMCommunicate OK [16:13:54]SAM_PROTO_ClearQueue done [16:13:54]KKMCreateOFDPacket [16:13:54]OFDProtocolAddRootSTLVToBuf [16:13:54]FM_MakeSignedData [16:13:54]FM_MakeSignedData [16:13:54]SAM_PROTO_SignData [16:13:54]wFMCommunicate request_size=4 [16:13:54]MH_SAM_APDU [16:13:54]CAPDU: 80 0D 01 02 [16:13:54]Write to MH i2c: E2 08 00 7E 3E 80 0D 01 02 00 00 00 00 35 [16:13:54]Write i2c OK [16:13:54]MH_I2C_Read... [16:13:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:13:54]Read from MH i2c: E2 [16:13:54]MH_I2C_Read... [16:13:54]Read from MH i2c: E2 03 00 [16:13:54]MH_I2C_Read... [16:13:54]Read from MH i2c: E2 03 00 7E 3E 00 90 00 30 [16:13:54]RAPDU: 90 00 [16:13:54]wFMCommunicate OK [16:13:54]wFMCommunicate request_size=255 [16:13:54]MH_SAM_APDU [16:13:54]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 CF 09 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [16:13:54]Write to MH i2c: E2 02 01 7F 3E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 CF 09 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 61 [16:13:54]Write i2c OK [16:13:54]MH_I2C_Read... [16:13:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:55]Read from MH i2c: E2 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 03 00 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 03 00 7F 3E 00 90 00 31 [16:13:55]RAPDU: 90 00 [16:13:55]wFMCommunicate OK [16:13:55]wFMCommunicate request_size=32 [16:13:55]MH_SAM_APDU [16:13:55]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 03 94 00 00 35 04 06 00 24 29 81 5E 0F 43 [16:13:55]Write to MH i2c: E2 23 00 80 3E 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 03 94 00 00 35 04 06 00 24 29 81 5E 0F 43 00 00 A7 [16:13:55]Write i2c OK [16:13:55]MH_I2C_Read... [16:13:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:13:55]Read from MH i2c: E2 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 03 00 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 03 00 80 3E 00 90 00 32 [16:13:55]RAPDU: 90 00 [16:13:55]wFMCommunicate OK [16:13:55]wFMCommunicate request_size=4 [16:13:55]MH_SAM_APDU [16:13:55]CAPDU: 80 0D 03 02 [16:13:55]Write to MH i2c: E2 08 00 81 3E 80 0D 03 02 00 00 00 00 3A [16:13:55]Write i2c OK [16:13:55]MH_I2C_Read... [16:13:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:13:55]Read from MH i2c: E2 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 0B 00 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 0B 00 81 3E 00 A8 B8 1E 86 2C 91 A3 2B 90 00 CA [16:13:55]RAPDU: A8 B8 1E 86 2C 91 A3 2B 90 00 [16:13:55]wFMCommunicate OK [16:13:55]SAM_PROTO_SignData done [16:13:55]FM_MakeSignedData done [16:13:55]CreateOFDProtocolMessage [16:13:55]wFMCommunicate request_size=4 [16:13:55]MH_SAM_APDU [16:13:55]CAPDU: 80 11 00 00 [16:13:55]Write to MH i2c: E2 08 00 82 3E 80 11 00 00 00 00 00 00 3A [16:13:55]Write i2c OK [16:13:55]MH_I2C_Read... [16:13:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:55]Read from MH i2c: E2 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 17 00 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: E2 17 00 82 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [16:13:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:13:55]wFMCommunicate OK [16:13:55]CreateOFDProtocolMessage done [16:13:55]OFDSenderStorePacket 37891 [16:13:55]StoreOFDPacket docnum=37891 [16:13:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 A3 83 1D 01 8E 59 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 CF 09 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 03 94 00 00 35 04 06 00 24 29 81 5E 0F 43 A8 B8 1E 86 2C 91 A3 2B [16:13:55]CheckFolder [16:13:55]dirname=/storage/ofd_packets [16:13:55]CheckFolder done [16:13:55]ProducePacketName [16:13:55]name=ofd_packets/00037891 [16:13:55]NVStorageSaveData ofd_packets/00037891 [16:13:55]File name is /storage/ofd_packets/00037891 [16:13:55]Write 323 bytes [16:13:55]NVStorageSaveData done [16:13:55]OFDSenderStorePacket done [16:13:55]KKMCreateOFDPacket done [16:13:55]NVStorageSaveData kkm_last_timestamp [16:13:55]File name is /storage/kkm_last_timestamp [16:13:55]Write 4 bytes [16:13:55]NVStorageSaveData done [16:13:55]ExternCall_PrintAddStr [16:13:55]wPrintStart [16:13:55]Write to MH i2c: 01 00 00 83 3E C1 [16:13:55]Write i2c OK [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: 01 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: 01 07 00 [16:13:55]MH_I2C_Read... [16:13:55]Read from MH i2c: 01 07 00 83 3E 00 00 00 00 00 FF 0F D6 [16:13:55]RasterBufferAndPrint [16:13:55]line Счет N : (3)35191 [16:13:55]line ИНН: 02508201610067 [16:13:55]line Контрольно-Кассовый Чек [16:13:55]line ПРОДАЖА [16:13:55]line Товар: 48743570 [16:13:55]line Сигареты Winston XStyle Blue [16:13:55]line 1.000 * 144.00 [16:13:55]line = 144.00 [16:13:55]line НДС 12% НСП 1% [16:13:55]line > о реализуемом товаре [16:13:55]line ИТОГО: 144.00 [16:13:55]line НСП 1% : 1.27 [16:13:55]line НДС 12% : 15.29 [16:13:55]line Наличными: 0.00 [16:13:55]line Безнал.: 144.00 [16:13:55]line Место: АЗС № 126 "Партнер Нефть" [16:13:55]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:13:55]line СНО: Общий режим [16:13:55]line Чек 53 29.10.2024 16:14 [16:13:55]line Смена: 552 ФФД: 1.0 [16:13:55]line ЗНМ: 0300000092 [16:13:55]line РНМ: 0000000000091684 [16:13:55]line Версия ККМ: 001 [16:13:55]line Платежная система: Mbank [16:13:55]line ФМ: 0000000000871841 [16:13:55]line ФД: 37891 [16:13:55]line ФПД: 39760682684227 [16:13:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T161407&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37891&fm=39760682684227&tin=02508201610067®Number=0000000000091684&sum=14400 [16:13:55]OFD Sender: Processing packet 37891 [packets to send 42, broken 41] [16:13:55]ProducePacketName [16:13:55]name=ofd_packets/00037891 [16:13:55]OFD Sender: To server: pG, [16:13:55]CommunicateWithHost lk.salyk.kg:30040 [16:13:55]ConnectInit lk.salyk.kg [16:13:55]line 0 [16:13:55]written 0, free lines is 4095 [16:13:56]Connected sock=9 [16:13:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 A3 83 1D 01 8E 59 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 35 00 00 00 F4 03 04 00 CF 09 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 03 94 00 00 35 04 06 00 24 29 81 5E 0F 43 A8 B8 1E 86 2C 91 A3 2B [16:13:56]Write to MH i2c: 01 00 00 AC 3E EA [16:13:56]Write i2c OK [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: 01 [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: 01 07 00 [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: 01 07 00 AC 3E 00 00 00 00 00 C4 0C C1 [16:13:56]RasterBufferAndPrint [16:13:56]line [16:13:56]line [16:13:56]line [16:13:56]line [16:13:56]line [16:13:56]written 0, free lines is 3273 [16:13:56]MH_Cut [16:13:56]Write to MH i2c: D1 01 00 B3 3E 01 C3 [16:13:56]Write i2c OK [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: D1 [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: D1 01 00 [16:13:56]MH_I2C_Read... [16:13:56]Read from MH i2c: D1 01 00 B3 3E 00 C2 [16:13:56]Write to MH i2c: 01 00 00 B4 3E F2 [16:13:56]Write i2c OK [16:13:56]MH_I2C_Read... [16:13:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 36 7B 47 00 4C E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 03 94 00 00 F4 03 04 00 C0 B4 20 67 B6 04 01 00 00 45 D0 8E FB 1B E7 64 A7 [16:13:56]CommunicateWithHost err = 0 [16:13:56]CheckOFDResponse [16:13:56]1017 (14) - 77093643461234 [16:13:56]1041 (16) - 0000000000871841 [16:13:56]1040 (4) - 37891 [16:13:56]1012 (4) - 29.10.2024 10:11 [16:13:56]1206 (1) - 0 [16:13:56]OFD Sender: Remove packet 37891 [16:13:56]ProducePacketName [16:13:56]name=ofd_packets/00037891 [16:13:56]NVStorageDeleteData [16:13:56]OFD Sender: No OFD packet to send [16:13:57]*** Cut start [16:13:57]*** Partial cut [16:13:57]*** CUTSNS_PIN = 1 [16:13:57]*** CUTSNS_PIN = 0 [16:13:57]*** Brake cut motor [16:13:57]Read from MH i2c: 01 [16:13:57]MH_I2C_Read... [16:13:57]*** Stop cut motor [16:13:57]*** Cut end [16:13:57]Read from MH i2c: 01 07 00 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: 01 07 00 B4 3E 00 00 00 00 00 FF 0F 07 [16:13:57]process_action close_receipt done [16:13:57]requested_data is exist [16:13:57]produce_requested_data [16:13:57]requested_item fm.sn is exist - process it [16:13:57]wFMCommunicate request_size=4 [16:13:57]MH_SAM_APDU [16:13:57]CAPDU: 80 11 00 00 [16:13:57]Write to MH i2c: E2 08 00 B5 3E 80 11 00 00 00 00 00 00 6D [16:13:57]Write i2c OK [16:13:57]MH_I2C_Read... [16:13:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:13:57]Read from MH i2c: E2 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 17 00 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 17 00 B5 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BD [16:13:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:13:57]wFMCommunicate OK [16:13:57]requested_item fd.num is exist - process it [16:13:57]SAM_PROTO_GetFieldsCounters [16:13:57]wFMCommunicate request_size=4 [16:13:57]MH_SAM_APDU [16:13:57]CAPDU: 80 13 00 00 [16:13:57]Write to MH i2c: E2 08 00 B6 3E 80 13 00 00 00 00 00 00 70 [16:13:57]Write i2c OK [16:13:57]MH_I2C_Read... [16:13:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:13:57]Read from MH i2c: E2 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 62 00 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 62 00 B6 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 03 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 F1 [16:13:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 03 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 35 00 00 00 5E 04 04 00 35 00 00 00 57 04 04 00 36 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:13:57]wFMCommunicate OK [16:13:57]SAM_PROTO_GetFieldsCounters done [16:13:57]requested_item shift.num is exist - process it [16:13:57]requested_item shift.opened is exist - process it [16:13:57]req_shift_opened [16:13:57]FM_GetShiftState [16:13:57]SAM_PROTO_GetShiftState [16:13:57]wFMCommunicate request_size=4 [16:13:57]MH_SAM_APDU [16:13:57]CAPDU: 80 13 01 00 [16:13:57]Write to MH i2c: E2 08 00 B7 3E 80 13 01 00 00 00 00 00 72 [16:13:57]Write i2c OK [16:13:57]MH_I2C_Read... [16:13:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:13:57]Read from MH i2c: E2 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 0E 00 [16:13:57]MH_I2C_Read... [16:13:57]Read from MH i2c: E2 0E 00 B7 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E8 [16:13:57]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:13:57]wFMCommunicate OK [16:13:57]SAM_PROTO_GetShiftState done [16:13:57]FM_GetShiftState done [16:13:57]req_shift_opened done [16:13:57]requested_item shift.open_date is exist - process it [16:13:57]req_shift_open_date [16:13:57]req_shift_open_date done [16:13:57]produce_requested_data done [16:13:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37891,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:13:57]process_action_free close_receipt [16:13:57]json_value_free [16:13:57]json_value_free done [16:13:57]process_json_proto returns [16:13:57]Send response to host [16:13:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37891,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:13:57]free response buf [16:13:57]execute_script done [16:13:57]execute_script returns [16:13:57]free content buf [16:13:57]Sock 7.Close socket [16:13:57]Sock 7.Thread stoped [16:14:01]OFD Sender: No OFD packet to send [16:14:06]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:47]OFD Sender: No OFD packet to send [16:15:52]OFD Sender: No OFD packet to send [16:15:57]OFD Sender: No OFD packet to send [16:16:02]OFD Sender: No OFD packet to send [16:16:07]OFD Sender: No OFD packet to send [16:16:12]OFD Sender: No OFD packet to send [16:16:17]OFD Sender: No OFD packet to send [16:16:22]OFD Sender: No OFD packet to send [16:16:27]OFD Sender: No OFD packet to send [16:16:32]OFD Sender: No OFD packet to send [16:16:37]OFD Sender: No OFD packet to send [16:16:42]OFD Sender: No OFD packet to send [16:16:47]OFD Sender: No OFD packet to send [16:16:52]OFD Sender: No OFD packet to send [16:16:57]OFD Sender: No OFD packet to send [16:17:02]OFD Sender: No OFD packet to send [16:17:07]OFD Sender: No OFD packet to send [16:17:12]OFD Sender: No OFD packet to send [16:17:17]OFD Sender: No OFD packet to send [16:17:22]OFD Sender: No OFD packet to send [16:17:27]OFD Sender: No OFD packet to send [16:17:32]OFD Sender: No OFD packet to send [16:17:37]OFD Sender: No OFD packet to send [16:17:42]OFD Sender: No OFD packet to send [16:17:47]OFD Sender: No OFD packet to send [16:17:52]OFD Sender: No OFD packet to send [16:17:57]OFD Sender: No OFD packet to send [16:18:02]OFD Sender: No OFD packet to send [16:18:07]OFD Sender: No OFD packet to send [16:18:12]OFD Sender: No OFD packet to send [16:18:17]OFD Sender: No OFD packet to send [16:18:22]OFD Sender: No OFD packet to send [16:18:27]OFD Sender: No OFD packet to send [16:18:32]OFD Sender: No OFD packet to send [16:18:37]OFD Sender: No OFD packet to send [16:18:42]OFD Sender: No OFD packet to send [16:18:47]OFD Sender: No OFD packet to send [16:18:52]OFD Sender: No OFD packet to send [16:18:57]OFD Sender: No OFD packet to send [16:19:02]OFD Sender: No OFD packet to send [16:19:07]OFD Sender: No OFD packet to send [16:19:12]OFD Sender: No OFD packet to send [16:19:17]OFD Sender: No OFD packet to send [16:19:22]OFD Sender: No OFD packet to send [16:19:27]OFD Sender: No OFD packet to send [16:19:32]OFD Sender: No OFD packet to send [16:19:37]OFD Sender: No OFD packet to send [16:19:42]OFD Sender: No OFD packet to send [16:19:47]OFD Sender: No OFD packet to send [16:19:52]OFD Sender: No OFD packet to send [16:19:57]OFD Sender: No OFD packet to send [16:20:02]OFD Sender: No OFD packet to send [16:20:07]OFD Sender: No OFD packet to send [16:20:12]OFD Sender: No OFD packet to send [16:20:17]OFD Sender: No OFD packet to send [16:20:22]OFD Sender: No OFD packet to send [16:20:27]OFD Sender: No OFD packet to send [16:20:32]OFD Sender: No OFD packet to send [16:20:37]OFD Sender: No OFD packet to send [16:20:42]OFD Sender: No OFD packet to send [16:20:47]OFD Sender: No OFD packet to send [16:20:52]OFD Sender: No OFD packet to send [16:20:57]OFD Sender: No OFD packet to send [16:21:02]OFD Sender: No OFD packet to send [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:42]OFD Sender: No OFD packet to send [16:23:47]OFD Sender: No OFD packet to send [16:23:52]OFD Sender: No OFD packet to send [16:23:57]OFD Sender: No OFD packet to send [16:24:02]OFD Sender: No OFD packet to send [16:24:07]OFD Sender: No OFD packet to send [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:22]OFD Sender: No OFD packet to send [16:24:27]OFD Sender: No OFD packet to send [16:24:32]OFD Sender: No OFD packet to send [16:24:37]OFD Sender: No OFD packet to send [16:24:42]OFD Sender: No OFD packet to send [16:24:47]OFD Sender: No OFD packet to send [16:24:52]OFD Sender: No OFD packet to send [16:24:57]OFD Sender: No OFD packet to send [16:25:02]OFD Sender: No OFD packet to send [16:25:07]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:07]OFD Sender: No OFD packet to send [16:29:12]OFD Sender: No OFD packet to send [16:29:17]OFD Sender: No OFD packet to send [16:29:22]OFD Sender: No OFD packet to send [16:29:27]OFD Sender: No OFD packet to send [16:29:32]OFD Sender: No OFD packet to send [16:29:37]OFD Sender: No OFD packet to send [16:29:42]OFD Sender: No OFD packet to send [16:29:47]OFD Sender: No OFD packet to send [16:29:52]OFD Sender: No OFD packet to send [16:29:57]OFD Sender: No OFD packet to send [16:30:02]OFD Sender: No OFD packet to send [16:30:07]OFD Sender: No OFD packet to send [16:30:12]OFD Sender: No OFD packet to send [16:30:17]OFD Sender: No OFD packet to send [16:30:22]OFD Sender: No OFD packet to send [16:30:27]OFD Sender: No OFD packet to send [16:30:32]OFD Sender: No OFD packet to send [16:30:37]OFD Sender: No OFD packet to send [16:30:42]OFD Sender: No OFD packet to send [16:30:47]OFD Sender: No OFD packet to send [16:30:52]OFD Sender: No OFD packet to send [16:30:57]OFD Sender: No OFD packet to send [16:31:02]OFD Sender: No OFD packet to send [16:31:07]OFD Sender: No OFD packet to send [16:31:12]OFD Sender: No OFD packet to send [16:31:17]OFD Sender: No OFD packet to send [16:31:22]OFD Sender: No OFD packet to send [16:31:27]OFD Sender: No OFD packet to send [16:31:32]OFD Sender: No OFD packet to send [16:31:37]OFD Sender: No OFD packet to send [16:31:42]OFD Sender: No OFD packet to send [16:31:47]OFD Sender: No OFD packet to send [16:31:52]OFD Sender: No OFD packet to send [16:31:57]OFD Sender: No OFD packet to send [16:32:02]OFD Sender: No OFD packet to send [16:32:07]OFD Sender: No OFD packet to send [16:32:12]OFD Sender: No OFD packet to send [16:32:17]OFD Sender: No OFD packet to send [16:32:22]OFD Sender: No OFD packet to send [16:32:27]OFD Sender: No OFD packet to send [16:32:32]OFD Sender: No OFD packet to send [16:32:37]OFD Sender: No OFD packet to send [16:32:42]OFD Sender: No OFD packet to send [16:32:47]OFD Sender: No OFD packet to send [16:32:52]OFD Sender: No OFD packet to send [16:32:57]OFD Sender: No OFD packet to send [16:33:02]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [16:39:38]OFD Sender: No OFD packet to send [16:39:43]OFD Sender: No OFD packet to send [16:39:48]OFD Sender: No OFD packet to send [16:39:53]OFD Sender: No OFD packet to send [16:39:58]OFD Sender: No OFD packet to send [16:40:03]OFD Sender: No OFD packet to send [16:40:08]OFD Sender: No OFD packet to send [16:40:13]OFD Sender: No OFD packet to send [16:40:18]OFD Sender: No OFD packet to send [16:40:23]OFD Sender: No OFD packet to send [16:40:28]OFD Sender: No OFD packet to send [16:40:33]OFD Sender: No OFD packet to send [16:40:38]OFD Sender: No OFD packet to send [16:40:43]OFD Sender: No OFD packet to send [16:40:48]OFD Sender: No OFD packet to send [16:40:53]OFD Sender: No OFD packet to send [16:40:58]OFD Sender: No OFD packet to send [16:41:03]OFD Sender: No OFD packet to send [16:41:08]OFD Sender: No OFD packet to send [16:41:13]OFD Sender: No OFD packet to send [16:41:18]OFD Sender: No OFD packet to send [16:41:23]OFD Sender: No OFD packet to send [16:41:28]OFD Sender: No OFD packet to send [16:41:33]OFD Sender: No OFD packet to send [16:41:38]OFD Sender: No OFD packet to send [16:41:43]OFD Sender: No OFD packet to send [16:41:48]OFD Sender: No OFD packet to send [16:41:53]OFD Sender: No OFD packet to send [16:41:58]OFD Sender: No OFD packet to send [16:42:03]OFD Sender: No OFD packet to send [16:42:08]OFD Sender: No OFD packet to send [16:42:13]OFD Sender: No OFD packet to send [16:42:18]OFD Sender: No OFD packet to send [16:42:23]OFD Sender: No OFD packet to send [16:42:28]OFD Sender: No OFD packet to send [16:42:33]OFD Sender: No OFD packet to send [16:42:38]OFD Sender: No OFD packet to send [16:42:43]OFD Sender: No OFD packet to send [16:42:48]OFD Sender: No OFD packet to send [16:42:50]accept exits with 10 [16:42:50]New connection [16:42:50]New thread 3067297124 created [16:42:50]Thread 3067440484 joined [16:42:50]Waiting for new connection... [16:42:50] Sock 10.Parse request [16:42:50]Sock 10.Check first char [16:42:50]Sock 10.First char is OK [16:42:50]request: POST /json_proto HTTP/1.0 [16:42:50]Method: POST [16:42:50]URL: /json_proto [16:42:50]Method is POST - this is cgi request [16:42:50]url: /json_proto [16:42:50]query_string will be loaded in cgi processing [16:42:50]execute_cgi json_proto POST (null) [16:42:50]execute_cgi path=json_proto method=POST [16:42:50]POST find Content-Length [16:42:50]Host: 172.17.40.196:8080 [16:42:50]Content-Length: 747 [16:42:50]Content-Type: application/json [16:42:50] [16:42:50]POST finish read [16:42:50]Found Content-Length = 747 [16:42:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35192", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:50]execute_script... [16:42: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)35192", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:42:50]POST & json_proto [16:42:50]process_json_proto [16:42:50]json parsed OK: [16:42:50]protocol is kg_v1.0 [16:42:50]action value=close_receipt [16:42:50]process_action close_receipt [16:42:50]cmd_close_receipt [16:42:50]MH_GetDate [16:42:50]Write to MH i2c: F0 00 00 B8 3E E5 [16:42:50]Write i2c OK [16:42:50]MH_I2C_Read... [16:42:50]Read from MH i2c: F0 [16:42:50]MH_I2C_Read... [16:42:50]Read from MH i2c: F0 09 00 [16:42:50]MH_I2C_Read... [16:42:50]Read from MH i2c: F0 09 00 B8 3E 00 98 10 21 67 5B 68 A1 66 E8 [16:42:50]GetLastDocTimeStamp 1730218447 [16:42:50]current date 1730220184 [16:42:50]FM_GetShiftState [16:42:50]SAM_PROTO_GetShiftState [16:42:50]wFMCommunicate request_size=4 [16:42:50]MH_SAM_APDU [16:42:50]CAPDU: 80 13 01 00 [16:42:50]Write to MH i2c: E2 08 00 B9 3E 80 13 01 00 00 00 00 00 74 [16:42:50]Write i2c OK [16:42:50]MH_I2C_Read... [16:42:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:50]Read from MH i2c: E2 [16:42:50]MH_I2C_Read... [16:42:50]Read from MH i2c: E2 0E 00 [16:42:50]MH_I2C_Read... [16:42:50]Read from MH i2c: E2 0E 00 B9 3E 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 EA [16:42:50]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:42:50]wFMCommunicate OK [16:42:50]SAM_PROTO_GetShiftState done [16:42:50]FM_GetShiftState done [16:42:50]opened in 1730160317 [16:42:50]opened+sec_in_day 1730246717 [16:42:50]quantity*price = 14400 [16:42:50]sum+1 = 14401 [16:42:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 0.00 Безнал.: 144.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 54 29.10.2024 16:43 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37892 ФПД: 174596874395904 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T164304&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37892&fm=174596874395904&tin=02508201610067®Number=0000000000091684&sum=14400 0 [16:42:51]StoreToDocumentArchive [16:42:51]shift 552 fd 37892 [16:42:51]save to /storage/0552/doc_00037892 [16:42:51]save last doc name /storage/0552/doc_00037892 to /storage/kkm_last_doc_name [16:42:51]save OK [16:42:51]Clear old archive folders... [16:42:51]ProcessDocumentItem done err = 0, tmpTLVsize=273 [16:42:51]tlvbuf is 00323DD0 [16:42:51]SAM_PROTO_ClearQueue [16:42:51]wFMCommunicate request_size=4 [16:42:51]MH_SAM_APDU [16:42:51]CAPDU: 80 09 00 00 [16:42:51]Write to MH i2c: E2 08 00 C6 3E 80 09 00 00 00 00 00 00 76 [16:42:51]Write i2c OK [16:42:51]MH_I2C_Read... [16:42:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:42:51]Read from MH i2c: E2 [16:42:51]MH_I2C_Read... [16:42:51]Read from MH i2c: E2 03 00 [16:42:51]MH_I2C_Read... [16:42:51]Read from MH i2c: E2 03 00 C6 3E 00 90 00 78 [16:42:51]RAPDU: 90 00 [16:42:51]wFMCommunicate OK [16:42:51]SAM_PROTO_ClearQueue done [16:42:51]KKMCreateOFDPacket [16:42:51]OFDProtocolAddRootSTLVToBuf [16:42:51]FM_MakeSignedData [16:42:51]FM_MakeSignedData [16:42:51]SAM_PROTO_SignData [16:42:51]wFMCommunicate request_size=4 [16:42:51]MH_SAM_APDU [16:42:51]CAPDU: 80 0D 01 02 [16:42:51]Write to MH i2c: E2 08 00 C7 3E 80 0D 01 02 00 00 00 00 7E [16:42:51]Write i2c OK [16:42:51]MH_I2C_Read... [16:42:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:42:51]Read from MH i2c: E2 [16:42:51]MH_I2C_Read... [16:42:51]Read from MH i2c: E2 03 00 [16:42:51]MH_I2C_Read... [16:42:51]Read from MH i2c: E2 03 00 C7 3E 00 90 00 79 [16:42:51]RAPDU: 90 00 [16:42:51]wFMCommunicate OK [16:42:51]wFMCommunicate request_size=255 [16:42:51]MH_SAM_APDU [16:42:51]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 98 10 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [16:42:51]Write to MH i2c: E2 02 01 C8 3E 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 98 10 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 7B [16:42:51]Write i2c OK [16:42:51]MH_I2C_Read... [16:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:52]Read from MH i2c: E2 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 03 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 03 00 C8 3E 00 90 00 7A [16:42:52]RAPDU: 90 00 [16:42:52]wFMCommunicate OK [16:42:52]wFMCommunicate request_size=32 [16:42:52]MH_SAM_APDU [16:42:52]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 04 94 00 00 35 04 06 00 9E CB 80 AD 61 00 [16:42:52]Write to MH i2c: E2 23 00 C9 3E 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 04 94 00 00 35 04 06 00 9E CB 80 AD 61 00 00 00 6A [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:42:52]Read from MH i2c: E2 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 03 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 03 00 C9 3E 00 90 00 7B [16:42:52]RAPDU: 90 00 [16:42:52]wFMCommunicate OK [16:42:52]wFMCommunicate request_size=4 [16:42:52]MH_SAM_APDU [16:42:52]CAPDU: 80 0D 03 02 [16:42:52]Write to MH i2c: E2 08 00 CA 3E 80 0D 03 02 00 00 00 00 83 [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:42:52]Read from MH i2c: E2 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 0B 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 0B 00 CA 3E 00 44 C3 25 E0 B5 11 85 C6 90 00 A1 [16:42:52]RAPDU: 44 C3 25 E0 B5 11 85 C6 90 00 [16:42:52]wFMCommunicate OK [16:42:52]SAM_PROTO_SignData done [16:42:52]FM_MakeSignedData done [16:42:52]CreateOFDProtocolMessage [16:42:52]wFMCommunicate request_size=4 [16:42:52]MH_SAM_APDU [16:42:52]CAPDU: 80 11 00 00 [16:42:52]Write to MH i2c: E2 08 00 CB 3E 80 11 00 00 00 00 00 00 83 [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:52]Read from MH i2c: E2 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 17 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: E2 17 00 CB 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [16:42:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:52]wFMCommunicate OK [16:42:52]CreateOFDProtocolMessage done [16:42:52]OFDSenderStorePacket 37892 [16:42:52]StoreOFDPacket docnum=37892 [16:42:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 56 9D 1D 01 AA C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 98 10 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 04 94 00 00 35 04 06 00 9E CB 80 AD 61 00 44 C3 25 E0 B5 11 85 C6 [16:42:52]CheckFolder [16:42:52]dirname=/storage/ofd_packets [16:42:52]CheckFolder done [16:42:52]ProducePacketName [16:42:52]name=ofd_packets/00037892 [16:42:52]NVStorageSaveData ofd_packets/00037892 [16:42:52]File name is /storage/ofd_packets/00037892 [16:42:52]Write 323 bytes [16:42:52]NVStorageSaveData done [16:42:52]OFDSenderStorePacket done [16:42:52]KKMCreateOFDPacket done [16:42:52]NVStorageSaveData kkm_last_timestamp [16:42:52]File name is /storage/kkm_last_timestamp [16:42:52]Write 4 bytes [16:42:52]NVStorageSaveData done [16:42:52]ExternCall_PrintAddStr [16:42:52]wPrintStart [16:42:52]Write to MH i2c: 01 00 00 CC 3E 0A [16:42:52]Write i2c OK [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: 01 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: 01 07 00 [16:42:52]MH_I2C_Read... [16:42:52]Read from MH i2c: 01 07 00 CC 3E 00 00 00 00 00 FF 0F 1F [16:42:52]RasterBufferAndPrint [16:42:52]line Счет N : (3)35192 [16:42:52]line ИНН: 02508201610067 [16:42:52]line Контрольно-Кассовый Чек [16:42:52]line ПРОДАЖА [16:42:52]line Товар: 48743570 [16:42:52]line Сигареты Winston XStyle Blue [16:42:52]line 1.000 * 144.00 [16:42:52]line = 144.00 [16:42:52]line НДС 12% НСП 1% [16:42:52]line > о реализуемом товаре [16:42:52]line ИТОГО: 144.00 [16:42:52]line НСП 1% : 1.27 [16:42:52]line НДС 12% : 15.29 [16:42:52]line Наличными: 0.00 [16:42:52]line Безнал.: 144.00 [16:42:52]line Место: АЗС № 126 "Партнер Нефть" [16:42:52]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:42:52]line СНО: Общий режим [16:42:52]line Чек 54 29.10.2024 16:43 [16:42:52]line Смена: 552 ФФД: 1.0 [16:42:52]line ЗНМ: 0300000092 [16:42:52]line РНМ: 0000000000091684 [16:42:52]line Версия ККМ: 001 [16:42:52]line Платежная система: Mbank [16:42:52]line ФМ: 0000000000871841 [16:42:52]line ФД: 37892 [16:42:52]line ФПД: 174596874395904 [16:42:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T164304&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37892&fm=174596874395904&tin=02508201610067®Number=0000000000091684&sum=14400 [16:42:52]OFD Sender: Processing packet 37892 [packets to send 42, broken 41] [16:42:52]ProducePacketName [16:42:52]name=ofd_packets/00037892 [16:42:52]OFD Sender: To server: pG, [16:42:52]CommunicateWithHost lk.salyk.kg:30040 [16:42:52]ConnectInit lk.salyk.kg [16:42:52]line 0 [16:42:52]written 0, free lines is 4095 [16:42:53]Write to MH i2c: 01 00 00 F5 3E 33 [16:42:53]Write i2c OK [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: 01 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: 01 07 00 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: 01 07 00 F5 3E 00 00 00 00 00 B3 0C F9 [16:42:53]RasterBufferAndPrint [16:42:53]line [16:42:53]line [16:42:53]line [16:42:53]line [16:42:53]line [16:42:53]written 0, free lines is 3257 [16:42:53]MH_Cut [16:42:53]Write to MH i2c: D1 01 00 FC 3E 01 0C [16:42:53]Write i2c OK [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: D1 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: D1 01 00 [16:42:53]MH_I2C_Read... [16:42:53]Read from MH i2c: D1 01 00 FC 3E 00 0B [16:42:53]Write to MH i2c: 01 00 00 FD 3E 3B [16:42:53]Write i2c OK [16:42:53]MH_I2C_Read... [16:42:53]*** Cut start [16:42:53]*** Partial cut [16:42:53]*** CUTSNS_PIN = 1 [16:42:54]*** CUTSNS_PIN = 0 [16:42:54]*** Brake cut motor [16:42:54]Read from MH i2c: 01 [16:42:54]MH_I2C_Read... [16:42:54]*** Stop cut motor [16:42:54]*** Cut end [16:42:54]Read from MH i2c: 01 07 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: 01 07 00 FD 3E 00 00 00 00 00 FF 0F 50 [16:42:54]process_action close_receipt done [16:42:54]requested_data is exist [16:42:54]produce_requested_data [16:42:54]requested_item fm.sn is exist - process it [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 11 00 00 [16:42:54]Write to MH i2c: E2 08 00 FE 3E 80 11 00 00 00 00 00 00 B6 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 17 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 17 00 FE 3E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [16:42:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:42:54]wFMCommunicate OK [16:42:54]requested_item fd.num is exist - process it [16:42:54]SAM_PROTO_GetFieldsCounters [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 13 00 00 [16:42:54]Write to MH i2c: E2 08 00 FF 3E 80 13 00 00 00 00 00 00 B9 [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 62 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 62 00 FF 3E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 04 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [16:42:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 04 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 36 00 00 00 5E 04 04 00 36 00 00 00 57 04 04 00 37 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:42:54]wFMCommunicate OK [16:42:54]SAM_PROTO_GetFieldsCounters done [16:42:54]requested_item shift.num is exist - process it [16:42:54]requested_item shift.opened is exist - process it [16:42:54]req_shift_opened [16:42:54]FM_GetShiftState [16:42:54]SAM_PROTO_GetShiftState [16:42:54]wFMCommunicate request_size=4 [16:42:54]MH_SAM_APDU [16:42:54]CAPDU: 80 13 01 00 [16:42:54]Write to MH i2c: E2 08 00 00 3F 80 13 01 00 00 00 00 00 BC [16:42:54]Write i2c OK [16:42:54]MH_I2C_Read... [16:42:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:42:54]Read from MH i2c: E2 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0E 00 [16:42:54]MH_I2C_Read... [16:42:54]Read from MH i2c: E2 0E 00 00 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 32 [16:42:54]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:42:54]wFMCommunicate OK [16:42:54]SAM_PROTO_GetShiftState done [16:42:54]FM_GetShiftState done [16:42:54]req_shift_opened done [16:42:54]requested_item shift.open_date is exist - process it [16:42:54]req_shift_open_date [16:42:54]req_shift_open_date done [16:42:54]produce_requested_data done [16:42:54]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37892,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:42:54]process_action_free close_receipt [16:42:54]json_value_free [16:42:54]json_value_free done [16:42:54]process_json_proto returns [16:42:54]Send response to host [16:42:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37892,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:42:54]free response buf [16:42:54]execute_script done [16:42:54]execute_script returns [16:42:54]free content buf [16:42:54]Sock 10.Close socket [16:42:54]Sock 10.Thread stoped [16:42:55]Connected sock=11 [16:42:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 56 9D 1D 01 AA C8 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 38 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 36 00 00 00 F4 03 04 00 98 10 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 04 94 00 00 35 04 06 00 9E CB 80 AD 61 00 44 C3 25 E0 B5 11 85 C6 [16:42:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F5 ED 47 00 7F 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 04 94 00 00 F4 03 04 00 8C BB 20 67 B6 04 01 00 00 FE 08 8C D4 F2 10 85 D8 [16:42:55]CommunicateWithHost err = 0 [16:42:55]CheckOFDResponse [16:42:55]1017 (14) - 77093643461234 [16:42:55]1041 (16) - 0000000000871841 [16:42:55]1040 (4) - 37892 [16:42:55]1012 (4) - 29.10.2024 10:40 [16:42:55]1206 (1) - 0 [16:42:55]OFD Sender: Remove packet 37892 [16:42:55]ProducePacketName [16:42:55]name=ofd_packets/00037892 [16:42:55]NVStorageDeleteData [16:42:56]OFD Sender: No OFD packet to send [16:43:01]OFD Sender: No OFD packet to send [16:43:06]OFD Sender: No OFD packet to send [16:43:11]OFD Sender: No OFD packet to send [16:43:16]OFD Sender: No OFD packet to send [16:43:21]OFD Sender: No OFD packet to send [16:43:26]OFD Sender: No OFD packet to send [16:43:31]OFD Sender: No OFD packet to send [16:43:36]OFD Sender: No OFD packet to send [16:43:41]OFD Sender: No OFD packet to send [16:43:46]OFD Sender: No OFD packet to send [16:43:51]OFD Sender: No OFD packet to send [16:43:56]OFD Sender: No OFD packet to send [16:44:01]OFD Sender: No OFD packet to send [16:44:06]OFD Sender: No OFD packet to send [16:44:11]OFD Sender: No OFD packet to send [16:44:16]OFD Sender: No OFD packet to send [16:44:21]OFD Sender: No OFD packet to send [16:44:26]OFD Sender: No OFD packet to send [16:44:31]OFD Sender: No OFD packet to send [16:44:36]OFD Sender: No OFD packet to send [16:44:41]OFD Sender: No OFD packet to send [16:44:46]OFD Sender: No OFD packet to send [16:44:51]OFD Sender: No OFD packet to send [16:44:56]OFD Sender: No OFD packet to send [16:45:01]OFD Sender: No OFD packet to send [16:45:06]OFD Sender: No OFD packet to send [16:45:11]OFD Sender: No OFD packet to send [16:45:16]OFD Sender: No OFD packet to send [16:45:21]OFD Sender: No OFD packet to send [16:45:26]OFD Sender: No OFD packet to send [16:45:31]OFD Sender: No OFD packet to send [16:45:36]OFD Sender: No OFD packet to send [16:45:41]OFD Sender: No OFD packet to send [16:45:46]OFD Sender: No OFD packet to send [16:45:51]OFD Sender: No OFD packet to send [16:45:56]OFD Sender: No OFD packet to send [16:46:01]OFD Sender: No OFD packet to send [16:46:06]OFD Sender: No OFD packet to send [16:46:11]OFD Sender: No OFD packet to send [16:46:16]OFD Sender: No OFD packet to send [16:46:21]OFD Sender: No OFD packet to send [16:46:26]OFD Sender: No OFD packet to send [16:46:31]OFD Sender: No OFD packet to send [16:46:36]OFD Sender: No OFD packet to send [16:46:41]OFD Sender: No OFD packet to send [16:46:46]OFD Sender: No OFD packet to send [16:46:51]OFD Sender: No OFD packet to send [16:46:56]OFD Sender: No OFD packet to send [16:47:01]OFD Sender: No OFD packet to send [16:47:06]OFD Sender: No OFD packet to send [16:47:11]OFD Sender: No OFD packet to send [16:47:16]OFD Sender: No OFD packet to send [16:47:21]OFD Sender: No OFD packet to send [16:47:26]OFD Sender: No OFD packet to send [16:47:31]OFD Sender: No OFD packet to send [16:47:36]OFD Sender: No OFD packet to send [16:47:41]OFD Sender: No OFD packet to send [16:47:46]OFD Sender: No OFD packet to send [16:47:51]OFD Sender: No OFD packet to send [16:47:56]OFD Sender: No OFD packet to send [16:48:01]OFD Sender: No OFD packet to send [16:48:03]accept exits with 7 [16:48:03]New connection [16:48:03]New thread 3067440484 created [16:48:03]Thread 3067297124 joined [16:48:03]Waiting for new connection... [16:48:03] Sock 7.Parse request [16:48:03]Sock 7.Check first char [16:48:03]Sock 7.First char is OK [16:48:03]request: POST /json_proto HTTP/1.0 [16:48:03]Method: POST [16:48:03]URL: /json_proto [16:48:03]Method is POST - this is cgi request [16:48:03]url: /json_proto [16:48:03]query_string will be loaded in cgi processing [16:48:03]execute_cgi json_proto POST (null) [16:48:03]execute_cgi path=json_proto method=POST [16:48:03]POST find Content-Length [16:48:03]Host: 172.17.40.196:8080 [16:48:03]Content-Length: 656 [16:48:03]Content-Type: application/json [16:48:03] [16:48:03]POST finish read [16:48:03]Found Content-Length = 656 [16:48:03]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35193", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:48:03]execute_script... [16:48: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)35193", "tax_sys" : 0, "items" : [ { "code": "4600682557456", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FLash up energy \u044D\u043D \u0436/\u0431 0,5/0,45\u043B", "price" : 69.00, "quantity" : 2.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [16:48:03]POST & json_proto [16:48:03]process_json_proto [16:48:03]json parsed OK: [16:48:03]protocol is kg_v1.0 [16:48:03]action value=close_receipt [16:48:03]process_action close_receipt [16:48:03]cmd_close_receipt [16:48:03]MH_GetDate [16:48:03]Write to MH i2c: F0 00 00 01 3F 2F [16:48:03]Write i2c OK [16:48:03]MH_I2C_Read... [16:48:03]Read from MH i2c: F0 [16:48:03]MH_I2C_Read... [16:48:03]Read from MH i2c: F0 09 00 [16:48:03]MH_I2C_Read... [16:48:03]Read from MH i2c: F0 09 00 01 3F 00 D1 11 21 67 5B 68 A1 66 6C [16:48:03]GetLastDocTimeStamp 1730220184 [16:48:03]current date 1730220497 [16:48:03]FM_GetShiftState [16:48:03]SAM_PROTO_GetShiftState [16:48:03]wFMCommunicate request_size=4 [16:48:03]MH_SAM_APDU [16:48:03]CAPDU: 80 13 01 00 [16:48:03]Write to MH i2c: E2 08 00 02 3F 80 13 01 00 00 00 00 00 BE [16:48:03]Write i2c OK [16:48:03]MH_I2C_Read... [16:48:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:48:03]Read from MH i2c: E2 [16:48:03]MH_I2C_Read... [16:48:03]Read from MH i2c: E2 0E 00 [16:48:03]MH_I2C_Read... [16:48:03]Read from MH i2c: E2 0E 00 02 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 34 [16:48:03]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:48:03]wFMCommunicate OK [16:48:03]SAM_PROTO_GetShiftState done [16:48:03]FM_GetShiftState done [16:48:03]opened in 1730160317 [16:48:03]opened+sec_in_day 1730246717 [16:48:03]quantity*price = 13800 [16:48:03]sum+1 = 13801 [16:48:03]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 55 29.10.2024 16:48 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37893 ФПД: 128894962688290 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T164817&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37893&fm=128894962688290&tin=02508201610067®Number=0000000000091684&sum=13800 0 [16:48:04]StoreToDocumentArchive [16:48:04]shift 552 fd 37893 [16:48:04]save to /storage/0552/doc_00037893 [16:48:04]save last doc name /storage/0552/doc_00037893 to /storage/kkm_last_doc_name [16:48:04]save OK [16:48:04]Clear old archive folders... [16:48:04]ProcessDocumentItem done err = 0, tmpTLVsize=294 [16:48:04]tlvbuf is 0028A5F0 [16:48:04]SAM_PROTO_ClearQueue [16:48:04]wFMCommunicate request_size=4 [16:48:04]MH_SAM_APDU [16:48:04]CAPDU: 80 09 00 00 [16:48:04]Write to MH i2c: E2 08 00 0F 3F 80 09 00 00 00 00 00 00 C0 [16:48:04]Write i2c OK [16:48:04]MH_I2C_Read... [16:48:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:48:04]Read from MH i2c: E2 [16:48:04]MH_I2C_Read... [16:48:04]Read from MH i2c: E2 03 00 [16:48:04]MH_I2C_Read... [16:48:04]Read from MH i2c: E2 03 00 0F 3F 00 90 00 C2 [16:48:04]RAPDU: 90 00 [16:48:04]wFMCommunicate OK [16:48:04]SAM_PROTO_ClearQueue done [16:48:04]KKMCreateOFDPacket [16:48:04]OFDProtocolAddRootSTLVToBuf [16:48:04]FM_MakeSignedData [16:48:04]FM_MakeSignedData [16:48:04]SAM_PROTO_SignData [16:48:04]wFMCommunicate request_size=4 [16:48:04]MH_SAM_APDU [16:48:04]CAPDU: 80 0D 01 02 [16:48:04]Write to MH i2c: E2 08 00 10 3F 80 0D 01 02 00 00 00 00 C8 [16:48:04]Write i2c OK [16:48:04]MH_I2C_Read... [16:48:04]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:48:04]Read from MH i2c: E2 [16:48:04]MH_I2C_Read... [16:48:04]Read from MH i2c: E2 03 00 [16:48:04]MH_I2C_Read... [16:48:04]Read from MH i2c: E2 03 00 10 3F 00 90 00 C3 [16:48:04]RAPDU: 90 00 [16:48:04]wFMCommunicate OK [16:48:04]wFMCommunicate request_size=255 [16:48:04]MH_SAM_APDU [16:48:04]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 D1 11 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [16:48:04]Write to MH i2c: E2 02 01 11 3F 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 D1 11 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 D7 [16:48:04]Write i2c OK [16:48:04]MH_I2C_Read... [16:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:48:05]Read from MH i2c: E2 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 03 00 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 03 00 11 3F 00 90 00 C4 [16:48:05]RAPDU: 90 00 [16:48:05]wFMCommunicate OK [16:48:05]wFMCommunicate request_size=53 [16:48:05]MH_SAM_APDU [16:48:05]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 05 94 00 00 35 04 06 00 75 3A B2 76 E1 22 [16:48:05]Write to MH i2c: E2 38 00 12 3F 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 05 94 00 00 35 04 06 00 75 3A B2 76 E1 22 00 00 33 [16:48:05]Write i2c OK [16:48:05]MH_I2C_Read... [16:48:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:48:05]Read from MH i2c: E2 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 03 00 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 03 00 12 3F 00 90 00 C5 [16:48:05]RAPDU: 90 00 [16:48:05]wFMCommunicate OK [16:48:05]wFMCommunicate request_size=4 [16:48:05]MH_SAM_APDU [16:48:05]CAPDU: 80 0D 03 02 [16:48:05]Write to MH i2c: E2 08 00 13 3F 80 0D 03 02 00 00 00 00 CD [16:48:05]Write i2c OK [16:48:05]MH_I2C_Read... [16:48:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:48:05]Read from MH i2c: E2 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 0B 00 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 0B 00 13 3F 00 AA E2 F2 AA 1B AB 13 8C 90 00 5B [16:48:05]RAPDU: AA E2 F2 AA 1B AB 13 8C 90 00 [16:48:05]wFMCommunicate OK [16:48:05]SAM_PROTO_SignData done [16:48:05]FM_MakeSignedData done [16:48:05]CreateOFDProtocolMessage [16:48:05]wFMCommunicate request_size=4 [16:48:05]MH_SAM_APDU [16:48:05]CAPDU: 80 11 00 00 [16:48:05]Write to MH i2c: E2 08 00 14 3F 80 11 00 00 00 00 00 00 CD [16:48:05]Write i2c OK [16:48:05]MH_I2C_Read... [16:48:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:48:05]Read from MH i2c: E2 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 17 00 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: E2 17 00 14 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1D [16:48:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:48:05]wFMCommunicate OK [16:48:05]CreateOFDProtocolMessage done [16:48:05]OFDSenderStorePacket 37893 [16:48:05]StoreOFDPacket docnum=37893 [16:48:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 97 FB 32 01 1D 55 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 D1 11 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 05 94 00 00 35 04 06 00 75 3A B2 76 E1 22 AA E2 F2 AA 1B AB 13 8C [16:48:05]CheckFolder [16:48:05]dirname=/storage/ofd_packets [16:48:05]CheckFolder done [16:48:05]ProducePacketName [16:48:05]name=ofd_packets/00037893 [16:48:05]NVStorageSaveData ofd_packets/00037893 [16:48:05]File name is /storage/ofd_packets/00037893 [16:48:05]Write 344 bytes [16:48:05]NVStorageSaveData done [16:48:05]OFDSenderStorePacket done [16:48:05]KKMCreateOFDPacket done [16:48:05]NVStorageSaveData kkm_last_timestamp [16:48:05]File name is /storage/kkm_last_timestamp [16:48:05]Write 4 bytes [16:48:05]NVStorageSaveData done [16:48:05]ExternCall_PrintAddStr [16:48:05]wPrintStart [16:48:05]Write to MH i2c: 01 00 00 15 3F 54 [16:48:05]Write i2c OK [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: 01 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: 01 07 00 [16:48:05]MH_I2C_Read... [16:48:05]Read from MH i2c: 01 07 00 15 3F 00 00 00 00 00 FF 0F 69 [16:48:05]RasterBufferAndPrint [16:48:05]line Счет N : (3)35193 [16:48:05]line ИНН: 02508201610067 [16:48:05]line Контрольно-Кассовый Чек [16:48:05]line ПРОДАЖА [16:48:05]line Товар: 4600682557456 [16:48:05]line Напиток FLash up energy эн ж/б 0,5/0,45л [16:48:05]line 2.000 * 69.00 [16:48:05]line = 138.00 [16:48:05]line НДС 12% НСП 1% [16:48:05]line > о реализуемом товаре [16:48:05]line ИТОГО: 138.00 [16:48:05]line НСП 1% : 1.22 [16:48:05]line НДС 12% : 14.65 [16:48:05]line Наличными: 138.00 [16:48:05]line Безнал.: 0.00 [16:48:05]line Место: АЗС № 126 "Партнер Нефть" [16:48:05]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:48:05]line СНО: Общий режим [16:48:05]line Чек 55 29.10.2024 16:48 [16:48:05]line Смена: 552 ФФД: 1.0 [16:48:05]line ЗНМ: 0300000092 [16:48:05]line РНМ: 0000000000091684 [16:48:05]line Версия ККМ: 001 [16:48:05]line ФМ: 0000000000871841 [16:48:05]line ФД: 37893 [16:48:05]line ФПД: 128894962688290 [16:48:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T164817&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37893&fm=128894962688290&tin=02508201610067®Number=0000000000091684&sum=13800 [16:48:05]OFD Sender: Processing packet 37893 [packets to send 42, broken 41] [16:48:05]ProducePacketName [16:48:05]name=ofd_packets/00037893 [16:48:05]OFD Sender: To server: pG, [16:48:05]CommunicateWithHost lk.salyk.kg:30040 [16:48:05]ConnectInit lk.salyk.kg [16:48:05]line 0 [16:48:05]written 0, free lines is 4095 [16:48:06]Connected sock=10 [16:48:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 97 FB 32 01 1D 55 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 36 30 30 36 38 32 35 35 37 34 35 36 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 4C 61 73 68 20 75 70 20 65 6E 65 72 67 79 20 D1 8D D0 BD 20 D0 B6 2F D0 B1 20 30 2C 35 2F 30 2C 34 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 F4 1A 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 37 00 00 00 F4 03 04 00 D1 11 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 05 94 00 00 35 04 06 00 75 3A B2 76 E1 22 AA E2 F2 AA 1B AB 13 8C [16:48:06]Write to MH i2c: 01 00 00 3E 3F 7D [16:48:06]Write i2c OK [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: 01 [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: 01 07 00 [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: 01 07 00 3E 3F 00 00 00 00 00 BC 0C 4C [16:48:06]RasterBufferAndPrint [16:48:06]line [16:48:06]line [16:48:06]line [16:48:06]line [16:48:06]line [16:48:06]written 0, free lines is 3266 [16:48:06]MH_Cut [16:48:06]Write to MH i2c: D1 01 00 45 3F 01 56 [16:48:06]Write i2c OK [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: D1 [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: D1 01 00 [16:48:06]MH_I2C_Read... [16:48:06]Read from MH i2c: D1 01 00 45 3F 00 55 [16:48:06]Write to MH i2c: 01 00 00 46 3F 85 [16:48:06]Write i2c OK [16:48:06]MH_I2C_Read... [16:48:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 13 A4 47 00 72 69 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 05 94 00 00 F4 03 04 00 C2 BC 20 67 B6 04 01 00 00 B0 D8 B1 89 5C 20 92 86 [16:48:06]CommunicateWithHost err = 0 [16:48:06]CheckOFDResponse [16:48:06]1017 (14) - 77093643461234 [16:48:06]1041 (16) - 0000000000871841 [16:48:06]1040 (4) - 37893 [16:48:06]1012 (4) - 29.10.2024 10:45 [16:48:06]1206 (1) - 0 [16:48:06]OFD Sender: Remove packet 37893 [16:48:06]ProducePacketName [16:48:06]name=ofd_packets/00037893 [16:48:06]NVStorageDeleteData [16:48:07]OFD Sender: No OFD packet to send [16:48:07]*** Cut start [16:48:07]*** Partial cut [16:48:07]*** CUTSNS_PIN = 1 [16:48:07]*** CUTSNS_PIN = 0 [16:48:07]*** Brake cut motor [16:48:07]Read from MH i2c: 01 [16:48:07]MH_I2C_Read... [16:48:07]*** Stop cut motor [16:48:07]*** Cut end [16:48:07]Read from MH i2c: 01 07 00 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: 01 07 00 46 3F 00 00 00 00 00 FF 0F 9A [16:48:07]process_action close_receipt done [16:48:07]requested_data is exist [16:48:07]produce_requested_data [16:48:07]requested_item fm.sn is exist - process it [16:48:07]wFMCommunicate request_size=4 [16:48:07]MH_SAM_APDU [16:48:07]CAPDU: 80 11 00 00 [16:48:07]Write to MH i2c: E2 08 00 47 3F 80 11 00 00 00 00 00 00 00 [16:48:07]Write i2c OK [16:48:07]MH_I2C_Read... [16:48:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:48:07]Read from MH i2c: E2 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 17 00 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 17 00 47 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 50 [16:48:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:48:07]wFMCommunicate OK [16:48:07]requested_item fd.num is exist - process it [16:48:07]SAM_PROTO_GetFieldsCounters [16:48:07]wFMCommunicate request_size=4 [16:48:07]MH_SAM_APDU [16:48:07]CAPDU: 80 13 00 00 [16:48:07]Write to MH i2c: E2 08 00 48 3F 80 13 00 00 00 00 00 00 03 [16:48:07]Write i2c OK [16:48:07]MH_I2C_Read... [16:48:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:48:07]Read from MH i2c: E2 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 62 00 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 62 00 48 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 05 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [16:48:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 05 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 37 00 00 00 5E 04 04 00 37 00 00 00 57 04 04 00 38 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:48:07]wFMCommunicate OK [16:48:07]SAM_PROTO_GetFieldsCounters done [16:48:07]requested_item shift.num is exist - process it [16:48:07]requested_item shift.opened is exist - process it [16:48:07]req_shift_opened [16:48:07]FM_GetShiftState [16:48:07]SAM_PROTO_GetShiftState [16:48:07]wFMCommunicate request_size=4 [16:48:07]MH_SAM_APDU [16:48:07]CAPDU: 80 13 01 00 [16:48:07]Write to MH i2c: E2 08 00 49 3F 80 13 01 00 00 00 00 00 05 [16:48:07]Write i2c OK [16:48:07]MH_I2C_Read... [16:48:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:48:07]Read from MH i2c: E2 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 0E 00 [16:48:07]MH_I2C_Read... [16:48:07]Read from MH i2c: E2 0E 00 49 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7B [16:48:07]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:48:07]wFMCommunicate OK [16:48:07]SAM_PROTO_GetShiftState done [16:48:07]FM_GetShiftState done [16:48:07]req_shift_opened done [16:48:07]requested_item shift.open_date is exist - process it [16:48:07]req_shift_open_date [16:48:07]req_shift_open_date done [16:48:07]produce_requested_data done [16:48:07]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37893,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:48:07]process_action_free close_receipt [16:48:07]json_value_free [16:48:07]json_value_free done [16:48:07]process_json_proto returns [16:48:07]Send response to host [16:48:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37893,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:48:07]free response buf [16:48:07]execute_script done [16:48:07]execute_script returns [16:48:07]free content buf [16:48:07]Sock 7.Close socket [16:48:07]Sock 7.Thread stoped [16:48:12]OFD Sender: No OFD packet to send [16:48:17]OFD Sender: No OFD packet to send [16:48:22]OFD Sender: No OFD packet to send [16:48:27]OFD Sender: No OFD packet to send [16:48:32]OFD Sender: No OFD packet to send [16:48:37]OFD Sender: No OFD packet to send [16:48:42]OFD Sender: No OFD packet to send [16:48:47]OFD Sender: No OFD packet to send [16:48:52]OFD Sender: No OFD packet to send [16:48:57]OFD Sender: No OFD packet to send [16:49:02]OFD Sender: No OFD packet to send [16:49:07]OFD Sender: No OFD packet to send [16:49:12]OFD Sender: No OFD packet to send [16:49:17]OFD Sender: No OFD packet to send [16:49:22]OFD Sender: No OFD packet to send [16:49:27]OFD Sender: No OFD packet to send [16:49:32]OFD Sender: No OFD packet to send [16:49:37]OFD Sender: No OFD packet to send [16:49:42]OFD Sender: No OFD packet to send [16:49:47]OFD Sender: No OFD packet to send [16:49:52]OFD Sender: No OFD packet to send [16:49:57]OFD Sender: No OFD packet to send [16:50:02]OFD Sender: No OFD packet to send [16:50:07]OFD Sender: No OFD packet to send [16:50:12]OFD Sender: No OFD packet to send [16:50:17]OFD Sender: No OFD packet to send [16:50:22]OFD Sender: No OFD packet to send [16:50:27]OFD Sender: No OFD packet to send [16:50:32]OFD Sender: No OFD packet to send [16:50:37]OFD Sender: No OFD packet to send [16:50:42]OFD Sender: No OFD packet to send [16:50:47]OFD Sender: No OFD packet to send [16:50:52]OFD Sender: No OFD packet to send [16:50:57]OFD Sender: No OFD packet to send [16:51:02]OFD Sender: No OFD packet to send [16:51:07]OFD Sender: No OFD packet to send [16:51:12]OFD Sender: No OFD packet to send [16:51:17]OFD Sender: No OFD packet to send [16:51:22]OFD Sender: No OFD packet to send [16:51:27]OFD Sender: No OFD packet to send [16:51:32]OFD Sender: No OFD packet to send [16:51:37]OFD Sender: No OFD packet to send [16:51:42]OFD Sender: No OFD packet to send [16:51:47]OFD Sender: No OFD packet to send [16:51:52]OFD Sender: No OFD packet to send [16:51:57]OFD Sender: No OFD packet to send [16:52:02]OFD Sender: No OFD packet to send [16:52:07]OFD Sender: No OFD packet to send [16:52:12]OFD Sender: No OFD packet to send [16:52:17]OFD Sender: No OFD packet to send [16:52:22]OFD Sender: No OFD packet to send [16:52:27]OFD Sender: No OFD packet to send [16:52:32]OFD Sender: No OFD packet to send [16:52:37]OFD Sender: No OFD packet to send [16:52:42]OFD Sender: No OFD packet to send [16:52:47]OFD Sender: No OFD packet to send [16:52:52]OFD Sender: No OFD packet to send [16:52:57]OFD Sender: No OFD packet to send [16:53:02]OFD Sender: No OFD packet to send [16:53:07]OFD Sender: No OFD packet to send [16:53:12]OFD Sender: No OFD packet to send [16:53:17]OFD Sender: No OFD packet to send [16:53:22]OFD Sender: No OFD packet to send [16:53:27]OFD Sender: No OFD packet to send [16:53:32]OFD Sender: No OFD packet to send [16:53:37]OFD Sender: No OFD packet to send [16:53:42]OFD Sender: No OFD packet to send [16:53:47]OFD Sender: No OFD packet to send [16:53:52]OFD Sender: No OFD packet to send [16:53:57]OFD Sender: No OFD packet to send [16:54:02]OFD Sender: No OFD packet to send [16:54:07]OFD Sender: No OFD packet to send [16:54:12]OFD Sender: No OFD packet to send [16:54:17]OFD Sender: No OFD packet to send [16:54:22]OFD Sender: No OFD packet to send [16:54:27]OFD Sender: No OFD packet to send [16:54:32]OFD Sender: No OFD packet to send [16:54:37]OFD Sender: No OFD packet to send [16:54:42]OFD Sender: No OFD packet to send [16:54:47]OFD Sender: No OFD packet to send [16:54:52]OFD Sender: No OFD packet to send [16:54:57]OFD Sender: No OFD packet to send [16:55:02]OFD Sender: No OFD packet to send [16:55:07]OFD Sender: No OFD packet to send [16:55:09]accept exits with 9 [16:55:09]New connection [16:55:09]New thread 3067297124 created [16:55:09]Thread 3067440484 joined [16:55:09]Waiting for new connection... [16:55:09] Sock 9.Parse request [16:55:09]Sock 9.Check first char [16:55:09]Sock 9.First char is OK [16:55:09]request: POST /json_proto HTTP/1.0 [16:55:09]Method: POST [16:55:09]URL: /json_proto [16:55:09]Method is POST - this is cgi request [16:55:09]url: /json_proto [16:55:09]query_string will be loaded in cgi processing [16:55:09]execute_cgi json_proto POST (null) [16:55:09]execute_cgi path=json_proto method=POST [16:55:09]POST find Content-Length [16:55:09]Host: 172.17.40.196:8080 [16:55:09]Content-Length: 625 [16:55:09]Content-Type: application/json [16:55:09] [16:55:09]POST finish read [16:55:09]Found Content-Length = 625 [16:55:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35194", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "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" ] } } [16:55:09]execute_script... [16:55: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)35194", "tax_sys" : 0, "items" : [ { "code": "4640030092499", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE SENSE Himalaya", "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" ] } } [16:55:09]POST & json_proto [16:55:09]process_json_proto [16:55:09]json parsed OK: [16:55:09]protocol is kg_v1.0 [16:55:09]action value=close_receipt [16:55:09]process_action close_receipt [16:55:09]cmd_close_receipt [16:55:09]MH_GetDate [16:55:09]Write to MH i2c: F0 00 00 4A 3F 78 [16:55:09]Write i2c OK [16:55:09]MH_I2C_Read... [16:55:09]Read from MH i2c: F0 [16:55:09]MH_I2C_Read... [16:55:09]Read from MH i2c: F0 09 00 [16:55:09]MH_I2C_Read... [16:55:09]Read from MH i2c: F0 09 00 4A 3F 00 7B 13 21 67 5B 68 A1 66 61 [16:55:09]GetLastDocTimeStamp 1730220497 [16:55:09]current date 1730220923 [16:55:09]FM_GetShiftState [16:55:09]SAM_PROTO_GetShiftState [16:55:09]wFMCommunicate request_size=4 [16:55:09]MH_SAM_APDU [16:55:09]CAPDU: 80 13 01 00 [16:55:09]Write to MH i2c: E2 08 00 4B 3F 80 13 01 00 00 00 00 00 07 [16:55:09]Write i2c OK [16:55:09]MH_I2C_Read... [16:55:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:09]Read from MH i2c: E2 [16:55:09]MH_I2C_Read... [16:55:09]Read from MH i2c: E2 0E 00 [16:55:09]MH_I2C_Read... [16:55:09]Read from MH i2c: E2 0E 00 4B 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7D [16:55:09]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:55:09]wFMCommunicate OK [16:55:09]SAM_PROTO_GetShiftState done [16:55:09]FM_GetShiftState done [16:55:09]opened in 1730160317 [16:55:09]opened+sec_in_day 1730246717 [16:55:09]quantity*price = 15900 [16:55:09]sum+1 = 15901 [16:55:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 159.00 НСП 1% : 1.41 НДС 12% : 16.88 Наличными: 159.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 56 29.10.2024 16:55 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37894 ФПД: 81346718123066 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165523&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37894&fm=81346718123066&tin=02508201610067®Number=0000000000091684&sum=15900 0 [16:55:10]StoreToDocumentArchive [16:55:10]shift 552 fd 37894 [16:55:10]save to /storage/0552/doc_00037894 [16:55:10]save last doc name /storage/0552/doc_00037894 to /storage/kkm_last_doc_name [16:55:10]save OK [16:55:10]Clear old archive folders... [16:55:10]ProcessDocumentItem done err = 0, tmpTLVsize=278 [16:55:10]tlvbuf is 0021B6F0 [16:55:10]SAM_PROTO_ClearQueue [16:55:10]wFMCommunicate request_size=4 [16:55:10]MH_SAM_APDU [16:55:10]CAPDU: 80 09 00 00 [16:55:10]Write to MH i2c: E2 08 00 58 3F 80 09 00 00 00 00 00 00 09 [16:55:10]Write i2c OK [16:55:10]MH_I2C_Read... [16:55:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:55:10]Read from MH i2c: E2 [16:55:10]MH_I2C_Read... [16:55:10]Read from MH i2c: E2 03 00 [16:55:10]MH_I2C_Read... [16:55:10]Read from MH i2c: E2 03 00 58 3F 00 90 00 0B [16:55:10]RAPDU: 90 00 [16:55:10]wFMCommunicate OK [16:55:10]SAM_PROTO_ClearQueue done [16:55:10]KKMCreateOFDPacket [16:55:10]OFDProtocolAddRootSTLVToBuf [16:55:10]FM_MakeSignedData [16:55:10]FM_MakeSignedData [16:55:10]SAM_PROTO_SignData [16:55:10]wFMCommunicate request_size=4 [16:55:10]MH_SAM_APDU [16:55:10]CAPDU: 80 0D 01 02 [16:55:10]Write to MH i2c: E2 08 00 59 3F 80 0D 01 02 00 00 00 00 11 [16:55:10]Write i2c OK [16:55:10]MH_I2C_Read... [16:55:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:55:10]Read from MH i2c: E2 [16:55:10]MH_I2C_Read... [16:55:10]Read from MH i2c: E2 03 00 [16:55:10]MH_I2C_Read... [16:55:10]Read from MH i2c: E2 03 00 59 3F 00 90 00 0C [16:55:10]RAPDU: 90 00 [16:55:11]wFMCommunicate OK [16:55:11]wFMCommunicate request_size=255 [16:55:11]MH_SAM_APDU [16:55:11]CAPDU: 80 0D 02 02 FA 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 7B 13 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 [16:55:11]Write to MH i2c: E2 02 01 5A 3F 80 0D 02 02 FA 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 7B 13 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 00 00 38 [16:55:11]Write i2c OK [16:55:11]MH_I2C_Read... [16:55:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:11]Read from MH i2c: E2 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 03 00 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 03 00 5A 3F 00 90 00 0D [16:55:11]RAPDU: 90 00 [16:55:11]wFMCommunicate OK [16:55:11]wFMCommunicate request_size=37 [16:55:11]MH_SAM_APDU [16:55:11]CAPDU: 80 0D 02 02 20 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 06 94 00 00 35 04 06 00 49 FC 02 3C C4 3A [16:55:11]Write to MH i2c: E2 28 00 5B 3F 80 0D 02 02 20 00 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 06 94 00 00 35 04 06 00 49 FC 02 3C C4 3A 00 00 83 [16:55:11]Write i2c OK [16:55:11]MH_I2C_Read... [16:55:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:55:11]Read from MH i2c: E2 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 03 00 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 03 00 5B 3F 00 90 00 0E [16:55:11]RAPDU: 90 00 [16:55:11]wFMCommunicate OK [16:55:11]wFMCommunicate request_size=4 [16:55:11]MH_SAM_APDU [16:55:11]CAPDU: 80 0D 03 02 [16:55:11]Write to MH i2c: E2 08 00 5C 3F 80 0D 03 02 00 00 00 00 16 [16:55:11]Write i2c OK [16:55:11]MH_I2C_Read... [16:55:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:55:11]Read from MH i2c: E2 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 0B 00 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 0B 00 5C 3F 00 2A CB 06 3B F6 4E CE 0B 90 00 6A [16:55:11]RAPDU: 2A CB 06 3B F6 4E CE 0B 90 00 [16:55:11]wFMCommunicate OK [16:55:11]SAM_PROTO_SignData done [16:55:11]FM_MakeSignedData done [16:55:11]CreateOFDProtocolMessage [16:55:11]wFMCommunicate request_size=4 [16:55:11]MH_SAM_APDU [16:55:11]CAPDU: 80 11 00 00 [16:55:11]Write to MH i2c: E2 08 00 5D 3F 80 11 00 00 00 00 00 00 16 [16:55:11]Write i2c OK [16:55:11]MH_I2C_Read... [16:55:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:11]Read from MH i2c: E2 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 17 00 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: E2 17 00 5D 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 66 [16:55:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:55:11]wFMCommunicate OK [16:55:11]CreateOFDProtocolMessage done [16:55:11]OFDSenderStorePacket 37894 [16:55:11]StoreOFDPacket docnum=37894 [16:55:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 8D B6 22 01 AE FB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 38 00 00 00 F4 03 04 00 7B 13 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 06 94 00 00 35 04 06 00 49 FC 02 3C C4 3A 2A CB 06 3B F6 4E CE 0B [16:55:11]CheckFolder [16:55:11]dirname=/storage/ofd_packets [16:55:11]CheckFolder done [16:55:11]ProducePacketName [16:55:11]name=ofd_packets/00037894 [16:55:11]NVStorageSaveData ofd_packets/00037894 [16:55:11]File name is /storage/ofd_packets/00037894 [16:55:11]Write 328 bytes [16:55:11]NVStorageSaveData done [16:55:11]OFDSenderStorePacket done [16:55:11]KKMCreateOFDPacket done [16:55:11]NVStorageSaveData kkm_last_timestamp [16:55:11]File name is /storage/kkm_last_timestamp [16:55:11]Write 4 bytes [16:55:11]NVStorageSaveData done [16:55:11]ExternCall_PrintAddStr [16:55:11]wPrintStart [16:55:11]Write to MH i2c: 01 00 00 5E 3F 9D [16:55:11]OFD Sender: Processing packet 37894 [packets to send 42, broken 41] [16:55:11]ProducePacketName [16:55:11]name=ofd_packets/00037894 [16:55:11]OFD Sender: To server: pG, [16:55:11]CommunicateWithHost lk.salyk.kg:30040 [16:55:11]ConnectInit lk.salyk.kg [16:55:11]Write i2c OK [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: 01 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: 01 07 00 [16:55:11]MH_I2C_Read... [16:55:11]Read from MH i2c: 01 07 00 5E 3F 00 00 00 00 00 FF 0F B2 [16:55:11]RasterBufferAndPrint [16:55:11]line Счет N : (3)35194 [16:55:11]line ИНН: 02508201610067 [16:55:11]line Контрольно-Кассовый Чек [16:55:11]line ПРОДАЖА [16:55:11]line Товар: 4640030092499 [16:55:11]line Сигареты ESSE SENSE Himalaya [16:55:11]line 1.000 * 159.00 [16:55:11]line = 159.00 [16:55:11]line НДС 12% НСП 1% [16:55:11]line > о реализуемом товаре [16:55:11]line ИТОГО: 159.00 [16:55:11]line НСП 1% : 1.41 [16:55:11]line НДС 12% : 16.88 [16:55:11]line Наличными: 159.00 [16:55:11]line Безнал.: 0.00 [16:55:11]line Место: АЗС № 126 "Партнер Нефть" [16:55:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [16:55:11]line СНО: Общий режим [16:55:11]line Чек 56 29.10.2024 16:55 [16:55:11]line Смена: 552 ФФД: 1.0 [16:55:11]line ЗНМ: 0300000092 [16:55:11]line РНМ: 0000000000091684 [16:55:11]line Версия ККМ: 001 [16:55:11]line ФМ: 0000000000871841 [16:55:11]line ФД: 37894 [16:55:11]line ФПД: 81346718123066 [16:55:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T165523&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37894&fm=81346718123066&tin=02508201610067®Number=0000000000091684&sum=15900 [16:55:11]line 0 [16:55:11]Connected sock=10 [16:55:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2A 01 00 00 8D B6 22 01 AE FB 5A 03 01 00 03 00 16 01 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 32 34 39 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 53 53 45 20 53 45 4E 53 45 20 48 69 6D 61 6C 61 79 61 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 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 written 0, free lines is 4095 [16:55:11]04 02 00 01 00 12 04 04 00 38 00 00 00 F4 03 04 00 7B 13 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 06 94 00 00 35 04 06 00 49 FC 02 3C C4 3A 2A CB 06 3B F6 4E CE 0B [16:55:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 D5 F1 47 00 8C 6A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 06 94 00 00 F4 03 04 00 6C BE 20 67 B6 04 01 00 00 9F F3 53 92 6B FB B9 44 [16:55:12]CommunicateWithHost err = 0 [16:55:12]CheckOFDResponse [16:55:12]1017 (14) - 77093643461234 [16:55:12]1041 (16) - 0000000000871841 [16:55:12]1040 (4) - 37894 [16:55:12]1012 (4) - 29.10.2024 10:52 [16:55:12]1206 (1) - 0 [16:55:12]OFD Sender: Remove packet 37894 [16:55:12]ProducePacketName [16:55:12]name=ofd_packets/00037894 [16:55:12]NVStorageDeleteData [16:55:12]Write to MH i2c: 01 00 00 87 3F C6 [16:55:12]Write i2c OK [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: 01 [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: 01 07 00 [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: 01 07 00 87 3F 00 00 00 00 00 B8 0C 91 [16:55:12]RasterBufferAndPrint [16:55:12]line [16:55:12]line [16:55:12]line [16:55:12]line [16:55:12]line [16:55:12]written 0, free lines is 3262 [16:55:12]MH_Cut [16:55:12]Write to MH i2c: D1 01 00 8E 3F 01 9F [16:55:12]Write i2c OK [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: D1 [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: D1 01 00 [16:55:12]MH_I2C_Read... [16:55:12]Read from MH i2c: D1 01 00 8E 3F 00 9E [16:55:12]Write to MH i2c: 01 00 00 8F 3F CE [16:55:12]Write i2c OK [16:55:12]MH_I2C_Read... [16:55:12]OFD Sender: No OFD packet to send [16:55:13]*** Cut start [16:55:13]*** Partial cut [16:55:13]*** CUTSNS_PIN = 1 [16:55:13]*** CUTSNS_PIN = 0 [16:55:13]*** Brake cut motor [16:55:13]Read from MH i2c: 01 [16:55:13]MH_I2C_Read... [16:55:13]*** Stop cut motor [16:55:13]*** Cut end [16:55:13]Read from MH i2c: 01 07 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: 01 07 00 8F 3F 00 00 00 00 00 FF 0F E3 [16:55:13]process_action close_receipt done [16:55:13]requested_data is exist [16:55:13]produce_requested_data [16:55:13]requested_item fm.sn is exist - process it [16:55:13]wFMCommunicate request_size=4 [16:55:13]MH_SAM_APDU [16:55:13]CAPDU: 80 11 00 00 [16:55:13]Write to MH i2c: E2 08 00 90 3F 80 11 00 00 00 00 00 00 49 [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:55:13]Read from MH i2c: E2 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 17 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 17 00 90 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 99 [16:55:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [16:55:13]wFMCommunicate OK [16:55:13]requested_item fd.num is exist - process it [16:55:13]SAM_PROTO_GetFieldsCounters [16:55:13]wFMCommunicate request_size=4 [16:55:13]MH_SAM_APDU [16:55:13]CAPDU: 80 13 00 00 [16:55:13]Write to MH i2c: E2 08 00 91 3F 80 13 00 00 00 00 00 00 4C [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:55:13]Read from MH i2c: E2 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 62 00 [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 62 00 91 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 06 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 D9 [16:55:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 06 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 38 00 00 00 5E 04 04 00 38 00 00 00 57 04 04 00 39 00 00 00 19 04 04 00 00 00 00 00 90 00 [16:55:13]wFMCommunicate OK [16:55:13]SAM_PROTO_GetFieldsCounters done [16:55:13]requested_item shift.num is exist - process it [16:55:13]requested_item shift.opened is exist - process it [16:55:13]req_shift_opened [16:55:13]FM_GetShiftState [16:55:13]SAM_PROTO_GetShiftState [16:55:13]wFMCommunicate request_size=4 [16:55:13]MH_SAM_APDU [16:55:13]CAPDU: 80 13 01 00 [16:55:13]Write to MH i2c: E2 08 00 92 3F 80 13 01 00 00 00 00 00 4E [16:55:13]Write i2c OK [16:55:13]MH_I2C_Read... [16:55:13]Read from MH i2c: E2 [16:55:14]MH_I2C_Read... [16:55:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:55:14]Read from MH i2c: E2 0E 00 [16:55:14]MH_I2C_Read... [16:55:14]Read from MH i2c: E2 0E 00 92 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C4 [16:55:14]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [16:55:14]wFMCommunicate OK [16:55:14]SAM_PROTO_GetShiftState done [16:55:14]FM_GetShiftState done [16:55:14]req_shift_opened done [16:55:14]requested_item shift.open_date is exist - process it [16:55:14]req_shift_open_date [16:55:14]req_shift_open_date done [16:55:14]produce_requested_data done [16:55:14]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37894,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [16:55:14]process_action_free close_receipt [16:55:14]json_value_free [16:55:14]json_value_free done [16:55:14]process_json_proto returns [16:55:14]Send response to host [16:55:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37894,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [16:55:14]free response buf [16:55:14]execute_script done [16:55:14]execute_script returns [16:55:14]free content buf [16:55:14]Sock 9.Close socket [16:55:14]Sock 9.Thread stoped [16:55:17]OFD Sender: No OFD packet to send [16:55:22]OFD Sender: No OFD packet to send [16:55:27]OFD Sender: No OFD packet to send [16:55:32]OFD Sender: No OFD packet to send [16:55:37]OFD Sender: No OFD packet to send [16:55:42]OFD Sender: No OFD packet to send [16:55:47]OFD Sender: No OFD packet to send [16:55:52]OFD Sender: No OFD packet to send [16:55:57]OFD Sender: No OFD packet to send [16:56:02]OFD Sender: No OFD packet to send [16:56:07]OFD Sender: No OFD packet to send [16:56:12]OFD Sender: No OFD packet to send [16:56:17]OFD Sender: No OFD packet to send [16:56:22]OFD Sender: No OFD packet to send [16:56:27]OFD Sender: No OFD packet to send [16:56:32]OFD Sender: No OFD packet to send [16:56:37]OFD Sender: No OFD packet to send [16:56:42]OFD Sender: No OFD packet to send [16:56:47]OFD Sender: No OFD packet to send [16:56:52]OFD Sender: No OFD packet to send [16:56:57]OFD Sender: No OFD packet to send [16:57:02]OFD Sender: No OFD packet to send [16:57:07]OFD Sender: No OFD packet to send [16:57:12]OFD Sender: No OFD packet to send [16:57:17]OFD Sender: No OFD packet to send [16:57:22]OFD Sender: No OFD packet to send [16:57:27]OFD Sender: No OFD packet to send [16:57:32]OFD Sender: No OFD packet to send [16:57:37]OFD Sender: No OFD packet to send [16:57:42]OFD Sender: No OFD packet to send [16:57:47]OFD Sender: No OFD packet to send [16:57:52]OFD Sender: No OFD packet to send [16:57:57]OFD Sender: No OFD packet to send [16:58:02]OFD Sender: No OFD packet to send [16:58:07]OFD Sender: No OFD packet to send [16:58:12]OFD Sender: No OFD packet to send [16:58:17]OFD Sender: No OFD packet to send [16:58:22]OFD Sender: No OFD packet to send [16:58:27]OFD Sender: No OFD packet to send [16:58:32]OFD Sender: No OFD packet to send [16:58:37]OFD Sender: No OFD packet to send [16:58:42]OFD Sender: No OFD packet to send [16:58:47]OFD Sender: No OFD packet to send [16:58:52]OFD Sender: No OFD packet to send [16:58:57]OFD Sender: No OFD packet to send [16:59:02]OFD Sender: No OFD packet to send [16:59:07]OFD Sender: No OFD packet to send [16:59:12]OFD Sender: No OFD packet to send [16:59:17]OFD Sender: No OFD packet to send [16:59:22]OFD Sender: No OFD packet to send [16:59:27]OFD Sender: No OFD packet to send [16:59:32]OFD Sender: No OFD packet to send [16:59:37]OFD Sender: No OFD packet to send [16:59:42]OFD Sender: No OFD packet to send [16:59:47]OFD Sender: No OFD packet to send [16:59:52]OFD Sender: No OFD packet to send [16:59:57]OFD Sender: No OFD packet to send [17:00:02]OFD Sender: No OFD packet to send [17:00:07]OFD Sender: No OFD packet to send [17:00:12]OFD Sender: No OFD packet to send [17:00:17]OFD Sender: No OFD packet to send [17:00:22]OFD Sender: No OFD packet to send [17:00:27]OFD Sender: No OFD packet to send [17:00:32]OFD Sender: No OFD packet to send [17:00:38]OFD Sender: No OFD packet to send [17:00:43]OFD Sender: No OFD packet to send [17:00:48]OFD Sender: No OFD packet to send [17:00:53]OFD Sender: No OFD packet to send [17:00:58]OFD Sender: No OFD packet to send [17:01:03]OFD Sender: No OFD packet to send [17:01:08]OFD Sender: No OFD packet to send [17:01:13]OFD Sender: No OFD packet to send [17:01:18]OFD Sender: No OFD packet to send [17:01:23]OFD Sender: No OFD packet to send [17:01:28]OFD Sender: No OFD packet to send [17:01:33]OFD Sender: No OFD packet to send [17:01:38]OFD Sender: No OFD packet to send [17:01:43]OFD Sender: No OFD packet to send [17:01:48]OFD Sender: No OFD packet to send [17:01:53]OFD Sender: No OFD packet to send [17:01:58]OFD Sender: No OFD packet to send [17:01:59]accept exits with 7 [17:01:59]New connection [17:01:59]New thread 3067440484 created [17:01:59]Thread 3067297124 joined [17:01:59]Waiting for new connection... [17:01:59] Sock 7.Parse request [17:01:59]Sock 7.Check first char [17:01:59]Sock 7.First char is OK [17:01:59]request: POST /json_proto HTTP/1.0 [17:01:59]Method: POST [17:01:59]URL: /json_proto [17:01:59]Method is POST - this is cgi request [17:01:59]url: /json_proto [17:01:59]query_string will be loaded in cgi processing [17:01:59]execute_cgi json_proto POST (null) [17:01:59]execute_cgi path=json_proto method=POST [17:01:59]POST find Content-Length [17:01:59]Host: 172.17.40.196:8080 [17:01:59]Content-Length: 928 [17:01:59]Content-Type: application/json [17:01:59] [17:01:59]POST finish read [17:01:59]Found Content-Length = 928 [17:01:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35195", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:59]execute_script... [17:01: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)35195", "tax_sys" : 0, "items" : [ { "code": "4607065000790", "name": "\u0428\u043E\u043A M\u0026M`s \u0441 \u0430\u0440\u0430\u0445\u0438\u0441\u043E\u043C 45\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100977952", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0422\u0432\u0438\u043A\u0441 55\u0433", "price" : 54.00, "quantity" : 1.000, "sum" : 54.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 124.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:01:59]POST & json_proto [17:01:59]process_json_proto [17:01:59]json parsed OK: [17:01:59]protocol is kg_v1.0 [17:01:59]action value=close_receipt [17:01:59]process_action close_receipt [17:01:59]cmd_close_receipt [17:01:59]MH_GetDate [17:01:59]Write to MH i2c: F0 00 00 93 3F C1 [17:01:59]Write i2c OK [17:01:59]MH_I2C_Read... [17:01:59]Read from MH i2c: F0 [17:01:59]MH_I2C_Read... [17:01:59]Read from MH i2c: F0 09 00 [17:01:59]MH_I2C_Read... [17:01:59]Read from MH i2c: F0 09 00 93 3F 00 15 15 21 67 5B 68 A1 66 46 [17:01:59]GetLastDocTimeStamp 1730220923 [17:01:59]current date 1730221333 [17:01:59]FM_GetShiftState [17:01:59]SAM_PROTO_GetShiftState [17:01:59]wFMCommunicate request_size=4 [17:01:59]MH_SAM_APDU [17:01:59]CAPDU: 80 13 01 00 [17:01:59]Write to MH i2c: E2 08 00 94 3F 80 13 01 00 00 00 00 00 50 [17:01:59]Write i2c OK [17:01:59]MH_I2C_Read... [17:01:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:01:59]Read from MH i2c: E2 [17:01:59]MH_I2C_Read... [17:01:59]Read from MH i2c: E2 0E 00 [17:01:59]MH_I2C_Read... [17:01:59]Read from MH i2c: E2 0E 00 94 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C6 [17:01:59]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:01:59]wFMCommunicate OK [17:01:59]SAM_PROTO_GetShiftState done [17:01:59]FM_GetShiftState done [17:01:59]opened in 1730160317 [17:01:59]opened+sec_in_day 1730246717 [17:01:59]quantity*price = 7000 [17:01:59]sum+1 = 7001 [17:01:59]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4011100977952 Шок Батончик Твикс 55г 1.000 * 54.00 = 54.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 124.00 НСП 1% : 1.10 НДС 12% : 13.16 Наличными: 124.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 57 29.10.2024 17:02 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37895 ФПД: 9299794151951 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T170213&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37895&fm=9299794151951&tin=02508201610067®Number=0000000000091684&sum=12400 0 [17:02:00]StoreToDocumentArchive [17:02:00]shift 552 fd 37895 [17:02:00]save to /storage/0552/doc_00037895 [17:02:00]save last doc name /storage/0552/doc_00037895 to /storage/kkm_last_doc_name [17:02:00]save OK [17:02:00]Clear old archive folders... [17:02:00]ProcessDocumentItem done err = 0, tmpTLVsize=390 [17:02:00]tlvbuf is 0020FE80 [17:02:00]SAM_PROTO_ClearQueue [17:02:00]wFMCommunicate request_size=4 [17:02:00]MH_SAM_APDU [17:02:00]CAPDU: 80 09 00 00 [17:02:00]Write to MH i2c: E2 08 00 A1 3F 80 09 00 00 00 00 00 00 52 [17:02:00]Write i2c OK [17:02:00]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 A1 3F 00 90 00 54 [17:02:01]RAPDU: 90 00 [17:02:01]wFMCommunicate OK [17:02:01]SAM_PROTO_ClearQueue done [17:02:01]KKMCreateOFDPacket [17:02:01]OFDProtocolAddRootSTLVToBuf [17:02:01]FM_MakeSignedData [17:02:01]FM_MakeSignedData [17:02:01]SAM_PROTO_SignData [17:02:01]wFMCommunicate request_size=4 [17:02:01]MH_SAM_APDU [17:02:01]CAPDU: 80 0D 01 02 [17:02:01]Write to MH i2c: E2 08 00 A2 3F 80 0D 01 02 00 00 00 00 5A [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 A2 3F 00 90 00 55 [17:02:01]RAPDU: 90 00 [17:02:01]wFMCommunicate OK [17:02:01]wFMCommunicate request_size=255 [17:02:01]MH_SAM_APDU [17:02:01]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [17:02:01]Write to MH i2c: E2 02 01 A3 3F 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 63 [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 A3 3F 00 90 00 56 [17:02:01]RAPDU: 90 00 [17:02:01]wFMCommunicate OK [17:02:01]wFMCommunicate request_size=149 [17:02:01]MH_SAM_APDU [17:02:01]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 15 15 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 07 94 00 00 35 04 06 00 08 75 46 ED 4A 0F [17:02:01]Write to MH i2c: E2 98 00 A4 3F 80 0D 02 02 90 00 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 15 15 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 07 94 00 00 35 04 06 00 08 75 46 ED 4A 0F 00 00 9B [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 03 00 A4 3F 00 90 00 57 [17:02:01]RAPDU: 90 00 [17:02:01]wFMCommunicate OK [17:02:01]wFMCommunicate request_size=4 [17:02:01]MH_SAM_APDU [17:02:01]CAPDU: 80 0D 03 02 [17:02:01]Write to MH i2c: E2 08 00 A5 3F 80 0D 03 02 00 00 00 00 5F [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 0B 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 0B 00 A5 3F 00 D1 DD 28 90 36 91 64 73 90 00 64 [17:02:01]RAPDU: D1 DD 28 90 36 91 64 73 90 00 [17:02:01]wFMCommunicate OK [17:02:01]SAM_PROTO_SignData done [17:02:01]FM_MakeSignedData done [17:02:01]CreateOFDProtocolMessage [17:02:01]wFMCommunicate request_size=4 [17:02:01]MH_SAM_APDU [17:02:01]CAPDU: 80 11 00 00 [17:02:01]Write to MH i2c: E2 08 00 A6 3F 80 11 00 00 00 00 00 00 5F [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:02:01]Read from MH i2c: E2 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 17 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: E2 17 00 A6 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AF [17:02:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:02:01]wFMCommunicate OK [17:02:01]CreateOFDProtocolMessage done [17:02:01]OFDSenderStorePacket 37895 [17:02:01]StoreOFDPacket docnum=37895 [17:02:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 C4 EF 92 01 4F 33 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 15 15 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 07 94 00 00 35 04 06 00 08 75 46 ED 4A 0F D1 DD 28 90 36 91 64 73 [17:02:01]CheckFolder [17:02:01]dirname=/storage/ofd_packets [17:02:01]CheckFolder done [17:02:01]ProducePacketName [17:02:01]name=ofd_packets/00037895 [17:02:01]NVStorageSaveData ofd_packets/00037895 [17:02:01]File name is /storage/ofd_packets/00037895 [17:02:01]Write 440 bytes [17:02:01]NVStorageSaveData done [17:02:01]OFDSenderStorePacket done [17:02:01]KKMCreateOFDPacket done [17:02:01]NVStorageSaveData kkm_last_timestamp [17:02:01]File name is /storage/kkm_last_timestamp [17:02:01]Write 4 bytes [17:02:01]NVStorageSaveData done [17:02:01]ExternCall_PrintAddStr [17:02:01]wPrintStart [17:02:01]Write to MH i2c: 01 00 00 A7 3F E6 [17:02:01]Write i2c OK [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: 01 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: 01 07 00 [17:02:01]MH_I2C_Read... [17:02:01]Read from MH i2c: 01 07 00 A7 3F 00 00 00 00 00 FF 0F FB [17:02:01]RasterBufferAndPrint [17:02:01]line Счет N : (3)35195 [17:02:01]line ИНН: 02508201610067 [17:02:01]line Контрольно-Кассовый Чек [17:02:01]line ПРОДАЖА [17:02:01]line Товар: 4607065000790 [17:02:01]line Шок M&M`s с арахисом 45г [17:02:01]line 1.000 * 70.00 [17:02:01]line = 70.00 [17:02:01]line НДС 12% НСП 1% [17:02:01]line > о реализуемом товаре [17:02:01]line Товар: 4011100977952 [17:02:01]line Шок Батончик Твикс 55г [17:02:01]line 1.000 * 54.00 [17:02:01]line = 54.00 [17:02:01]line НДС 12% НСП 1% [17:02:01]line > о реализуемом товаре [17:02:01]line ИТОГО: 124.00 [17:02:01]line НСП 1% : 1.10 [17:02:01]line НДС 12% : 13.16 [17:02:01]line Наличными: 124.00 [17:02:01]line Безнал.: 0.00 [17:02:01]line Место: АЗС № 126 "Партнер Нефть" [17:02:01]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:02:01]line СНО: Общий режим [17:02:01]line Чек 57 29.10.2024 17:02 [17:02:01]line Смена: 552 ФФД: 1.0 [17:02:01]line ЗНМ: 0300000092 [17:02:01]line РНМ: 0000000000091684 [17:02:01]line Версия ККМ: 001 [17:02:01]line ФМ: 0000000000871841 [17:02:01]line ФД: 37895 [17:02:01]line ФПД: 9299794151951 [17:02:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T170213&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37895&fm=9299794151951&tin=02508201610067®Number=0000000000091684&sum=12400 [17:02:01]line 0 [17:02:01]OFD Sender: Processing packet 37895 [packets to send 42, broken 41] [17:02:01]ProducePacketName [17:02:01]name=ofd_packets/00037895 [17:02:01]OFD Sender: To server: pG, [17:02:01]CommunicateWithHost lk.salyk.kg:30040 [17:02:01]ConnectInit lk.salyk.kg [17:02:01]written 0, free lines is 4095 [17:02:02]Connected sock=10 [17:02:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 9A 01 00 00 C4 EF 92 01 4F 33 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 69 00 8A 04 0D 00 34 36 30 37 30 36 35 30 30 30 37 39 30 06 04 25 00 D0 A8 D0 BE D0 BA 20 4D 26 4D 60 73 20 D1 81 20 D0 B0 D1 80 D0 B0 D1 85 D0 B8 D1 81 D0 BE D0 BC 20 34 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 39 35 32 06 04 27 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A2 D0 B2 D0 B8 D0 BA D1 81 20 35 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 15 00 00 00 00 13 04 06 00 18 15 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 70 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 24 05 00 00 00 00 07 04 06 00 70 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 15 15 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 07 94 00 00 35 04 06 00 08 75 46 ED 4A 0F D1 DD 28 90 36 91 64 73 [17:02:02]Write to MH i2c: 01 00 00 D5 3F 14 [17:02:02]Write i2c OK [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: 01 [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: 01 07 00 [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: 01 07 00 D5 3F 00 00 00 00 00 64 0C 8B [17:02:02]RasterBufferAndPrint [17:02:02]line [17:02:02]line [17:02:02]line [17:02:02]line [17:02:02]line [17:02:02]written 0, free lines is 3180 [17:02:02]MH_Cut [17:02:02]Write to MH i2c: D1 01 00 DC 3F 01 ED [17:02:02]Write i2c OK [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: D1 [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: D1 01 00 [17:02:02]MH_I2C_Read... [17:02:02]Read from MH i2c: D1 01 00 DC 3F 00 EC [17:02:02]Write to MH i2c: 01 00 00 DD 3F 1C [17:02:02]Write i2c OK [17:02:02]MH_I2C_Read... [17:02:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 57 1C 47 00 94 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 07 94 00 00 F4 03 04 00 07 C0 20 67 B6 04 01 00 00 02 85 91 77 C2 A0 FB 39 [17:02:02]CommunicateWithHost err = 0 [17:02:02]CheckOFDResponse [17:02:02]1017 (14) - 77093643461234 [17:02:02]1041 (16) - 0000000000871841 [17:02:02]1040 (4) - 37895 [17:02:02]1012 (4) - 29.10.2024 10:59 [17:02:02]1206 (1) - 0 [17:02:02]OFD Sender: Remove packet 37895 [17:02:02]ProducePacketName [17:02:02]name=ofd_packets/00037895 [17:02:02]NVStorageDeleteData [17:02:03]OFD Sender: No OFD packet to send [17:02:03]*** Cut start [17:02:03]*** Partial cut [17:02:03]*** CUTSNS_PIN = 1 [17:02:03]*** CUTSNS_PIN = 0 [17:02:03]*** Brake cut motor [17:02:04]Read from MH i2c: 01 [17:02:04]MH_I2C_Read... [17:02:04]*** Stop cut motor [17:02:04]*** Cut end [17:02:04]Read from MH i2c: 01 07 00 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: 01 07 00 DD 3F 00 00 00 00 00 FF 0F 31 [17:02:04]process_action close_receipt done [17:02:04]requested_data is exist [17:02:04]produce_requested_data [17:02:04]requested_item fm.sn is exist - process it [17:02:04]wFMCommunicate request_size=4 [17:02:04]MH_SAM_APDU [17:02:04]CAPDU: 80 11 00 00 [17:02:04]Write to MH i2c: E2 08 00 DE 3F 80 11 00 00 00 00 00 00 97 [17:02:04]Write i2c OK [17:02:04]MH_I2C_Read... [17:02:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:02:04]Read from MH i2c: E2 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 17 00 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 17 00 DE 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E7 [17:02:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:02:04]wFMCommunicate OK [17:02:04]requested_item fd.num is exist - process it [17:02:04]SAM_PROTO_GetFieldsCounters [17:02:04]wFMCommunicate request_size=4 [17:02:04]MH_SAM_APDU [17:02:04]CAPDU: 80 13 00 00 [17:02:04]Write to MH i2c: E2 08 00 DF 3F 80 13 00 00 00 00 00 00 9A [17:02:04]Write i2c OK [17:02:04]MH_I2C_Read... [17:02:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:02:04]Read from MH i2c: E2 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 62 00 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 62 00 DF 3F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 07 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 2B [17:02:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 07 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 39 00 00 00 5E 04 04 00 39 00 00 00 57 04 04 00 3A 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:02:04]wFMCommunicate OK [17:02:04]SAM_PROTO_GetFieldsCounters done [17:02:04]requested_item shift.num is exist - process it [17:02:04]requested_item shift.opened is exist - process it [17:02:04]req_shift_opened [17:02:04]FM_GetShiftState [17:02:04]SAM_PROTO_GetShiftState [17:02:04]wFMCommunicate request_size=4 [17:02:04]MH_SAM_APDU [17:02:04]CAPDU: 80 13 01 00 [17:02:04]Write to MH i2c: E2 08 00 E0 3F 80 13 01 00 00 00 00 00 9C [17:02:04]Write i2c OK [17:02:04]MH_I2C_Read... [17:02:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:02:04]Read from MH i2c: E2 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 0E 00 [17:02:04]MH_I2C_Read... [17:02:04]Read from MH i2c: E2 0E 00 E0 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 12 [17:02:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:02:04]wFMCommunicate OK [17:02:04]SAM_PROTO_GetShiftState done [17:02:04]FM_GetShiftState done [17:02:04]req_shift_opened done [17:02:04]requested_item shift.open_date is exist - process it [17:02:04]req_shift_open_date [17:02:04]req_shift_open_date done [17:02:04]produce_requested_data done [17:02:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37895,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [17:02:04]process_action_free close_receipt [17:02:04]json_value_free [17:02:04]json_value_free done [17:02:04]process_json_proto returns [17:02:04]Send response to host [17:02:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37895,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [17:02:04]free response buf [17:02:04]execute_script done [17:02:04]execute_script returns [17:02:04]free content buf [17:02:04]Sock 7.Close socket [17:02:04]Sock 7.Thread stoped [17:02:08]OFD Sender: No OFD packet to send [17:02:13]OFD Sender: No OFD packet to send [17:02:18]OFD Sender: No OFD packet to send [17:02:23]OFD Sender: No OFD packet to send [17:02:28]OFD Sender: No OFD packet to send [17:02:33]OFD Sender: No OFD packet to send [17:02:38]OFD Sender: No OFD packet to send [17:02:43]OFD Sender: No OFD packet to send [17:02:48]OFD Sender: No OFD packet to send [17:02:53]OFD Sender: No OFD packet to send [17:02:58]OFD Sender: No OFD packet to send [17:03:03]OFD Sender: No OFD packet to send [17:03:08]OFD Sender: No OFD packet to send [17:03:13]OFD Sender: No OFD packet to send [17:03:18]OFD Sender: No OFD packet to send [17:03:23]OFD Sender: No OFD packet to send [17:03:28]OFD Sender: No OFD packet to send [17:03:33]OFD Sender: No OFD packet to send [17:03:38]OFD Sender: No OFD packet to send [17:03:43]OFD Sender: No OFD packet to send [17:03:48]OFD Sender: No OFD packet to send [17:03:53]OFD Sender: No OFD packet to send [17:03:58]OFD Sender: No OFD packet to send [17:04:03]OFD Sender: No OFD packet to send [17:04:08]OFD Sender: No OFD packet to send [17:04:13]OFD Sender: No OFD packet to send [17:04:18]OFD Sender: No OFD packet to send [17:04:23]OFD Sender: No OFD packet to send [17:04:28]OFD Sender: No OFD packet to send [17:04:33]OFD Sender: No OFD packet to send [17:04:38]OFD Sender: No OFD packet to send [17:04:43]OFD Sender: No OFD packet to send [17:04:48]OFD Sender: No OFD packet to send [17:04:53]OFD Sender: No OFD packet to send [17:04:58]OFD Sender: No OFD packet to send [17:05:03]OFD Sender: No OFD packet to send [17:05:08]OFD Sender: No OFD packet to send [17:05:13]OFD Sender: No OFD packet to send [17:05:18]OFD Sender: No OFD packet to send [17:05:23]OFD Sender: No OFD packet to send [17:05:28]OFD Sender: No OFD packet to send [17:05:33]OFD Sender: No OFD packet to send [17:05:38]OFD Sender: No OFD packet to send [17:05:43]OFD Sender: No OFD packet to send [17:05:48]OFD Sender: No OFD packet to send [17:05:53]OFD Sender: No OFD packet to send [17:05:58]OFD Sender: No OFD packet to send [17:06:03]OFD Sender: No OFD packet to send [17:06:08]OFD Sender: No OFD packet to send [17:06:13]OFD Sender: No OFD packet to send [17:06:18]OFD Sender: No OFD packet to send [17:06:23]OFD Sender: No OFD packet to send [17:06:28]OFD Sender: No OFD packet to send [17:06:33]OFD Sender: No OFD packet to send [17:06:38]OFD Sender: No OFD packet to send [17:06:43]OFD Sender: No OFD packet to send [17:06:48]OFD Sender: No OFD packet to send [17:09:13]OFD Sender: No OFD packet to send [17:09:18]OFD Sender: No OFD packet to send [17:09:23]OFD Sender: No OFD packet to send [17:09:28]OFD Sender: No OFD packet to send [17:09:33]OFD Sender: No OFD packet to send [17:09:38]OFD Sender: No OFD packet to send [17:09:43]OFD Sender: No OFD packet to send [17:09:48]OFD Sender: No OFD packet to send [17:09:53]OFD Sender: No OFD packet to send [17:09:58]OFD Sender: No OFD packet to send [17:10:03]OFD Sender: No OFD packet to send [17:10:08]OFD Sender: No OFD packet to send [17:10:13]OFD Sender: No OFD packet to send [17:10:18]OFD Sender: No OFD packet to send [17:10:23]OFD Sender: No OFD packet to send [17:10:28]OFD Sender: No OFD packet to send [17:10:33]OFD Sender: No OFD packet to send [17:10:38]OFD Sender: No OFD packet to send [17:10:43]OFD Sender: No OFD packet to send [17:10:48]OFD Sender: No OFD packet to send [17:10:53]OFD Sender: No OFD packet to send [17:10:58]OFD Sender: No OFD packet to send [17:11:03]OFD Sender: No OFD packet to send [17:11:08]OFD Sender: No OFD packet to send [17:11:13]OFD Sender: No OFD packet to send [17:11:18]OFD Sender: No OFD packet to send [17:11:23]OFD Sender: No OFD packet to send [17:11:25]ConnectInit Can't connect to host [17:11:28]OFD Sender: No OFD packet to send [17:11:38]OFD Sender: No OFD packet to send [17:11:43]OFD Sender: No OFD packet to send [17:11:48]OFD Sender: No OFD packet to send [17:11:53]OFD Sender: No OFD packet to send [17:11:58]OFD Sender: No OFD packet to send [17:12:03]OFD Sender: No OFD packet to send [17:12:08]OFD Sender: No OFD packet to send [17:12:13]OFD Sender: No OFD packet to send [17:12:18]OFD Sender: No OFD packet to send [17:12:23]OFD Sender: No OFD packet to send [17:12:28]OFD Sender: No OFD packet to send [17:12:33]OFD Sender: No OFD packet to send [17:12:38]OFD Sender: No OFD packet to send [17:12:43]OFD Sender: No OFD packet to send [17:12:48]OFD Sender: No OFD packet to send [17:12:53]OFD Sender: No OFD packet to send [17:12:58]OFD Sender: No OFD packet to send [17:13:03]OFD Sender: No OFD packet to send [17:13:08]OFD Sender: No OFD packet to send [17:13:13]OFD Sender: No OFD packet to send [17:13:18]OFD Sender: No OFD packet to send [17:13:23]OFD Sender: No OFD packet to send [17:13:28]OFD Sender: No OFD packet to send [17:13:33]OFD Sender: No OFD packet to send [17:13:38]OFD Sender: No OFD packet to send [17:13:43]OFD Sender: No OFD packet to send [17:13:48]ConnectInit Can't connect to host [17:13:48]OFD Sender: No OFD packet to send [17:13:53]OFD Sender: No OFD packet to send [17:13:58]OFD Sender: No OFD packet to send [17:14:03]OFD Sender: No OFD packet to send [17:15:19]OFD Sender: No OFD packet to send [17:15:24]OFD Sender: No OFD packet to send [17:15:29]OFD Sender: No OFD packet to send [17:15:34]OFD Sender: No OFD packet to send [17:15:39]OFD Sender: No OFD packet to send [17:15:44]OFD Sender: No OFD packet to send [17:15:49]OFD Sender: No OFD packet to send [17:15:54]OFD Sender: No OFD packet to send [17:15:59]OFD Sender: No OFD packet to send [17:16:04]OFD Sender: No OFD packet to send [17:16:09]OFD Sender: No OFD packet to send [17:16:14]OFD Sender: No OFD packet to send [17:16:19]OFD Sender: No OFD packet to send [17:16:24]OFD Sender: No OFD packet to send [17:16:29]OFD Sender: No OFD packet to send [17:16:34]OFD Sender: No OFD packet to send [17:16:39]OFD Sender: No OFD packet to send [17:16:44]OFD Sender: No OFD packet to send [17:16:49]OFD Sender: No OFD packet to send [17:16:54]OFD Sender: No OFD packet to send [17:16:59]OFD Sender: No OFD packet to send [17:17:04]OFD Sender: No OFD packet to send [17:17:09]OFD Sender: No OFD packet to send [17:17:14]OFD Sender: No OFD packet to send [17:17:19]OFD Sender: No OFD packet to send [17:17:24]OFD Sender: No OFD packet to send [17:17:28]ConnectInit Can't connect to host [17:17:29]OFD Sender: No OFD packet to send [17:17:34]OFD Sender: No OFD packet to send [17:17:39]OFD Sender: No OFD packet to send [17:17:44]OFD Sender: No OFD packet to send [17:17:49]OFD Sender: No OFD packet to send [17:17:54]OFD Sender: No OFD packet to send [17:17:59]OFD Sender: No OFD packet to send [17:18:04]OFD Sender: No OFD packet to send [17:18:09]OFD Sender: No OFD packet to send [17:18:14]OFD Sender: No OFD packet to send [17:18:19]OFD Sender: No OFD packet to send [17:18:29]OFD Sender: No OFD packet to send [17:18:34]OFD Sender: No OFD packet to send [17:18:39]OFD Sender: No OFD packet to send [17:18:44]OFD Sender: No OFD packet to send [17:18:49]OFD Sender: No OFD packet to send [17:18:54]OFD Sender: No OFD packet to send [17:18:59]OFD Sender: No OFD packet to send [17:19:04]OFD Sender: No OFD packet to send [17:19:09]OFD Sender: No OFD packet to send [17:19:14]OFD Sender: No OFD packet to send [17:19:19]OFD Sender: No OFD packet to send [17:19:24]OFD Sender: No OFD packet to send [17:19:29]OFD Sender: No OFD packet to send [17:19:34]OFD Sender: No OFD packet to send [17:19:39]OFD Sender: No OFD packet to send [17:19:44]OFD Sender: No OFD packet to send [17:19:49]OFD Sender: No OFD packet to send [17:19:54]OFD Sender: No OFD packet to send [17:19:59]OFD Sender: No OFD packet to send [17:20:04]OFD Sender: No OFD packet to send [17:20:09]OFD Sender: No OFD packet to send [17:20:14]OFD Sender: No OFD packet to send [17:20:19]OFD Sender: No OFD packet to send [17:20:24]OFD Sender: No OFD packet to send [17:20:29]OFD Sender: No OFD packet to send [17:20:34]OFD Sender: No OFD packet to send [17:20:38]ConnectInit Can't connect to host [17:20:39]OFD Sender: No OFD packet to send [17:20:44]OFD Sender: No OFD packet to send [17:20:49]OFD Sender: No OFD packet to send [17:20:54]OFD Sender: No OFD packet to send [17:20:59]OFD Sender: No OFD packet to send [17:21:04]OFD Sender: No OFD packet to send [17:21:09]OFD Sender: No OFD packet to send [17:21:14]OFD Sender: No OFD packet to send [17:21:19]OFD Sender: No OFD packet to send [17:21:24]OFD Sender: No OFD packet to send [17:21:29]OFD Sender: No OFD packet to send [17:21:34]OFD Sender: No OFD packet to send [17:21:39]OFD Sender: No OFD packet to send [17:21:44]OFD Sender: No OFD packet to send [17:21:49]OFD Sender: No OFD packet to send [17:21:54]OFD Sender: No OFD packet to send [17:21:59]OFD Sender: No OFD packet to send [17:22:04]OFD Sender: No OFD packet to send [17:22:09]OFD Sender: No OFD packet to send [17:22:14]OFD Sender: No OFD packet to send [17:22:19]OFD Sender: No OFD packet to send [17:22:24]OFD Sender: No OFD packet to send [17:22:29]OFD Sender: No OFD packet to send [17:22:34]OFD Sender: No OFD packet to send [17:22:39]OFD Sender: No OFD packet to send [17:22:44]OFD Sender: No OFD packet to send [17:22:49]OFD Sender: No OFD packet to send [17:22:54]OFD Sender: No OFD packet to send [17:22:59]OFD Sender: No OFD packet to send [17:23:04]OFD Sender: No OFD packet to send [17:23:04]accept exits with 9 [17:23:04]New connection [17:23:04]New thread 3067297124 created [17:23:04]Thread 3067440484 joined [17:23:04]Waiting for new connection... [17:23:04] Sock 9.Parse request [17:23:04]Sock 9.Check first char [17:23:04]Sock 9.First char is OK [17:23:04]request: POST /json_proto HTTP/1.0 [17:23:04]Method: POST [17:23:04]URL: /json_proto [17:23:04]Method is POST - this is cgi request [17:23:04]url: /json_proto [17:23:04]query_string will be loaded in cgi processing [17:23:04]execute_cgi json_proto POST (null) [17:23:04]execute_cgi path=json_proto method=POST [17:23:04]POST find Content-Length [17:23:04]Host: 172.17.40.196:8080 [17:23:04]Content-Length: 1968 [17:23:04]Content-Type: application/json [17:23:04] [17:23:04]POST finish read [17:23:04]Found Content-Length = 1968 [17:23:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35196", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "price" : 49.00, "quantity" : 3.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1002.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:04]execute_script... [17:23: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)35196", "tax_sys" : 0, "items" : [ { "code": "42203223", "name": "\u0414\u0440\u0430\u0436\u0435 Skittles 2\u04321", "price" : 49.00, "quantity" : 3.000, "sum" : 147.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000034250011", "name": "\u0413\u043E\u0440\u044F\u0447\u0438\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 (GABB trade)", "price" : 120.00, "quantity" : 2.000, "sum" : 240.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "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" : 3.000, "sum" : 165.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000160013", "name": "\u0421\u043D\u0435\u043A \u041A\u0443\u0440\u0443\u0442 \u0438\u043D\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043B\u044C\u043D\u044B\u0439", "price" : 15.00, "quantity" : 1.000, "sum" : 15.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1002.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:23:04]POST & json_proto [17:23:04]process_json_proto [17:23:04]json parsed OK: [17:23:04]protocol is kg_v1.0 [17:23:04]action value=close_receipt [17:23:04]process_action close_receipt [17:23:04]cmd_close_receipt [17:23:04]MH_GetDate [17:23:04]Write to MH i2c: F0 00 00 E1 3F 0F [17:23:04]Write i2c OK [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: F0 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: F0 09 00 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: F0 09 00 E1 3F 00 06 1A 21 67 5B 68 A1 66 8A [17:23:04]GetLastDocTimeStamp 1730221333 [17:23:04]current date 1730222598 [17:23:04]FM_GetShiftState [17:23:04]SAM_PROTO_GetShiftState [17:23:04]wFMCommunicate request_size=4 [17:23:04]MH_SAM_APDU [17:23:04]CAPDU: 80 13 01 00 [17:23:04]Write to MH i2c: E2 08 00 E2 3F 80 13 01 00 00 00 00 00 9E [17:23:04]Write i2c OK [17:23:04]MH_I2C_Read... [17:23:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:04]Read from MH i2c: E2 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: E2 0E 00 [17:23:04]MH_I2C_Read... [17:23:04]Read from MH i2c: E2 0E 00 E2 3F 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 14 [17:23:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:23:04]wFMCommunicate OK [17:23:04]SAM_PROTO_GetShiftState done [17:23:04]FM_GetShiftState done [17:23:04]opened in 1730160317 [17:23:04]opened+sec_in_day 1730246717 [17:23:04]quantity*price = 14700 [17:23:04]sum+1 = 14701 [17:23:04]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600452021095 Белый шоколад OZera Caramel 90г 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000034250011 Горячий шоколад (GABB trade) 2.000 * 120.00 = 240.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46146632 Р/ж Orbit XXL клубника,банан 20,4г 3.000 * 55.00 = 165.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700000160013 Снек Курут индивидуальный 1.000 * 15.00 = 15.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1002.00 НСП 1% : 8.86 НДС 12% : 106.40 Наличными: 1002.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 58 29.10.2024 17:23 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37896 ФПД: 19269146985159 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172319&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37896&fm=19269146985159&tin=02508201610067®Number=0000000000091684&sum=100200 0 [17:23:06]StoreToDocumentArchive [17:23:06]shift 552 fd 37896 [17:23:06]save to /storage/0552/doc_00037896 [17:23:06]save last doc name /storage/0552/doc_00037896 to /storage/kkm_last_doc_name [17:23:06]save OK [17:23:06]Clear old archive folders... [17:23:06]ProcessDocumentItem done err = 0, tmpTLVsize=826 [17:23:06]tlvbuf is 0029E7B0 [17:23:06]SAM_PROTO_ClearQueue [17:23:06]wFMCommunicate request_size=4 [17:23:06]MH_SAM_APDU [17:23:06]CAPDU: 80 09 00 00 [17:23:06]Write to MH i2c: E2 08 00 EF 3F 80 09 00 00 00 00 00 00 A0 [17:23:06]Write i2c OK [17:23:06]MH_I2C_Read... [17:23:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:23:06]Read from MH i2c: E2 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 EF 3F 00 90 00 A2 [17:23:06]RAPDU: 90 00 [17:23:06]wFMCommunicate OK [17:23:06]SAM_PROTO_ClearQueue done [17:23:06]KKMCreateOFDPacket [17:23:06]OFDProtocolAddRootSTLVToBuf [17:23:06]FM_MakeSignedData [17:23:06]FM_MakeSignedData [17:23:06]SAM_PROTO_SignData [17:23:06]wFMCommunicate request_size=4 [17:23:06]MH_SAM_APDU [17:23:06]CAPDU: 80 0D 01 02 [17:23:06]Write to MH i2c: E2 08 00 F0 3F 80 0D 01 02 00 00 00 00 A8 [17:23:06]Write i2c OK [17:23:06]MH_I2C_Read... [17:23:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:23:06]Read from MH i2c: E2 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 F0 3F 00 90 00 A3 [17:23:06]RAPDU: 90 00 [17:23:06]wFMCommunicate OK [17:23:06]wFMCommunicate request_size=255 [17:23:06]MH_SAM_APDU [17:23:06]CAPDU: 80 0D 02 02 FA 03 00 3A 03 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 24 13 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 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 [17:23:06]Write to MH i2c: E2 02 01 F1 3F 80 0D 02 02 FA 00 03 00 3A 03 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 24 13 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 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 00 00 63 [17:23:06]Write i2c OK [17:23:06]MH_I2C_Read... [17:23:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:06]Read from MH i2c: E2 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 [17:23:06]MH_I2C_Read... [17:23:06]Read from MH i2c: E2 03 00 F1 3F 00 90 00 A4 [17:23:06]RAPDU: 90 00 [17:23:06]wFMCommunicate OK [17:23:06]wFMCommunicate request_size=255 [17:23:06]MH_SAM_APDU [17:23:06]CAPDU: 80 0D 02 02 FA 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 [17:23:06]Write to MH i2c: E2 02 01 F2 3F 80 0D 02 02 FA 00 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 00 00 77 [17:23:06]Write i2c OK [17:23:06]MH_I2C_Read... [17:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:07]Read from MH i2c: E2 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 F2 3F 00 90 00 A5 [17:23:07]RAPDU: 90 00 [17:23:07]wFMCommunicate OK [17:23:07]wFMCommunicate request_size=255 [17:23:07]MH_SAM_APDU [17:23:07]CAPDU: 80 0D 02 02 FA 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 87 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 29 00 00 00 00 07 04 06 00 68 87 01 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 [17:23:07]Write to MH i2c: E2 02 01 F3 3F 80 0D 02 02 FA 00 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 87 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 29 00 00 00 00 07 04 06 00 68 87 01 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 00 50 [17:23:07]Write i2c OK [17:23:07]MH_I2C_Read... [17:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:07]Read from MH i2c: E2 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 F3 3F 00 90 00 A6 [17:23:07]RAPDU: 90 00 [17:23:07]wFMCommunicate OK [17:23:07]wFMCommunicate request_size=85 [17:23:07]MH_SAM_APDU [17:23:07]CAPDU: 80 0D 02 02 50 00 F4 03 04 00 07 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 08 94 00 00 35 04 06 00 11 86 72 A9 42 C7 [17:23:07]Write to MH i2c: E2 58 00 F4 3F 80 0D 02 02 50 00 00 F4 03 04 00 07 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 08 94 00 00 35 04 06 00 11 86 72 A9 42 C7 00 00 1D [17:23:07]Write i2c OK [17:23:07]MH_I2C_Read... [17:23:07]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:23:07]Read from MH i2c: E2 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 03 00 F4 3F 00 90 00 A7 [17:23:07]RAPDU: 90 00 [17:23:07]wFMCommunicate OK [17:23:07]wFMCommunicate request_size=4 [17:23:07]MH_SAM_APDU [17:23:07]CAPDU: 80 0D 03 02 [17:23:07]Write to MH i2c: E2 08 00 F5 3F 80 0D 03 02 00 00 00 00 AF [17:23:07]Write i2c OK [17:23:07]MH_I2C_Read... [17:23:07]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:23:07]Read from MH i2c: E2 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 0B 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 0B 00 F5 3F 00 D8 CE A0 C8 15 DE 97 40 90 00 88 [17:23:07]RAPDU: D8 CE A0 C8 15 DE 97 40 90 00 [17:23:07]wFMCommunicate OK [17:23:07]SAM_PROTO_SignData done [17:23:07]FM_MakeSignedData done [17:23:07]CreateOFDProtocolMessage [17:23:07]wFMCommunicate request_size=4 [17:23:07]MH_SAM_APDU [17:23:07]CAPDU: 80 11 00 00 [17:23:07]Write to MH i2c: E2 08 00 F6 3F 80 11 00 00 00 00 00 00 AF [17:23:07]Write i2c OK [17:23:07]MH_I2C_Read... [17:23:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:07]Read from MH i2c: E2 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 17 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: E2 17 00 F6 3F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FF [17:23:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:23:07]wFMCommunicate OK [17:23:07]CreateOFDProtocolMessage done [17:23:07]OFDSenderStorePacket 37896 [17:23:07]StoreOFDPacket docnum=37896 [17:23:07]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4E 03 00 00 E6 D8 46 03 8E 9B 5A 03 01 00 03 00 3A 03 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 24 13 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 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 87 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 29 00 00 00 00 07 04 06 00 68 87 01 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 07 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 08 94 00 00 35 04 06 00 11 86 72 A9 42 C7 D8 CE A0 C8 15 DE 97 40 [17:23:07]CheckFolder [17:23:07]dirname=/storage/ofd_packets [17:23:07]CheckFolder done [17:23:07]ProducePacketName [17:23:07]name=ofd_packets/00037896 [17:23:07]NVStorageSaveData ofd_packets/00037896 [17:23:07]File name is /storage/ofd_packets/00037896 [17:23:07]Write 876 bytes [17:23:07]NVStorageSaveData done [17:23:07]OFDSenderStorePacket done [17:23:07]KKMCreateOFDPacket done [17:23:07]NVStorageSaveData kkm_last_timestamp [17:23:07]File name is /storage/kkm_last_timestamp [17:23:07]Write 4 bytes [17:23:07]NVStorageSaveData done [17:23:07]ExternCall_PrintAddStr [17:23:07]wPrintStart [17:23:07]Write to MH i2c: 01 00 00 F7 3F 36 [17:23:07]Write i2c OK [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: 01 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: 01 07 00 [17:23:07]MH_I2C_Read... [17:23:07]Read from MH i2c: 01 07 00 F7 3F 00 00 00 00 00 FF 0F 4B [17:23:07]RasterBufferAndPrint [17:23:07]line Счет N : (3)35196 [17:23:07]line ИНН: 02508201610067 [17:23:07]line Контрольно-Кассовый Чек [17:23:07]line ПРОДАЖА [17:23:07]line Товар: 42203223 [17:23:07]line Драже Skittles 2в1 [17:23:07]line 3.000 * 49.00 [17:23:07]line = 147.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line Товар: 4600452021095 [17:23:07]line Белый шоколад OZera Caramel 90г [17:23:07]line 2.000 * 130.00 [17:23:07]line = 260.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line Товар: 2000034250011 [17:23:07]line Горячий шоколад (GABB trade) [17:23:07]line 2.000 * 120.00 [17:23:07]line = 240.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line Товар: 4870002329487 [17:23:07]line Напиток Pepsi 1,5л [17:23:07]line 1.000 * 175.00 [17:23:07]line = 175.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line Товар: 46146632 [17:23:07]line Р/ж Orbit XXL клубника,банан 20,4г [17:23:07]line 3.000 * 55.00 [17:23:07]line = 165.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line Товар: 4700000160013 [17:23:07]line Снек Курут индивидуальный [17:23:07]line 1.000 * 15.00 [17:23:07]line = 15.00 [17:23:07]line НДС 12% НСП 1% [17:23:07]line > о реализуемом товаре [17:23:07]line ИТОГО: 1002.00 [17:23:07]line НСП 1% : 8.86 [17:23:07]line НДС 12% : 106.40 [17:23:07]line Наличными: 1002.00 [17:23:07]line Безнал.: 0.00 [17:23:07]line Место: АЗС № 126 "Партнер Нефть" [17:23:07]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:23:07]line СНО: Общий режим [17:23:07]line Чек 58 29.10.2024 17:23 [17:23:07]line Смена: 552 ФФД: 1.0 [17:23:07]line ЗНМ: 0300000092 [17:23:07]line РНМ: 0000000000091684 [17:23:07]line Версия ККМ: 001 [17:23:07]line ФМ: 0000000000871841 [17:23:07]line ФД: 37896 [17:23:07]line ФПД: 19269146985159 [17:23:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172319&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37896&fm=19269146985159&tin=02508201610067®Number=0000000000091684&sum=100200 [17:23:07]OFD Sender: Processing packet 37896 [packets to send 42, broken 41] [17:23:07]ProducePacketName [17:23:07]name=ofd_packets/00037896 [17:23:07]OFD Sender: To server: pG, [17:23:07]CommunicateWithHost lk.salyk.kg:30040 [17:23:07]ConnectInit lk.salyk.kg [17:23:07]line 0 [17:23:07]written 0, free lines is 4095 [17:23:08]Connected sock=10 [17:23:08]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4E 03 00 00 E6 D8 46 03 8E 9B 5A 03 01 00 03 00 3A 03 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 32 32 30 33 32 32 33 06 04 18 00 D0 94 D1 80 D0 B0 D0 B6 D0 B5 20 53 6B 69 74 74 6C 65 73 20 32 D0 B2 31 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 24 13 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 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 90 65 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6E 00 8A 04 0D 00 32 30 30 30 30 33 34 32 35 30 30 31 31 06 04 2A 00 D0 93 D0 BE D1 80 D1 8F D1 87 D0 B8 D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 28 47 41 42 42 20 74 72 61 64 65 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 C0 5D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 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 B8 0B 00 00 00 00 00 37 04 06 00 7C 15 00 00 00 00 13 04 06 00 74 40 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 74 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 31 33 06 04 30 00 D0 A1 D0 BD D0 B5 D0 BA 20 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 B8 D0 BD D0 B4 D0 B8 D0 B2 D0 B8 D0 B4 D1 83 D0 B0 D0 BB D1 8C D0 BD D1 8B D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 05 00 00 00 00 13 04 06 00 DC 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 68 87 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 29 00 00 00 00 07 04 06 00 68 87 01 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 07 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 08 94 00 00 35 04 06 00 11 86 72 A9 42 C7 D8 CE A0 C8 15 DE 97 40 [17:23:08]Write to MH i2c: 01 00 00 40 40 80 [17:23:08]Write i2c OK [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: 01 [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: 01 07 00 [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: 01 07 00 40 40 00 00 00 00 00 B8 0A 49 [17:23:08]RasterBufferAndPrint [17:23:08]line [17:23:08]line [17:23:08]line [17:23:08]line [17:23:08]line [17:23:08]written 0, free lines is 2752 [17:23:08]MH_Cut [17:23:08]Write to MH i2c: D1 01 00 47 40 01 59 [17:23:08]Write i2c OK [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: D1 [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: D1 01 00 [17:23:08]MH_I2C_Read... [17:23:08]Read from MH i2c: D1 01 00 47 40 00 58 [17:23:08]Write to MH i2c: 01 00 00 48 40 88 [17:23:08]Write i2c OK [17:23:08]MH_I2C_Read... [17:23:09]*** Cut start [17:23:09]*** Partial cut [17:23:09]*** CUTSNS_PIN = 1 [17:23:09]*** CUTSNS_PIN = 0 [17:23:10]*** Brake cut motor [17:23:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 28 CF 47 00 CD D5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 08 94 00 00 F4 03 04 00 F9 C4 20 67 B6 04 01 00 00 6C 4E 13 0A D1 87 C3 12 [17:23:10]CommunicateWithHost err = 0 [17:23:10]CheckOFDResponse [17:23:10]1017 (14) - 77093643461234 [17:23:10]1041 (16) - 0000000000871841 [17:23:10]1040 (4) - 37896 [17:23:10]1012 (4) - 29.10.2024 11:20 [17:23:10]1206 (1) - 0 [17:23:10]OFD Sender: Remove packet 37896 [17:23:10]ProducePacketName [17:23:10]name=ofd_packets/00037896 [17:23:10]NVStorageDeleteData [17:23:10]Read from MH i2c: 01 [17:23:10]MH_I2C_Read... [17:23:10]*** Stop cut motor [17:23:10]*** Cut end [17:23:10]Read from MH i2c: 01 07 00 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: 01 07 00 48 40 00 00 00 00 00 FF 0F 9D [17:23:10]process_action close_receipt done [17:23:10]requested_data is exist [17:23:10]produce_requested_data [17:23:10]requested_item fm.sn is exist - process it [17:23:10]wFMCommunicate request_size=4 [17:23:10]MH_SAM_APDU [17:23:10]CAPDU: 80 11 00 00 [17:23:10]Write to MH i2c: E2 08 00 49 40 80 11 00 00 00 00 00 00 03 [17:23:10]Write i2c OK [17:23:10]MH_I2C_Read... [17:23:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:23:10]Read from MH i2c: E2 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 17 00 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 17 00 49 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 53 [17:23:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:23:10]wFMCommunicate OK [17:23:10]requested_item fd.num is exist - process it [17:23:10]SAM_PROTO_GetFieldsCounters [17:23:10]wFMCommunicate request_size=4 [17:23:10]MH_SAM_APDU [17:23:10]CAPDU: 80 13 00 00 [17:23:10]Write to MH i2c: E2 08 00 4A 40 80 13 00 00 00 00 00 00 06 [17:23:10]Write i2c OK [17:23:10]MH_I2C_Read... [17:23:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:23:10]Read from MH i2c: E2 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 62 00 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 62 00 4A 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 08 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [17:23:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 08 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3A 00 00 00 5E 04 04 00 3A 00 00 00 57 04 04 00 3B 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:23:10]wFMCommunicate OK [17:23:10]SAM_PROTO_GetFieldsCounters done [17:23:10]requested_item shift.num is exist - process it [17:23:10]requested_item shift.opened is exist - process it [17:23:10]req_shift_opened [17:23:10]FM_GetShiftState [17:23:10]SAM_PROTO_GetShiftState [17:23:10]wFMCommunicate request_size=4 [17:23:10]MH_SAM_APDU [17:23:10]CAPDU: 80 13 01 00 [17:23:10]Write to MH i2c: E2 08 00 4B 40 80 13 01 00 00 00 00 00 08 [17:23:10]OFD Sender: No OFD packet to send [17:23:10]Write i2c OK [17:23:10]MH_I2C_Read... [17:23:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:23:10]Read from MH i2c: E2 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 0E 00 [17:23:10]MH_I2C_Read... [17:23:10]Read from MH i2c: E2 0E 00 4B 40 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7E [17:23:10]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:23:10]wFMCommunicate OK [17:23:10]SAM_PROTO_GetShiftState done [17:23:10]FM_GetShiftState done [17:23:10]req_shift_opened done [17:23:10]requested_item shift.open_date is exist - process it [17:23:10]req_shift_open_date [17:23:10]req_shift_open_date done [17:23:10]produce_requested_data done [17:23:10]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37896,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [17:23:10]process_action_free close_receipt [17:23:10]json_value_free [17:23:10]json_value_free done [17:23:10]process_json_proto returns [17:23:10]Send response to host [17:23:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37896,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [17:23:10]free response buf [17:23:10]execute_script done [17:23:10]execute_script returns [17:23:10]free content buf [17:23:10]Sock 9.Close socket [17:23:10]Sock 9.Thread stoped [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:41]accept exits with 7 [17:25:41]New connection [17:25:41]New thread 3067440484 created [17:25:41]Thread 3067297124 joined [17:25:41]Waiting for new connection... [17:25:41] Sock 7.Parse request [17:25:41]Sock 7.Check first char [17:25:41]Sock 7.First char is OK [17:25:41]request: POST /json_proto HTTP/1.0 [17:25:41]Method: POST [17:25:41]URL: /json_proto [17:25:41]Method is POST - this is cgi request [17:25:41]url: /json_proto [17:25:41]query_string will be loaded in cgi processing [17:25:41]execute_cgi json_proto POST (null) [17:25:41]execute_cgi path=json_proto method=POST [17:25:41]POST find Content-Length [17:25:41]Host: 172.17.40.196:8080 [17:25:41]Content-Length: 680 [17:25:41]Content-Type: application/json [17:25:41] [17:25:41]POST finish read [17:25:41]Found Content-Length = 680 [17:25:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35197", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:25:41]execute_script... [17:25: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)35197", "tax_sys" : 0, "items" : [ { "code": "4700003010353", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Let`s Go! \u0441/\u0441 \u0433\u0440\u0443\u0448\u0430 \u041F\u042D\u0422 1\u043B", "price" : 80.00, "quantity" : 2.000, "sum" : 160.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 160.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [17:25:41]POST & json_proto [17:25:41]process_json_proto [17:25:41]json parsed OK: [17:25:41]protocol is kg_v1.0 [17:25:41]action value=close_receipt [17:25:41]process_action close_receipt [17:25:41]cmd_close_receipt [17:25:41]MH_GetDate [17:25:41]Write to MH i2c: F0 00 00 4C 40 7B [17:25:41]Write i2c OK [17:25:41]MH_I2C_Read... [17:25:41]Read from MH i2c: F0 [17:25:41]MH_I2C_Read... [17:25:41]Read from MH i2c: F0 09 00 [17:25:41]MH_I2C_Read... [17:25:41]Read from MH i2c: F0 09 00 4C 40 00 A4 1A 21 67 5B 68 A1 66 94 [17:25:41]GetLastDocTimeStamp 1730222599 [17:25:41]current date 1730222756 [17:25:41]FM_GetShiftState [17:25:41]SAM_PROTO_GetShiftState [17:25:41]wFMCommunicate request_size=4 [17:25:41]MH_SAM_APDU [17:25:41]CAPDU: 80 13 01 00 [17:25:41]Write to MH i2c: E2 08 00 4D 40 80 13 01 00 00 00 00 00 0A [17:25:41]Write i2c OK [17:25:41]MH_I2C_Read... [17:25:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:25:42]Read from MH i2c: E2 [17:25:42]MH_I2C_Read... [17:25:42]Read from MH i2c: E2 0E 00 [17:25:42]MH_I2C_Read... [17:25:42]Read from MH i2c: E2 0E 00 4D 40 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 80 [17:25:42]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:25:42]wFMCommunicate OK [17:25:42]SAM_PROTO_GetShiftState done [17:25:42]FM_GetShiftState done [17:25:42]opened in 1730160317 [17:25:42]opened+sec_in_day 1730246717 [17:25:42]quantity*price = 16000 [17:25:42]sum+1 = 16001 [17:25:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 160.00 НСП 1% : 1.42 НДС 12% : 16.99 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 59 29.10.2024 17:25 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37897 ФПД: 81594293592028 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172556&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37897&fm=81594293592028&tin=02508201610067®Number=0000000000091684&sum=16000 0 [17:25:43]StoreToDocumentArchive [17:25:43]shift 552 fd 37897 [17:25:43]save to /storage/0552/doc_00037897 [17:25:43]save last doc name /storage/0552/doc_00037897 to /storage/kkm_last_doc_name [17:25:43]save OK [17:25:43]Clear old archive folders... [17:25:43]ProcessDocumentItem done err = 0, tmpTLVsize=294 [17:25:43]tlvbuf is 0025BD80 [17:25:43]SAM_PROTO_ClearQueue [17:25:43]wFMCommunicate request_size=4 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 09 00 00 [17:25:43]Write to MH i2c: E2 08 00 5A 40 80 09 00 00 00 00 00 00 0C [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 5A 40 00 90 00 0E [17:25:43]RAPDU: 90 00 [17:25:43]wFMCommunicate OK [17:25:43]SAM_PROTO_ClearQueue done [17:25:43]KKMCreateOFDPacket [17:25:43]OFDProtocolAddRootSTLVToBuf [17:25:43]FM_MakeSignedData [17:25:43]FM_MakeSignedData [17:25:43]SAM_PROTO_SignData [17:25:43]wFMCommunicate request_size=4 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 0D 01 02 [17:25:43]Write to MH i2c: E2 08 00 5B 40 80 0D 01 02 00 00 00 00 14 [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 5B 40 00 90 00 0F [17:25:43]RAPDU: 90 00 [17:25:43]wFMCommunicate OK [17:25:43]wFMCommunicate request_size=255 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 0D 02 02 FA 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 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 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 A4 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [17:25:43]Write to MH i2c: E2 02 01 5C 40 80 0D 02 02 FA 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 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 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 A4 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 65 [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 5C 40 00 90 00 10 [17:25:43]RAPDU: 90 00 [17:25:43]wFMCommunicate OK [17:25:43]wFMCommunicate request_size=53 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 09 94 00 00 35 04 06 00 4A 35 A6 E2 9F DC [17:25:43]Write to MH i2c: E2 38 00 5D 40 80 0D 02 02 30 00 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 09 94 00 00 35 04 06 00 4A 35 A6 E2 9F DC 00 00 2B [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 03 00 5D 40 00 90 00 11 [17:25:43]RAPDU: 90 00 [17:25:43]wFMCommunicate OK [17:25:43]wFMCommunicate request_size=4 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 0D 03 02 [17:25:43]Write to MH i2c: E2 08 00 5E 40 80 0D 03 02 00 00 00 00 19 [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 0B 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 0B 00 5E 40 00 BC 1F 4B 68 9D A1 60 90 90 00 D6 [17:25:43]RAPDU: BC 1F 4B 68 9D A1 60 90 90 00 [17:25:43]wFMCommunicate OK [17:25:43]SAM_PROTO_SignData done [17:25:43]FM_MakeSignedData done [17:25:43]CreateOFDProtocolMessage [17:25:43]wFMCommunicate request_size=4 [17:25:43]MH_SAM_APDU [17:25:43]CAPDU: 80 11 00 00 [17:25:43]Write to MH i2c: E2 08 00 5F 40 80 11 00 00 00 00 00 00 19 [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:25:43]Read from MH i2c: E2 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 17 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: E2 17 00 5F 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 69 [17:25:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:25:43]wFMCommunicate OK [17:25:43]CreateOFDProtocolMessage done [17:25:43]OFDSenderStorePacket 37897 [17:25:43]StoreOFDPacket docnum=37897 [17:25:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 AA 84 32 01 D7 DC 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 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 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 A4 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 09 94 00 00 35 04 06 00 4A 35 A6 E2 9F DC BC 1F 4B 68 9D A1 60 90 [17:25:43]CheckFolder [17:25:43]dirname=/storage/ofd_packets [17:25:43]CheckFolder done [17:25:43]ProducePacketName [17:25:43]name=ofd_packets/00037897 [17:25:43]NVStorageSaveData ofd_packets/00037897 [17:25:43]File name is /storage/ofd_packets/00037897 [17:25:43]Write 344 bytes [17:25:43]NVStorageSaveData done [17:25:43]OFDSenderStorePacket done [17:25:43]KKMCreateOFDPacket done [17:25:43]NVStorageSaveData kkm_last_timestamp [17:25:43]File name is /storage/kkm_last_timestamp [17:25:43]Write 4 bytes [17:25:43]NVStorageSaveData done [17:25:43]ExternCall_PrintAddStr [17:25:43]wPrintStart [17:25:43]Write to MH i2c: 01 00 00 60 40 A0 [17:25:43]Write i2c OK [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: 01 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: 01 07 00 [17:25:43]MH_I2C_Read... [17:25:43]Read from MH i2c: 01 07 00 60 40 00 00 00 00 00 FF 0F B5 [17:25:43]RasterBufferAndPrint [17:25:43]line Счет N : (3)35197 [17:25:43]line ИНН: 02508201610067 [17:25:43]line Контрольно-Кассовый Чек [17:25:43]line ПРОДАЖА [17:25:43]line Товар: 4700003010353 [17:25:43]line Напиток Let`s Go! с/с груша ПЭТ 1л [17:25:43]line 2.000 * 80.00 [17:25:43]line = 160.00 [17:25:43]line НДС 12% НСП 1% [17:25:43]line > о реализуемом товаре [17:25:43]line ИТОГО: 160.00 [17:25:43]line НСП 1% : 1.42 [17:25:43]line НДС 12% : 16.99 [17:25:43]line Наличными: 160.00 [17:25:43]line Безнал.: 0.00 [17:25:43]line Место: АЗС № 126 "Партнер Нефть" [17:25:43]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [17:25:43]line СНО: Общий режим [17:25:43]line Чек 59 29.10.2024 17:25 [17:25:43]line Смена: 552 ФФД: 1.0 [17:25:43]line ЗНМ: 0300000092 [17:25:43]line РНМ: 0000000000091684 [17:25:43]line Версия ККМ: 001 [17:25:43]line ФМ: 0000000000871841 [17:25:43]line ФД: 37897 [17:25:43]line ФПД: 81594293592028 [17:25:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T172556&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37897&fm=81594293592028&tin=02508201610067®Number=0000000000091684&sum=16000 [17:25:44]OFD Sender: Processing packet 37897 [packets to send 42, broken 41] [17:25:44]ProducePacketName [17:25:44]name=ofd_packets/00037897 [17:25:44]OFD Sender: To server: pG, [17:25:44]CommunicateWithHost lk.salyk.kg:30040 [17:25:44]ConnectInit lk.salyk.kg [17:25:44]line 0 [17:25:44]written 0, free lines is 4095 [17:25:44]Write to MH i2c: 01 00 00 89 40 C9 [17:25:44]Write i2c OK [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: 01 [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: 01 07 00 [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: 01 07 00 89 40 00 00 00 00 00 AF 0C 8B [17:25:44]RasterBufferAndPrint [17:25:44]line [17:25:44]line [17:25:44]line [17:25:44]line [17:25:44]line [17:25:44]written 0, free lines is 3251 [17:25:44]MH_Cut [17:25:44]Write to MH i2c: D1 01 00 90 40 01 A2 [17:25:44]Write i2c OK [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: D1 [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: D1 01 00 [17:25:44]MH_I2C_Read... [17:25:44]Read from MH i2c: D1 01 00 90 40 00 A1 [17:25:44]Write to MH i2c: 01 00 00 91 40 D1 [17:25:44]Write i2c OK [17:25:44]MH_I2C_Read... [17:25:44]Connected sock=10 [17:25:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3A 01 00 00 AA 84 32 01 D7 DC 5A 03 01 00 03 00 26 01 1E 04 01 00 01 23 04 78 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 33 35 33 06 04 34 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 65 74 60 73 20 47 6F 21 20 D1 81 2F D1 81 20 D0 B3 D1 80 D1 83 D1 88 D0 B0 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 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 80 3E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3B 00 00 00 F4 03 04 00 A4 1A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 09 94 00 00 35 04 06 00 4A 35 A6 E2 9F DC BC 1F 4B 68 9D A1 60 90 [17:25:44]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 08 19 47 00 7D E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 09 94 00 00 F4 03 04 00 95 C5 20 67 B6 04 01 00 00 BD 6B 2D 29 7E DE 06 27 [17:25:44]CommunicateWithHost err = 0 [17:25:44]CheckOFDResponse [17:25:44]1017 (14) - 77093643461234 [17:25:44]1041 (16) - 0000000000871841 [17:25:44]1040 (4) - 37897 [17:25:44]1012 (4) - 29.10.2024 11:23 [17:25:44]1206 (1) - 0 [17:25:44]OFD Sender: Remove packet 37897 [17:25:44]ProducePacketName [17:25:44]name=ofd_packets/00037897 [17:25:44]NVStorageDeleteData [17:25:45]*** Cut start [17:25:45]*** Partial cut [17:25:45]*** CUTSNS_PIN = 1 [17:25:45]*** CUTSNS_PIN = 0 [17:25:45]OFD Sender: No OFD packet to send [17:25:45]*** Brake cut motor [17:25:45]Read from MH i2c: 01 [17:25:45]MH_I2C_Read... [17:25:45]*** Stop cut motor [17:25:45]*** Cut end [17:25:46]Read from MH i2c: 01 07 00 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: 01 07 00 91 40 00 00 00 00 00 FF 0F E6 [17:25:46]process_action close_receipt done [17:25:46]requested_data is exist [17:25:46]produce_requested_data [17:25:46]requested_item fm.sn is exist - process it [17:25:46]wFMCommunicate request_size=4 [17:25:46]MH_SAM_APDU [17:25:46]CAPDU: 80 11 00 00 [17:25:46]Write to MH i2c: E2 08 00 92 40 80 11 00 00 00 00 00 00 4C [17:25:46]Write i2c OK [17:25:46]MH_I2C_Read... [17:25:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:25:46]Read from MH i2c: E2 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 17 00 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 17 00 92 40 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 9C [17:25:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [17:25:46]wFMCommunicate OK [17:25:46]requested_item fd.num is exist - process it [17:25:46]SAM_PROTO_GetFieldsCounters [17:25:46]wFMCommunicate request_size=4 [17:25:46]MH_SAM_APDU [17:25:46]CAPDU: 80 13 00 00 [17:25:46]Write to MH i2c: E2 08 00 93 40 80 13 00 00 00 00 00 00 4F [17:25:46]Write i2c OK [17:25:46]MH_I2C_Read... [17:25:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:25:46]Read from MH i2c: E2 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 62 00 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 62 00 93 40 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 09 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [17:25:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 09 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3B 00 00 00 5E 04 04 00 3B 00 00 00 57 04 04 00 3C 00 00 00 19 04 04 00 00 00 00 00 90 00 [17:25:46]wFMCommunicate OK [17:25:46]SAM_PROTO_GetFieldsCounters done [17:25:46]requested_item shift.num is exist - process it [17:25:46]requested_item shift.opened is exist - process it [17:25:46]req_shift_opened [17:25:46]FM_GetShiftState [17:25:46]SAM_PROTO_GetShiftState [17:25:46]wFMCommunicate request_size=4 [17:25:46]MH_SAM_APDU [17:25:46]CAPDU: 80 13 01 00 [17:25:46]Write to MH i2c: E2 08 00 94 40 80 13 01 00 00 00 00 00 51 [17:25:46]Write i2c OK [17:25:46]MH_I2C_Read... [17:25:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:25:46]Read from MH i2c: E2 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 0E 00 [17:25:46]MH_I2C_Read... [17:25:46]Read from MH i2c: E2 0E 00 94 40 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C7 [17:25:46]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:25:46]wFMCommunicate OK [17:25:46]SAM_PROTO_GetShiftState done [17:25:46]FM_GetShiftState done [17:25:46]req_shift_opened done [17:25:46]requested_item shift.open_date is exist - process it [17:25:46]req_shift_open_date [17:25:46]req_shift_open_date done [17:25:46]produce_requested_data done [17:25:46]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37897,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [17:25:46]process_action_free close_receipt [17:25:46]json_value_free [17:25:46]json_value_free done [17:25:46]process_json_proto returns [17:25:46]Send response to host [17:25:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37897,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [17:25:46]free response buf [17:25:46]execute_script done [17:25:46]execute_script returns [17:25:46]free content buf [17:25:46]Sock 7.Close socket [17:25:46]Sock 7.Thread stoped [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:47]accept exits with 9 [17:26:47]New connection [17:26:47]New thread 3067297124 created [17:26:47]Thread 3067440484 joined [17:26:47]Waiting for new connection... [17:26:47] Sock 9.Parse request [17:26:47]Sock 9.Check first char [17:26:47]Sock 9.First char is OK [17:26:47]request: POST /json_proto HTTP/1.0 [17:26:47]Method: POST [17:26:47]URL: /json_proto [17:26:47]Method is POST - this is cgi request [17:26:47]url: /json_proto [17:26:47]query_string will be loaded in cgi processing [17:26:47]execute_cgi json_proto POST (null) [17:26:47]execute_cgi path=json_proto method=POST [17:26:47]POST find Content-Length [17:26:47]Host: 172.17.40.196:8080 [17:26:47]Content-Length: 618 [17:26:47]Content-Type: application/json [17:26:47] [17:26:47]POST finish read [17:26:47]Found Content-Length = 618 [17:26:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35198", "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" ] } } [17:26:47]execute_script... [17:26:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35198", "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" ] } } [17:26:47]POST & json_proto [17:26:47]process_json_proto [17:26:47]json parsed OK: [17:26:47]protocol is kg_v1.0 [17:26:47]action value=close_receipt [17:26:47]process_action close_receipt [17:26:47]cmd_close_receipt [17:26:47]MH_GetDate [17:26:47]Write to MH i2c: F0 00 00 95 40 C4 [17:26:47]Write i2c OK [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: F0 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: F0 09 00 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: F0 09 00 95 40 00 E5 1A 21 67 5B 68 A1 66 1E [17:26:47]GetLastDocTimeStamp 1730222756 [17:26:47]current date 1730222821 [17:26:47]FM_GetShiftState [17:26:47]SAM_PROTO_GetShiftState [17:26:47]wFMCommunicate request_size=4 [17:26:47]MH_SAM_APDU [17:26:47]CAPDU: 80 13 01 00 [17:26:47]Write to MH i2c: E2 08 00 96 40 80 13 01 00 00 00 00 00 53 [17:26:47]Write i2c OK [17:26:47]MH_I2C_Read... [17:26:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:26:47]Read from MH i2c: E2 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: E2 0E 00 [17:26:47]MH_I2C_Read... [17:26:47]Read from MH i2c: E2 0E 00 96 40 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C9 [17:26:47]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [17:26:47]wFMCommunicate OK [17:26:47]SAM_PROTO_GetShiftState done [17:26:47]FM_GetShiftState done [17:26:47]opened in 1730160317 [17:26:47]opened+sec_in_day 1730246717 [17:26:47]quantity*price = 14400 [17:26:47]sum+1 = 14401 [17:26:47]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 61 29.10.2024 18:34 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37899 ФПД: 94767111534519 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183443&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37899&fm=94767111534519&tin=02508201610067®Number=0000000000091684&sum=5000 0 [18:34:44]StoreToDocumentArchive [18:34:44]shift 552 fd 37899 [18:34:44]save to /storage/0552/doc_00037899 [18:34:44]save last doc name /storage/0552/doc_00037899 to /storage/kkm_last_doc_name [18:34:44]save OK [18:34:44]Clear old archive folders... [18:34:44]ProcessDocumentItem done err = 0, tmpTLVsize=275 [18:34:44]tlvbuf is 018AF970 [18:34:44]SAM_PROTO_ClearQueue [18:34:44]wFMCommunicate request_size=4 [18:34:44]MH_SAM_APDU [18:34:44]CAPDU: 80 09 00 00 [18:34:44]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [18:34:44]Write i2c OK [18:34:44]MH_I2C_Read... [18:34:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:44]Read from MH i2c: E2 [18:34:44]MH_I2C_Read... [18:34:44]Read from MH i2c: E2 03 00 [18:34:44]MH_I2C_Read... [18:34:44]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [18:34:44]RAPDU: 90 00 [18:34:44]wFMCommunicate OK [18:34:44]SAM_PROTO_ClearQueue done [18:34:44]KKMCreateOFDPacket [18:34:44]OFDProtocolAddRootSTLVToBuf [18:34:44]FM_MakeSignedData [18:34:44]FM_MakeSignedData [18:34:44]SAM_PROTO_SignData [18:34:44]wFMCommunicate request_size=4 [18:34:44]MH_SAM_APDU [18:34:44]CAPDU: 80 0D 01 02 [18:34:44]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [18:34:44]Write i2c OK [18:34:44]MH_I2C_Read... [18:34:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:44]Read from MH i2c: E2 [18:34:44]MH_I2C_Read... [18:34:44]Read from MH i2c: E2 03 00 [18:34:44]MH_I2C_Read... [18:34:44]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [18:34:44]RAPDU: 90 00 [18:34:44]wFMCommunicate OK [18:34:44]wFMCommunicate request_size=255 [18:34:44]MH_SAM_APDU [18:34:44]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 [18:34:44]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 00 00 E5 [18:34:44]Write i2c OK [18:34:44]MH_I2C_Read... [18:34:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:45]Read from MH i2c: E2 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 03 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [18:34:45]RAPDU: 90 00 [18:34:45]wFMCommunicate OK [18:34:45]wFMCommunicate request_size=34 [18:34:45]MH_SAM_APDU [18:34:45]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0B 94 00 00 35 04 06 00 56 30 B0 04 F7 B7 [18:34:45]Write to MH i2c: E2 25 00 2E 00 80 0D 02 02 1D 00 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0B 94 00 00 35 04 06 00 56 30 B0 04 F7 B7 00 00 ED [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:45]Read from MH i2c: E2 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 03 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [18:34:45]RAPDU: 90 00 [18:34:45]wFMCommunicate OK [18:34:45]wFMCommunicate request_size=4 [18:34:45]MH_SAM_APDU [18:34:45]CAPDU: 80 0D 03 02 [18:34:45]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:45]Read from MH i2c: E2 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 0B 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 0B 00 2F 00 00 8D 46 23 E7 DD C1 AB B8 90 00 89 [18:34:45]RAPDU: 8D 46 23 E7 DD C1 AB B8 90 00 [18:34:45]wFMCommunicate OK [18:34:45]SAM_PROTO_SignData done [18:34:45]FM_MakeSignedData done [18:34:45]CreateOFDProtocolMessage [18:34:45]wFMCommunicate request_size=4 [18:34:45]MH_SAM_APDU [18:34:45]CAPDU: 80 11 00 00 [18:34:45]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:45]Read from MH i2c: E2 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 17 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FA [18:34:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:45]wFMCommunicate OK [18:34:45]CreateOFDProtocolMessage done [18:34:45]OFDSenderStorePacket 37899 [18:34:45]StoreOFDPacket docnum=37899 [18:34:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 3F F3 1F 01 D6 DC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0B 94 00 00 35 04 06 00 56 30 B0 04 F7 B7 8D 46 23 E7 DD C1 AB B8 [18:34:45]CheckFolder [18:34:45]dirname=/storage/ofd_packets [18:34:45]CheckFolder done [18:34:45]ProducePacketName [18:34:45]name=ofd_packets/00037899 [18:34:45]NVStorageSaveData ofd_packets/00037899 [18:34:45]File name is /storage/ofd_packets/00037899 [18:34:45]Write 325 bytes [18:34:45]NVStorageSaveData done [18:34:45]OFDSenderStorePacket done [18:34:45]KKMCreateOFDPacket done [18:34:45]NVStorageSaveData kkm_last_timestamp [18:34:45]File name is /storage/kkm_last_timestamp [18:34:45]Write 4 bytes [18:34:45]NVStorageSaveData done [18:34:45]ExternCall_PrintAddStr [18:34:45]wPrintStart [18:34:45]Write to MH i2c: 01 00 00 31 00 31 [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 07 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [18:34:45]RasterBufferAndPrint [18:34:45]line Счет N : (3)35199 [18:34:45]line ИНН: 02508201610067 [18:34:45]line Контрольно-Кассовый Чек [18:34:45]line ПРОДАЖА [18:34:45]line Товар: 5449000005489 [18:34:45]line Вода Бонаква 1л б/г [18:34:45]line 1.000 * 50.00 [18:34:45]line = 50.00 [18:34:45]line НДС 12% НСП 1% [18:34:45]line > о реализуемом товаре [18:34:45]line ИТОГО: 50.00 [18:34:45]line НСП 1% : 0.44 [18:34:45]line НДС 12% : 5.31 [18:34:45]line Наличными: 50.00 [18:34:45]line Безнал.: 0.00 [18:34:45]line Место: АЗС № 126 "Партнер Нефть" [18:34:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:34:45]line СНО: Общий режим [18:34:45]line Чек 61 29.10.2024 18:34 [18:34:45]line Смена: 552 ФФД: 1.0 [18:34:45]line ЗНМ: 0300000092 [18:34:45]line РНМ: 0000000000091684 [18:34:45]line Версия ККМ: 001 [18:34:45]line ФМ: 0000000000871841 [18:34:45]line ФД: 37899 [18:34:45]line ФПД: 94767111534519 [18:34:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183443&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37899&fm=94767111534519&tin=02508201610067®Number=0000000000091684&sum=5000 [18:34:45]line 0 [18:34:45]written 0, free lines is 4095 [18:34:45]OFD Sender: Processing packet 37899 [packets to send 42, broken 41] [18:34:45]ProducePacketName [18:34:45]name=ofd_packets/00037899 [18:34:45]OFD Sender: To server: pG, [18:34:45]CommunicateWithHost lk.salyk.kg:30040 [18:34:45]ConnectInit lk.salyk.kg [18:34:45]Write to MH i2c: 01 00 00 59 00 59 [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 07 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: 01 07 00 59 00 00 00 00 00 00 CA 0C 36 [18:34:45]RasterBufferAndPrint [18:34:45]line [18:34:45]line [18:34:45]line [18:34:45]line [18:34:45]line [18:34:45]written 0, free lines is 3294 [18:34:45]MH_Cut [18:34:45]Write to MH i2c: D1 01 00 60 00 01 32 [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: D1 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: D1 01 00 [18:34:45]MH_I2C_Read... [18:34:45]Read from MH i2c: D1 01 00 60 00 00 31 [18:34:45]Write to MH i2c: 01 00 00 61 00 61 [18:34:45]Write i2c OK [18:34:45]MH_I2C_Read... [18:34:46]Connected sock=9 [18:34:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 27 01 00 00 3F F3 1F 01 D6 DC 5A 03 01 00 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 35 34 38 39 06 04 21 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 BE D0 BD D0 B0 D0 BA D0 B2 D0 B0 20 31 D0 BB 20 D0 B1 2F D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 88 13 00 00 00 00 13 04 06 00 88 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 88 13 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 2C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 13 02 00 00 00 00 07 04 06 00 88 13 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3D 00 00 00 F4 03 04 00 C3 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0B 94 00 00 35 04 06 00 56 30 B0 04 F7 B7 8D 46 23 E7 DD C1 AB B8 [18:34:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 64 97 47 00 8B 92 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0B 94 00 00 F4 03 04 00 B5 D5 20 67 B6 04 01 00 00 28 4B 13 3D DF ED 7C B3 [18:34:46]CommunicateWithHost err = 0 [18:34:46]CheckOFDResponse [18:34:46]1017 (14) - 77093643461234 [18:34:46]1041 (16) - 0000000000871841 [18:34:46]1040 (4) - 37899 [18:34:46]1012 (4) - 29.10.2024 12:31 [18:34:46]1206 (1) - 0 [18:34:46]OFD Sender: Remove packet 37899 [18:34:46]ProducePacketName [18:34:46]name=ofd_packets/00037899 [18:34:46]NVStorageDeleteData [18:34:46]*** Cut start [18:34:46]*** Partial cut [18:34:46]*** CUTSNS_PIN = 1 [18:34:46]*** CUTSNS_PIN = 0 [18:34:46]*** Brake cut motor [18:34:47]OFD Sender: No OFD packet to send [18:34:47]Read from MH i2c: 01 [18:34:47]MH_I2C_Read... [18:34:47]*** Stop cut motor [18:34:47]*** Cut end [18:34:47]Read from MH i2c: 01 07 00 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: 01 07 00 61 00 00 00 00 00 00 FF 0F 76 [18:34:47]process_action close_receipt done [18:34:47]requested_data is exist [18:34:47]produce_requested_data [18:34:47]requested_item fm.sn is exist - process it [18:34:47]wFMCommunicate request_size=4 [18:34:47]MH_SAM_APDU [18:34:47]CAPDU: 80 11 00 00 [18:34:47]Write to MH i2c: E2 08 00 62 00 80 11 00 00 00 00 00 00 DC [18:34:47]Write i2c OK [18:34:47]MH_I2C_Read... [18:34:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:47]Read from MH i2c: E2 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 17 00 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 17 00 62 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2C [18:34:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:47]wFMCommunicate OK [18:34:47]requested_item fd.num is exist - process it [18:34:47]SAM_PROTO_GetFieldsCounters [18:34:47]wFMCommunicate request_size=4 [18:34:47]MH_SAM_APDU [18:34:47]CAPDU: 80 13 00 00 [18:34:47]Write to MH i2c: E2 08 00 63 00 80 13 00 00 00 00 00 00 DF [18:34:47]Write i2c OK [18:34:47]MH_I2C_Read... [18:34:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:47]Read from MH i2c: E2 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 62 00 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 62 00 63 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0B 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 80 [18:34:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0B 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3D 00 00 00 5E 04 04 00 3D 00 00 00 57 04 04 00 3E 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:47]wFMCommunicate OK [18:34:47]SAM_PROTO_GetFieldsCounters done [18:34:47]requested_item shift.num is exist - process it [18:34:47]requested_item shift.opened is exist - process it [18:34:47]req_shift_opened [18:34:47]FM_GetShiftState [18:34:47]SAM_PROTO_GetShiftState [18:34:47]wFMCommunicate request_size=4 [18:34:47]MH_SAM_APDU [18:34:47]CAPDU: 80 13 01 00 [18:34:47]Write to MH i2c: E2 08 00 64 00 80 13 01 00 00 00 00 00 E1 [18:34:47]Write i2c OK [18:34:47]MH_I2C_Read... [18:34:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:47]Read from MH i2c: E2 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 0E 00 [18:34:47]MH_I2C_Read... [18:34:47]Read from MH i2c: E2 0E 00 64 00 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 57 [18:34:47]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:34:47]wFMCommunicate OK [18:34:47]SAM_PROTO_GetShiftState done [18:34:47]FM_GetShiftState done [18:34:47]req_shift_opened done [18:34:47]requested_item shift.open_date is exist - process it [18:34:47]req_shift_open_date [18:34:47]req_shift_open_date done [18:34:47]produce_requested_data done [18:34:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37899,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:34:47]process_action_free close_receipt [18:34:47]json_value_free [18:34:47]json_value_free done [18:34:47]process_json_proto returns [18:34:47]Send response to host [18:34:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37899,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:34:47]free response buf [18:34:47]execute_script done [18:34:47]execute_script returns [18:34:47]free content buf [18:34:47]Sock 6.Close socket [18:34:47]Sock 6.Thread stoped [18:34:48]accept exits with 10 [18:34:48]New connection [18:34:48]New thread 3067063652 created [18:34:48]Thread 3067207012 joined [18:34:48]Waiting for new connection... [18:34:48] Sock 10.Parse request [18:34:48]Sock 10.Check first char [18:34:48]Sock 10.First char is OK [18:34:48]request: POST /json_proto HTTP/1.0 [18:34:48]Method: POST [18:34:48]URL: /json_proto [18:34:48]Method is POST - this is cgi request [18:34:48]url: /json_proto [18:34:48]query_string will be loaded in cgi processing [18:34:48]execute_cgi json_proto POST (null) [18:34:48]execute_cgi path=json_proto method=POST [18:34:48]POST find Content-Length [18:34:48]Host: 172.17.40.196:8080 [18:34:48]Content-Length: 625 [18:34:48]Content-Type: application/json [18:34:48] [18:34:48]POST finish read [18:34:48]Found Content-Length = 625 [18:34:48]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35200", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:48]execute_script... [18:34: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)35200", "tax_sys" : 0, "items" : [ { "code": "46226624", "name": "Mentos \u041F\u0412 \u041A\u043B\u0443\u0431\u043D\u0438\u043A\u0430 6*100*2", "price" : 10.00, "quantity" : 1.000, "sum" : 10.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 10.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:48]POST & json_proto [18:34:48]process_json_proto [18:34:48]json parsed OK: [18:34:48]protocol is kg_v1.0 [18:34:48]action value=close_receipt [18:34:48]process_action close_receipt [18:34:48]cmd_close_receipt [18:34:48]MH_GetDate [18:34:48]Write to MH i2c: F0 00 00 65 00 54 [18:34:48]Write i2c OK [18:34:48]MH_I2C_Read... [18:34:48]Read from MH i2c: F0 [18:34:48]MH_I2C_Read... [18:34:48]Read from MH i2c: F0 09 00 [18:34:48]MH_I2C_Read... [18:34:48]Read from MH i2c: F0 09 00 65 00 00 C8 2A 21 67 5B 68 A1 66 A1 [18:34:48]GetLastDocTimeStamp 1730226883 [18:34:48]current date 1730226888 [18:34:48]FM_GetShiftState [18:34:48]SAM_PROTO_GetShiftState [18:34:48]wFMCommunicate request_size=4 [18:34:48]MH_SAM_APDU [18:34:48]CAPDU: 80 13 01 00 [18:34:48]Write to MH i2c: E2 08 00 66 00 80 13 01 00 00 00 00 00 E3 [18:34:48]Write i2c OK [18:34:48]MH_I2C_Read... [18:34:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:48]Read from MH i2c: E2 [18:34:48]MH_I2C_Read... [18:34:48]Read from MH i2c: E2 0E 00 [18:34:48]MH_I2C_Read... [18:34:48]Read from MH i2c: E2 0E 00 66 00 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 59 [18:34:48]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:34:48]wFMCommunicate OK [18:34:48]SAM_PROTO_GetShiftState done [18:34:48]FM_GetShiftState done [18:34:48]opened in 1730160317 [18:34:48]opened+sec_in_day 1730246717 [18:34:48]quantity*price = 1000 [18:34:48]sum+1 = 1001 [18:34:48]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 10.00 НСП 1% : 0.09 НДС 12% : 1.06 Наличными: 10.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 62 29.10.2024 18:34 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37900 ФПД: 157052718271504 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183448&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37900&fm=157052718271504&tin=02508201610067®Number=0000000000091684&sum=1000 0 [18:34:49]StoreToDocumentArchive [18:34:49]shift 552 fd 37900 [18:34:49]save to /storage/0552/doc_00037900 [18:34:49]save last doc name /storage/0552/doc_00037900 to /storage/kkm_last_doc_name [18:34:49]save OK [18:34:49]Clear old archive folders... [18:34:49]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:34:49]tlvbuf is 018AF850 [18:34:49]SAM_PROTO_ClearQueue [18:34:49]wFMCommunicate request_size=4 [18:34:49]MH_SAM_APDU [18:34:49]CAPDU: 80 09 00 00 [18:34:49]Write to MH i2c: E2 08 00 73 00 80 09 00 00 00 00 00 00 E5 [18:34:49]Write i2c OK [18:34:49]MH_I2C_Read... [18:34:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 73 00 00 90 00 E7 [18:34:50]RAPDU: 90 00 [18:34:50]wFMCommunicate OK [18:34:50]SAM_PROTO_ClearQueue done [18:34:50]KKMCreateOFDPacket [18:34:50]OFDProtocolAddRootSTLVToBuf [18:34:50]FM_MakeSignedData [18:34:50]FM_MakeSignedData [18:34:50]SAM_PROTO_SignData [18:34:50]wFMCommunicate request_size=4 [18:34:50]MH_SAM_APDU [18:34:50]CAPDU: 80 0D 01 02 [18:34:50]Write to MH i2c: E2 08 00 74 00 80 0D 01 02 00 00 00 00 ED [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 74 00 00 90 00 E8 [18:34:50]RAPDU: 90 00 [18:34:50]wFMCommunicate OK [18:34:50]wFMCommunicate request_size=255 [18:34:50]MH_SAM_APDU [18:34:50]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C8 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [18:34:50]Write to MH i2c: E2 02 01 75 00 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C8 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 11 [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 75 00 00 90 00 E9 [18:34:50]RAPDU: 90 00 [18:34:50]wFMCommunicate OK [18:34:50]wFMCommunicate request_size=32 [18:34:50]MH_SAM_APDU [18:34:50]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 0C 94 00 00 35 04 06 00 8E D6 AF 7B CC 10 [18:34:50]Write to MH i2c: E2 23 00 76 00 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 0C 94 00 00 35 04 06 00 8E D6 AF 7B CC 10 00 00 54 [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 03 00 76 00 00 90 00 EA [18:34:50]RAPDU: 90 00 [18:34:50]wFMCommunicate OK [18:34:50]wFMCommunicate request_size=4 [18:34:50]MH_SAM_APDU [18:34:50]CAPDU: 80 0D 03 02 [18:34:50]Write to MH i2c: E2 08 00 77 00 80 0D 03 02 00 00 00 00 F2 [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 0B 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 0B 00 77 00 00 3A 6D EE 29 E5 C5 16 33 90 00 A4 [18:34:50]RAPDU: 3A 6D EE 29 E5 C5 16 33 90 00 [18:34:50]wFMCommunicate OK [18:34:50]SAM_PROTO_SignData done [18:34:50]FM_MakeSignedData done [18:34:50]CreateOFDProtocolMessage [18:34:50]wFMCommunicate request_size=4 [18:34:50]MH_SAM_APDU [18:34:50]CAPDU: 80 11 00 00 [18:34:50]Write to MH i2c: E2 08 00 78 00 80 11 00 00 00 00 00 00 F2 [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:50]Read from MH i2c: E2 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 17 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: E2 17 00 78 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 42 [18:34:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:50]wFMCommunicate OK [18:34:50]CreateOFDProtocolMessage done [18:34:50]OFDSenderStorePacket 37900 [18:34:50]StoreOFDPacket docnum=37900 [18:34:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 D1 3B 1D 01 79 B1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A D0 BB D1 83 D0 B1 D0 BD D0 B8 D0 BA D0 B0 20 36 2A 31 30 30 2A 32 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 03 00 00 00 00 13 04 06 00 E8 03 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 03 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 09 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6A 00 00 00 00 00 07 04 06 00 E8 03 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3E 00 00 00 F4 03 04 00 C8 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0C 94 00 00 35 04 06 00 8E D6 AF 7B CC 10 3A 6D EE 29 E5 C5 16 33 [18:34:50]CheckFolder [18:34:50]dirname=/storage/ofd_packets [18:34:50]CheckFolder done [18:34:50]ProducePacketName [18:34:50]name=ofd_packets/00037900 [18:34:50]NVStorageSaveData ofd_packets/00037900 [18:34:50]File name is /storage/ofd_packets/00037900 [18:34:50]Write 323 bytes [18:34:50]NVStorageSaveData done [18:34:50]OFDSenderStorePacket done [18:34:50]KKMCreateOFDPacket done [18:34:50]NVStorageSaveData kkm_last_timestamp [18:34:50]File name is /storage/kkm_last_timestamp [18:34:50]Write 4 bytes [18:34:50]NVStorageSaveData done [18:34:50]ExternCall_PrintAddStr [18:34:50]wPrintStart [18:34:50]Write to MH i2c: 01 00 00 79 00 79 [18:34:50]Write i2c OK [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: 01 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: 01 07 00 [18:34:50]MH_I2C_Read... [18:34:50]Read from MH i2c: 01 07 00 79 00 00 00 00 00 00 FF 0F 8E [18:34:50]RasterBufferAndPrint [18:34:50]line Счет N : (3)35200 [18:34:50]line ИНН: 02508201610067 [18:34:50]line Контрольно-Кассовый Чек [18:34:50]line ПРОДАЖА [18:34:50]line Товар: 46226624 [18:34:50]line Mentos ПВ Клубника 6*100*2 [18:34:50]line 1.000 * 10.00 [18:34:50]line = 10.00 [18:34:50]line НДС 12% НСП 1% [18:34:50]line > о реализуемом товаре [18:34:50]line ИТОГО: 10.00 [18:34:50]line НСП 1% : 0.09 [18:34:50]line НДС 12% : 1.06 [18:34:50]line Наличными: 10.00 [18:34:50]line Безнал.: 0.00 [18:34:50]line Место: АЗС № 126 "Партнер Нефть" [18:34:50]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:34:50]line СНО: Общий режим [18:34:50]line Чек 62 29.10.2024 18:34 [18:34:50]line Смена: 552 ФФД: 1.0 [18:34:50]line ЗНМ: 0300000092 [18:34:50]line РНМ: 0000000000091684 [18:34:50]line Версия ККМ: 001 [18:34:50]line ФМ: 0000000000871841 [18:34:50]line ФД: 37900 [18:34:50]line ФПД: 157052718271504 [18:34:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183448&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37900&fm=157052718271504&tin=02508201610067®Number=0000000000091684&sum=1000 [18:34:50]OFD Sender: Processing packet 37900 [packets to send 42, broken 41] [18:34:50]ProducePacketName [18:34:50]name=ofd_packets/00037900 [18:34:50]OFD Sender: To server: pG, [18:34:50]CommunicateWithHost lk.salyk.kg:30040 [18:34:50]ConnectInit lk.salyk.kg [18:34:50]line 0 [18:34:50]written 0, free lines is 4095 [18:34:51]Write to MH i2c: 01 00 00 A1 00 A1 [18:34:51]Write i2c OK [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: 01 [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: 01 07 00 [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 C0 0C 74 [18:34:51]RasterBufferAndPrint [18:34:51]line [18:34:51]line [18:34:51]line [18:34:51]line [18:34:51]line [18:34:51]written 0, free lines is 3283 [18:34:51]MH_Cut [18:34:51]Write to MH i2c: D1 01 00 A8 00 01 7A [18:34:51]Write i2c OK [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: D1 [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: D1 01 00 [18:34:51]MH_I2C_Read... [18:34:51]Read from MH i2c: D1 01 00 A8 00 00 79 [18:34:51]Write to MH i2c: 01 00 00 A9 00 A9 [18:34:51]Write i2c OK [18:34:51]MH_I2C_Read... [18:34:52]*** Cut start [18:34:52]*** Partial cut [18:34:52]*** CUTSNS_PIN = 1 [18:34:52]*** CUTSNS_PIN = 0 [18:34:52]*** Brake cut motor [18:34:52]Read from MH i2c: 01 [18:34:52]MH_I2C_Read... [18:34:52]Read from MH i2c: 01 07 00 [18:34:52]MH_I2C_Read... [18:34:52]*** Stop cut motor [18:34:52]*** Cut end [18:34:52]Read from MH i2c: 01 07 00 A9 00 00 00 00 00 00 FF 0F BE [18:34:52]process_action close_receipt done [18:34:52]requested_data is exist [18:34:52]produce_requested_data [18:34:52]requested_item fm.sn is exist - process it [18:34:52]wFMCommunicate request_size=4 [18:34:52]MH_SAM_APDU [18:34:52]CAPDU: 80 11 00 00 [18:34:52]Write to MH i2c: E2 08 00 AA 00 80 11 00 00 00 00 00 00 24 [18:34:52]Write i2c OK [18:34:52]MH_I2C_Read... [18:34:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:52]Read from MH i2c: E2 [18:34:52]MH_I2C_Read... [18:34:52]Read from MH i2c: E2 17 00 [18:34:52]MH_I2C_Read... [18:34:52]Read from MH i2c: E2 17 00 AA 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [18:34:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:52]wFMCommunicate OK [18:34:52]requested_item fd.num is exist - process it [18:34:52]SAM_PROTO_GetFieldsCounters [18:34:52]wFMCommunicate request_size=4 [18:34:52]MH_SAM_APDU [18:34:52]CAPDU: 80 13 00 00 [18:34:52]Write to MH i2c: E2 08 00 AB 00 80 13 00 00 00 00 00 00 27 [18:34:52]Write i2c OK [18:34:52]MH_I2C_Read... [18:34:52]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:53]Read from MH i2c: E2 [18:34:53]MH_I2C_Read... [18:34:53]Read from MH i2c: E2 62 00 [18:34:53]MH_I2C_Read... [18:34:53]Read from MH i2c: E2 62 00 AB 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [18:34:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3E 00 00 00 5E 04 04 00 3E 00 00 00 57 04 04 00 3F 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:53]wFMCommunicate OK [18:34:53]SAM_PROTO_GetFieldsCounters done [18:34:53]requested_item shift.num is exist - process it [18:34:53]requested_item shift.opened is exist - process it [18:34:53]req_shift_opened [18:34:53]FM_GetShiftState [18:34:53]SAM_PROTO_GetShiftState [18:34:53]wFMCommunicate request_size=4 [18:34:53]MH_SAM_APDU [18:34:53]CAPDU: 80 13 01 00 [18:34:53]Write to MH i2c: E2 08 00 AC 00 80 13 01 00 00 00 00 00 29 [18:34:53]Connected sock=11 [18:34:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 D1 3B 1D 01 79 B1 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 36 32 32 36 36 32 34 06 04 24 00 4D 65 6E 74 6F 73 20 D0 9F D0 92 20 D0 9A *** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:53]D0 Write i2c OK [18:34:53]BB MH_I2C_Read... [18:34:53]D1 Read from MH i2c: 83 E2 D0 [18:34:53]B1 MH_I2C_Read... [18:34:53]D0 Read from MH i2c: BD E2 D0 0E B8 00 D0 [18:34:53]BA MH_I2C_Read... [18:34:53]D0 B0 Read from MH i2c: 20 E2 36 0E 2A 00 31 AC 30 00 30 00 2A 09 32 00 FF 01 03 BD 08 26 00 20 03 67 E8 00 03 00 00 00 00 00 00 90 00 00 00 9F 37 [18:34:53]04 RAPDU: 06 09 00 00 E8 01 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 BD 00 26 01 20 FC 67 03 00 06 00 00 00 E8 00 03 90 00 00 00 [18:34:53]00 wFMCommunicate OK [18:34:53]00 SAM_PROTO_GetShiftState done [18:34:53]EB FM_GetShiftState done [18:34:53]03 req_shift_opened done [18:34:53]26 requested_item shift.open_date is exist - process it [18:34:53]00 req_shift_open_date [18:34:53]EF req_shift_open_date done [18:34:53]produce_requested_data done [18:34:53]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37900,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:34:53]process_action_free close_receipt [18:34:53]json_value_free [18:34:53]json_value_free done [18:34:53]process_json_proto returns [18:34:53]Send response to host [18:34:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37900,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:34:53]free response buf [18:34:53]execute_script done [18:34:53]execute_script returns [18:34:53]free content buf [18:34:53]Sock 10.Close socket [18:34:53]Sock 10.Thread stoped [18:34:53]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 3E 00 00 00 F4 03 04 00 C8 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0C 94 00 00 35 04 06 00 8E D6 AF 7B CC 10 3A 6D EE 29 E5 C5 16 33 [18:34:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 55 2E 47 00 98 5A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0C 94 00 00 F4 03 04 00 BC D5 20 67 B6 04 01 00 00 C9 25 62 7A 24 9F CE F6 [18:34:53]CommunicateWithHost err = 0 [18:34:53]CheckOFDResponse [18:34:53]1017 (14) - 77093643461234 [18:34:53]1041 (16) - 0000000000871841 [18:34:53]1040 (4) - 37900 [18:34:53]1012 (4) - 29.10.2024 12:31 [18:34:53]1206 (1) - 0 [18:34:53]OFD Sender: Remove packet 37900 [18:34:53]ProducePacketName [18:34:53]name=ofd_packets/00037900 [18:34:53]NVStorageDeleteData [18:34:54]OFD Sender: No OFD packet to send [18:34:54]accept exits with 6 [18:34:54]New connection [18:34:54]New thread 3067207012 created [18:34:54]Thread 3067063652 joined [18:34:54]Waiting for new connection... [18:34:54] Sock 6.Parse request [18:34:54]Sock 6.Check first char [18:34:54]Sock 6.First char is OK [18:34:54]request: POST /json_proto HTTP/1.0 [18:34:54]Method: POST [18:34:54]URL: /json_proto [18:34:54]Method is POST - this is cgi request [18:34:54]url: /json_proto [18:34:54]query_string will be loaded in cgi processing [18:34:54]execute_cgi json_proto POST (null) [18:34:54]execute_cgi path=json_proto method=POST [18:34:54]POST find Content-Length [18:34:54]Host: 172.17.40.196:8080 [18:34:54]Content-Length: 644 [18:34:54]Content-Type: application/json [18:34:54] [18:34:54]POST finish read [18:34:54]Found Content-Length = 644 [18:34:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35201", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:54]execute_script... [18:34: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)35201", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 65.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:34:54]POST & json_proto [18:34:54]process_json_proto [18:34:54]json parsed OK: [18:34:54]protocol is kg_v1.0 [18:34:54]action value=close_receipt [18:34:54]process_action close_receipt [18:34:54]cmd_close_receipt [18:34:54]MH_GetDate [18:34:54]Write to MH i2c: F0 00 00 AD 00 9C [18:34:54]Write i2c OK [18:34:54]MH_I2C_Read... [18:34:54]Read from MH i2c: F0 [18:34:54]MH_I2C_Read... [18:34:54]Read from MH i2c: F0 09 00 [18:34:54]MH_I2C_Read... [18:34:54]Read from MH i2c: F0 09 00 AD 00 00 CE 2A 21 67 5B 68 A1 66 EF [18:34:54]GetLastDocTimeStamp 1730226888 [18:34:54]current date 1730226894 [18:34:54]FM_GetShiftState [18:34:54]SAM_PROTO_GetShiftState [18:34:54]wFMCommunicate request_size=4 [18:34:54]MH_SAM_APDU [18:34:54]CAPDU: 80 13 01 00 [18:34:54]Write to MH i2c: E2 08 00 AE 00 80 13 01 00 00 00 00 00 2B [18:34:54]Write i2c OK [18:34:54]MH_I2C_Read... [18:34:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:54]Read from MH i2c: E2 [18:34:54]MH_I2C_Read... [18:34:54]Read from MH i2c: E2 0E 00 [18:34:54]MH_I2C_Read... [18:34:54]Read from MH i2c: E2 0E 00 AE 00 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 A1 [18:34:54]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:34:54]wFMCommunicate OK [18:34:54]SAM_PROTO_GetShiftState done [18:34:54]FM_GetShiftState done [18:34:54]opened in 1730160317 [18:34:54]opened+sec_in_day 1730246717 [18:34:54]quantity*price = 6500 [18:34:54]sum+1 = 6501 [18:34:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 65.00 НСП 1% : 0.57 НДС 12% : 6.90 Наличными: 65.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 63 29.10.2024 18:34 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37901 ФПД: 219626832489434 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183454&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37901&fm=219626832489434&tin=02508201610067®Number=0000000000091684&sum=6500 0 [18:34:56]StoreToDocumentArchive [18:34:56]shift 552 fd 37901 [18:34:56]save to /storage/0552/doc_00037901 [18:34:56]save last doc name /storage/0552/doc_00037901 to /storage/kkm_last_doc_name [18:34:56]save OK [18:34:56]Clear old archive folders... [18:34:56]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:34:56]tlvbuf is 018E2620 [18:34:56]SAM_PROTO_ClearQueue [18:34:56]wFMCommunicate request_size=4 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 09 00 00 [18:34:56]Write to MH i2c: E2 08 00 BB 00 80 09 00 00 00 00 00 00 2D [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 BB 00 00 90 00 2F [18:34:56]RAPDU: 90 00 [18:34:56]wFMCommunicate OK [18:34:56]SAM_PROTO_ClearQueue done [18:34:56]KKMCreateOFDPacket [18:34:56]OFDProtocolAddRootSTLVToBuf [18:34:56]FM_MakeSignedData [18:34:56]FM_MakeSignedData [18:34:56]SAM_PROTO_SignData [18:34:56]wFMCommunicate request_size=4 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 0D 01 02 [18:34:56]Write to MH i2c: E2 08 00 BC 00 80 0D 01 02 00 00 00 00 35 [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 BC 00 00 90 00 30 [18:34:56]RAPDU: 90 00 [18:34:56]wFMCommunicate OK [18:34:56]wFMCommunicate request_size=255 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 CE 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [18:34:56]Write to MH i2c: E2 02 01 BD 00 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 CE 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 6D [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 BD 00 00 90 00 31 [18:34:56]RAPDU: 90 00 [18:34:56]wFMCommunicate OK [18:34:56]wFMCommunicate request_size=31 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 0D 94 00 00 35 04 06 00 C7 BF DB 55 6B DA [18:34:56]Write to MH i2c: E2 22 00 BE 00 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 0D 94 00 00 35 04 06 00 C7 BF DB 55 6B DA 00 00 FC [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 03 00 BE 00 00 90 00 32 [18:34:56]RAPDU: 90 00 [18:34:56]wFMCommunicate OK [18:34:56]wFMCommunicate request_size=4 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 0D 03 02 [18:34:56]Write to MH i2c: E2 08 00 BF 00 80 0D 03 02 00 00 00 00 3A [18:34:56]Write i2c OK [18:34:56]MH_I2C_Read... [18:34:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:34:56]Read from MH i2c: E2 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 0B 00 [18:34:56]MH_I2C_Read... [18:34:56]Read from MH i2c: E2 0B 00 BF 00 00 39 81 AE 79 10 F7 B6 DD 90 00 B6 [18:34:56]RAPDU: 39 81 AE 79 10 F7 B6 DD 90 00 [18:34:56]wFMCommunicate OK [18:34:56]SAM_PROTO_SignData done [18:34:56]FM_MakeSignedData done [18:34:56]CreateOFDProtocolMessage [18:34:56]wFMCommunicate request_size=4 [18:34:56]MH_SAM_APDU [18:34:56]CAPDU: 80 11 00 00 [18:34:57]Write to MH i2c: E2 08 00 C0 00 80 11 00 00 00 00 00 00 3A [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:57]Read from MH i2c: E2 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 17 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: E2 17 00 C0 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [18:34:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:57]wFMCommunicate OK [18:34:57]CreateOFDProtocolMessage done [18:34:57]OFDSenderStorePacket 37901 [18:34:57]StoreOFDPacket docnum=37901 [18:34:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 28 96 1C 01 5A 53 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 CE 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0D 94 00 00 35 04 06 00 C7 BF DB 55 6B DA 39 81 AE 79 10 F7 B6 DD [18:34:57]CheckFolder [18:34:57]dirname=/storage/ofd_packets [18:34:57]CheckFolder done [18:34:57]ProducePacketName [18:34:57]name=ofd_packets/00037901 [18:34:57]NVStorageSaveData ofd_packets/00037901 [18:34:57]File name is /storage/ofd_packets/00037901 [18:34:57]Write 322 bytes [18:34:57]NVStorageSaveData done [18:34:57]OFDSenderStorePacket done [18:34:57]KKMCreateOFDPacket done [18:34:57]NVStorageSaveData kkm_last_timestamp [18:34:57]File name is /storage/kkm_last_timestamp [18:34:57]Write 4 bytes [18:34:57]NVStorageSaveData done [18:34:57]ExternCall_PrintAddStr [18:34:57]wPrintStart [18:34:57]Write to MH i2c: 01 00 00 C1 00 C1 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: 01 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: 01 07 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: 01 07 00 C1 00 00 00 00 00 00 FF 0F D6 [18:34:57]RasterBufferAndPrint [18:34:57]line Счет N : (3)35201 [18:34:57]line ИНН: 02508201610067 [18:34:57]line Контрольно-Кассовый Чек [18:34:57]line ПРОДАЖА [18:34:57]line Товар: 47011656 [18:34:57]line Водка Пшеничная 0,1л [18:34:57]line 1.000 * 65.00 [18:34:57]line = 65.00 [18:34:57]line НДС 12% НСП 1% [18:34:57]line > о реализуемом товаре [18:34:57]line ИТОГО: 65.00 [18:34:57]line НСП 1% : 0.57 [18:34:57]line НДС 12% : 6.90 [18:34:57]line Наличными: 65.00 [18:34:57]line Безнал.: 0.00 [18:34:57]line Место: АЗС № 126 "Партнер Нефть" [18:34:57]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:34:57]line СНО: Общий режим [18:34:57]line Чек 63 29.10.2024 18:34 [18:34:57]line Смена: 552 ФФД: 1.0 [18:34:57]line ЗНМ: 0300000092 [18:34:57]line РНМ: 0000000000091684 [18:34:57]line Версия ККМ: 001 [18:34:57]line ФМ: 0000000000871841 [18:34:57]line ФД: 37901 [18:34:57]line ФПД: 219626832489434 [18:34:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183454&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37901&fm=219626832489434&tin=02508201610067®Number=0000000000091684&sum=6500 [18:34:57]OFD Sender: Processing packet 37901 [packets to send 42, broken 41] [18:34:57]ProducePacketName [18:34:57]name=ofd_packets/00037901 [18:34:57]OFD Sender: To server: pG, [18:34:57]CommunicateWithHost lk.salyk.kg:30040 [18:34:57]ConnectInit lk.salyk.kg [18:34:57]line 0 [18:34:57]written 0, free lines is 4095 [18:34:57]Connected sock=10 [18:34:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 28 96 1C 01 5A 53 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 64 19 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 19 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 39 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B2 02 00 00 00 00 07 04 06 00 64 19 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 CE 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D Write to MH i2c: 04 01 00 10 00 00 E9 30 00 30 E9 30 [18:34:57]30 30 Write i2c OK [18:34:57]30 MH_I2C_Read... [18:34:57]Read from MH i2c: 01 [18:34:57]MH_I2C_Read... [18:34:57]30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0D 94 00 00 35 04 06 00 C7 BF DB 55 6B DA 39 81 AE 79 10 F7 B6 DD [18:34:57]Read from MH i2c: 01 07 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: 01 07 00 E9 00 00 00 00 00 00 11 0D 0E [18:34:57]RasterBufferAndPrint [18:34:57]line [18:34:57]line [18:34:57]line [18:34:57]line [18:34:57]line [18:34:57]written 0, free lines is 3458 [18:34:57]MH_Cut [18:34:57]Write to MH i2c: D1 01 00 F0 00 01 C2 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: D1 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: D1 01 00 [18:34:57]MH_I2C_Read... [18:34:57]Read from MH i2c: D1 01 00 F0 00 00 C1 [18:34:57]Write to MH i2c: 01 00 00 F1 00 F1 [18:34:57]Write i2c OK [18:34:57]MH_I2C_Read... [18:34:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 57 A1 47 00 90 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0D 94 00 00 F4 03 04 00 C0 D5 20 67 B6 04 01 00 00 3F 9E 4B A9 49 AF CE 48 [18:34:58]CommunicateWithHost err = 0 [18:34:58]CheckOFDResponse [18:34:58]1017 (14) - 77093643461234 [18:34:58]1041 (16) - 0000000000871841 [18:34:58]1040 (4) - 37901 [18:34:58]1012 (4) - 29.10.2024 12:32 [18:34:58]1206 (1) - 0 [18:34:58]OFD Sender: Remove packet 37901 [18:34:58]ProducePacketName [18:34:58]name=ofd_packets/00037901 [18:34:58]NVStorageDeleteData [18:34:58]*** Cut start [18:34:58]*** Partial cut [18:34:58]*** CUTSNS_PIN = 1 [18:34:58]*** CUTSNS_PIN = 0 [18:34:58]OFD Sender: No OFD packet to send [18:34:58]*** Brake cut motor [18:34:59]Read from MH i2c: 01 [18:34:59]MH_I2C_Read... [18:34:59]*** Stop cut motor [18:34:59]*** Cut end [18:34:59]Read from MH i2c: 01 07 00 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: 01 07 00 F1 00 00 00 00 00 00 FF 0F 06 [18:34:59]process_action close_receipt done [18:34:59]requested_data is exist [18:34:59]produce_requested_data [18:34:59]requested_item fm.sn is exist - process it [18:34:59]wFMCommunicate request_size=4 [18:34:59]MH_SAM_APDU [18:34:59]CAPDU: 80 11 00 00 [18:34:59]Write to MH i2c: E2 08 00 F2 00 80 11 00 00 00 00 00 00 6C [18:34:59]Write i2c OK [18:34:59]MH_I2C_Read... [18:34:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:34:59]Read from MH i2c: E2 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 17 00 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 17 00 F2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BC [18:34:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:34:59]wFMCommunicate OK [18:34:59]requested_item fd.num is exist - process it [18:34:59]SAM_PROTO_GetFieldsCounters [18:34:59]wFMCommunicate request_size=4 [18:34:59]MH_SAM_APDU [18:34:59]CAPDU: 80 13 00 00 [18:34:59]Write to MH i2c: E2 08 00 F3 00 80 13 00 00 00 00 00 00 6F [18:34:59]Write i2c OK [18:34:59]MH_I2C_Read... [18:34:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:34:59]Read from MH i2c: E2 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 62 00 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 62 00 F3 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 18 [18:34:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 3F 00 00 00 5E 04 04 00 3F 00 00 00 57 04 04 00 40 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:34:59]wFMCommunicate OK [18:34:59]SAM_PROTO_GetFieldsCounters done [18:34:59]requested_item shift.num is exist - process it [18:34:59]requested_item shift.opened is exist - process it [18:34:59]req_shift_opened [18:34:59]FM_GetShiftState [18:34:59]SAM_PROTO_GetShiftState [18:34:59]wFMCommunicate request_size=4 [18:34:59]MH_SAM_APDU [18:34:59]CAPDU: 80 13 01 00 [18:34:59]Write to MH i2c: E2 08 00 F4 00 80 13 01 00 00 00 00 00 71 [18:34:59]Write i2c OK [18:34:59]MH_I2C_Read... [18:34:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:34:59]Read from MH i2c: E2 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 0E 00 [18:34:59]MH_I2C_Read... [18:34:59]Read from MH i2c: E2 0E 00 F4 00 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E7 [18:34:59]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:34:59]wFMCommunicate OK [18:34:59]SAM_PROTO_GetShiftState done [18:34:59]FM_GetShiftState done [18:34:59]req_shift_opened done [18:34:59]requested_item shift.open_date is exist - process it [18:34:59]req_shift_open_date [18:34:59]req_shift_open_date done [18:34:59]produce_requested_data done [18:34:59]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37901,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:34:59]process_action_free close_receipt [18:34:59]json_value_free [18:34:59]json_value_free done [18:34:59]process_json_proto returns [18:34:59]Send response to host [18:34:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37901,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:34:59]free response buf [18:34:59]execute_script done [18:34:59]execute_script returns [18:34:59]free content buf [18:34:59]Sock 6.Close socket [18:34:59]Sock 6.Thread stoped [18:35:00]accept exits with 9 [18:35:00]New connection [18:35:00]New thread 3067063652 created [18:35:00]Thread 3067207012 joined [18:35:00]Waiting for new connection... [18:35:00] Sock 9.Parse request [18:35:00]Sock 9.Check first char [18:35:00]Sock 9.First char is OK [18:35:00]request: POST /json_proto HTTP/1.0 [18:35:00]Method: POST [18:35:00]URL: /json_proto [18:35:00]Method is POST - this is cgi request [18:35:00]url: /json_proto [18:35:00]query_string will be loaded in cgi processing [18:35:00]execute_cgi json_proto POST (null) [18:35:00]execute_cgi path=json_proto method=POST [18:35:00]POST find Content-Length [18:35:00]Host: 172.17.40.196:8080 [18:35:00]Content-Length: 707 [18:35:00]Content-Type: application/json [18:35:00] [18:35:00]POST finish read [18:35:00]Found Content-Length = 707 [18:35:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35202", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:00]execute_script... [18:35: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)35202", "tax_sys" : 0, "items" : [ { "code": "4607015235401", "name": "\u041F\u0440\u044F\u043D\u0438\u043A\u0438 \u042F\u0448\u043A\u0438\u043D\u043E \u0448\u043E\u043A\u043E\u043B\u0430\u0434\u043D\u044B\u0435 350\u0433", "price" : 129.00, "quantity" : 1.000, "sum" : 129.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 129.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:00]POST & json_proto [18:35:00]process_json_proto [18:35:00]json parsed OK: [18:35:00]protocol is kg_v1.0 [18:35:00]action value=close_receipt [18:35:00]process_action close_receipt [18:35:00]cmd_close_receipt [18:35:00]MH_GetDate [18:35:00]Write to MH i2c: F0 00 00 F5 00 E4 [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: F0 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: F0 09 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: F0 09 00 F5 00 00 D4 2A 21 67 5B 68 A1 66 3D [18:35:00]GetLastDocTimeStamp 1730226894 [18:35:00]current date 1730226900 [18:35:00]FM_GetShiftState [18:35:00]SAM_PROTO_GetShiftState [18:35:00]wFMCommunicate request_size=4 [18:35:00]MH_SAM_APDU [18:35:00]CAPDU: 80 13 01 00 [18:35:00]Write to MH i2c: E2 08 00 F6 00 80 13 01 00 00 00 00 00 73 [18:35:00]Write i2c OK [18:35:00]MH_I2C_Read... [18:35:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:00]Read from MH i2c: E2 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 0E 00 [18:35:00]MH_I2C_Read... [18:35:00]Read from MH i2c: E2 0E 00 F6 00 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E9 [18:35:00]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:00]wFMCommunicate OK [18:35:00]SAM_PROTO_GetShiftState done [18:35:00]FM_GetShiftState done [18:35:00]opened in 1730160317 [18:35:00]opened+sec_in_day 1730246717 [18:35:00]quantity*price = 12900 [18:35:00]sum+1 = 12901 [18:35:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 129.00 НСП 1% : 1.14 НДС 12% : 13.70 Наличными: 129.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 64 29.10.2024 18:35 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37902 ФПД: 124862812895343 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183500&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37902&fm=124862812895343&tin=02508201610067®Number=0000000000091684&sum=12900 0 [18:35:02]StoreToDocumentArchive [18:35:02]shift 552 fd 37902 [18:35:02]save to /storage/0552/doc_00037902 [18:35:02]save last doc name /storage/0552/doc_00037902 to /storage/kkm_last_doc_name [18:35:02]save OK [18:35:02]Clear old archive folders... [18:35:02]ProcessDocumentItem done err = 0, tmpTLVsize=296 [18:35:02]tlvbuf is 0188DE00 [18:35:02]SAM_PROTO_ClearQueue [18:35:02]wFMCommunicate request_size=4 [18:35:02]MH_SAM_APDU [18:35:02]CAPDU: 80 09 00 00 [18:35:02]Write to MH i2c: E2 08 00 03 01 80 09 00 00 00 00 00 00 76 [18:35:02]Write i2c OK [18:35:02]MH_I2C_Read... [18:35:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:02]Read from MH i2c: E2 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 03 01 00 90 00 78 [18:35:02]RAPDU: 90 00 [18:35:02]wFMCommunicate OK [18:35:02]SAM_PROTO_ClearQueue done [18:35:02]KKMCreateOFDPacket [18:35:02]OFDProtocolAddRootSTLVToBuf [18:35:02]FM_MakeSignedData [18:35:02]FM_MakeSignedData [18:35:02]SAM_PROTO_SignData [18:35:02]wFMCommunicate request_size=4 [18:35:02]MH_SAM_APDU [18:35:02]CAPDU: 80 0D 01 02 [18:35:02]Write to MH i2c: E2 08 00 04 01 80 0D 01 02 00 00 00 00 7E [18:35:02]Write i2c OK [18:35:02]MH_I2C_Read... [18:35:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:02]Read from MH i2c: E2 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [18:35:02]RAPDU: 90 00 [18:35:02]wFMCommunicate OK [18:35:02]wFMCommunicate request_size=255 [18:35:02]MH_SAM_APDU [18:35:02]CAPDU: 80 0D 02 02 FA 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D4 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 [18:35:02]Write to MH i2c: E2 02 01 05 01 80 0D 02 02 FA 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D4 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 00 00 0A [18:35:02]Write i2c OK [18:35:02]MH_I2C_Read... [18:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:02]Read from MH i2c: E2 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [18:35:02]RAPDU: 90 00 [18:35:02]wFMCommunicate OK [18:35:02]wFMCommunicate request_size=55 [18:35:02]MH_SAM_APDU [18:35:02]CAPDU: 80 0D 02 02 32 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0E 94 00 00 35 04 06 00 71 8F E3 9B B8 6F [18:35:02]Write to MH i2c: E2 3A 00 06 01 80 0D 02 02 32 00 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0E 94 00 00 35 04 06 00 71 8F E3 9B B8 6F 00 00 21 [18:35:02]Write i2c OK [18:35:02]MH_I2C_Read... [18:35:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:02]Read from MH i2c: E2 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 [18:35:02]MH_I2C_Read... [18:35:02]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [18:35:02]RAPDU: 90 00 [18:35:02]wFMCommunicate OK [18:35:02]wFMCommunicate request_size=4 [18:35:02]MH_SAM_APDU [18:35:02]CAPDU: 80 0D 03 02 [18:35:02]Write to MH i2c: E2 08 00 07 01 80 0D 03 02 00 00 00 00 83 [18:35:02]Write i2c OK [18:35:02]MH_I2C_Read... [18:35:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:03]Read from MH i2c: E2 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: E2 0B 00 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: E2 0B 00 07 01 00 38 1E D1 31 B7 D5 D9 D6 90 00 17 [18:35:03]RAPDU: 38 1E D1 31 B7 D5 D9 D6 90 00 [18:35:03]wFMCommunicate OK [18:35:03]SAM_PROTO_SignData done [18:35:03]FM_MakeSignedData done [18:35:03]CreateOFDProtocolMessage [18:35:03]wFMCommunicate request_size=4 [18:35:03]MH_SAM_APDU [18:35:03]CAPDU: 80 11 00 00 [18:35:03]Write to MH i2c: E2 08 00 08 01 80 11 00 00 00 00 00 00 83 [18:35:03]Write i2c OK [18:35:03]MH_I2C_Read... [18:35:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:03]Read from MH i2c: E2 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: E2 17 00 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: E2 17 00 08 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 D3 [18:35:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:03]wFMCommunicate OK [18:35:03]CreateOFDProtocolMessage done [18:35:03]OFDSenderStorePacket 37902 [18:35:03]StoreOFDPacket docnum=37902 [18:35:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 56 C0 34 01 89 57 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D4 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0E 94 00 00 35 04 06 00 71 8F E3 9B B8 6F 38 1E D1 31 B7 D5 D9 D6 [18:35:03]CheckFolder [18:35:03]dirname=/storage/ofd_packets [18:35:03]CheckFolder done [18:35:03]ProducePacketName [18:35:03]name=ofd_packets/00037902 [18:35:03]NVStorageSaveData ofd_packets/00037902 [18:35:03]File name is /storage/ofd_packets/00037902 [18:35:03]Write 346 bytes [18:35:03]NVStorageSaveData done [18:35:03]OFDSenderStorePacket done [18:35:03]KKMCreateOFDPacket done [18:35:03]NVStorageSaveData kkm_last_timestamp [18:35:03]File name is /storage/kkm_last_timestamp [18:35:03]Write 4 bytes [18:35:03]NVStorageSaveData done [18:35:03]ExternCall_PrintAddStr [18:35:03]wPrintStart [18:35:03]Write to MH i2c: 01 00 00 09 01 0A [18:35:03]Write i2c OK [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: 01 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: 01 07 00 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: 01 07 00 09 01 00 00 00 00 00 FF 0F 1F [18:35:03]RasterBufferAndPrint [18:35:03]line Счет N : (3)35202 [18:35:03]line ИНН: 02508201610067 [18:35:03]line Контрольно-Кассовый Чек [18:35:03]line ПРОДАЖА [18:35:03]line Товар: 4607015235401 [18:35:03]line Пряники Яшкино шоколадные 350г [18:35:03]line 1.000 * 129.00 [18:35:03]line = 129.00 [18:35:03]line НДС 12% НСП 1% [18:35:03]line > о реализуемом товаре [18:35:03]line ИТОГО: 129.00 [18:35:03]line НСП 1% : 1.14 [18:35:03]line НДС 12% : 13.70 [18:35:03]line Наличными: 129.00 [18:35:03]line Безнал.: 0.00 [18:35:03]line Место: АЗС № 126 "Партнер Нефть" [18:35:03]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:35:03]line СНО: Общий режим [18:35:03]line Чек 64 29.10.2024 18:35 [18:35:03]line Смена: 552 ФФД: 1.0 [18:35:03]line ЗНМ: 0300000092 [18:35:03]line РНМ: 0000000000091684 [18:35:03]line Версия ККМ: 001 [18:35:03]line ФМ: 0000000000871841 [18:35:03]line ФД: 37902 [18:35:03]line ФПД: 124862812895343 [18:35:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183500&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37902&fm=124862812895343&tin=02508201610067®Number=0000000000091684&sum=12900 [18:35:03]line 0 [18:35:03]written 0, free lines is 4095 [18:35:03]OFD Sender: Processing packet 37902 [packets to send 42, broken 41] [18:35:03]ProducePacketName [18:35:03]name=ofd_packets/00037902 [18:35:03]OFD Sender: To server: pG, [18:35:03]CommunicateWithHost lk.salyk.kg:30040 [18:35:03]ConnectInit lk.salyk.kg [18:35:03]Connected sock=10 [18:35:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3C 01 00 00 56 C0 34 01 89 57 5A 03 01 00 03 00 28 01 1E 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 36 30 37 30 31 35 32 33 35 34 30 31 06 04 36 00 D0 9F D1 80 D1 8F D0 BD D0 B8 D0 BA D0 B8 20 D0 AF D1 88 D0 BA D0 B8 D0 BD D0 BE 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 D0 BD D1 8B D0 B5 20 33 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 64 32 00 00 00 00 13 04 06 00 64 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 72 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5A 05 00 00 00 00 07 04 06 00 64 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 D4 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 Write to MH i2c: 30 01 30 00 30 39 00 31 32 36 01 38 33 34 [18:35:03]11 04 10 00 30 30 30 30 Write i2c OK [18:35:03]30 MH_I2C_Read... [18:35:03]30 Read from MH i2c: 30 01 30 [18:35:03]30 MH_I2C_Read... [18:35:03]30 38 37 31 38 34 Read from MH i2c: 31 01 10 07 04 00 04 [18:35:03]00 0E 94 00 00 35 04 06 00 71 8F E3 9B B8 6F 38 1E D1 31 B7 D5 D9 D6 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: 01 07 00 32 01 00 00 00 00 00 79 0D C0 [18:35:03]RasterBufferAndPrint [18:35:03]line [18:35:03]line [18:35:03]line [18:35:03]line [18:35:03]line [18:35:03]written 0, free lines is 3507 [18:35:03]MH_Cut [18:35:03]Write to MH i2c: D1 01 00 39 01 01 0C [18:35:03]Write i2c OK [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: D1 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: D1 01 00 [18:35:03]MH_I2C_Read... [18:35:03]Read from MH i2c: D1 01 00 39 01 00 0B [18:35:03]Write to MH i2c: 01 00 00 3A 01 3B [18:35:03]Write i2c OK [18:35:03]MH_I2C_Read... [18:35:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 84 09 47 00 E1 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0E 94 00 00 F4 03 04 00 C6 D5 20 67 B6 04 01 00 00 75 42 81 B3 75 7B FD 6D [18:35:04]CommunicateWithHost err = 0 [18:35:04]CheckOFDResponse [18:35:04]1017 (14) - 77093643461234 [18:35:04]1041 (16) - 0000000000871841 [18:35:04]1040 (4) - 37902 [18:35:04]1012 (4) - 29.10.2024 12:32 [18:35:04]1206 (1) - 0 [18:35:04]OFD Sender: Remove packet 37902 [18:35:04]ProducePacketName [18:35:04]name=ofd_packets/00037902 [18:35:04]NVStorageDeleteData [18:35:04]*** Cut start [18:35:04]*** Partial cut [18:35:04]*** CUTSNS_PIN = 1 [18:35:04]*** CUTSNS_PIN = 0 [18:35:04]*** Brake cut motor [18:35:04]OFD Sender: No OFD packet to send [18:35:05]Read from MH i2c: *** Stop cut motor [18:35:05]01 *** Cut end [18:35:05] [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: 01 07 00 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: 01 07 00 3A 01 00 00 00 00 00 FF 0F 50 [18:35:05]process_action close_receipt done [18:35:05]requested_data is exist [18:35:05]produce_requested_data [18:35:05]requested_item fm.sn is exist - process it [18:35:05]wFMCommunicate request_size=4 [18:35:05]MH_SAM_APDU [18:35:05]CAPDU: 80 11 00 00 [18:35:05]Write to MH i2c: E2 08 00 3B 01 80 11 00 00 00 00 00 00 B6 [18:35:05]Write i2c OK [18:35:05]MH_I2C_Read... [18:35:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:05]Read from MH i2c: E2 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 17 00 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 17 00 3B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 06 [18:35:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:05]wFMCommunicate OK [18:35:05]requested_item fd.num is exist - process it [18:35:05]SAM_PROTO_GetFieldsCounters [18:35:05]wFMCommunicate request_size=4 [18:35:05]MH_SAM_APDU [18:35:05]CAPDU: 80 13 00 00 [18:35:05]Write to MH i2c: E2 08 00 3C 01 80 13 00 00 00 00 00 00 B9 [18:35:05]Write i2c OK [18:35:05]MH_I2C_Read... [18:35:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:05]Read from MH i2c: E2 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 62 00 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 62 00 3C 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0E 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 66 [18:35:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0E 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 40 00 00 00 5E 04 04 00 40 00 00 00 57 04 04 00 41 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:05]wFMCommunicate OK [18:35:05]SAM_PROTO_GetFieldsCounters done [18:35:05]requested_item shift.num is exist - process it [18:35:05]requested_item shift.opened is exist - process it [18:35:05]req_shift_opened [18:35:05]FM_GetShiftState [18:35:05]SAM_PROTO_GetShiftState [18:35:05]wFMCommunicate request_size=4 [18:35:05]MH_SAM_APDU [18:35:05]CAPDU: 80 13 01 00 [18:35:05]Write to MH i2c: E2 08 00 3D 01 80 13 01 00 00 00 00 00 BB [18:35:05]Write i2c OK [18:35:05]MH_I2C_Read... [18:35:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:05]Read from MH i2c: E2 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 0E 00 [18:35:05]MH_I2C_Read... [18:35:05]Read from MH i2c: E2 0E 00 3D 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 31 [18:35:05]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:05]wFMCommunicate OK [18:35:05]SAM_PROTO_GetShiftState done [18:35:05]FM_GetShiftState done [18:35:05]req_shift_opened done [18:35:05]requested_item shift.open_date is exist - process it [18:35:05]req_shift_open_date [18:35:05]req_shift_open_date done [18:35:05]produce_requested_data done [18:35:05]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37902,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:05]process_action_free close_receipt [18:35:05]json_value_free [18:35:05]json_value_free done [18:35:05]process_json_proto returns [18:35:05]Send response to host [18:35:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37902,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:05]free response buf [18:35:05]execute_script done [18:35:05]execute_script returns [18:35:05]free content buf [18:35:05]Sock 9.Close socket [18:35:05]Sock 9.Thread stoped [18:35:06]accept exits with 6 [18:35:06]New connection [18:35:06]New thread 3067207012 created [18:35:06]Thread 3067063652 joined [18:35:06]Waiting for new connection... [18:35:06] Sock 6.Parse request [18:35:06]Sock 6.Check first char [18:35:06]Sock 6.First char is OK [18:35:06]request: POST /json_proto HTTP/1.0 [18:35:06]Method: POST [18:35:06]URL: /json_proto [18:35:06]Method is POST - this is cgi request [18:35:06]url: /json_proto [18:35:06]query_string will be loaded in cgi processing [18:35:06]execute_cgi json_proto POST (null) [18:35:06]execute_cgi path=json_proto method=POST [18:35:06]POST find Content-Length [18:35:06]Host: 172.17.40.196:8080 [18:35:06]Content-Length: 646 [18:35:06]Content-Type: application/json [18:35:06] [18:35:06]POST finish read [18:35:06]Found Content-Length = 646 [18:35:06]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35203", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:06]execute_script... [18:35: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)35203", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 2.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:06]POST & json_proto [18:35:06]process_json_proto [18:35:06]json parsed OK: [18:35:06]protocol is kg_v1.0 [18:35:06]action value=close_receipt [18:35:06]process_action close_receipt [18:35:06]cmd_close_receipt [18:35:06]MH_GetDate [18:35:06]Write to MH i2c: F0 00 00 3E 01 2E [18:35:06]Write i2c OK [18:35:06]MH_I2C_Read... [18:35:06]Read from MH i2c: F0 [18:35:06]MH_I2C_Read... [18:35:06]Read from MH i2c: F0 09 00 [18:35:06]MH_I2C_Read... [18:35:06]Read from MH i2c: F0 09 00 3E 01 00 DA 2A 21 67 5B 68 A1 66 8D [18:35:06]GetLastDocTimeStamp 1730226900 [18:35:06]current date 1730226906 [18:35:06]FM_GetShiftState [18:35:06]SAM_PROTO_GetShiftState [18:35:06]wFMCommunicate request_size=4 [18:35:06]MH_SAM_APDU [18:35:06]CAPDU: 80 13 01 00 [18:35:06]Write to MH i2c: E2 08 00 3F 01 80 13 01 00 00 00 00 00 BD [18:35:06]Write i2c OK [18:35:06]MH_I2C_Read... [18:35:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:06]Read from MH i2c: E2 [18:35:06]MH_I2C_Read... [18:35:06]Read from MH i2c: E2 0E 00 [18:35:06]MH_I2C_Read... [18:35:06]Read from MH i2c: E2 0E 00 3F 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 33 [18:35:06]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:06]wFMCommunicate OK [18:35:06]SAM_PROTO_GetShiftState done [18:35:06]FM_GetShiftState done [18:35:06]opened in 1730160317 [18:35:06]opened+sec_in_day 1730246717 [18:35:06]quantity*price = 13000 [18:35:06]sum+1 = 13001 [18:35:06]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 65 29.10.2024 18:35 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37903 ФПД: 56902419572531 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183506&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37903&fm=56902419572531&tin=02508201610067®Number=0000000000091684&sum=13000 0 [18:35:08]StoreToDocumentArchive [18:35:08]shift 552 fd 37903 [18:35:08]save to /storage/0552/doc_00037903 [18:35:08]save last doc name /storage/0552/doc_00037903 to /storage/kkm_last_doc_name [18:35:08]save OK [18:35:08]Clear old archive folders... [18:35:08]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:35:08]tlvbuf is 01885CC0 [18:35:08]SAM_PROTO_ClearQueue [18:35:08]wFMCommunicate request_size=4 [18:35:08]MH_SAM_APDU [18:35:08]CAPDU: 80 09 00 00 [18:35:08]Write to MH i2c: E2 08 00 4C 01 80 09 00 00 00 00 00 00 BF [18:35:08]Write i2c OK [18:35:08]MH_I2C_Read... [18:35:08]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:08]Read from MH i2c: E2 [18:35:08]MH_I2C_Read... [18:35:08]Read from MH i2c: E2 03 00 [18:35:08]MH_I2C_Read... [18:35:08]Read from MH i2c: E2 03 00 4C 01 00 90 00 C1 [18:35:08]RAPDU: 90 00 [18:35:08]wFMCommunicate OK [18:35:08]SAM_PROTO_ClearQueue done [18:35:08]KKMCreateOFDPacket [18:35:08]OFDProtocolAddRootSTLVToBuf [18:35:08]FM_MakeSignedData [18:35:08]FM_MakeSignedData [18:35:08]SAM_PROTO_SignData [18:35:08]wFMCommunicate request_size=4 [18:35:08]MH_SAM_APDU [18:35:08]CAPDU: 80 0D 01 02 [18:35:08]Write to MH i2c: E2 08 00 4D 01 80 0D 01 02 00 00 00 00 C7 [18:35:08]Write i2c OK [18:35:08]MH_I2C_Read... [18:35:08]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:08]Read from MH i2c: E2 [18:35:08]MH_I2C_Read... [18:35:08]Read from MH i2c: E2 03 00 [18:35:08]MH_I2C_Read... [18:35:08]Read from MH i2c: E2 03 00 4D 01 00 90 00 C2 [18:35:08]RAPDU: 90 00 [18:35:08]wFMCommunicate OK [18:35:08]wFMCommunicate request_size=255 [18:35:08]MH_SAM_APDU [18:35:08]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 DA 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [18:35:08]Write to MH i2c: E2 02 01 4E 01 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 DA 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 5F [18:35:08]Write i2c OK [18:35:08]MH_I2C_Read... [18:35:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:09]Read from MH i2c: E2 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 03 00 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 03 00 4E 01 00 90 00 C3 [18:35:09]RAPDU: 90 00 [18:35:09]wFMCommunicate OK [18:35:09]wFMCommunicate request_size=31 [18:35:09]MH_SAM_APDU [18:35:09]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 0F 94 00 00 35 04 06 00 33 C0 A0 81 67 33 [18:35:09]Write to MH i2c: E2 22 00 4F 01 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 0F 94 00 00 35 04 06 00 33 C0 A0 81 67 33 00 00 43 [18:35:09]Write i2c OK [18:35:09]MH_I2C_Read... [18:35:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:09]Read from MH i2c: E2 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 03 00 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 03 00 4F 01 00 90 00 C4 [18:35:09]RAPDU: 90 00 [18:35:09]wFMCommunicate OK [18:35:09]wFMCommunicate request_size=4 [18:35:09]MH_SAM_APDU [18:35:09]CAPDU: 80 0D 03 02 [18:35:09]Write to MH i2c: E2 08 00 50 01 80 0D 03 02 00 00 00 00 CC [18:35:09]Write i2c OK [18:35:09]MH_I2C_Read... [18:35:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:09]Read from MH i2c: E2 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 0B 00 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 0B 00 50 01 00 5B 21 A2 72 48 B6 1F 26 90 00 A0 [18:35:09]RAPDU: 5B 21 A2 72 48 B6 1F 26 90 00 [18:35:09]wFMCommunicate OK [18:35:09]SAM_PROTO_SignData done [18:35:09]FM_MakeSignedData done [18:35:09]CreateOFDProtocolMessage [18:35:09]wFMCommunicate request_size=4 [18:35:09]MH_SAM_APDU [18:35:09]CAPDU: 80 11 00 00 [18:35:09]Write to MH i2c: E2 08 00 51 01 80 11 00 00 00 00 00 00 CC [18:35:09]Write i2c OK [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 [18:35:09]MH_I2C_Read... [18:35:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:09]Read from MH i2c: E2 17 00 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: E2 17 00 51 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 1C [18:35:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:09]wFMCommunicate OK [18:35:09]CreateOFDProtocolMessage done [18:35:09]OFDSenderStorePacket 37903 [18:35:09]StoreOFDPacket docnum=37903 [18:35:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 8C BA 1C 01 9A F7 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 DA 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0F 94 00 00 35 04 06 00 33 C0 A0 81 67 33 5B 21 A2 72 48 B6 1F 26 [18:35:09]CheckFolder [18:35:09]dirname=/storage/ofd_packets [18:35:09]CheckFolder done [18:35:09]ProducePacketName [18:35:09]name=ofd_packets/00037903 [18:35:09]NVStorageSaveData ofd_packets/00037903 [18:35:09]File name is /storage/ofd_packets/00037903 [18:35:09]Write 322 bytes [18:35:09]NVStorageSaveData done [18:35:09]OFDSenderStorePacket done [18:35:09]KKMCreateOFDPacket done [18:35:09]NVStorageSaveData kkm_last_timestamp [18:35:09]File name is /storage/kkm_last_timestamp [18:35:09]Write 4 bytes [18:35:09]NVStorageSaveData done [18:35:09]ExternCall_PrintAddStr [18:35:09]wPrintStart [18:35:09]Write to MH i2c: 01 00 00 52 01 53 [18:35:09]OFD Sender: Processing packet 37903 [packets to send 42, broken 41] [18:35:09]ProducePacketName [18:35:09]name=ofd_packets/00037903 [18:35:09]OFD Sender: To server: pG, [18:35:09]CommunicateWithHost lk.salyk.kg:30040 [18:35:09]ConnectInit lk.salyk.kg [18:35:09]Write i2c OK [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: 01 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: 01 07 00 [18:35:09]MH_I2C_Read... [18:35:09]Read from MH i2c: 01 07 00 52 01 00 00 00 00 00 FF 0F 68 [18:35:09]RasterBufferAndPrint [18:35:09]line Счет N : (3)35203 [18:35:09]line ИНН: 02508201610067 [18:35:09]line Контрольно-Кассовый Чек [18:35:09]line ПРОДАЖА [18:35:09]line Товар: 47011656 [18:35:09]line Водка Пшеничная 0,1л [18:35:09]line 2.000 * 65.00 [18:35:09]line = 130.00 [18:35:09]line НДС 12% НСП 1% [18:35:09]line > о реализуемом товаре [18:35:09]line ИТОГО: 130.00 [18:35:09]line НСП 1% : 1.15 [18:35:09]line НДС 12% : 13.80 [18:35:09]line Наличными: 130.00 [18:35:09]line Безнал.: 0.00 [18:35:09]line Место: АЗС № 126 "Партнер Нефть" [18:35:09]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:35:09]line СНО: Общий режим [18:35:09]line Чек 65 29.10.2024 18:35 [18:35:09]line Смена: 552 ФФД: 1.0 [18:35:09]line ЗНМ: 0300000092 [18:35:09]line РНМ: 0000000000091684 [18:35:09]line Версия ККМ: 001 [18:35:09]line ФМ: 0000000000871841 [18:35:09]line ФД: 37903 [18:35:09]line ФПД: 56902419572531 [18:35:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183506&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37903&fm=56902419572531&tin=02508201610067®Number=0000000000091684&sum=13000 [18:35:09]line 0 [18:35:09]written 0, free lines is 4095 [18:35:09]Connected sock=10 [18:35:09]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 8C BA 1C 01 9A F7 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 C8 32 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 DA 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0F 94 00 00 35 04 06 00 33 C0 A0 81 67 33 5B 21 A2 72 48 B6 1F 26 [18:35:10]Write to MH i2c: 01 00 00 7A 01 7B [18:35:10]Write i2c OK [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: 01 [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: 01 07 00 [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: 01 07 00 7A 01 00 00 00 00 00 4B 0D DA [18:35:10]RasterBufferAndPrint [18:35:10]line [18:35:10]line [18:35:10]line [18:35:10]line [18:35:10]line [18:35:10]written 0, free lines is 3437 [18:35:10]MH_Cut [18:35:10]Write to MH i2c: D1 01 00 81 01 01 54 [18:35:10]Write i2c OK [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: D1 [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: D1 01 00 [18:35:10]MH_I2C_Read... [18:35:10]Read from MH i2c: D1 01 00 81 01 00 53 [18:35:10]Write to MH i2c: 01 00 00 82 01 83 [18:35:10]Write i2c OK [18:35:10]MH_I2C_Read... [18:35:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 1A DF 47 00 36 AB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 0F 94 00 00 F4 03 04 00 CC D5 20 67 B6 04 01 00 00 C8 7F 79 DA 2D 80 FA 99 [18:35:10]CommunicateWithHost err = 0 [18:35:10]CheckOFDResponse [18:35:10]1017 (14) - 77093643461234 [18:35:10]1041 (16) - 0000000000871841 [18:35:10]1040 (4) - 37903 [18:35:10]1012 (4) - 29.10.2024 12:32 [18:35:10]1206 (1) - 0 [18:35:10]OFD Sender: Remove packet 37903 [18:35:10]ProducePacketName [18:35:10]name=ofd_packets/00037903 [18:35:10]NVStorageDeleteData [18:35:10]*** Cut start [18:35:10]*** Partial cut [18:35:10]*** CUTSNS_PIN = 1 [18:35:10]*** CUTSNS_PIN = 0 [18:35:11]OFD Sender: No OFD packet to send [18:35:11]*** Brake cut motor [18:35:11]Read from MH i2c: 01 [18:35:11]MH_I2C_Read... [18:35:11]*** Stop cut motor [18:35:11]*** Cut end [18:35:11]Read from MH i2c: 01 07 00 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: 01 07 00 82 01 00 00 00 00 00 FF 0F 98 [18:35:11]process_action close_receipt done [18:35:11]requested_data is exist [18:35:11]produce_requested_data [18:35:11]requested_item fm.sn is exist - process it [18:35:11]wFMCommunicate request_size=4 [18:35:11]MH_SAM_APDU [18:35:11]CAPDU: 80 11 00 00 [18:35:11]Write to MH i2c: E2 08 00 83 01 80 11 00 00 00 00 00 00 FE [18:35:11]Write i2c OK [18:35:11]MH_I2C_Read... [18:35:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:11]Read from MH i2c: E2 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 17 00 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 17 00 83 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4E [18:35:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:11]wFMCommunicate OK [18:35:11]requested_item fd.num is exist - process it [18:35:11]SAM_PROTO_GetFieldsCounters [18:35:11]wFMCommunicate request_size=4 [18:35:11]MH_SAM_APDU [18:35:11]CAPDU: 80 13 00 00 [18:35:11]Write to MH i2c: E2 08 00 84 01 80 13 00 00 00 00 00 00 01 [18:35:11]Write i2c OK [18:35:11]MH_I2C_Read... [18:35:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:11]Read from MH i2c: E2 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 62 00 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 62 00 84 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0F 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 B2 [18:35:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 0F 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 41 00 00 00 5E 04 04 00 41 00 00 00 57 04 04 00 42 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:11]wFMCommunicate OK [18:35:11]SAM_PROTO_GetFieldsCounters done [18:35:11]requested_item shift.num is exist - process it [18:35:11]requested_item shift.opened is exist - process it [18:35:11]req_shift_opened [18:35:11]FM_GetShiftState [18:35:11]SAM_PROTO_GetShiftState [18:35:11]wFMCommunicate request_size=4 [18:35:11]MH_SAM_APDU [18:35:11]CAPDU: 80 13 01 00 [18:35:11]Write to MH i2c: E2 08 00 85 01 80 13 01 00 00 00 00 00 03 [18:35:11]Write i2c OK [18:35:11]MH_I2C_Read... [18:35:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:11]Read from MH i2c: E2 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 0E 00 [18:35:11]MH_I2C_Read... [18:35:11]Read from MH i2c: E2 0E 00 85 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 79 [18:35:11]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:11]wFMCommunicate OK [18:35:11]SAM_PROTO_GetShiftState done [18:35:11]FM_GetShiftState done [18:35:11]req_shift_opened done [18:35:11]requested_item shift.open_date is exist - process it [18:35:11]req_shift_open_date [18:35:11]req_shift_open_date done [18:35:11]produce_requested_data done [18:35:11]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37903,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:11]process_action_free close_receipt [18:35:11]json_value_free [18:35:11]json_value_free done [18:35:11]process_json_proto returns [18:35:11]Send response to host [18:35:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37903,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:11]free response buf [18:35:11]execute_script done [18:35:11]execute_script returns [18:35:11]free content buf [18:35:11]Sock 6.Close socket [18:35:11]Sock 6.Thread stoped [18:35:13]accept exits with 9 [18:35:13]New connection [18:35:13]New thread 3067063652 created [18:35:13]Thread 3067207012 joined [18:35:13]Waiting for new connection... [18:35:13] Sock 9.Parse request [18:35:13]Sock 9.Check first char [18:35:13]Sock 9.First char is OK [18:35:13]request: POST /json_proto HTTP/1.0 [18:35:13]Method: POST [18:35:13]URL: /json_proto [18:35:13]Method is POST - this is cgi request [18:35:13]url: /json_proto [18:35:13]query_string will be loaded in cgi processing [18:35:13]execute_cgi json_proto POST (null) [18:35:13]execute_cgi path=json_proto method=POST [18:35:13]POST find Content-Length [18:35:13]Host: 172.17.40.196:8080 [18:35:13]Content-Length: 619 [18:35:13]Content-Type: application/json [18:35:13] [18:35:13]POST finish read [18:35:13]Found Content-Length = 619 [18:35:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35204", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 2.000, "sum" : 278.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" ] } } [18:35:13]execute_script... [18:35: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)35204", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 139.00, "quantity" : 2.000, "sum" : 278.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" ] } } [18:35:13]POST & json_proto [18:35:13]process_json_proto [18:35:13]json parsed OK: [18:35:13]protocol is kg_v1.0 [18:35:13]action value=close_receipt [18:35:13]process_action close_receipt [18:35:13]cmd_close_receipt [18:35:13]MH_GetDate [18:35:13]Write to MH i2c: F0 00 00 86 01 76 [18:35:13]Write i2c OK [18:35:13]MH_I2C_Read... [18:35:13]Read from MH i2c: F0 [18:35:13]MH_I2C_Read... [18:35:13]Read from MH i2c: F0 09 00 [18:35:13]MH_I2C_Read... [18:35:13]Read from MH i2c: F0 09 00 86 01 00 E1 2A 21 67 5B 68 A1 66 DC [18:35:13]GetLastDocTimeStamp 1730226906 [18:35:13]current date 1730226913 [18:35:13]FM_GetShiftState [18:35:13]SAM_PROTO_GetShiftState [18:35:13]wFMCommunicate request_size=4 [18:35:13]MH_SAM_APDU [18:35:13]CAPDU: 80 13 01 00 [18:35:13]Write to MH i2c: E2 08 00 87 01 80 13 01 00 00 00 00 00 05 [18:35:13]Write i2c OK [18:35:13]MH_I2C_Read... [18:35:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:13]Read from MH i2c: E2 [18:35:13]MH_I2C_Read... [18:35:13]Read from MH i2c: E2 0E 00 [18:35:13]MH_I2C_Read... [18:35:13]Read from MH i2c: E2 0E 00 87 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7B [18:35:13]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:13]wFMCommunicate OK [18:35:13]SAM_PROTO_GetShiftState done [18:35:13]FM_GetShiftState done [18:35:13]opened in 1730160317 [18:35:13]opened+sec_in_day 1730246717 [18:35:13]quantity*price = 27800 [18:35:13]sum+1 = 27801 [18:35:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 278.00 НСП 1% : 2.46 НДС 12% : 29.52 Наличными: 278.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 66 29.10.2024 18:35 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37904 ФПД: 154455827312616 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183513&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37904&fm=154455827312616&tin=02508201610067®Number=0000000000091684&sum=27800 0 [18:35:15]StoreToDocumentArchive [18:35:15]shift 552 fd 37904 [18:35:15]save to /storage/0552/doc_00037904 [18:35:15]save last doc name /storage/0552/doc_00037904 to /storage/kkm_last_doc_name [18:35:15]save OK [18:35:15]Clear old archive folders... [18:35:15]ProcessDocumentItem done err = 0, tmpTLVsize=272 [18:35:15]tlvbuf is 01957680 [18:35:15]SAM_PROTO_ClearQueue [18:35:15]wFMCommunicate request_size=4 [18:35:15]MH_SAM_APDU [18:35:15]CAPDU: 80 09 00 00 [18:35:15]Write to MH i2c: E2 08 00 94 01 80 09 00 00 00 00 00 00 07 [18:35:15]Write i2c OK [18:35:15]MH_I2C_Read... [18:35:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:15]Read from MH i2c: E2 [18:35:15]MH_I2C_Read... [18:35:15]Read from MH i2c: E2 03 00 [18:35:15]MH_I2C_Read... [18:35:15]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [18:35:15]RAPDU: 90 00 [18:35:15]wFMCommunicate OK [18:35:15]SAM_PROTO_ClearQueue done [18:35:15]KKMCreateOFDPacket [18:35:15]OFDProtocolAddRootSTLVToBuf [18:35:15]FM_MakeSignedData [18:35:15]FM_MakeSignedData [18:35:15]SAM_PROTO_SignData [18:35:15]wFMCommunicate request_size=4 [18:35:15]MH_SAM_APDU [18:35:15]CAPDU: 80 0D 01 02 [18:35:15]Write to MH i2c: E2 08 00 95 01 80 0D 01 02 00 00 00 00 0F [18:35:15]Write i2c OK [18:35:15]MH_I2C_Read... [18:35:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:15]Read from MH i2c: E2 [18:35:15]MH_I2C_Read... [18:35:15]Read from MH i2c: E2 03 00 [18:35:15]MH_I2C_Read... [18:35:15]Read from MH i2c: E2 03 00 95 01 00 90 00 0A [18:35:15]RAPDU: 90 00 [18:35:15]wFMCommunicate OK [18:35:15]wFMCommunicate request_size=255 [18:35:15]MH_SAM_APDU [18:35:15]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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 42 00 00 00 F4 03 04 00 E1 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [18:35:15]Write to MH i2c: E2 02 01 96 01 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 42 00 00 00 F4 03 04 00 E1 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 F9 [18:35:15]Write i2c OK [18:35:15]MH_I2C_Read... [18:35:16]OFD Sender: No OFD packet to send [18:35:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:16]Read from MH i2c: E2 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 03 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 03 00 96 01 00 90 00 0B [18:35:16]RAPDU: 90 00 [18:35:16]wFMCommunicate OK [18:35:16]wFMCommunicate request_size=31 [18:35:16]MH_SAM_APDU [18:35:16]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 10 94 00 00 35 04 06 00 8C 7A 0C B8 6F E8 [18:35:16]Write to MH i2c: E2 22 00 97 01 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 10 94 00 00 35 04 06 00 8C 7A 0C B8 6F E8 00 00 FF [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:16]Read from MH i2c: E2 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 03 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 03 00 97 01 00 90 00 0C [18:35:16]RAPDU: 90 00 [18:35:16]wFMCommunicate OK [18:35:16]wFMCommunicate request_size=4 [18:35:16]MH_SAM_APDU [18:35:16]CAPDU: 80 0D 03 02 [18:35:16]Write to MH i2c: E2 08 00 98 01 80 0D 03 02 00 00 00 00 14 [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:16]Read from MH i2c: E2 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 0B 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 0B 00 98 01 00 73 C7 8E 4E 9E 28 31 D7 90 00 F9 [18:35:16]RAPDU: 73 C7 8E 4E 9E 28 31 D7 90 00 [18:35:16]wFMCommunicate OK [18:35:16]SAM_PROTO_SignData done [18:35:16]FM_MakeSignedData done [18:35:16]CreateOFDProtocolMessage [18:35:16]wFMCommunicate request_size=4 [18:35:16]MH_SAM_APDU [18:35:16]CAPDU: 80 11 00 00 [18:35:16]Write to MH i2c: E2 08 00 99 01 80 11 00 00 00 00 00 00 14 [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 [18:35:16]MH_I2C_Read... [18:35:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:16]Read from MH i2c: E2 17 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: E2 17 00 99 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 64 [18:35:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:16]wFMCommunicate OK [18:35:16]CreateOFDProtocolMessage done [18:35:16]OFDSenderStorePacket 37904 [18:35:16]StoreOFDPacket docnum=37904 [18:35:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 A9 55 1C 01 FE 11 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 42 00 00 00 F4 03 04 00 E1 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 10 94 00 00 35 04 06 00 8C 7A 0C B8 6F E8 73 C7 8E 4E 9E 28 31 D7 [18:35:16]CheckFolder [18:35:16]dirname=/storage/ofd_packets [18:35:16]CheckFolder done [18:35:16]ProducePacketName [18:35:16]name=ofd_packets/00037904 [18:35:16]NVStorageSaveData ofd_packets/00037904 [18:35:16]File name is /storage/ofd_packets/00037904 [18:35:16]Write 322 bytes [18:35:16]NVStorageSaveData done [18:35:16]OFDSenderStorePacket done [18:35:16]KKMCreateOFDPacket done [18:35:16]NVStorageSaveData kkm_last_timestamp [18:35:16]File name is /storage/kkm_last_timestamp [18:35:16]Write 4 bytes [18:35:16]NVStorageSaveData done [18:35:16]ExternCall_PrintAddStr [18:35:16]wPrintStart [18:35:16]Write to MH i2c: 01 00 00 9A 01 9B [18:35:16]OFD Sender: Processing packet 37904 [packets to send 42, broken 41] [18:35:16]ProducePacketName [18:35:16]name=ofd_packets/00037904 [18:35:16]OFD Sender: To server: pG, [18:35:16]CommunicateWithHost lk.salyk.kg:30040 [18:35:16]ConnectInit lk.salyk.kg [18:35:16]Write i2c OK [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: 01 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: 01 07 00 [18:35:16]MH_I2C_Read... [18:35:16]Read from MH i2c: 01 07 00 9A 01 00 00 00 00 00 FF 0F B0 [18:35:16]RasterBufferAndPrint [18:35:16]line Счет N : (3)35204 [18:35:16]line ИНН: 02508201610067 [18:35:16]line Контрольно-Кассовый Чек [18:35:16]line ПРОДАЖА [18:35:16]line Товар: 48745000 [18:35:16]line Сигареты Winston Purple Mix [18:35:16]line 2.000 * 139.00 [18:35:16]line = 278.00 [18:35:16]line НДС 12% НСП 1% [18:35:16]line > о реализуемом товаре [18:35:16]line ИТОГО: 278.00 [18:35:16]line НСП 1% : 2.46 [18:35:16]line НДС 12% : 29.52 [18:35:16]line Наличными: 278.00 [18:35:16]line Безнал.: 0.00 [18:35:16]line Место: АЗС № 126 "Партнер Нефть" [18:35:16]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:35:16]line СНО: Общий режим [18:35:16]line Чек 66 29.10.2024 18:35 [18:35:16]line Смена: 552 ФФД: 1.0 [18:35:16]line ЗНМ: 0300000092 [18:35:16]line РНМ: 0000000000091684 [18:35:16]line Версия ККМ: 001 [18:35:16]line ФМ: 0000000000871841 [18:35:16]line ФД: 37904 [18:35:16]line ФПД: 154455827312616 [18:35:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183513&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37904&fm=154455827312616&tin=02508201610067®Number=0000000000091684&sum=27800 [18:35:16]line 0 [18:35:16]written 0, free lines is 4095 [18:35:16]Connected sock=7 [18:35:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 A9 55 1C 01 FE 11 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 D0 07 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 98 6C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 42 00 00 00 F4 03 04 00 E1 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 Write to MH i2c: 00 01 10 00 94 00 00 C2 00 01 35 C3 [18:35:17]04 06 00 8C 7A 0C B8 6F E8 73 C7 8E 4E 9E 28 31 D7 [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: 01 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: 01 07 00 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: 01 07 00 C2 01 00 00 00 00 00 59 0D 30 [18:35:17]RasterBufferAndPrint [18:35:17]line [18:35:17]line [18:35:17]line [18:35:17]line [18:35:17]line [18:35:17]written 0, free lines is 3482 [18:35:17]MH_Cut [18:35:17]Write to MH i2c: D1 01 00 C9 01 01 9C [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: D1 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: D1 01 00 [18:35:17]MH_I2C_Read... [18:35:17]Read from MH i2c: D1 01 00 C9 01 00 9B [18:35:17]Write to MH i2c: 01 00 00 CA 01 CB [18:35:17]Write i2c OK [18:35:17]MH_I2C_Read... [18:35:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F5 50 47 00 58 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 38 37 31 38 34 31 10 04 04 00 10 94 00 00 F4 03 04 00 D4 D5 20 67 B6 04 01 00 00 2C 74 3E E1 E3 07 B6 0A [18:35:17]CommunicateWithHost err = 0 [18:35:17]CheckOFDResponse [18:35:17]1017 (14) - 77093643461234 [18:35:17]1041 (16) - 0000000000871841 [18:35:17]1040 (4) - 37904 [18:35:17]1012 (4) - 29.10.2024 12:32 [18:35:17]1206 (1) - 0 [18:35:17]OFD Sender: Remove packet 37904 [18:35:17]ProducePacketName [18:35:17]name=ofd_packets/00037904 [18:35:17]NVStorageDeleteData [18:35:17]*** Cut start [18:35:17]*** Partial cut [18:35:17]*** CUTSNS_PIN = 1 [18:35:17]*** CUTSNS_PIN = 0 [18:35:18]*** Brake cut motor [18:35:18]OFD Sender: No OFD packet to send [18:35:18]Read from MH i2c: 01 [18:35:18]MH_I2C_Read... [18:35:18]*** Stop cut motor [18:35:18]*** Cut end [18:35:18]Read from MH i2c: 01 07 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: 01 07 00 CA 01 00 00 00 00 00 FF 0F E0 [18:35:18]process_action close_receipt done [18:35:18]requested_data is exist [18:35:18]produce_requested_data [18:35:18]requested_item fm.sn is exist - process it [18:35:18]wFMCommunicate request_size=4 [18:35:18]MH_SAM_APDU [18:35:18]CAPDU: 80 11 00 00 [18:35:18]Write to MH i2c: E2 08 00 CB 01 80 11 00 00 00 00 00 00 46 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:18]Read from MH i2c: E2 17 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 17 00 CB 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 96 [18:35:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:18]wFMCommunicate OK [18:35:18]requested_item fd.num is exist - process it [18:35:18]SAM_PROTO_GetFieldsCounters [18:35:18]wFMCommunicate request_size=4 [18:35:18]MH_SAM_APDU [18:35:18]CAPDU: 80 13 00 00 [18:35:18]Write to MH i2c: E2 08 00 CC 01 80 13 00 00 00 00 00 00 49 [18:35:18]Write i2c OK [18:35:18]MH_I2C_Read... [18:35:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:18]Read from MH i2c: E2 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 62 00 [18:35:18]MH_I2C_Read... [18:35:18]Read from MH i2c: E2 62 00 CC 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 10 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 FE [18:35:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 10 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 42 00 00 00 5E 04 04 00 42 00 00 00 57 04 04 00 43 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:19]wFMCommunicate OK [18:35:19]SAM_PROTO_GetFieldsCounters done [18:35:19]requested_item shift.num is exist - process it [18:35:19]requested_item shift.opened is exist - process it [18:35:19]req_shift_opened [18:35:19]FM_GetShiftState [18:35:19]SAM_PROTO_GetShiftState [18:35:19]wFMCommunicate request_size=4 [18:35:19]MH_SAM_APDU [18:35:19]CAPDU: 80 13 01 00 [18:35:19]Write to MH i2c: E2 08 00 CD 01 80 13 01 00 00 00 00 00 4B [18:35:19]Write i2c OK [18:35:19]MH_I2C_Read... [18:35:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:19]Read from MH i2c: E2 [18:35:19]MH_I2C_Read... [18:35:19]Read from MH i2c: E2 0E 00 [18:35:19]MH_I2C_Read... [18:35:19]Read from MH i2c: E2 0E 00 CD 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C1 [18:35:19]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:19]wFMCommunicate OK [18:35:19]SAM_PROTO_GetShiftState done [18:35:19]FM_GetShiftState done [18:35:19]req_shift_opened done [18:35:19]requested_item shift.open_date is exist - process it [18:35:19]req_shift_open_date [18:35:19]req_shift_open_date done [18:35:19]produce_requested_data done [18:35:19]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37904,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:19]process_action_free close_receipt [18:35:19]json_value_free [18:35:19]json_value_free done [18:35:19]process_json_proto returns [18:35:19]Send response to host [18:35:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37904,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:19]free response buf [18:35:19]execute_script done [18:35:19]execute_script returns [18:35:19]free content buf [18:35:19]Sock 9.Close socket [18:35:19]Sock 9.Thread stoped [18:35:20]accept exits with 10 [18:35:20]New connection [18:35:20]New thread 3067207012 created [18:35:20]Thread 3067063652 joined [18:35:20]Waiting for new connection... [18:35:20] Sock 10.Parse request [18:35:20]Sock 10.Check first char [18:35:20]Sock 10.First char is OK [18:35:20]request: POST /json_proto HTTP/1.0 [18:35:20]Method: POST [18:35:20]URL: /json_proto [18:35:20]Method is POST - this is cgi request [18:35:20]url: /json_proto [18:35:20]query_string will be loaded in cgi processing [18:35:20]execute_cgi json_proto POST (null) [18:35:20]execute_cgi path=json_proto method=POST [18:35:20]POST find Content-Length [18:35:20]Host: 172.17.40.196:8080 [18:35:20]Content-Length: 739 [18:35:20]Content-Type: application/json [18:35:20] [18:35:20]POST finish read [18:35:20]Found Content-Length = 739 [18:35:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35205", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:20]execute_script... [18:35:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35205", "tax_sys" : 0, "items" : [ { "code": "4870001570057", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 0,5\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:20]POST & json_proto [18:35:20]process_json_proto [18:35:20]json parsed OK: [18:35:20]protocol is kg_v1.0 [18:35:20]action value=close_receipt [18:35:20]process_action close_receipt [18:35:20]cmd_close_receipt [18:35:20]MH_GetDate [18:35:20]Write to MH i2c: F0 00 00 CE 01 BE [18:35:20]Write i2c OK [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: F0 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: F0 09 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: F0 09 00 CE 01 00 E8 2A 21 67 5B 68 A1 66 2B [18:35:20]GetLastDocTimeStamp 1730226913 [18:35:20]current date 1730226920 [18:35:20]FM_GetShiftState [18:35:20]SAM_PROTO_GetShiftState [18:35:20]wFMCommunicate request_size=4 [18:35:20]MH_SAM_APDU [18:35:20]CAPDU: 80 13 01 00 [18:35:20]Write to MH i2c: E2 08 00 CF 01 80 13 01 00 00 00 00 00 4D [18:35:20]Write i2c OK [18:35:20]MH_I2C_Read... [18:35:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:20]Read from MH i2c: E2 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 0E 00 [18:35:20]MH_I2C_Read... [18:35:20]Read from MH i2c: E2 0E 00 CF 01 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 C3 [18:35:20]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:20]wFMCommunicate OK [18:35:20]SAM_PROTO_GetShiftState done [18:35:20]FM_GetShiftState done [18:35:20]opened in 1730160317 [18:35:20]opened+sec_in_day 1730246717 [18:35:20]quantity*price = 8000 [18:35:20]sum+1 = 8001 [18:35:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 0.00 Безнал.: 80.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 67 29.10.2024 18:35 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37905 ФПД: 252469860319171 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183521&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37905&fm=252469860319171&tin=02508201610067®Number=0000000000091684&sum=8000 0 [18:35:22]StoreToDocumentArchive [18:35:22]shift 552 fd 37905 [18:35:22]save to /storage/0552/doc_00037905 [18:35:22]save last doc name /storage/0552/doc_00037905 to /storage/kkm_last_doc_name [18:35:22]save OK [18:35:22]Clear old archive folders... [18:35:22]ProcessDocumentItem done err = 0, tmpTLVsize=268 [18:35:22]tlvbuf is 019573C0 [18:35:22]SAM_PROTO_ClearQueue [18:35:22]wFMCommunicate request_size=4 [18:35:22]MH_SAM_APDU [18:35:22]CAPDU: 80 09 00 00 [18:35:22]Write to MH i2c: E2 08 00 DC 01 80 09 00 00 00 00 00 00 4F [18:35:22]Write i2c OK [18:35:22]MH_I2C_Read... [18:35:22]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:22]Read from MH i2c: E2 [18:35:22]MH_I2C_Read... [18:35:22]Read from MH i2c: E2 03 00 [18:35:22]MH_I2C_Read... [18:35:22]Read from MH i2c: E2 03 00 DC 01 00 90 00 51 [18:35:22]RAPDU: 90 00 [18:35:22]wFMCommunicate OK [18:35:22]SAM_PROTO_ClearQueue done [18:35:22]KKMCreateOFDPacket [18:35:22]OFDProtocolAddRootSTLVToBuf [18:35:22]FM_MakeSignedData [18:35:22]FM_MakeSignedData [18:35:22]SAM_PROTO_SignData [18:35:22]wFMCommunicate request_size=4 [18:35:22]MH_SAM_APDU [18:35:22]CAPDU: 80 0D 01 02 [18:35:22]Write to MH i2c: E2 08 00 DD 01 80 0D 01 02 00 00 00 00 57 [18:35:22]Write i2c OK [18:35:22]MH_I2C_Read... [18:35:22]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:22]Read from MH i2c: E2 [18:35:22]MH_I2C_Read... [18:35:22]Read from MH i2c: E2 03 00 [18:35:22]MH_I2C_Read... [18:35:22]Read from MH i2c: E2 03 00 DD 01 00 90 00 52 [18:35:22]RAPDU: 90 00 [18:35:22]wFMCommunicate OK [18:35:22]wFMCommunicate request_size=255 [18:35:22]MH_SAM_APDU [18:35:22]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 E9 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [18:35:23]Write to MH i2c: E2 02 01 DE 01 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 E9 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 75 [18:35:23]OFD Sender: No OFD packet to send [18:35:23]Write i2c OK [18:35:23]MH_I2C_Read... [18:35:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:23]Read from MH i2c: E2 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 03 00 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 03 00 DE 01 00 90 00 53 [18:35:23]RAPDU: 90 00 [18:35:23]wFMCommunicate OK [18:35:23]wFMCommunicate request_size=27 [18:35:23]MH_SAM_APDU [18:35:23]CAPDU: 80 0D 02 02 16 31 38 34 31 10 04 04 00 11 94 00 00 35 04 06 00 E5 9E B8 57 3F C3 [18:35:23]Write to MH i2c: E2 1E 00 DF 01 80 0D 02 02 16 00 31 38 34 31 10 04 04 00 11 94 00 00 35 04 06 00 E5 9E B8 57 3F C3 00 00 E4 [18:35:23]Write i2c OK [18:35:23]MH_I2C_Read... [18:35:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:23]Read from MH i2c: E2 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 03 00 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 03 00 DF 01 00 90 00 54 [18:35:23]RAPDU: 90 00 [18:35:23]wFMCommunicate OK [18:35:23]wFMCommunicate request_size=4 [18:35:23]MH_SAM_APDU [18:35:23]CAPDU: 80 0D 03 02 [18:35:23]Write to MH i2c: E2 08 00 E0 01 80 0D 03 02 00 00 00 00 5C [18:35:23]Write i2c OK [18:35:23]MH_I2C_Read... [18:35:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:23]Read from MH i2c: E2 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 0B 00 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 0B 00 E0 01 00 2E 4B 13 DF F1 9F 65 93 90 00 50 [18:35:23]RAPDU: 2E 4B 13 DF F1 9F 65 93 90 00 [18:35:23]wFMCommunicate OK [18:35:23]SAM_PROTO_SignData done [18:35:23]FM_MakeSignedData done [18:35:23]CreateOFDProtocolMessage [18:35:23]wFMCommunicate request_size=4 [18:35:23]MH_SAM_APDU [18:35:23]CAPDU: 80 11 00 00 [18:35:23]Write to MH i2c: E2 08 00 E1 01 80 11 00 00 00 00 00 00 5C [18:35:23]Write i2c OK [18:35:23]MH_I2C_Read... [18:35:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:23]Read from MH i2c: E2 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 17 00 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: E2 17 00 E1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 AC [18:35:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:23]wFMCommunicate OK [18:35:23]CreateOFDProtocolMessage done [18:35:23]OFDSenderStorePacket 37905 [18:35:23]StoreOFDPacket docnum=37905 [18:35:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 39 FB 18 01 01 63 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 E9 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 11 94 00 00 35 04 06 00 E5 9E B8 57 3F C3 2E 4B 13 DF F1 9F 65 93 [18:35:23]CheckFolder [18:35:23]dirname=/storage/ofd_packets [18:35:23]CheckFolder done [18:35:23]ProducePacketName [18:35:23]name=ofd_packets/00037905 [18:35:23]NVStorageSaveData ofd_packets/00037905 [18:35:23]File name is /storage/ofd_packets/00037905 [18:35:23]Write 318 bytes [18:35:23]NVStorageSaveData done [18:35:23]OFDSenderStorePacket done [18:35:23]KKMCreateOFDPacket done [18:35:23]NVStorageSaveData kkm_last_timestamp [18:35:23]File name is /storage/kkm_last_timestamp [18:35:23]Write 4 bytes [18:35:23]NVStorageSaveData done [18:35:23]ExternCall_PrintAddStr [18:35:23]wPrintStart [18:35:23]Write to MH i2c: 01 00 00 E2 01 E3 [18:35:23]Write i2c OK [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: 01 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: 01 07 00 [18:35:23]MH_I2C_Read... [18:35:23]Read from MH i2c: 01 07 00 E2 01 00 00 00 00 00 FF 0F F8 [18:35:23]RasterBufferAndPrint [18:35:23]line Счет N : (3)35205 [18:35:24]line ИНН: 02508201610067 [18:35:24]line Контрольно-Кассовый Чек [18:35:24]line ПРОДАЖА [18:35:24]line Товар: 4870001570057 [18:35:24]line Напиток Pepsi 0,5л [18:35:24]line 1.000 * 80.00 [18:35:24]line = 80.00 [18:35:24]line НДС 12% НСП 1% [18:35:24]line > о реализуемом товаре [18:35:24]line ИТОГО: 80.00 [18:35:24]line НСП 1% : 0.71 [18:35:24]line НДС 12% : 8.50 [18:35:24]line Наличными: 0.00 [18:35:24]line Безнал.: 80.00 [18:35:24]line Место: АЗС № 126 "Партнер Нефть" [18:35:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:35:24]line СНО: Общий режим [18:35:24]line Чек 67 29.10.2024 18:35 [18:35:24]line Смена: 552 ФФД: 1.0 [18:35:24]line ЗНМ: 0300000092 [18:35:24]line РНМ: 0000000000091684 [18:35:24]line Версия ККМ: 001 [18:35:24]line Платежная система: Mbank [18:35:24]line ФМ: 0000000000871841 [18:35:24]line ФД: 37905 [18:35:24]line ФПД: 252469860319171 [18:35:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183521&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37905&fm=252469860319171&tin=02508201610067®Number=0000000000091684&sum=8000 [18:35:24]OFD Sender: Processing packet 37905 [packets to send 42, broken 41] [18:35:24]ProducePacketName [18:35:24]name=ofd_packets/00037905 [18:35:24]OFD Sender: To server: pG, [18:35:24]CommunicateWithHost lk.salyk.kg:30040 [18:35:24]ConnectInit lk.salyk.kg [18:35:24]line 0 [18:35:24]written 0, free lines is 4095 [18:35:24]Connected sock=7 [18:35:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 20 01 00 00 39 FB 18 01 01 63 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 35 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 47 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 1F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 43 00 00 00 F4 03 04 00 E9 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 Write to MH i2c: 01 01 00 0D 00 04 0B 10 02 00 30 30 30 30 30 30 30 30 30 30 30 39 0D 31 [18:35:24]36 Write i2c OK [18:35:24]38 MH_I2C_Read... [18:35:24]34 Read from MH i2c: 11 01 04 [18:35:24]10 MH_I2C_Read... [18:35:24]00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 Read from MH i2c: 04 01 04 07 00 00 11 [18:35:24]94 MH_I2C_Read... [18:35:24]00 00 35 04 06 00 E5 9E B8 57 3F C3 Read from MH i2c: 2E 01 4B 07 13 00 DF 0B F1 02 9F 00 65 00 93 00 [18:35:24]00 00 70 0D 91 [18:35:24]RasterBufferAndPrint [18:35:24]line [18:35:24]line [18:35:24]line [18:35:24]line [18:35:24]line [18:35:24]written 0, free lines is 3530 [18:35:24]MH_Cut [18:35:24]Write to MH i2c: D1 01 00 12 02 01 E6 [18:35:24]Write i2c OK [18:35:24]MH_I2C_Read... [18:35:24]Read from MH i2c: D1 [18:35:24]MH_I2C_Read... [18:35:24]Read from MH i2c: D1 01 00 [18:35:24]MH_I2C_Read... [18:35:24]Read from MH i2c: D1 01 00 12 02 00 E5 [18:35:24]Write to MH i2c: 01 00 00 13 02 15 [18:35:24]Write i2c OK [18:35:24]MH_I2C_Read... [18:35:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 46 FE 47 00 3A 8E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 11 94 00 00 F4 03 04 00 DB D5 20 67 B6 04 01 00 00 73 B8 98 94 08 FC 07 80 [18:35:25]CommunicateWithHost err = 0 [18:35:25]CheckOFDResponse [18:35:25]1017 (14) - 77093643461234 [18:35:25]1041 (16) - 0000000000871841 [18:35:25]1040 (4) - 37905 [18:35:25]1012 (4) - 29.10.2024 12:32 [18:35:25]1206 (1) - 0 [18:35:25]OFD Sender: Remove packet 37905 [18:35:25]ProducePacketName [18:35:25]name=ofd_packets/00037905 [18:35:25]NVStorageDeleteData [18:35:25]*** Cut start [18:35:25]*** Partial cut [18:35:25]*** CUTSNS_PIN = 1 [18:35:25]*** CUTSNS_PIN = 0 [18:35:25]*** Brake cut motor [18:35:25]OFD Sender: No OFD packet to send [18:35:25]Read from MH i2c: *** Stop cut motor [18:35:25]01 *** Cut end [18:35:25] [18:35:25]MH_I2C_Read... [18:35:25]Read from MH i2c: 01 07 00 [18:35:25]MH_I2C_Read... [18:35:25]Read from MH i2c: 01 07 00 13 02 00 00 00 00 00 FF 0F 2A [18:35:25]process_action close_receipt done [18:35:25]requested_data is exist [18:35:25]produce_requested_data [18:35:25]requested_item fm.sn is exist - process it [18:35:25]wFMCommunicate request_size=4 [18:35:25]MH_SAM_APDU [18:35:25]CAPDU: 80 11 00 00 [18:35:25]Write to MH i2c: E2 08 00 14 02 80 11 00 00 00 00 00 00 90 [18:35:25]Write i2c OK [18:35:25]MH_I2C_Read... [18:35:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:26]Read from MH i2c: E2 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 17 00 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 17 00 14 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E0 [18:35:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:26]wFMCommunicate OK [18:35:26]requested_item fd.num is exist - process it [18:35:26]SAM_PROTO_GetFieldsCounters [18:35:26]wFMCommunicate request_size=4 [18:35:26]MH_SAM_APDU [18:35:26]CAPDU: 80 13 00 00 [18:35:26]Write to MH i2c: E2 08 00 15 02 80 13 00 00 00 00 00 00 93 [18:35:26]Write i2c OK [18:35:26]MH_I2C_Read... [18:35:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:26]Read from MH i2c: E2 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 62 00 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 62 00 15 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 11 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 4C [18:35:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 11 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 43 00 00 00 5E 04 04 00 43 00 00 00 57 04 04 00 44 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:26]wFMCommunicate OK [18:35:26]SAM_PROTO_GetFieldsCounters done [18:35:26]requested_item shift.num is exist - process it [18:35:26]requested_item shift.opened is exist - process it [18:35:26]req_shift_opened [18:35:26]FM_GetShiftState [18:35:26]SAM_PROTO_GetShiftState [18:35:26]wFMCommunicate request_size=4 [18:35:26]MH_SAM_APDU [18:35:26]CAPDU: 80 13 01 00 [18:35:26]Write to MH i2c: E2 08 00 16 02 80 13 01 00 00 00 00 00 95 [18:35:26]Write i2c OK [18:35:26]MH_I2C_Read... [18:35:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:26]Read from MH i2c: E2 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 0E 00 [18:35:26]MH_I2C_Read... [18:35:26]Read from MH i2c: E2 0E 00 16 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 0B [18:35:26]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:26]wFMCommunicate OK [18:35:26]SAM_PROTO_GetShiftState done [18:35:26]FM_GetShiftState done [18:35:26]req_shift_opened done [18:35:26]requested_item shift.open_date is exist - process it [18:35:26]req_shift_open_date [18:35:26]req_shift_open_date done [18:35:26]produce_requested_data done [18:35:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37905,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:26]process_action_free close_receipt [18:35:26]json_value_free [18:35:26]json_value_free done [18:35:26]process_json_proto returns [18:35:26]Send response to host [18:35:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37905,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:26]free response buf [18:35:26]execute_script done [18:35:26]execute_script returns [18:35:26]free content buf [18:35:26]Sock 10.Close socket [18:35:26]Sock 10.Thread stoped [18:35:27]accept exits with 9 [18:35:27]New connection [18:35:27]New thread 3067063652 created [18:35:27]Thread 3067207012 joined [18:35:27]Waiting for new connection... [18:35:27] Sock 9.Parse request [18:35:27]Sock 9.Check first char [18:35:27]Sock 9.First char is OK [18:35:27]request: POST /json_proto HTTP/1.0 [18:35:27]Method: POST [18:35:27]URL: /json_proto [18:35:27]Method is POST - this is cgi request [18:35:27]url: /json_proto [18:35:27]query_string will be loaded in cgi processing [18:35:27]execute_cgi json_proto POST (null) [18:35:27]execute_cgi path=json_proto method=POST [18:35:27]POST find Content-Length [18:35:27]Host: 172.17.40.196:8080 [18:35:27]Content-Length: 772 [18:35:27]Content-Type: application/json [18:35:27] [18:35:27]POST finish read [18:35:27]Found Content-Length = 772 [18:35:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35206", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:27]execute_script... [18:35:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35206", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [18:35:27]POST & json_proto [18:35:27]process_json_proto [18:35:27]json parsed OK: [18:35:27]protocol is kg_v1.0 [18:35:27]action value=close_receipt [18:35:27]process_action close_receipt [18:35:27]cmd_close_receipt [18:35:27]MH_GetDate [18:35:27]Write to MH i2c: F0 00 00 17 02 08 [18:35:27]Write i2c OK [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 09 00 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: F0 09 00 17 02 00 EF 2A 21 67 5B 68 A1 66 7C [18:35:27]GetLastDocTimeStamp 1730226921 [18:35:27]current date 1730226927 [18:35:27]FM_GetShiftState [18:35:27]SAM_PROTO_GetShiftState [18:35:27]wFMCommunicate request_size=4 [18:35:27]MH_SAM_APDU [18:35:27]CAPDU: 80 13 01 00 [18:35:27]Write to MH i2c: E2 08 00 18 02 80 13 01 00 00 00 00 00 97 [18:35:27]Write i2c OK [18:35:27]MH_I2C_Read... [18:35:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:27]Read from MH i2c: E2 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: E2 0E 00 [18:35:27]MH_I2C_Read... [18:35:27]Read from MH i2c: E2 0E 00 18 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 0D [18:35:27]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:27]wFMCommunicate OK [18:35:27]SAM_PROTO_GetShiftState done [18:35:27]FM_GetShiftState done [18:35:27]opened in 1730160317 [18:35:27]opened+sec_in_day 1730246717 [18:35:27]quantity*price = 13000 [18:35:27]sum+1 = 13001 [18:35:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 68 29.10.2024 18:35 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37906 ФПД: 178713694622178 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183528&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37906&fm=178713694622178&tin=02508201610067®Number=0000000000091684&sum=13000 0 [18:35:29]StoreToDocumentArchive [18:35:29]shift 552 fd 37906 [18:35:29]save to /storage/0552/doc_00037906 [18:35:29]save last doc name /storage/0552/doc_00037906 to /storage/kkm_last_doc_name [18:35:29]save OK [18:35:29]Clear old archive folders... [18:35:29]ProcessDocumentItem done err = 0, tmpTLVsize=282 [18:35:29]tlvbuf is 018AB2F0 [18:35:29]SAM_PROTO_ClearQueue [18:35:29]wFMCommunicate request_size=4 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 09 00 00 [18:35:29]Write to MH i2c: E2 08 00 25 02 80 09 00 00 00 00 00 00 99 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 25 02 00 90 00 9B [18:35:29]RAPDU: 90 00 [18:35:29]wFMCommunicate OK [18:35:29]SAM_PROTO_ClearQueue done [18:35:29]KKMCreateOFDPacket [18:35:29]OFDProtocolAddRootSTLVToBuf [18:35:29]FM_MakeSignedData [18:35:29]FM_MakeSignedData [18:35:29]SAM_PROTO_SignData [18:35:29]wFMCommunicate request_size=4 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 0D 01 02 [18:35:29]Write to MH i2c: E2 08 00 26 02 80 0D 01 02 00 00 00 00 A1 [18:35:29]Write i2c OK [18:35:29]MH_I2C_Read... [18:35:29]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:35:29]Read from MH i2c: E2 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 [18:35:29]MH_I2C_Read... [18:35:29]Read from MH i2c: E2 03 00 26 02 00 90 00 9C [18:35:29]RAPDU: 90 00 [18:35:29]wFMCommunicate OK [18:35:29]wFMCommunicate request_size=255 [18:35:29]MH_SAM_APDU [18:35:29]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F0 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 [18:35:30]Write to MH i2c: E2 02 01 27 02 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F0 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 00 00 C3 [18:35:30]Write i2c OK [18:35:30]MH_I2C_Read... [18:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:30]Read from MH i2c: E2 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 03 00 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 03 00 27 02 00 90 00 9D [18:35:30]RAPDU: 90 00 [18:35:30]wFMCommunicate OK [18:35:30]wFMCommunicate request_size=41 [18:35:30]MH_SAM_APDU [18:35:30]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 12 94 00 00 35 04 06 00 A2 8A 06 48 D1 E2 [18:35:30]Write to MH i2c: E2 2C 00 28 02 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 12 94 00 00 35 04 06 00 A2 8A 06 48 D1 E2 00 00 43 [18:35:30]Write i2c OK [18:35:30]MH_I2C_Read... [18:35:30]OFD Sender: No OFD packet to send [18:35:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:35:30]Read from MH i2c: E2 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 03 00 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 03 00 28 02 00 90 00 9E [18:35:30]RAPDU: 90 00 [18:35:30]wFMCommunicate OK [18:35:30]wFMCommunicate request_size=4 [18:35:30]MH_SAM_APDU [18:35:30]CAPDU: 80 0D 03 02 [18:35:30]Write to MH i2c: E2 08 00 29 02 80 0D 03 02 00 00 00 00 A6 [18:35:30]Write i2c OK [18:35:30]MH_I2C_Read... [18:35:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:35:30]Read from MH i2c: E2 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 0B 00 [18:35:30]MH_I2C_Read... [18:35:30]Read from MH i2c: E2 0B 00 29 02 00 81 BE 92 FB 06 4B 6A 89 90 00 B7 [18:35:30]RAPDU: 81 BE 92 FB 06 4B 6A 89 90 00 [18:35:30]wFMCommunicate OK [18:35:30]SAM_PROTO_SignData done [18:35:30]FM_MakeSignedData done [18:35:31]CreateOFDProtocolMessage [18:35:31]wFMCommunicate request_size=4 [18:35:31]MH_SAM_APDU [18:35:31]CAPDU: 80 11 00 00 [18:35:31]Write to MH i2c: E2 08 00 2A 02 80 11 00 00 00 00 00 00 A6 [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:31]Read from MH i2c: E2 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: E2 17 00 2A 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F6 [18:35:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:31]wFMCommunicate OK [18:35:31]CreateOFDProtocolMessage done [18:35:31]OFDSenderStorePacket 37906 [18:35:31]StoreOFDPacket docnum=37906 [18:35:31]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 46 7C 26 01 EC E5 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F0 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 12 94 00 00 35 04 06 00 A2 8A 06 48 D1 E2 81 BE 92 FB 06 4B 6A 89 [18:35:31]CheckFolder [18:35:31]dirname=/storage/ofd_packets [18:35:31]CheckFolder done [18:35:31]ProducePacketName [18:35:31]name=ofd_packets/00037906 [18:35:31]NVStorageSaveData ofd_packets/00037906 [18:35:31]File name is /storage/ofd_packets/00037906 [18:35:31]Write 332 bytes [18:35:31]NVStorageSaveData done [18:35:31]OFDSenderStorePacket done [18:35:31]KKMCreateOFDPacket done [18:35:31]NVStorageSaveData kkm_last_timestamp [18:35:31]File name is /storage/kkm_last_timestamp [18:35:31]Write 4 bytes [18:35:31]NVStorageSaveData done [18:35:31]ExternCall_PrintAddStr [18:35:31]wPrintStart [18:35:31]Write to MH i2c: 01 00 00 2B 02 2D [18:35:31]Write i2c OK [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 07 00 [18:35:31]MH_I2C_Read... [18:35:31]Read from MH i2c: 01 07 00 2B 02 00 00 00 00 00 FF 0F 42 [18:35:31]RasterBufferAndPrint [18:35:31]line Счет N : (3)35206 [18:35:31]line ИНН: 02508201610067 [18:35:31]line Контрольно-Кассовый Чек [18:35:31]line ПРОДАЖА [18:35:31]line Товар: 2000036220012 [18:35:31]line Кофе Капучино XL(GABB TRADE) [18:35:31]line 1.000 * 130.00 [18:35:31]line = 130.00 [18:35:31]line НДС 12% НСП 1% [18:35:31]line > о реализуемом товаре [18:35:31]line ИТОГО: 130.00 [18:35:31]line НСП 1% : 1.15 [18:35:31]line НДС 12% : 13.80 [18:35:31]line Наличными: 0.00 [18:35:31]line Безнал.: 130.00 [18:35:31]line Место: АЗС № 126 "Партнер Нефть" [18:35:31]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:35:31]line СНО: Общий режим [18:35:31]line Чек 68 29.10.2024 18:35 [18:35:31]line Смена: 552 ФФД: 1.0 [18:35:31]line ЗНМ: 0300000092 [18:35:31]line РНМ: 0000000000091684 [18:35:31]line Версия ККМ: 001 [18:35:31]line Платежная система: Mbank [18:35:31]line ФМ: 0000000000871841 [18:35:31]line ФД: 37906 [18:35:31]line ФПД: 178713694622178 [18:35:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183528&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37906&fm=178713694622178&tin=02508201610067®Number=0000000000091684&sum=13000 [18:35:31]line 0 [18:35:31]OFD Sender: Processing packet 37906 [packets to send 42, broken 41] [18:35:31]ProducePacketName [18:35:31]name=ofd_packets/00037906 [18:35:31]OFD Sender: To server: pG, [18:35:31]CommunicateWithHost lk.salyk.kg:30040 [18:35:31]ConnectInit lk.salyk.kg [18:35:31]written 0, free lines is 4095 [18:35:31]Connected sock=10 [18:35:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2E 01 00 00 46 7C 26 01 EC E5 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 F0 2A 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 Write to MH i2c: 10 01 00 00 30 00 30 55 30 30 30 30 30 30 30 30 30 39 31 02 36 57 38 [18:35:31]34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 Write i2c OK [18:35:31]38 MH_I2C_Read... [18:35:31]37 Read from MH i2c: 31 01 38 [18:35:31]34 MH_I2C_Read... [18:35:31]31 10 04 04 00 12 94 00 00 35 04 06 00 A2 8A 06 48 D1 E2 81 BE 92 FB 06 4B 6A 89 [18:35:32]Read from MH i2c: 01 07 00 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: 01 07 00 55 02 00 00 00 00 00 26 0E 92 [18:35:32]RasterBufferAndPrint [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]line [18:35:32]written 0, free lines is 3766 [18:35:32]MH_Cut [18:35:32]Write to MH i2c: D1 01 00 5C 02 01 30 [18:35:32]Write i2c OK [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 01 00 [18:35:32]MH_I2C_Read... [18:35:32]Read from MH i2c: D1 01 00 5C 02 00 2F [18:35:32]Write to MH i2c: 01 00 00 5D 02 5F [18:35:32]Write i2c OK [18:35:32]MH_I2C_Read... [18:35:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 80 76 47 00 5E 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 *** Cut start [18:35:32]31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 12 94 00 00 F4 03 04 00 E3 D5 20 67 B6 04 01 00 00 BB C3 89 96 B8 99 47 25 [18:35:32]CommunicateWithHost err = 0 [18:35:32]CheckOFDResponse [18:35:32]*** Partial cut [18:35:32]1017 (14) - 77093643461234 [18:35:32]1041 (16) - 0000000000871841 [18:35:32]*** CUTSNS_PIN = 1 [18:35:32]1040 (4) - 37906 [18:35:32]1012 (4) - 29.10.2024 12:32 [18:35:32]1206 (1) - 0 [18:35:32]OFD Sender: Remove packet 37906 [18:35:32]*** CUTSNS_PIN = 0 [18:35:32]*** Brake cut motor [18:35:32]ProducePacketName [18:35:32]name=ofd_packets/00037906 [18:35:32]NVStorageDeleteData [18:35:33]Read from MH i2c: 01 [18:35:33]MH_I2C_Read... [18:35:33]*** Stop cut motor [18:35:33]*** Cut end [18:35:33]Read from MH i2c: 01 07 00 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: 01 07 00 5D 02 00 00 00 00 00 FF 0F 74 [18:35:33]process_action close_receipt done [18:35:33]requested_data is exist [18:35:33]produce_requested_data [18:35:33]requested_item fm.sn is exist - process it [18:35:33]wFMCommunicate request_size=4 [18:35:33]MH_SAM_APDU [18:35:33]CAPDU: 80 11 00 00 [18:35:33]Write to MH i2c: E2 08 00 5E 02 80 11 00 00 00 00 00 00 DA [18:35:33]Write i2c OK [18:35:33]MH_I2C_Read... [18:35:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:33]Read from MH i2c: E2 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 17 00 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 17 00 5E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2A [18:35:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 OFD Sender: No OFD packet to send [18:35:33]34 31 90 00 [18:35:33]wFMCommunicate OK [18:35:33]requested_item fd.num is exist - process it [18:35:33]SAM_PROTO_GetFieldsCounters [18:35:33]wFMCommunicate request_size=4 [18:35:33]MH_SAM_APDU [18:35:33]CAPDU: 80 13 00 00 [18:35:33]Write to MH i2c: E2 08 00 5F 02 80 13 00 00 00 00 00 00 DD [18:35:33]Write i2c OK [18:35:33]MH_I2C_Read... [18:35:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:33]Read from MH i2c: E2 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 62 00 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 62 00 5F 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 12 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [18:35:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 12 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:33]wFMCommunicate OK [18:35:33]SAM_PROTO_GetFieldsCounters done [18:35:33]requested_item shift.num is exist - process it [18:35:33]requested_item shift.opened is exist - process it [18:35:33]req_shift_opened [18:35:33]FM_GetShiftState [18:35:33]SAM_PROTO_GetShiftState [18:35:33]wFMCommunicate request_size=4 [18:35:33]MH_SAM_APDU [18:35:33]CAPDU: 80 13 01 00 [18:35:33]Write to MH i2c: E2 08 00 60 02 80 13 01 00 00 00 00 00 DF [18:35:33]Write i2c OK [18:35:33]MH_I2C_Read... [18:35:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:33]Read from MH i2c: E2 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 0E 00 [18:35:33]MH_I2C_Read... [18:35:33]Read from MH i2c: E2 0E 00 60 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 55 [18:35:33]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:33]wFMCommunicate OK [18:35:33]SAM_PROTO_GetShiftState done [18:35:33]FM_GetShiftState done [18:35:33]req_shift_opened done [18:35:33]requested_item shift.open_date is exist - process it [18:35:33]req_shift_open_date [18:35:33]req_shift_open_date done [18:35:33]produce_requested_data done [18:35:33]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37906,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:33]process_action_free close_receipt [18:35:33]json_value_free [18:35:33]json_value_free done [18:35:33]process_json_proto returns [18:35:33]Send response to host [18:35:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37906,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:33]free response buf [18:35:33]execute_script done [18:35:33]execute_script returns [18:35:33]free content buf [18:35:33]Sock 9.Close socket [18:35:33]Sock 9.Thread stoped [18:35:38]OFD Sender: No OFD packet to send [18:35:43]OFD Sender: No OFD packet to send [18:35:48]OFD Sender: No OFD packet to send [18:35:53]OFD Sender: No OFD packet to send [18:35:55]accept exits with 7 [18:35:55]New connection [18:35:55]New thread 3067207012 created [18:35:55]Thread 3067063652 joined [18:35:55]Waiting for new connection... [18:35:55] Sock 7.Parse request [18:35:55]Sock 7.Check first char [18:35:55]Sock 7.First char is OK [18:35:55]request: POST /json_proto HTTP/1.0 [18:35:55]Method: POST [18:35:55]URL: /json_proto [18:35:55]Method is POST - this is cgi request [18:35:55]url: /json_proto [18:35:55]query_string will be loaded in cgi processing [18:35:55]execute_cgi json_proto POST (null) [18:35:55]execute_cgi path=json_proto method=POST [18:35:55]POST find Content-Length [18:35:55]Host: 172.17.40.196:8080 [18:35:55]Content-Length: 215 [18:35:55]Content-Type: application/json [18:35:55] [18:35:55]POST finish read [18:35:55]Found Content-Length = 215 [18:35:55]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" ] } } [18:35:55]execute_script... [18:35:55]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" ] } } [18:35:55]POST & json_proto [18:35:55]process_json_proto [18:35:55]json parsed OK: [18:35:55]protocol is kg_v1.0 [18:35:55]action value=get_value [18:35:55]process_action get_value [18:35:55]cmd_get_value [18:35:55]process_action get_value done [18:35:55]requested_data is exist [18:35:55]produce_requested_data [18:35:55]requested_item kkm.sn is exist - process it [18:35:55]requested_item kkm.ver is exist - process it [18:35:55]requested_item fm.sn is exist - process it [18:35:55]wFMCommunicate request_size=4 [18:35:55]MH_SAM_APDU [18:35:55]CAPDU: 80 11 00 00 [18:35:55]Write to MH i2c: E2 08 00 61 02 80 11 00 00 00 00 00 00 DD [18:35:55]Write i2c OK [18:35:55]MH_I2C_Read... [18:35:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:35:55]Read from MH i2c: E2 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 17 00 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 17 00 61 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2D [18:35:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:35:55]wFMCommunicate OK [18:35:55]requested_item fd.num is exist - process it [18:35:55]SAM_PROTO_GetFieldsCounters [18:35:55]wFMCommunicate request_size=4 [18:35:55]MH_SAM_APDU [18:35:55]CAPDU: 80 13 00 00 [18:35:55]Write to MH i2c: E2 08 00 62 02 80 13 00 00 00 00 00 00 E0 [18:35:55]Write i2c OK [18:35:55]MH_I2C_Read... [18:35:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:35:55]Read from MH i2c: E2 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 62 00 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 62 00 62 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 12 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [18:35:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 12 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 44 00 00 00 5E 04 04 00 44 00 00 00 57 04 04 00 45 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:35:55]wFMCommunicate OK [18:35:55]SAM_PROTO_GetFieldsCounters done [18:35:55]requested_item shift.num is exist - process it [18:35:55]requested_item shift.opened is exist - process it [18:35:55]req_shift_opened [18:35:55]FM_GetShiftState [18:35:55]SAM_PROTO_GetShiftState [18:35:55]wFMCommunicate request_size=4 [18:35:55]MH_SAM_APDU [18:35:55]CAPDU: 80 13 01 00 [18:35:55]Write to MH i2c: E2 08 00 63 02 80 13 01 00 00 00 00 00 E2 [18:35:55]Write i2c OK [18:35:55]MH_I2C_Read... [18:35:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:35:55]Read from MH i2c: E2 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 0E 00 [18:35:55]MH_I2C_Read... [18:35:55]Read from MH i2c: E2 0E 00 63 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 58 [18:35:55]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:35:55]wFMCommunicate OK [18:35:55]SAM_PROTO_GetShiftState done [18:35:55]FM_GetShiftState done [18:35:55]req_shift_opened done [18:35:55]requested_item shift.open_date is exist - process it [18:35:55]req_shift_open_date [18:35:55]req_shift_open_date done [18:35:55]produce_requested_data done [18:35:55]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37906,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:35:55]process_action_free get_value [18:35:55]json_value_free [18:35:55]json_value_free done [18:35:55]process_json_proto returns [18:35:55]Send response to host [18:35:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37906,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:35:55]free response buf [18:35:55]execute_script done [18:35:55]execute_script returns [18:35:55]free content buf [18:35:55]Sock 7.Close socket [18:35:55]Sock 7.Thread stoped [18:35:55]accept exits with 9 [18:35:55]New connection [18:35:55]New thread 3067063652 created [18:35:55]Thread 3067207012 joined [18:35:55]Waiting for new connection... [18:35:55] Sock 9.Parse request [18:35:55]Sock 9.Check first char [18:35:55]Sock 9.First char is OK [18:35:55]request: POST /json_proto HTTP/1.0 [18:35:55]Method: POST [18:35:55]URL: /json_proto [18:35:55]Method is POST - this is cgi request [18:35:55]url: /json_proto [18:35:55]query_string will be loaded in cgi processing [18:35:55]execute_cgi json_proto POST (null) [18:35:55]execute_cgi path=json_proto method=POST [18:35:55]POST find Content-Length [18:35:55]Host: 172.17.40.196:8080 [18:35:55]Content-Length: 331 [18:35:55]Content-Type: application/json [18:35:55] [18:35:55]POST finish read [18:35:55]Found Content-Length = 331 [18:35:55]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" ] } } [18:35:55]execute_script... [18:35:55]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" ] } } [18:35:55]POST & json_proto [18:35:55]process_json_proto [18:35:56]json parsed OK: [18:35:56]protocol is kg_v1.0 [18:35:56]action value=get_value [18:35:56]process_action get_value [18:35:56]cmd_get_value [18:35:56]process_action get_value done [18:35:56]requested_data is exist [18:35:56]produce_requested_data [18:35:56]requested_item fm.sale.total is exist - process it [18:35:56]SAM_PROTO_GetFMData [18:35:56]wFMCommunicate request_size=4 [18:35:56]MH_SAM_APDU [18:35:56]CAPDU: 80 13 03 00 [18:35:56]Write to MH i2c: E2 08 00 64 02 80 13 03 00 00 00 00 00 E5 [18:35:56]Write i2c OK [18:35:56]MH_I2C_Read... [18:35:56]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [18:35:56]Read from MH i2c: E2 [18:35:56]MH_I2C_Read... [18:35:56]Read from MH i2c: E2 FD 00 [18:35:56]MH_I2C_Read... [18:35:56]Read from MH i2c: E2 FD 00 64 02 00 C0 04 85 04 BC 04 6E 04 04 00 C2 8F 00 00 69 04 A0 00 6F 04 04 00 BD 8F 00 00 B1 04 04 00 6A 22 45 34 70 04 04 00 80 E9 6C 2E 72 04 04 00 EA 38 D8 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 64 10 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 59 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 A3 [18:35:56]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 C2 8F 00 00 69 04 A0 00 6F 04 04 00 BD 8F 00 00 B1 04 04 00 6A 22 45 34 70 04 04 00 80 E9 6C 2E 72 04 04 00 EA 38 D8 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 64 10 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 E9 59 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [18:35:56]wFMCommunicate OK [18:35:56]wFMCommunicate request_size=4 [18:35:56]MH_SAM_APDU [18:35:56]CAPDU: 80 17 00 00 [18:35:56]Write to MH i2c: E2 08 00 65 02 80 17 00 00 00 00 00 00 E7 [18:35:56]Write i2c OK [18:35:56]MH_I2C_Read... [18:35:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:57]Read from MH i2c: E2 [18:35:57]MH_I2C_Read... [18:35:57]Read from MH i2c: E2 FD 00 [18:35:57]MH_I2C_Read... [18:35:57]Read from MH i2c: E2 FD 00 65 02 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 E2 [18:35:57]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [18:35:57]wFMCommunicate OK [18:35:57]wFMCommunicate request_size=4 [18:35:57]MH_SAM_APDU [18:35:57]CAPDU: 80 17 00 00 [18:35:57]Write to MH i2c: E2 08 00 66 02 80 17 00 00 00 00 00 00 E8 [18:35:57]Write i2c OK [18:35:57]MH_I2C_Read... [18:35:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:58]Read from MH i2c: E2 [18:35:58]MH_I2C_Read... [18:35:58]Read from MH i2c: E2 FD 00 [18:35:58]MH_I2C_Read... [18:35:58]Read from MH i2c: E2 FD 00 66 02 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 8B [18:35:58]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [18:35:58]wFMCommunicate OK [18:35:58]wFMCommunicate request_size=4 [18:35:58]MH_SAM_APDU [18:35:58]OFD Sender: No OFD packet to send [18:35:58]CAPDU: 80 17 00 00 [18:35:58]Write to MH i2c: E2 08 00 67 02 80 17 00 00 00 00 00 00 E9 [18:35:58]Write i2c OK [18:35:58]MH_I2C_Read... [18:35:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:35:58]Read from MH i2c: E2 [18:35:58]MH_I2C_Read... [18:35:58]Read from MH i2c: E2 FD 00 [18:35:58]MH_I2C_Read... [18:35:58]Read from MH i2c: E2 FD 00 67 02 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 61 [18:35:59]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [18:35:59]wFMCommunicate OK [18:35:59]wFMCommunicate request_size=4 [18:35:59]MH_SAM_APDU [18:35:59]CAPDU: 80 17 00 00 [18:35:59]Write to MH i2c: E2 08 00 68 02 80 17 00 00 00 00 00 00 EA [18:35:59]Write i2c OK [18:35:59]MH_I2C_Read... [18:35:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [18:35:59]Read from MH i2c: E2 [18:35:59]MH_I2C_Read... [18:35:59]Read from MH i2c: E2 DD 00 [18:35:59]MH_I2C_Read... [18:35:59]Read from MH i2c: E2 DD 00 68 02 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 D2 [18:35:59]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [18:36:00]wFMCommunicate OK [18:36:00]SAM_PROTO_GetFMData done [18:36:00]requested_item fm.sale_refund.total is exist - process it [18:36:00]requested_item fm.buy.total is exist - process it [18:36:00]requested_item shift.sale.total is exist - process it [18:36:00]SAM_PROTO_GetShiftData [18:36:00]wFMCommunicate request_size=4 [18:36:00]MH_SAM_APDU [18:36:00]CAPDU: 80 13 02 00 [18:36:00]Write to MH i2c: E2 08 00 69 02 80 13 02 00 00 00 00 00 E9 [18:36:00]Write i2c OK [18:36:00]MH_I2C_Read... [18:36:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:36:00]Read from MH i2c: E2 [18:36:00]MH_I2C_Read... [18:36:00]Read from MH i2c: E2 FD 00 [18:36:00]MH_I2C_Read... [18:36:00]Read from MH i2c: E2 FD 00 69 02 00 AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 CC 4D 13 70 04 03 00 9C D1 0F 72 04 03 00 30 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BC 0C 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 B6 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 34 [18:36:00]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 CC 4D 13 70 04 03 00 9C D1 0F 72 04 03 00 30 7C 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 BC 0C 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 B6 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 [18:36:01]wFMCommunicate OK [18:36:01]wFMCommunicate request_size=4 [18:36:01]MH_SAM_APDU [18:36:01]CAPDU: 80 17 00 00 [18:36:01]Write to MH i2c: E2 08 00 6A 02 80 17 00 00 00 00 00 00 EC [18:36:01]Write i2c OK [18:36:01]MH_I2C_Read... [18:36:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:01]Read from MH i2c: E2 [18:36:01]MH_I2C_Read... [18:36:01]Read from MH i2c: E2 FD 00 [18:36:01]MH_I2C_Read... [18:36:01]Read from MH i2c: E2 FD 00 6A 02 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 0E [18:36:01]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 [18:36:01]wFMCommunicate OK [18:36:01]wFMCommunicate request_size=4 [18:36:01]MH_SAM_APDU [18:36:01]CAPDU: 80 17 00 00 [18:36:01]Write to MH i2c: E2 08 00 6B 02 80 17 00 00 00 00 00 00 ED [18:36:01]Write i2c OK [18:36:01]MH_I2C_Read... [18:36:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:02]Read from MH i2c: E2 [18:36:02]MH_I2C_Read... [18:36:02]Read from MH i2c: E2 FD 00 [18:36:02]MH_I2C_Read... [18:36:02]Read from MH i2c: E2 FD 00 6B 02 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 A4 [18:36:02]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 [18:36:02]wFMCommunicate OK [18:36:02]wFMCommunicate request_size=4 [18:36:02]MH_SAM_APDU [18:36:02]CAPDU: 80 17 00 00 [18:36:02]Write to MH i2c: E2 08 00 6C 02 80 17 00 00 00 00 00 00 EE [18:36:02]Write i2c OK [18:36:02]MH_I2C_Read... [18:36:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:36:03]Read from MH i2c: E2 [18:36:03]MH_I2C_Read... [18:36:03]Read from MH i2c: E2 FD 00 [18:36:03]MH_I2C_Read... [18:36:03]Read from MH i2c: E2 FD 00 6C 02 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 60 [18:36:03]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 [18:36:03]wFMCommunicate OK [18:36:03]wFMCommunicate request_size=4 [18:36:03]MH_SAM_APDU [18:36:03]CAPDU: 80 17 00 00 [18:36:03]Write to MH i2c: E2 08 00 6D 02 80 17 00 00 00 00 00 00 EF [18:36:03]Write i2c OK [18:36:03]MH_I2C_Read... [18:36:03]OFD Sender: No OFD packet to send [18:36:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [18:36:03]Read from MH i2c: E2 [18:36:03]MH_I2C_Read... [18:36:03]Read from MH i2c: E2 CB 00 [18:36:03]MH_I2C_Read... [18:36:03]Read from MH i2c: E2 CB 00 6D 02 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 D8 [18:36:04]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 [18:36:04]wFMCommunicate OK [18:36:04]SAM_PROTO_GetShiftData done [18:36:04]requested_item shift.sale.total_cash is exist - process it [18:36:04]requested_item shift.sale_refund.total is exist - process it [18:36:04]requested_item shift.sale_refund.total_cash is exist - process it [18:36:04]requested_item shift.buy.total is exist - process it [18:36:04]requested_item shift.buy.total_cash is exist - process it [18:36:04]produce_requested_data done [18:36:04]produce_requested_data return {"fm.sale.total":8769460.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":12651.00,"shift.sale.total_cash":10367.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} [18:36:04]process_action_free get_value [18:36:04]json_value_free [18:36:04]json_value_free done [18:36:04]process_json_proto returns [18:36:04]Send response to host [18:36:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8769460.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":12651.00,"shift.sale.total_cash":10367.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}}} [18:36:04]free response buf [18:36:04]execute_script done [18:36:04]execute_script returns [18:36:04]free content buf [18:36:04]Sock 9.Close socket [18:36:04]Sock 9.Thread stoped [18:36:08]OFD Sender: No OFD packet to send [18:36:12]accept exits with 7 [18:36:12]New connection [18:36:12]New thread 3067207012 created [18:36:12]Thread 3067063652 joined [18:36:12]Waiting for new connection... [18:36:12] Sock 7.Parse request [18:36:12]Sock 7.Check first char [18:36:12]Sock 7.First char is OK [18:36:12]request: POST /json_proto HTTP/1.0 [18:36:12]Method: POST [18:36:12]URL: /json_proto [18:36:12]Method is POST - this is cgi request [18:36:12]url: /json_proto [18:36:12]query_string will be loaded in cgi processing [18:36:12]execute_cgi json_proto POST (null) [18:36:12]execute_cgi path=json_proto method=POST [18:36:12]POST find Content-Length [18:36:12]Host: 172.17.40.196:8080 [18:36:12]Content-Length: 620 [18:36:12]Content-Type: application/json [18:36:12] [18:36:12]POST finish read [18:36:12]Found Content-Length = 620 [18:36:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35207", "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:36:12]execute_script... [18:36: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)35207", "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:36:12]POST & json_proto [18:36:12]process_json_proto [18:36:12]json parsed OK: [18:36:12]protocol is kg_v1.0 [18:36:12]action value=close_receipt [18:36:12]process_action close_receipt [18:36:12]cmd_close_receipt [18:36:12]MH_GetDate [18:36:12]Write to MH i2c: F0 00 00 6E 02 5F [18:36:12]Write i2c OK [18:36:12]MH_I2C_Read... [18:36:12]Read from MH i2c: F0 [18:36:12]MH_I2C_Read... [18:36:12]Read from MH i2c: F0 09 00 [18:36:12]MH_I2C_Read... [18:36:12]Read from MH i2c: F0 09 00 6E 02 00 1C 2B 21 67 5B 68 A1 66 01 [18:36:12]GetLastDocTimeStamp 1730226928 [18:36:12]current date 1730226972 [18:36:12]FM_GetShiftState [18:36:12]SAM_PROTO_GetShiftState [18:36:12]wFMCommunicate request_size=4 [18:36:12]MH_SAM_APDU [18:36:12]CAPDU: 80 13 01 00 [18:36:12]Write to MH i2c: E2 08 00 6F 02 80 13 01 00 00 00 00 00 EE [18:36:12]Write i2c OK [18:36:12]MH_I2C_Read... [18:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:12]Read from MH i2c: E2 [18:36:12]MH_I2C_Read... [18:36:12]Read from MH i2c: E2 0E 00 [18:36:12]MH_I2C_Read... [18:36:12]Read from MH i2c: E2 0E 00 6F 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 64 [18:36:12]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:36:12]wFMCommunicate OK [18:36:12]SAM_PROTO_GetShiftState done [18:36:12]FM_GetShiftState done [18:36:12]opened in 1730160317 [18:36:12]opened+sec_in_day 1730246717 [18:36:12]quantity*price = 14400 [18:36:12]sum+1 = 14401 [18:36:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 69 29.10.2024 18:36 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37907 ФПД: 254717591573228 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183612&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37907&fm=254717591573228&tin=02508201610067®Number=0000000000091684&sum=14400 0 [18:36:14]StoreToDocumentArchive [18:36:14]shift 552 fd 37907 [18:36:14]save to /storage/0552/doc_00037907 [18:36:14]save last doc name /storage/0552/doc_00037907 to /storage/kkm_last_doc_name [18:36:14]save OK [18:36:14]Clear old archive folders... [18:36:14]ProcessDocumentItem done err = 0, tmpTLVsize=273 [18:36:14]tlvbuf is 018FCBF0 [18:36:14]SAM_PROTO_ClearQueue [18:36:14]wFMCommunicate request_size=4 [18:36:14]MH_SAM_APDU [18:36:14]CAPDU: 80 09 00 00 [18:36:14]Write to MH i2c: E2 08 00 7C 02 80 09 00 00 00 00 00 00 F0 [18:36:14]Write i2c OK [18:36:14]MH_I2C_Read... [18:36:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:36:14]Read from MH i2c: E2 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: E2 03 00 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: E2 03 00 7C 02 00 90 00 F2 [18:36:14]RAPDU: 90 00 [18:36:14]wFMCommunicate OK [18:36:14]SAM_PROTO_ClearQueue done [18:36:14]KKMCreateOFDPacket [18:36:14]OFDProtocolAddRootSTLVToBuf [18:36:14]FM_MakeSignedData [18:36:14]FM_MakeSignedData [18:36:14]SAM_PROTO_SignData [18:36:14]wFMCommunicate request_size=4 [18:36:14]MH_SAM_APDU [18:36:14]CAPDU: 80 0D 01 02 [18:36:14]Write to MH i2c: E2 08 00 7D 02 80 0D 01 02 00 00 00 00 F8 [18:36:14]Write i2c OK [18:36:14]MH_I2C_Read... [18:36:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:36:14]Read from MH i2c: E2 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: E2 03 00 [18:36:14]MH_I2C_Read... [18:36:14]Read from MH i2c: E2 03 00 7D 02 00 90 00 F3 [18:36:14]RAPDU: 90 00 [18:36:14]wFMCommunicate OK [18:36:14]wFMCommunicate request_size=255 [18:36:14]MH_SAM_APDU [18:36:14]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 45 00 00 00 F4 03 04 00 1C 2B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [18:36:14]Write to MH i2c: E2 02 01 7E 02 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 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 45 00 00 00 F4 03 04 00 1C 2B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 A3 [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 03 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 03 00 7E 02 00 90 00 F4 [18:36:15]RAPDU: 90 00 [18:36:15]wFMCommunicate OK [18:36:15]wFMCommunicate request_size=32 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 13 94 00 00 35 04 06 00 E7 AA 0F 90 52 EC [18:36:15]Write to MH i2c: E2 23 00 7F 02 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 13 94 00 00 35 04 06 00 E7 AA 0F 90 52 EC 00 00 6A [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 03 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 03 00 7F 02 00 90 00 F5 [18:36:15]RAPDU: 90 00 [18:36:15]wFMCommunicate OK [18:36:15]wFMCommunicate request_size=4 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 0D 03 02 [18:36:15]Write to MH i2c: E2 08 00 80 02 80 0D 03 02 00 00 00 00 FD [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 0B 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 0B 00 80 02 00 FF 3B 4D 0C C6 3A 79 12 90 00 1C [18:36:15]RAPDU: FF 3B 4D 0C C6 3A 79 12 90 00 [18:36:15]wFMCommunicate OK [18:36:15]SAM_PROTO_SignData done [18:36:15]FM_MakeSignedData done [18:36:15]CreateOFDProtocolMessage [18:36:15]wFMCommunicate request_size=4 [18:36:15]MH_SAM_APDU [18:36:15]CAPDU: 80 11 00 00 [18:36:15]Write to MH i2c: E2 08 00 81 02 80 11 00 00 00 00 00 00 FD [18:36:15]Write i2c OK [18:36:15]MH_I2C_Read... [18:36:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:15]Read from MH i2c: E2 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 17 00 [18:36:15]MH_I2C_Read... [18:36:15]Read from MH i2c: E2 17 00 81 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4D [18:36:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:36:16]wFMCommunicate OK [18:36:16]CreateOFDProtocolMessage done [18:36:16]OFDSenderStorePacket 37907 [18:36:16]StoreOFDPacket docnum=37907 [18:36:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 2D B0 1D 01 93 C6 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 45 00 00 00 F4 03 04 00 1C 2B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 13 94 00 00 35 04 06 00 E7 AA 0F 90 52 EC FF 3B 4D 0C C6 3A 79 12 [18:36:16]CheckFolder [18:36:16]dirname=/storage/ofd_packets [18:36:16]CheckFolder done [18:36:16]ProducePacketName [18:36:16]name=ofd_packets/00037907 [18:36:16]NVStorageSaveData ofd_packets/00037907 [18:36:16]File name is /storage/ofd_packets/00037907 [18:36:16]Write 323 bytes [18:36:16]NVStorageSaveData done [18:36:16]OFDSenderStorePacket done [18:36:16]KKMCreateOFDPacket done [18:36:16]NVStorageSaveData kkm_last_timestamp [18:36:16]File name is /storage/kkm_last_timestamp [18:36:16]Write 4 bytes [18:36:16]NVStorageSaveData done [18:36:16]ExternCall_PrintAddStr [18:36:16]wPrintStart [18:36:16]Write to MH i2c: 01 00 00 82 02 84 [18:36:16]OFD Sender: Processing packet 37907 [packets to send 42, broken 41] [18:36:16]ProducePacketName [18:36:16]name=ofd_packets/00037907 [18:36:16]OFD Sender: To server: pG, [18:36:16]CommunicateWithHost lk.salyk.kg:30040 [18:36:16]ConnectInit lk.salyk.kg [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: 01 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: 01 07 00 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: 01 07 00 82 02 00 00 00 00 00 FF 0F 99 [18:36:16]RasterBufferAndPrint [18:36:16]line Счет N : (3)35207 [18:36:16]line ИНН: 02508201610067 [18:36:16]line Контрольно-Кассовый Чек [18:36:16]line ПРОДАЖА [18:36:16]line Товар: 48743570 [18:36:16]line Сигареты Winston XStyle Blue [18:36:16]line 1.000 * 144.00 [18:36:16]line = 144.00 [18:36:16]line НДС 12% НСП 1% [18:36:16]line > о реализуемом товаре [18:36:16]line ИТОГО: 144.00 [18:36:16]line НСП 1% : 1.27 [18:36:16]line НДС 12% : 15.29 [18:36:16]line Наличными: 144.00 [18:36:16]line Безнал.: 0.00 [18:36:16]line Место: АЗС № 126 "Партнер Нефть" [18:36:16]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [18:36:16]line СНО: Общий режим [18:36:16]line Чек 69 29.10.2024 18:36 [18:36:16]line Смена: 552 ФФД: 1.0 [18:36:16]line ЗНМ: 0300000092 [18:36:16]line РНМ: 0000000000091684 [18:36:16]line Версия ККМ: 001 [18:36:16]line ФМ: 0000000000871841 [18:36:16]line ФД: 37907 [18:36:16]line ФПД: 254717591573228 [18:36:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T183612&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37907&fm=254717591573228&tin=02508201610067®Number=0000000000091684&sum=14400 [18:36:16]line 0 [18:36:16]written 0, free lines is 4095 [18:36:16]Connected sock=9 [18:36:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 2D B0 1D 01 93 C6 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 45 00 00 00 F4 03 04 00 1C 2B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 Write to MH i2c: 31 01 36 00 38 00 34 AA 11 02 04 AC 10 [18:36:16]00 Write i2c OK [18:36:16]30 MH_I2C_Read... [18:36:16]30 30 30 30 30 30 30 30 Read from MH i2c: 30 01 [18:36:16]38 MH_I2C_Read... [18:36:16]37 31 38 34 31 10 04 04 00 13 94 00 Read from MH i2c: 00 01 35 07 04 00 06 [18:36:16]00 MH_I2C_Read... [18:36:16]E7 AA 0F 90 52 EC FF Read from MH i2c: 3B 01 4D 07 0C 00 C6 AA 3A 02 79 00 12 00 [18:36:16]00 00 00 08 0E C9 [18:36:16]RasterBufferAndPrint [18:36:16]line [18:36:16]line [18:36:16]line [18:36:16]line [18:36:16]line [18:36:16]written 0, free lines is 3724 [18:36:16]MH_Cut [18:36:16]Write to MH i2c: D1 01 00 B1 02 01 85 [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: D1 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: D1 01 00 [18:36:16]MH_I2C_Read... [18:36:16]Read from MH i2c: D1 01 00 B1 02 00 84 [18:36:16]Write to MH i2c: 01 00 00 B2 02 B4 [18:36:16]Write i2c OK [18:36:16]MH_I2C_Read... [18:36:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 82 AA 47 00 73 42 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 *** Cut start [18:36:17]31 *** Partial cut [18:36:17]32 *** CUTSNS_PIN = 1 [18:36:17]33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 *** CUTSNS_PIN = 0 [18:36:17]00 13 94 00 00 F4 03 04 00 0F D6 20 67 B6 04 01 00 00 FF 37 3B 69 F6 EF C7 B8 [18:36:17]CommunicateWithHost err = 0 [18:36:17]CheckOFDResponse [18:36:17]1017 (14) - 77093643461234 [18:36:17]1041 (16) - 0000000000871841 [18:36:17]1040 (4) - 37907 [18:36:17]1012 (4) - 29.10.2024 12:33 [18:36:17]1206 (1) - 0 [18:36:17]OFD Sender: Remove packet 37907 [18:36:17]ProducePacketName [18:36:17]name=ofd_packets/00037907 [18:36:17]NVStorageDeleteData [18:36:17]*** Brake cut motor [18:36:18]OFD Sender: No OFD packet to send [18:36:18]Read from MH i2c: *** Stop cut motor [18:36:18]01 *** Cut end [18:36:18] [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: 01 07 00 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: 01 07 00 B2 02 00 00 00 00 00 FF 0F C9 [18:36:18]process_action close_receipt done [18:36:18]requested_data is exist [18:36:18]produce_requested_data [18:36:18]requested_item fm.sn is exist - process it [18:36:18]wFMCommunicate request_size=4 [18:36:18]MH_SAM_APDU [18:36:18]CAPDU: 80 11 00 00 [18:36:18]Write to MH i2c: E2 08 00 B3 02 80 11 00 00 00 00 00 00 2F [18:36:18]Write i2c OK [18:36:18]MH_I2C_Read... [18:36:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:36:18]Read from MH i2c: E2 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 17 00 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 17 00 B3 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 7F [18:36:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [18:36:18]wFMCommunicate OK [18:36:18]requested_item fd.num is exist - process it [18:36:18]SAM_PROTO_GetFieldsCounters [18:36:18]wFMCommunicate request_size=4 [18:36:18]MH_SAM_APDU [18:36:18]CAPDU: 80 13 00 00 [18:36:18]Write to MH i2c: E2 08 00 B4 02 80 13 00 00 00 00 00 00 32 [18:36:18]Write i2c OK [18:36:18]MH_I2C_Read... [18:36:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:36:18]Read from MH i2c: E2 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 62 00 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 62 00 B4 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 13 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [18:36:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 13 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 45 00 00 00 5E 04 04 00 45 00 00 00 57 04 04 00 46 00 00 00 19 04 04 00 00 00 00 00 90 00 [18:36:18]wFMCommunicate OK [18:36:18]SAM_PROTO_GetFieldsCounters done [18:36:18]requested_item shift.num is exist - process it [18:36:18]requested_item shift.opened is exist - process it [18:36:18]req_shift_opened [18:36:18]FM_GetShiftState [18:36:18]SAM_PROTO_GetShiftState [18:36:18]wFMCommunicate request_size=4 [18:36:18]MH_SAM_APDU [18:36:18]CAPDU: 80 13 01 00 [18:36:18]Write to MH i2c: E2 08 00 B5 02 80 13 01 00 00 00 00 00 34 [18:36:18]Write i2c OK [18:36:18]MH_I2C_Read... [18:36:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:36:18]Read from MH i2c: E2 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 0E 00 [18:36:18]MH_I2C_Read... [18:36:18]Read from MH i2c: E2 0E 00 B5 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 AA [18:36:18]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [18:36:18]wFMCommunicate OK [18:36:18]SAM_PROTO_GetShiftState done [18:36:18]FM_GetShiftState done [18:36:18]req_shift_opened done [18:36:18]requested_item shift.open_date is exist - process it [18:36:18]req_shift_open_date [18:36:18]req_shift_open_date done [18:36:18]produce_requested_data done [18:36:18]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37907,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [18:36:18]process_action_free close_receipt [18:36:18]json_value_free [18:36:18]json_value_free done [18:36:18]process_json_proto returns [18:36:18]Send response to host [18:36:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37907,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [18:36:18]free response buf [18:36:18]execute_script done [18:36:18]execute_script returns [18:36:18]free content buf [18:36:18]Sock 7.Close socket [18:36:18]Sock 7.Thread stoped [18:36:23]OFD Sender: No OFD packet to send [18:36:28]OFD Sender: No OFD packet to send [18:36:33]OFD Sender: No OFD packet to send [18:36:38]OFD Sender: No OFD packet to send [18:36:43]OFD Sender: No OFD packet to send [18:36:48]OFD Sender: No OFD packet to send [18:36:53]OFD Sender: No OFD packet to send [18:36:58]OFD Sender: No OFD packet to send [18:37:03]OFD Sender: No OFD packet to send [18:37:08]OFD Sender: No OFD packet to send [18:37:13]OFD Sender: No OFD packet to send [18:37:18]OFD Sender: No OFD packet to send [18:37:23]OFD Sender: No OFD packet to send [18:37:28]OFD Sender: No OFD packet to send [18:37:33]OFD Sender: No OFD packet to send [18:37:38]OFD Sender: No OFD packet to send [18:37:43]OFD Sender: No OFD packet to send [18:37:48]OFD Sender: No OFD packet to send [18:37:53]OFD Sender: No OFD packet to send [18:37:58]OFD Sender: No OFD packet to send [18:38:03]OFD Sender: No OFD packet to send [18:38:08]OFD Sender: No OFD packet to send [18:38:13]OFD Sender: No OFD packet to send [18:38:18]OFD Sender: No OFD packet to send [18:38:23]OFD Sender: No OFD packet to send [18:38:28]OFD Sender: No OFD packet to send [18:38:33]OFD Sender: No OFD packet to send [18:38:38]OFD Sender: No OFD packet to send [18:38:43]OFD Sender: No OFD packet to send [18:38:48]OFD Sender: No OFD packet to send [18:38:53]OFD Sender: No OFD packet to send [18:38:58]OFD Sender: No OFD packet to send [18:39:03]OFD Sender: No OFD packet to send [18:39:08]OFD Sender: No OFD packet to send [18:39:13]OFD Sender: No OFD packet to send [18:39:18]OFD Sender: No OFD packet to send [18:39:23]OFD Sender: No OFD packet to send [18:39:28]OFD Sender: No OFD packet to send [18:39:33]OFD Sender: No OFD packet to send [18:39:38]OFD Sender: No OFD packet to send [18:39:43]OFD Sender: No OFD packet to send [18:39:48]OFD Sender: No OFD packet to send [18:39:53]OFD Sender: No OFD packet to send [18:39:58]OFD Sender: No OFD packet to send [18:40:03]OFD Sender: No OFD packet to send [18:40:08]OFD Sender: No OFD packet to send [18:40:13]OFD Sender: No OFD packet to send [18:40:18]OFD Sender: No OFD packet to send [18:40:23]OFD Sender: No OFD packet to send [18:40:28]OFD Sender: No OFD packet to send [18:40:33]OFD Sender: No OFD packet to send [18:40:38]OFD Sender: No OFD packet to send [18:40:43]OFD Sender: No OFD packet to send [18:40:48]OFD Sender: No OFD packet to send [18:40:53]OFD Sender: No OFD packet to send [18:40:58]OFD Sender: No OFD packet to send [18:41:03]OFD Sender: No OFD packet to send [18:41:08]OFD Sender: No OFD packet to send [18:41:13]OFD Sender: No OFD packet to send [18:41:18]OFD Sender: No OFD packet to send [18:41:23]OFD Sender: No OFD packet to send [18:41:28]OFD Sender: No OFD packet to send [18:41:33]OFD Sender: No OFD packet to send [18:41:38]OFD Sender: No OFD packet to send [18:41:43]OFD Sender: No OFD packet to send [18:41:48]OFD Sender: No OFD packet to send [18:41:53]OFD Sender: No OFD packet to send [18:41:58]OFD Sender: No OFD packet to send [18:42:03]OFD Sender: No OFD packet to send [18:42:08]OFD Sender: No OFD packet to send [18:42:13]OFD Sender: No OFD packet to send [18:42:18]OFD Sender: No OFD packet to send [18:42:23]OFD Sender: No OFD packet to send [18:42:28]OFD Sender: No OFD packet to send [18:42:33]OFD Sender: No OFD packet to send [18:42:38]OFD Sender: No OFD packet to send [18:42:43]OFD Sender: No OFD packet to send [18:42:48]OFD Sender: No OFD packet to send [18:42:53]OFD Sender: No OFD packet to send [18:42:58]OFD Sender: No OFD packet to send [18:43:03]OFD Sender: No OFD packet to send [18:43:08]OFD Sender: No OFD packet to send [18:43:13]OFD Sender: No OFD packet to send [18:43:18]OFD Sender: No OFD packet to send [18:43:23]OFD Sender: No OFD packet to send [18:43:28]OFD Sender: No OFD packet to send [18:43:33]OFD Sender: No OFD packet to send [18:43:38]OFD Sender: No OFD packet to send [18:43:43]OFD Sender: No OFD packet to send [18:43:48]OFD Sender: No OFD packet to send [18:43:53]OFD Sender: No OFD packet to send [18:43:58]OFD Sender: No OFD packet to send [18:44:03]OFD Sender: No OFD packet to send [18:44:08]OFD Sender: No OFD packet to send [18:44:13]OFD Sender: No OFD packet to send [18:44:18]OFD Sender: No OFD packet to send [18:44:23]OFD Sender: No OFD packet to send [18:44:28]OFD Sender: No OFD packet to send [18:44:33]OFD Sender: No OFD packet to send [18:44:38]OFD Sender: No OFD packet to send [18:44:43]OFD Sender: No OFD packet to send [18:44:48]OFD Sender: No OFD packet to send [18:44:53]OFD Sender: No OFD packet to send [18:44:58]OFD Sender: No OFD packet to send [18:45:03]OFD Sender: No OFD packet to send [18:45:08]OFD Sender: No OFD packet to send [18:45:13]OFD Sender: No OFD packet to send [18:45:18]OFD Sender: No OFD packet to send [18:45:23]OFD Sender: No OFD packet to send [18:45:28]OFD Sender: No OFD packet to send [18:45:33]OFD Sender: No OFD packet to send [18:45:38]OFD Sender: No OFD packet to send [18:45:43]OFD Sender: No OFD packet to send [18:45:48]OFD Sender: No OFD packet to send [18:45:53]OFD Sender: No OFD packet to send [18:45:58]OFD Sender: No OFD packet to send [18:46:03]OFD Sender: No OFD packet to send [18:46:08]OFD Sender: No OFD packet to send [18:46:13]OFD Sender: No OFD packet to send [18:46:18]OFD Sender: No OFD packet to send [18:46:23]OFD Sender: No OFD packet to send [18:46:28]OFD Sender: No OFD packet to send [18:46:33]OFD Sender: No OFD packet to send [18:46:38]OFD Sender: No OFD packet to send [18:46:43]OFD Sender: No OFD packet to send [18:46:48]OFD Sender: No OFD packet to send [18:46:53]OFD Sender: No OFD packet to send [18:46:58]OFD Sender: No OFD packet to send [18:47:03]OFD Sender: No OFD packet to send [18:47:08]OFD Sender: No OFD packet to send [18:47:13]OFD Sender: No OFD packet to send [18:47:18]OFD Sender: No OFD packet to send [18:47:23]OFD Sender: No OFD packet to send [18:47:28]OFD Sender: No OFD packet to send [18:47:33]OFD Sender: No OFD packet to send [18:47:38]OFD Sender: No OFD packet to send [18:47:43]OFD Sender: No OFD packet to send [18:47:48]OFD Sender: No OFD packet to send [18:47:53]OFD Sender: No OFD packet to send [18:47:58]OFD Sender: No OFD packet to send [18:48:03]OFD Sender: No OFD packet to send [18:48:08]OFD Sender: No OFD packet to send [18:48:13]OFD Sender: No OFD packet to send [18:48:18]OFD Sender: No OFD packet to send [18:48:23]OFD Sender: No OFD packet to send [18:48:28]OFD Sender: No OFD packet to send [18:48:33]OFD Sender: No OFD packet to send [18:48:38]OFD Sender: No OFD packet to send [18:48:43]OFD Sender: No OFD packet to send [18:48:48]OFD Sender: No OFD packet to send [18:48:53]OFD Sender: No OFD packet to send [18:48:58]OFD Sender: No OFD packet to send [18:49:03]OFD Sender: No OFD packet to send [18:49:08]OFD Sender: No OFD packet to send [18:49:13]OFD Sender: No OFD packet to send [18:49:18]OFD Sender: No OFD packet to send [18:49:23]OFD Sender: No OFD packet to send [18:49:28]OFD Sender: No OFD packet to send [18:49:33]OFD Sender: No OFD packet to send [18:49:38]OFD Sender: No OFD packet to send [18:49:43]OFD Sender: No OFD packet to send [18:49:48]OFD Sender: No OFD packet to send [18:49:53]OFD Sender: No OFD packet to send [18:49:58]OFD Sender: No OFD packet to send [18:50:03]OFD Sender: No OFD packet to send [18:50:08]OFD Sender: No OFD packet to send [18:50:13]OFD Sender: No OFD packet to send [18:50:18]OFD Sender: No OFD packet to send [18:50:23]OFD Sender: No OFD packet to send [18:50:28]OFD Sender: No OFD packet to send [18:50:33]OFD Sender: No OFD packet to send [18:50:38]OFD Sender: No OFD packet to send [18:50:43]OFD Sender: No OFD packet to send [18:50:48]OFD Sender: No OFD packet to send [18:50:53]OFD Sender: No OFD packet to send [18:50:58]OFD Sender: No OFD packet to send [18:51:03]OFD Sender: No OFD packet to send [18:51:08]OFD Sender: No OFD packet to send [18:51:13]OFD Sender: No OFD packet to send [18:51:18]OFD Sender: No OFD packet to send [18:51:23]OFD Sender: No OFD packet to send [18:51:28]OFD Sender: No OFD packet to send [18:51:33]OFD Sender: No OFD packet to send [18:51:38]OFD Sender: No OFD packet to send [18:51:43]OFD Sender: No OFD packet to send [18:51:48]OFD Sender: No OFD packet to send [18:51:53]OFD Sender: No OFD packet to send [18:51:58]OFD Sender: No OFD packet to send [18:52:03]OFD Sender: No OFD packet to send [18:52:08]OFD Sender: No OFD packet to send [18:52:13]OFD Sender: No OFD packet to send [18:52:18]OFD Sender: No OFD packet to send [18:52:23]OFD Sender: No OFD packet to send [18:52:28]OFD Sender: No OFD packet to send [18:52:33]OFD Sender: No OFD packet to send [18:52:38]OFD Sender: No OFD packet to send [18:52:43]OFD Sender: No OFD packet to send [18:52:48]OFD Sender: No OFD packet to send [18:52:53]OFD Sender: No OFD packet to send [18:52:58]OFD Sender: No OFD packet to send [18:53:03]OFD Sender: No OFD packet to send [18:53:08]OFD Sender: No OFD packet to send [18:53:13]OFD Sender: No OFD packet to send [18:53:18]OFD Sender: No OFD packet to send [18:53:23]OFD Sender: No OFD packet to send [18:53:28]OFD Sender: No OFD packet to send [18:53:33]OFD Sender: No OFD packet to send [18:53:38]OFD Sender: No OFD packet to send [18:53:43]OFD Sender: No OFD packet to send [18:53:48]OFD Sender: No OFD packet to send [18:53:53]OFD Sender: No OFD packet to send [18:53:58]OFD Sender: No OFD packet to send [18:54:03]OFD Sender: No OFD packet to send [18:54:08]OFD Sender: No OFD packet to send [18:54:13]OFD Sender: No OFD packet to send [18:54:18]OFD Sender: No OFD packet to send [18:54:24]OFD Sender: No OFD packet to send [18:54:29]OFD Sender: No OFD packet to send [18:54:34]OFD Sender: No OFD packet to send [18:54:39]OFD Sender: No OFD packet to send [18:54:44]OFD Sender: No OFD packet to send [18:54:49]OFD Sender: No OFD packet to send [18:54:54]OFD Sender: No OFD packet to send [18:54:59]OFD Sender: No OFD packet to send [18:55:04]OFD Sender: No OFD packet to send [18:55:09]OFD Sender: No OFD packet to send [18:55:14]OFD Sender: No OFD packet to send [18:55:19]OFD Sender: No OFD packet to send [18:55:24]OFD Sender: No OFD packet to send [18:55:29]OFD Sender: No OFD packet to send [18:55:34]OFD Sender: No OFD packet to send [18:55:39]OFD Sender: No OFD packet to send [18:55:44]OFD Sender: No OFD packet to send [18:55:49]OFD Sender: No OFD packet to send [18:55:54]OFD Sender: No OFD packet to send [18:55:59]OFD Sender: No OFD packet to send [18:56:04]OFD Sender: No OFD packet to send [18:56:09]OFD Sender: No OFD packet to send [18:56:14]OFD Sender: No OFD packet to send [18:56:19]OFD Sender: No OFD packet to send [18:56:24]OFD Sender: No OFD packet to send [18:56:29]OFD Sender: No OFD packet to send [18:56:34]OFD Sender: No OFD packet to send [18:56:39]OFD Sender: No OFD packet to send [18:56:44]OFD Sender: No OFD packet to send [18:56:49]OFD Sender: No OFD packet to send [18:56:54]OFD Sender: No OFD packet to send [18:56:59]OFD Sender: No OFD packet to send [18:57:04]OFD Sender: No OFD packet to send [18:57:09]OFD Sender: No OFD packet to send [18:57:14]OFD Sender: No OFD packet to send [18:57:19]OFD Sender: No OFD packet to send [18:57:24]OFD Sender: No OFD packet to send [18:57:29]OFD Sender: No OFD packet to send [18:57:34]OFD Sender: No OFD packet to send [18:57:39]OFD Sender: No OFD packet to send [18:57:44]OFD Sender: No OFD packet to send [18:57:49]OFD Sender: No OFD packet to send [18:57:54]OFD Sender: No OFD packet to send [18:57:59]OFD Sender: No OFD packet to send [18:58:04]OFD Sender: No OFD packet to send [18:58:09]OFD Sender: No OFD packet to send [18:58:14]OFD Sender: No OFD packet to send [18:58:19]OFD Sender: No OFD packet to send [18:58:24]OFD Sender: No OFD packet to send [18:58:29]OFD Sender: No OFD packet to send [18:58:34]OFD Sender: No OFD packet to send [18:58:39]OFD Sender: No OFD packet to send [18:58:44]OFD Sender: No OFD packet to send [18:58:49]OFD Sender: No OFD packet to send [18:58:54]OFD Sender: No OFD packet to send [18:58:59]OFD Sender: No OFD packet to send [18:59:04]OFD Sender: No OFD packet to send [18:59:09]OFD Sender: No OFD packet to send [18:59:14]OFD Sender: No OFD packet to send [18:59:19]OFD Sender: No OFD packet to send [18:59:24]OFD Sender: No OFD packet to send [18:59:29]OFD Sender: No OFD packet to send [18:59:34]OFD Sender: No OFD packet to send [18:59:39]OFD Sender: No OFD packet to send [18:59:44]OFD Sender: No OFD packet to send [18:59:49]OFD Sender: No OFD packet to send [18:59:54]OFD Sender: No OFD packet to send [18:59:59]OFD Sender: No OFD packet to send [19:00:04]OFD Sender: No OFD packet to send [19:00:09]OFD Sender: No OFD packet to send [19:00:09]accept exits with 10 [19:00:09]New connection [19:00:09]New thread 3067063652 created [19:00:09]Thread 3067207012 joined [19:00:09]Waiting for new connection... [19:00:09] Sock 10.Parse request [19:00:09]Sock 10.Check first char [19:00:09]Sock 10.First char is OK [19:00:09]request: POST /json_proto HTTP/1.0 [19:00:09]Method: POST [19:00:09]URL: /json_proto [19:00:09]Method is POST - this is cgi request [19:00:09]url: /json_proto [19:00:09]query_string will be loaded in cgi processing [19:00:09]execute_cgi json_proto POST (null) [19:00:09]execute_cgi path=json_proto method=POST [19:00:09]POST find Content-Length [19:00:09]Host: 172.17.40.196:8080 [19:00:09]Content-Length: 646 [19:00:09]Content-Type: application/json [19:00:09] [19:00:09]POST finish read [19:00:09]Found Content-Length = 646 [19:00:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35208", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:09]execute_script... [19:00: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)35208", "tax_sys" : 0, "items" : [ { "code": "47011656", "name": "\u0412\u043E\u0434\u043A\u0430 \u041F\u0448\u0435\u043D\u0438\u0447\u043D\u0430\u044F 0,1\u043B", "price" : 65.00, "quantity" : 3.000, "sum" : 195.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 195.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:00:09]POST & json_proto [19:00:09]process_json_proto [19:00:09]json parsed OK: [19:00:09]protocol is kg_v1.0 [19:00:09]action value=close_receipt [19:00:09]process_action close_receipt [19:00:09]cmd_close_receipt [19:00:09]MH_GetDate [19:00:09]Write to MH i2c: F0 00 00 B6 02 A7 [19:00:09]Write i2c OK [19:00:09]MH_I2C_Read... [19:00:09]Read from MH i2c: F0 [19:00:09]MH_I2C_Read... [19:00:09]Read from MH i2c: F0 09 00 [19:00:09]MH_I2C_Read... [19:00:09]Read from MH i2c: F0 09 00 B6 02 00 B9 30 21 67 5B 68 A1 66 EB [19:00:09]GetLastDocTimeStamp 1730226972 [19:00:09]current date 1730228409 [19:00:09]FM_GetShiftState [19:00:09]SAM_PROTO_GetShiftState [19:00:09]wFMCommunicate request_size=4 [19:00:09]MH_SAM_APDU [19:00:09]CAPDU: 80 13 01 00 [19:00:09]Write to MH i2c: E2 08 00 B7 02 80 13 01 00 00 00 00 00 36 [19:00:09]Write i2c OK [19:00:09]MH_I2C_Read... [19:00:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:09]Read from MH i2c: E2 [19:00:09]MH_I2C_Read... [19:00:09]Read from MH i2c: E2 0E 00 [19:00:09]MH_I2C_Read... [19:00:09]Read from MH i2c: E2 0E 00 B7 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 AC [19:00:09]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:00:09]wFMCommunicate OK [19:00:09]SAM_PROTO_GetShiftState done [19:00:09]FM_GetShiftState done [19:00:09]opened in 1730160317 [19:00:09]opened+sec_in_day 1730246717 [19:00:09]quantity*price = 19500 [19:00:09]sum+1 = 19501 [19:00:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 195.00 НСП 1% : 1.73 НДС 12% : 20.71 Наличными: 195.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 70 29.10.2024 19:00 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37908 ФПД: 11894110627092 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190009&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37908&fm=11894110627092&tin=02508201610067®Number=0000000000091684&sum=19500 0 [19:00:10]StoreToDocumentArchive [19:00:10]shift 552 fd 37908 [19:00:10]save to /storage/0552/doc_00037908 [19:00:10]save last doc name /storage/0552/doc_00037908 to /storage/kkm_last_doc_name [19:00:10]save OK [19:00:10]Clear old archive folders... [19:00:10]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:00:10]tlvbuf is 01977F30 [19:00:10]SAM_PROTO_ClearQueue [19:00:10]wFMCommunicate request_size=4 [19:00:10]MH_SAM_APDU [19:00:10]CAPDU: 80 09 00 00 [19:00:10]Write to MH i2c: E2 08 00 C4 02 80 09 00 00 00 00 00 00 38 [19:00:10]Write i2c OK [19:00:10]MH_I2C_Read... [19:00:10]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:00:10]Read from MH i2c: E2 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 C4 02 00 90 00 3A [19:00:10]RAPDU: 90 00 [19:00:10]wFMCommunicate OK [19:00:10]SAM_PROTO_ClearQueue done [19:00:10]KKMCreateOFDPacket [19:00:10]OFDProtocolAddRootSTLVToBuf [19:00:10]FM_MakeSignedData [19:00:10]FM_MakeSignedData [19:00:10]SAM_PROTO_SignData [19:00:10]wFMCommunicate request_size=4 [19:00:10]MH_SAM_APDU [19:00:10]CAPDU: 80 0D 01 02 [19:00:10]Write to MH i2c: E2 08 00 C5 02 80 0D 01 02 00 00 00 00 40 [19:00:10]Write i2c OK [19:00:10]MH_I2C_Read... [19:00:10]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:00:10]Read from MH i2c: E2 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 C5 02 00 90 00 3B [19:00:10]RAPDU: 90 00 [19:00:10]wFMCommunicate OK [19:00:10]wFMCommunicate request_size=255 [19:00:10]MH_SAM_APDU [19:00:10]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 B9 30 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [19:00:10]Write to MH i2c: E2 02 01 C6 02 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 B9 30 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 18 [19:00:10]Write i2c OK [19:00:10]MH_I2C_Read... [19:00:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:10]Read from MH i2c: E2 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 [19:00:10]MH_I2C_Read... [19:00:10]Read from MH i2c: E2 03 00 C6 02 00 90 00 3C [19:00:10]RAPDU: 90 00 [19:00:10]wFMCommunicate OK [19:00:10]wFMCommunicate request_size=31 [19:00:10]MH_SAM_APDU [19:00:10]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 14 94 00 00 35 04 06 00 0A D1 50 3D 25 14 [19:00:10]Write to MH i2c: E2 22 00 C7 02 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 14 94 00 00 35 04 06 00 0A D1 50 3D 25 14 00 00 B4 [19:00:10]Write i2c OK [19:00:10]MH_I2C_Read... [19:00:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:00:11]Read from MH i2c: E2 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 03 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 03 00 C7 02 00 90 00 3D [19:00:11]RAPDU: 90 00 [19:00:11]wFMCommunicate OK [19:00:11]wFMCommunicate request_size=4 [19:00:11]MH_SAM_APDU [19:00:11]CAPDU: 80 0D 03 02 [19:00:11]Write to MH i2c: E2 08 00 C8 02 80 0D 03 02 00 00 00 00 45 [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:00:11]Read from MH i2c: E2 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 0B 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 0B 00 C8 02 00 4A C2 FB 30 32 C9 93 0A 90 00 15 [19:00:11]RAPDU: 4A C2 FB 30 32 C9 93 0A 90 00 [19:00:11]wFMCommunicate OK [19:00:11]SAM_PROTO_SignData done [19:00:11]FM_MakeSignedData done [19:00:11]CreateOFDProtocolMessage [19:00:11]wFMCommunicate request_size=4 [19:00:11]MH_SAM_APDU [19:00:11]CAPDU: 80 11 00 00 [19:00:11]Write to MH i2c: E2 08 00 C9 02 80 11 00 00 00 00 00 00 45 [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:11]Read from MH i2c: E2 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 17 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: E2 17 00 C9 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 95 [19:00:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:00:11]wFMCommunicate OK [19:00:11]CreateOFDProtocolMessage done [19:00:11]OFDSenderStorePacket 37908 [19:00:11]StoreOFDPacket docnum=37908 [19:00:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 EA 52 1C 01 CF 9A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 B9 30 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 14 94 00 00 35 04 06 00 0A D1 50 3D 25 14 4A C2 FB 30 32 C9 93 0A [19:00:11]CheckFolder [19:00:11]dirname=/storage/ofd_packets [19:00:11]CheckFolder done [19:00:11]ProducePacketName [19:00:11]name=ofd_packets/00037908 [19:00:11]NVStorageSaveData ofd_packets/00037908 [19:00:11]File name is /storage/ofd_packets/00037908 [19:00:11]Write 322 bytes [19:00:11]NVStorageSaveData done [19:00:11]OFDSenderStorePacket done [19:00:11]KKMCreateOFDPacket done [19:00:11]NVStorageSaveData kkm_last_timestamp [19:00:11]File name is /storage/kkm_last_timestamp [19:00:11]Write 4 bytes [19:00:11]NVStorageSaveData done [19:00:11]ExternCall_PrintAddStr [19:00:11]wPrintStart [19:00:11]Write to MH i2c: 01 00 00 CA 02 CC [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 07 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 07 00 CA 02 00 00 00 00 00 FF 0F E1 [19:00:11]RasterBufferAndPrint [19:00:11]line Счет N : (3)35208 [19:00:11]line ИНН: 02508201610067 [19:00:11]line Контрольно-Кассовый Чек [19:00:11]line ПРОДАЖА [19:00:11]line Товар: 47011656 [19:00:11]line Водка Пшеничная 0,1л [19:00:11]line 3.000 * 65.00 [19:00:11]line = 195.00 [19:00:11]line НДС 12% НСП 1% [19:00:11]line > о реализуемом товаре [19:00:11]line ИТОГО: 195.00 [19:00:11]line НСП 1% : 1.73 [19:00:11]line НДС 12% : 20.71 [19:00:11]line Наличными: 195.00 [19:00:11]line Безнал.: 0.00 [19:00:11]line Место: АЗС № 126 "Партнер Нефть" [19:00:11]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:00:11]line СНО: Общий режим [19:00:11]line Чек 70 29.10.2024 19:00 [19:00:11]line Смена: 552 ФФД: 1.0 [19:00:11]line ЗНМ: 0300000092 [19:00:11]line РНМ: 0000000000091684 [19:00:11]line Версия ККМ: 001 [19:00:11]line ФМ: 0000000000871841 [19:00:11]line ФД: 37908 [19:00:11]line ФПД: 11894110627092 [19:00:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190009&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37908&fm=11894110627092&tin=02508201610067®Number=0000000000091684&sum=19500 [19:00:11]line 0 [19:00:11]OFD Sender: Processing packet 37908 [packets to send 42, broken 41] [19:00:11]ProducePacketName [19:00:11]name=ofd_packets/00037908 [19:00:11]OFD Sender: To server: pG, [19:00:11]CommunicateWithHost lk.salyk.kg:30040 [19:00:11]ConnectInit lk.salyk.kg [19:00:11]written 0, free lines is 4095 [19:00:11]Write to MH i2c: 01 00 00 F2 02 F4 [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 07 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: 01 07 00 F2 02 00 00 00 00 00 C8 0C CF [19:00:11]RasterBufferAndPrint [19:00:11]line [19:00:11]line [19:00:11]line [19:00:11]line [19:00:11]line [19:00:11]written 0, free lines is 3276 [19:00:11]MH_Cut [19:00:11]Write to MH i2c: D1 01 00 F9 02 01 CD [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: D1 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: D1 01 00 [19:00:11]MH_I2C_Read... [19:00:11]Read from MH i2c: D1 01 00 F9 02 00 CC [19:00:11]Write to MH i2c: 01 00 00 FA 02 FC [19:00:11]Write i2c OK [19:00:11]MH_I2C_Read... [19:00:12]*** Cut start [19:00:12]*** Partial cut [19:00:12]*** CUTSNS_PIN = 1 [19:00:12]*** CUTSNS_PIN = 0 [19:00:13]*** Brake cut motor [19:00:13]Read from MH i2c: 01 [19:00:13]MH_I2C_Read... [19:00:13]*** Stop cut motor [19:00:13]Read from MH i2c: 01 07 00 [19:00:13]MH_I2C_Read... [19:00:13]*** Cut end [19:00:13]Connected sock=11 [19:00:13]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 EA 52 1C 01 CF 9A 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 37 30 31 31 36 35 36 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9F D1 88 D0 B5 D0 BD D0 B8 D1 87 D0 BD D0 B0 D1 8F 20 30 2C 31 D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 64 19 00 00 00 00 13 04 06 00 2C 4C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 2C 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 17 08 00 00 00 00 07 04 06 00 2C 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 46 00 00 00 F4 03 04 00 B9 30 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 14 94 00 00 35 04 06 00 0A D1 50 3D 25 14 4A C2 FB 30 32 C9 93 0A [19:00:13]Read from MH i2c: 01 07 00 FA 02 00 00 00 00 00 FF 0F 11 [19:00:13]process_action close_receipt done [19:00:13]requested_data is exist [19:00:13]produce_requested_data [19:00:13]requested_item fm.sn is exist - process it [19:00:13]wFMCommunicate request_size=4 [19:00:13]MH_SAM_APDU [19:00:13]CAPDU: 80 11 00 00 [19:00:13]Write to MH i2c: E2 08 00 FB 02 80 11 00 00 00 00 00 00 77 [19:00:13]Write i2c OK [19:00:13]MH_I2C_Read... [19:00:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:00:13]Read from MH i2c: E2 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 17 00 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 17 00 FB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C7 [19:00:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:00:13]wFMCommunicate OK [19:00:13]requested_item fd.num is exist - process it [19:00:13]SAM_PROTO_GetFieldsCounters [19:00:13]wFMCommunicate request_size=4 [19:00:13]MH_SAM_APDU [19:00:13]CAPDU: 80 13 00 00 [19:00:13]Write to MH i2c: E2 08 00 FC 02 80 13 00 00 00 00 00 00 7A [19:00:13]Write i2c OK [19:00:13]MH_I2C_Read... [19:00:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:00:13]Read from MH i2c: E2 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 62 00 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 62 00 FC 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 14 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 3F [19:00:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 14 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 46 00 00 00 5E 04 04 00 46 00 00 00 57 04 04 00 47 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:00:13]wFMCommunicate OK [19:00:13]SAM_PROTO_GetFieldsCounters done [19:00:13]requested_item shift.num is exist - process it [19:00:13]requested_item shift.opened is exist - process it [19:00:13]req_shift_opened [19:00:13]FM_GetShiftState [19:00:13]SAM_PROTO_GetShiftState [19:00:13]wFMCommunicate request_size=4 [19:00:13]MH_SAM_APDU [19:00:13]CAPDU: 80 13 01 00 [19:00:13]Write to MH i2c: E2 08 00 FD 02 80 13 01 00 00 00 00 00 7C [19:00:13]Write i2c OK [19:00:13]MH_I2C_Read... [19:00:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:00:13]Read from MH i2c: E2 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 0E 00 [19:00:13]MH_I2C_Read... [19:00:13]Read from MH i2c: E2 0E 00 FD 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F2 [19:00:13]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:00:13]wFMCommunicate OK [19:00:13]SAM_PROTO_GetShiftState done [19:00:13]FM_GetShiftState done [19:00:13]req_shift_opened done [19:00:13]requested_item shift.open_date is exist - process it [19:00:13]req_shift_open_date [19:00:13]req_shift_open_date done [19:00:13]produce_requested_data done [19:00:13]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37908,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [19:00:13]process_action_free close_receipt [19:00:13]json_value_free [19:00:13]json_value_free done [19:00:13]process_json_proto returns [19:00:13]Send response to host [19:00:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37908,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [19:00:13]free response buf [19:00:13]execute_script done [19:00:13]execute_script returns [19:00:13]free content buf [19:00:13]Sock 10.Close socket [19:00:13]Sock 10.Thread stoped [19:00:13]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 6E 76 47 00 9C 7B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 14 94 00 00 F4 03 04 00 AC DB 20 67 B6 04 01 00 00 E3 B7 3C 28 81 1C 69 07 [19:00:13]CommunicateWithHost err = 0 [19:00:13]CheckOFDResponse [19:00:13]1017 (14) - 77093643461234 [19:00:13]1041 (16) - 0000000000871841 [19:00:13]1040 (4) - 37908 [19:00:13]1012 (4) - 29.10.2024 12:57 [19:00:13]1206 (1) - 0 [19:00:13]OFD Sender: Remove packet 37908 [19:00:13]ProducePacketName [19:00:13]name=ofd_packets/00037908 [19:00:13]NVStorageDeleteData [19:00:14]OFD Sender: No OFD packet to send [19:00:19]OFD Sender: No OFD packet to send [19:00:24]OFD Sender: No OFD packet to send [19:00:29]OFD Sender: No OFD packet to send [19:00:34]OFD Sender: No OFD packet to send [19:00:39]OFD Sender: No OFD packet to send [19:00:44]OFD Sender: No OFD packet to send [19:00:49]OFD Sender: No OFD packet to send [19:00:54]OFD Sender: No OFD packet to send [19:00:59]OFD Sender: No OFD packet to send [19:01:04]OFD Sender: No OFD packet to send [19:01:09]OFD Sender: No OFD packet to send [19:01:14]OFD Sender: No OFD packet to send [19:01:19]OFD Sender: No OFD packet to send [19:01:24]OFD Sender: No OFD packet to send [19:01:29]OFD Sender: No OFD packet to send [19:01:34]OFD Sender: No OFD packet to send [19:01:39]OFD Sender: No OFD packet to send [19:01:44]OFD Sender: No OFD packet to send [19:01:49]OFD Sender: No OFD packet to send [19:01:54]OFD Sender: No OFD packet to send [19:01:59]OFD Sender: No OFD packet to send [19:02:04]OFD Sender: No OFD packet to send [19:02:09]OFD Sender: No OFD packet to send [19:02:14]OFD Sender: No OFD packet to send [19:02:19]OFD Sender: No OFD packet to send [19:02:24]OFD Sender: No OFD packet to send [19:02:29]OFD Sender: No OFD packet to send [19:02:34]OFD Sender: No OFD packet to send [19:02:39]OFD Sender: No OFD packet to send [19:02:44]OFD Sender: No OFD packet to send [19:02:49]OFD Sender: No OFD packet to send [19:02:54]OFD Sender: No OFD packet to send [19:02:59]OFD Sender: No OFD packet to send [19:03:04]OFD Sender: No OFD packet to send [19:03:09]OFD Sender: No OFD packet to send [19:03:14]OFD Sender: No OFD packet to send [19:03:19]OFD Sender: No OFD packet to send [19:03:24]OFD Sender: No OFD packet to send [19:03:29]OFD Sender: No OFD packet to send [19:03:34]OFD Sender: No OFD packet to send [19:03:39]OFD Sender: No OFD packet to send [19:03:44]OFD Sender: No OFD packet to send [19:03:49]OFD Sender: No OFD packet to send [19:03:54]OFD Sender: No OFD packet to send [19:03:59]OFD Sender: No OFD packet to send [19:04:04]OFD Sender: No OFD packet to send [19:04:09]OFD Sender: No OFD packet to send [19:04:14]OFD Sender: No OFD packet to send [19:04:19]OFD Sender: No OFD packet to send [19:04:24]OFD Sender: No OFD packet to send [19:04:29]OFD Sender: No OFD packet to send [19:04:34]OFD Sender: No OFD packet to send [19:04:39]OFD Sender: No OFD packet to send [19:04:44]OFD Sender: No OFD packet to send [19:04:49]OFD Sender: No OFD packet to send [19:04:54]OFD Sender: No OFD packet to send [19:04:59]OFD Sender: No OFD packet to send [19:05:04]OFD Sender: No OFD packet to send [19:05:09]OFD Sender: No OFD packet to send [19:05:14]OFD Sender: No OFD packet to send [19:05:19]OFD Sender: No OFD packet to send [19:05:24]OFD Sender: No OFD packet to send [19:05: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: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:43]accept exits with 7 [19:09:43]New connection [19:09:43]New thread 3067207012 created [19:09:43]Thread 3067063652 joined [19:09:43]Waiting for new connection... [19:09:43] Sock 7.Parse request [19:09:43]Sock 7.Check first char [19:09:43]Sock 7.First char is OK [19:09:43]request: POST /json_proto HTTP/1.0 [19:09:43]Method: POST [19:09:43]URL: /json_proto [19:09:43]Method is POST - this is cgi request [19:09:43]url: /json_proto [19:09:43]query_string will be loaded in cgi processing [19:09:43]execute_cgi json_proto POST (null) [19:09:43]execute_cgi path=json_proto method=POST [19:09:43]POST find Content-Length [19:09:43]Host: 172.17.40.196:8080 [19:09:43]Content-Length: 619 [19:09:43]Content-Type: application/json [19:09:43] [19:09:43]POST finish read [19:09:43]Found Content-Length = 619 [19:09:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35209", "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" ] } } [19:09:43]execute_script... [19:09: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)35209", "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" ] } } [19:09:43]POST & json_proto [19:09:43]process_json_proto [19:09:43]json parsed OK: [19:09:43]protocol is kg_v1.0 [19:09:43]action value=close_receipt [19:09:43]process_action close_receipt [19:09:43]cmd_close_receipt [19:09:43]MH_GetDate [19:09:43]Write to MH i2c: F0 00 00 FE 02 EF [19:09:43]Write i2c OK [19:09:43]MH_I2C_Read... [19:09:43]Read from MH i2c: F0 [19:09:43]MH_I2C_Read... [19:09:43]Read from MH i2c: F0 09 00 [19:09:43]MH_I2C_Read... [19:09:43]Read from MH i2c: F0 09 00 FE 02 00 F7 32 21 67 5B 68 A1 66 73 [19:09:43]GetLastDocTimeStamp 1730228409 [19:09:43]current date 1730228983 [19:09:43]FM_GetShiftState [19:09:43]SAM_PROTO_GetShiftState [19:09:43]wFMCommunicate request_size=4 [19:09:43]MH_SAM_APDU [19:09:43]CAPDU: 80 13 01 00 [19:09:43]Write to MH i2c: E2 08 00 FF 02 80 13 01 00 00 00 00 00 7E [19:09:43]Write i2c OK [19:09:43]MH_I2C_Read... [19:09:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:43]Read from MH i2c: E2 [19:09:43]MH_I2C_Read... [19:09:43]Read from MH i2c: E2 0E 00 [19:09:43]MH_I2C_Read... [19:09:43]Read from MH i2c: E2 0E 00 FF 02 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F4 [19:09:43]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:09:43]wFMCommunicate OK [19:09:43]SAM_PROTO_GetShiftState done [19:09:43]FM_GetShiftState done [19:09:43]opened in 1730160317 [19:09:43]opened+sec_in_day 1730246717 [19:09:43]quantity*price = 13900 [19:09:43]sum+1 = 13901 [19:09:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 139.00 НСП 1% : 1.23 НДС 12% : 14.76 Наличными: 139.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 71 29.10.2024 19:09 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37909 ФПД: 118160033000034 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190943&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37909&fm=118160033000034&tin=02508201610067®Number=0000000000091684&sum=13900 0 [19:09:44]StoreToDocumentArchive [19:09:44]shift 552 fd 37909 [19:09:44]save to /storage/0552/doc_00037909 [19:09:44]save last doc name /storage/0552/doc_00037909 to /storage/kkm_last_doc_name [19:09:44]save OK [19:09:44]Clear old archive folders... [19:09:44]ProcessDocumentItem done err = 0, tmpTLVsize=272 [19:09:44]tlvbuf is 01852C10 [19:09:44]SAM_PROTO_ClearQueue [19:09:44]wFMCommunicate request_size=4 [19:09:44]MH_SAM_APDU [19:09:44]CAPDU: 80 09 00 00 [19:09:44]Write to MH i2c: E2 08 00 0C 03 80 09 00 00 00 00 00 00 81 [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:09:44]Read from MH i2c: E2 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 0C 03 00 90 00 83 [19:09:44]RAPDU: 90 00 [19:09:44]wFMCommunicate OK [19:09:44]SAM_PROTO_ClearQueue done [19:09:44]KKMCreateOFDPacket [19:09:44]OFDProtocolAddRootSTLVToBuf [19:09:44]FM_MakeSignedData [19:09:44]FM_MakeSignedData [19:09:44]SAM_PROTO_SignData [19:09:44]wFMCommunicate request_size=4 [19:09:44]MH_SAM_APDU [19:09:44]CAPDU: 80 0D 01 02 [19:09:44]Write to MH i2c: E2 08 00 0D 03 80 0D 01 02 00 00 00 00 89 [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:09:44]Read from MH i2c: E2 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [19:09:44]RAPDU: 90 00 [19:09:44]wFMCommunicate OK [19:09:44]wFMCommunicate request_size=255 [19:09:44]MH_SAM_APDU [19:09:44]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 47 00 00 00 F4 03 04 00 F7 32 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [19:09:44]Write to MH i2c: E2 02 01 0E 03 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 36 00 00 00 00 13 04 06 00 4C 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 4C 36 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7B 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C4 05 00 00 00 00 07 04 06 00 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 47 00 00 00 F4 03 04 00 F7 32 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 DF [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:44]OFD Sender: No OFD packet to send [19:09:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:44]Read from MH i2c: E2 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [19:09:44]RAPDU: 90 00 [19:09:44]wFMCommunicate OK [19:09:44]wFMCommunicate request_size=31 [19:09:44]MH_SAM_APDU [19:09:44]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 15 94 00 00 35 04 06 00 6B 77 46 CB 2A 62 [19:09:44]Write to MH i2c: E2 22 00 0F 03 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 15 94 00 00 35 04 06 00 6B 77 46 CB 2A 62 00 00 DC [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:09:44]Read from MH i2c: E2 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 03 00 0F 03 00 90 00 86 [19:09:44]RAPDU: 90 00 [19:09:44]wFMCommunicate OK [19:09:44]wFMCommunicate request_size=4 [19:09:44]MH_SAM_APDU [19:09:44]CAPDU: 80 0D 03 02 [19:09:44]Write to MH i2c: E2 08 00 10 03 80 0D 03 02 00 00 00 00 8E [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:09:44]Read from MH i2c: E2 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 0B 00 [19:09:44]MH_I2C_Read... [19:09:44]Read from MH i2c: E2 0B 00 10 03 00 0E 3C 56 AA 93 34 72 37 90 00 49 [19:09:44]RAPDU: 0E 3C 56 AA 93 34 72 37 90 00 [19:09:44]wFMCommunicate OK [19:09:44]SAM_PROTO_SignData done [19:09:44]FM_MakeSignedData done [19:09:44]CreateOFDProtocolMessage [19:09:44]wFMCommunicate request_size=4 [19:09:44]MH_SAM_APDU [19:09:44]CAPDU: 80 11 00 00 [19:09:44]Write to MH i2c: E2 08 00 11 03 80 11 00 00 00 00 00 00 8E [19:09:44]Write i2c OK [19:09:44]MH_I2C_Read... [19:09:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:45]Read from MH i2c: E2 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: E2 17 00 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: E2 17 00 11 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DE [19:09:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:09:45]wFMCommunicate OK [19:09:45]CreateOFDProtocolMessage done [19:09:45]OFDSenderStorePacket 37909 [19:09:45]StoreOFDPacket docnum=37909 [19:09:45]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 C3 9A 1C 01 28 5A 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 47 00 00 00 F4 03 04 00 F7 32 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 15 94 00 00 35 04 06 00 6B 77 46 CB 2A 62 0E 3C 56 AA 93 34 72 37 [19:09:45]CheckFolder [19:09:45]dirname=/storage/ofd_packets [19:09:45]CheckFolder done [19:09:45]ProducePacketName [19:09:45]name=ofd_packets/00037909 [19:09:45]NVStorageSaveData ofd_packets/00037909 [19:09:45]File name is /storage/ofd_packets/00037909 [19:09:45]Write 322 bytes [19:09:45]NVStorageSaveData done [19:09:45]OFDSenderStorePacket done [19:09:45]KKMCreateOFDPacket done [19:09:45]NVStorageSaveData kkm_last_timestamp [19:09:45]File name is /storage/kkm_last_timestamp [19:09:45]Write 4 bytes [19:09:45]NVStorageSaveData done [19:09:45]ExternCall_PrintAddStr [19:09:45]wPrintStart [19:09:45]Write to MH i2c: 01 00 00 12 03 15 [19:09:45]Write i2c OK [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 07 00 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 07 00 12 03 00 00 00 00 00 FF 0F 2A [19:09:45]RasterBufferAndPrint [19:09:45]line Счет N : (3)35209 [19:09:45]line ИНН: 02508201610067 [19:09:45]line Контрольно-Кассовый Чек [19:09:45]line ПРОДАЖА [19:09:45]line Товар: 48745000 [19:09:45]line Сигареты Winston Purple Mix [19:09:45]line 1.000 * 139.00 [19:09:45]line = 139.00 [19:09:45]line НДС 12% НСП 1% [19:09:45]line > о реализуемом товаре [19:09:45]line ИТОГО: 139.00 [19:09:45]line НСП 1% : 1.23 [19:09:45]line НДС 12% : 14.76 [19:09:45]line Наличными: 139.00 [19:09:45]line Безнал.: 0.00 [19:09:45]line Место: АЗС № 126 "Партнер Нефть" [19:09:45]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:09:45]line СНО: Общий режим [19:09:45]line Чек 71 29.10.2024 19:09 [19:09:45]line Смена: 552 ФФД: 1.0 [19:09:45]line ЗНМ: 0300000092 [19:09:45]line РНМ: 0000000000091684 [19:09:45]line Версия ККМ: 001 [19:09:45]line ФМ: 0000000000871841 [19:09:45]line ФД: 37909 [19:09:45]line ФПД: 118160033000034 [19:09:45]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T190943&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37909&fm=118160033000034&tin=02508201610067®Number=0000000000091684&sum=13900 [19:09:45]line 0 [19:09:45]OFD Sender: Processing packet 37909 [packets to send 42, broken 41] [19:09:45]ProducePacketName [19:09:45]name=ofd_packets/00037909 [19:09:45]OFD Sender: To server: pG, [19:09:45]CommunicateWithHost lk.salyk.kg:30040 [19:09:45]ConnectInit lk.salyk.kg [19:09:45]written 0, free lines is 4095 [19:09:45]Write to MH i2c: 01 00 00 3A 03 3D [19:09:45]Write i2c OK [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 07 00 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: 01 07 00 3A 03 00 00 00 00 00 C0 0C 10 [19:09:45]RasterBufferAndPrint [19:09:45]line [19:09:45]line [19:09:45]line [19:09:45]line [19:09:45]line [19:09:45]written 0, free lines is 3268 [19:09:45]MH_Cut [19:09:45]Write to MH i2c: D1 01 00 41 03 01 16 [19:09:45]Write i2c OK [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: D1 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: D1 01 00 [19:09:45]MH_I2C_Read... [19:09:45]Read from MH i2c: D1 01 00 41 03 00 15 [19:09:45]Write to MH i2c: 01 00 00 42 03 45 [19:09:45]Write i2c OK [19:09:45]MH_I2C_Read... [19:09:46]*** Cut start [19:09:46]*** Partial cut [19:09:46]*** CUTSNS_PIN = 1 [19:09:46]*** CUTSNS_PIN = 0 [19:09:46]*** Brake cut motor [19:09:47]Connected sock=11 [19:09:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 C3 9A 1C 01 28 5A 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 47 00 00 00 F4 03 04 00 F7 32 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 15 94 00 00 35 04 06 00 6B 77 46 CB 2A 62 0E 3C 56 AA 93 34 72 37 [19:09:47]Read from MH i2c: 01 [19:09:47]MH_I2C_Read... [19:09:47]*** Stop cut motor [19:09:47]*** Cut end [19:09:47]Read from MH i2c: 01 07 00 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 FF 0F 5A [19:09:47]process_action close_receipt done [19:09:47]requested_data is exist [19:09:47]produce_requested_data [19:09:47]requested_item fm.sn is exist - process it [19:09:47]wFMCommunicate request_size=4 [19:09:47]MH_SAM_APDU [19:09:47]CAPDU: 80 11 00 00 [19:09:47]Write to MH i2c: E2 08 00 43 03 80 11 00 00 00 00 00 00 C0 [19:09:47]Write i2c OK [19:09:47]MH_I2C_Read... [19:09:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:09:47]Read from MH i2c: E2 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 17 00 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 17 00 43 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 10 [19:09:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:09:47]wFMCommunicate OK [19:09:47]requested_item fd.num is exist - process it [19:09:47]SAM_PROTO_GetFieldsCounters [19:09:47]wFMCommunicate request_size=4 [19:09:47]MH_SAM_APDU [19:09:47]CAPDU: 80 13 00 00 [19:09:47]Write to MH i2c: E2 08 00 44 03 80 13 00 00 00 00 00 00 C3 [19:09:47]Write i2c OK [19:09:47]MH_I2C_Read... [19:09:47]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:09:47]Read from MH i2c: E2 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 62 00 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 62 00 44 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 15 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 8C [19:09:47]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 15 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 47 00 00 00 5E 04 04 00 47 00 00 00 57 04 04 00 48 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:09:47]wFMCommunicate OK [19:09:47]SAM_PROTO_GetFieldsCounters done [19:09:47]requested_item shift.num is exist - process it [19:09:47]requested_item shift.opened is exist - process it [19:09:47]req_shift_opened [19:09:47]FM_GetShiftState [19:09:47]SAM_PROTO_GetShiftState [19:09:47]wFMCommunicate request_size=4 [19:09:47]MH_SAM_APDU [19:09:47]CAPDU: 80 13 01 00 [19:09:47]Write to MH i2c: E2 08 00 45 03 80 13 01 00 00 00 00 00 C5 [19:09:47]Write i2c OK [19:09:47]MH_I2C_Read... [19:09:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:09:47]Read from MH i2c: E2 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 0E 00 [19:09:47]MH_I2C_Read... [19:09:47]Read from MH i2c: E2 0E 00 45 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3B [19:09:47]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:09:47]wFMCommunicate OK [19:09:47]SAM_PROTO_GetShiftState done [19:09:47]FM_GetShiftState done [19:09:47]req_shift_opened done [19:09:47]requested_item shift.open_date is exist - process it [19:09:47]req_shift_open_date [19:09:47]req_shift_open_date done [19:09:47]produce_requested_data done [19:09:47]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37909,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [19:09:47]process_action_free close_receipt [19:09:47]json_value_free [19:09:47]json_value_free done [19:09:47]process_json_proto returns [19:09:47]Send response to host [19:09:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37909,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [19:09:47]free response buf [19:09:47]execute_script done [19:09:47]execute_script returns [19:09:47]free content buf [19:09:47]Sock 7.Close socket [19:09:47]Sock 7.Thread stoped [19:09:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 95 9F 47 00 99 A5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 15 94 00 00 F4 03 04 00 EA DD 20 67 B6 04 01 00 00 82 31 41 1B B2 88 AD 0D [19:09:47]CommunicateWithHost err = 0 [19:09:47]CheckOFDResponse [19:09:47]1017 (14) - 77093643461234 [19:09:47]1041 (16) - 0000000000871841 [19:09:47]1040 (4) - 37909 [19:09:47]1012 (4) - 29.10.2024 13:06 [19:09:47]1206 (1) - 0 [19:09:47]OFD Sender: Remove packet 37909 [19:09:47]ProducePacketName [19:09:47]name=ofd_packets/00037909 [19:09:47]NVStorageDeleteData [19:09:48]OFD Sender: No OFD packet to send [19:09:53]OFD Sender: No OFD packet to send [19:09:58]OFD Sender: No OFD packet to send [19:10:03]OFD Sender: No OFD packet to send [19:10:08]OFD Sender: No OFD packet to send [19:10:13]OFD Sender: No OFD packet to send [19:10:18]OFD Sender: No OFD packet to send [19:10:23]OFD Sender: No OFD packet to send [19:10:28]OFD Sender: No OFD packet to send [19:10:33]OFD Sender: No OFD packet to send [19:10:38]OFD Sender: No OFD packet to send [19:10:43]OFD Sender: No OFD packet to send [19:10:48]OFD Sender: No OFD packet to send [19:10:53]OFD Sender: No OFD packet to send [19:10:58]OFD Sender: No OFD packet to send [19:11:03]OFD Sender: No OFD packet to send [19:11:08]OFD Sender: No OFD packet to send [19:11:13]OFD Sender: No OFD packet to send [19:11:18]OFD Sender: No OFD packet to send [19:11:23]OFD Sender: No OFD packet to send [19:11:28]OFD Sender: No OFD packet to send [19:11:33]OFD Sender: No OFD packet to send [19:11:38]OFD Sender: No OFD packet to send [19:11:43]OFD Sender: No OFD packet to send [19:11:48]OFD Sender: No OFD packet to send [19:11:53]OFD Sender: No OFD packet to send [19:11:58]OFD Sender: No OFD packet to send [19:12:03]OFD Sender: No OFD packet to send [19:12:08]OFD Sender: No OFD packet to send [19:12:13]OFD Sender: No OFD packet to send [19:12:18]OFD Sender: No OFD packet to send [19:12:23]OFD Sender: No OFD packet to send [19:12:28]OFD Sender: No OFD packet to send [19:12:33]OFD Sender: No OFD packet to send [19:12:38]OFD Sender: No OFD packet to send [19:12:43]OFD Sender: No OFD packet to send [19:12:48]OFD Sender: No OFD packet to send [19:12:53]OFD Sender: No OFD packet to send [19:12:58]OFD Sender: No OFD packet to send [19:13:03]OFD Sender: No OFD packet to send [19:13:08]OFD Sender: No OFD packet to send [19:13:13]OFD Sender: No OFD packet to send [19:13:18]OFD Sender: No OFD packet to send [19:13:23]OFD Sender: No OFD packet to send [19:13:28]OFD Sender: No OFD packet to send [19:13:33]OFD Sender: No OFD packet to send [19:13:38]OFD Sender: No OFD packet to send [19:13:43]OFD Sender: No OFD packet to send [19:13:48]OFD Sender: No OFD packet to send [19:13:53]OFD Sender: No OFD packet to send [19:13:58]OFD Sender: No OFD packet to send [19:14:03]OFD Sender: No OFD packet to send [19:14:08]OFD Sender: No OFD packet to send [19:14:13]OFD Sender: No OFD packet to send [19:14:18]OFD Sender: No OFD packet to send [19:14:23]OFD Sender: No OFD packet to send [19:14:28]OFD Sender: No OFD packet to send [19:14:33]OFD Sender: No OFD packet to send [19:14:38]OFD Sender: No OFD packet to send [19:14:43]OFD Sender: No OFD packet to send [19:14:48]OFD Sender: No OFD packet to send [19:14:53]OFD Sender: No OFD packet to send [19:14:58]OFD Sender: No OFD packet to send [19:15:03]OFD Sender: No OFD packet to send [19:15:08]OFD Sender: No OFD packet to send [19:15:13]OFD Sender: No OFD packet to send [19:15:18]OFD Sender: No OFD packet to send [19:15:23]OFD Sender: No OFD packet to send [19:15:28]OFD Sender: No OFD packet to send [19:15:33]OFD Sender: No OFD packet to send [19:15:38]OFD Sender: No OFD packet to send [19:15:43]OFD Sender: No OFD packet to send [19:15:48]OFD Sender: No OFD packet to send [19:15:53]OFD Sender: No OFD packet to send [19:15:58]OFD Sender: No OFD packet to send [19:16:03]OFD Sender: No OFD packet to send [19:16:08]OFD Sender: No OFD packet to send [19:16:13]OFD Sender: No OFD packet to send [19:16:18]OFD Sender: No OFD packet to send [19:16:23]OFD Sender: No OFD packet to send [19:16:28]OFD Sender: No OFD packet to send [19:16:33]OFD Sender: No OFD packet to send [19:16:38]OFD Sender: No OFD packet to send [19:16:43]OFD Sender: No OFD packet to send [19:16:48]OFD Sender: No OFD packet to send [19:16:53]OFD Sender: No OFD packet to send [19:16:58]OFD Sender: No OFD packet to send [19:17:03]OFD Sender: No OFD packet to send [19:17:08]OFD Sender: No OFD packet to send [19:17:13]OFD Sender: No OFD packet to send [19:17:18]OFD Sender: No OFD packet to send [19:17:23]OFD Sender: No OFD packet to send [19:17:28]OFD Sender: No OFD packet to send [19:17:33]OFD Sender: No OFD packet to send [19:17:38]OFD Sender: No OFD packet to send [19:17:43]OFD Sender: No OFD packet to send [19:17:48]OFD Sender: No OFD packet to send [19:17:53]OFD Sender: No OFD packet to send [19:17:58]OFD Sender: No OFD packet to send [19:18:03]OFD Sender: No OFD packet to send [19:18:08]OFD Sender: No OFD packet to send [19:18:13]OFD Sender: No OFD packet to send [19:18:18]OFD Sender: No OFD packet to send [19:18:23]OFD Sender: No OFD packet to send [19:18:28]OFD Sender: No OFD packet to send [19:18:33]OFD Sender: No OFD packet to send [19:18:38]OFD Sender: No OFD packet to send [19:18:43]OFD Sender: No OFD packet to send [19:18:48]OFD Sender: No OFD packet to send [19:18:53]OFD Sender: No OFD packet to send [19:18:58]OFD Sender: No OFD packet to send [19:19:03]OFD Sender: No OFD packet to send [19:19:08]OFD Sender: No OFD packet to send [19:19:13]OFD Sender: No OFD packet to send [19:19:18]OFD Sender: No OFD packet to send [19:19:23]OFD Sender: No OFD packet to send [19:19:28]OFD Sender: No OFD packet to send [19:19:33]OFD Sender: No OFD packet to send [19:19:38]OFD Sender: No OFD packet to send [19:19:43]OFD Sender: No OFD packet to send [19:19:48]OFD Sender: No OFD packet to send [19:19:53]OFD Sender: No OFD packet to send [19:19:58]OFD Sender: No OFD packet to send [19:20:03]OFD Sender: No OFD packet to send [19:20:08]OFD Sender: No OFD packet to send [19:20:13]OFD Sender: No OFD packet to send [19:20:18]OFD Sender: No OFD packet to send [19:20:23]OFD Sender: No OFD packet to send [19:20:28]OFD Sender: No OFD packet to send [19:20:33]OFD Sender: No OFD packet to send [19:20:38]OFD Sender: No OFD packet to send [19:20:43]OFD Sender: No OFD packet to send [19:20:48]OFD Sender: No OFD packet to send [19:20:53]OFD Sender: No OFD packet to send [19:20:58]OFD Sender: No OFD packet to send [19:21:03]OFD Sender: No OFD packet to send [19:21:08]OFD Sender: No OFD packet to send [19:21:13]OFD Sender: No OFD packet to send [19:21:18]OFD Sender: No OFD packet to send [19:21:23]OFD Sender: No OFD packet to send [19:21:28]OFD Sender: No OFD packet to send [19:21:33]OFD Sender: No OFD packet to send [19:21:38]OFD Sender: No OFD packet to send [19:21:43]OFD Sender: No OFD packet to send [19:21:48]OFD Sender: No OFD packet to send [19:21:53]OFD Sender: No OFD packet to send [19:21:58]OFD Sender: No OFD packet to send [19:22:03]OFD Sender: No OFD packet to send [19:22:08]OFD Sender: No OFD packet to send [19:22:13]OFD Sender: No OFD packet to send [19:22:18]OFD Sender: No OFD packet to send [19:22:23]OFD Sender: No OFD packet to send [19:22:28]OFD Sender: No OFD packet to send [19:22:33]OFD Sender: No OFD packet to send [19:22:38]OFD Sender: No OFD packet to send [19:22:43]OFD Sender: No OFD packet to send [19:22:48]OFD Sender: No OFD packet to send [19:22:53]OFD Sender: No OFD packet to send [19:22:58]OFD Sender: No OFD packet to send [19:23:03]OFD Sender: No OFD packet to send [19:23:08]OFD Sender: No OFD packet to send [19:23:13]OFD Sender: No OFD packet to send [19:23:18]OFD Sender: No OFD packet to send [19:23:23]OFD Sender: No OFD packet to send [19:23:28]OFD Sender: No OFD packet to send [19:23:33]OFD Sender: No OFD packet to send [19:23:38]OFD Sender: No OFD packet to send [19:23:43]OFD Sender: No OFD packet to send [19:23:48]OFD Sender: No OFD packet to send [19:23:53]OFD Sender: No OFD packet to send [19:23:58]OFD Sender: No OFD packet to send [19:24:03]OFD Sender: No OFD packet to send [19:24:08]OFD Sender: No OFD packet to send [19:24:13]OFD Sender: No OFD packet to send [19:24:18]OFD Sender: No OFD packet to send [19:24:23]OFD Sender: No OFD packet to send [19:24:28]OFD Sender: No OFD packet to send [19:24:33]OFD Sender: No OFD packet to send [19:24:38]OFD Sender: No OFD packet to send [19:24:43]OFD Sender: No OFD packet to send [19:24:48]OFD Sender: No OFD packet to send [19:24:53]OFD Sender: No OFD packet to send [19:24:58]OFD Sender: No OFD packet to send [19:25:03]OFD Sender: No OFD packet to send [19:25:08]OFD Sender: No OFD packet to send [19:25:13]OFD Sender: No OFD packet to send [19:25:18]OFD Sender: No OFD packet to send [19:25:23]OFD Sender: No OFD packet to send [19:25:28]OFD Sender: No OFD packet to send [19:25:33]OFD Sender: No OFD packet to send [19:25:38]OFD Sender: No OFD packet to send [19:25:43]OFD Sender: No OFD packet to send [19:25:48]OFD Sender: No OFD packet to send [19:25:53]OFD Sender: No OFD packet to send [19:25:58]OFD Sender: No OFD packet to send [19:26:03]OFD Sender: No OFD packet to send [19:26:08]OFD Sender: No OFD packet to send [19:26:13]OFD Sender: No OFD packet to send [19:26:18]OFD Sender: No OFD packet to send [19:26:23]OFD Sender: No OFD packet to send [19:26:28]OFD Sender: No OFD packet to send [19:26:33]OFD Sender: No OFD packet to send [19:26:38]OFD Sender: No OFD packet to send [19:26:43]OFD Sender: No OFD packet to send [19:26:48]OFD Sender: No OFD packet to send [19:26:53]OFD Sender: No OFD packet to send [19:26:58]OFD Sender: No OFD packet to send [19:27:03]OFD Sender: No OFD packet to send [19:27:08]OFD Sender: No OFD packet to send [19:27:13]OFD Sender: No OFD packet to send [19:27:18]OFD Sender: No OFD packet to send [19:27:23]OFD Sender: No OFD packet to send [19:27:28]OFD Sender: No OFD packet to send [19:27:34]OFD Sender: No OFD packet to send [19:27:39]OFD Sender: No OFD packet to send [19:27:44]OFD Sender: No OFD packet to send [19:27:49]OFD Sender: No OFD packet to send [19:27:54]OFD Sender: No OFD packet to send [19:27:59]OFD Sender: No OFD packet to send [19:28:04]OFD Sender: No OFD packet to send [19:28:09]OFD Sender: No OFD packet to send [19:28:14]OFD Sender: No OFD packet to send [19:28:19]OFD Sender: No OFD packet to send [19:28:24]OFD Sender: No OFD packet to send [19:28:29]OFD Sender: No OFD packet to send [19:28:34]OFD Sender: No OFD packet to send [19:28:39]OFD Sender: No OFD packet to send [19:28:44]OFD Sender: No OFD packet to send [19:28:49]OFD Sender: No OFD packet to send [19:28:54]OFD Sender: No OFD packet to send [19:28:59]OFD Sender: No OFD packet to send [19:29:04]OFD Sender: No OFD packet to send [19:29:09]OFD Sender: No OFD packet to send [19:29:14]OFD Sender: No OFD packet to send [19:29:19]OFD Sender: No OFD packet to send [19:29:24]OFD Sender: No OFD packet to send [19:29:29]OFD Sender: No OFD packet to send [19:29:34]OFD Sender: No OFD packet to send [19:29:39]OFD Sender: No OFD packet to send [19:29:44]OFD Sender: No OFD packet to send [19:29:49]OFD Sender: No OFD packet to send [19:29:54]OFD Sender: No OFD packet to send [19:29:59]OFD Sender: No OFD packet to send [19:30:04]OFD Sender: No OFD packet to send [19:30:09]OFD Sender: No OFD packet to send [19:30:14]OFD Sender: No OFD packet to send [19:30:19]OFD Sender: No OFD packet to send [19:30:24]OFD Sender: No OFD packet to send [19:30:29]OFD Sender: No OFD packet to send [19:30:34]OFD Sender: No OFD packet to send [19:30:39]OFD Sender: No OFD packet to send [19:30:44]OFD Sender: No OFD packet to send [19:30:49]OFD Sender: No OFD packet to send [19:30:54]OFD Sender: No OFD packet to send [19:30:59]OFD Sender: No OFD packet to send [19:31:04]OFD Sender: No OFD packet to send [19:31:09]OFD Sender: No OFD packet to send [19:31:14]OFD Sender: No OFD packet to send [19:31:19]OFD Sender: No OFD packet to send [19:31:24]OFD Sender: No OFD packet to send [19:31:29]OFD Sender: No OFD packet to send [19:31:34]OFD Sender: No OFD packet to send [19:31:39]OFD Sender: No OFD packet to send [19:31:44]OFD Sender: No OFD packet to send [19:31:49]OFD Sender: No OFD packet to send [19:31:54]OFD Sender: No OFD packet to send [19:31:59]OFD Sender: No OFD packet to send [19:32:04]OFD Sender: No OFD packet to send [19:32:09]OFD Sender: No OFD packet to send [19:32:14]OFD Sender: No OFD packet to send [19:32:19]OFD Sender: No OFD packet to send [19:32:24]OFD Sender: No OFD packet to send [19:32:29]OFD Sender: No OFD packet to send [19:32:34]OFD Sender: No OFD packet to send [19:32:39]OFD Sender: No OFD packet to send [19:32:44]OFD Sender: No OFD packet to send [19:32:49]OFD Sender: No OFD packet to send [19:32:54]OFD Sender: No OFD packet to send [19:32:59]OFD Sender: No OFD packet to send [19:33:04]OFD Sender: No OFD packet to send [19:33:09]OFD Sender: No OFD packet to send [19:33:14]OFD Sender: No OFD packet to send [19:33:19]OFD Sender: No OFD packet to send [19:33:24]OFD Sender: No OFD packet to send [19:33:29]OFD Sender: No OFD packet to send [19:33:34]OFD Sender: No OFD packet to send [19:33:39]OFD Sender: No OFD packet to send [19:33:44]OFD Sender: No OFD packet to send [19:33:49]OFD Sender: No OFD packet to send [19:33:54]OFD Sender: No OFD packet to send [19:33:59]OFD Sender: No OFD packet to send [19:34:04]OFD Sender: No OFD packet to send [19:34:09]OFD Sender: No OFD packet to send [19:34:14]OFD Sender: No OFD packet to send [19:34:19]OFD Sender: No OFD packet to send [19:34:24]OFD Sender: No OFD packet to send [19:34:29]OFD Sender: No OFD packet to send [19:34:34]OFD Sender: No OFD packet to send [19:34:39]OFD Sender: No OFD packet to send [19:34:44]OFD Sender: No OFD packet to send [19:34:49]OFD Sender: No OFD packet to send [19:34:54]OFD Sender: No OFD packet to send [19:34:59]OFD Sender: No OFD packet to send [19:35:04]OFD Sender: No OFD packet to send [19:35:09]OFD Sender: No OFD packet to send [19:35:14]OFD Sender: No OFD packet to send [19:35:19]OFD Sender: No OFD packet to send [19:35:24]OFD Sender: No OFD packet to send [19:35:29]OFD Sender: No OFD packet to send [19:35:34]OFD Sender: No OFD packet to send [19:35:39]OFD Sender: No OFD packet to send [19:35:44]OFD Sender: No OFD packet to send [19:35:49]OFD Sender: No OFD packet to send [19:35:54]OFD Sender: No OFD packet to send [19:35:59]OFD Sender: No OFD packet to send [19:36:04]OFD Sender: No OFD packet to send [19:36:09]OFD Sender: No OFD packet to send [19:36:14]OFD Sender: No OFD packet to send [19:36:19]OFD Sender: No OFD packet to send [19:36:24]OFD Sender: No OFD packet to send [19:36:29]OFD Sender: No OFD packet to send [19:36:34]OFD Sender: No OFD packet to send [19:36:39]OFD Sender: No OFD packet to send [19:36:44]OFD Sender: No OFD packet to send [19:36:49]OFD Sender: No OFD packet to send [19:36:54]OFD Sender: No OFD packet to send [19:36:59]OFD Sender: No OFD packet to send [19:37:04]OFD Sender: No OFD packet to send [19:37:09]OFD Sender: No OFD packet to send [19:37:14]OFD Sender: No OFD packet to send [19:37:19]OFD Sender: No OFD packet to send [19:37:24]OFD Sender: No OFD packet to send [19:37:29]OFD Sender: No OFD packet to send [19:37:34]OFD Sender: No OFD packet to send [19:37:39]OFD Sender: No OFD packet to send [19:37:44]OFD Sender: No OFD packet to send [19:37:49]OFD Sender: No OFD packet to send [19:37:54]OFD Sender: No OFD packet to send [19:37:59]OFD Sender: No OFD packet to send [19:38:04]OFD Sender: No OFD packet to send [19:38:09]OFD Sender: No OFD packet to send [19:38:14]OFD Sender: No OFD packet to send [19:38:19]OFD Sender: No OFD packet to send [19:38:24]OFD Sender: No OFD packet to send [19:38:29]OFD Sender: No OFD packet to send [19:38:34]OFD Sender: No OFD packet to send [19:38:39]OFD Sender: No OFD packet to send [19:38:44]OFD Sender: No OFD packet to send [19:38:49]OFD Sender: No OFD packet to send [19:38:54]OFD Sender: No OFD packet to send [19:38:59]OFD Sender: No OFD packet to send [19:39:04]OFD Sender: No OFD packet to send [19:39:09]OFD Sender: No OFD packet to send [19:39:14]OFD Sender: No OFD packet to send [19:39:19]OFD Sender: No OFD packet to send [19:39:24]OFD Sender: No OFD packet to send [19:39:29]OFD Sender: No OFD packet to send [19:39:34]OFD Sender: No OFD packet to send [19:39:39]OFD Sender: No OFD packet to send [19:39:44]OFD Sender: No OFD packet to send [19:39:49]OFD Sender: No OFD packet to send [19:39:54]OFD Sender: No OFD packet to send [19:39:59]OFD Sender: No OFD packet to send [19:40:04]OFD Sender: No OFD packet to send [19:40:09]OFD Sender: No OFD packet to send [19:40:14]OFD Sender: No OFD packet to send [19:40:19]OFD Sender: No OFD packet to send [19:40:24]OFD Sender: No OFD packet to send [19:40:29]OFD Sender: No OFD packet to send [19:40:34]OFD Sender: No OFD packet to send [19:40:39]OFD Sender: No OFD packet to send [19:40:44]OFD Sender: No OFD packet to send [19:40:49]OFD Sender: No OFD packet to send [19:40:54]OFD Sender: No OFD packet to send [19:40:59]OFD Sender: No OFD packet to send [19:41:04]OFD Sender: No OFD packet to send [19:41:09]OFD Sender: No OFD packet to send [19:41:14]OFD Sender: No OFD packet to send [19:41:19]OFD Sender: No OFD packet to send [19:41:24]OFD Sender: No OFD packet to send [19:41:29]OFD Sender: No OFD packet to send [19:41:34]OFD Sender: No OFD packet to send [19:41:39]OFD Sender: No OFD packet to send [19:41:44]OFD Sender: No OFD packet to send [19:41:49]OFD Sender: No OFD packet to send [19:41:54]OFD Sender: No OFD packet to send [19:41:59]OFD Sender: No OFD packet to send [19:42:04]OFD Sender: No OFD packet to send [19:42:09]OFD Sender: No OFD packet to send [19:42:14]OFD Sender: No OFD packet to send [19:42:19]OFD Sender: No OFD packet to send [19:42:24]OFD Sender: No OFD packet to send [19:42:29]OFD Sender: No OFD packet to send [19:42:34]OFD Sender: No OFD packet to send [19:42:39]OFD Sender: No OFD packet to send [19:42:44]OFD Sender: No OFD packet to send [19:42:49]OFD Sender: No OFD packet to send [19:42:54]OFD Sender: No OFD packet to send [19:42:59]OFD Sender: No OFD packet to send [19:43:04]OFD Sender: No OFD packet to send [19:43:09]OFD Sender: No OFD packet to send [19:43:14]OFD Sender: No OFD packet to send [19:43:19]OFD Sender: No OFD packet to send [19:43:24]OFD Sender: No OFD packet to send [19:43:29]OFD Sender: No OFD packet to send [19:43:34]OFD Sender: No OFD packet to send [19:43:39]OFD Sender: No OFD packet to send [19:43:44]OFD Sender: No OFD packet to send [19:43:49]OFD Sender: No OFD packet to send [19:43:54]OFD Sender: No OFD packet to send [19:43:59]OFD Sender: No OFD packet to send [19:44:04]OFD Sender: No OFD packet to send [19:44:09]OFD Sender: No OFD packet to send [19:44:14]OFD Sender: No OFD packet to send [19:44:19]OFD Sender: No OFD packet to send [19:44:24]OFD Sender: No OFD packet to send [19:44:29]OFD Sender: No OFD packet to send [19:44:34]OFD Sender: No OFD packet to send [19:44:39]OFD Sender: No OFD packet to send [19:44:44]OFD Sender: No OFD packet to send [19:44:49]OFD Sender: No OFD packet to send [19:44:54]OFD Sender: No OFD packet to send [19:44:59]OFD Sender: No OFD packet to send [19:45:04]OFD Sender: No OFD packet to send [19:45:09]OFD Sender: No OFD packet to send [19:45:14]OFD Sender: No OFD packet to send [19:45:19]OFD Sender: No OFD packet to send [19:45:24]OFD Sender: No OFD packet to send [19:45:29]OFD Sender: No OFD packet to send [19:45:34]OFD Sender: No OFD packet to send [19:45:39]OFD Sender: No OFD packet to send [19:45:44]OFD Sender: No OFD packet to send [19:45:49]OFD Sender: No OFD packet to send [19:45:54]OFD Sender: No OFD packet to send [19:45:59]OFD Sender: No OFD packet to send [19:46:04]OFD Sender: No OFD packet to send [19:46:09]OFD Sender: No OFD packet to send [19:46:14]OFD Sender: No OFD packet to send [19:46:20]OFD Sender: No OFD packet to send [19:46:25]OFD Sender: No OFD packet to send [19:46:30]OFD Sender: No OFD packet to send [19:46:35]OFD Sender: No OFD packet to send [19:46:40]OFD Sender: No OFD packet to send [19:46:45]OFD Sender: No OFD packet to send [19:46:50]OFD Sender: No OFD packet to send [19:46:55]OFD Sender: No OFD packet to send [19:47:00]OFD Sender: No OFD packet to send [19:47:05]OFD Sender: No OFD packet to send [19:47:10]OFD Sender: No OFD packet to send [19:47:15]OFD Sender: No OFD packet to send [19:47:20]OFD Sender: No OFD packet to send [19:47:25]OFD Sender: No OFD packet to send [19:47:30]OFD Sender: No OFD packet to send [19:47:35]OFD Sender: No OFD packet to send [19:47:40]OFD Sender: No OFD packet to send [19:47:45]OFD Sender: No OFD packet to send [19:47:50]OFD Sender: No OFD packet to send [19:47:55]OFD Sender: No OFD packet to send [19:48:00]OFD Sender: No OFD packet to send [19:48:05]OFD Sender: No OFD packet to send [19:48:10]OFD Sender: No OFD packet to send [19:48:15]OFD Sender: No OFD packet to send [19:48:20]OFD Sender: No OFD packet to send [19:48:25]OFD Sender: No OFD packet to send [19:48:30]OFD Sender: No OFD packet to send [19:48:35]OFD Sender: No OFD packet to send [19:48:40]OFD Sender: No OFD packet to send [19:48:45]OFD Sender: No OFD packet to send [19:48:50]OFD Sender: No OFD packet to send [19:48:55]OFD Sender: No OFD packet to send [19:49:00]OFD Sender: No OFD packet to send [19:49:05]OFD Sender: No OFD packet to send [19:49:10]OFD Sender: No OFD packet to send [19:49:15]OFD Sender: No OFD packet to send [19:49:20]OFD Sender: No OFD packet to send [19:49:25]OFD Sender: No OFD packet to send [19:49:30]OFD Sender: No OFD packet to send [19:49:35]OFD Sender: No OFD packet to send [19:49:40]OFD Sender: No OFD packet to send [19:49:45]OFD Sender: No OFD packet to send [19:49:50]OFD Sender: No OFD packet to send [19:49:55]OFD Sender: No OFD packet to send [19:50:00]OFD Sender: No OFD packet to send [19:50:05]OFD Sender: No OFD packet to send [19:50:10]OFD Sender: No OFD packet to send [19:50:15]OFD Sender: No OFD packet to send [19:50:20]OFD Sender: No OFD packet to send [19:50:25]OFD Sender: No OFD packet to send [19:50:30]OFD Sender: No OFD packet to send [19:50:35]OFD Sender: No OFD packet to send [19:50:40]OFD Sender: No OFD packet to send [19:50:45]OFD Sender: No OFD packet to send [19:50:50]accept exits with 9 [19:50:50]New connection [19:50:50]New thread 3067063652 created [19:50:50]Thread 3067207012 joined [19:50:50]Waiting for new connection... [19:50:50] Sock 9.Parse request [19:50:50]Sock 9.Check first char [19:50:50]Sock 9.First char is OK [19:50:50]request: POST /json_proto HTTP/1.0 [19:50:50]Method: POST [19:50:50]URL: /json_proto [19:50:50]Method is POST - this is cgi request [19:50:50]url: /json_proto [19:50:50]query_string will be loaded in cgi processing [19:50:50]execute_cgi json_proto POST (null) [19:50:50]execute_cgi path=json_proto method=POST [19:50:50]POST find Content-Length [19:50:50]Host: 172.17.40.196:8080 [19:50:50]Content-Length: 1848 [19:50:50]Content-Type: application/json [19:50:50] [19:50:50]POST finish read [19:50:50]Found Content-Length = 1848 [19:50:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35210", "tax_sys" : 0, "items" : [ { "code": "4700001060480", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 769.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:50]execute_script... [19:50: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)35210", "tax_sys" : 0, "items" : [ { "code": "4700001060480", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "50173808", "name": "\u0416\u0435\u0432 Orbit Sweet Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001150099", "name": "\u0421\u043E\u043A Da-Da 1\u043B \u043F\u0435\u0440\u0441\u0438\u043A", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: Mbank", "payments": [ { "type": 1, "sum" : 769.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [19:50:50]POST & json_proto [19:50:50]process_json_proto [19:50:50]json parsed OK: [19:50:50]protocol is kg_v1.0 [19:50:50]action value=close_receipt [19:50:50]process_action close_receipt [19:50:50]cmd_close_receipt [19:50:50]MH_GetDate [19:50:50]Write to MH i2c: F0 00 00 46 03 38 [19:50:50]OFD Sender: No OFD packet to send [19:50:50]Write i2c OK [19:50:50]MH_I2C_Read... [19:50:50]Read from MH i2c: F0 [19:50:50]MH_I2C_Read... [19:50:50]Read from MH i2c: F0 09 00 [19:50:50]MH_I2C_Read... [19:50:50]Read from MH i2c: F0 09 00 46 03 00 9B 3C 21 67 5B 68 A1 66 6A [19:50:50]GetLastDocTimeStamp 1730228983 [19:50:50]current date 1730231451 [19:50:50]FM_GetShiftState [19:50:50]SAM_PROTO_GetShiftState [19:50:50]wFMCommunicate request_size=4 [19:50:50]MH_SAM_APDU [19:50:50]CAPDU: 80 13 01 00 [19:50:50]Write to MH i2c: E2 08 00 47 03 80 13 01 00 00 00 00 00 C7 [19:50:50]Write i2c OK [19:50:50]MH_I2C_Read... [19:50:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:50:50]Read from MH i2c: E2 [19:50:50]MH_I2C_Read... [19:50:50]Read from MH i2c: E2 0E 00 [19:50:50]MH_I2C_Read... [19:50:50]Read from MH i2c: E2 0E 00 47 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3D [19:50:50]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:50:50]wFMCommunicate OK [19:50:50]SAM_PROTO_GetShiftState done [19:50:50]FM_GetShiftState done [19:50:50]opened in 1730160317 [19:50:50]opened+sec_in_day 1730246717 [19:50:50]quantity*price = 43000 [19:50:50]sum+1 = 43001 [19:50:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 50173808 Жев Orbit Sweet Mint 1.000 * 45.00 = 45.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000053020015 Бумажные стаканы 250мл 1шт 2.000 * 7.00 = 14.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870001150099 Сок Da-Da 1л персик 1.000 * 150.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4600452021095 Белый шоколад OZera Caramel 90г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 769.00 НСП 1% : 6.80 НДС 12% : 81.66 Наличными: 0.00 Безнал.: 769.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 72 29.10.2024 19:50 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37910 ФПД: 20593506013422 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T195051&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37910&fm=20593506013422&tin=02508201610067®Number=0000000000091684&sum=76900 0 [19:50:51]StoreToDocumentArchive [19:50:51]shift 552 fd 37910 [19:50:51]save to /storage/0552/doc_00037910 [19:50:51]save last doc name /storage/0552/doc_00037910 to /storage/kkm_last_doc_name [19:50:51]save OK [19:50:51]Clear old archive folders... [19:50:51]ProcessDocumentItem done err = 0, tmpTLVsize=723 [19:50:51]tlvbuf is 01903DE0 [19:50:51]SAM_PROTO_ClearQueue [19:50:51]wFMCommunicate request_size=4 [19:50:51]MH_SAM_APDU [19:50:51]CAPDU: 80 09 00 00 [19:50:51]Write to MH i2c: E2 08 00 54 03 80 09 00 00 00 00 00 00 C9 [19:50:51]Write i2c OK [19:50:51]MH_I2C_Read... [19:50:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:50:51]Read from MH i2c: E2 [19:50:51]MH_I2C_Read... [19:50:51]Read from MH i2c: E2 03 00 [19:50:51]MH_I2C_Read... [19:50:51]Read from MH i2c: E2 03 00 54 03 00 90 00 CB [19:50:51]RAPDU: 90 00 [19:50:51]wFMCommunicate OK [19:50:51]SAM_PROTO_ClearQueue done [19:50:51]KKMCreateOFDPacket [19:50:51]OFDProtocolAddRootSTLVToBuf [19:50:51]FM_MakeSignedData [19:50:51]FM_MakeSignedData [19:50:51]SAM_PROTO_SignData [19:50:51]wFMCommunicate request_size=4 [19:50:51]MH_SAM_APDU [19:50:51]CAPDU: 80 0D 01 02 [19:50:51]Write to MH i2c: E2 08 00 55 03 80 0D 01 02 00 00 00 00 D1 [19:50:51]Write i2c OK [19:50:51]MH_I2C_Read... [19:50:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:50:51]Read from MH i2c: E2 [19:50:51]MH_I2C_Read... [19:50:51]Read from MH i2c: E2 03 00 [19:50:51]MH_I2C_Read... [19:50:51]Read from MH i2c: E2 03 00 55 03 00 90 00 CC [19:50:51]RAPDU: 90 00 [19:50:51]wFMCommunicate OK [19:50:51]wFMCommunicate request_size=255 [19:50:51]MH_SAM_APDU [19:50:51]CAPDU: 80 0D 02 02 FA 03 00 D3 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 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 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 [19:50:51]Write to MH i2c: E2 02 01 56 03 80 0D 02 02 FA 00 03 00 D3 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 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 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 00 00 E6 [19:50:52]Write i2c OK [19:50:52]MH_I2C_Read... [19:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:52]Read from MH i2c: E2 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 56 03 00 90 00 CD [19:50:52]RAPDU: 90 00 [19:50:52]wFMCommunicate OK [19:50:52]wFMCommunicate request_size=255 [19:50:52]MH_SAM_APDU [19:50:52]CAPDU: 80 0D 02 02 FA 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 [19:50:52]Write to MH i2c: E2 02 01 57 03 80 0D 02 02 FA 00 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 00 00 8C [19:50:52]Write i2c OK [19:50:52]MH_I2C_Read... [19:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:52]Read from MH i2c: E2 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 57 03 00 90 00 CE [19:50:52]RAPDU: 90 00 [19:50:52]wFMCommunicate OK [19:50:52]wFMCommunicate request_size=232 [19:50:52]MH_SAM_APDU [19:50:52]CAPDU: 80 0D 02 02 E3 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 2C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 1F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 2C 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 9B 3C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 16 94 00 00 35 04 06 00 12 BA CC 9C 50 EE [19:50:52]Write to MH i2c: E2 EB 00 58 03 80 0D 02 02 E3 00 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 2C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 1F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 2C 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 9B 3C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 16 94 00 00 35 04 06 00 12 BA CC 9C 50 EE 00 00 4D [19:50:52]Write i2c OK [19:50:52]MH_I2C_Read... [19:50:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:50:52]Read from MH i2c: E2 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 03 00 58 03 00 90 00 CF [19:50:52]RAPDU: 90 00 [19:50:52]wFMCommunicate OK [19:50:52]wFMCommunicate request_size=4 [19:50:52]MH_SAM_APDU [19:50:52]CAPDU: 80 0D 03 02 [19:50:52]Write to MH i2c: E2 08 00 59 03 80 0D 03 02 00 00 00 00 D7 [19:50:52]Write i2c OK [19:50:52]MH_I2C_Read... [19:50:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:50:52]Read from MH i2c: E2 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 0B 00 [19:50:52]MH_I2C_Read... [19:50:52]Read from MH i2c: E2 0B 00 59 03 00 58 4B A9 19 D5 E9 08 D1 90 00 D4 [19:50:52]RAPDU: 58 4B A9 19 D5 E9 08 D1 90 00 [19:50:52]wFMCommunicate OK [19:50:52]SAM_PROTO_SignData done [19:50:52]FM_MakeSignedData done [19:50:52]CreateOFDProtocolMessage [19:50:52]wFMCommunicate request_size=4 [19:50:52]MH_SAM_APDU [19:50:52]CAPDU: 80 11 00 00 [19:50:52]Write to MH i2c: E2 08 00 5A 03 80 11 00 00 00 00 00 00 D7 [19:50:52]Write i2c OK [19:50:52]MH_I2C_Read... [19:50:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:50:53]Read from MH i2c: E2 [19:50:53]MH_I2C_Read... [19:50:53]Read from MH i2c: E2 17 00 [19:50:53]MH_I2C_Read... [19:50:53]Read from MH i2c: E2 17 00 5A 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 27 [19:50:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:50:53]wFMCommunicate OK [19:50:53]CreateOFDProtocolMessage done [19:50:53]OFDSenderStorePacket 37910 [19:50:53]StoreOFDPacket docnum=37910 [19:50:53]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 E7 02 00 00 F9 D2 DF 02 4E 9C 5A 03 01 00 03 00 D3 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 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 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 2C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 1F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 2C 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 9B 3C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 16 94 00 00 35 04 06 00 12 BA CC 9C 50 EE 58 4B A9 19 D5 E9 08 D1 [19:50:53]CheckFolder [19:50:53]dirname=/storage/ofd_packets [19:50:53]CheckFolder done [19:50:53]ProducePacketName [19:50:53]name=ofd_packets/00037910 [19:50:53]NVStorageSaveData ofd_packets/00037910 [19:50:53]File name is /storage/ofd_packets/00037910 [19:50:53]Write 773 bytes [19:50:53]NVStorageSaveData done [19:50:53]OFDSenderStorePacket done [19:50:53]KKMCreateOFDPacket done [19:50:53]NVStorageSaveData kkm_last_timestamp [19:50:53]File name is /storage/kkm_last_timestamp [19:50:53]Write 4 bytes [19:50:53]NVStorageSaveData done [19:50:53]ExternCall_PrintAddStr [19:50:53]wPrintStart [19:50:53]Write to MH i2c: 01 00 00 5B 03 5E [19:50:53]Write i2c OK [19:50:53]MH_I2C_Read... [19:50:53]Read from MH i2c: 01 [19:50:53]MH_I2C_Read... [19:50:53]Read from MH i2c: 01 07 00 [19:50:53]MH_I2C_Read... [19:50:53]Read from MH i2c: 01 07 00 5B 03 00 00 00 00 00 FF 0F 73 [19:50:53]RasterBufferAndPrint [19:50:53]line Счет N : (3)35210 [19:50:53]line ИНН: 02508201610067 [19:50:53]line Контрольно-Кассовый Чек [19:50:53]line ПРОДАЖА [19:50:53]line Товар: 4700001060480 [19:50:53]line Настойка Шоколад на коньяке 0,5л [19:50:53]line 1.000 * 430.00 [19:50:53]line = 430.00 [19:50:53]line НДС 12% НСП 1% [19:50:53]line > о реализуемом товаре [19:50:53]line Товар: 50173808 [19:50:53]line Жев Orbit Sweet Mint [19:50:53]line 1.000 * 45.00 [19:50:53]line = 45.00 [19:50:53]line НДС 12% НСП 1% [19:50:53]line > о реализуемом товаре [19:50:53]line Товар: 2000053020015 [19:50:53]line Бумажные стаканы 250мл 1шт [19:50:53]line 2.000 * 7.00 [19:50:53]line = 14.00 [19:50:53]line НДС 12% НСП 1% [19:50:53]line > о реализуемом товаре [19:50:53]line Товар: 4870001150099 [19:50:53]line Сок Da-Da 1л персик [19:50:53]line 1.000 * 150.00 [19:50:53]line = 150.00 [19:50:53]line НДС 12% НСП 1% [19:50:53]line > о реализуемом товаре [19:50:53]line Товар: 4600452021095 [19:50:53]line Белый шоколад OZera Caramel 90г [19:50:53]line 1.000 * 130.00 [19:50:53]line = 130.00 [19:50:53]line НДС 12% НСП 1% [19:50:53]line > о реализуемом товаре [19:50:53]line ИТОГО: 769.00 [19:50:53]line НСП 1% : 6.80 [19:50:53]line НДС 12% : 81.66 [19:50:53]line Наличными: 0.00 [19:50:53]line Безнал.: 769.00 [19:50:53]line Место: АЗС № 126 "Партнер Нефть" [19:50:53]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [19:50:53]line СНО: Общий режим [19:50:53]line Чек 72 29.10.2024 19:50 [19:50:53]line Смена: 552 ФФД: 1.0 [19:50:53]line ЗНМ: 0300000092 [19:50:53]line РНМ: 0000000000091684 [19:50:53]line Версия ККМ: 001 [19:50:53]line Платежная система: Mbank [19:50:53]line ФМ: 0000000000871841 [19:50:53]line ФД: 37910 [19:50:53]line ФПД: 20593506013422 [19:50:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T195051&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37910&fm=20593506013422&tin=02508201610067®Number=0000000000091684&sum=76900 [19:50:53]line 0 [19:50:53]OFD Sender: Processing packet 37910 [packets to send 42, broken 41] [19:50:53]ProducePacketName [19:50:53]name=ofd_packets/00037910 [19:50:53]OFD Sender: To server: pG, [19:50:53]CommunicateWithHost lk.salyk.kg:30040 [19:50:53]ConnectInit lk.salyk.kg [19:50:53]written 0, free lines is 4095 [19:50:53]Connected sock=10 [19:50:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 E7 02 00 00 F9 D2 DF 02 4E 9C 5A 03 01 00 03 00 D3 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 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 38 30 38 06 04 17 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 53 77 65 65 74 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 0D 00 34 38 37 30 30 30 31 31 35 30 30 39 39 06 04 1D 00 D0 A1 D0 BE D0 BA 20 44 61 2D 44 61 20 31 D0 BB 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 98 3A 00 00 00 00 13 04 06 00 98 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 2C 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E6 1F 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 2C 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 9B 3C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 16 94 00 00 35 04 06 00 12 BA CC 9C 50 EE 58 4B A9 19 D5 E9 08 D1 [19:50:54]Write to MH i2c: 01 00 00 9F 03 A2 [19:50:54]Write i2c OK [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: 01 [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: 01 07 00 [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: 01 07 00 9F 03 00 00 00 00 00 E8 0A 9B [19:50:54]RasterBufferAndPrint [19:50:54]line [19:50:54]line [19:50:54]line [19:50:54]line [19:50:54]line [19:50:54]written 0, free lines is 2799 [19:50:54]MH_Cut [19:50:54]Write to MH i2c: D1 01 00 A6 03 01 7B [19:50:54]Write i2c OK [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: D1 [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: D1 01 00 [19:50:54]MH_I2C_Read... [19:50:54]Read from MH i2c: D1 01 00 A6 03 00 7A [19:50:54]Write to MH i2c: 01 00 00 A7 03 AA [19:50:54]Write i2c OK [19:50:54]MH_I2C_Read... [19:50:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 24 C9 47 00 D1 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 38 37 31 38 34 31 10 04 04 00 16 94 00 00 F4 03 04 00 8C E7 20 67 B6 04 01 00 00 11 EC C6 99 DE 8B 54 B5 [19:50:54]CommunicateWithHost err = 0 [19:50:54]CheckOFDResponse [19:50:54]1017 (14) - 77093643461234 [19:50:54]1041 (16) - 0000000000871841 [19:50:54]1040 (4) - 37910 [19:50:54]1012 (4) - 29.10.2024 13:47 [19:50:54]1206 (1) - 0 [19:50:54]OFD Sender: Remove packet 37910 [19:50:54]ProducePacketName [19:50:54]name=ofd_packets/00037910 [19:50:54]NVStorageDeleteData [19:50:54]OFD Sender: No OFD packet to send [19:50:55]*** Cut start [19:50:55]*** Partial cut [19:50:55]*** CUTSNS_PIN = 1 [19:50:55]*** CUTSNS_PIN = 0 [19:50:55]*** Brake cut motor [19:50:55]Read from MH i2c: 01 [19:50:55]MH_I2C_Read... [19:50:55]*** Stop cut motor [19:50:55]*** Cut end [19:50:55]Read from MH i2c: 01 07 00 [19:50:55]MH_I2C_Read... [19:50:55]Read from MH i2c: 01 07 00 A7 03 00 00 00 00 00 FF 0F BF [19:50:55]process_action close_receipt done [19:50:55]requested_data is exist [19:50:55]produce_requested_data [19:50:55]requested_item fm.sn is exist - process it [19:50:55]wFMCommunicate request_size=4 [19:50:55]MH_SAM_APDU [19:50:55]CAPDU: 80 11 00 00 [19:50:55]Write to MH i2c: E2 08 00 A8 03 80 11 00 00 00 00 00 00 25 [19:50:55]Write i2c OK [19:50:55]MH_I2C_Read... [19:50:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:50:55]Read from MH i2c: E2 [19:50:55]MH_I2C_Read... [19:50:55]Read from MH i2c: E2 17 00 [19:50:55]MH_I2C_Read... [19:50:55]Read from MH i2c: E2 17 00 A8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 75 [19:50:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [19:50:55]wFMCommunicate OK [19:50:55]requested_item fd.num is exist - process it [19:50:55]SAM_PROTO_GetFieldsCounters [19:50:55]wFMCommunicate request_size=4 [19:50:55]MH_SAM_APDU [19:50:55]CAPDU: 80 13 00 00 [19:50:55]Write to MH i2c: E2 08 00 A9 03 80 13 00 00 00 00 00 00 28 [19:50:55]Write i2c OK [19:50:55]MH_I2C_Read... [19:50:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:50:56]Read from MH i2c: E2 [19:50:56]MH_I2C_Read... [19:50:56]Read from MH i2c: E2 62 00 [19:50:56]MH_I2C_Read... [19:50:56]Read from MH i2c: E2 62 00 A9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 16 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 F5 [19:50:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 16 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 48 00 00 00 5E 04 04 00 48 00 00 00 57 04 04 00 49 00 00 00 19 04 04 00 00 00 00 00 90 00 [19:50:56]wFMCommunicate OK [19:50:56]SAM_PROTO_GetFieldsCounters done [19:50:56]requested_item shift.num is exist - process it [19:50:56]requested_item shift.opened is exist - process it [19:50:56]req_shift_opened [19:50:56]FM_GetShiftState [19:50:56]SAM_PROTO_GetShiftState [19:50:56]wFMCommunicate request_size=4 [19:50:56]MH_SAM_APDU [19:50:56]CAPDU: 80 13 01 00 [19:50:56]Write to MH i2c: E2 08 00 AA 03 80 13 01 00 00 00 00 00 2A [19:50:56]Write i2c OK [19:50:56]MH_I2C_Read... [19:50:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:50:56]Read from MH i2c: E2 [19:50:56]MH_I2C_Read... [19:50:56]Read from MH i2c: E2 0E 00 [19:50:56]MH_I2C_Read... [19:50:56]Read from MH i2c: E2 0E 00 AA 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 A0 [19:50:56]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [19:50:56]wFMCommunicate OK [19:50:56]SAM_PROTO_GetShiftState done [19:50:56]FM_GetShiftState done [19:50:56]req_shift_opened done [19:50:56]requested_item shift.open_date is exist - process it [19:50:56]req_shift_open_date [19:50:56]req_shift_open_date done [19:50:56]produce_requested_data done [19:50:56]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37910,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [19:50:56]process_action_free close_receipt [19:50:56]json_value_free [19:50:56]json_value_free done [19:50:56]process_json_proto returns [19:50:56]Send response to host [19:50:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37910,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [19:50:56]free response buf [19:50:56]execute_script done [19:50:56]execute_script returns [19:50:56]free content buf [19:50:56]Sock 9.Close socket [19:50:56]Sock 9.Thread stoped [19:50:59]OFD Sender: No OFD packet to send [19:51:04]OFD Sender: No OFD packet to send [19:51:09]OFD Sender: No OFD packet to send [19:51:14]OFD Sender: No OFD packet to send [19:51:19]OFD Sender: No OFD packet to send [19:51:24]OFD Sender: No OFD packet to send [19:51:29]OFD Sender: No OFD packet to send [19:51:34]OFD Sender: No OFD packet to send [19:51:39]OFD Sender: No OFD packet to send [19:51:44]OFD Sender: No OFD packet to send [19:51:49]OFD Sender: No OFD packet to send [19:51:54]OFD Sender: No OFD packet to send [19:51:59]OFD Sender: No OFD packet to send [19:52:04]OFD Sender: No OFD packet to send [19:52:09]OFD Sender: No OFD packet to send [19:52:14]OFD Sender: No OFD packet to send [19:52:19]OFD Sender: No OFD packet to send [19:52:24]OFD Sender: No OFD packet to send [19:52:29]OFD Sender: No OFD packet to send [19:52:34]OFD Sender: No OFD packet to send [19:52:39]OFD Sender: No OFD packet to send [19:52:44]OFD Sender: No OFD packet to send [19:52:49]OFD Sender: No OFD packet to send [19:52:54]OFD Sender: No OFD packet to send [19:52:59]OFD Sender: No OFD packet to send [19:53:04]OFD Sender: No OFD packet to send [19:53:09]OFD Sender: No OFD packet to send [19:53:14]OFD Sender: No OFD packet to send [19:53:19]OFD Sender: No OFD packet to send [19:53:24]OFD Sender: No OFD packet to send [19:53:29]OFD Sender: No OFD packet to send [19:53:34]OFD Sender: No OFD packet to send [19:53:39]OFD Sender: No OFD packet to send [19:53:44]OFD Sender: No OFD packet to send [19:53:49]OFD Sender: No OFD packet to send [19:53:54]OFD Sender: No OFD packet to send [19:53:59]OFD Sender: No OFD packet to send [19:54:04]OFD Sender: No OFD packet to send [19:54:09]OFD Sender: No OFD packet to send [19:54:14]OFD Sender: No OFD packet to send [19:54:19]OFD Sender: No OFD packet to send [19:54:24]OFD Sender: No OFD packet to send [19:54:29]OFD Sender: No OFD packet to send [19:54:34]OFD Sender: No OFD packet to send [19:54:39]OFD Sender: No OFD packet to send [19:54:44]OFD Sender: No OFD packet to send [19:54:49]OFD Sender: No OFD packet to send [19:54:54]OFD Sender: No OFD packet to send [19:54:59]OFD Sender: No OFD packet to send [19:55:04]OFD Sender: No OFD packet to send [19:55:09]OFD Sender: No OFD packet to send [19:55:14]OFD Sender: No OFD packet to send [19:55:19]OFD Sender: No OFD packet to send [19:55:24]OFD Sender: No OFD packet to send [19:55:29]OFD Sender: No OFD packet to send [19:55:34]OFD Sender: No OFD packet to send [19:55:39]OFD Sender: No OFD packet to send [19:55:44]OFD Sender: No OFD packet to send [19:55:49]OFD Sender: No OFD packet to send [19:55:54]OFD Sender: No OFD packet to send [19:55:59]OFD Sender: No OFD packet to send [19:56:04]OFD Sender: No OFD packet to send [19:56:09]OFD Sender: No OFD packet to send [19:56:14]OFD Sender: No OFD packet to send [19:56:19]OFD Sender: No OFD packet to send [19:56:24]OFD Sender: No OFD packet to send [19:56:29]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:55]OFD Sender: No OFD packet to send [19:57:00]OFD Sender: No OFD packet to send [19:57:05]OFD Sender: No OFD packet to send [19:57:10]OFD Sender: No OFD packet to send [19:57:15]OFD Sender: No OFD packet to send [19:57:20]OFD Sender: No OFD packet to send [19:57:25]OFD Sender: No OFD packet to send [19:57:30]OFD Sender: No OFD packet to send [19:57:35]OFD Sender: No OFD packet to send [19:57:40]OFD Sender: No OFD packet to send [19:57:45]OFD Sender: No OFD packet to send [19:57:50]OFD Sender: No OFD packet to send [19:57:55]OFD Sender: No OFD packet to send [19:58:00]OFD Sender: No OFD packet to send [19:58:05]OFD Sender: No OFD packet to send [19:58:10]OFD Sender: No OFD packet to send [19:58:15]OFD Sender: No OFD packet to send [19:58:20]OFD Sender: No OFD packet to send [19:58:25]OFD Sender: No OFD packet to send [19:58:30]OFD Sender: No OFD packet to send [19:58:35]OFD Sender: No OFD packet to send [19:58:40]OFD Sender: No OFD packet to send [19:58:45]OFD Sender: No OFD packet to send [19:58:50]OFD Sender: No OFD packet to send [19:58:51]ConnectInit Can't connect to host [19:58:55]OFD Sender: No OFD packet to send [19:59:00]OFD Sender: No OFD packet to send [19:59:05]OFD Sender: No OFD packet to send [19:59:10]OFD Sender: No OFD packet to send [19:59:15]OFD Sender: No OFD packet to send [19:59:20]OFD Sender: No OFD packet to send [19:59:25]OFD Sender: No OFD packet to send [19:59:30]OFD Sender: No OFD packet to send [19:59:35]OFD Sender: No OFD packet to send [19:59:40]OFD Sender: No OFD packet to send [19:59:45]OFD Sender: No OFD packet to send [19:59:50]OFD Sender: No OFD packet to send [19:59:55]OFD Sender: No OFD packet to send [20:00:00]OFD Sender: No OFD packet to send [20:00:05]OFD Sender: No OFD packet to send [20:00:10]OFD Sender: No OFD packet to send [20:00:15]OFD Sender: No OFD packet to send [20:00:20]OFD Sender: No OFD packet to send [20:00:25]OFD Sender: No OFD packet to send [20:00:30]OFD Sender: No OFD packet to send [20:00:35]OFD Sender: No OFD packet to send [20:00:40]OFD Sender: No OFD packet to send [20:00:45]OFD Sender: No OFD packet to send [20:00:50]OFD Sender: No OFD packet to send [20:00:55]OFD Sender: No OFD packet to send [20:01:00]OFD Sender: No OFD packet to send [20:01:05]OFD Sender: No OFD packet to send [20:01:10]OFD Sender: No OFD packet to send [20:01:15]OFD Sender: No OFD packet to send [20:01:20]OFD Sender: No OFD packet to send [20:01:25]OFD Sender: No OFD packet to send [20:01:30]OFD Sender: No OFD packet to send [20:01:35]OFD Sender: No OFD packet to send [20:01:40]OFD Sender: No OFD packet to send [20:01:45]OFD Sender: No OFD packet to send [20:01:50]OFD Sender: No OFD packet to send [20:01:55]OFD Sender: No OFD packet to send [20:02:00]OFD Sender: No OFD packet to send [20:02:05]OFD Sender: No OFD packet to send [20:02:10]OFD Sender: No OFD packet to send [20:02:15]OFD Sender: No OFD packet to send [20:02:20]OFD Sender: No OFD packet to send [20:02:25]OFD Sender: No OFD packet to send [20:02:30]OFD Sender: No OFD packet to send [20:02:35]OFD Sender: No OFD packet to send [20:02:40]OFD Sender: No OFD packet to send [20:02:45]OFD Sender: No OFD packet to send [20:02:50]OFD Sender: No OFD packet to send [20:02:55]OFD Sender: No OFD packet to send [20:03:00]OFD Sender: No OFD packet to send [20:03:05]OFD Sender: No OFD packet to send [20:03:10]OFD Sender: No OFD packet to send [20:03:15]OFD Sender: No OFD packet to send [20:03:20]OFD Sender: No OFD packet to send [20:03:25]OFD Sender: No OFD packet to send [20:03:30]OFD Sender: No OFD packet to send [20:03:35]OFD Sender: No OFD packet to send [20:03:40]OFD Sender: No OFD packet to send [20:03:45]OFD Sender: No OFD packet to send [20:03:50]OFD Sender: No OFD packet to send [20:03:55]OFD Sender: No OFD packet to send [20:04:00]OFD Sender: No OFD packet to send [20:04:05]OFD Sender: No OFD packet to send [20:04:10]OFD Sender: No OFD packet to send [20:04:15]OFD Sender: No OFD packet to send [20:04:20]OFD Sender: No OFD packet to send [20:04:25]OFD Sender: No OFD packet to send [20:04:30]OFD Sender: No OFD packet to send [20:04:35]OFD Sender: No OFD packet to send [20:04:40]OFD Sender: No OFD packet to send [20:04:45]OFD Sender: No OFD packet to send [20:04:50]OFD Sender: No OFD packet to send [20:04:55]OFD Sender: No OFD packet to send [20:05:00]OFD Sender: No OFD packet to send [20:05:05]OFD Sender: No OFD packet to send [20:05:10]OFD Sender: No OFD packet to send [20:05:15]OFD Sender: No OFD packet to send [20:05:20]OFD Sender: No OFD packet to send [20:05:25]OFD Sender: No OFD packet to send [20:05:30]OFD Sender: No OFD packet to send [20:05:35]OFD Sender: No OFD packet to send [20:05:40]OFD Sender: No OFD packet to send [20:05:45]OFD Sender: No OFD packet to send [20:05:50]OFD Sender: No OFD packet to send [20:05:55]OFD Sender: No OFD packet to send [20:06:00]OFD Sender: No OFD packet to send [20:06:05]OFD Sender: No OFD packet to send [20:06:10]OFD Sender: No OFD packet to send [20:06:15]OFD Sender: No OFD packet to send [20:06:20]OFD Sender: No OFD packet to send [20:06:25]OFD Sender: No OFD packet to send [20:06:30]OFD Sender: No OFD packet to send [20:06:35]OFD Sender: No OFD packet to send [20:06:40]OFD Sender: No OFD packet to send [20:06:45]OFD Sender: No OFD packet to send [20:06:50]OFD Sender: No OFD packet to send [20:06:55]OFD Sender: No OFD packet to send [20:07:00]OFD Sender: No OFD packet to send [20:07:05]OFD Sender: No OFD packet to send [20:07:10]OFD Sender: No OFD packet to send [20:07:15]OFD Sender: No OFD packet to send [20:07:20]OFD Sender: No OFD packet to send [20:07:25]OFD Sender: No OFD packet to send [20:07:30]OFD Sender: No OFD packet to send [20:07:35]OFD Sender: No OFD packet to send [20:07:40]OFD Sender: No OFD packet to send [20:07:45]OFD Sender: No OFD packet to send [20:07:50]OFD Sender: No OFD packet to send [20:07:55]OFD Sender: No OFD packet to send [20:08:00]OFD Sender: No OFD packet to send [20:08:05]OFD Sender: No OFD packet to send [20:08:10]OFD Sender: No OFD packet to send [20:08:15]OFD Sender: No OFD packet to send [20:08:20]OFD Sender: No OFD packet to send [20:08:25]OFD Sender: No OFD packet to send [20:08:30]OFD Sender: No OFD packet to send [20:08:35]OFD Sender: No OFD packet to send [20:08:40]OFD Sender: No OFD packet to send [20:08:45]OFD Sender: No OFD packet to send [20:08:50]OFD Sender: No OFD packet to send [20:08:55]OFD Sender: No OFD packet to send [20:09:00]OFD Sender: No OFD packet to send [20:09:05]OFD Sender: No OFD packet to send [20:09:10]OFD Sender: No OFD packet to send [20:09:15]OFD Sender: No OFD packet to send [20:09:20]OFD Sender: No OFD packet to send [20:09:25]OFD Sender: No OFD packet to send [20:09:30]OFD Sender: No OFD packet to send [20:09:35]OFD Sender: No OFD packet to send [20:09:40]OFD Sender: No OFD packet to send [20:09:45]OFD Sender: No OFD packet to send [20:09:50]OFD Sender: No OFD packet to send [20:09:55]OFD Sender: No OFD packet to send [20:10:00]OFD Sender: No OFD packet to send [20:10:05]OFD Sender: No OFD packet to send [20:10:10]OFD Sender: No OFD packet to send [20:10:15]OFD Sender: No OFD packet to send [20:10:20]OFD Sender: No OFD packet to send [20:10:25]OFD Sender: No OFD packet to send [20:10:30]OFD Sender: No OFD packet to send [20:10:35]OFD Sender: No OFD packet to send [20:10:40]OFD Sender: No OFD packet to send [20:10:45]OFD Sender: No OFD packet to send [20:10:50]OFD Sender: No OFD packet to send [20:10:55]OFD Sender: No OFD packet to send [20:11:00]OFD Sender: No OFD packet to send [20:11:05]OFD Sender: No OFD packet to send [20:11:10]OFD Sender: No OFD packet to send [20:11:15]OFD Sender: No OFD packet to send [20:11:20]OFD Sender: No OFD packet to send [20:11:25]OFD Sender: No OFD packet to send [20:11:30]OFD Sender: No OFD packet to send [20:11:35]OFD Sender: No OFD packet to send [20:11:40]OFD Sender: No OFD packet to send [20:11:45]OFD Sender: No OFD packet to send [20:11:50]OFD Sender: No OFD packet to send [20:11:55]OFD Sender: No OFD packet to send [20:12:00]OFD Sender: No OFD packet to send [20:12:05]OFD Sender: No OFD packet to send [20:12:10]OFD Sender: No OFD packet to send [20:12:15]OFD Sender: No OFD packet to send [20:12:20]OFD Sender: No OFD packet to send [20:12:25]OFD Sender: No OFD packet to send [20:12:30]OFD Sender: No OFD packet to send [20:12:35]OFD Sender: No OFD packet to send [20:12:40]OFD Sender: No OFD packet to send [20:12:45]OFD Sender: No OFD packet to send [20:12:50]OFD Sender: No OFD packet to send [20:12:55]OFD Sender: No OFD packet to send [20:13:00]OFD Sender: No OFD packet to send [20:13:05]OFD Sender: No OFD packet to send [20:13:10]OFD Sender: No OFD packet to send [20:13:15]OFD Sender: No OFD packet to send [20:13:20]OFD Sender: No OFD packet to send [20:13:25]OFD Sender: No OFD packet to send [20:13:30]OFD Sender: No OFD packet to send [20:13:35]OFD Sender: No OFD packet to send [20:13:40]OFD Sender: No OFD packet to send [20:13:45]OFD Sender: No OFD packet to send [20:13:50]OFD Sender: No OFD packet to send [20:13:55]OFD Sender: No OFD packet to send [20:14:00]OFD Sender: No OFD packet to send [20:14:05]OFD Sender: No OFD packet to send [20:14:10]OFD Sender: No OFD packet to send [20:14:15]OFD Sender: No OFD packet to send [20:14:20]OFD Sender: No OFD packet to send [20:14:25]OFD Sender: No OFD packet to send [20:14:30]OFD Sender: No OFD packet to send [20:14:35]OFD Sender: No OFD packet to send [20:14:40]OFD Sender: No OFD packet to send [20:14:45]OFD Sender: No OFD packet to send [20:14:50]OFD Sender: No OFD packet to send [20:14:55]OFD Sender: No OFD packet to send [20:15:00]OFD Sender: No OFD packet to send [20:15:05]OFD Sender: No OFD packet to send [20:15:10]OFD Sender: No OFD packet to send [20:15:15]OFD Sender: No OFD packet to send [20:15:20]OFD Sender: No OFD packet to send [20:15:25]OFD Sender: No OFD packet to send [20:15:30]OFD Sender: No OFD packet to send [20:15:35]OFD Sender: No OFD packet to send [20:15:40]OFD Sender: No OFD packet to send [20:15:45]OFD Sender: No OFD packet to send [20:15:51]OFD Sender: No OFD packet to send [20:15:56]OFD Sender: No OFD packet to send [20:16:01]OFD Sender: No OFD packet to send [20:16:06]OFD Sender: No OFD packet to send [20:16:11]OFD Sender: No OFD packet to send [20:16:16]OFD Sender: No OFD packet to send [20:16:21]OFD Sender: No OFD packet to send [20:16:26]OFD Sender: No OFD packet to send [20:16:31]OFD Sender: No OFD packet to send [20:16:36]OFD Sender: No OFD packet to send [20:16:41]OFD Sender: No OFD packet to send [20:16:46]OFD Sender: No OFD packet to send [20:16:51]OFD Sender: No OFD packet to send [20:16:56]OFD Sender: No OFD packet to send [20:17:01]OFD Sender: No OFD packet to send [20:17:06]OFD Sender: No OFD packet to send [20:17:11]OFD Sender: No OFD packet to send [20:17:16]OFD Sender: No OFD packet to send [20:17:21]OFD Sender: No OFD packet to send [20:17:26]OFD Sender: No OFD packet to send [20:17:31]OFD Sender: No OFD packet to send [20:17:36]OFD Sender: No OFD packet to send [20:17:41]OFD Sender: No OFD packet to send [20:17:46]OFD Sender: No OFD packet to send [20:17:51]OFD Sender: No OFD packet to send [20:17:56]OFD Sender: No OFD packet to send [20:18:01]OFD Sender: No OFD packet to send [20:18:06]OFD Sender: No OFD packet to send [20:18:11]OFD Sender: No OFD packet to send [20:18:16]OFD Sender: No OFD packet to send [20:18:21]OFD Sender: No OFD packet to send [20:18:26]OFD Sender: No OFD packet to send [20:18:31]OFD Sender: No OFD packet to send [20:18:36]OFD Sender: No OFD packet to send [20:18:41]OFD Sender: No OFD packet to send [20:18:46]OFD Sender: No OFD packet to send [20:18:51]OFD Sender: No OFD packet to send [20:18:56]OFD Sender: No OFD packet to send [20:19:01]OFD Sender: No OFD packet to send [20:19:06]OFD Sender: No OFD packet to send [20:19:11]OFD Sender: No OFD packet to send [20:19:16]OFD Sender: No OFD packet to send [20:19:21]OFD Sender: No OFD packet to send [20:19:26]OFD Sender: No OFD packet to send [20:19:31]OFD Sender: No OFD packet to send [20:19:36]OFD Sender: No OFD packet to send [20:19:41]OFD Sender: No OFD packet to send [20:19:46]OFD Sender: No OFD packet to send [20:19:51]OFD Sender: No OFD packet to send [20:19:56]OFD Sender: No OFD packet to send [20:20:01]OFD Sender: No OFD packet to send [20:20:06]OFD Sender: No OFD packet to send [20:20:11]OFD Sender: No OFD packet to send [20:20:16]OFD Sender: No OFD packet to send [20:20:21]OFD Sender: No OFD packet to send [20:20:26]OFD Sender: No OFD packet to send [20:20:31]OFD Sender: No OFD packet to send [20:20:36]OFD Sender: No OFD packet to send [20:20:41]OFD Sender: No OFD packet to send [20:20:46]OFD Sender: No OFD packet to send [20:20:51]OFD Sender: No OFD packet to send [20:20:56]OFD Sender: No OFD packet to send [20:21:01]OFD Sender: No OFD packet to send [20:21:06]OFD Sender: No OFD packet to send [20:21:11]OFD Sender: No OFD packet to send [20:21:16]OFD Sender: No OFD packet to send [20:21:21]OFD Sender: No OFD packet to send [20:21:26]OFD Sender: No OFD packet to send [20:21:31]OFD Sender: No OFD packet to send [20:21:36]OFD Sender: No OFD packet to send [20:21:41]OFD Sender: No OFD packet to send [20:21:46]OFD Sender: No OFD packet to send [20:21:51]OFD Sender: No OFD packet to send [20:21:56]OFD Sender: No OFD packet to send [20:22:01]OFD Sender: No OFD packet to send [20:22:06]OFD Sender: No OFD packet to send [20:22:11]OFD Sender: No OFD packet to send [20:22:16]OFD Sender: No OFD packet to send [20:22:21]OFD Sender: No OFD packet to send [20:22:26]OFD Sender: No OFD packet to send [20:22:31]OFD Sender: No OFD packet to send [20:22:36]OFD Sender: No OFD packet to send [20:22:41]OFD Sender: No OFD packet to send [20:22:46]OFD Sender: No OFD packet to send [20:22:51]OFD Sender: No OFD packet to send [20:22:56]OFD Sender: No OFD packet to send [20:23:01]OFD Sender: No OFD packet to send [20:23:06]OFD Sender: No OFD packet to send [20:23:11]OFD Sender: No OFD packet to send [20:23:16]OFD Sender: No OFD packet to send [20:23:21]OFD Sender: No OFD packet to send [20:23:26]OFD Sender: No OFD packet to send [20:23:31]OFD Sender: No OFD packet to send [20:23:36]OFD Sender: No OFD packet to send [20:23:41]OFD Sender: No OFD packet to send [20:23:46]OFD Sender: No OFD packet to send [20:23:51]OFD Sender: No OFD packet to send [20:23:56]OFD Sender: No OFD packet to send [20:24:01]OFD Sender: No OFD packet to send [20:24:06]OFD Sender: No OFD packet to send [20:24:11]OFD Sender: No OFD packet to send [20:24:16]OFD Sender: No OFD packet to send [20:24:21]OFD Sender: No OFD packet to send [20:24:26]OFD Sender: No OFD packet to send [20:24:31]OFD Sender: No OFD packet to send [20:24:36]OFD Sender: No OFD packet to send [20:24:41]OFD Sender: No OFD packet to send [20:24:46]OFD Sender: No OFD packet to send [20:24:51]OFD Sender: No OFD packet to send [20:24:56]OFD Sender: No OFD packet to send [20:25:01]OFD Sender: No OFD packet to send [20:25:06]OFD Sender: No OFD packet to send [20:25:11]OFD Sender: No OFD packet to send [20:25:16]OFD Sender: No OFD packet to send [20:25:21]OFD Sender: No OFD packet to send [20:25:26]OFD Sender: No OFD packet to send [20:25:31]OFD Sender: No OFD packet to send [20:25:36]OFD Sender: No OFD packet to send [20:25:41]OFD Sender: No OFD packet to send [20:25:46]OFD Sender: No OFD packet to send [20:25:51]OFD Sender: No OFD packet to send [20:25:56]OFD Sender: No OFD packet to send [20:26:01]OFD Sender: No OFD packet to send [20:26:06]OFD Sender: No OFD packet to send [20:26:11]OFD Sender: No OFD packet to send [20:26:16]OFD Sender: No OFD packet to send [20:26:21]OFD Sender: No OFD packet to send [20:26:26]OFD Sender: No OFD packet to send [20:26:31]OFD Sender: No OFD packet to send [20:26:36]OFD Sender: No OFD packet to send [20:26:41]OFD Sender: No OFD packet to send [20:26:46]OFD Sender: No OFD packet to send [20:26:51]OFD Sender: No OFD packet to send [20:26:56]OFD Sender: No OFD packet to send [20:27:01]OFD Sender: No OFD packet to send [20:27:06]OFD Sender: No OFD packet to send [20:27:11]OFD Sender: No OFD packet to send [20:27:16]OFD Sender: No OFD packet to send [20:27:21]OFD Sender: No OFD packet to send [20:27:26]OFD Sender: No OFD packet to send [20:27:31]OFD Sender: No OFD packet to send [20:27:36]OFD Sender: No OFD packet to send [20:27:41]OFD Sender: No OFD packet to send [20:27:46]OFD Sender: No OFD packet to send [20:27:51]OFD Sender: No OFD packet to send [20:27:56]OFD Sender: No OFD packet to send [20:28:01]OFD Sender: No OFD packet to send [20:28:06]OFD Sender: No OFD packet to send [20:28:11]OFD Sender: No OFD packet to send [20:28:16]OFD Sender: No OFD packet to send [20:28:21]OFD Sender: No OFD packet to send [20:28:26]OFD Sender: No OFD packet to send [20:28:31]OFD Sender: No OFD packet to send [20:28:36]OFD Sender: No OFD packet to send [20:28:41]OFD Sender: No OFD packet to send [20:28:46]OFD Sender: No OFD packet to send [20:28:51]OFD Sender: No OFD packet to send [20:28:56]OFD Sender: No OFD packet to send [20:29:01]OFD Sender: No OFD packet to send [20:29:06]OFD Sender: No OFD packet to send [20:29:11]OFD Sender: No OFD packet to send [20:29:16]OFD Sender: No OFD packet to send [20:29:21]OFD Sender: No OFD packet to send [20:29:26]OFD Sender: No OFD packet to send [20:29:31]OFD Sender: No OFD packet to send [20:29:36]OFD Sender: No OFD packet to send [20:29:41]OFD Sender: No OFD packet to send [20:29:46]OFD Sender: No OFD packet to send [20:29:51]OFD Sender: No OFD packet to send [20:29:56]OFD Sender: No OFD packet to send [20:30:01]OFD Sender: No OFD packet to send [20:30:06]OFD Sender: No OFD packet to send [20:30:11]OFD Sender: No OFD packet to send [20:30:16]OFD Sender: No OFD packet to send [20:30:21]OFD Sender: No OFD packet to send [20:30:26]OFD Sender: No OFD packet to send [20:30:31]OFD Sender: No OFD packet to send [20:30:36]OFD Sender: No OFD packet to send [20:30:41]OFD Sender: No OFD packet to send [20:30:46]OFD Sender: No OFD packet to send [20:30:51]OFD Sender: No OFD packet to send [20:30:56]OFD Sender: No OFD packet to send [20:31:01]OFD Sender: No OFD packet to send [20:31:06]OFD Sender: No OFD packet to send [20:31:11]OFD Sender: No OFD packet to send [20:31:16]OFD Sender: No OFD packet to send [20:31:21]OFD Sender: No OFD packet to send [20:31:26]OFD Sender: No OFD packet to send [20:31:31]OFD Sender: No OFD packet to send [20:31:36]OFD Sender: No OFD packet to send [20:31:41]OFD Sender: No OFD packet to send [20:31:46]OFD Sender: No OFD packet to send [20:31:51]OFD Sender: No OFD packet to send [20:31:56]OFD Sender: No OFD packet to send [20:32:01]OFD Sender: No OFD packet to send [20:32:06]OFD Sender: No OFD packet to send [20:32:11]OFD Sender: No OFD packet to send [20:32:16]OFD Sender: No OFD packet to send [20:32:21]OFD Sender: No OFD packet to send [20:32:26]OFD Sender: No OFD packet to send [20:32:31]OFD Sender: No OFD packet to send [20:32:36]OFD Sender: No OFD packet to send [20:32:41]OFD Sender: No OFD packet to send [20:32:46]OFD Sender: No OFD packet to send [20:32:51]OFD Sender: No OFD packet to send [20:33:01]OFD Sender: No OFD packet to send [20:33:06]OFD Sender: No OFD packet to send [20:33:11]OFD Sender: No OFD packet to send [20:33:16]OFD Sender: No OFD packet to send [20:33:21]OFD Sender: No OFD packet to send [20:33:26]OFD Sender: No OFD packet to send [20:33:31]OFD Sender: No OFD packet to send [20:33:36]OFD Sender: No OFD packet to send [20:33:41]OFD Sender: No OFD packet to send [20:33:46]OFD Sender: No OFD packet to send [20:33:51]OFD Sender: No OFD packet to send [20:33:56]OFD Sender: No OFD packet to send [20:34:01]OFD Sender: No OFD packet to send [20:34:06]OFD Sender: No OFD packet to send [20:34:11]OFD Sender: No OFD packet to send [20:34:16]OFD Sender: No OFD packet to send [20:34:21]OFD Sender: No OFD packet to send [20:34:26]OFD Sender: No OFD packet to send [20:34:31]OFD Sender: No OFD packet to send [20:34:36]OFD Sender: No OFD packet to send [20:34:42]OFD Sender: No OFD packet to send [20:34:47]OFD Sender: No OFD packet to send [20:34:52]OFD Sender: No OFD packet to send [20:34:57]OFD Sender: No OFD packet to send [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:12]ConnectInit Can't connect to host [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36: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:47]ConnectInit Can't connect to host [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:37]OFD Sender: No OFD packet to send [20:40:42]OFD Sender: No OFD packet to send [20:40:47]OFD Sender: No OFD packet to send [20:40:52]OFD Sender: No OFD packet to send [20:40:57]OFD Sender: No OFD packet to send [20:41:02]OFD Sender: No OFD packet to send [20:41:07]OFD Sender: No OFD packet to send [20:41:12]OFD Sender: No OFD packet to send [20:41:17]OFD Sender: No OFD packet to send [20:41:22]OFD Sender: No OFD packet to send [20:41:27]OFD Sender: No OFD packet to send [20:41:32]OFD Sender: No OFD packet to send [20:41:37]OFD Sender: No OFD packet to send [20:41:42]OFD Sender: No OFD packet to send [20:41:47]OFD Sender: No OFD packet to send [20:41:52]OFD Sender: No OFD packet to send [20:41:57]OFD Sender: No OFD packet to send [20:42:02]OFD Sender: No OFD packet to send [20:42:07]OFD Sender: No OFD packet to send [20:42:12]OFD Sender: No OFD packet to send [20:42:17]OFD Sender: No OFD packet to send [20:42:22]OFD Sender: No OFD packet to send [20:42:27]OFD Sender: No OFD packet to send [20:42:32]OFD Sender: No OFD packet to send [20:42:37]OFD Sender: No OFD packet to send [20:42:42]OFD Sender: No OFD packet to send [20:42:47]OFD Sender: No OFD packet to send [20:42:52]OFD Sender: No OFD packet to send [20:42:57]OFD Sender: No OFD packet to send [20:43:02]OFD Sender: No OFD packet to send [20:43:07]OFD Sender: No OFD packet to send [20:43:12]OFD Sender: No OFD packet to send [20:43:17]OFD Sender: No OFD packet to send [20:43:22]OFD Sender: No OFD packet to send [20:43:27]OFD Sender: No OFD packet to send [20:43:32]OFD Sender: No OFD packet to send [20:43:37]OFD Sender: No OFD packet to send [20:43:42]OFD Sender: No OFD packet to send [20:43:47]OFD Sender: No OFD packet to send [20:43:52]OFD Sender: No OFD packet to send [20:43:57]OFD Sender: No OFD packet to send [20:44:02]OFD Sender: No OFD packet to send [20:44:07]OFD Sender: No OFD packet to send [20:44:12]OFD Sender: No OFD packet to send [20:44:17]OFD Sender: No OFD packet to send [20:44:22]OFD Sender: No OFD packet to send [20:44:27]OFD Sender: No OFD packet to send [20:44:32]OFD Sender: No OFD packet to send [20:44:37]OFD Sender: No OFD packet to send [20:44:42]OFD Sender: No OFD packet to send [20:44:47]OFD Sender: No OFD packet to send [20:44:52]OFD Sender: No OFD packet to send [20:44:57]OFD Sender: No OFD packet to send [20:45:02]OFD Sender: No OFD packet to send [20:45:07]OFD Sender: No OFD packet to send [20:45:12]OFD Sender: No OFD packet to send [20:45:17]OFD Sender: No OFD packet to send [20:45:22]OFD Sender: No OFD packet to send [20:45:27]OFD Sender: No OFD packet to send [20:45:32]OFD Sender: No OFD packet to send [20:45:37]OFD Sender: No OFD packet to send [20:45:42]OFD Sender: No OFD packet to send [20:45:47]OFD Sender: No OFD packet to send [20:45:52]OFD Sender: No OFD packet to send [20:45:57]OFD Sender: No OFD packet to send [20:46:02]OFD Sender: No OFD packet to send [20:46:07]OFD Sender: No OFD packet to send [20:46:12]OFD Sender: No OFD packet to send [20:46:17]OFD Sender: No OFD packet to send [20:46:22]OFD Sender: No OFD packet to send [20:46:27]OFD Sender: No OFD packet to send [20:46:32]OFD Sender: No OFD packet to send [20:46:37]OFD Sender: No OFD packet to send [20:46:42]OFD Sender: No OFD packet to send [20:46:47]OFD Sender: No OFD packet to send [20:46:52]OFD Sender: No OFD packet to send [20:46:57]OFD Sender: No OFD packet to send [20:47:02]OFD Sender: No OFD packet to send [20:47:07]OFD Sender: No OFD packet to send [20:47:12]OFD Sender: No OFD packet to send [20:47:17]OFD Sender: No OFD packet to send [20:47:22]OFD Sender: No OFD packet to send [20:47:27]OFD Sender: No OFD packet to send [20:47:32]OFD Sender: No OFD packet to send [20:47:37]OFD Sender: No OFD packet to send [20:47:42]OFD Sender: No OFD packet to send [20:47:47]OFD Sender: No OFD packet to send [20:47:52]OFD Sender: No OFD packet to send [20:47:57]OFD Sender: No OFD packet to send [20:48:02]OFD Sender: No OFD packet to send [20:48:07]OFD Sender: No OFD packet to send [20:48:12]OFD Sender: No OFD packet to send [20:48:17]OFD Sender: No OFD packet to send [20:48:22]OFD Sender: No OFD packet to send [20:48:27]OFD Sender: No OFD packet to send [20:48:32]OFD Sender: No OFD packet to send [20:48:37]OFD Sender: No OFD packet to send [20:48:42]OFD Sender: No OFD packet to send [20:48:47]OFD Sender: No OFD packet to send [20:48:52]OFD Sender: No OFD packet to send [20:48:57]OFD Sender: No OFD packet to send [20:49:02]OFD Sender: No OFD packet to send [20:49:07]OFD Sender: No OFD packet to send [20:49:12]OFD Sender: No OFD packet to send [20:49:17]OFD Sender: No OFD packet to send [20:49:22]OFD Sender: No OFD packet to send [20:49:27]OFD Sender: No OFD packet to send [20:49:32]OFD Sender: No OFD packet to send [20:49:37]OFD Sender: No OFD packet to send [20:49:42]OFD Sender: No OFD packet to send [20:49:47]OFD Sender: No OFD packet to send [20:49:52]OFD Sender: No OFD packet to send [20:49:57]OFD Sender: No OFD packet to send [20:50:02]OFD Sender: No OFD packet to send [20:50:07]OFD Sender: No OFD packet to send [20:50:12]OFD Sender: No OFD packet to send [20:50:17]OFD Sender: No OFD packet to send [20:50:22]OFD Sender: No OFD packet to send [20:50:27]OFD Sender: No OFD packet to send [20:50:32]OFD Sender: No OFD packet to send [20:50:37]OFD Sender: No OFD packet to send [20:50:42]OFD Sender: No OFD packet to send [20:50:47]OFD Sender: No OFD packet to send [20:50:52]OFD Sender: No OFD packet to send [20:50:57]OFD Sender: No OFD packet to send [20:51:02]OFD Sender: No OFD packet to send [20:51:07]OFD Sender: No OFD packet to send [20:51:12]OFD Sender: No OFD packet to send [20:51:17]OFD Sender: No OFD packet to send [20:51:22]OFD Sender: No OFD packet to send [20:51:27]OFD Sender: No OFD packet to send [20:51:32]OFD Sender: No OFD packet to send [20:51:37]OFD Sender: No OFD packet to send [20:51:42]OFD Sender: No OFD packet to send [20:51:47]OFD Sender: No OFD packet to send [20:51:52]OFD Sender: No OFD packet to send [20:51:57]OFD Sender: No OFD packet to send [20:52:02]OFD Sender: No OFD packet to send [20:52:07]OFD Sender: No OFD packet to send [20:52:12]OFD Sender: No OFD packet to send [20:52:17]OFD Sender: No OFD packet to send [20:52:22]OFD Sender: No OFD packet to send [20:52:27]OFD Sender: No OFD packet to send [20:52:32]OFD Sender: No OFD packet to send [20:52:37]OFD Sender: No OFD packet to send [20:52:42]OFD Sender: No OFD packet to send [20:52:47]OFD Sender: No OFD packet to send [20:52:52]OFD Sender: No OFD packet to send [20:52:57]OFD Sender: No OFD packet to send [20:53:02]OFD Sender: No OFD packet to send [20:53:07]OFD Sender: No OFD packet to send [20:53:12]OFD Sender: No OFD packet to send [20:53:17]OFD Sender: No OFD packet to send [20:53:22]OFD Sender: No OFD packet to send [20:53:27]OFD Sender: No OFD packet to send [20:53:32]OFD Sender: No OFD packet to send [20:53:37]OFD Sender: No OFD packet to send [20:53: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:57:28]OFD Sender: No OFD packet to send [20:57:33]OFD Sender: No OFD packet to send [20:57:38]OFD Sender: No OFD packet to send [20:57:43]OFD Sender: No OFD packet to send [20:57:48]OFD Sender: No OFD packet to send [20:57:53]OFD Sender: No OFD packet to send [20:57:58]OFD Sender: No OFD packet to send [20:58:03]OFD Sender: No OFD packet to send [20:58:08]OFD Sender: No OFD packet to send [20:58:13]OFD Sender: No OFD packet to send [20:58:18]OFD Sender: No OFD packet to send [20:58:23]OFD Sender: No OFD packet to send [20:58:28]OFD Sender: No OFD packet to send [20:58:33]OFD Sender: No OFD packet to send [20:58:38]OFD Sender: No OFD packet to send [20:58:43]OFD Sender: No OFD packet to send [20:58:48]OFD Sender: No OFD packet to send [20:58:53]OFD Sender: No OFD packet to send [20:58:58]OFD Sender: No OFD packet to send [20:59:03]OFD Sender: No OFD packet to send [20:59:08]OFD Sender: No OFD packet to send [20:59:13]OFD Sender: No OFD packet to send [20:59:18]OFD Sender: No OFD packet to send [20:59:23]OFD Sender: No OFD packet to send [20:59:28]OFD Sender: No OFD packet to send [20:59:33]OFD Sender: No OFD packet to send [20:59:38]OFD Sender: No OFD packet to send [20:59:43]OFD Sender: No OFD packet to send [20:59:48]OFD Sender: No OFD packet to send [20:59:53]OFD Sender: No OFD packet to send [20:59:58]OFD Sender: No OFD packet to send [21:00:03]OFD Sender: No OFD packet to send [21:00:08]OFD Sender: No OFD packet to send [21:00:13]OFD Sender: No OFD packet to send [21:00:18]OFD Sender: No OFD packet to send [21:00:23]OFD Sender: No OFD packet to send [21:00:28]OFD Sender: No OFD packet to send [21:00:33]OFD Sender: No OFD packet to send [21:00:38]OFD Sender: No OFD packet to send [21:00:43]OFD Sender: No OFD packet to send [21:00:48]OFD Sender: No OFD packet to send [21:00:53]OFD Sender: No OFD packet to send [21:00:58]OFD Sender: No OFD packet to send [21:01:03]OFD Sender: No OFD packet to send [21:01:08]OFD Sender: No OFD packet to send [21:01:13]OFD Sender: No OFD packet to send [21:01:18]OFD Sender: No OFD packet to send [21:01:23]OFD Sender: No OFD packet to send [21:01:28]OFD Sender: No OFD packet to send [21:01:33]OFD Sender: No OFD packet to send [21:01:38]OFD Sender: No OFD packet to send [21:01:43]OFD Sender: No OFD packet to send [21:01:48]OFD Sender: No OFD packet to send [21:01:53]OFD Sender: No OFD packet to send [21:01:58]OFD Sender: No OFD packet to send [21:02:03]OFD Sender: No OFD packet to send [21:02:08]OFD Sender: No OFD packet to send [21:02:13]OFD Sender: No OFD packet to send [21:02:18]OFD Sender: No OFD packet to send [21:02:23]OFD Sender: No OFD packet to send [21:02:28]OFD Sender: No OFD packet to send [21:02:33]OFD Sender: No OFD packet to send [21:02:38]OFD Sender: No OFD packet to send [21:02:43]OFD Sender: No OFD packet to send [21:02:48]OFD Sender: No OFD packet to send [21:02:53]OFD Sender: No OFD packet to send [21:02:58]OFD Sender: No OFD packet to send [21:03:03]OFD Sender: No OFD packet to send [21:03:08]OFD Sender: No OFD packet to send [21:03:13]OFD Sender: No OFD packet to send [21:03:18]OFD Sender: No OFD packet to send [21:03:23]OFD Sender: No OFD packet to send [21:03:28]OFD Sender: No OFD packet to send [21:03:33]OFD Sender: No OFD packet to send [21:03:38]OFD Sender: No OFD packet to send [21:03:43]OFD Sender: No OFD packet to send [21:03:48]OFD Sender: No OFD packet to send [21:03:53]OFD Sender: No OFD packet to send [21:03:58]OFD Sender: No OFD packet to send [21:04:03]OFD Sender: No OFD packet to send [21:04:08]OFD Sender: No OFD packet to send [21:04:13]OFD Sender: No OFD packet to send [21:04:18]OFD Sender: No OFD packet to send [21:04:23]OFD Sender: No OFD packet to send [21:04:28]OFD Sender: No OFD packet to send [21:04:33]OFD Sender: No OFD packet to send [21:04:38]OFD Sender: No OFD packet to send [21:04:43]OFD Sender: No OFD packet to send [21:04:48]OFD Sender: No OFD packet to send [21:04:53]OFD Sender: No OFD packet to send [21:04:58]OFD Sender: No OFD packet to send [21:05:03]OFD Sender: No OFD packet to send [21:05:08]OFD Sender: No OFD packet to send [21:05:13]OFD Sender: No OFD packet to send [21:05:18]OFD Sender: No OFD packet to send [21:05:23]OFD Sender: No OFD packet to send [21:05:28]OFD Sender: No OFD packet to send [21:05:33]OFD Sender: No OFD packet to send [21:05:38]OFD Sender: No OFD packet to send [21:05:43]OFD Sender: No OFD packet to send [21:05:48]OFD Sender: No OFD packet to send [21:05:53]OFD Sender: No OFD packet to send [21:05:58]OFD Sender: No OFD packet to send [21:06:03]OFD Sender: No OFD packet to send [21:06:08]OFD Sender: No OFD packet to send [21:06:13]OFD Sender: No OFD packet to send [21:06:18]OFD Sender: No OFD packet to send [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:33]OFD Sender: No OFD packet to send [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]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:19]OFD Sender: No OFD packet to send [21:15:24]OFD Sender: No OFD packet to send [21:15:29]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [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:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:14]OFD Sender: No OFD packet to send [21:23:19]OFD Sender: No OFD packet to send [21:23:24]OFD Sender: No OFD packet to send [21:23:29]OFD Sender: No OFD packet to send [21:23:34]OFD Sender: No OFD packet to send [21:23:39]OFD Sender: No OFD packet to send [21:23:44]OFD Sender: No OFD packet to send [21:23:49]OFD Sender: No OFD packet to send [21:23:54]OFD Sender: No OFD packet to send [21:23:59]OFD Sender: No OFD packet to send [21:24:04]OFD Sender: No OFD packet to send [21:24:09]OFD Sender: No OFD packet to send [21:24:14]OFD Sender: No OFD packet to send [21:24:19]OFD Sender: No OFD packet to send [21:24:24]OFD Sender: No OFD packet to send [21:24:29]OFD Sender: No OFD packet to send [21:24:34]OFD Sender: No OFD packet to send [21:24:39]OFD Sender: No OFD packet to send [21:24:44]OFD Sender: No OFD packet to send [21:24:49]OFD Sender: No OFD packet to send [21:24:54]OFD Sender: No OFD packet to send [21:24:59]OFD Sender: No OFD packet to send [21:25:04]OFD Sender: No OFD packet to send [21:25:09]OFD Sender: No OFD packet to send [21:25:14]OFD Sender: No OFD packet to send [21:25:19]OFD Sender: No OFD packet to send [21:25:24]OFD Sender: No OFD packet to send [21:25:29]OFD Sender: No OFD packet to send [21:25:34]OFD Sender: No OFD packet to send [21:25:39]OFD Sender: No OFD packet to send [21:25:44]OFD Sender: No OFD packet to send [21:25:49]OFD Sender: No OFD packet to send [21:25:54]OFD Sender: No OFD packet to send [21:25:59]OFD Sender: No OFD packet to send [21:26:04]OFD Sender: No OFD packet to send [21:26:09]OFD Sender: No OFD packet to send [21:26:14]OFD Sender: No OFD packet to send [21:26:19]OFD Sender: No OFD packet to send [21:26:24]OFD Sender: No OFD packet to send [21:26:29]OFD Sender: No OFD packet to send [21:26:34]OFD Sender: No OFD packet to send [21:26:39]OFD Sender: No OFD packet to send [21:26:44]OFD Sender: No OFD packet to send [21:26:49]OFD Sender: No OFD packet to send [21:26:54]OFD Sender: No OFD packet to send [21:26:59]OFD Sender: No OFD packet to send [21:27:04]OFD Sender: No OFD packet to send [21:27:09]OFD Sender: No OFD packet to send [21:27:14]OFD Sender: No OFD packet to send [21:27:19]OFD Sender: No OFD packet to send [21:27:24]OFD Sender: No OFD packet to send [21:27:29]OFD Sender: No OFD packet to send [21:27:34]OFD Sender: No OFD packet to send [21:27:39]OFD Sender: No OFD packet to send [21:27:44]OFD Sender: No OFD packet to send [21:27:49]OFD Sender: No OFD packet to send [21:27:54]OFD Sender: No OFD packet to send [21:27:59]OFD Sender: No OFD packet to send [21:28:04]OFD Sender: No OFD packet to send [21:28:09]OFD Sender: No OFD packet to send [21:28:14]OFD Sender: No OFD packet to send [21:28:19]OFD Sender: No OFD packet to send [21:28:24]OFD Sender: No OFD packet to send [21:28:29]OFD Sender: No OFD packet to send [21:28:34]OFD Sender: No OFD packet to send [21:28:39]OFD Sender: No OFD packet to send [21:28:44]OFD Sender: No OFD packet to send [21:28:49]OFD Sender: No OFD packet to send [21:28:54]OFD Sender: No OFD packet to send [21:28:59]OFD Sender: No OFD packet to send [21:29:04]OFD Sender: No OFD packet to send [21:29:09]OFD Sender: No OFD packet to send [21:29:14]OFD Sender: No OFD packet to send [21:29:19]OFD Sender: No OFD packet to send [21:29:24]OFD Sender: No OFD packet to send [21:29:29]OFD Sender: No OFD packet to send [21:29:34]OFD Sender: No OFD packet to send [21:29:39]OFD Sender: No OFD packet to send [21:29:44]OFD Sender: No OFD packet to send [21:29:49]OFD Sender: No OFD packet to send [21:29:54]OFD Sender: No OFD packet to send [21:29:59]OFD Sender: No OFD packet to send [21:30:04]OFD Sender: No OFD packet to send [21:30:09]OFD Sender: No OFD packet to send [21:30:14]OFD Sender: No OFD packet to send [21:30:19]OFD Sender: No OFD packet to send [21:30:24]OFD Sender: No OFD packet to send [21:30:29]OFD Sender: No OFD packet to send [21:30:34]OFD Sender: No OFD packet to send [21:30:39]OFD Sender: No OFD packet to send [21:30:44]OFD Sender: No OFD packet to send [21:30:49]OFD Sender: No OFD packet to send [21:30:54]OFD Sender: No OFD packet to send [21:30:59]OFD Sender: No OFD packet to send [21:31:04]OFD Sender: No OFD packet to send [21:31:09]OFD Sender: No OFD packet to send [21:31:14]OFD Sender: No OFD packet to send [21:31:19]OFD Sender: No OFD packet to send [21:31: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:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:10]OFD Sender: No OFD packet to send [21:36:15]OFD Sender: No OFD packet to send [21:36:20]OFD Sender: No OFD packet to send [21:36:25]OFD Sender: No OFD packet to send [21:36:30]OFD Sender: No OFD packet to send [21:36:35]OFD Sender: No OFD packet to send [21:36:40]OFD Sender: No OFD packet to send [21:36:45]OFD Sender: No OFD packet to send [21:36:50]OFD Sender: No OFD packet to send [21:36:55]OFD Sender: No OFD packet to send [21:37:00]OFD Sender: No OFD packet to send [21:37:05]OFD Sender: No OFD packet to send [21:37:10]OFD Sender: No OFD packet to send [21:37:15]OFD Sender: No OFD packet to send [21:37:20]OFD Sender: No OFD packet to send [21:37:25]OFD Sender: No OFD packet to send [21:37:30]OFD Sender: No OFD packet to send [21:37:35]OFD Sender: No OFD packet to send [21:37:40]OFD Sender: No OFD packet to send [21:37:45]OFD Sender: No OFD packet to send [21:37:50]OFD Sender: No OFD packet to send [21:37:55]OFD Sender: No OFD packet to send [21:38:00]OFD Sender: No OFD packet to send [21:38:05]OFD Sender: No OFD packet to send [21:38:10]OFD Sender: No OFD packet to send [21:38:15]OFD Sender: No OFD packet to send [21:38:20]OFD Sender: No OFD packet to send [21:38:25]OFD Sender: No OFD packet to send [21:38:30]OFD Sender: No OFD packet to send [21:38:35]OFD Sender: No OFD packet to send [21:38:40]OFD Sender: No OFD packet to send [21:38:45]OFD Sender: No OFD packet to send [21:38:50]OFD Sender: No OFD packet to send [21:38:55]OFD Sender: No OFD packet to send [21:39:00]OFD Sender: No OFD packet to send [21:39:05]OFD Sender: No OFD packet to send [21:39:10]OFD Sender: No OFD packet to send [21:39:15]OFD Sender: No OFD packet to send [21:39:20]OFD Sender: No OFD packet to send [21:39:25]OFD Sender: No OFD packet to send [21:39:30]OFD Sender: No OFD packet to send [21:39:35]OFD Sender: No OFD packet to send [21:39:40]OFD Sender: No OFD packet to send [21:39:45]OFD Sender: No OFD packet to send [21:39:50]OFD Sender: No OFD packet to send [21:39:55]OFD Sender: No OFD packet to send [21:40:00]OFD Sender: No OFD packet to send [21:40:05]OFD Sender: No OFD packet to send [21:40:10]OFD Sender: No OFD packet to send [21:40:15]OFD Sender: No OFD packet to send [21:40:20]OFD Sender: No OFD packet to send [21:40:25]OFD Sender: No OFD packet to send [21:40:30]OFD Sender: No OFD packet to send [21:40:35]OFD Sender: No OFD packet to send [21:40:40]OFD Sender: No OFD packet to send [21:40:45]OFD Sender: No OFD packet to send [21:40:50]OFD Sender: No OFD packet to send [21:40:55]OFD Sender: No OFD packet to send [21:41:00]OFD Sender: No OFD packet to send [21:41:05]OFD Sender: No OFD packet to send [21:41:10]OFD Sender: No OFD packet to send [21:41:15]OFD Sender: No OFD packet to send [21:41:20]OFD Sender: No OFD packet to send [21:41:25]OFD Sender: No OFD packet to send [21:41:30]OFD Sender: No OFD packet to send [21:41:35]OFD Sender: No OFD packet to send [21:41:40]OFD Sender: No OFD packet to send [21:41:45]OFD Sender: No OFD packet to send [21:41:50]OFD Sender: No OFD packet to send [21:41:55]OFD Sender: No OFD packet to send [21:42:00]OFD Sender: No OFD packet to send [21:42:05]OFD Sender: No OFD packet to send [21:42:10]OFD Sender: No OFD packet to send [21:42:15]OFD Sender: No OFD packet to send [21:42:20]OFD Sender: No OFD packet to send [21:42:23]accept exits with 7 [21:42:23]New connection [21:42:23]New thread 3067207012 created [21:42:23]Thread 3067063652 joined [21:42:23]Waiting for new connection... [21:42:23] Sock 7.Parse request [21:42:23]Sock 7.Check first char [21:42:23]Sock 7.First char is OK [21:42:23]request: POST /json_proto HTTP/1.0 [21:42:23]Method: POST [21:42:23]URL: /json_proto [21:42:23]Method is POST - this is cgi request [21:42:23]url: /json_proto [21:42:23]query_string will be loaded in cgi processing [21:42:23]execute_cgi json_proto POST (null) [21:42:23]execute_cgi path=json_proto method=POST [21:42:23]POST find Content-Length [21:42:23]Host: 172.17.40.196:8080 [21:42:23]Content-Length: 984 [21:42:23]Content-Type: application/json [21:42:23] [21:42:23]POST finish read [21:42:23]Found Content-Length = 984 [21:42:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35211", "tax_sys" : 0, "items" : [ { "code": "4700001060480", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:23]execute_script... [21:42: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)35211", "tax_sys" : 0, "items" : [ { "code": "4700001060480", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0428\u043E\u043A\u043E\u043B\u0430\u0434 \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600452021095", "name": "\u0411\u0435\u043B\u044B\u0439 \u0448\u043E\u043A\u043E\u043B\u0430\u0434 OZera Caramel 90\u0433", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [21:42:23]POST & json_proto [21:42:23]process_json_proto [21:42:23]json parsed OK: [21:42:23]protocol is kg_v1.0 [21:42:23]action value=close_receipt [21:42:23]process_action close_receipt [21:42:23]cmd_close_receipt [21:42:23]MH_GetDate [21:42:23]Write to MH i2c: F0 00 00 AB 03 9D [21:42:23]Write i2c OK [21:42:23]MH_I2C_Read... [21:42:23]Read from MH i2c: F0 [21:42:23]MH_I2C_Read... [21:42:23]Read from MH i2c: F0 09 00 [21:42:23]MH_I2C_Read... [21:42:23]Read from MH i2c: F0 09 00 AB 03 00 C0 56 21 67 5B 68 A1 66 0E [21:42:23]GetLastDocTimeStamp 1730231451 [21:42:23]current date 1730238144 [21:42:23]FM_GetShiftState [21:42:23]SAM_PROTO_GetShiftState [21:42:23]wFMCommunicate request_size=4 [21:42:23]MH_SAM_APDU [21:42:23]CAPDU: 80 13 01 00 [21:42:23]Write to MH i2c: E2 08 00 AC 03 80 13 01 00 00 00 00 00 2C [21:42:23]Write i2c OK [21:42:23]MH_I2C_Read... [21:42:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:23]Read from MH i2c: E2 [21:42:23]MH_I2C_Read... [21:42:23]Read from MH i2c: E2 0E 00 [21:42:23]MH_I2C_Read... [21:42:23]Read from MH i2c: E2 0E 00 AC 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 A2 [21:42:23]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [21:42:23]wFMCommunicate OK [21:42:23]SAM_PROTO_GetShiftState done [21:42:23]FM_GetShiftState done [21:42:23]opened in 1730160317 [21:42:23]opened+sec_in_day 1730246717 [21:42:23]quantity*price = 43000 [21:42:23]sum+1 = 43001 [21:42:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600452021095 Белый шоколад OZera Caramel 90г 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.95 НДС 12% : 59.46 Наличными: 560.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 73 29.10.2024 21:42 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37911 ФПД: 204948561336184 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T214224&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37911&fm=204948561336184&tin=02508201610067®Number=0000000000091684&sum=56000 0 [21:42:24]StoreToDocumentArchive [21:42:24]shift 552 fd 37911 [21:42:24]save to /storage/0552/doc_00037911 [21:42:24]save last doc name /storage/0552/doc_00037911 to /storage/kkm_last_doc_name [21:42:24]save OK [21:42:24]Clear old archive folders... [21:42:24]ProcessDocumentItem done err = 0, tmpTLVsize=415 [21:42:24]tlvbuf is 01854C70 [21:42:24]SAM_PROTO_ClearQueue [21:42:24]wFMCommunicate request_size=4 [21:42:24]MH_SAM_APDU [21:42:24]CAPDU: 80 09 00 00 [21:42:24]Write to MH i2c: E2 08 00 B9 03 80 09 00 00 00 00 00 00 2E [21:42:24]Write i2c OK [21:42:24]MH_I2C_Read... [21:42:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:42:24]Read from MH i2c: E2 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 B9 03 00 90 00 30 [21:42:24]RAPDU: 90 00 [21:42:24]wFMCommunicate OK [21:42:24]SAM_PROTO_ClearQueue done [21:42:24]KKMCreateOFDPacket [21:42:24]OFDProtocolAddRootSTLVToBuf [21:42:24]FM_MakeSignedData [21:42:24]FM_MakeSignedData [21:42:24]SAM_PROTO_SignData [21:42:24]wFMCommunicate request_size=4 [21:42:24]MH_SAM_APDU [21:42:24]CAPDU: 80 0D 01 02 [21:42:24]Write to MH i2c: E2 08 00 BA 03 80 0D 01 02 00 00 00 00 36 [21:42:24]Write i2c OK [21:42:24]MH_I2C_Read... [21:42:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:42:24]Read from MH i2c: E2 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 BA 03 00 90 00 31 [21:42:24]RAPDU: 90 00 [21:42:24]wFMCommunicate OK [21:42:24]wFMCommunicate request_size=255 [21:42:24]MH_SAM_APDU [21:42:24]CAPDU: 80 0D 02 02 FA 03 00 9F 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [21:42:24]Write to MH i2c: E2 02 01 BB 03 80 0D 02 02 FA 00 03 00 9F 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 A2 [21:42:24]Write i2c OK [21:42:24]MH_I2C_Read... [21:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:24]Read from MH i2c: E2 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 BB 03 00 90 00 32 [21:42:24]RAPDU: 90 00 [21:42:24]wFMCommunicate OK [21:42:24]wFMCommunicate request_size=174 [21:42:24]MH_SAM_APDU [21:42:24]CAPDU: 80 0D 02 02 A9 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C0 56 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 17 94 00 00 35 04 06 00 BA 66 4E 32 17 78 [21:42:24]Write to MH i2c: E2 B1 00 BC 03 80 0D 02 02 A9 00 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C0 56 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 17 94 00 00 35 04 06 00 BA 66 4E 32 17 78 00 00 33 [21:42:24]Write i2c OK [21:42:24]MH_I2C_Read... [21:42:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:42:24]Read from MH i2c: E2 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 [21:42:24]MH_I2C_Read... [21:42:24]Read from MH i2c: E2 03 00 BC 03 00 90 00 33 [21:42:24]RAPDU: 90 00 [21:42:24]wFMCommunicate OK [21:42:24]wFMCommunicate request_size=4 [21:42:24]MH_SAM_APDU [21:42:24]CAPDU: 80 0D 03 02 [21:42:24]Write to MH i2c: E2 08 00 BD 03 80 0D 03 02 00 00 00 00 3B [21:42:24]Write i2c OK [21:42:24]MH_I2C_Read... [21:42:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:42:25]Read from MH i2c: E2 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: E2 0B 00 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: E2 0B 00 BD 03 00 BE 35 61 E0 64 10 36 85 90 00 9F [21:42:25]RAPDU: BE 35 61 E0 64 10 36 85 90 00 [21:42:25]wFMCommunicate OK [21:42:25]SAM_PROTO_SignData done [21:42:25]FM_MakeSignedData done [21:42:25]CreateOFDProtocolMessage [21:42:25]wFMCommunicate request_size=4 [21:42:25]MH_SAM_APDU [21:42:25]CAPDU: 80 11 00 00 [21:42:25]Write to MH i2c: E2 08 00 BE 03 80 11 00 00 00 00 00 00 3B [21:42:25]Write i2c OK [21:42:25]MH_I2C_Read... [21:42:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:25]Read from MH i2c: E2 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: E2 17 00 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: E2 17 00 BE 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8B [21:42:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:42:25]wFMCommunicate OK [21:42:25]CreateOFDProtocolMessage done [21:42:25]OFDSenderStorePacket 37911 [21:42:25]StoreOFDPacket docnum=37911 [21:42:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B3 01 00 00 C0 AB AB 01 D0 A5 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C0 56 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 17 94 00 00 35 04 06 00 BA 66 4E 32 17 78 BE 35 61 E0 64 10 36 85 [21:42:25]CheckFolder [21:42:25]dirname=/storage/ofd_packets [21:42:25]CheckFolder done [21:42:25]ProducePacketName [21:42:25]name=ofd_packets/00037911 [21:42:25]NVStorageSaveData ofd_packets/00037911 [21:42:25]File name is /storage/ofd_packets/00037911 [21:42:25]Write 465 bytes [21:42:25]NVStorageSaveData done [21:42:25]OFDSenderStorePacket done [21:42:25]KKMCreateOFDPacket done [21:42:25]NVStorageSaveData kkm_last_timestamp [21:42:25]File name is /storage/kkm_last_timestamp [21:42:25]Write 4 bytes [21:42:25]NVStorageSaveData done [21:42:25]ExternCall_PrintAddStr [21:42:25]wPrintStart [21:42:25]Write to MH i2c: 01 00 00 BF 03 C2 [21:42:25]Write i2c OK [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: 01 [21:42:25]MH_I2C_Read... [21:42:25]OFD Sender: Processing packet 37911 [packets to send 42, broken 41] [21:42:25]ProducePacketName [21:42:25]name=ofd_packets/00037911 [21:42:25]OFD Sender: To server: pG, [21:42:25]CommunicateWithHost lk.salyk.kg:30040 [21:42:25]ConnectInit lk.salyk.kg [21:42:25]Read from MH i2c: 01 07 00 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: 01 07 00 BF 03 00 00 00 00 00 FF 0F D7 [21:42:25]RasterBufferAndPrint [21:42:25]line Счет N : (3)35211 [21:42:25]line ИНН: 02508201610067 [21:42:25]line Контрольно-Кассовый Чек [21:42:25]line ПРОДАЖА [21:42:25]line Товар: 4700001060480 [21:42:25]line Настойка Шоколад на коньяке 0,5л [21:42:25]line 1.000 * 430.00 [21:42:25]line = 430.00 [21:42:25]line НДС 12% НСП 1% [21:42:25]line > о реализуемом товаре [21:42:25]line Товар: 4600452021095 [21:42:25]line Белый шоколад OZera Caramel 90г [21:42:25]line 1.000 * 130.00 [21:42:25]line = 130.00 [21:42:25]line НДС 12% НСП 1% [21:42:25]line > о реализуемом товаре [21:42:25]line ИТОГО: 560.00 [21:42:25]line НСП 1% : 4.95 [21:42:25]line НДС 12% : 59.46 [21:42:25]line Наличными: 560.00 [21:42:25]line Безнал.: 0.00 [21:42:25]line Место: АЗС № 126 "Партнер Нефть" [21:42:25]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [21:42:25]line СНО: Общий режим [21:42:25]line Чек 73 29.10.2024 21:42 [21:42:25]line Смена: 552 ФФД: 1.0 [21:42:25]line ЗНМ: 0300000092 [21:42:25]line РНМ: 0000000000091684 [21:42:25]line Версия ККМ: 001 [21:42:25]line ФМ: 0000000000871841 [21:42:25]line ФД: 37911 [21:42:25]line ФПД: 204948561336184 [21:42:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T214224&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37911&fm=204948561336184&tin=02508201610067®Number=0000000000091684&sum=56000 [21:42:25]line 0 [21:42:25]written 0, free lines is 4095 [21:42:25]Write to MH i2c: 01 00 00 EF 03 F2 [21:42:25]Write i2c OK [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: 01 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: 01 07 00 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: 01 07 00 EF 03 00 00 00 00 00 2A 0C 2F [21:42:25]RasterBufferAndPrint [21:42:25]line [21:42:25]line [21:42:25]line [21:42:25]line [21:42:25]line [21:42:25]written 0, free lines is 3117 [21:42:25]MH_Cut [21:42:25]Write to MH i2c: D1 01 00 F6 03 01 CB [21:42:25]Write i2c OK [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: D1 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: D1 01 00 [21:42:25]MH_I2C_Read... [21:42:25]Read from MH i2c: D1 01 00 F6 03 00 CA [21:42:25]Write to MH i2c: 01 00 00 F7 03 FA [21:42:25]Write i2c OK [21:42:25]MH_I2C_Read... [21:42:26]*** Cut start [21:42:26]*** Partial cut [21:42:26]*** CUTSNS_PIN = 1 [21:42:26]*** CUTSNS_PIN = 0 [21:42:27]*** Brake cut motor [21:42:27]Read from MH i2c: 01 [21:42:27]*** Stop cut motor [21:42:27]*** Cut end [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: 01 07 00 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: 01 07 00 F7 03 00 00 00 00 00 FF 0F 0F [21:42:27]process_action close_receipt done [21:42:27]requested_data is exist [21:42:27]produce_requested_data [21:42:27]requested_item fm.sn is exist - process it [21:42:27]wFMCommunicate request_size=4 [21:42:27]MH_SAM_APDU [21:42:27]CAPDU: 80 11 00 00 [21:42:27]Write to MH i2c: E2 08 00 F8 03 80 11 00 00 00 00 00 00 75 [21:42:27]Write i2c OK [21:42:27]MH_I2C_Read... [21:42:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:42:27]Read from MH i2c: E2 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 17 00 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 17 00 F8 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C5 [21:42:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [21:42:27]wFMCommunicate OK [21:42:27]requested_item fd.num is exist - process it [21:42:27]SAM_PROTO_GetFieldsCounters [21:42:27]wFMCommunicate request_size=4 [21:42:27]MH_SAM_APDU [21:42:27]CAPDU: 80 13 00 00 [21:42:27]Write to MH i2c: E2 08 00 F9 03 80 13 00 00 00 00 00 00 78 [21:42:27]Write i2c OK [21:42:27]MH_I2C_Read... [21:42:27]Connected sock=11 [21:42:27]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B3 01 00 00 C0 AB AB 01 D0 A5 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 38 30 06 04 39 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 70 00 8A 04 0D 00 34 36 30 30 34 35 32 30 32 31 30 39 35 06 04 2C 00 D0 91 D0 B5 D0 BB D1 8B D0 B9 20 D1 88 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 4F 5A 65 72 61 20 43 61 72 61 6D 65 6C 20 39 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3A 17 00 00 00 00 07 04 06 00 C0 DA 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 C0 56 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 17 94 00 00 35 04 06 00 BA 66 4E 32 17 78 BE 35 61 E0 64 10 36 85 [21:42:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:42:27]Read from MH i2c: E2 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 62 00 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 62 00 F9 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 17 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 49 [21:42:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 17 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 49 00 00 00 5E 04 04 00 49 00 00 00 57 04 04 00 4A 00 00 00 19 04 04 00 00 00 00 00 90 00 [21:42:27]wFMCommunicate OK [21:42:27]SAM_PROTO_GetFieldsCounters done [21:42:27]requested_item shift.num is exist - process it [21:42:27]requested_item shift.opened is exist - process it [21:42:27]req_shift_opened [21:42:27]FM_GetShiftState [21:42:27]SAM_PROTO_GetShiftState [21:42:27]wFMCommunicate request_size=4 [21:42:27]MH_SAM_APDU [21:42:27]CAPDU: 80 13 01 00 [21:42:27]Write to MH i2c: E2 08 00 FA 03 80 13 01 00 00 00 00 00 7A [21:42:27]Write i2c OK [21:42:27]MH_I2C_Read... [21:42:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:42:27]Read from MH i2c: E2 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 0E 00 [21:42:27]MH_I2C_Read... [21:42:27]Read from MH i2c: E2 0E 00 FA 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F0 [21:42:27]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [21:42:27]wFMCommunicate OK [21:42:27]SAM_PROTO_GetShiftState done [21:42:27]FM_GetShiftState done [21:42:27]req_shift_opened done [21:42:27]requested_item shift.open_date is exist - process it [21:42:27]req_shift_open_date [21:42:27]req_shift_open_date done [21:42:27]produce_requested_data done [21:42:27]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37911,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [21:42:27]process_action_free close_receipt [21:42:27]json_value_free [21:42:27]json_value_free done [21:42:27]process_json_proto returns [21:42:27]Send response to host [21:42:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37911,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [21:42:27]free response buf [21:42:27]execute_script done [21:42:27]execute_script returns [21:42:27]free content buf [21:42:27]Sock 7.Close socket [21:42:27]Sock 7.Thread stoped [21:42:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 F1 40 47 00 D0 5D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 17 94 00 00 F4 03 04 00 B3 01 21 67 B6 04 01 00 00 33 0A B3 30 10 DC 91 FF [21:42:28]CommunicateWithHost err = 0 [21:42:28]CheckOFDResponse [21:42:28]1017 (14) - 77093643461234 [21:42:28]1041 (16) - 0000000000871841 [21:42:28]1040 (4) - 37911 [21:42:28]1012 (4) - 29.10.2024 15:39 [21:42:28]1206 (1) - 0 [21:42:28]OFD Sender: Remove packet 37911 [21:42:28]ProducePacketName [21:42:28]name=ofd_packets/00037911 [21:42:28]NVStorageDeleteData [21:42:28]OFD Sender: No OFD packet to send [21:42:33]OFD Sender: No OFD packet to send [21:42:38]OFD Sender: No OFD packet to send [21:42:43]OFD Sender: No OFD packet to send [21:42:48]OFD Sender: No OFD packet to send [21:42:53]OFD Sender: No OFD packet to send [21:42:58]OFD Sender: No OFD packet to send [21:43:03]OFD Sender: No OFD packet to send [21:43:08]OFD Sender: No OFD packet to send [21:43:13]OFD Sender: No OFD packet to send [21:43:18]OFD Sender: No OFD packet to send [21:43:23]OFD Sender: No OFD packet to send [21:43:28]OFD Sender: No OFD packet to send [21:43:33]OFD Sender: No OFD packet to send [21:43:38]OFD Sender: No OFD packet to send [21:43:43]OFD Sender: No OFD packet to send [21:43:48]OFD Sender: No OFD packet to send [21:43:53]OFD Sender: No OFD packet to send [21:43:58]OFD Sender: No OFD packet to send [21:44:03]OFD Sender: No OFD packet to send [21:44:08]OFD Sender: No OFD packet to send [21:44:13]OFD Sender: No OFD packet to send [21:44:18]OFD Sender: No OFD packet to send [21:44:23]OFD Sender: No OFD packet to send [21:44:28]OFD Sender: No OFD packet to send [21:44:33]OFD Sender: No OFD packet to send [21:44:38]OFD Sender: No OFD packet to send [21:44:43]OFD Sender: No OFD packet to send [21:44:48]OFD Sender: No OFD packet to send [21:44:53]OFD Sender: No OFD packet to send [21:44:58]OFD Sender: No OFD packet to send [21:45:03]OFD Sender: No OFD packet to send [21:45:08]OFD Sender: No OFD packet to send [21:45:13]OFD Sender: No OFD packet to send [21:45:18]OFD Sender: No OFD packet to send [21:45:23]OFD Sender: No OFD packet to send [21:45:28]OFD Sender: No OFD packet to send [21:45:33]OFD Sender: No OFD packet to send [21:45:38]OFD Sender: No OFD packet to send [21:45:43]OFD Sender: No OFD packet to send [21:45:48]OFD Sender: No OFD packet to send [21:45:53]OFD Sender: No OFD packet to send [21:45:58]OFD Sender: No OFD packet to send [21:46:03]OFD Sender: No OFD packet to send [21:46:08]OFD Sender: No OFD packet to send [21:46:13]OFD Sender: No OFD packet to send [21:46:18]OFD Sender: No OFD packet to send [21:46:23]OFD Sender: No OFD packet to send [21:46:28]OFD Sender: No OFD packet to send [21:46:33]OFD Sender: No OFD packet to send [21:46:38]OFD Sender: No OFD packet to send [21:46:43]OFD Sender: No OFD packet to send [21:46:48]OFD Sender: No OFD packet to send [21:46:53]OFD Sender: No OFD packet to send [21:46:58]OFD Sender: No OFD packet to send [21:47:03]OFD Sender: No OFD packet to send [21:47:08]OFD Sender: No OFD packet to send [21:47:13]OFD Sender: No OFD packet to send [21:47:18]OFD Sender: No OFD packet to send [21:47:23]OFD Sender: No OFD packet to send [21:47:28]OFD Sender: No OFD packet to send [21:47: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:44]OFD Sender: No OFD packet to send [21:53:49]OFD Sender: No OFD packet to send [21:53:54]OFD Sender: No OFD packet to send [21:53:59]OFD Sender: No OFD packet to send [21:54:04]OFD Sender: No OFD packet to send [21:54:09]OFD Sender: No OFD packet to send [21:54:14]OFD Sender: No OFD packet to send [21:54:19]OFD Sender: No OFD packet to send [21:54:24]OFD Sender: No OFD packet to send [21:54:29]OFD Sender: No OFD packet to send [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]OFD Sender: No OFD packet to send [21:54:59]OFD Sender: No OFD packet to send [21:55:04]OFD Sender: No OFD packet to send [21:55:09]OFD Sender: No OFD packet to send [21:55:14]OFD Sender: No OFD packet to send [21:55:19]OFD Sender: No OFD packet to send [21:55:24]OFD Sender: No OFD packet to send [21:55:29]OFD Sender: No OFD packet to send [21:55:34]OFD Sender: No OFD packet to send [21:55:39]OFD Sender: No OFD packet to send [21:55:44]OFD Sender: No OFD packet to send [21:55:49]OFD Sender: No OFD packet to send [21:55:54]OFD Sender: No OFD packet to send [21:55:59]OFD Sender: No OFD packet to send [21:56:04]OFD Sender: No OFD packet to send [21:56:09]OFD Sender: No OFD packet to send [21:56:14]OFD Sender: No OFD packet to send [21:56:19]OFD Sender: No OFD packet to send [21:56:24]OFD Sender: No OFD packet to send [21:56:29]OFD Sender: No OFD packet to send [21:56:34]OFD Sender: No OFD packet to send [21:56:39]OFD Sender: No OFD packet to send [21:56:44]OFD Sender: No OFD packet to send [21:56:49]OFD Sender: No OFD packet to send [21:56:54]OFD Sender: No OFD packet to send [21:56:59]OFD Sender: No OFD packet to send [21:57:04]OFD Sender: No OFD packet to send [21:57:09]OFD Sender: No OFD packet to send [21:57:14]OFD Sender: No OFD packet to send [21:57:19]OFD Sender: No OFD packet to send [21:57:24]OFD Sender: No OFD packet to send [21:57:29]OFD Sender: No OFD packet to send [21:57:34]OFD Sender: No OFD packet to send [21:57:39]OFD Sender: No OFD packet to send [21:57:44]OFD Sender: No OFD packet to send [21:57:49]OFD Sender: No OFD packet to send [21:57:54]OFD Sender: No OFD packet to send [21:57:59]OFD Sender: No OFD packet to send [21:58:04]OFD Sender: No OFD packet to send [21:58:09]OFD Sender: No OFD packet to send [21:58:14]OFD Sender: No OFD packet to send [21:58:19]OFD Sender: No OFD packet to send [21:58:24]OFD Sender: No OFD packet to send [21:58:29]OFD Sender: No OFD packet to send [21:58:34]OFD Sender: No OFD packet to send [21:58:39]OFD Sender: No OFD packet to send [21:58:44]OFD Sender: No OFD packet to send [21:58:49]OFD Sender: No OFD packet to send [21:58:54]OFD Sender: No OFD packet to send [21:58:59]OFD Sender: No OFD packet to send [21:59:04]OFD Sender: No OFD packet to send [21:59:09]OFD Sender: No OFD packet to send [21:59:14]OFD Sender: No OFD packet to send [21:59:19]OFD Sender: No OFD packet to send [21:59:24]OFD Sender: No OFD packet to send [21:59:29]OFD Sender: No OFD packet to send [21:59:34]OFD Sender: No OFD packet to send [21:59:39]OFD Sender: No OFD packet to send [21:59:44]OFD Sender: No OFD packet to send [21:59:49]OFD Sender: No OFD packet to send [21:59:54]OFD Sender: No OFD packet to send [21:59:59]OFD Sender: No OFD packet to send [22:00:04]OFD Sender: No OFD packet to send [22:00:09]OFD Sender: No OFD packet to send [22:00:14]OFD Sender: No OFD packet to send [22:00:19]OFD Sender: No OFD packet to send [22:00:24]OFD Sender: No OFD packet to send [22:00:29]OFD Sender: No OFD packet to send [22:00:34]OFD Sender: No OFD packet to send [22:00:39]OFD Sender: No OFD packet to send [22:00:44]OFD Sender: No OFD packet to send [22:00:49]OFD Sender: No OFD packet to send [22:00:54]OFD Sender: No OFD packet to send [22:00:59]OFD Sender: No OFD packet to send [22:01:04]OFD Sender: No OFD packet to send [22:01:09]OFD Sender: No OFD packet to send [22:01:14]OFD Sender: No OFD packet to send [22:01:19]OFD Sender: No OFD packet to send [22:01:24]OFD Sender: No OFD packet to send [22:01:29]OFD Sender: No OFD packet to send [22:01:34]OFD Sender: No OFD packet to send [22:01:39]OFD Sender: No OFD packet to send [22:01:44]OFD Sender: No OFD packet to send [22:01:49]OFD Sender: No OFD packet to send [22:01:54]OFD Sender: No OFD packet to send [22:01:59]OFD Sender: No OFD packet to send [22:02:04]OFD Sender: No OFD packet to send [22:02:09]OFD Sender: No OFD packet to send [22:02:14]OFD Sender: No OFD packet to send [22:02:19]OFD Sender: No OFD packet to send [22:02:24]OFD Sender: No OFD packet to send [22:02:29]OFD Sender: No OFD packet to send [22:02:34]OFD Sender: No OFD packet to send [22:02:39]OFD Sender: No OFD packet to send [22:02:44]OFD Sender: No OFD packet to send [22:02:49]OFD Sender: No OFD packet to send [22:02:54]OFD Sender: No OFD packet to send [22:02:59]OFD Sender: No OFD packet to send [22:03:04]OFD Sender: No OFD packet to send [22:03:09]OFD Sender: No OFD packet to send [22:03:14]OFD Sender: No OFD packet to send [22:03:19]OFD Sender: No OFD packet to send [22:03:24]OFD Sender: No OFD packet to send [22:03:29]OFD Sender: No OFD packet to send [22:03:34]OFD Sender: No OFD packet to send [22:03:39]OFD Sender: No OFD packet to send [22:03:44]OFD Sender: No OFD packet to send [22:03:49]OFD Sender: No OFD packet to send [22:03:54]OFD Sender: No OFD packet to send [22:03:59]OFD Sender: No OFD packet to send [22:04:04]OFD Sender: No OFD packet to send [22:04:09]OFD Sender: No OFD packet to send [22:04:14]OFD Sender: No OFD packet to send [22:04:19]OFD Sender: No OFD packet to send [22:04:24]OFD Sender: No OFD packet to send [22:04:29]OFD Sender: No OFD packet to send [22:04:34]OFD Sender: No OFD packet to send [22:04:39]OFD Sender: No OFD packet to send [22:04:44]OFD Sender: No OFD packet to send [22:04:49]OFD Sender: No OFD packet to send [22:04:54]OFD Sender: No OFD packet to send [22:04:59]OFD Sender: No OFD packet to send [22:05:04]OFD Sender: No OFD packet to send [22:05:09]OFD Sender: No OFD packet to send [22:05:14]OFD Sender: No OFD packet to send [22:05:19]OFD Sender: No OFD packet to send [22:05:24]OFD Sender: No OFD packet to send [22:05:29]OFD Sender: No OFD packet to send [22:05:34]OFD Sender: No OFD packet to send [22:05:39]OFD Sender: No OFD packet to send [22:05:44]OFD Sender: No OFD packet to send [22:05:49]OFD Sender: No OFD packet to send [22:05:54]OFD Sender: No OFD packet to send [22:05:59]OFD Sender: No OFD packet to send [22:06:04]OFD Sender: No OFD packet to send [22:06:09]OFD Sender: No OFD packet to send [22:06:14]OFD Sender: No OFD packet to send [22:06:19]OFD Sender: No OFD packet to send [22:06: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:15]OFD Sender: No OFD packet to send [22:15:20]OFD Sender: No OFD packet to send [22:15:25]OFD Sender: No OFD packet to send [22:15:30]OFD Sender: No OFD packet to send [22:15:35]OFD Sender: No OFD packet to send [22:15:40]OFD Sender: No OFD packet to send [22:15:45]OFD Sender: No OFD packet to send [22:15:50]OFD Sender: No OFD packet to send [22:15:55]OFD Sender: No OFD packet to send [22:16:00]OFD Sender: No OFD packet to send [22:16:05]OFD Sender: No OFD packet to send [22:16:10]OFD Sender: No OFD packet to send [22:16:15]OFD Sender: No OFD packet to send [22:16:20]OFD Sender: No OFD packet to send [22:16:25]OFD Sender: No OFD packet to send [22:16:30]OFD Sender: No OFD packet to send [22:16:35]OFD Sender: No OFD packet to send [22:16:40]OFD Sender: No OFD packet to send [22:16:45]OFD Sender: No OFD packet to send [22:16:50]OFD Sender: No OFD packet to send [22:16:55]OFD Sender: No OFD packet to send [22:17:00]OFD Sender: No OFD packet to send [22:17:05]OFD Sender: No OFD packet to send [22:17:10]OFD Sender: No OFD packet to send [22:17:15]OFD Sender: No OFD packet to send [22:17:20]OFD Sender: No OFD packet to send [22:17:25]OFD Sender: No OFD packet to send [22:17:30]OFD Sender: No OFD packet to send [22:17:35]OFD Sender: No OFD packet to send [22:17:40]OFD Sender: No OFD packet to send [22:17:45]OFD Sender: No OFD packet to send [22:17:50]OFD Sender: No OFD packet to send [22:17:55]OFD Sender: No OFD packet to send [22:18:00]OFD Sender: No OFD packet to send [22:18:05]OFD Sender: No OFD packet to send [22:18:10]OFD Sender: No OFD packet to send [22:18:15]OFD Sender: No OFD packet to send [22:18:20]OFD Sender: No OFD packet to send [22:18:25]OFD Sender: No OFD packet to send [22:18:30]OFD Sender: No OFD packet to send [22:18:35]OFD Sender: No OFD packet to send [22:18:40]OFD Sender: No OFD packet to send [22:18:45]OFD Sender: No OFD packet to send [22:18:50]OFD Sender: No OFD packet to send [22:18:55]OFD Sender: No OFD packet to send [22:19:00]OFD Sender: No OFD packet to send [22:19:05]OFD Sender: No OFD packet to send [22:19:10]OFD Sender: No OFD packet to send [22:19:15]OFD Sender: No OFD packet to send [22:19:20]OFD Sender: No OFD packet to send [22:19:25]OFD Sender: No OFD packet to send [22:19:30]OFD Sender: No OFD packet to send [22:19:35]OFD Sender: No OFD packet to send [22:19:40]OFD Sender: No OFD packet to send [22:19:45]OFD Sender: No OFD packet to send [22:19:50]OFD Sender: No OFD packet to send [22:19:55]OFD Sender: No OFD packet to send [22:20:00]OFD Sender: No OFD packet to send [22:20:05]OFD Sender: No OFD packet to send [22:20:10]OFD Sender: No OFD packet to send [22:20:15]OFD Sender: No OFD packet to send [22:20:20]OFD Sender: No OFD packet to send [22:20:25]OFD Sender: No OFD packet to send [22:20:30]OFD Sender: No OFD packet to send [22:20:35]OFD Sender: No OFD packet to send [22:20:40]OFD Sender: No OFD packet to send [22:20:45]OFD Sender: No OFD packet to send [22:20:50]OFD Sender: No OFD packet to send [22:20:55]OFD Sender: No OFD packet to send [22:21:00]OFD Sender: No OFD packet to send [22:21:05]OFD Sender: No OFD packet to send [22:21:10]OFD Sender: No OFD packet to send [22:21:15]OFD Sender: No OFD packet to send [22:21:20]OFD Sender: No OFD packet to send [22:21:25]OFD Sender: No OFD packet to send [22:21:30]OFD Sender: No OFD packet to send [22:21:35]OFD Sender: No OFD packet to send [22:21:40]OFD Sender: No OFD packet to send [22:21:45]OFD Sender: No OFD packet to send [22:21:50]OFD Sender: No OFD packet to send [22:21:53]accept exits with 9 [22:21:53]New connection [22:21:53]New thread 3067063652 created [22:21:53]Thread 3067207012 joined [22:21:53]Waiting for new connection... [22:21:53] Sock 9.Parse request [22:21:53]Sock 9.Check first char [22:21:53]Sock 9.First char is OK [22:21:53]request: POST /json_proto HTTP/1.0 [22:21:53]Method: POST [22:21:53]URL: /json_proto [22:21:53]Method is POST - this is cgi request [22:21:53]url: /json_proto [22:21:53]query_string will be loaded in cgi processing [22:21:53]execute_cgi json_proto POST (null) [22:21:53]execute_cgi path=json_proto method=POST [22:21:53]POST find Content-Length [22:21:53]Host: 172.17.40.196:8080 [22:21:53]Content-Length: 620 [22:21:53]Content-Type: application/json [22:21:53] [22:21:53]POST finish read [22:21:53]Found Content-Length = 620 [22:21:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35212", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:21:53]execute_script... [22:21: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)35212", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 144.00, "quantity" : 1.000, "sum" : 144.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 144.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:21:53]POST & json_proto [22:21:53]process_json_proto [22:21:53]json parsed OK: [22:21:53]protocol is kg_v1.0 [22:21:53]action value=close_receipt [22:21:53]process_action close_receipt [22:21:53]cmd_close_receipt [22:21:53]MH_GetDate [22:21:53]Write to MH i2c: F0 00 00 FB 03 ED [22:21:53]Write i2c OK [22:21:53]MH_I2C_Read... [22:21:53]Read from MH i2c: F0 [22:21:53]MH_I2C_Read... [22:21:53]Read from MH i2c: F0 09 00 [22:21:53]MH_I2C_Read... [22:21:53]Read from MH i2c: F0 09 00 FB 03 00 02 60 21 67 5B 68 A1 66 AA [22:21:53]GetLastDocTimeStamp 1730238144 [22:21:53]current date 1730240514 [22:21:53]FM_GetShiftState [22:21:53]SAM_PROTO_GetShiftState [22:21:53]wFMCommunicate request_size=4 [22:21:53]MH_SAM_APDU [22:21:53]CAPDU: 80 13 01 00 [22:21:53]Write to MH i2c: E2 08 00 FC 03 80 13 01 00 00 00 00 00 7C [22:21:53]Write i2c OK [22:21:53]MH_I2C_Read... [22:21:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:53]Read from MH i2c: E2 [22:21:53]MH_I2C_Read... [22:21:53]Read from MH i2c: E2 0E 00 [22:21:53]MH_I2C_Read... [22:21:53]Read from MH i2c: E2 0E 00 FC 03 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 F2 [22:21:53]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [22:21:53]wFMCommunicate OK [22:21:53]SAM_PROTO_GetShiftState done [22:21:53]FM_GetShiftState done [22:21:53]opened in 1730160317 [22:21:53]opened+sec_in_day 1730246717 [22:21:53]quantity*price = 14400 [22:21:53]sum+1 = 14401 [22:21:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 144.00 НСП 1% : 1.27 НДС 12% : 15.29 Наличными: 144.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 74 29.10.2024 22:21 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37912 ФПД: 17233098102930 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222154&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37912&fm=17233098102930&tin=02508201610067®Number=0000000000091684&sum=14400 0 [22:21:54]StoreToDocumentArchive [22:21:54]shift 552 fd 37912 [22:21:54]save to /storage/0552/doc_00037912 [22:21:54]save last doc name /storage/0552/doc_00037912 to /storage/kkm_last_doc_name [22:21:54]save OK [22:21:54]Clear old archive folders... [22:21:54]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:21:54]tlvbuf is 01934ED0 [22:21:54]SAM_PROTO_ClearQueue [22:21:54]wFMCommunicate request_size=4 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 09 00 00 [22:21:54]Write to MH i2c: E2 08 00 09 04 80 09 00 00 00 00 00 00 7F [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 09 04 00 90 00 81 [22:21:54]RAPDU: 90 00 [22:21:54]wFMCommunicate OK [22:21:54]SAM_PROTO_ClearQueue done [22:21:54]KKMCreateOFDPacket [22:21:54]OFDProtocolAddRootSTLVToBuf [22:21:54]FM_MakeSignedData [22:21:54]FM_MakeSignedData [22:21:54]SAM_PROTO_SignData [22:21:54]wFMCommunicate request_size=4 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 0D 01 02 [22:21:54]Write to MH i2c: E2 08 00 0A 04 80 0D 01 02 00 00 00 00 87 [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 0A 04 00 90 00 82 [22:21:54]RAPDU: 90 00 [22:21:54]wFMCommunicate OK [22:21:54]wFMCommunicate request_size=255 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 02 60 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 [22:21:54]Write to MH i2c: E2 02 01 0B 04 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 02 60 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 00 00 3E [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 0B 04 00 90 00 83 [22:21:54]RAPDU: 90 00 [22:21:54]wFMCommunicate OK [22:21:54]wFMCommunicate request_size=32 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 31 38 34 31 10 04 04 00 18 94 00 00 35 04 06 00 0F AC 64 B0 D8 92 [22:21:54]Write to MH i2c: E2 23 00 0C 04 80 0D 02 02 1B 00 30 30 30 38 37 31 38 34 31 10 04 04 00 18 94 00 00 35 04 06 00 0F AC 64 B0 D8 92 00 00 C9 [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 03 00 0C 04 00 90 00 84 [22:21:54]RAPDU: 90 00 [22:21:54]wFMCommunicate OK [22:21:54]wFMCommunicate request_size=4 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 0D 03 02 [22:21:54]Write to MH i2c: E2 08 00 0D 04 80 0D 03 02 00 00 00 00 8C [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 0B 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 0B 00 0D 04 00 CB 2A 35 BC 50 ED EE 4E 90 00 EC [22:21:54]RAPDU: CB 2A 35 BC 50 ED EE 4E 90 00 [22:21:54]wFMCommunicate OK [22:21:54]SAM_PROTO_SignData done [22:21:54]FM_MakeSignedData done [22:21:54]CreateOFDProtocolMessage [22:21:54]wFMCommunicate request_size=4 [22:21:54]MH_SAM_APDU [22:21:54]CAPDU: 80 11 00 00 [22:21:54]Write to MH i2c: E2 08 00 0E 04 80 11 00 00 00 00 00 00 8C [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:54]Read from MH i2c: E2 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 17 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: E2 17 00 0E 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 DC [22:21:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:21:54]wFMCommunicate OK [22:21:54]CreateOFDProtocolMessage done [22:21:54]OFDSenderStorePacket 37912 [22:21:54]StoreOFDPacket docnum=37912 [22:21:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 ED B5 1D 01 0E 05 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 02 60 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 18 94 00 00 35 04 06 00 0F AC 64 B0 D8 92 CB 2A 35 BC 50 ED EE 4E [22:21:54]CheckFolder [22:21:54]dirname=/storage/ofd_packets [22:21:54]CheckFolder done [22:21:54]ProducePacketName [22:21:54]name=ofd_packets/00037912 [22:21:54]NVStorageSaveData ofd_packets/00037912 [22:21:54]File name is /storage/ofd_packets/00037912 [22:21:54]Write 323 bytes [22:21:54]NVStorageSaveData done [22:21:54]OFDSenderStorePacket done [22:21:54]KKMCreateOFDPacket done [22:21:54]NVStorageSaveData kkm_last_timestamp [22:21:54]File name is /storage/kkm_last_timestamp [22:21:54]Write 4 bytes [22:21:54]NVStorageSaveData done [22:21:54]ExternCall_PrintAddStr [22:21:54]wPrintStart [22:21:54]Write to MH i2c: 01 00 00 0F 04 13 [22:21:54]Write i2c OK [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: 01 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: 01 07 00 [22:21:54]MH_I2C_Read... [22:21:54]Read from MH i2c: 01 07 00 0F 04 00 00 00 00 00 FF 0F 28 [22:21:54]RasterBufferAndPrint [22:21:54]line Счет N : (3)35212 [22:21:54]line ИНН: 02508201610067 [22:21:54]line Контрольно-Кассовый Чек [22:21:54]line ПРОДАЖА [22:21:54]line Товар: 48747059 [22:21:54]line Сигареты Winston Legend Blue [22:21:54]line 1.000 * 144.00 [22:21:54]line = 144.00 [22:21:54]line НДС 12% НСП 1% [22:21:54]line > о реализуемом товаре [22:21:54]line ИТОГО: 144.00 [22:21:54]line НСП 1% : 1.27 [22:21:54]line НДС 12% : 15.29 [22:21:54]line Наличными: 144.00 [22:21:54]line Безнал.: 0.00 [22:21:54]line Место: АЗС № 126 "Партнер Нефть" [22:21:54]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:21:54]line СНО: Общий режим [22:21:54]line Чек 74 29.10.2024 22:21 [22:21:54]line Смена: 552 ФФД: 1.0 [22:21:54]line ЗНМ: 0300000092 [22:21:54]line РНМ: 0000000000091684 [22:21:54]line Версия ККМ: 001 [22:21:54]line ФМ: 0000000000871841 [22:21:54]line ФД: 37912 [22:21:54]line ФПД: 17233098102930 [22:21:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T222154&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37912&fm=17233098102930&tin=02508201610067®Number=0000000000091684&sum=14400 [22:21:55]OFD Sender: Processing packet 37912 [packets to send 42, broken 41] [22:21:55]ProducePacketName [22:21:55]name=ofd_packets/00037912 [22:21:55]OFD Sender: To server: pG, [22:21:55]CommunicateWithHost lk.salyk.kg:30040 [22:21:55]ConnectInit lk.salyk.kg [22:21:55]line 0 [22:21:55]written 0, free lines is 4095 [22:21:55]Connected sock=7 [22:21:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 25 01 00 00 ED B5 1D 01 0E 05 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 38 00 00 00 00 13 04 06 00 40 38 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 38 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F9 05 00 00 00 00 07 04 06 00 40 38 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 02 60 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 18 94 00 00 35 04 06 00 0F AC 64 B0 D8 92 CB 2A 35 BC 50 ED EE 4E [22:21:55]Write to MH i2c: 01 00 00 38 04 3C [22:21:55]Write i2c OK [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: 01 [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: 01 07 00 [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: 01 07 00 38 04 00 00 00 00 00 B3 0C 02 [22:21:55]RasterBufferAndPrint [22:21:55]line [22:21:55]line [22:21:55]line [22:21:55]line [22:21:55]line [22:21:55]written 0, free lines is 3256 [22:21:55]MH_Cut [22:21:55]Write to MH i2c: D1 01 00 3F 04 01 15 [22:21:55]Write i2c OK [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: D1 [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: D1 01 00 [22:21:55]MH_I2C_Read... [22:21:55]Read from MH i2c: D1 01 00 3F 04 00 14 [22:21:55]Write to MH i2c: 01 00 00 40 04 44 [22:21:55]Write i2c OK [22:21:55]MH_I2C_Read... [22:21:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 DA 3D 47 00 54 49 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 18 94 00 00 F4 03 04 00 F2 0A 21 67 B6 04 01 00 00 52 7A E0 D2 E1 27 C0 BB [22:21:55]CommunicateWithHost err = 0 [22:21:55]CheckOFDResponse [22:21:55]1017 (14) - 77093643461234 [22:21:55]1041 (16) - 0000000000871841 [22:21:55]1040 (4) - 37912 [22:21:55]1012 (4) - 29.10.2024 16:18 [22:21:55]1206 (1) - 0 [22:21:55]OFD Sender: Remove packet 37912 [22:21:55]ProducePacketName [22:21:55]name=ofd_packets/00037912 [22:21:55]NVStorageDeleteData [22:21:56]OFD Sender: No OFD packet to send [22:21:56]*** Cut start [22:21:56]*** Partial cut [22:21:56]*** CUTSNS_PIN = 1 [22:21:56]*** CUTSNS_PIN = 0 [22:21:56]*** Brake cut motor [22:21:56]Read from MH i2c: 01 [22:21:56]MH_I2C_Read... [22:21:56]*** Stop cut motor [22:21:56]*** Cut end [22:21:56]Read from MH i2c: 01 07 00 [22:21:56]MH_I2C_Read... [22:21:56]Read from MH i2c: 01 07 00 40 04 00 00 00 00 00 FF 0F 59 [22:21:56]process_action close_receipt done [22:21:56]requested_data is exist [22:21:56]produce_requested_data [22:21:56]requested_item fm.sn is exist - process it [22:21:56]wFMCommunicate request_size=4 [22:21:56]MH_SAM_APDU [22:21:56]CAPDU: 80 11 00 00 [22:21:56]Write to MH i2c: E2 08 00 41 04 80 11 00 00 00 00 00 00 BF [22:21:56]Write i2c OK [22:21:56]MH_I2C_Read... [22:21:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:57]Read from MH i2c: E2 [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 17 00 [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 17 00 41 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 0F [22:21:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:21:57]wFMCommunicate OK [22:21:57]requested_item fd.num is exist - process it [22:21:57]SAM_PROTO_GetFieldsCounters [22:21:57]wFMCommunicate request_size=4 [22:21:57]MH_SAM_APDU [22:21:57]CAPDU: 80 13 00 00 [22:21:57]Write to MH i2c: E2 08 00 42 04 80 13 00 00 00 00 00 00 C2 [22:21:57]Write i2c OK [22:21:57]MH_I2C_Read... [22:21:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:21:57]Read from MH i2c: E2 [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 62 00 [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 62 00 42 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 18 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [22:21:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 18 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4A 00 00 00 5E 04 04 00 4A 00 00 00 57 04 04 00 4B 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:21:57]wFMCommunicate OK [22:21:57]SAM_PROTO_GetFieldsCounters done [22:21:57]requested_item shift.num is exist - process it [22:21:57]requested_item shift.opened is exist - process it [22:21:57]req_shift_opened [22:21:57]FM_GetShiftState [22:21:57]SAM_PROTO_GetShiftState [22:21:57]wFMCommunicate request_size=4 [22:21:57]MH_SAM_APDU [22:21:57]CAPDU: 80 13 01 00 [22:21:57]Write to MH i2c: E2 08 00 43 04 80 13 01 00 00 00 00 00 C4 [22:21:57]Write i2c OK [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 [22:21:57]MH_I2C_Read... [22:21:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:57]Read from MH i2c: E2 0E 00 [22:21:57]MH_I2C_Read... [22:21:57]Read from MH i2c: E2 0E 00 43 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3A [22:21:57]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [22:21:57]wFMCommunicate OK [22:21:57]SAM_PROTO_GetShiftState done [22:21:57]FM_GetShiftState done [22:21:57]req_shift_opened done [22:21:57]requested_item shift.open_date is exist - process it [22:21:57]req_shift_open_date [22:21:57]req_shift_open_date done [22:21:57]produce_requested_data done [22:21:57]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37912,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [22:21:57]process_action_free close_receipt [22:21:57]json_value_free [22:21:57]json_value_free done [22:21:57]process_json_proto returns [22:21:57]Send response to host [22:21:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37912,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [22:21:57]free response buf [22:21:57]execute_script done [22:21:57]execute_script returns [22:21:57]free content buf [22:21:57]Sock 9.Close socket [22:21:57]Sock 9.Thread stoped [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:01]OFD Sender: No OFD packet to send [22:25:06]OFD Sender: No OFD packet to send [22:25:11]OFD Sender: No OFD packet to send [22:25:16]OFD Sender: No OFD packet to send [22:25:21]OFD Sender: No OFD packet to send [22:25:26]OFD Sender: No OFD packet to send [22:25:31]OFD Sender: No OFD packet to send [22:25:36]OFD Sender: No OFD packet to send [22:25:41]OFD Sender: No OFD packet to send [22:25:46]OFD Sender: No OFD packet to send [22:25:51]OFD Sender: No OFD packet to send [22:25:56]OFD Sender: No OFD packet to send [22:26:01]OFD Sender: No OFD packet to send [22:26:06]OFD Sender: No OFD packet to send [22:26:11]OFD Sender: No OFD packet to send [22:26:16]OFD Sender: No OFD packet to send [22:26:21]OFD Sender: No OFD packet to send [22:26:26]OFD Sender: No OFD packet to send [22:26:31]OFD Sender: No OFD packet to send [22:26:36]OFD Sender: No OFD packet to send [22:26:41]OFD Sender: No OFD packet to send [22:26:46]OFD Sender: No OFD packet to send [22:26:51]OFD Sender: No OFD packet to send [22:26:56]OFD Sender: No OFD packet to send [22:27:01]OFD Sender: No OFD packet to send [22:27:06]OFD Sender: No OFD packet to send [22:27:11]OFD Sender: No OFD packet to send [22:27:16]OFD Sender: No OFD packet to send [22:27:21]OFD Sender: No OFD packet to send [22:27:26]OFD Sender: No OFD packet to send [22:27:31]OFD Sender: No OFD packet to send [22:27:36]OFD Sender: No OFD packet to send [22:27:41]OFD Sender: No OFD packet to send [22:27:46]OFD Sender: No OFD packet to send [22:27:51]OFD Sender: No OFD packet to send [22:27:56]OFD Sender: No OFD packet to send [22:28:01]OFD Sender: No OFD packet to send [22:28:06]OFD Sender: No OFD packet to send [22:28:11]OFD Sender: No OFD packet to send [22:28:16]OFD Sender: No OFD packet to send [22:28:21]OFD Sender: No OFD packet to send [22:28:26]OFD Sender: No OFD packet to send [22:28:31]OFD Sender: No OFD packet to send [22:28:36]OFD Sender: No OFD packet to send [22:28:41]OFD Sender: No OFD packet to send [22:28:46]OFD Sender: No OFD packet to send [22:28:51]OFD Sender: No OFD packet to send [22:28:56]OFD Sender: No OFD packet to send [22:29:01]OFD Sender: No OFD packet to send [22:29:06]OFD Sender: No OFD packet to send [22:29:11]OFD Sender: No OFD packet to send [22:29:16]OFD Sender: No OFD packet to send [22:29:21]OFD Sender: No OFD packet to send [22:29:26]OFD Sender: No OFD packet to send [22:29:31]OFD Sender: No OFD packet to send [22:29:36]OFD Sender: No OFD packet to send [22:29:41]OFD Sender: No OFD packet to send [22:29:46]OFD Sender: No OFD packet to send [22:29:51]OFD Sender: No OFD packet to send [22:29:56]OFD Sender: No OFD packet to send [22:30:01]OFD Sender: No OFD packet to send [22:30:06]OFD Sender: No OFD packet to send [22:30:11]OFD Sender: No OFD packet to send [22:30:16]OFD Sender: No OFD packet to send [22:30:21]OFD Sender: No OFD packet to send [22:30:26]OFD Sender: No OFD packet to send [22:30:31]OFD Sender: No OFD packet to send [22:30:36]OFD Sender: No OFD packet to send [22:30:41]OFD Sender: No OFD packet to send [22:30:46]OFD Sender: No OFD packet to send [22:30:51]OFD Sender: No OFD packet to send [22:30:56]OFD Sender: No OFD packet to send [22:31:01]OFD Sender: No OFD packet to send [22:31:06]OFD Sender: No OFD packet to send [22:31:11]OFD Sender: No OFD packet to send [22:31:16]OFD Sender: No OFD packet to send [22:31:21]OFD Sender: No OFD packet to send [22:31:26]OFD Sender: No OFD packet to send [22:31:31]OFD Sender: No OFD packet to send [22:31:36]OFD Sender: No OFD packet to send [22:31:41]OFD Sender: No OFD packet to send [22:31:46]OFD Sender: No OFD packet to send [22:31:51]OFD Sender: No OFD packet to send [22:31:56]OFD Sender: No OFD packet to send [22:32:01]OFD Sender: No OFD packet to send [22:32:06]OFD Sender: No OFD packet to send [22:32:11]OFD Sender: No OFD packet to send [22:32:16]OFD Sender: No OFD packet to send [22:32:21]OFD Sender: No OFD packet to send [22:32:26]OFD Sender: No OFD packet to send [22:32:31]OFD Sender: No OFD packet to send [22:32:36]OFD Sender: No OFD packet to send [22:32:41]OFD Sender: No OFD packet to send [22:32:46]OFD Sender: No OFD packet to send [22:32:51]OFD Sender: No OFD packet to send [22:32:56]OFD Sender: No OFD packet to send [22:33:01]OFD Sender: No OFD packet to send [22:33:06]OFD Sender: No OFD packet to send [22:33:11]OFD Sender: No OFD packet to send [22:33:16]OFD Sender: No OFD packet to send [22:33:21]OFD Sender: No OFD packet to send [22:33:26]OFD Sender: No OFD packet to send [22:33:31]OFD Sender: No OFD packet to send [22:33:36]OFD Sender: No OFD packet to send [22:33:41]OFD Sender: No OFD packet to send [22:33:46]OFD Sender: No OFD packet to send [22:33:51]OFD Sender: No OFD packet to send [22:33:56]OFD Sender: No OFD packet to send [22:34:01]OFD Sender: No OFD packet to send [22:34:06]OFD Sender: No OFD packet to send [22:34:11]OFD Sender: No OFD packet to send [22:34:16]OFD Sender: No OFD packet to send [22:34:21]OFD Sender: No OFD packet to send [22:34:26]OFD Sender: No OFD packet to send [22:34:31]OFD Sender: No OFD packet to send [22:34:36]OFD Sender: No OFD packet to send [22:34:41]OFD Sender: No OFD packet to send [22:34:46]OFD Sender: No OFD packet to send [22:34: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:16]accept exits with 10 [22:46:16]New connection [22:46:16]New thread 3067207012 created [22:46:16]Thread 3067063652 joined [22:46:16]Waiting for new connection... [22:46:16] Sock 10.Parse request [22:46:16]Sock 10.Check first char [22:46:16]Sock 10.First char is OK [22:46:16]request: POST /json_proto HTTP/1.0 [22:46:16]Method: POST [22:46:16]URL: /json_proto [22:46:16]Method is POST - this is cgi request [22:46:16]url: /json_proto [22:46:16]query_string will be loaded in cgi processing [22:46:16]execute_cgi json_proto POST (null) [22:46:16]execute_cgi path=json_proto method=POST [22:46:16]POST find Content-Length [22:46:16]Host: 172.17.40.196:8080 [22:46:16]Content-Length: 986 [22:46:16]Content-Type: application/json [22:46:16] [22:46:16]POST finish read [22:46:16]Found Content-Length = 986 [22:46:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35213", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 2.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:16]execute_script... [22:46:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35213", "tax_sys" : 0, "items" : [ { "code": "5449000273673", "name": "\u0421\u043E\u043A Piko Pulpy \u043A\u0440\u0430\u0441\u043D\u044B\u0439 \u0432\u0438\u043D\u043E\u0433\u0440\u0430\u0434 \u041F\u042D\u0422 1\u043B", "price" : 175.00, "quantity" : 2.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700003010803", "name": "\u0427\u0430\u0439 \u041B\u0435\u0442\u0441 \u0413\u043E\u0443 \u041C\u0430\u043B\u0438\u043D\u0430 0,9\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 435.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [22:46:16]POST & json_proto [22:46:16]process_json_proto [22:46:16]json parsed OK: [22:46:16]protocol is kg_v1.0 [22:46:16]action value=close_receipt [22:46:16]process_action close_receipt [22:46:16]cmd_close_receipt [22:46:16]MH_GetDate [22:46:16]Write to MH i2c: F0 00 00 44 04 37 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: F0 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: F0 09 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: F0 09 00 44 04 00 B9 65 21 67 5B 68 A1 66 B0 [22:46:16]GetLastDocTimeStamp 1730240514 [22:46:16]current date 1730241977 [22:46:16]FM_GetShiftState [22:46:16]SAM_PROTO_GetShiftState [22:46:16]wFMCommunicate request_size=4 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 13 01 00 [22:46:16]Write to MH i2c: E2 08 00 45 04 80 13 01 00 00 00 00 00 C6 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 0E 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 0E 00 45 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 3C [22:46:16]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [22:46:16]wFMCommunicate OK [22:46:16]SAM_PROTO_GetShiftState done [22:46:16]FM_GetShiftState done [22:46:16]opened in 1730160317 [22:46:16]opened+sec_in_day 1730246717 [22:46:16]quantity*price = 35000 [22:46:16]sum+1 = 35001 [22:46:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700003010803 Чай Летс Гоу Малина 0,9л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 435.00 НСП 1% : 3.85 НДС 12% : 46.20 Наличными: 435.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 75 29.10.2024 22:46 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37913 ФПД: 85883394039605 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224617&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37913&fm=85883394039605&tin=02508201610067®Number=0000000000091684&sum=43500 0 [22:46:17]StoreToDocumentArchive [22:46:17]shift 552 fd 37913 [22:46:17]save to /storage/0552/doc_00037913 [22:46:17]save last doc name /storage/0552/doc_00037913 to /storage/kkm_last_doc_name [22:46:17]save OK [22:46:17]Clear old archive folders... [22:46:17]ProcessDocumentItem done err = 0, tmpTLVsize=415 [22:46:17]tlvbuf is 018547D0 [22:46:17]SAM_PROTO_ClearQueue [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 09 00 00 [22:46:17]Write to MH i2c: E2 08 00 52 04 80 09 00 00 00 00 00 00 C8 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 52 04 00 90 00 CA [22:46:17]RAPDU: 90 00 [22:46:17]wFMCommunicate OK [22:46:17]SAM_PROTO_ClearQueue done [22:46:17]KKMCreateOFDPacket [22:46:17]OFDProtocolAddRootSTLVToBuf [22:46:17]FM_MakeSignedData [22:46:17]FM_MakeSignedData [22:46:17]SAM_PROTO_SignData [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 0D 01 02 [22:46:17]Write to MH i2c: E2 08 00 53 04 80 0D 01 02 00 00 00 00 D0 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 53 04 00 90 00 CB [22:46:17]RAPDU: 90 00 [22:46:17]wFMCommunicate OK [22:46:17]wFMCommunicate request_size=255 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 0D 02 02 FA 03 00 9F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [22:46:17]Write to MH i2c: E2 02 01 54 04 80 0D 02 02 FA 00 03 00 9F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 5A [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]OFD Sender: No OFD packet to send [22:46:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 54 04 00 90 00 CC [22:46:17]RAPDU: 90 00 [22:46:17]wFMCommunicate OK [22:46:17]wFMCommunicate request_size=174 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 0D 02 02 A9 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 B9 65 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 19 94 00 00 35 04 06 00 4E 1C 49 31 9F 35 [22:46:17]Write to MH i2c: E2 B1 00 55 04 80 0D 02 02 A9 00 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 B9 65 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 19 94 00 00 35 04 06 00 4E 1C 49 31 9F 35 00 00 B7 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 03 00 55 04 00 90 00 CD [22:46:17]RAPDU: 90 00 [22:46:17]wFMCommunicate OK [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 0D 03 02 [22:46:17]Write to MH i2c: E2 08 00 56 04 80 0D 03 02 00 00 00 00 D5 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 0B 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 0B 00 56 04 00 8A 4F B3 EC B1 6F 23 72 90 00 03 [22:46:17]RAPDU: 8A 4F B3 EC B1 6F 23 72 90 00 [22:46:17]wFMCommunicate OK [22:46:17]SAM_PROTO_SignData done [22:46:17]FM_MakeSignedData done [22:46:17]CreateOFDProtocolMessage [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 11 00 00 [22:46:17]Write to MH i2c: E2 08 00 57 04 80 11 00 00 00 00 00 00 D5 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 17 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 17 00 57 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 25 [22:46:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:46:18]wFMCommunicate OK [22:46:18]CreateOFDProtocolMessage done [22:46:18]OFDSenderStorePacket 37913 [22:46:18]StoreOFDPacket docnum=37913 [22:46:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B3 01 00 00 AC FD AB 01 C5 3C 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 B9 65 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 19 94 00 00 35 04 06 00 4E 1C 49 31 9F 35 8A 4F B3 EC B1 6F 23 72 [22:46:18]CheckFolder [22:46:18]dirname=/storage/ofd_packets [22:46:18]CheckFolder done [22:46:18]ProducePacketName [22:46:18]name=ofd_packets/00037913 [22:46:18]NVStorageSaveData ofd_packets/00037913 [22:46:18]File name is /storage/ofd_packets/00037913 [22:46:18]Write 465 bytes [22:46:18]NVStorageSaveData done [22:46:18]OFDSenderStorePacket done [22:46:18]KKMCreateOFDPacket done [22:46:18]NVStorageSaveData kkm_last_timestamp [22:46:18]File name is /storage/kkm_last_timestamp [22:46:18]Write 4 bytes [22:46:18]NVStorageSaveData done [22:46:18]ExternCall_PrintAddStr [22:46:18]wPrintStart [22:46:18]Write to MH i2c: 01 00 00 58 04 5C [22:46:18]OFD Sender: Processing packet 37913 [packets to send 42, broken 41] [22:46:18]ProducePacketName [22:46:18]name=ofd_packets/00037913 [22:46:18]OFD Sender: To server: pG, [22:46:18]CommunicateWithHost lk.salyk.kg:30040 [22:46:18]Write i2c OK [22:46:18]ConnectInit lk.salyk.kg [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 07 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 07 00 58 04 00 00 00 00 00 FF 0F 71 [22:46:18]RasterBufferAndPrint [22:46:18]line Счет N : (3)35213 [22:46:18]line ИНН: 02508201610067 [22:46:18]line Контрольно-Кассовый Чек [22:46:18]line ПРОДАЖА [22:46:18]line Товар: 5449000273673 [22:46:18]line Сок Piko Pulpy красный виноград ПЭТ 1л [22:46:18]line 2.000 * 175.00 [22:46:18]line = 350.00 [22:46:18]line НДС 12% НСП 1% [22:46:18]line > о реализуемом товаре [22:46:18]line Товар: 4700003010803 [22:46:18]line Чай Летс Гоу Малина 0,9л [22:46:18]line 1.000 * 85.00 [22:46:18]line = 85.00 [22:46:18]line НДС 12% НСП 1% [22:46:18]line > о реализуемом товаре [22:46:18]line ИТОГО: 435.00 [22:46:18]line НСП 1% : 3.85 [22:46:18]line НДС 12% : 46.20 [22:46:18]line Наличными: 435.00 [22:46:18]line Безнал.: 0.00 [22:46:18]line Место: АЗС № 126 "Партнер Нефть" [22:46:18]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [22:46:18]line СНО: Общий режим [22:46:18]line Чек 75 29.10.2024 22:46 [22:46:18]line Смена: 552 ФФД: 1.0 [22:46:18]line ЗНМ: 0300000092 [22:46:18]line РНМ: 0000000000091684 [22:46:18]line Версия ККМ: 001 [22:46:18]line ФМ: 0000000000871841 [22:46:18]line ФД: 37913 [22:46:18]line ФПД: 85883394039605 [22:46:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T224617&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37913&fm=85883394039605&tin=02508201610067®Number=0000000000091684&sum=43500 [22:46:18]line 0 [22:46:18]written 0, free lines is 4095 [22:46:18]Connected sock=9 [22:46:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 B3 01 00 00 AC FD AB 01 C5 3C 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 80 00 8A 04 0D 00 35 34 34 39 30 30 30 32 37 33 36 37 33 06 04 3C 00 D0 A1 D0 BE D0 BA 20 50 69 6B 6F 20 50 75 6C 70 79 20 D0 BA D1 80 D0 B0 D1 81 D0 BD D1 8B D0 B9 20 D0 B2 D0 B8 D0 BD D0 BE D0 B3 D1 80 D0 B0 D0 B4 20 D0 9F D0 AD D0 A2 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 33 30 31 30 38 30 33 06 04 29 00 D0 A7 D0 B0 D0 B9 20 D0 9B D0 B5 D1 82 D1 81 20 D0 93 D0 BE D1 83 20 D0 9C D0 B0 D0 BB D0 B8 D0 BD D0 B0 20 30 2C 39 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 21 00 00 00 00 13 04 06 00 34 21 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 EC A9 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 81 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 0C 12 00 00 00 00 07 04 06 00 EC A9 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4B 00 00 00 F4 03 04 00 B9 65 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 19 94 00 00 35 04 06 00 4E 1C 49 31 9F 35 8A 4F B3 EC B1 6F 23 72 [22:46:18]Write to MH i2c: 01 00 00 87 04 8B [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 07 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: 01 07 00 87 04 00 00 00 00 00 74 0C 12 [22:46:18]RasterBufferAndPrint [22:46:18]line [22:46:18]line [22:46:18]line [22:46:18]line [22:46:18]line [22:46:18]written 0, free lines is 3195 [22:46:18]MH_Cut [22:46:18]Write to MH i2c: D1 01 00 8E 04 01 64 [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: D1 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: D1 01 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: D1 01 00 8E 04 00 63 [22:46:18]Write to MH i2c: 01 00 00 8F 04 93 [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 C2 8F 47 00 75 4A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 19 94 00 00 F4 03 04 00 AA 10 21 67 B6 04 01 00 00 F4 28 35 09 DF C4 1E 9B [22:46:19]CommunicateWithHost err = 0 [22:46:19]CheckOFDResponse [22:46:19]1017 (14) - 77093643461234 [22:46:19]1041 (16) - 0000000000871841 [22:46:19]1040 (4) - 37913 [22:46:19]1012 (4) - 29.10.2024 16:43 [22:46:19]1206 (1) - 0 [22:46:19]OFD Sender: Remove packet 37913 [22:46:19]ProducePacketName [22:46:19]name=ofd_packets/00037913 [22:46:19]NVStorageDeleteData [22:46:19]OFD Sender: No OFD packet to send [22:46:19]*** Cut start [22:46:19]*** Partial cut [22:46:19]*** CUTSNS_PIN = 1 [22:46:19]*** CUTSNS_PIN = 0 [22:46:20]*** Brake cut motor [22:46:20]Read from MH i2c: 01 [22:46:20]MH_I2C_Read... [22:46:20]*** Stop cut motor [22:46:20]*** Cut end [22:46:20]Read from MH i2c: 01 07 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: 01 07 00 8F 04 00 00 00 00 00 FF 0F A8 [22:46:20]process_action close_receipt done [22:46:20]requested_data is exist [22:46:20]produce_requested_data [22:46:20]requested_item fm.sn is exist - process it [22:46:20]wFMCommunicate request_size=4 [22:46:20]MH_SAM_APDU [22:46:20]CAPDU: 80 11 00 00 [22:46:20]Write to MH i2c: E2 08 00 90 04 80 11 00 00 00 00 00 00 0E [22:46:20]Write i2c OK [22:46:20]MH_I2C_Read... [22:46:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:20]Read from MH i2c: E2 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 17 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 17 00 90 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 5E [22:46:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [22:46:20]wFMCommunicate OK [22:46:20]requested_item fd.num is exist - process it [22:46:20]SAM_PROTO_GetFieldsCounters [22:46:20]wFMCommunicate request_size=4 [22:46:20]MH_SAM_APDU [22:46:20]CAPDU: 80 13 00 00 [22:46:20]Write to MH i2c: E2 08 00 91 04 80 13 00 00 00 00 00 00 11 [22:46:20]Write i2c OK [22:46:20]MH_I2C_Read... [22:46:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:20]Read from MH i2c: E2 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 62 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 62 00 91 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 19 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [22:46:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 19 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4B 00 00 00 5E 04 04 00 4B 00 00 00 57 04 04 00 4C 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:20]wFMCommunicate OK [22:46:20]SAM_PROTO_GetFieldsCounters done [22:46:20]requested_item shift.num is exist - process it [22:46:20]requested_item shift.opened is exist - process it [22:46:20]req_shift_opened [22:46:20]FM_GetShiftState [22:46:20]SAM_PROTO_GetShiftState [22:46:20]wFMCommunicate request_size=4 [22:46:20]MH_SAM_APDU [22:46:20]CAPDU: 80 13 01 00 [22:46:20]Write to MH i2c: E2 08 00 92 04 80 13 01 00 00 00 00 00 13 [22:46:20]Write i2c OK [22:46:20]MH_I2C_Read... [22:46:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:20]Read from MH i2c: E2 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 0E 00 [22:46:20]MH_I2C_Read... [22:46:20]Read from MH i2c: E2 0E 00 92 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 89 [22:46:20]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [22:46:20]wFMCommunicate OK [22:46:20]SAM_PROTO_GetShiftState done [22:46:20]FM_GetShiftState done [22:46:20]req_shift_opened done [22:46:20]requested_item shift.open_date is exist - process it [22:46:20]req_shift_open_date [22:46:20]req_shift_open_date done [22:46:20]produce_requested_data done [22:46:20]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37913,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [22:46:20]process_action_free close_receipt [22:46:20]json_value_free [22:46:20]json_value_free done [22:46:20]process_json_proto returns [22:46:20]Send response to host [22:46:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37913,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [22:46:20]free response buf [22:46:20]execute_script done [22:46:20]execute_script returns [22:46:20]free content buf [22:46:20]Sock 10.Close socket [22:46:20]Sock 10.Thread stoped [22:46:24]OFD Sender: No OFD packet to send [22:46:29]OFD Sender: No OFD packet to send [22:46:34]OFD Sender: No OFD packet to send [22:46:39]OFD Sender: No OFD packet to send [22:46:44]OFD Sender: No OFD packet to send [22:46:49]OFD Sender: No OFD packet to send [22:46:54]OFD Sender: No OFD packet to send [22:46:59]OFD Sender: No OFD packet to send [22:47:04]OFD Sender: No OFD packet to send [22:47:09]OFD Sender: No OFD packet to send [22:47:14]OFD Sender: No OFD packet to send [22:47:19]OFD Sender: No OFD packet to send [22:47:24]OFD Sender: No OFD packet to send [22:47:29]OFD Sender: No OFD packet to send [22:47:34]OFD Sender: No OFD packet to send [22:47:39]OFD Sender: No OFD packet to send [22:47:44]OFD Sender: No OFD packet to send [22:47:49]OFD Sender: No OFD packet to send [22:47:54]OFD Sender: No OFD packet to send [22:47:59]OFD Sender: No OFD packet to send [22:48:04]OFD Sender: No OFD packet to send [22:48:09]OFD Sender: No OFD packet to send [22:48:14]OFD Sender: No OFD packet to send [22:48:19]OFD Sender: No OFD packet to send [22:48:24]OFD Sender: No OFD packet to send [22:48:29]OFD Sender: No OFD packet to send [22:48:34]OFD Sender: No OFD packet to send [22:48:39]OFD Sender: No OFD packet to send [22:48:44]OFD Sender: No OFD packet to send [22:48:49]OFD Sender: No OFD packet to send [22:48:54]OFD Sender: No OFD packet to send [22:48:59]OFD Sender: No OFD packet to send [22:49:04]OFD Sender: No OFD packet to send [22:49:09]OFD Sender: No OFD packet to send [22:49:14]OFD Sender: No OFD packet to send [22:49:19]OFD Sender: No OFD packet to send [22:49:24]OFD Sender: No OFD packet to send [22:49:29]OFD Sender: No OFD packet to send [22:49:34]OFD Sender: No OFD packet to send [22:49:39]OFD Sender: No OFD packet to send [22:49:44]OFD Sender: No OFD packet to send [22:49:49]OFD Sender: No OFD packet to send [22:49:54]OFD Sender: No OFD packet to send [22:49:59]OFD Sender: No OFD packet to send [22:50:04]OFD Sender: No OFD packet to send [22:50:09]OFD Sender: No OFD packet to send [22:50:14]OFD Sender: No OFD packet to send [22:50:19]OFD Sender: No OFD packet to send [22:50:24]OFD Sender: No OFD packet to send [22:50:29]OFD Sender: No OFD packet to send [22:50:34]OFD Sender: No OFD packet to send [22:50:39]OFD Sender: No OFD packet to send [22:50:44]OFD Sender: No OFD packet to send [22:50:49]OFD Sender: No OFD packet to send [22:50:54]OFD Sender: No OFD packet to send [22:50:59]OFD Sender: No OFD packet to send [22:51:04]OFD Sender: No OFD packet to send [22:51:09]OFD Sender: No OFD packet to send [22:51:14]OFD Sender: No OFD packet to send [22:51:19]OFD Sender: No OFD packet to send [22:51:24]OFD Sender: No OFD packet to send [22:51:29]OFD Sender: No OFD packet to send [22:51:34]OFD Sender: No OFD packet to send [22:51:39]OFD Sender: No OFD packet to send [22:51:44]OFD Sender: No OFD packet to send [22:51:49]OFD Sender: No OFD packet to send [22:51:54]OFD Sender: No OFD packet to send [22:51:59]OFD Sender: No OFD packet to send [22:52:04]OFD Sender: No OFD packet to send [22:52:09]OFD Sender: No OFD packet to send [22:52:14]OFD Sender: No OFD packet to send [22:52:19]OFD Sender: No OFD packet to send [22:52:24]OFD Sender: No OFD packet to send [22:52:29]OFD Sender: No OFD packet to send [22:52:34]OFD Sender: No OFD packet to send [22:52:39]OFD Sender: No OFD packet to send [22:52:44]OFD Sender: No OFD packet to send [22:52:49]OFD Sender: No OFD packet to send [22:52:54]OFD Sender: No OFD packet to send [22:52:59]OFD Sender: No OFD packet to send [22:53:04]OFD Sender: No OFD packet to send [22:53:09]OFD Sender: No OFD packet to send [22:53:14]OFD Sender: No OFD packet to send [22:53:19]OFD Sender: No OFD packet to send [22:53:24]OFD Sender: No OFD packet to send [22:53:29]OFD Sender: No OFD packet to send [22:53:34]OFD Sender: No OFD packet to send [22:53:39]OFD Sender: No OFD packet to send [22:53:44]OFD Sender: No OFD packet to send [22:53:49]OFD Sender: No OFD packet to send [22:53:54]OFD Sender: No OFD packet to send [22:53:59]OFD Sender: No OFD packet to send [22:54:05]OFD Sender: No OFD packet to send [22:54:10]OFD Sender: No OFD packet to send [22:54:15]OFD Sender: No OFD packet to send [22:54:20]OFD Sender: No OFD packet to send [22:54:25]OFD Sender: No OFD packet to send [22:54:30]OFD Sender: No OFD packet to send [22:54:35]OFD Sender: No OFD packet to send [22:54:40]OFD Sender: No OFD packet to send [22:54:45]OFD Sender: No OFD packet to send [22:54:50]OFD Sender: No OFD packet to send [22:54:55]OFD Sender: No OFD packet to send [22:55:00]OFD Sender: No OFD packet to send [22:55:05]OFD Sender: No OFD packet to send [22:55:10]OFD Sender: No OFD packet to send [22:55:15]OFD Sender: No OFD packet to send [22:55:20]OFD Sender: No OFD packet to send [22:55:25]OFD Sender: No OFD packet to send [22:55:30]OFD Sender: No OFD packet to send [22:55:35]OFD Sender: No OFD packet to send [22:55:40]OFD Sender: No OFD packet to send [22:55:45]OFD Sender: No OFD packet to send [22:55:50]OFD Sender: No OFD packet to send [22:55:55]OFD Sender: No OFD packet to send [22:56:00]OFD Sender: No OFD packet to send [22:56:05]OFD Sender: No OFD packet to send [22:56:10]OFD Sender: No OFD packet to send [22:56:15]OFD Sender: No OFD packet to send [22:56:20]OFD Sender: No OFD packet to send [22:56:25]OFD Sender: No OFD packet to send [22:56:30]OFD Sender: No OFD packet to send [22:56:35]OFD Sender: No OFD packet to send [22:56:40]OFD Sender: No OFD packet to send [22:56:45]OFD Sender: No OFD packet to send [22:56:50]OFD Sender: No OFD packet to send [22:56:55]OFD Sender: No OFD packet to send [22:57:00]OFD Sender: No OFD packet to send [22:57:05]OFD Sender: No OFD packet to send [22:57:10]OFD Sender: No OFD packet to send [22:57:15]OFD Sender: No OFD packet to send [22:57:20]OFD Sender: No OFD packet to send [22:57:25]OFD Sender: No OFD packet to send [22:57:30]OFD Sender: No OFD packet to send [22:57:35]OFD Sender: No OFD packet to send [22:57:40]OFD Sender: No OFD packet to send [22:57:45]OFD Sender: No OFD packet to send [22:57:50]OFD Sender: No OFD packet to send [22:57:55]OFD Sender: No OFD packet to send [22:58:00]OFD Sender: No OFD packet to send [22:58:05]OFD Sender: No OFD packet to send [22:58:10]OFD Sender: No OFD packet to send [22:58:15]OFD Sender: No OFD packet to send [22:58:20]OFD Sender: No OFD packet to send [22:58:25]OFD Sender: No OFD packet to send [22:58:30]OFD Sender: No OFD packet to send [22:58:35]OFD Sender: No OFD packet to send [22:58:40]OFD Sender: No OFD packet to send [22:58:45]OFD Sender: No OFD packet to send [22:58:50]OFD Sender: No OFD packet to send [22:58:55]OFD Sender: No OFD packet to send [22:59:00]OFD Sender: No OFD packet to send [22:59:05]OFD Sender: No OFD packet to send [22:59:10]OFD Sender: No OFD packet to send [22:59:15]OFD Sender: No OFD packet to send [22:59:20]OFD Sender: No OFD packet to send [22:59:25]OFD Sender: No OFD packet to send [22:59:30]OFD Sender: No OFD packet to send [22:59:35]OFD Sender: No OFD packet to send [22:59:40]OFD Sender: No OFD packet to send [22:59:45]OFD Sender: No OFD packet to send [22:59:50]OFD Sender: No OFD packet to send [22:59:55]OFD Sender: No OFD packet to send [23:00:00]OFD Sender: No OFD packet to send [23:00:05]OFD Sender: No OFD packet to send [23:00:10]OFD Sender: No OFD packet to send [23:00:15]OFD Sender: No OFD packet to send [23:00:20]OFD Sender: No OFD packet to send [23:00:25]OFD Sender: No OFD packet to send [23:00:30]OFD Sender: No OFD packet to send [23:00:35]OFD Sender: No OFD packet to send [23:00:40]OFD Sender: No OFD packet to send [23:00:45]OFD Sender: No OFD packet to send [23:00:50]OFD Sender: No OFD packet to send [23:00:55]OFD Sender: No OFD packet to send [23:01:00]OFD Sender: No OFD packet to send [23:01:05]OFD Sender: No OFD packet to send [23:01:10]OFD Sender: No OFD packet to send [23:01:15]OFD Sender: No OFD packet to send [23:01:20]OFD Sender: No OFD packet to send [23:01:25]OFD Sender: No OFD packet to send [23:01:30]OFD Sender: No OFD packet to send [23:01:35]OFD Sender: No OFD packet to send [23:01:40]OFD Sender: No OFD packet to send [23:01:45]OFD Sender: No OFD packet to send [23:01:50]OFD Sender: No OFD packet to send [23:01:55]OFD Sender: No OFD packet to send [23:02:00]OFD Sender: No OFD packet to send [23:02:05]OFD Sender: No OFD packet to send [23:02:10]OFD Sender: No OFD packet to send [23:02:15]OFD Sender: No OFD packet to send [23:02:20]OFD Sender: No OFD packet to send [23:02:25]OFD Sender: No OFD packet to send [23:02:30]OFD Sender: No OFD packet to send [23:02:35]OFD Sender: No OFD packet to send [23:02:40]OFD Sender: No OFD packet to send [23:02:45]OFD Sender: No OFD packet to send [23:02:50]OFD Sender: No OFD packet to send [23:02:55]OFD Sender: No OFD packet to send [23:03:00]OFD Sender: No OFD packet to send [23:03:05]OFD Sender: No OFD packet to send [23:03:10]OFD Sender: No OFD packet to send [23:03:15]OFD Sender: No OFD packet to send [23:03:20]OFD Sender: No OFD packet to send [23:03:25]OFD Sender: No OFD packet to send [23:03:30]OFD Sender: No OFD packet to send [23:03:35]OFD Sender: No OFD packet to send [23:03:40]OFD Sender: No OFD packet to send [23:03:45]OFD Sender: No OFD packet to send [23:03:50]OFD Sender: No OFD packet to send [23:03:55]OFD Sender: No OFD packet to send [23:04:00]OFD Sender: No OFD packet to send [23:04:05]OFD Sender: No OFD packet to send [23:04:10]OFD Sender: No OFD packet to send [23:04:15]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:35]OFD Sender: No OFD packet to send [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:23]accept exits with 7 [23:12:23]New connection [23:12:23]New thread 3067063652 created [23:12:23]Thread 3067207012 joined [23:12:23]Waiting for new connection... [23:12:23] Sock 7.Parse request [23:12:23]Sock 7.Check first char [23:12:23]Sock 7.First char is OK [23:12:23]request: POST /json_proto HTTP/1.0 [23:12:23]Method: POST [23:12:23]URL: /json_proto [23:12:23]Method is POST - this is cgi request [23:12:23]url: /json_proto [23:12:23]query_string will be loaded in cgi processing [23:12:23]execute_cgi json_proto POST (null) [23:12:23]execute_cgi path=json_proto method=POST [23:12:23]POST find Content-Length [23:12:23]Host: 172.17.40.196:8080 [23:12:23]Content-Length: 829 [23:12:23]Content-Type: application/json [23:12:23] [23:12:23]POST finish read [23:12:23]Found Content-Length = 829 [23:12:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35214", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.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" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:23]execute_script... [23:12: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)35214", "tax_sys" : 0, "items" : [ { "code": "4700001060473", "name": "\u041D\u0430\u0441\u0442\u043E\u0439\u043A\u0430 \u0412\u0438\u0448\u043D\u044F \u043D\u0430 \u043A\u043E\u043D\u044C\u044F\u043A\u0435 0,5\u043B", "price" : 430.00, "quantity" : 1.000, "sum" : 430.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" : 430.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:12:23]POST & json_proto [23:12:23]process_json_proto [23:12:23]json parsed OK: [23:12:23]protocol is kg_v1.0 [23:12:23]action value=close_receipt [23:12:23]process_action close_receipt [23:12:23]cmd_close_receipt [23:12:23]MH_GetDate [23:12:23]Write to MH i2c: F0 00 00 93 04 86 [23:12:23]Write i2c OK [23:12:23]MH_I2C_Read... [23:12:23]Read from MH i2c: F0 [23:12:23]MH_I2C_Read... [23:12:23]Read from MH i2c: F0 09 00 [23:12:23]MH_I2C_Read... [23:12:23]Read from MH i2c: F0 09 00 93 04 00 D9 6B 21 67 5B 68 A1 66 25 [23:12:23]GetLastDocTimeStamp 1730241977 [23:12:23]current date 1730243545 [23:12:23]FM_GetShiftState [23:12:23]SAM_PROTO_GetShiftState [23:12:23]wFMCommunicate request_size=4 [23:12:23]MH_SAM_APDU [23:12:23]CAPDU: 80 13 01 00 [23:12:23]Write to MH i2c: E2 08 00 94 04 80 13 01 00 00 00 00 00 15 [23:12:23]Write i2c OK [23:12:23]MH_I2C_Read... [23:12:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:23]Read from MH i2c: E2 [23:12:23]MH_I2C_Read... [23:12:23]Read from MH i2c: E2 0E 00 [23:12:23]MH_I2C_Read... [23:12:23]Read from MH i2c: E2 0E 00 94 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 8B [23:12:23]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:12:23]wFMCommunicate OK [23:12:23]SAM_PROTO_GetShiftState done [23:12:23]FM_GetShiftState done [23:12:23]opened in 1730160317 [23:12:23]opened+sec_in_day 1730246717 [23:12:23]quantity*price = 43000 [23:12:23]sum+1 = 43001 [23:12:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 430.00 НСП 1% : 3.80 НДС 12% : 45.66 Наличными: 0.00 Безнал.: 430.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 76 29.10.2024 23:12 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37914 ФПД: 67055414915890 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231225&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37914&fm=67055414915890&tin=02508201610067®Number=0000000000091684&sum=43000 0 [23:12:25]StoreToDocumentArchive [23:12:25]shift 552 fd 37914 [23:12:25]save to /storage/0552/doc_00037914 [23:12:25]save last doc name /storage/0552/doc_00037914 to /storage/kkm_last_doc_name [23:12:25]save OK [23:12:25]Clear old archive folders... [23:12:25]ProcessDocumentItem done err = 0, tmpTLVsize=295 [23:12:25]tlvbuf is 01852680 [23:12:25]SAM_PROTO_ClearQueue [23:12:25]wFMCommunicate request_size=4 [23:12:25]MH_SAM_APDU [23:12:25]CAPDU: 80 09 00 00 [23:12:25]Write to MH i2c: E2 08 00 A1 04 80 09 00 00 00 00 00 00 17 [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 A1 04 00 90 00 19 [23:12:25]RAPDU: 90 00 [23:12:25]wFMCommunicate OK [23:12:25]SAM_PROTO_ClearQueue done [23:12:25]KKMCreateOFDPacket [23:12:25]OFDProtocolAddRootSTLVToBuf [23:12:25]FM_MakeSignedData [23:12:25]FM_MakeSignedData [23:12:25]SAM_PROTO_SignData [23:12:25]wFMCommunicate request_size=4 [23:12:25]MH_SAM_APDU [23:12:25]CAPDU: 80 0D 01 02 [23:12:25]Write to MH i2c: E2 08 00 A2 04 80 0D 01 02 00 00 00 00 1F [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 A2 04 00 90 00 1A [23:12:25]RAPDU: 90 00 [23:12:25]wFMCommunicate OK [23:12:25]wFMCommunicate request_size=255 [23:12:25]MH_SAM_APDU [23:12: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 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 D9 6B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 [23:12:25]Write to MH i2c: E2 02 01 A3 04 80 0D 02 02 FA 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 D9 6B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 00 00 15 [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 A3 04 00 90 00 1B [23:12:25]RAPDU: 90 00 [23:12:25]wFMCommunicate OK [23:12:25]wFMCommunicate request_size=54 [23:12:25]MH_SAM_APDU [23:12:25]CAPDU: 80 0D 02 02 31 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1A 94 00 00 35 04 06 00 3C FC 8E 2F B3 32 [23:12:25]Write to MH i2c: E2 39 00 A4 04 80 0D 02 02 31 00 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1A 94 00 00 35 04 06 00 3C FC 8E 2F B3 32 00 00 D1 [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 03 00 A4 04 00 90 00 1C [23:12:25]RAPDU: 90 00 [23:12:25]wFMCommunicate OK [23:12:25]wFMCommunicate request_size=4 [23:12:25]MH_SAM_APDU [23:12:25]CAPDU: 80 0D 03 02 [23:12:25]Write to MH i2c: E2 08 00 A5 04 80 0D 03 02 00 00 00 00 24 [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 0B 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 0B 00 A5 04 00 C2 0B 74 AE 32 83 2B 49 90 00 3D [23:12:25]RAPDU: C2 0B 74 AE 32 83 2B 49 90 00 [23:12:25]wFMCommunicate OK [23:12:25]SAM_PROTO_SignData done [23:12:25]FM_MakeSignedData done [23:12:25]CreateOFDProtocolMessage [23:12:25]wFMCommunicate request_size=4 [23:12:25]MH_SAM_APDU [23:12:25]CAPDU: 80 11 00 00 [23:12:25]Write to MH i2c: E2 08 00 A6 04 80 11 00 00 00 00 00 00 24 [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:25]Read from MH i2c: E2 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 17 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: E2 17 00 A6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [23:12:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:12:25]wFMCommunicate OK [23:12:25]CreateOFDProtocolMessage done [23:12:25]OFDSenderStorePacket 37914 [23:12:25]StoreOFDPacket docnum=37914 [23:12:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3B 01 00 00 A9 EF 33 01 7B 88 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 D9 6B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1A 94 00 00 35 04 06 00 3C FC 8E 2F B3 32 C2 0B 74 AE 32 83 2B 49 [23:12:25]CheckFolder [23:12:25]dirname=/storage/ofd_packets [23:12:25]CheckFolder done [23:12:25]ProducePacketName [23:12:25]name=ofd_packets/00037914 [23:12:25]NVStorageSaveData ofd_packets/00037914 [23:12:25]File name is /storage/ofd_packets/00037914 [23:12:25]Write 345 bytes [23:12:25]NVStorageSaveData done [23:12:25]OFDSenderStorePacket done [23:12:25]KKMCreateOFDPacket done [23:12:25]NVStorageSaveData kkm_last_timestamp [23:12:25]File name is /storage/kkm_last_timestamp [23:12:25]Write 4 bytes [23:12:25]NVStorageSaveData done [23:12:25]ExternCall_PrintAddStr [23:12:25]wPrintStart [23:12:25]Write to MH i2c: 01 00 00 A7 04 AB [23:12:25]Write i2c OK [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: 01 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: 01 07 00 [23:12:25]MH_I2C_Read... [23:12:25]Read from MH i2c: 01 07 00 A7 04 00 00 00 00 00 FF 0F C0 [23:12:25]RasterBufferAndPrint [23:12:25]line Счет N : (3)35214 [23:12:25]line ИНН: 02508201610067 [23:12:25]line Контрольно-Кассовый Чек [23:12:25]line ПРОДАЖА [23:12:25]line Товар: 4700001060473 [23:12:25]line Настойка Вишня на коньяке 0,5л [23:12:25]line 1.000 * 430.00 [23:12:25]line = 430.00 [23:12:25]line НДС 12% НСП 1% [23:12:25]line > о реализуемом товаре [23:12:25]line ИТОГО: 430.00 [23:12:25]line НСП 1% : 3.80 [23:12:25]line НДС 12% : 45.66 [23:12:25]line Наличными: 0.00 [23:12:25]line Безнал.: 430.00 [23:12:25]line Место: АЗС № 126 "Партнер Нефть" [23:12:25]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:12:25]line СНО: Общий режим [23:12:25]line Чек 76 29.10.2024 23:12 [23:12:25]line Смена: 552 ФФД: 1.0 [23:12:25]line ЗНМ: 0300000092 [23:12:25]line РНМ: 0000000000091684 [23:12:25]line Версия ККМ: 001 [23:12:25]line Платежная система: Mbank [23:12:25]line ФМ: 0000000000871841 [23:12:25]line ФД: 37914 [23:12:25]line ФПД: 67055414915890 [23:12:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231225&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37914&fm=67055414915890&tin=02508201610067®Number=0000000000091684&sum=43000 [23:12:25]line 0 [23:12:25]OFD Sender: Processing packet 37914 [packets to send 42, broken 41] [23:12:25]ProducePacketName [23:12:25]name=ofd_packets/00037914 [23:12:25]OFD Sender: To server: pG, [23:12:25]CommunicateWithHost lk.salyk.kg:30040 [23:12:25]ConnectInit lk.salyk.kg [23:12:25]written 0, free lines is 4095 [23:12:26]Write to MH i2c: 01 00 00 D1 04 D5 [23:12:26]Write i2c OK [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: 01 [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: 01 07 00 [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: 01 07 00 D1 04 00 00 00 00 00 A6 0C 8E [23:12:26]RasterBufferAndPrint [23:12:26]line [23:12:26]line [23:12:26]line [23:12:26]line [23:12:26]line [23:12:26]written 0, free lines is 3242 [23:12:26]MH_Cut [23:12:26]Write to MH i2c: D1 01 00 D8 04 01 AE [23:12:26]Write i2c OK [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: D1 [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: D1 01 00 [23:12:26]MH_I2C_Read... [23:12:26]Read from MH i2c: D1 01 00 D8 04 00 AD [23:12:26]Write to MH i2c: 01 00 00 D9 04 DD [23:12:26]Write i2c OK [23:12:26]MH_I2C_Read... [23:12:27]*** Cut start [23:12:27]*** Partial cut [23:12:27]*** CUTSNS_PIN = 1 [23:12:27]*** CUTSNS_PIN = 0 [23:12:27]*** Brake cut motor [23:12:27]Read from MH i2c: 01 [23:12:27]MH_I2C_Read... [23:12:27]*** Stop cut motor [23:12:27]*** Cut end [23:12:27]Read from MH i2c: 01 07 00 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: 01 07 00 D9 04 00 00 00 00 00 FF 0F F2 [23:12:27]process_action close_receipt done [23:12:27]requested_data is exist [23:12:27]produce_requested_data [23:12:27]requested_item fm.sn is exist - process it [23:12:27]wFMCommunicate request_size=4 [23:12:27]MH_SAM_APDU [23:12:27]CAPDU: 80 11 00 00 [23:12:27]Write to MH i2c: E2 08 00 DA 04 80 11 00 00 00 00 00 00 58 [23:12:27]Write i2c OK [23:12:27]MH_I2C_Read... [23:12:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:27]Read from MH i2c: E2 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: E2 17 00 [23:12:27]MH_I2C_Read... [23:12:27]Read from MH i2c: E2 17 00 DA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A8 [23:12:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:12:27]wFMCommunicate OK [23:12:27]requested_item fd.num is exist - process it [23:12:27]SAM_PROTO_GetFieldsCounters [23:12:27]wFMCommunicate request_size=4 [23:12:27]MH_SAM_APDU [23:12:27]CAPDU: 80 13 00 00 [23:12:27]Write to MH i2c: E2 08 00 DB 04 80 13 00 00 00 00 00 00 5B [23:12:27]Write i2c OK [23:12:27]MH_I2C_Read... [23:12:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 62 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 62 00 DB 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1A 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 38 [23:12:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1A 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4C 00 00 00 5E 04 04 00 4C 00 00 00 57 04 04 00 4D 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:28]wFMCommunicate OK [23:12:28]SAM_PROTO_GetFieldsCounters done [23:12:28]requested_item shift.num is exist - process it [23:12:28]requested_item shift.opened is exist - process it [23:12:28]req_shift_opened [23:12:28]FM_GetShiftState [23:12:28]SAM_PROTO_GetShiftState [23:12:28]wFMCommunicate request_size=4 [23:12:28]MH_SAM_APDU [23:12:28]CAPDU: 80 13 01 00 [23:12:28]Write to MH i2c: E2 08 00 DC 04 80 13 01 00 00 00 00 00 5D [23:12:28]Write i2c OK [23:12:28]MH_I2C_Read... [23:12:28]Connected sock=11 [23:12:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 3B 01 00 00 A9 EF 33 01 7B 88 5A 03 01 00 03 00 27 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 34 37 33 06 04 35 00 D0 9D D0 B0 D1 81 D1 82 D0 BE D0 B9 D0 BA D0 B0 20 D0 92 D0 B8 D1 88 D0 BD D1 8F 20 D0 BD D0 B0 20 D0 BA D0 BE D0 BD D1 8C D1 8F D0 BA D0 B5 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F8 A7 00 00 00 00 13 04 06 00 F8 A7 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F8 A7 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7C 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 D6 11 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 A7 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4C 00 00 00 F4 03 04 00 D9 6B 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1A 94 00 00 35 04 06 00 3C FC 8E 2F B3 32 C2 0B 74 AE 32 83 2B 49 [23:12:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:28]Read from MH i2c: E2 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 0E 00 [23:12:28]MH_I2C_Read... [23:12:28]Read from MH i2c: E2 0E 00 DC 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 D3 [23:12:28]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:12:28]wFMCommunicate OK [23:12:28]SAM_PROTO_GetShiftState done [23:12:28]FM_GetShiftState done [23:12:28]req_shift_opened done [23:12:28]requested_item shift.open_date is exist - process it [23:12:28]req_shift_open_date [23:12:28]req_shift_open_date done [23:12:28]produce_requested_data done [23:12:28]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37914,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [23:12:28]process_action_free close_receipt [23:12:28]json_value_free [23:12:28]json_value_free done [23:12:28]process_json_proto returns [23:12:28]Send response to host [23:12:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37914,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [23:12:28]free response buf [23:12:28]execute_script done [23:12:28]execute_script returns [23:12:28]free content buf [23:12:28]Sock 7.Close socket [23:12:28]Sock 7.Thread stoped [23:12:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 30 22 47 00 D2 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 38 37 31 38 34 31 10 04 04 00 1A 94 00 00 F4 03 04 00 CB 16 21 67 B6 04 01 00 00 04 48 8F BA 0E D3 25 08 [23:12:28]CommunicateWithHost err = 0 [23:12:28]CheckOFDResponse [23:12:28]1017 (14) - 77093643461234 [23:12:28]1041 (16) - 0000000000871841 [23:12:28]1040 (4) - 37914 [23:12:28]1012 (4) - 29.10.2024 17:09 [23:12:28]1206 (1) - 0 [23:12:28]OFD Sender: Remove packet 37914 [23:12:28]ProducePacketName [23:12:28]name=ofd_packets/00037914 [23:12:28]NVStorageDeleteData [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:13:59]accept exits with 9 [23:13:59]New connection [23:13:59]New thread 3067207012 created [23:13:59]Thread 3067063652 joined [23:13:59]Waiting for new connection... [23:13:59] Sock 9.Parse request [23:13:59]Sock 9.Check first char [23:13:59]Sock 9.First char is OK [23:13:59]request: POST /json_proto HTTP/1.0 [23:13:59]Method: POST [23:13:59]URL: /json_proto [23:13:59]Method is POST - this is cgi request [23:13:59]url: /json_proto [23:13:59]query_string will be loaded in cgi processing [23:13:59]execute_cgi json_proto POST (null) [23:13:59]execute_cgi path=json_proto method=POST [23:13:59]POST find Content-Length [23:13:59]Host: 172.17.40.196:8080 [23:13:59]Content-Length: 801 [23:13:59]Content-Type: application/json [23:13:59] [23:13:59]POST finish read [23:13:59]Found Content-Length = 801 [23:13:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35215", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.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" : 14.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:13:59]execute_script... [23:13:59]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35215", "tax_sys" : 0, "items" : [ { "code": "2000053020015", "name": "\u0411\u0443\u043C\u0430\u0436\u043D\u044B\u0435 \u0441\u0442\u0430\u043A\u0430\u043D\u044B 250\u043C\u043B 1\u0448\u0442", "price" : 7.00, "quantity" : 2.000, "sum" : 14.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" : 14.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [23:13:59]POST & json_proto [23:13:59]process_json_proto [23:13:59]json parsed OK: [23:13:59]protocol is kg_v1.0 [23:13:59]action value=close_receipt [23:13:59]process_action close_receipt [23:13:59]cmd_close_receipt [23:13:59]MH_GetDate [23:13:59]Write to MH i2c: F0 00 00 DD 04 D0 [23:13:59]Write i2c OK [23:13:59]MH_I2C_Read... [23:13:59]Read from MH i2c: F0 [23:13:59]MH_I2C_Read... [23:13:59]Read from MH i2c: F0 09 00 [23:13:59]MH_I2C_Read... [23:13:59]Read from MH i2c: F0 09 00 DD 04 00 39 6C 21 67 5B 68 A1 66 D0 [23:13:59]GetLastDocTimeStamp 1730243545 [23:13:59]current date 1730243641 [23:13:59]FM_GetShiftState [23:13:59]SAM_PROTO_GetShiftState [23:13:59]wFMCommunicate request_size=4 [23:13:59]MH_SAM_APDU [23:13:59]CAPDU: 80 13 01 00 [23:13:59]Write to MH i2c: E2 08 00 DE 04 80 13 01 00 00 00 00 00 5F [23:13:59]Write i2c OK [23:13:59]MH_I2C_Read... [23:13:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:13:59]Read from MH i2c: E2 [23:13:59]MH_I2C_Read... [23:13:59]Read from MH i2c: E2 0E 00 [23:13:59]MH_I2C_Read... [23:13:59]Read from MH i2c: E2 0E 00 DE 04 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 D5 [23:13:59]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:13:59]wFMCommunicate OK [23:13:59]SAM_PROTO_GetShiftState done [23:13:59]FM_GetShiftState done [23:13:59]opened in 1730160317 [23:13:59]opened+sec_in_day 1730246717 [23:13:59]quantity*price = 1400 [23:13:59]sum+1 = 1401 [23:13:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 14.00 НСП 1% : 0.12 НДС 12% : 1.49 Наличными: 0.00 Безнал.: 14.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 77 29.10.2024 23:14 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 Платежная система: Mbank ФМ: 0000000000871841 ФД: 37915 ФПД: 280122924091205 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231401&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37915&fm=280122924091205&tin=02508201610067®Number=0000000000091684&sum=1400 0 [23:14:00]StoreToDocumentArchive [23:14:00]shift 552 fd 37915 [23:14:00]save to /storage/0552/doc_00037915 [23:14:00]save last doc name /storage/0552/doc_00037915 to /storage/kkm_last_doc_name [23:14:00]save OK [23:14:00]Clear old archive folders... [23:14:01]ProcessDocumentItem done err = 0, tmpTLVsize=287 [23:14:01]tlvbuf is 018FD070 [23:14:01]SAM_PROTO_ClearQueue [23:14:01]wFMCommunicate request_size=4 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 09 00 00 [23:14:01]Write to MH i2c: E2 08 00 EB 04 80 09 00 00 00 00 00 00 61 [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 EB 04 00 90 00 63 [23:14:01]RAPDU: 90 00 [23:14:01]wFMCommunicate OK [23:14:01]SAM_PROTO_ClearQueue done [23:14:01]KKMCreateOFDPacket [23:14:01]OFDProtocolAddRootSTLVToBuf [23:14:01]FM_MakeSignedData [23:14:01]FM_MakeSignedData [23:14:01]SAM_PROTO_SignData [23:14:01]wFMCommunicate request_size=4 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 0D 01 02 [23:14:01]Write to MH i2c: E2 08 00 EC 04 80 0D 01 02 00 00 00 00 69 [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 EC 04 00 90 00 64 [23:14:01]RAPDU: 90 00 [23:14:01]wFMCommunicate OK [23:14:01]wFMCommunicate request_size=255 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 0D 02 02 FA 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 05 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 39 6C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 [23:14:01]Write to MH i2c: E2 02 01 ED 04 80 0D 02 02 FA 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 05 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 39 6C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 00 00 C2 [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 ED 04 00 90 00 65 [23:14:01]RAPDU: 90 00 [23:14:01]wFMCommunicate OK [23:14:01]wFMCommunicate request_size=46 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 0D 02 02 29 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1B 94 00 00 35 04 06 00 FE C5 33 62 47 45 [23:14:01]Write to MH i2c: E2 31 00 EE 04 80 0D 02 02 29 00 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1B 94 00 00 35 04 06 00 FE C5 33 62 47 45 00 00 8C [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 03 00 EE 04 00 90 00 66 [23:14:01]RAPDU: 90 00 [23:14:01]wFMCommunicate OK [23:14:01]wFMCommunicate request_size=4 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 0D 03 02 [23:14:01]Write to MH i2c: E2 08 00 EF 04 80 0D 03 02 00 00 00 00 6E [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 0B 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 0B 00 EF 04 00 D9 44 64 B9 13 73 B3 D5 90 00 B7 [23:14:01]RAPDU: D9 44 64 B9 13 73 B3 D5 90 00 [23:14:01]wFMCommunicate OK [23:14:01]SAM_PROTO_SignData done [23:14:01]FM_MakeSignedData done [23:14:01]CreateOFDProtocolMessage [23:14:01]wFMCommunicate request_size=4 [23:14:01]MH_SAM_APDU [23:14:01]CAPDU: 80 11 00 00 [23:14:01]Write to MH i2c: E2 08 00 F0 04 80 11 00 00 00 00 00 00 6E [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:14:01]Read from MH i2c: E2 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 17 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: E2 17 00 F0 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BE [23:14:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:14:01]wFMCommunicate OK [23:14:01]CreateOFDProtocolMessage done [23:14:01]OFDSenderStorePacket 37915 [23:14:01]StoreOFDPacket docnum=37915 [23:14:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 D2 1D 2B 01 4D 1B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 05 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 39 6C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1B 94 00 00 35 04 06 00 FE C5 33 62 47 45 D9 44 64 B9 13 73 B3 D5 [23:14:01]CheckFolder [23:14:01]dirname=/storage/ofd_packets [23:14:01]CheckFolder done [23:14:01]ProducePacketName [23:14:01]name=ofd_packets/00037915 [23:14:01]NVStorageSaveData ofd_packets/00037915 [23:14:01]File name is /storage/ofd_packets/00037915 [23:14:01]Write 337 bytes [23:14:01]NVStorageSaveData done [23:14:01]OFDSenderStorePacket done [23:14:01]KKMCreateOFDPacket done [23:14:01]NVStorageSaveData kkm_last_timestamp [23:14:01]File name is /storage/kkm_last_timestamp [23:14:01]Write 4 bytes [23:14:01]NVStorageSaveData done [23:14:01]ExternCall_PrintAddStr [23:14:01]wPrintStart [23:14:01]Write to MH i2c: 01 00 00 F1 04 F5 [23:14:01]Write i2c OK [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: 01 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: 01 07 00 [23:14:01]MH_I2C_Read... [23:14:01]Read from MH i2c: 01 07 00 F1 04 00 00 00 00 00 FF 0F 0A [23:14:01]RasterBufferAndPrint [23:14:01]line Счет N : (3)35215 [23:14:01]line ИНН: 02508201610067 [23:14:01]line Контрольно-Кассовый Чек [23:14:01]line ПРОДАЖА [23:14:01]line Товар: 2000053020015 [23:14:01]line Бумажные стаканы 250мл 1шт [23:14:01]line 2.000 * 7.00 [23:14:01]line = 14.00 [23:14:01]line НДС 12% НСП 1% [23:14:01]line > о реализуемом товаре [23:14:01]line ИТОГО: 14.00 [23:14:01]line НСП 1% : 0.12 [23:14:01]line НДС 12% : 1.49 [23:14:01]line Наличными: 0.00 [23:14:01]line Безнал.: 14.00 [23:14:01]line Место: АЗС № 126 "Партнер Нефть" [23:14:01]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:14:01]line СНО: Общий режим [23:14:01]line Чек 77 29.10.2024 23:14 [23:14:01]line Смена: 552 ФФД: 1.0 [23:14:01]line ЗНМ: 0300000092 [23:14:01]line РНМ: 0000000000091684 [23:14:01]line Версия ККМ: 001 [23:14:01]line Платежная система: Mbank [23:14:01]line ФМ: 0000000000871841 [23:14:01]line ФД: 37915 [23:14:01]line ФПД: 280122924091205 [23:14:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T231401&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37915&fm=280122924091205&tin=02508201610067®Number=0000000000091684&sum=1400 [23:14:01]line 0 [23:14:01]OFD Sender: Processing packet 37915 [packets to send 42, broken 41] [23:14:01]ProducePacketName [23:14:01]name=ofd_packets/00037915 [23:14:01]OFD Sender: To server: pG, [23:14:01]CommunicateWithHost lk.salyk.kg:30040 [23:14:01]ConnectInit lk.salyk.kg [23:14:01]written 0, free lines is 4095 [23:14:02]Write to MH i2c: 01 00 00 1B 05 20 [23:14:02]Write i2c OK [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: 01 [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: 01 07 00 [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: 01 07 00 1B 05 00 00 00 00 00 9C 0C CF [23:14:02]RasterBufferAndPrint [23:14:02]line [23:14:02]line [23:14:02]line [23:14:02]line [23:14:02]line [23:14:02]written 0, free lines is 3232 [23:14:02]MH_Cut [23:14:02]Write to MH i2c: D1 01 00 22 05 01 F9 [23:14:02]Write i2c OK [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: D1 [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: D1 01 00 [23:14:02]MH_I2C_Read... [23:14:02]Read from MH i2c: D1 01 00 22 05 00 F8 [23:14:02]Write to MH i2c: 01 00 00 23 05 28 [23:14:02]Write i2c OK [23:14:02]MH_I2C_Read... [23:14:03]*** Cut start [23:14:03]*** Partial cut [23:14:03]*** CUTSNS_PIN = 1 [23:14:03]*** CUTSNS_PIN = 0 [23:14:03]*** Brake cut motor [23:14:03]Connected sock=11 [23:14:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 33 01 00 00 D2 1D 2B 01 4D 1B 5A 03 01 00 03 00 1F 01 1E 04 01 00 01 23 04 71 00 8A 04 0D 00 32 30 30 30 30 35 33 30 32 30 30 31 35 06 04 2D 00 D0 91 D1 83 D0 BC D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 D1 81 D1 82 D0 B0 D0 BA D0 B0 D0 BD D1 8B 20 32 35 30 D0 BC D0 BB 20 31 D1 88 D1 82 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 02 00 00 00 00 13 04 06 00 78 05 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 05 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0C 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 95 00 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 78 05 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 39 6C 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1B 94 00 00 35 04 06 00 FE C5 33 62 47 45 D9 44 64 B9 13 73 B3 D5 [23:14:03]Read from MH i2c: 01 [23:14:03]MH_I2C_Read... [23:14:03]*** Stop cut motor [23:14:03]*** Cut end [23:14:03]Read from MH i2c: 01 07 00 [23:14:03]MH_I2C_Read... [23:14:03]Read from MH i2c: 01 07 00 23 05 00 00 00 00 00 FF 0F 3D [23:14:03]process_action close_receipt done [23:14:03]requested_data is exist [23:14:03]produce_requested_data [23:14:03]requested_item fm.sn is exist - process it [23:14:03]wFMCommunicate request_size=4 [23:14:03]MH_SAM_APDU [23:14:03]CAPDU: 80 11 00 00 [23:14:03]Write to MH i2c: E2 08 00 24 05 80 11 00 00 00 00 00 00 A3 [23:14:03]Write i2c OK [23:14:03]MH_I2C_Read... [23:14:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:14:03]Read from MH i2c: E2 [23:14:03]MH_I2C_Read... [23:14:03]Read from MH i2c: E2 17 00 [23:14:03]MH_I2C_Read... [23:14:03]Read from MH i2c: E2 17 00 24 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 F3 [23:14:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:14:03]wFMCommunicate OK [23:14:03]requested_item fd.num is exist - process it [23:14:03]SAM_PROTO_GetFieldsCounters [23:14:03]wFMCommunicate request_size=4 [23:14:03]MH_SAM_APDU [23:14:03]CAPDU: 80 13 00 00 [23:14:03]Write to MH i2c: E2 08 00 25 05 80 13 00 00 00 00 00 00 A6 [23:14:03]Write i2c OK [23:14:03]MH_I2C_Read... [23:14:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:14:04]Read from MH i2c: E2 [23:14:04]MH_I2C_Read... [23:14:04]Read from MH i2c: E2 62 00 [23:14:04]MH_I2C_Read... [23:14:04]Read from MH i2c: E2 62 00 25 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1B 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 87 [23:14:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1B 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4D 00 00 00 5E 04 04 00 4D 00 00 00 57 04 04 00 4E 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:14:04]wFMCommunicate OK [23:14:04]SAM_PROTO_GetFieldsCounters done [23:14:04]requested_item shift.num is exist - process it [23:14:04]requested_item shift.opened is exist - process it [23:14:04]req_shift_opened [23:14:04]FM_GetShiftState [23:14:04]SAM_PROTO_GetShiftState [23:14:04]wFMCommunicate request_size=4 [23:14:04]MH_SAM_APDU [23:14:04]CAPDU: 80 13 01 00 [23:14:04]Write to MH i2c: E2 08 00 26 05 80 13 01 00 00 00 00 00 A8 [23:14:04]Write i2c OK [23:14:04]MH_I2C_Read... [23:14:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:14:04]Read from MH i2c: E2 [23:14:04]MH_I2C_Read... [23:14:04]Read from MH i2c: E2 0E 00 [23:14:04]MH_I2C_Read... [23:14:04]Read from MH i2c: E2 0E 00 26 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 1E [23:14:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:14:04]wFMCommunicate OK [23:14:04]SAM_PROTO_GetShiftState done [23:14:04]FM_GetShiftState done [23:14:04]req_shift_opened done [23:14:04]requested_item shift.open_date is exist - process it [23:14:04]req_shift_open_date [23:14:04]req_shift_open_date done [23:14:04]produce_requested_data done [23:14:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37915,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [23:14:04]process_action_free close_receipt [23:14:04]json_value_free [23:14:04]json_value_free done [23:14:04]process_json_proto returns [23:14:04]Send response to host [23:14:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37915,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [23:14:04]free response buf [23:14:04]execute_script done [23:14:04]execute_script returns [23:14:04]free content buf [23:14:04]Sock 9.Close socket [23:14:04]Sock 9.Thread stoped [23:14:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 5A 03 47 00 EB 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1B 94 00 00 F4 03 04 00 2B 17 21 67 B6 04 01 00 00 74 CE 3A B5 B7 59 0E 4E [23:14:04]CommunicateWithHost err = 0 [23:14:04]CheckOFDResponse [23:14:04]1017 (14) - 77093643461234 [23:14:04]1041 (16) - 0000000000871841 [23:14:04]1040 (4) - 37915 [23:14:04]1012 (4) - 29.10.2024 17:11 [23:14:04]1206 (1) - 0 [23:14:04]OFD Sender: Remove packet 37915 [23:14:04]ProducePacketName [23:14:04]name=ofd_packets/00037915 [23:14:04]NVStorageDeleteData [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:40]OFD Sender: No OFD packet to send [23:20:45]OFD Sender: No OFD packet to send [23:20:50]OFD Sender: No OFD packet to send [23:20:55]OFD Sender: No OFD packet to send [23:21:05]OFD Sender: No OFD packet to send [23:21:10]OFD Sender: No OFD packet to send [23:21:15]OFD Sender: No OFD packet to send [23:21:20]OFD Sender: No OFD packet to send [23:21:25]OFD Sender: No OFD packet to send [23:21:30]OFD Sender: No OFD packet to send [23:21:35]OFD Sender: No OFD packet to send [23:21:40]OFD Sender: No OFD packet to send [23:21:45]OFD Sender: No OFD packet to send [23:21:50]OFD Sender: No OFD packet to send [23:21:55]OFD Sender: No OFD packet to send [23:22:00]OFD Sender: No OFD packet to send [23:22:05]OFD Sender: No OFD packet to send [23:22:10]OFD Sender: No OFD packet to send [23:22:15]OFD Sender: No OFD packet to send [23:22:20]OFD Sender: No OFD packet to send [23:22:25]OFD Sender: No OFD packet to send [23:22:30]OFD Sender: No OFD packet to send [23:22:35]OFD Sender: No OFD packet to send [23:22:40]OFD Sender: No OFD packet to send [23:22:45]OFD Sender: No OFD packet to send [23:22:50]OFD Sender: No OFD packet to send [23:22:55]OFD Sender: No OFD packet to send [23:23:00]OFD Sender: No OFD packet to send [23:23:05]OFD Sender: No OFD packet to send [23:23:10]OFD Sender: No OFD packet to send [23:23:13]ConnectInit Can't connect to host [23:23:15]OFD Sender: No OFD packet to send [23:23:25]OFD Sender: No OFD packet to send [23:23:30]OFD Sender: No OFD packet to send [23:23:35]OFD Sender: No OFD packet to send [23:23:40]OFD Sender: No OFD packet to send [23:23:45]OFD Sender: No OFD packet to send [23:23:50]OFD Sender: No OFD packet to send [23:23:55]OFD Sender: No OFD packet to send [23:24:00]OFD Sender: No OFD packet to send [23:24:05]OFD Sender: No OFD packet to send [23:24:10]OFD Sender: No OFD packet to send [23:24:15]OFD Sender: No OFD packet to send [23:24:20]OFD Sender: No OFD packet to send [23:24:25]OFD Sender: No OFD packet to send [23:24:30]OFD Sender: No OFD packet to send [23:24:35]OFD Sender: No OFD packet to send [23:24:40]OFD Sender: No OFD packet to send [23:24:45]OFD Sender: No OFD packet to send [23:24:50]OFD Sender: No OFD packet to send [23:24:55]OFD Sender: No OFD packet to send [23:25:00]OFD Sender: No OFD packet to send [23:25:05]OFD Sender: No OFD packet to send [23:25:10]OFD Sender: No OFD packet to send [23:25:15]OFD Sender: No OFD packet to send [23:25:20]OFD Sender: No OFD packet to send [23:25:25]OFD Sender: No OFD packet to send [23:25:30]OFD Sender: No OFD packet to send [23:25:35]OFD Sender: No OFD packet to send [23:25:36]ConnectInit Can't connect to host [23:25:40]OFD Sender: No OFD packet to send [23:25:45]OFD Sender: No OFD packet to send [23:25:50]OFD Sender: No OFD packet to send [23:25:55]OFD Sender: No OFD packet to send [23:26:00]OFD Sender: No OFD packet to send [23:26:05]OFD Sender: No OFD packet to send [23:26:10]OFD Sender: No OFD packet to send [23:26:15]OFD Sender: No OFD packet to send [23:26:20]OFD Sender: No OFD packet to send [23:26:25]OFD Sender: No OFD packet to send [23:26:30]OFD Sender: No OFD packet to send [23:26:35]OFD Sender: No OFD packet to send [23:26:40]OFD Sender: No OFD packet to send [23:26:45]OFD Sender: No OFD packet to send [23:26:50]OFD Sender: No OFD packet to send [23:26:55]OFD Sender: No OFD packet to send [23:27:00]OFD Sender: No OFD packet to send [23:27:05]OFD Sender: No OFD packet to send [23:27:10]OFD Sender: No OFD packet to send [23:27:15]OFD Sender: No OFD packet to send [23:27:20]OFD Sender: No OFD packet to send [23:27:25]OFD Sender: No OFD packet to send [23:27:30]OFD Sender: No OFD packet to send [23:27:35]OFD Sender: No OFD packet to send [23:27:40]OFD Sender: No OFD packet to send [23:27:45]OFD Sender: No OFD packet to send [23:27:50]OFD Sender: No OFD packet to send [23:27:55]OFD Sender: No OFD packet to send [23:28:00]OFD Sender: No OFD packet to send [23:28:05]OFD Sender: No OFD packet to send [23:28:10]OFD Sender: No OFD packet to send [23:28:15]OFD Sender: No OFD packet to send [23:28:20]OFD Sender: No OFD packet to send [23:28:25]OFD Sender: No OFD packet to send [23:28:30]OFD Sender: No OFD packet to send [23:28:35]OFD Sender: No OFD packet to send [23:28:40]OFD Sender: No OFD packet to send [23:28:45]OFD Sender: No OFD packet to send [23:28:50]OFD Sender: No OFD packet to send [23:28:55]OFD Sender: No OFD packet to send [23:29:00]OFD Sender: No OFD packet to send [23:29:05]OFD Sender: No OFD packet to send [23:29:10]OFD Sender: No OFD packet to send [23:29:15]OFD Sender: No OFD packet to send [23:29:20]OFD Sender: No OFD packet to send [23:29:25]OFD Sender: No OFD packet to send [23:29:30]OFD Sender: No OFD packet to send [23:29:35]OFD Sender: No OFD packet to send [23:29:40]OFD Sender: No OFD packet to send [23:29:45]OFD Sender: No OFD packet to send [23:29:50]OFD Sender: No OFD packet to send [23:29:55]OFD Sender: No OFD packet to send [23:30:00]OFD Sender: No OFD packet to send [23:30:05]OFD Sender: No OFD packet to send [23:30:10]OFD Sender: No OFD packet to send [23:30:15]OFD Sender: No OFD packet to send [23:30:20]OFD Sender: No OFD packet to send [23:30:25]OFD Sender: No OFD packet to send [23:30:30]OFD Sender: No OFD packet to send [23:30:35]OFD Sender: No OFD packet to send [23:30:40]OFD Sender: No OFD packet to send [23:30:45]OFD Sender: No OFD packet to send [23:30:50]OFD Sender: No OFD packet to send [23:30:55]OFD Sender: No OFD packet to send [23:31:00]OFD Sender: No OFD packet to send [23:31:05]OFD Sender: No OFD packet to send [23:31:10]OFD Sender: No OFD packet to send [23:31:15]OFD Sender: No OFD packet to send [23:31:20]OFD Sender: No OFD packet to send [23:31:25]OFD Sender: No OFD packet to send [23:31:30]OFD Sender: No OFD packet to send [23:31:35]OFD Sender: No OFD packet to send [23:31:40]OFD Sender: No OFD packet to send [23:31:45]OFD Sender: No OFD packet to send [23:31:50]OFD Sender: No OFD packet to send [23:31:55]OFD Sender: No OFD packet to send [23:32:00]OFD Sender: No OFD packet to send [23:32:05]OFD Sender: No OFD packet to send [23:32:10]OFD Sender: No OFD packet to send [23:32:15]OFD Sender: No OFD packet to send [23:32:20]OFD Sender: No OFD packet to send [23:32:25]OFD Sender: No OFD packet to send [23:32:30]OFD Sender: No OFD packet to send [23:32:35]OFD Sender: No OFD packet to send [23:32:40]OFD Sender: No OFD packet to send [23:32:45]OFD Sender: No OFD packet to send [23:32:50]OFD Sender: No OFD packet to send [23:32:55]OFD Sender: No OFD packet to send [23:33:00]OFD Sender: No OFD packet to send [23:33:05]OFD Sender: No OFD packet to send [23:33:10]OFD Sender: No OFD packet to send [23:33:15]OFD Sender: No OFD packet to send [23:33:20]OFD Sender: No OFD packet to send [23:33:25]OFD Sender: No OFD packet to send [23:33:30]OFD Sender: No OFD packet to send [23:33:35]OFD Sender: No OFD packet to send [23:33:40]OFD Sender: No OFD packet to send [23:33:45]OFD Sender: No OFD packet to send [23:33:50]OFD Sender: No OFD packet to send [23:33:55]OFD Sender: No OFD packet to send [23:34:00]OFD Sender: No OFD packet to send [23:34:00]accept exits with 7 [23:34:00]New connection [23:34:00]New thread 3067063652 created [23:34:00]Thread 3067207012 joined [23:34:00]Waiting for new connection... [23:34:00] Sock 7.Parse request [23:34:00]Sock 7.Check first char [23:34:00]Sock 7.First char is OK [23:34:00]request: POST /json_proto HTTP/1.0 [23:34:00]Method: POST [23:34:00]URL: /json_proto [23:34:00]Method is POST - this is cgi request [23:34:00]url: /json_proto [23:34:00]query_string will be loaded in cgi processing [23:34:00]execute_cgi json_proto POST (null) [23:34:00]execute_cgi path=json_proto method=POST [23:34:00]POST find Content-Length [23:34:00]Host: 172.17.40.196:8080 [23:34:00]Content-Length: 634 [23:34:00]Content-Type: application/json [23:34:00] [23:34:00]POST finish read [23:34:00]Found Content-Length = 634 [23:34:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35216", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 3.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" ] } } [23:34:00]execute_script... [23:34: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)35216", "tax_sys" : 0, "items" : [ { "code": "2000039450010", "name": "\u0427\u0430\u0439 \u0437\u0435\u043B\u0435\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 3.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" ] } } [23:34:00]POST & json_proto [23:34:00]process_json_proto [23:34:00]json parsed OK: [23:34:00]protocol is kg_v1.0 [23:34:00]action value=close_receipt [23:34:00]process_action close_receipt [23:34:00]cmd_close_receipt [23:34:00]MH_GetDate [23:34:00]Write to MH i2c: F0 00 00 27 05 1B [23:34:00]Write i2c OK [23:34:00]MH_I2C_Read... [23:34:00]Read from MH i2c: F0 [23:34:00]MH_I2C_Read... [23:34:00]Read from MH i2c: F0 09 00 [23:34:00]MH_I2C_Read... [23:34:00]Read from MH i2c: F0 09 00 27 05 00 EA 70 21 67 5B 68 A1 66 D0 [23:34:00]GetLastDocTimeStamp 1730243641 [23:34:00]current date 1730244842 [23:34:00]FM_GetShiftState [23:34:00]SAM_PROTO_GetShiftState [23:34:00]wFMCommunicate request_size=4 [23:34:00]MH_SAM_APDU [23:34:00]CAPDU: 80 13 01 00 [23:34:00]Write to MH i2c: E2 08 00 28 05 80 13 01 00 00 00 00 00 AA [23:34:00]Write i2c OK [23:34:00]MH_I2C_Read... [23:34:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:00]Read from MH i2c: E2 [23:34:00]MH_I2C_Read... [23:34:00]Read from MH i2c: E2 0E 00 [23:34:00]MH_I2C_Read... [23:34:00]Read from MH i2c: E2 0E 00 28 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 20 [23:34:00]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:34:00]wFMCommunicate OK [23:34:00]SAM_PROTO_GetShiftState done [23:34:00]FM_GetShiftState done [23:34:00]opened in 1730160317 [23:34:00]opened+sec_in_day 1730246717 [23:34:00]quantity*price = 12000 [23:34:00]sum+1 = 12001 [23:34:00]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 120.00 НСП 1% : 1.06 НДС 12% : 12.74 Наличными: 120.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 78 29.10.2024 23:34 Смена: 552 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37916 ФПД: 251403857862357 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T233402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37916&fm=251403857862357&tin=02508201610067®Number=0000000000091684&sum=12000 0 [23:34:01]StoreToDocumentArchive [23:34:01]shift 552 fd 37916 [23:34:01]save to /storage/0552/doc_00037916 [23:34:01]save last doc name /storage/0552/doc_00037916 to /storage/kkm_last_doc_name [23:34:01]save OK [23:34:01]Clear old archive folders... [23:34:01]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:34:01]tlvbuf is 0184F8A0 [23:34:01]SAM_PROTO_ClearQueue [23:34:01]wFMCommunicate request_size=4 [23:34:01]MH_SAM_APDU [23:34:01]CAPDU: 80 09 00 00 [23:34:01]Write to MH i2c: E2 08 00 35 05 80 09 00 00 00 00 00 00 AC [23:34:01]Write i2c OK [23:34:01]MH_I2C_Read... [23:34:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:34:01]Read from MH i2c: E2 [23:34:01]MH_I2C_Read... [23:34:01]Read from MH i2c: E2 03 00 [23:34:01]MH_I2C_Read... [23:34:01]Read from MH i2c: E2 03 00 35 05 00 90 00 AE [23:34:01]RAPDU: 90 00 [23:34:01]wFMCommunicate OK [23:34:01]SAM_PROTO_ClearQueue done [23:34:01]KKMCreateOFDPacket [23:34:01]OFDProtocolAddRootSTLVToBuf [23:34:01]FM_MakeSignedData [23:34:01]FM_MakeSignedData [23:34:01]SAM_PROTO_SignData [23:34:01]wFMCommunicate request_size=4 [23:34:01]MH_SAM_APDU [23:34:01]CAPDU: 80 0D 01 02 [23:34:01]Write to MH i2c: E2 08 00 36 05 80 0D 01 02 00 00 00 00 B4 [23:34:01]Write i2c OK [23:34:01]MH_I2C_Read... [23:34:01]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:34:01]Read from MH i2c: E2 [23:34:01]MH_I2C_Read... [23:34:01]Read from MH i2c: E2 03 00 [23:34:01]MH_I2C_Read... [23:34:01]Read from MH i2c: E2 03 00 36 05 00 90 00 AF [23:34:01]RAPDU: 90 00 [23:34:01]wFMCommunicate OK [23:34:01]wFMCommunicate request_size=255 [23:34:01]MH_SAM_APDU [23:34:01]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 4E 00 00 00 F4 03 04 00 EA 70 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 [23:34:01]Write to MH i2c: E2 02 01 37 05 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 4E 00 00 00 F4 03 04 00 EA 70 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 00 00 99 [23:34:02]Write i2c OK [23:34:02]MH_I2C_Read... [23:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:02]Read from MH i2c: E2 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 03 00 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 03 00 37 05 00 90 00 B0 [23:34:02]RAPDU: 90 00 [23:34:02]wFMCommunicate OK [23:34:02]wFMCommunicate request_size=31 [23:34:02]MH_SAM_APDU [23:34:02]CAPDU: 80 0D 02 02 1A 30 30 38 37 31 38 34 31 10 04 04 00 1C 94 00 00 35 04 06 00 E4 A6 85 A4 9E D5 [23:34:02]Write to MH i2c: E2 22 00 38 05 80 0D 02 02 1A 00 30 30 38 37 31 38 34 31 10 04 04 00 1C 94 00 00 35 04 06 00 E4 A6 85 A4 9E D5 00 00 B5 [23:34:02]Write i2c OK [23:34:02]MH_I2C_Read... [23:34:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:34:02]Read from MH i2c: E2 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 03 00 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 03 00 38 05 00 90 00 B1 [23:34:02]RAPDU: 90 00 [23:34:02]wFMCommunicate OK [23:34:02]wFMCommunicate request_size=4 [23:34:02]MH_SAM_APDU [23:34:02]CAPDU: 80 0D 03 02 [23:34:02]Write to MH i2c: E2 08 00 39 05 80 0D 03 02 00 00 00 00 B9 [23:34:02]Write i2c OK [23:34:02]MH_I2C_Read... [23:34:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:34:02]Read from MH i2c: E2 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 0B 00 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 0B 00 39 05 00 14 1C 8F 71 04 42 2B 6C 90 00 C7 [23:34:02]RAPDU: 14 1C 8F 71 04 42 2B 6C 90 00 [23:34:02]wFMCommunicate OK [23:34:02]SAM_PROTO_SignData done [23:34:02]FM_MakeSignedData done [23:34:02]CreateOFDProtocolMessage [23:34:02]wFMCommunicate request_size=4 [23:34:02]MH_SAM_APDU [23:34:02]CAPDU: 80 11 00 00 [23:34:02]Write to MH i2c: E2 08 00 3A 05 80 11 00 00 00 00 00 00 B9 [23:34:02]Write i2c OK [23:34:02]MH_I2C_Read... [23:34:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:02]Read from MH i2c: E2 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 17 00 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: E2 17 00 3A 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 09 [23:34:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:34:02]wFMCommunicate OK [23:34:02]CreateOFDProtocolMessage done [23:34:02]OFDSenderStorePacket 37916 [23:34:02]StoreOFDPacket docnum=37916 [23:34:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 2F 1F 1C 01 B1 4E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 4E 00 00 00 F4 03 04 00 EA 70 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1C 94 00 00 35 04 06 00 E4 A6 85 A4 9E D5 14 1C 8F 71 04 42 2B 6C [23:34:02]CheckFolder [23:34:02]dirname=/storage/ofd_packets [23:34:02]CheckFolder done [23:34:02]ProducePacketName [23:34:02]name=ofd_packets/00037916 [23:34:02]NVStorageSaveData ofd_packets/00037916 [23:34:02]File name is /storage/ofd_packets/00037916 [23:34:02]Write 322 bytes [23:34:02]NVStorageSaveData done [23:34:02]OFDSenderStorePacket done [23:34:02]KKMCreateOFDPacket done [23:34:02]NVStorageSaveData kkm_last_timestamp [23:34:02]File name is /storage/kkm_last_timestamp [23:34:02]Write 4 bytes [23:34:02]NVStorageSaveData done [23:34:02]ExternCall_PrintAddStr [23:34:02]wPrintStart [23:34:02]Write to MH i2c: 01 00 00 3B 05 40 [23:34:02]Write i2c OK [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: 01 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: 01 07 00 [23:34:02]MH_I2C_Read... [23:34:02]Read from MH i2c: 01 07 00 3B 05 00 00 00 00 00 FF 0F 55 [23:34:02]RasterBufferAndPrint [23:34:02]line Счет N : (3)35216 [23:34:02]line ИНН: 02508201610067 [23:34:02]line Контрольно-Кассовый Чек [23:34:02]line ПРОДАЖА [23:34:02]line Товар: 2000039450010 [23:34:02]line Чай зеленый 200 мл [23:34:02]line 3.000 * 40.00 [23:34:02]line = 120.00 [23:34:02]line НДС 12% НСП 1% [23:34:02]line > о реализуемом товаре [23:34:02]line ИТОГО: 120.00 [23:34:02]line НСП 1% : 1.06 [23:34:02]line НДС 12% : 12.74 [23:34:02]line Наличными: 120.00 [23:34:02]line Безнал.: 0.00 [23:34:02]line Место: АЗС № 126 "Партнер Нефть" [23:34:02]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [23:34:02]line СНО: Общий режим [23:34:02]line Чек 78 29.10.2024 23:34 [23:34:02]line Смена: 552 ФФД: 1.0 [23:34:02]line ЗНМ: 0300000092 [23:34:02]line РНМ: 0000000000091684 [23:34:02]line Версия ККМ: 001 [23:34:02]line ФМ: 0000000000871841 [23:34:02]line ФД: 37916 [23:34:02]line ФПД: 251403857862357 [23:34:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241029T233402&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37916&fm=251403857862357&tin=02508201610067®Number=0000000000091684&sum=12000 [23:34:02]OFD Sender: Processing packet 37916 [packets to send 42, broken 41] [23:34:02]ProducePacketName [23:34:02]name=ofd_packets/00037916 [23:34:02]OFD Sender: To server: pG, [23:34:02]CommunicateWithHost lk.salyk.kg:30040 [23:34:02]ConnectInit lk.salyk.kg [23:34:02]line 0 [23:34:02]written 0, free lines is 4095 [23:34:03]Write to MH i2c: 01 00 00 63 05 68 [23:34:03]Write i2c OK [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: 01 [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: 01 07 00 [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: 01 07 00 63 05 00 00 00 00 00 CE 0C 49 [23:34:03]RasterBufferAndPrint [23:34:03]line [23:34:03]line [23:34:03]line [23:34:03]line [23:34:03]line [23:34:03]written 0, free lines is 3282 [23:34:03]MH_Cut [23:34:03]Write to MH i2c: D1 01 00 6A 05 01 41 [23:34:03]Write i2c OK [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: D1 [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: D1 01 00 [23:34:03]MH_I2C_Read... [23:34:03]Read from MH i2c: D1 01 00 6A 05 00 40 [23:34:03]Write to MH i2c: 01 00 00 6B 05 70 [23:34:03]Write i2c OK [23:34:03]MH_I2C_Read... [23:34:04]*** Cut start [23:34:04]*** Partial cut [23:34:04]*** CUTSNS_PIN = 1 [23:34:04]*** CUTSNS_PIN = 0 [23:34:04]*** Brake cut motor [23:34:04]Read from MH i2c: 01 [23:34:04]MH_I2C_Read... [23:34:04]*** Stop cut motor [23:34:04]*** Cut end [23:34:04]Read from MH i2c: 01 07 00 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: 01 07 00 6B 05 00 00 00 00 00 FF 0F 85 [23:34:04]process_action close_receipt done [23:34:04]requested_data is exist [23:34:04]produce_requested_data [23:34:04]requested_item fm.sn is exist - process it [23:34:04]wFMCommunicate request_size=4 [23:34:04]MH_SAM_APDU [23:34:04]CAPDU: 80 11 00 00 [23:34:04]Write to MH i2c: E2 08 00 6C 05 80 11 00 00 00 00 00 00 EB [23:34:04]Write i2c OK [23:34:04]MH_I2C_Read... [23:34:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:34:04]Read from MH i2c: E2 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 17 00 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 17 00 6C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3B [23:34:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [23:34:04]wFMCommunicate OK [23:34:04]requested_item fd.num is exist - process it [23:34:04]SAM_PROTO_GetFieldsCounters [23:34:04]wFMCommunicate request_size=4 [23:34:04]MH_SAM_APDU [23:34:04]CAPDU: 80 13 00 00 [23:34:04]Write to MH i2c: E2 08 00 6D 05 80 13 00 00 00 00 00 00 EE [23:34:04]Write i2c OK [23:34:04]MH_I2C_Read... [23:34:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:34:04]Read from MH i2c: E2 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 62 00 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 62 00 6D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 D3 [23:34:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:34:04]wFMCommunicate OK [23:34:04]SAM_PROTO_GetFieldsCounters done [23:34:04]requested_item shift.num is exist - process it [23:34:04]requested_item shift.opened is exist - process it [23:34:04]req_shift_opened [23:34:04]FM_GetShiftState [23:34:04]SAM_PROTO_GetShiftState [23:34:04]wFMCommunicate request_size=4 [23:34:04]MH_SAM_APDU [23:34:04]CAPDU: 80 13 01 00 [23:34:04]Write to MH i2c: E2 08 00 6E 05 80 13 01 00 00 00 00 00 F0 [23:34:04]Write i2c OK [23:34:04]MH_I2C_Read... [23:34:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:34:04]Read from MH i2c: E2 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 0E 00 [23:34:04]MH_I2C_Read... [23:34:04]Read from MH i2c: E2 0E 00 6E 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 66 [23:34:04]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [23:34:04]wFMCommunicate OK [23:34:04]SAM_PROTO_GetShiftState done [23:34:04]FM_GetShiftState done [23:34:04]req_shift_opened done [23:34:04]requested_item shift.open_date is exist - process it [23:34:04]req_shift_open_date [23:34:04]req_shift_open_date done [23:34:04]produce_requested_data done [23:34:04]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [23:34:04]process_action_free close_receipt [23:34:04]json_value_free [23:34:04]json_value_free done [23:34:04]process_json_proto returns [23:34:04]Send response to host [23:34:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [23:34:04]free response buf [23:34:04]execute_script done [23:34:04]execute_script returns [23:34:04]free content buf [23:34:04]Sock 7.Close socket [23:34:04]Sock 7.Thread stoped [23:34:05]Connected sock=11 [23:34:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 24 01 00 00 2F 1F 1C 01 B1 4E 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 32 30 30 30 30 33 39 34 35 30 30 31 30 06 04 1E 00 D0 A7 D0 B0 D0 B9 20 D0 B7 D0 B5 D0 BB D0 B5 D0 BD D1 8B D0 B9 20 32 30 30 20 D0 BC D0 BB FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 4E 00 00 00 F4 03 04 00 EA 70 21 67 0E 04 04 00 28 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1C 94 00 00 35 04 06 00 E4 A6 85 A4 9E D5 14 1C 8F 71 04 42 2B 6C [23:34:05]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 CB 83 47 00 76 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1C 94 00 00 F4 03 04 00 DC 1B 21 67 B6 04 01 00 00 26 11 9C 3D BC 66 6B 4D [23:34:05]CommunicateWithHost err = 0 [23:34:05]CheckOFDResponse [23:34:05]1017 (14) - 77093643461234 [23:34:05]1041 (16) - 0000000000871841 [23:34:05]1040 (4) - 37916 [23:34:05]1012 (4) - 29.10.2024 17:31 [23:34:05]1206 (1) - 0 [23:34:05]OFD Sender: Remove packet 37916 [23:34:05]ProducePacketName [23:34:05]name=ofd_packets/00037916 [23:34:05]NVStorageDeleteData [23:34:06]OFD Sender: No OFD packet to send [23:34:11]OFD Sender: No OFD packet to send [23:34:16]OFD Sender: No OFD packet to send [23:34:21]OFD Sender: No OFD packet to send [23:34:26]OFD Sender: No OFD packet to send [23:34:31]OFD Sender: No OFD packet to send [23:34:36]OFD Sender: No OFD packet to send [23:34:41]OFD Sender: No OFD packet to send [23:34:46]OFD Sender: No OFD packet to send [23:34:51]OFD Sender: No OFD packet to send [23:34:56]OFD Sender: No OFD packet to send [23:35:01]OFD Sender: No OFD packet to send [23:35:06]OFD Sender: No OFD packet to send [23:35:11]OFD Sender: No OFD packet to send [23:35:16]OFD Sender: No OFD packet to send [23:35:21]OFD Sender: No OFD packet to send [23:35:26]OFD Sender: No OFD packet to send [23:35:31]OFD Sender: No OFD packet to send [23:35:36]OFD Sender: No OFD packet to send [23:35:41]OFD Sender: No OFD packet to send [23:35:46]OFD Sender: No OFD packet to send [23:35:51]OFD Sender: No OFD packet to send [23:35:56]OFD Sender: No OFD packet to send [23:36:01]OFD Sender: No OFD packet to send [23:36:06]OFD Sender: No OFD packet to send [23:36:11]OFD Sender: No OFD packet to send [23:36:16]OFD Sender: No OFD packet to send [23:36:21]OFD Sender: No OFD packet to send [23:36:26]OFD Sender: No OFD packet to send [23:36:31]OFD Sender: No OFD packet to send [23:36:36]OFD Sender: No OFD packet to send [23:36:41]OFD Sender: No OFD packet to send [23:36:46]OFD Sender: No OFD packet to send [23:36:51]OFD Sender: No OFD packet to send [23:36:56]OFD Sender: No OFD packet to send [23:37:01]OFD Sender: No OFD packet to send [23:37:06]OFD Sender: No OFD packet to send [23:37:11]OFD Sender: No OFD packet to send [23:37:16]OFD Sender: No OFD packet to send [23:37:21]OFD Sender: No OFD packet to send [23:37:26]OFD Sender: No OFD packet to send [23:37:31]OFD Sender: No OFD packet to send [23:37:36]OFD Sender: No OFD packet to send [23:37:41]OFD Sender: No OFD packet to send [23:37:46]OFD Sender: No OFD packet to send [23:37:51]OFD Sender: No OFD packet to send [23:37:56]OFD Sender: No OFD packet to send [23:38:01]OFD Sender: No OFD packet to send [23:38:06]OFD Sender: No OFD packet to send [23:38:11]OFD Sender: No OFD packet to send [23:38:16]OFD Sender: No OFD packet to send [23:38:21]OFD Sender: No OFD packet to send [23:38:26]OFD Sender: No OFD packet to send [23:38:31]OFD Sender: No OFD packet to send [23:38:36]OFD Sender: No OFD packet to send [23:38:41]OFD Sender: No OFD packet to send [23:38:46]OFD Sender: No OFD packet to send [23:38:51]OFD Sender: No OFD packet to send [23:38:56]OFD Sender: No OFD packet to send [23:39:01]OFD Sender: No OFD packet to send [23:39:06]OFD Sender: No OFD packet to send [23:39:11]OFD Sender: No OFD packet to send [23:39:16]OFD Sender: No OFD packet to send [23:39:21]OFD Sender: No OFD packet to send [23:39:26]OFD Sender: No OFD packet to send [23:39:31]OFD Sender: No OFD packet to send [23:39:36]OFD Sender: No OFD packet to send [23:39:41]OFD Sender: No OFD packet to send [23:39:46]OFD Sender: No OFD packet to send [23:39:51]OFD Sender: No OFD packet to send [23:39:56]OFD Sender: No OFD packet to send [23:40:01]OFD Sender: No OFD packet to send [23:40:06]OFD Sender: No OFD packet to send [23:40:11]OFD Sender: No OFD packet to send [23:40:16]OFD Sender: No OFD packet to send [23:40:21]OFD Sender: No OFD packet to send [23:40:26]OFD Sender: No OFD packet to send [23:40:31]OFD Sender: No OFD packet to send [23:40:36]OFD Sender: No OFD packet to send [23:40:41]OFD Sender: No OFD packet to send [23:40:46]OFD Sender: No OFD packet to send [23:40:51]OFD Sender: No OFD packet to send [23:40:56]OFD Sender: No OFD packet to send [23:41:01]OFD Sender: No OFD packet to send [23:41:06]OFD Sender: No OFD packet to send [23:41:11]OFD Sender: No OFD packet to send [23:41:16]OFD Sender: No OFD packet to send [23:41:21]OFD Sender: No OFD packet to send [23:41:26]OFD Sender: No OFD packet to send [23:41:31]OFD Sender: No OFD packet to send [23:41:36]OFD Sender: No OFD packet to send [23:41:41]OFD Sender: No OFD packet to send [23:41:46]OFD Sender: No OFD packet to send [23:41:51]OFD Sender: No OFD packet to send [23:41:56]OFD Sender: No OFD packet to send [23:42:01]OFD Sender: No OFD packet to send [23:42:06]OFD Sender: No OFD packet to send [23:42:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:21]OFD Sender: No OFD packet to send [23:44:26]OFD Sender: No OFD packet to send [23:44:31]OFD Sender: No OFD packet to send [23:44:36]OFD Sender: No OFD packet to send [23:44:41]OFD Sender: No OFD packet to send [23:44:46]OFD Sender: No OFD packet to send [23:44:51]OFD Sender: No OFD packet to send [23:44:56]OFD Sender: No OFD packet to send [23:45:01]OFD Sender: No OFD packet to send [23:45:06]OFD Sender: No OFD packet to send [23:45:11]OFD Sender: No OFD packet to send [23:45:16]OFD Sender: No OFD packet to send [23:45:21]OFD Sender: No OFD packet to send [23:45:26]OFD Sender: No OFD packet to send [23:45:31]OFD Sender: No OFD packet to send [23:45:36]OFD Sender: No OFD packet to send [23:45:41]OFD Sender: No OFD packet to send [23:45:46]OFD Sender: No OFD packet to send [23:45:51]OFD Sender: No OFD packet to send [23:45:56]OFD Sender: No OFD packet to send [23:46:01]OFD Sender: No OFD packet to send [23:46:06]OFD Sender: No OFD packet to send [23:46:11]OFD Sender: No OFD packet to send [23:46:16]OFD Sender: No OFD packet to send [23:46:21]OFD Sender: No OFD packet to send [23:46:26]OFD Sender: No OFD packet to send [23:46:31]OFD Sender: No OFD packet to send [23:46:36]OFD Sender: No OFD packet to send [23:46:41]OFD Sender: No OFD packet to send [23:46:46]OFD Sender: No OFD packet to send [23:46:51]OFD Sender: No OFD packet to send [23:46:56]OFD Sender: No OFD packet to send [23:47:01]OFD Sender: No OFD packet to send [23:47:06]OFD Sender: No OFD packet to send [23:47:11]OFD Sender: No OFD packet to send [23:47:16]OFD Sender: No OFD packet to send [23:47:21]OFD Sender: No OFD packet to send [23:47:26]OFD Sender: No OFD packet to send [23:47:31]OFD Sender: No OFD packet to send [23:47:36]OFD Sender: No OFD packet to send [23:47:41]OFD Sender: No OFD packet to send [23:47:46]OFD Sender: No OFD packet to send [23:47:51]OFD Sender: No OFD packet to send [23:47:56]OFD Sender: No OFD packet to send [23:48:01]OFD Sender: No OFD packet to send [23:48:06]OFD Sender: No OFD packet to send [23:48:11]OFD Sender: No OFD packet to send [23:48:16]OFD Sender: No OFD packet to send [23:48:21]OFD Sender: No OFD packet to send [23:48:26]OFD Sender: No OFD packet to send [23:48:31]OFD Sender: No OFD packet to send [23:48:36]OFD Sender: No OFD packet to send [23:48:41]OFD Sender: No OFD packet to send [23:48:46]OFD Sender: No OFD packet to send [23:48:51]OFD Sender: No OFD packet to send [23:48:56]OFD Sender: No OFD packet to send [23:49:01]OFD Sender: No OFD packet to send [23:49:06]OFD Sender: No OFD packet to send [23:49:11]OFD Sender: No OFD packet to send [23:49:16]OFD Sender: No OFD packet to send [23:49:21]OFD Sender: No OFD packet to send [23:49:26]OFD Sender: No OFD packet to send [23:49:31]OFD Sender: No OFD packet to send [23:49:36]OFD Sender: No OFD packet to send [23:49:41]OFD Sender: No OFD packet to send [23:49:46]OFD Sender: No OFD packet to send [23:49:51]OFD Sender: No OFD packet to send [23:49:56]OFD Sender: No OFD packet to send [23:50:01]OFD Sender: No OFD packet to send [23:50:06]OFD Sender: No OFD packet to send [23:50:11]OFD Sender: No OFD packet to send [23:50:16]OFD Sender: No OFD packet to send [23:50:21]OFD Sender: No OFD packet to send [23:50:26]OFD Sender: No OFD packet to send [23:50:31]OFD Sender: No OFD packet to send [23:50:36]OFD Sender: No OFD packet to send [23:50:41]OFD Sender: No OFD packet to send [23:50:46]OFD Sender: No OFD packet to send [23:50:51]OFD Sender: No OFD packet to send [23:50:56]OFD Sender: No OFD packet to send [23:51:01]OFD Sender: No OFD packet to send [23:51:06]OFD Sender: No OFD packet to send [23:51:11]OFD Sender: No OFD packet to send [23:51:16]OFD Sender: No OFD packet to send [23:51:21]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:41]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:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:47]OFD Sender: No OFD packet to send [23:54:52]OFD Sender: No OFD packet to send [23:54:57]OFD Sender: No OFD packet to send [23:55:02]OFD Sender: No OFD packet to send [23:55:07]OFD Sender: No OFD packet to send [23:55:12]OFD Sender: No OFD packet to send [23:55:17]OFD Sender: No OFD packet to send [23:55:22]OFD Sender: No OFD packet to send [23:55:27]OFD Sender: No OFD packet to send [23:55:32]OFD Sender: No OFD packet to send [23:55:37]OFD Sender: No OFD packet to send [23:55:42]OFD Sender: No OFD packet to send [23:55:47]OFD Sender: No OFD packet to send [23:55:52]OFD Sender: No OFD packet to send [23:55:57]OFD Sender: No OFD packet to send [23:56:02]OFD Sender: No OFD packet to send [23:56:07]OFD Sender: No OFD packet to send [23:56:12]OFD Sender: No OFD packet to send [23:56:17]OFD Sender: No OFD packet to send [23:56:22]OFD Sender: No OFD packet to send [23:56:27]OFD Sender: No OFD packet to send [23:56:32]OFD Sender: No OFD packet to send [23:56:37]OFD Sender: No OFD packet to send [23:56:42]OFD Sender: No OFD packet to send [23:56:47]OFD Sender: No OFD packet to send [23:56:52]OFD Sender: No OFD packet to send [23:56:57]OFD Sender: No OFD packet to send [23:57:02]OFD Sender: No OFD packet to send [23:57:07]OFD Sender: No OFD packet to send [23:57:12]OFD Sender: No OFD packet to send [23:57:17]OFD Sender: No OFD packet to send [23:57:22]OFD Sender: No OFD packet to send [23:57:27]OFD Sender: No OFD packet to send [23:57:32]OFD Sender: No OFD packet to send [23:57:37]OFD Sender: No OFD packet to send [23:57:42]OFD Sender: No OFD packet to send [23:57:47]OFD Sender: No OFD packet to send [23:57:52]OFD Sender: No OFD packet to send [23:57:57]OFD Sender: No OFD packet to send [23:58:02]OFD Sender: No OFD packet to send [23:58:07]OFD Sender: No OFD packet to send [23:58:12]OFD Sender: No OFD packet to send [23:58:17]OFD Sender: No OFD packet to send [23:58:22]OFD Sender: No OFD packet to send [23:58:27]OFD Sender: No OFD packet to send [23:58:32]OFD Sender: No OFD packet to send [23:58:37]OFD Sender: No OFD packet to send [23:58:42]OFD Sender: No OFD packet to send [23:58:47]OFD Sender: No OFD packet to send [23:58:52]OFD Sender: No OFD packet to send [23:58:57]OFD Sender: No OFD packet to send [23:59:02]OFD Sender: No OFD packet to send [23:59:07]OFD Sender: No OFD packet to send [23:59:12]OFD Sender: No OFD packet to send [23:59:17]OFD Sender: No OFD packet to send [23:59:22]OFD Sender: No OFD packet to send [23:59:27]OFD Sender: No OFD packet to send [23:59:32]OFD Sender: No OFD packet to send [23:59:37]OFD Sender: No OFD packet to send [23:59:42]OFD Sender: No OFD packet to send [23:59:47]OFD Sender: No OFD packet to send [23:59:52]OFD Sender: No OFD packet to send [23:59:57]OFD Sender: No OFD packet to send [00:00:02]OFD Sender: No OFD packet to send [00:00:07]OFD Sender: No OFD packet to send [00:00:12]OFD Sender: No OFD packet to send [00:00:17]OFD Sender: No OFD packet to send [00:00:22]OFD Sender: No OFD packet to send [00:00:27]OFD Sender: No OFD packet to send [00:00:32]OFD Sender: No OFD packet to send [00:00:42]OFD Sender: No OFD packet to send [00:00:47]OFD Sender: No OFD packet to send [00:00:52]OFD Sender: No OFD packet to send [00:00:57]OFD Sender: No OFD packet to send [00:01:02]OFD Sender: No OFD packet to send [00:01:07]OFD Sender: No OFD packet to send [00:01:12]OFD Sender: No OFD packet to send [00:01:17]OFD Sender: No OFD packet to send [00:01:22]OFD Sender: No OFD packet to send [00:01:27]OFD Sender: No OFD packet to send [00:01:32]OFD Sender: No OFD packet to send [00:01:37]OFD Sender: No OFD packet to send [00:01:42]OFD Sender: No OFD packet to send [00:01:47]OFD Sender: No OFD packet to send [00:01:50]accept exits with 9 [00:01:50]New connection [00:01:50]New thread 3067207012 created [00:01:50]Thread 3067063652 joined [00:01:50]Waiting for new connection... [00:01:50] Sock 9.Parse request [00:01:50]Sock 9.Check first char [00:01:50]Sock 9.First char is OK [00:01:50]request: POST /json_proto HTTP/1.0 [00:01:50]Method: POST [00:01:50]URL: /json_proto [00:01:50]Method is POST - this is cgi request [00:01:50]url: /json_proto [00:01:50]query_string will be loaded in cgi processing [00:01:50]execute_cgi json_proto POST (null) [00:01:50]execute_cgi path=json_proto method=POST [00:01:50]POST find Content-Length [00:01:50]Host: 172.17.40.196:8080 [00:01:50]Content-Length: 215 [00:01:50]Content-Type: application/json [00:01:50] [00:01:50]POST finish read [00:01:50]Found Content-Length = 215 [00:01:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:50]execute_script... [00:01:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:50]POST & json_proto [00:01:50]process_json_proto [00:01:50]json parsed OK: [00:01:50]protocol is kg_v1.0 [00:01:50]action value=get_value [00:01:50]process_action get_value [00:01:50]cmd_get_value [00:01:50]process_action get_value done [00:01:50]requested_data is exist [00:01:50]produce_requested_data [00:01:50]requested_item kkm.sn is exist - process it [00:01:50]requested_item kkm.ver is exist - process it [00:01:50]requested_item fm.sn is exist - process it [00:01:50]wFMCommunicate request_size=4 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 11 00 00 [00:01:50]Write to MH i2c: E2 08 00 6F 05 80 11 00 00 00 00 00 00 EE [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 17 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 17 00 6F 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 3E [00:01:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:50]wFMCommunicate OK [00:01:50]requested_item fd.num is exist - process it [00:01:50]SAM_PROTO_GetFieldsCounters [00:01:50]wFMCommunicate request_size=4 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 13 00 00 [00:01:50]Write to MH i2c: E2 08 00 70 05 80 13 00 00 00 00 00 00 F1 [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 62 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 62 00 70 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 D6 [00:01:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:50]wFMCommunicate OK [00:01:50]SAM_PROTO_GetFieldsCounters done [00:01:50]requested_item shift.num is exist - process it [00:01:50]requested_item shift.opened is exist - process it [00:01:50]req_shift_opened [00:01:50]FM_GetShiftState [00:01:50]SAM_PROTO_GetShiftState [00:01:50]wFMCommunicate request_size=4 [00:01:50]MH_SAM_APDU [00:01:50]CAPDU: 80 13 01 00 [00:01:50]Write to MH i2c: E2 08 00 71 05 80 13 01 00 00 00 00 00 F3 [00:01:50]Write i2c OK [00:01:50]MH_I2C_Read... [00:01:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:50]Read from MH i2c: E2 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 0E 00 [00:01:50]MH_I2C_Read... [00:01:50]Read from MH i2c: E2 0E 00 71 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 69 [00:01:50]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:01:50]wFMCommunicate OK [00:01:50]SAM_PROTO_GetShiftState done [00:01:50]FM_GetShiftState done [00:01:50]req_shift_opened done [00:01:50]requested_item shift.open_date is exist - process it [00:01:50]req_shift_open_date [00:01:50]req_shift_open_date done [00:01:50]produce_requested_data done [00:01:50]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [00:01:50]process_action_free get_value [00:01:50]json_value_free [00:01:50]json_value_free done [00:01:50]process_json_proto returns [00:01:50]Send response to host [00:01:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [00:01:50]free response buf [00:01:50]execute_script done [00:01:50]execute_script returns [00:01:50]free content buf [00:01:50]Sock 9.Close socket [00:01:50]Sock 9.Thread stoped [00:01:50]accept exits with 10 [00:01:50]New connection [00:01:50]New thread 3067063652 created [00:01:50]Thread 3067207012 joined [00:01:50]Waiting for new connection... [00:01:50] Sock 10.Parse request [00:01:50]Sock 10.Check first char [00:01:50]Sock 10.First char is OK [00:01:50]request: POST /json_proto HTTP/1.0 [00:01:50]Method: POST [00:01:50]URL: /json_proto [00:01:50]Method is POST - this is cgi request [00:01:50]url: /json_proto [00:01:50]query_string will be loaded in cgi processing [00:01:50]execute_cgi json_proto POST (null) [00:01:50]execute_cgi path=json_proto method=POST [00:01:50]POST find Content-Length [00:01:50]Host: 172.17.40.196:8080 [00:01:50]Content-Length: 331 [00:01:50]Content-Type: application/json [00:01:50] [00:01:50]POST finish read [00:01:50]Found Content-Length = 331 [00:01:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:50]execute_script... [00:01:51]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:51]POST & json_proto [00:01:51]process_json_proto [00:01:51]json parsed OK: [00:01:51]protocol is kg_v1.0 [00:01:51]action value=get_value [00:01:51]process_action get_value [00:01:51]cmd_get_value [00:01:51]process_action get_value done [00:01:51]requested_data is exist [00:01:51]produce_requested_data [00:01:51]requested_item fm.sale.total is exist - process it [00:01:51]SAM_PROTO_GetFMData [00:01:51]wFMCommunicate request_size=4 [00:01:51]MH_SAM_APDU [00:01:51]CAPDU: 80 13 03 00 [00:01:51]Write to MH i2c: E2 08 00 72 05 80 13 03 00 00 00 00 00 F6 [00:01:51]Write i2c OK [00:01:51]MH_I2C_Read... [00:01:51]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:51]Read from MH i2c: E2 [00:01:51]MH_I2C_Read... [00:01:51]Read from MH i2c: E2 FD 00 [00:01:51]MH_I2C_Read... [00:01:51]Read from MH i2c: E2 FD 00 72 05 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 95 [00:01:51]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:53]wFMCommunicate OK [00:01:53]wFMCommunicate request_size=4 [00:01:53]MH_SAM_APDU [00:01:53]CAPDU: 80 17 00 00 [00:01:53]Write to MH i2c: E2 08 00 78 05 80 17 00 00 00 00 00 00 FD [00:01:53]Write i2c OK [00:01:53]MH_I2C_Read... [00:01:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:53]Read from MH i2c: E2 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 78 05 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 1F [00:01:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:01:53]wFMCommunicate OK [00:01:53]wFMCommunicate request_size=4 [00:01:53]MH_SAM_APDU [00:01:53]CAPDU: 80 17 00 00 [00:01:53]Write to MH i2c: E2 08 00 79 05 80 17 00 00 00 00 00 00 FE [00:01:53]Write i2c OK [00:01:53]MH_I2C_Read... [00:01:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:53]Read from MH i2c: E2 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 79 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B5 [00:01:53]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:01:53]wFMCommunicate OK [00:01:53]wFMCommunicate request_size=4 [00:01:53]MH_SAM_APDU [00:01:53]CAPDU: 80 17 00 00 [00:01:53]Write to MH i2c: E2 08 00 7A 05 80 17 00 00 00 00 00 00 FF [00:01:53]Write i2c OK [00:01:53]MH_I2C_Read... [00:01:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:53]Read from MH i2c: E2 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 [00:01:53]MH_I2C_Read... [00:01:53]Read from MH i2c: E2 FD 00 7A 05 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 71 [00:01:53]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:01:53]wFMCommunicate OK [00:01:53]wFMCommunicate request_size=4 [00:01:53]MH_SAM_APDU [00:01:53]CAPDU: 80 17 00 00 [00:01:53]Write to MH i2c: E2 08 00 7B 05 80 17 00 00 00 00 00 00 00 [00:01:53]Write i2c OK [00:01:53]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 [00:01:54]MH_I2C_Read... [00:01:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:01:54]Read from MH i2c: E2 CB 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 CB 00 7B 05 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 E9 [00:01:54]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:54]wFMCommunicate OK [00:01:54]SAM_PROTO_GetShiftData done [00:01:54]requested_item shift.sale.total_cash is exist - process it [00:01:54]requested_item shift.sale_refund.total is exist - process it [00:01:54]requested_item shift.sale_refund.total_cash is exist - process it [00:01:54]requested_item shift.buy.total is exist - process it [00:01:54]requested_item shift.buy.total_cash is exist - process it [00:01:54]produce_requested_data done [00:01:54]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:54]process_action_free get_value [00:01:54]json_value_free [00:01:54]json_value_free done [00:01:54]process_json_proto returns [00:01:54]Send response to host [00:01:54]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:54]free response buf [00:01:54]execute_script done [00:01:54]execute_script returns [00:01:54]free content buf [00:01:54]Sock 10.Close socket [00:01:54]Sock 10.Thread stoped [00:01:54]accept exits with 9 [00:01:54]New connection [00:01:54]New thread 3067207012 created [00:01:54]Thread 3067063652 joined [00:01:54]Waiting for new connection... [00:01:54] Sock 9.Parse request [00:01:54]Sock 9.Check first char [00:01:54]Sock 9.First char is OK [00:01:54]request: POST /json_proto HTTP/1.0 [00:01:54]Method: POST [00:01:54]URL: /json_proto [00:01:54]Method is POST - this is cgi request [00:01:54]url: /json_proto [00:01:54]query_string will be loaded in cgi processing [00:01:54]execute_cgi json_proto POST (null) [00:01:54]execute_cgi path=json_proto method=POST [00:01:54]POST find Content-Length [00:01:54]Host: 172.17.40.196:8080 [00:01:54]Content-Length: 331 [00:01:54]Content-Type: application/json [00:01:54] [00:01:54]POST finish read [00:01:54]Found Content-Length = 331 [00:01:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:54]execute_script... [00:01:54]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:01:54]POST & json_proto [00:01:54]process_json_proto [00:01:54]json parsed OK: [00:01:54]protocol is kg_v1.0 [00:01:54]action value=get_value [00:01:54]process_action get_value [00:01:54]cmd_get_value [00:01:54]process_action get_value done [00:01:54]requested_data is exist [00:01:54]produce_requested_data [00:01:54]requested_item fm.sale.total is exist - process it [00:01:54]SAM_PROTO_GetFMData [00:01:54]wFMCommunicate request_size=4 [00:01:54]MH_SAM_APDU [00:01:54]CAPDU: 80 13 03 00 [00:01:54]Write to MH i2c: E2 08 00 7C 05 80 13 03 00 00 00 00 00 00 [00:01:54]Write i2c OK [00:01:54]MH_I2C_Read... [00:01:54]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:01:54]Read from MH i2c: E2 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 FD 00 [00:01:54]MH_I2C_Read... [00:01:54]Read from MH i2c: E2 FD 00 7C 05 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 9F [00:01:54]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:01:54]wFMCommunicate OK [00:01:54]wFMCommunicate request_size=4 [00:01:54]MH_SAM_APDU [00:01:54]CAPDU: 80 17 00 00 [00:01:54]Write to MH i2c: E2 08 00 7D 05 80 17 00 00 00 00 00 00 02 [00:01:54]Write i2c OK [00:01:54]MH_I2C_Read... [00:01:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:55]Read from MH i2c: E2 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 7D 05 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 FD [00:01:55]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:01:55]wFMCommunicate OK [00:01:55]wFMCommunicate request_size=4 [00:01:55]MH_SAM_APDU [00:01:55]CAPDU: 80 17 00 00 [00:01:55]Write to MH i2c: E2 08 00 7E 05 80 17 00 00 00 00 00 00 03 [00:01:55]Write i2c OK [00:01:55]MH_I2C_Read... [00:01:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:55]Read from MH i2c: E2 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 7E 05 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 A6 [00:01:55]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:01:55]wFMCommunicate OK [00:01:55]wFMCommunicate request_size=4 [00:01:55]MH_SAM_APDU [00:01:55]CAPDU: 80 17 00 00 [00:01:55]Write to MH i2c: E2 08 00 7F 05 80 17 00 00 00 00 00 00 04 [00:01:55]Write i2c OK [00:01:55]MH_I2C_Read... [00:01:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:01:55]Read from MH i2c: E2 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 [00:01:55]MH_I2C_Read... [00:01:55]Read from MH i2c: E2 FD 00 7F 05 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 7C [00:01:55]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:01:55]wFMCommunicate OK [00:01:55]wFMCommunicate request_size=4 [00:01:55]MH_SAM_APDU [00:01:55]CAPDU: 80 17 00 00 [00:01:55]Write to MH i2c: E2 08 00 80 05 80 17 00 00 00 00 00 00 05 [00:01:56]Write i2c OK [00:01:56]MH_I2C_Read... [00:01:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:01:56]Read from MH i2c: E2 [00:01:56]MH_I2C_Read... [00:01:56]Read from MH i2c: E2 DD 00 [00:01:56]MH_I2C_Read... [00:01:56]Read from MH i2c: E2 DD 00 80 05 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 CB 00 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 CB 00 85 05 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 F3 [00:01:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:01:58]wFMCommunicate OK [00:01:58]SAM_PROTO_GetShiftData done [00:01:58]requested_item shift.sale.total_cash is exist - process it [00:01:58]requested_item shift.sale_refund.total is exist - process it [00:01:58]requested_item shift.sale_refund.total_cash is exist - process it [00:01:58]requested_item shift.buy.total is exist - process it [00:01:58]requested_item shift.buy.total_cash is exist - process it [00:01:58]produce_requested_data done [00:01:58]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:01:58]process_action_free get_value [00:01:58]json_value_free [00:01:58]json_value_free done [00:01:58]process_json_proto returns [00:01:58]Send response to host [00:01:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:01:58]free response buf [00:01:58]execute_script done [00:01:58]execute_script returns [00:01:58]free content buf [00:01:58]Sock 9.Close socket [00:01:58]Sock 9.Thread stoped [00:01:58]accept exits with 10 [00:01:58]New connection [00:01:58]New thread 3067063652 created [00:01:58]Thread 3067207012 joined [00:01:58]Waiting for new connection... [00:01:58] Sock 10.Parse request [00:01:58]Sock 10.Check first char [00:01:58]Sock 10.First char is OK [00:01:58]request: POST /json_proto HTTP/1.0 [00:01:58]Method: POST [00:01:58]URL: /json_proto [00:01:58]Method is POST - this is cgi request [00:01:58]url: /json_proto [00:01:58]query_string will be loaded in cgi processing [00:01:58]execute_cgi json_proto POST (null) [00:01:58]execute_cgi path=json_proto method=POST [00:01:58]POST find Content-Length [00:01:58]Host: 172.17.40.196:8080 [00:01:58]Content-Length: 269 [00:01:58]Content-Type: application/json [00:01:58] [00:01:58]POST finish read [00:01:58]Found Content-Length = 269 [00:01:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:58]execute_script... [00:01:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:01:58]POST & json_proto [00:01:58]process_json_proto [00:01:58]json parsed OK: [00:01:58]protocol is kg_v1.0 [00:01:58]action value=x_report [00:01:58]process_action x_report [00:01:58]cmd_x_report [00:01:58]MH_GetDate [00:01:58]Write to MH i2c: F0 00 00 86 05 7A [00:01:58]Write i2c OK [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 09 00 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 09 00 86 05 00 78 77 21 67 5B 68 A1 66 C4 [00:01:58]GetLastDocTimeStamp 1730244842 [00:01:58]current date 1730246520 [00:01:58]FM_GetShiftState [00:01:58]SAM_PROTO_GetShiftState [00:01:58]wFMCommunicate request_size=4 [00:01:58]MH_SAM_APDU [00:01:58]CAPDU: 80 13 01 00 [00:01:58]Write to MH i2c: E2 08 00 87 05 80 13 01 00 00 00 00 00 09 [00:01:58]Write i2c OK [00:01:58]MH_I2C_Read... [00:01:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:01:58]Read from MH i2c: E2 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 0E 00 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 0E 00 87 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 7F [00:01:58]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:01:58]wFMCommunicate OK [00:01:58]SAM_PROTO_GetShiftState done [00:01:58]FM_GetShiftState done [00:01:58]KKMCreateXReportDocument [00:01:58]Load OK [00:01:58]Malloc new data [00:01:58]MH_GetDate [00:01:58]Write to MH i2c: F0 00 00 88 05 7C [00:01:58]Write i2c OK [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 09 00 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: F0 09 00 88 05 00 78 77 21 67 5B 68 A1 66 C6 [00:01:58]Malloc new data [00:01:58]Malloc new data [00:01:58]wFMCommunicate request_size=4 [00:01:58]MH_SAM_APDU [00:01:58]CAPDU: 80 11 00 00 [00:01:58]Write to MH i2c: E2 08 00 89 05 80 11 00 00 00 00 00 00 08 [00:01:58]Write i2c OK [00:01:58]MH_I2C_Read... [00:01:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:01:58]Read from MH i2c: E2 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 17 00 [00:01:58]MH_I2C_Read... [00:01:58]Read from MH i2c: E2 17 00 89 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 58 [00:01:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:01:58]wFMCommunicate OK [00:01:58]SAM_PROTO_GetFieldsCounters [00:01:58]wFMCommunicate request_size=4 [00:01:58]MH_SAM_APDU [00:01:58]CAPDU: 80 13 00 00 [00:01:58]Write to MH i2c: E2 08 00 8A 05 80 13 00 00 00 00 00 00 0B [00:01:58]Write i2c OK [00:01:58]MH_I2C_Read... [00:01:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:01:59]Read from MH i2c: E2 [00:01:59]MH_I2C_Read... [00:01:59]Read from MH i2c: E2 62 00 [00:01:59]MH_I2C_Read... [00:01:59]Read from MH i2c: E2 62 00 8A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [00:01:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:01:59]wFMCommunicate OK [00:01:59]SAM_PROTO_GetFieldsCounters done [00:01:59]Malloc new data [00:01:59]Malloc new data [00:01:59]Malloc new data [00:01:59]KKMCreateXReportDocument OK [00:01:59]KKMSetXReportData OK [00:01:59]KKMPrepareXReportFMData [00:01:59]SAM_PROTO_GetShiftData [00:01:59]wFMCommunicate request_size=4 [00:01:59]MH_SAM_APDU [00:01:59]CAPDU: 80 13 02 00 [00:01:59]Write to MH i2c: E2 08 00 8B 05 80 13 02 00 00 00 00 00 0E [00:01:59]Write i2c OK [00:01:59]MH_I2C_Read... [00:01:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:01:59]Read from MH i2c: E2 [00:01:59]MH_I2C_Read... [00:01:59]Read from MH i2c: E2 FD 00 [00:01:59]MH_I2C_Read... [00:01:59]Read from MH i2c: E2 FD 00 8B 05 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:01:59]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:01:59]wFMCommunicate OK [00:01:59]wFMCommunicate request_size=4 [00:01:59]MH_SAM_APDU [00:01:59]CAPDU: 80 17 00 00 [00:01:59]Write to MH i2c: E2 08 00 8C 05 80 17 00 00 00 00 00 00 11 [00:01:59]Write i2c OK [00:01:59]MH_I2C_Read... [00:02:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:00]Read from MH i2c: E2 [00:02:00]MH_I2C_Read... [00:02:00]Read from MH i2c: E2 FD 00 [00:02:00]MH_I2C_Read... [00:02:00]Read from MH i2c: E2 FD 00 8C 05 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 33 [00:02:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:02:00]wFMCommunicate OK [00:02:00]wFMCommunicate request_size=4 [00:02:00]MH_SAM_APDU [00:02:00]CAPDU: 80 17 00 00 [00:02:00]Write to MH i2c: E2 08 00 8D 05 80 17 00 00 00 00 00 00 12 [00:02:00]Write i2c OK [00:02:00]MH_I2C_Read... [00:02:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:00]Read from MH i2c: E2 [00:02:00]MH_I2C_Read... [00:02:00]Read from MH i2c: E2 FD 00 [00:02:00]MH_I2C_Read... [00:02:00]Read from MH i2c: E2 FD 00 8D 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C9 [00:02:00]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:02:00]wFMCommunicate OK [00:02:00]wFMCommunicate request_size=4 [00:02:00]MH_SAM_APDU [00:02:00]CAPDU: 80 17 00 00 [00:02:00]Write to MH i2c: E2 08 00 8E 05 80 17 00 00 00 00 00 00 13 [00:02:00]Write i2c OK [00:02:00]MH_I2C_Read... [00:02:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:01]Read from MH i2c: E2 [00:02:01]MH_I2C_Read... [00:02:01]Read from MH i2c: E2 FD 00 [00:02:01]MH_I2C_Read... [00:02:01]Read from MH i2c: E2 FD 00 8E 05 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 85 [00:02:01]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:02:01]wFMCommunicate OK [00:02:01]wFMCommunicate request_size=4 [00:02:01]MH_SAM_APDU [00:02:01]CAPDU: 80 17 00 00 [00:02:01]Write to MH i2c: E2 08 00 8F 05 80 17 00 00 00 00 00 00 14 [00:02:01]Write i2c OK [00:02:01]MH_I2C_Read... [00:02:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:02:01]Read from MH i2c: E2 [00:02:01]MH_I2C_Read... [00:02:01]Read from MH i2c: E2 CB 00 [00:02:01]MH_I2C_Read... [00:02:01]Read from MH i2c: E2 CB 00 8F 05 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 FD [00:02:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:01]wFMCommunicate OK [00:02:01]SAM_PROTO_GetShiftData done [00:02:01]1194 (1194) - счетчики итогов смены [00:02:01] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [00:02:01] 1129 (155) - счетчики операций «приход» [00:02:01] 1135 (4) - 78 - количество чеков по признаку расчетов [00:02:01] 1201 (3) - 15601.00 - общая итоговая сумма в чеках [00:02:01] 1136 (3) - 12104.00 - итоговая сумма в чеках наличными [00:02:01] 1138 (3) - 3497.00 - итоговая сумма в чеках безналичными [00:02:01] 1024 (122) - суммы налогов [00:02:01] 1006 (9) - суммы НДС [00:02:01] 1010 (1) - 0% - код ставки НДС [00:02:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:01] 1006 (12) - суммы НДС [00:02:01] 1010 (1) - 12% - код ставки НДС [00:02:01] 1011 (3) - 1656.58 - сумма НДС по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 0% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (11) - суммы НСП [00:02:01] 1014 (1) - 1% - код ставки НСП [00:02:01] 1015 (2) - 137.98 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 2% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 3% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 5% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 0,50% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 1,50% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1130 (141) - счетчики операций «возврат прихода» [00:02:01] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:01] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:01] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:01] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:01] 1024 (117) - суммы налогов [00:02:01] 1006 (9) - суммы НДС [00:02:01] 1010 (1) - 0% - код ставки НДС [00:02:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:01] 1006 (9) - суммы НДС [00:02:01] 1010 (1) - 12% - код ставки НДС [00:02:01] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 0% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:01] 1007 (9) - суммы НСП [00:02:01] 1014 (1) - 1% - код ставки НСП [00:02:01] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 2% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 3% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 5% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 0,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 1,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1131 (141) - счетчики операций «расход» [00:02:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:02] 1024 (117) - суммы налогов [00:02:02] 1006 (9) - суммы НДС [00:02:02] 1010 (1) - 0% - код ставки НДС [00:02:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:02] 1006 (9) - суммы НДС [00:02:02] 1010 (1) - 12% - код ставки НДС [00:02:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 0% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 1% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 2% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 3% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 5% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 0,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 1,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1132 (141) - счетчики операций «возврат расхода» [00:02:02] 1135 (4) - 0 - количество чеков по признаку расчетов [00:02:02] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:02:02] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:02:02] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:02:02] 1024 (117) - суммы налогов [00:02:02] 1006 (9) - суммы НДС [00:02:02] 1010 (1) - 0% - код ставки НДС [00:02:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:02] 1006 (9) - суммы НДС [00:02:02] 1010 (1) - 12% - код ставки НДС [00:02:02] 1011 (0) - 0.00 - сумма НДС по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 0% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 1% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 2% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 3% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 5% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 0,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1007 (9) - суммы НСП [00:02:02] 1014 (1) - 1,50% - код ставки НСП [00:02:02] 1015 (0) - 0.00 - сумма НСП по ставке [00:02:02] 1133 (588) - - счетчики коррекции - не используются [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1194 (04AA) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1134 (046E) [00:02:02]Malloc new data [00:02:02]Processing tag 1129 (0469) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1135 (046F) [00:02:02]Malloc new data [00:02:02]Processing tag 1201 (04B1) [00:02:02]Malloc new data [00:02:02]Processing tag 1136 (0470) [00:02:02]Malloc new data [00:02:02]Processing tag 1138 (0472) [00:02:02]Malloc new data [00:02:02]Processing tag 1024 (0400) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1130 (046A) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1135 (046F) [00:02:02]Malloc new data [00:02:02]Processing tag 1201 (04B1) [00:02:02]Malloc new data [00:02:02]Processing tag 1136 (0470) [00:02:02]Malloc new data [00:02:02]Processing tag 1138 (0472) [00:02:02]Malloc new data [00:02:02]Processing tag 1024 (0400) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1131 (046B) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1135 (046F) [00:02:02]Malloc new data [00:02:02]Processing tag 1201 (04B1) [00:02:02]Malloc new data [00:02:02]Processing tag 1136 (0470) [00:02:02]Malloc new data [00:02:02]Processing tag 1138 (0472) [00:02:02]Malloc new data [00:02:02]Processing tag 1024 (0400) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1132 (046C) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1135 (046F) [00:02:02]Malloc new data [00:02:02]Processing tag 1201 (04B1) [00:02:02]Malloc new data [00:02:02]Processing tag 1136 (0470) [00:02:02]Malloc new data [00:02:02]Processing tag 1138 (0472) [00:02:02]Malloc new data [00:02:02]Processing tag 1024 (0400) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1006 (03EE) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1010 (03F2) [00:02:02]Malloc new data [00:02:02]Processing tag 1011 (03F3) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1007 (03EF) [00:02:02]Load OK [00:02:02]SetTLVBufToDocument [00:02:02]Processing tag 1014 (03F6) [00:02:02]Malloc new data [00:02:02]Processing tag 1015 (03F7) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Processing tag 1133 (046D) [00:02:02]Malloc new data [00:02:02]SetTLVBufToDocument err=0 [00:02:02]SetTLVBufToDocument err=0 [00:02:02]Malloc new data [00:02:02]SAM_PROTO_GetFMData [00:02:02]wFMCommunicate request_size=4 [00:02:02]MH_SAM_APDU [00:02:02]CAPDU: 80 13 03 00 [00:02:02]Write to MH i2c: E2 08 00 90 05 80 OFD Sender: No OFD packet to send [00:02:02]13 03 00 00 00 00 00 14 [00:02:02]Write i2c OK [00:02:02]MH_I2C_Read... [00:02:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:02:03]Read from MH i2c: E2 [00:02:03]MH_I2C_Read... [00:02:03]Read from MH i2c: E2 FD 00 [00:02:03]MH_I2C_Read... [00:02:03]Read from MH i2c: E2 FD 00 90 05 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 B3 [00:02:03]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:02:03]wFMCommunicate OK [00:02:03]wFMCommunicate request_size=4 [00:02:03]MH_SAM_APDU [00:02:03]CAPDU: 80 17 00 00 [00:02:03]Write to MH i2c: E2 08 00 91 05 80 17 00 00 00 00 00 00 16 [00:02:03]Write i2c OK [00:02:03]MH_I2C_Read... [00:02:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:03]Read from MH i2c: E2 [00:02:03]MH_I2C_Read... [00:02:03]Read from MH i2c: E2 FD 00 [00:02:03]MH_I2C_Read... [00:02:03]Read from MH i2c: E2 FD 00 91 05 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 11 [00:02:04]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:02:04]wFMCommunicate OK [00:02:04]wFMCommunicate request_size=4 [00:02:04]MH_SAM_APDU [00:02:04]CAPDU: 80 17 00 00 [00:02:04]Write to MH i2c: E2 08 00 92 05 80 17 00 00 00 00 00 00 17 [00:02:04]Write i2c OK [00:02:04]MH_I2C_Read... [00:02:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:04]Read from MH i2c: E2 [00:02:04]MH_I2C_Read... [00:02:04]Read from MH i2c: E2 FD 00 [00:02:04]MH_I2C_Read... [00:02:04]Read from MH i2c: E2 FD 00 92 05 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 BA [00:02:04]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:02:04]wFMCommunicate OK [00:02:04]wFMCommunicate request_size=4 [00:02:04]MH_SAM_APDU [00:02:04]CAPDU: 80 17 00 00 [00:02:04]Write to MH i2c: E2 08 00 93 05 80 17 00 00 00 00 00 00 18 [00:02:04]Write i2c OK [00:02:04]MH_I2C_Read... [00:02:05]Read from MH i2c: E2 [00:02:05]MH_I2C_Read... [00:02:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:02:05]Read from MH i2c: E2 FD 00 [00:02:05]MH_I2C_Read... [00:02:05]Read from MH i2c: E2 FD 00 93 05 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 90 [00:02:05]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:02:05]wFMCommunicate OK [00:02:05]wFMCommunicate request_size=4 [00:02:05]MH_SAM_APDU [00:02:05]CAPDU: 80 17 00 00 [00:02:05]Write to MH i2c: E2 08 00 94 05 80 17 00 00 00 00 00 00 19 [00:02:05]Write i2c OK [00:02:05]MH_I2C_Read... [00:02:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:02:05]Read from MH i2c: E2 [00:02:05]MH_I2C_Read... [00:02:05]Read from MH i2c: E2 DD 00 [00:02:05]MH_I2C_Read... [00:02:05]Read from MH i2c: E2 DD 00 94 05 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 01 [00:02:05]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:02:05]wFMCommunicate OK [00:02:05]SAM_PROTO_GetFMData done [00:02:05]FM_GetFMData:85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:06]oper:6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:06]total:C2 A2 49 34 [00:02:06]Malloc new data [00:02:06]oper:6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:07]total:94 B2 13 [00:02:07]Malloc new data [00:02:07]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:07]total: [00:02:07]Malloc new data [00:02:07]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:02:07]total: [00:02:07]Malloc new data [00:02:07]KKMPrepareXReportFMData err=0 [00:02:07]Х отчет ИНН: 02508201610067 Кассир: Сонунбеков Э. 30.10.2024 00:02 Смена: 522 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 15601.00 Итого наличными: 12104.00 Итого безнал.: 3497.00 НДС 0% : 0.00 НДС 12% : 1656.58 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 137.98 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12104.00 НС Приход: 8772410.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000871841 [00:02:07]StoreToDocumentArchive [00:02:07]MH_GetDate [00:02:07]Write to MH i2c: F0 00 00 95 05 89 [00:02:07]Write i2c OK [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: F0 [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: F0 09 00 [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: F0 09 00 95 05 00 80 77 21 67 5B 68 A1 66 DB [00:02:07]shift 522 fd 1730246528 [00:02:07]Create dir for shift 0522 [00:02:07]save to /storage/0522/doc_1730246528 [00:02:07]save last doc name /storage/0522/doc_1730246528 to /storage/kkm_last_doc_name [00:02:07]save OK [00:02:07]Clear old archive folders... [00:02:07]NVStorageSaveData kkm_last_timestamp [00:02:07]File name is /storage/kkm_last_timestamp [00:02:07]Write 4 bytes [00:02:07]NVStorageSaveData done [00:02:07]ExternCall_PrintAddStr [00:02:07]wPrintStart [00:02:07]Write to MH i2c: 01 00 00 96 05 9B [00:02:07]Write i2c OK [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: 01 [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: 01 07 00 [00:02:07]MH_I2C_Read... [00:02:07]Read from MH i2c: 01 07 00 96 05 00 00 00 00 00 FF 0F B0 [00:02:07]RasterBufferAndPrint [00:02:07]line Х отчет [00:02:07]line ИНН: 02508201610067 [00:02:07]line Кассир: Сонунбеков Э. [00:02:07]line 30.10.2024 00:02 [00:02:07]line Смена: 522 [00:02:07]line РНМ: 0000000000091684 [00:02:07]line ЗНМ: 0300000092 [00:02:07]line СНО: Общий режим [00:02:07]line Всего чеков: 78 [00:02:07]line ИТОГИ ПРИХОД [00:02:07]line Чеков: 78 [00:02:07]line Общий итог: 15601.00 [00:02:07]line Итого наличными: 12104.00 [00:02:07]line Итого безнал.: 3497.00 [00:02:07]line НДС 0% : 0.00 [00:02:07]line НДС 12% : 1656.58 [00:02:07]line НСП 0% : 0.00 [00:02:07]line НСП 1,50% : 0.00 [00:02:07]line НСП 0,50% : 0.00 [00:02:07]line НСП 5% : 0.00 [00:02:07]line НСП 3% : 0.00 [00:02:07]line НСП 2% : 0.00 [00:02:07]line НСП 1% : 137.98 [00:02:07]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:02:07]line Чеков: 0 [00:02:07]line Общий итог: 0.00 [00:02:07]line Итого наличными: 0.00 [00:02:07]line Итого безнал.: 0.00 [00:02:07]line НДС 0% : 0.00 [00:02:07]line НДС 12% : 0.00 [00:02:07]line НСП 0% : 0.00 [00:02:07]line НСП 1,50% : 0.00 [00:02:07]line НСП 0,50% : 0.00 [00:02:07]line НСП 5% : 0.00 [00:02:07]line НСП 3% : 0.00 [00:02:07]line НСП 2% : 0.00 [00:02:07]line НСП 1% : 0.00 [00:02:07]line ИТОГИ РАСХОД [00:02:07]line Чеков: 0 [00:02:07]line Общий итог: 0.00 [00:02:07]line Итого наличными: 0.00 [00:02:07]line Итого безнал.: 0.00 [00:02:07]line НДС 0% : 0.00 [00:02:07]line НДС 12% : 0.00 [00:02:07]line НСП 0% : 0.00 [00:02:07]line НСП 1,50% : 0.00 [00:02:07]line НСП 0,50% : 0.00 [00:02:07]line НСП 5% : 0.00 [00:02:07]line НСП 3% : 0.00 [00:02:07]line НСП 2% : 0.00 [00:02:07]line НСП 1% : 0.00 [00:02:07]line ИТОГИ ВОЗВРАТ РАСХОДА [00:02:07]line Чеков: 0 [00:02:07]line Общий итог: 0.00 [00:02:07]line Итого наличными: 0.00 [00:02:07]line Итого безнал.: 0.00 [00:02:07]line НДС 0% : 0.00 [00:02:07]line НДС 12% : 0.00 [00:02:07]line НСП 0% : 0.00 [00:02:07]line НСП 1,50% : 0.00 [00:02:07]line НСП 0,50% : 0.00 [00:02:07]line НСП 5% : 0.00 [00:02:07]line НСП 3% : 0.00 [00:02:07]line НСП 2% : 0.00 [00:02:07]line НСП 1% : 0.00 [00:02:07]line Сумма внесений: 0.00 [00:02:07]line Сумма выплат: 0.00 [00:02:07]line Нал. в кассе: 12104.00 [00:02:07]line НС Приход: 8772410.26 [00:02:07]line НС Возвр.Прихода: 12909.00 [00:02:07]line НС Расход: 0.00 [00:02:07]line НС Возвр.Расхода: 0.00 [00:02:07]line ФМ: 0000000000871841 [00:02:07]written 0, free lines is 4095 [00:02:07]OFD Sender: No OFD packet to send [00:02:08]Write to MH i2c: 01 00 00 E1 05 E6 [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: 01 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: 01 07 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: 01 07 00 E1 05 00 00 00 00 00 9A 0A 91 [00:02:08]RasterBufferAndPrint [00:02:08]line [00:02:08]line [00:02:08]line [00:02:08]line [00:02:08]line [00:02:08]written 0, free lines is 2750 [00:02:08]MH_Cut [00:02:08]Write to MH i2c: D1 01 00 E8 05 01 BF [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: D1 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: D1 01 00 [00:02:08]MH_I2C_Read... [00:02:08]Read from MH i2c: D1 01 00 E8 05 00 BE [00:02:08]Write to MH i2c: 01 00 00 E9 05 EE [00:02:08]Write i2c OK [00:02:08]MH_I2C_Read... [00:02:09]*** Cut start [00:02:09]*** Partial cut [00:02:09]*** CUTSNS_PIN = 1 [00:02:09]*** CUTSNS_PIN = 0 [00:02:09]*** Brake cut motor [00:02:09]Read from MH i2c: 01 [00:02:09]MH_I2C_Read... [00:02:09]*** Stop cut motor [00:02:09]*** Cut end [00:02:09]Read from MH i2c: 01 07 00 [00:02:09]MH_I2C_Read... [00:02:09]Read from MH i2c: 01 07 00 E9 05 00 00 00 00 00 FF 0F 03 [00:02:09]process_action x_report done [00:02:09]requested_data is exist [00:02:09]produce_requested_data [00:02:09]requested_item fd.num is exist - process it [00:02:09]SAM_PROTO_GetFieldsCounters [00:02:09]wFMCommunicate request_size=4 [00:02:09]MH_SAM_APDU [00:02:09]CAPDU: 80 13 00 00 [00:02:09]Write to MH i2c: E2 08 00 EA 05 80 13 00 00 00 00 00 00 6B [00:02:09]Write i2c OK [00:02:09]MH_I2C_Read... [00:02:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 62 00 [00:02:10]MH_I2C_Read... [00:02:10]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 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [00:02:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:02:10]wFMCommunicate OK [00:02:10]SAM_PROTO_GetFieldsCounters done [00:02:10]requested_item shift.num is exist - process it [00:02:10]requested_item shift.opened is exist - process it [00:02:10]req_shift_opened [00:02:10]FM_GetShiftState [00:02:10]SAM_PROTO_GetShiftState [00:02:10]wFMCommunicate request_size=4 [00:02:10]MH_SAM_APDU [00:02:10]CAPDU: 80 13 01 00 [00:02:10]Write to MH i2c: E2 08 00 EB 05 80 13 01 00 00 00 00 00 6D [00:02:10]Write i2c OK [00:02:10]MH_I2C_Read... [00:02:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:02:10]Read from MH i2c: E2 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 0E 00 [00:02:10]MH_I2C_Read... [00:02:10]Read from MH i2c: E2 0E 00 EB 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E3 [00:02:10]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:02:10]wFMCommunicate OK [00:02:10]SAM_PROTO_GetShiftState done [00:02:10]FM_GetShiftState done [00:02:10]req_shift_opened done [00:02:10]requested_item shift.open_date is exist - process it [00:02:10]req_shift_open_date [00:02:10]req_shift_open_date done [00:02:10]produce_requested_data done [00:02:10]produce_requested_data return {"fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [00:02:10]process_action_free x_report [00:02:10]json_value_free [00:02:10]json_value_free done [00:02:10]process_json_proto returns [00:02:10]Send response to host [00:02:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [00:02:10]free response buf [00:02:10]execute_script done [00:02:10]execute_script returns [00:02:10]free content buf [00:02:10]Sock 10.Close socket [00:02:10]Sock 10.Thread stoped [00:02:12]OFD Sender: No OFD packet to send [00:02:17]OFD Sender: No OFD packet to send [00:02:22]OFD Sender: No OFD packet to send [00:02:27]OFD Sender: No OFD packet to send [00:02:32]OFD Sender: No OFD packet to send [00:02:37]OFD Sender: No OFD packet to send [00:02:42]OFD Sender: No OFD packet to send [00:02:47]OFD Sender: No OFD packet to send [00:02:49]ConnectInit Can't connect to host [00:02:52]OFD Sender: No OFD packet to send [00:02:57]OFD Sender: No OFD packet to send [00:03:02]OFD Sender: No OFD packet to send [00:03:07]OFD Sender: No OFD packet to send [00:03:11]accept exits with 9 [00:03:11]New connection [00:03:11]New thread 3067207012 created [00:03:11]Thread 3067063652 joined [00:03:11]Waiting for new connection... [00:03:11] Sock 9.Parse request [00:03:11]Sock 9.Check first char [00:03:11]Sock 9.First char is OK [00:03:11]request: POST /json_proto HTTP/1.0 [00:03:11]Method: POST [00:03:11]URL: /json_proto [00:03:11]Method is POST - this is cgi request [00:03:11]url: /json_proto [00:03:11]query_string will be loaded in cgi processing [00:03:11]execute_cgi json_proto POST (null) [00:03:11]execute_cgi path=json_proto method=POST [00:03:11]POST find Content-Length [00:03:11]Host: 172.17.40.196:8080 [00:03:11]Content-Length: 215 [00:03:11]Content-Type: application/json [00:03:11] [00:03:11]POST finish read [00:03:11]Found Content-Length = 215 [00:03:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:11]execute_script... [00:03:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:11]POST & json_proto [00:03:11]process_json_proto [00:03:11]json parsed OK: [00:03:11]protocol is kg_v1.0 [00:03:11]action value=get_value [00:03:11]process_action get_value [00:03:11]cmd_get_value [00:03:11]process_action get_value done [00:03:11]requested_data is exist [00:03:11]produce_requested_data [00:03:11]requested_item kkm.sn is exist - process it [00:03:11]requested_item kkm.ver is exist - process it [00:03:11]requested_item fm.sn is exist - process it [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 11 00 00 [00:03:11]Write to MH i2c: E2 08 00 EC 05 80 11 00 00 00 00 00 00 6B [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:11]Read from MH i2c: E2 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 17 00 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 17 00 EC 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 BB [00:03:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:03:11]wFMCommunicate OK [00:03:11]requested_item fd.num is exist - process it [00:03:11]SAM_PROTO_GetFieldsCounters [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 13 00 00 [00:03:11]Write to MH i2c: E2 08 00 ED 05 80 13 00 00 00 00 00 00 6E [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:11]Read from MH i2c: E2 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 62 00 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 62 00 ED 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 53 [00:03:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1C 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 4F 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:11]wFMCommunicate OK [00:03:11]SAM_PROTO_GetFieldsCounters done [00:03:11]requested_item shift.num is exist - process it [00:03:11]requested_item shift.opened is exist - process it [00:03:11]req_shift_opened [00:03:11]FM_GetShiftState [00:03:11]SAM_PROTO_GetShiftState [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 13 01 00 [00:03:11]Write to MH i2c: E2 08 00 EE 05 80 13 01 00 00 00 00 00 70 [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:11]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:11]Read from MH i2c: E2 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 0E 00 [00:03:11]MH_I2C_Read... [00:03:11]Read from MH i2c: E2 0E 00 EE 05 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 E6 [00:03:11]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:03:11]wFMCommunicate OK [00:03:11]SAM_PROTO_GetShiftState done [00:03:11]FM_GetShiftState done [00:03:11]req_shift_opened done [00:03:11]requested_item shift.open_date is exist - process it [00:03:11]req_shift_open_date [00:03:11]req_shift_open_date done [00:03:11]produce_requested_data done [00:03:11]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317} [00:03:11]process_action_free get_value [00:03:11]json_value_free [00:03:11]json_value_free done [00:03:11]process_json_proto returns [00:03:11]Send response to host [00:03:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37916,"shift.num":552,"shift.opened":1,"shift.open_date":1730160317}}} [00:03:11]free response buf [00:03:11]execute_script done [00:03:11]execute_script returns [00:03:11]free content buf [00:03:11]Sock 9.Close socket [00:03:11]Sock 9.Thread stoped [00:03:11]accept exits with 10 [00:03:11]New connection [00:03:11]New thread 3067063652 created [00:03:11]Thread 3067207012 joined [00:03:11]Waiting for new connection... [00:03:11] Sock 10.Parse request [00:03:11]Sock 10.Check first char [00:03:11]Sock 10.First char is OK [00:03:11]request: POST /json_proto HTTP/1.0 [00:03:11]Method: POST [00:03:11]URL: /json_proto [00:03:11]Method is POST - this is cgi request [00:03:11]url: /json_proto [00:03:11]query_string will be loaded in cgi processing [00:03:11]execute_cgi json_proto POST (null) [00:03:11]execute_cgi path=json_proto method=POST [00:03:11]POST find Content-Length [00:03:11]Host: 172.17.40.196:8080 [00:03:11]Content-Length: 331 [00:03:11]Content-Type: application/json [00:03:11] [00:03:11]POST finish read [00:03:11]Found Content-Length = 331 [00:03:11]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:11]execute_script... [00:03:11]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:11]POST & json_proto [00:03:11]process_json_proto [00:03:11]json parsed OK: [00:03:11]protocol is kg_v1.0 [00:03:11]action value=get_value [00:03:11]process_action get_value [00:03:11]cmd_get_value [00:03:11]process_action get_value done [00:03:11]requested_data is exist [00:03:11]produce_requested_data [00:03:11]requested_item fm.sale.total is exist - process it [00:03:11]SAM_PROTO_GetFMData [00:03:11]wFMCommunicate request_size=4 [00:03:11]MH_SAM_APDU [00:03:11]CAPDU: 80 13 03 00 [00:03:11]Write to MH i2c: E2 08 00 EF 05 80 13 03 00 00 00 00 00 73 [00:03:11]Write i2c OK [00:03:11]MH_I2C_Read... [00:03:12]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:12]Read from MH i2c: E2 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 [00:03:12]MH_I2C_Read... [00:03:12]Read from MH i2c: E2 FD 00 EF 05 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 12 [00:03:12]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:12]wFMCommunicate OK [00:03:12]wFMCommunicate request_size=4 [00:03:12]MH_SAM_APDU [00:03:12]CAPDU: 80 17 00 00 [00:03:12]Write to MH i2c: E2 08 00 F0 05 80 17 00 00 00 00 00 00 75 [00:03:12]Write i2c OK [00:03:12]MH_I2C_Read... [00:03:12]OFD Sender: No OFD packet to send [00:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 F0 05 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 70 [00:03:13]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:13]wFMCommunicate OK [00:03:13]wFMCommunicate request_size=4 [00:03:13]MH_SAM_APDU [00:03:13]CAPDU: 80 17 00 00 [00:03:13]Write to MH i2c: E2 08 00 F1 05 80 17 00 00 00 00 00 00 76 [00:03:13]Write i2c OK [00:03:13]MH_I2C_Read... [00:03:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:13]Read from MH i2c: E2 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 [00:03:13]MH_I2C_Read... [00:03:13]Read from MH i2c: E2 FD 00 F1 05 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 19 [00:03:13]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:14]wFMCommunicate OK [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 17 00 00 [00:03:14]Write to MH i2c: E2 08 00 F2 05 80 17 00 00 00 00 00 00 77 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:14]Read from MH i2c: E2 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 FD 00 [00:03:14]MH_I2C_Read... [00:03:14]Read from MH i2c: E2 FD 00 F2 05 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 EF [00:03:14]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:14]wFMCommunicate OK [00:03:14]wFMCommunicate request_size=4 [00:03:14]MH_SAM_APDU [00:03:14]CAPDU: 80 17 00 00 [00:03:14]Write to MH i2c: E2 08 00 F3 05 80 17 00 00 00 00 00 00 78 [00:03:14]Write i2c OK [00:03:14]MH_I2C_Read... [00:03:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 DD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 DD 00 F3 05 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 60 [00:03:15]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:15]wFMCommunicate OK [00:03:15]SAM_PROTO_GetFMData done [00:03:15]requested_item fm.sale_refund.total is exist - process it [00:03:15]requested_item fm.buy.total is exist - process it [00:03:15]requested_item shift.sale.total is exist - process it [00:03:15]SAM_PROTO_GetShiftData [00:03:15]wFMCommunicate request_size=4 [00:03:15]MH_SAM_APDU [00:03:15]CAPDU: 80 13 02 00 [00:03:15]Write to MH i2c: E2 08 00 F4 05 80 13 02 00 00 00 00 00 77 [00:03:15]Write i2c OK [00:03:15]MH_I2C_Read... [00:03:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:15]Read from MH i2c: E2 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 [00:03:15]MH_I2C_Read... [00:03:15]Read from MH i2c: E2 FD 00 F4 05 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 A4 [00:03:16]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:16]wFMCommunicate OK [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 17 00 00 [00:03:16]Write to MH i2c: E2 08 00 F5 05 80 17 00 00 00 00 00 00 7A [00:03:16]Write i2c OK [00:03:16]MH_I2C_Read... [00:03:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:16]Read from MH i2c: E2 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 [00:03:16]MH_I2C_Read... [00:03:16]Read from MH i2c: E2 FD 00 F5 05 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 9C [00:03:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:16]wFMCommunicate OK [00:03:16]wFMCommunicate request_size=4 [00:03:16]MH_SAM_APDU [00:03:16]CAPDU: 80 17 00 00 [00:03:17]Write to MH i2c: E2 08 00 F6 05 80 17 00 00 00 00 00 00 7B [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 F6 05 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 32 [00:03:17]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:17]wFMCommunicate OK [00:03:17]wFMCommunicate request_size=4 [00:03:17]MH_SAM_APDU [00:03:17]CAPDU: 80 17 00 00 [00:03:17]Write to MH i2c: E2 08 00 F7 05 80 17 00 00 00 00 00 00 7C [00:03:17]Write i2c OK [00:03:17]MH_I2C_Read... [00:03:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:17]Read from MH i2c: E2 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 [00:03:17]MH_I2C_Read... [00:03:17]Read from MH i2c: E2 FD 00 F7 05 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 OFD Sender: No OFD packet to send [00:03:18]00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 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 EE [00:03:18]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:18]wFMCommunicate OK [00:03:18]wFMCommunicate request_size=4 [00:03:18]MH_SAM_APDU [00:03:18]CAPDU: 80 17 00 00 [00:03:18]Write to MH i2c: E2 08 00 F8 05 80 17 00 00 00 00 00 00 7D [00:03:18]Write i2c OK [00:03:18]MH_I2C_Read... [00:03:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:18]Read from MH i2c: E2 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 CB 00 [00:03:18]MH_I2C_Read... [00:03:18]Read from MH i2c: E2 CB 00 F8 05 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 66 [00:03:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:19]wFMCommunicate OK [00:03:19]SAM_PROTO_GetShiftData done [00:03:19]requested_item shift.sale.total_cash is exist - process it [00:03:19]requested_item shift.sale_refund.total is exist - process it [00:03:19]requested_item shift.sale_refund.total_cash is exist - process it [00:03:19]requested_item shift.buy.total is exist - process it [00:03:19]requested_item shift.buy.total_cash is exist - process it [00:03:19]produce_requested_data done [00:03:19]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:19]process_action_free get_value [00:03:19]json_value_free [00:03:19]json_value_free done [00:03:19]process_json_proto returns [00:03:19]Send response to host [00:03:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:19]free response buf [00:03:19]execute_script done [00:03:19]execute_script returns [00:03:19]free content buf [00:03:19]Sock 10.Close socket [00:03:19]Sock 10.Thread stoped [00:03:19]accept exits with 9 [00:03:19]New connection [00:03:19]New thread 3067207012 created [00:03:19]Thread 3067063652 joined [00:03:19]Waiting for new connection... [00:03:19] Sock 9.Parse request [00:03:19]Sock 9.Check first char [00:03:19]Sock 9.First char is OK [00:03:19]request: POST /json_proto HTTP/1.0 [00:03:19]Method: POST [00:03:19]URL: /json_proto [00:03:19]Method is POST - this is cgi request [00:03:19]url: /json_proto [00:03:19]query_string will be loaded in cgi processing [00:03:19]execute_cgi json_proto POST (null) [00:03:19]execute_cgi path=json_proto method=POST [00:03:19]POST find Content-Length [00:03:19]Host: 172.17.40.196:8080 [00:03:19]Content-Length: 331 [00:03:19]Content-Type: application/json [00:03:19] [00:03:19]POST finish read [00:03:19]Found Content-Length = 331 [00:03:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:19]execute_script... [00:03:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:03:19]POST & json_proto [00:03:19]process_json_proto [00:03:19]json parsed OK: [00:03:19]protocol is kg_v1.0 [00:03:19]action value=get_value [00:03:19]process_action get_value [00:03:19]cmd_get_value [00:03:19]process_action get_value done [00:03:19]requested_data is exist [00:03:19]produce_requested_data [00:03:19]requested_item fm.sale.total is exist - process it [00:03:19]SAM_PROTO_GetFMData [00:03:19]wFMCommunicate request_size=4 [00:03:19]MH_SAM_APDU [00:03:19]CAPDU: 80 13 03 00 [00:03:19]Write to MH i2c: E2 08 00 F9 05 80 13 03 00 00 00 00 00 7D [00:03:19]Write i2c OK [00:03:19]MH_I2C_Read... [00:03:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:19]Read from MH i2c: E2 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 [00:03:19]MH_I2C_Read... [00:03:19]Read from MH i2c: E2 FD 00 F9 05 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 1C [00:03:19]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:20]wFMCommunicate OK [00:03:20]wFMCommunicate request_size=4 [00:03:20]MH_SAM_APDU [00:03:20]CAPDU: 80 17 00 00 [00:03:20]Write to MH i2c: E2 08 00 FA 05 80 17 00 00 00 00 00 00 7F [00:03:20]Write i2c OK [00:03:20]MH_I2C_Read... [00:03:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:20]Read from MH i2c: E2 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 FD 00 [00:03:20]MH_I2C_Read... [00:03:20]Read from MH i2c: E2 FD 00 FA 05 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 7A [00:03:20]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:20]wFMCommunicate OK [00:03:20]wFMCommunicate request_size=4 [00:03:20]MH_SAM_APDU [00:03:20]CAPDU: 80 17 00 00 [00:03:20]Write to MH i2c: E2 08 00 FB 05 80 17 00 00 00 00 00 00 80 [00:03:20]Write i2c OK [00:03:20]MH_I2C_Read... [00:03:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:21]Read from MH i2c: E2 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 FB 05 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 23 [00:03:21]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:21]wFMCommunicate OK [00:03:21]wFMCommunicate request_size=4 [00:03:21]MH_SAM_APDU [00:03:21]CAPDU: 80 17 00 00 [00:03:21]Write to MH i2c: E2 08 00 FC 05 80 17 00 00 00 00 00 00 81 [00:03:21]Write i2c OK [00:03:21]MH_I2C_Read... [00:03:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:21]Read from MH i2c: E2 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 [00:03:21]MH_I2C_Read... [00:03:21]Read from MH i2c: E2 FD 00 FC 05 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 F9 [00:03:22]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:22]wFMCommunicate OK [00:03:22]wFMCommunicate request_size=4 [00:03:22]MH_SAM_APDU [00:03:22]CAPDU: 80 17 00 00 [00:03:22]Write to MH i2c: E2 08 00 FD 05 80 17 00 00 00 00 00 00 82 [00:03:22]Write i2c OK [00:03:22]MH_I2C_Read... [00:03:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:22]Read from MH i2c: E2 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: E2 DD 00 [00:03:22]MH_I2C_Read... [00:03:22]Read from MH i2c: E2 DD 00 FD 05 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 6A [00:03:22]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:23]wFMCommunicate OK [00:03:23]SAM_PROTO_GetFMData done [00:03:23]requested_item fm.sale_refund.total is exist - process it [00:03:23]requested_item fm.buy.total is exist - process it [00:03:23]requested_item shift.sale.total is exist - process it [00:03:23]SAM_PROTO_GetShiftData [00:03:23]wFMCommunicate request_size=4 [00:03:23]MH_SAM_APDU [00:03:23]CAPDU: 80 13 02 00 [00:03:23]Write to MH i2c: E2 08 00 FE 05 80 13 02 00 00 00 00 00 81 [00:03:23]Write i2c OK [00:03:23]MH_I2C_Read... [00:03:23]OFD Sender: No OFD packet to send [00:03:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:03:23]Read from MH i2c: E2 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 FD 00 [00:03:23]MH_I2C_Read... [00:03:23]Read from MH i2c: E2 FD 00 FE 05 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 AE [00:03:23]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 90 00 [00:03:24]wFMCommunicate OK [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 17 00 00 [00:03:24]Write to MH i2c: E2 08 00 FF 05 80 17 00 00 00 00 00 00 84 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:24]Read from MH i2c: E2 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 [00:03:24]MH_I2C_Read... [00:03:24]Read from MH i2c: E2 FD 00 FF 05 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 A6 [00:03:24]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 90 00 [00:03:24]wFMCommunicate OK [00:03:24]wFMCommunicate request_size=4 [00:03:24]MH_SAM_APDU [00:03:24]CAPDU: 80 17 00 00 [00:03:24]Write to MH i2c: E2 08 00 00 06 80 17 00 00 00 00 00 00 86 [00:03:24]Write i2c OK [00:03:24]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 00 06 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3D [00:03:25]RAPDU: F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 90 00 [00:03:25]wFMCommunicate OK [00:03:25]wFMCommunicate request_size=4 [00:03:25]MH_SAM_APDU [00:03:25]CAPDU: 80 17 00 00 [00:03:25]Write to MH i2c: E2 08 00 01 06 80 17 00 00 00 00 00 00 87 [00:03:25]Write i2c OK [00:03:25]MH_I2C_Read... [00:03:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:25]Read from MH i2c: E2 [00:03:25]MH_I2C_Read... [00:03:25]Read from MH i2c: E2 FD 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 FD 00 01 06 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 F9 [00:03:26]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 90 00 [00:03:26]wFMCommunicate OK [00:03:26]wFMCommunicate request_size=4 [00:03:26]MH_SAM_APDU [00:03:26]CAPDU: 80 17 00 00 [00:03:26]Write to MH i2c: E2 08 00 02 06 80 17 00 00 00 00 00 00 88 [00:03:26]Write i2c OK [00:03:26]MH_I2C_Read... [00:03:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:03:26]Read from MH i2c: E2 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 CB 00 [00:03:26]MH_I2C_Read... [00:03:26]Read from MH i2c: E2 CB 00 02 06 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 71 [00:03:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:27]wFMCommunicate OK [00:03:27]SAM_PROTO_GetShiftData done [00:03:27]requested_item shift.sale.total_cash is exist - process it [00:03:27]requested_item shift.sale_refund.total is exist - process it [00:03:27]requested_item shift.sale_refund.total_cash is exist - process it [00:03:27]requested_item shift.buy.total is exist - process it [00:03:27]requested_item shift.buy.total_cash is exist - process it [00:03:27]produce_requested_data done [00:03:27]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:03:27]process_action_free get_value [00:03:27]json_value_free [00:03:27]json_value_free done [00:03:27]process_json_proto returns [00:03:27]Send response to host [00:03:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:03:27]free response buf [00:03:27]execute_script done [00:03:27]execute_script returns [00:03:27]free content buf [00:03:27]Sock 9.Close socket [00:03:27]Sock 9.Thread stoped [00:03:27]accept exits with 10 [00:03:27]New connection [00:03:27]New thread 3067063652 created [00:03:27]Thread 3067207012 joined [00:03:27]Waiting for new connection... [00:03:27] Sock 10.Parse request [00:03:27]Sock 10.Check first char [00:03:27]Sock 10.First char is OK [00:03:27]request: POST /json_proto HTTP/1.0 [00:03:27]Method: POST [00:03:27]URL: /json_proto [00:03:27]Method is POST - this is cgi request [00:03:27]url: /json_proto [00:03:27]query_string will be loaded in cgi processing [00:03:27]execute_cgi json_proto POST (null) [00:03:27]execute_cgi path=json_proto method=POST [00:03:27]POST find Content-Length [00:03:27]Host: 172.17.40.196:8080 [00:03:27]Content-Length: 272 [00:03:27]Content-Type: application/json [00:03:27] [00:03:27]POST finish read [00:03:27]Found Content-Length = 272 [00:03:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:27]execute_script... [00:03:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u0421\u043E\u043D\u0443\u043D\u0431\u0435\u043A\u043E\u0432 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:03:27]POST & json_proto [00:03:27]process_json_proto [00:03:27]json parsed OK: [00:03:27]protocol is kg_v1.0 [00:03:27]action value=close_shift [00:03:27]process_action close_shift [00:03:27]cmd_close_shift [00:03:27]MH_GetDate [00:03:27]Write to MH i2c: F0 00 00 03 06 F8 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 09 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 09 00 03 06 00 D0 77 21 67 5B 68 A1 66 9A [00:03:27]GetLastDocTimeStamp 1730246520 [00:03:27]current date 1730246608 [00:03:27]FM_GetShiftState [00:03:27]SAM_PROTO_GetShiftState [00:03:27]wFMCommunicate request_size=4 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 13 01 00 [00:03:27]Write to MH i2c: E2 08 00 04 06 80 13 01 00 00 00 00 00 87 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 0E 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 0E 00 04 06 00 09 00 01 BD 26 20 67 00 00 00 00 90 00 FD [00:03:27]RAPDU: 09 00 01 BD 26 20 67 00 00 00 00 90 00 [00:03:27]wFMCommunicate OK [00:03:27]SAM_PROTO_GetShiftState done [00:03:27]FM_GetShiftState done [00:03:27]KKMCreateCloseShiftDocument [00:03:27]Load OK [00:03:27]Malloc new data [00:03:27]MH_GetDate [00:03:27]Write to MH i2c: F0 00 00 05 06 FA [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 09 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: F0 09 00 05 06 00 D1 77 21 67 5B 68 A1 66 9D [00:03:27]Malloc new data [00:03:27]Malloc new data [00:03:27]Malloc new data [00:03:27]Malloc new data [00:03:27]KKMCreateCloseShiftDocument OK [00:03:27]KKMSetCloseShiftData OK [00:03:27]ProcessDocumentItem done err = 0, tmpTLVsize=75 [00:03:27]tlvbuf is 019D3190 [00:03:27]KKMLoadAndSignCloseShiftData [00:03:27]SAM_PROTO_ProcessDocument [00:03:27]wFMCommunicate request_size=9 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 01 00 04 05 00 4B 00 [00:03:27]Write to MH i2c: E2 0C 00 06 06 80 15 01 00 04 00 05 00 4B 00 00 00 E3 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 06 06 00 90 00 80 [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=23 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 02 00 12 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 [00:03:27]Write to MH i2c: E2 1A 00 07 06 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 82 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 07 06 00 90 00 81 [00:03:27]RAPDU: 90 00 [00:03:27]wFMCommunicate OK [00:03:27]wFMCommunicate request_size=34 [00:03:27]MH_SAM_APDU [00:03:27]CAPDU: 80 15 02 00 1D FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 [00:03:27]Write to MH i2c: E2 25 00 08 06 80 15 02 00 1D 00 FD 03 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 00 00 D9 [00:03:27]Write i2c OK [00:03:27]MH_I2C_Read... [00:03:27]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:27]Read from MH i2c: E2 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 [00:03:27]MH_I2C_Read... [00:03:27]Read from MH i2c: E2 03 00 08 06 00 90 00 82 [00:03:28]RAPDU: 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=13 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 15 02 00 08 F4 03 04 00 D1 77 21 67 [00:03:28]Write to MH i2c: E2 10 00 09 06 80 15 02 00 08 00 F4 03 04 00 D1 77 21 67 00 00 6A [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 03 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 03 00 09 06 00 90 00 83 [00:03:28]RAPDU: 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=25 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:03:28]Write to MH i2c: E2 1C 00 0A 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 F5 [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 03 00 [00:03:28]MH_I2C_Read... [00:03:28]OFD Sender: No OFD packet to send [00:03:28]Read from MH i2c: E2 03 00 0A 06 00 90 00 84 [00:03:28]RAPDU: 90 00 [00:03:28]wFMCommunicate OK [00:03:28]wFMCommunicate request_size=4 [00:03:28]MH_SAM_APDU [00:03:28]CAPDU: 80 15 03 00 [00:03:28]Write to MH i2c: E2 08 00 0B 06 80 15 03 00 00 00 00 00 92 [00:03:28]Write i2c OK [00:03:28]MH_I2C_Read... [00:03:28]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:03:28]Read from MH i2c: E2 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 [00:03:28]MH_I2C_Read... [00:03:28]Read from MH i2c: E2 FD 00 0B 06 00 F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D4 [00:03:29]RAPDU: F1 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 90 00 [00:03:29]wFMCommunicate OK [00:03:29]SAM_PROTO_ProcessDocument answer len = 1265 [00:03:29]SAM_PROTO_ProcessDocument remain to read = 1017 [00:03:29]wFMCommunicate request_size=4 [00:03:29]MH_SAM_APDU [00:03:29]CAPDU: 80 17 00 00 [00:03:29]Write to MH i2c: E2 08 00 0C 06 80 17 00 00 00 00 00 00 92 [00:03:29]Write i2c OK [00:03:29]MH_I2C_Read... [00:03:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:29]Read from MH i2c: E2 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 [00:03:29]MH_I2C_Read... [00:03:29]Read from MH i2c: E2 FD 00 0C 06 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DB [00:03:30]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:30]wFMCommunicate OK [00:03:30]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:30]SAM_PROTO_ProcessDocument remain to read = 767 [00:03:30]wFMCommunicate request_size=4 [00:03:30]MH_SAM_APDU [00:03:30]CAPDU: 80 17 00 00 [00:03:30]Write to MH i2c: E2 08 00 0D 06 80 17 00 00 00 00 00 00 93 [00:03:30]Write i2c OK [00:03:30]MH_I2C_Read... [00:03:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:30]Read from MH i2c: E2 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 [00:03:30]MH_I2C_Read... [00:03:30]Read from MH i2c: E2 FD 00 0D 06 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 F5 [00:03:30]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:31]wFMCommunicate OK [00:03:31]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:31]SAM_PROTO_ProcessDocument remain to read = 517 [00:03:31]wFMCommunicate request_size=4 [00:03:31]MH_SAM_APDU [00:03:31]CAPDU: 80 17 00 00 [00:03:31]Write to MH i2c: E2 08 00 0E 06 80 17 00 00 00 00 00 00 94 [00:03:31]Write i2c OK [00:03:31]MH_I2C_Read... [00:03:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:31]Read from MH i2c: E2 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 [00:03:31]MH_I2C_Read... [00:03:31]Read from MH i2c: E2 FD 00 0E 06 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 1E [00:03:31]RAPDU: 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 90 00 [00:03:32]wFMCommunicate OK [00:03:32]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:32]SAM_PROTO_ProcessDocument remain to read = 267 [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 17 00 00 [00:03:32]Write to MH i2c: E2 08 00 0F 06 80 17 00 00 00 00 00 00 95 [00:03:32]Write i2c OK [00:03:32]MH_I2C_Read... [00:03:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:32]Read from MH i2c: E2 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 [00:03:32]MH_I2C_Read... [00:03:32]Read from MH i2c: E2 FD 00 0F 06 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 5D [00:03:32]RAPDU: 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:32]wFMCommunicate OK [00:03:32]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:03:32]SAM_PROTO_ProcessDocument remain to read = 17 [00:03:32]wFMCommunicate request_size=4 [00:03:32]MH_SAM_APDU [00:03:32]CAPDU: 80 17 00 00 [00:03:33]Write to MH i2c: E2 08 00 10 06 80 17 00 00 00 00 00 00 96 [00:03:33]Write i2c OK [00:03:33]MH_I2C_Read... [00:03:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 17! [00:03:33]Read from MH i2c: E2 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 14 00 [00:03:33]MH_I2C_Read... [00:03:33]Read from MH i2c: E2 14 00 10 06 00 01 00 06 F7 03 00 00 35 04 06 00 E2 35 62 D5 F9 B4 90 00 D6 [00:03:33]RAPDU: 01 00 06 F7 03 00 00 35 04 06 00 E2 35 62 D5 F9 B4 90 00 [00:03:33]wFMCommunicate OK [00:03:33]SAM_PROTO_ProcessDocument received (without SW) 17 bytes [00:03:33]SAM_PROTO_ProcessDocument done [00:03:33]1209 (1) - 1.0 - номер версии ФФД [00:03:33]1041 (16) - 0000000000871841 - номер ФМ [00:03:33]1040 (4) - 37917 - номер ФД [00:03:33]1038 (4) - 552 - номер смены [00:03:33]1118 (4) - 78 - количество кассовых чеков за смену [00:03:33]1111 (4) - 80 - общее количество ФД за смену [00:03:33]1194 (1194) - счетчики итогов смены [00:03:33] 1134 (4) - 78 - количество чеков со всеми признаками расчетов [00:03:33] 1129 (155) - счетчики операций «приход» [00:03:33] 1135 (4) - 78 - количество чеков по признаку расчетов [00:03:33] 1201 (3) - 15601.00 - общая итоговая сумма в чеках [00:03:33] 1136 (3) - 12104.00 - итоговая сумма в чеках наличными [00:03:33] 1138 (3) - 3497.00 - итоговая сумма в чеках безналичными [00:03:33] 1024 (122) - суммы налогов [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 0% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1006 (12) - суммы НДС [00:03:33] 1010 (1) - 12% - код ставки НДС [00:03:33] 1011 (3) - 1656.58 - сумма НДС по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (11) - суммы НСП [00:03:33] 1014 (1) - 1% - код ставки НСП [00:03:33] 1015 (2) - 137.98 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 2% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 3% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 5% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1130 (141) - счетчики операций «возврат прихода» [00:03:33] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:33] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:33] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:33] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:33] 1024 (117) - суммы налогов [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 0% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 12% - код ставки НДС [00:03:33] OFD Sender: No OFD packet to send [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 2% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 3% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 5% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1131 (141) - счетчики операций «расход» [00:03:33] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:33] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:33] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:33] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:33] 1024 (117) - суммы налогов [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 0% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 12% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 2% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 3% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 5% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1,50% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1132 (141) - счетчики операций «возврат расхода» [00:03:33] 1135 (4) - 0 - количество чеков по признаку расчетов [00:03:33] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:03:33] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:03:33] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:03:33] 1024 (117) - суммы налогов [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 0% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1006 (9) - суммы НДС [00:03:33] 1010 (1) - 12% - код ставки НДС [00:03:33] 1011 (0) - 0.00 - сумма НДС по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 0% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 1% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 2% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:33] 1007 (9) - суммы НСП [00:03:33] 1014 (1) - 3% - код ставки НСП [00:03:33] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 5% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 0,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1007 (9) - суммы НСП [00:03:34] 1014 (1) - 1,50% - код ставки НСП [00:03:34] 1015 (0) - 0.00 - сумма НСП по ставке [00:03:34] 1133 (588) - - счетчики коррекции - не используются [00:03:34]1077 (6) - 248718919334324 - ФПД [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1209 (04B9) [00:03:34]Malloc new data [00:03:34]Processing tag 1041 (0411) [00:03:34]Processing tag 1040 (0410) [00:03:34]Malloc new data [00:03:34]Processing tag 1038 (040E) [00:03:34]Malloc new data [00:03:34]Processing tag 1118 (045E) [00:03:34]Malloc new data [00:03:34]Processing tag 1111 (0457) [00:03:34]Malloc new data [00:03:34]Processing tag 1194 (04AA) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1134 (046E) [00:03:34]Malloc new data [00:03:34]Processing tag 1129 (0469) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1135 (046F) [00:03:34]Malloc new data [00:03:34]Processing tag 1201 (04B1) [00:03:34]Malloc new data [00:03:34]Processing tag 1136 (0470) [00:03:34]Malloc new data [00:03:34]Processing tag 1138 (0472) [00:03:34]Malloc new data [00:03:34]Processing tag 1024 (0400) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1130 (046A) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1135 (046F) [00:03:34]Malloc new data [00:03:34]Processing tag 1201 (04B1) [00:03:34]Malloc new data [00:03:34]Processing tag 1136 (0470) [00:03:34]Malloc new data [00:03:34]Processing tag 1138 (0472) [00:03:34]Malloc new data [00:03:34]Processing tag 1024 (0400) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1131 (046B) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1135 (046F) [00:03:34]Malloc new data [00:03:34]Processing tag 1201 (04B1) [00:03:34]Malloc new data [00:03:34]Processing tag 1136 (0470) [00:03:34]Malloc new data [00:03:34]Processing tag 1138 (0472) [00:03:34]Malloc new data [00:03:34]Processing tag 1024 (0400) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1132 (046C) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1135 (046F) [00:03:34]Malloc new data [00:03:34]Processing tag 1201 (04B1) [00:03:34]Malloc new data [00:03:34]Processing tag 1136 (0470) [00:03:34]Malloc new data [00:03:34]Processing tag 1138 (0472) [00:03:34]Malloc new data [00:03:34]Processing tag 1024 (0400) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1006 (03EE) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1010 (03F2) [00:03:34]Malloc new data [00:03:34]Processing tag 1011 (03F3) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1007 (03EF) [00:03:34]Load OK [00:03:34]SetTLVBufToDocument [00:03:34]Processing tag 1014 (03F6) [00:03:34]Malloc new data [00:03:34]Processing tag 1015 (03F7) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1133 (046D) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Processing tag 1077 (0435) [00:03:34]Malloc new data [00:03:34]SetTLVBufToDocument err=0 [00:03:34]Malloc new data [00:03:34]SAM_PROTO_GetFMData [00:03:34]wFMCommunicate request_size=4 [00:03:34]MH_SAM_APDU [00:03:34]CAPDU: 80 13 03 00 [00:03:34]Write to MH i2c: E2 08 00 11 06 80 13 03 00 00 00 00 00 96 [00:03:34]Write i2c OK [00:03:34]MH_I2C_Read... [00:03:35]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:03:35]Read from MH i2c: E2 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 FD 00 [00:03:35]MH_I2C_Read... [00:03:35]Read from MH i2c: E2 FD 00 11 06 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 35 [00:03:35]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:03:35]wFMCommunicate OK [00:03:35]wFMCommunicate request_size=4 [00:03:35]MH_SAM_APDU [00:03:35]CAPDU: 80 17 00 00 [00:03:35]Write to MH i2c: E2 08 00 12 06 80 17 00 00 00 00 00 00 98 [00:03:35]Write i2c OK [00:03:35]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 12 06 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 93 [00:03:36]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:03:36]wFMCommunicate OK [00:03:36]wFMCommunicate request_size=4 [00:03:36]MH_SAM_APDU [00:03:36]CAPDU: 80 17 00 00 [00:03:36]Write to MH i2c: E2 08 00 13 06 80 17 00 00 00 00 00 00 99 [00:03:36]Write i2c OK [00:03:36]MH_I2C_Read... [00:03:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:36]Read from MH i2c: E2 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 [00:03:36]MH_I2C_Read... [00:03:36]Read from MH i2c: E2 FD 00 13 06 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 3C [00:03:37]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:03:37]wFMCommunicate OK [00:03:37]wFMCommunicate request_size=4 [00:03:37]MH_SAM_APDU [00:03:37]CAPDU: 80 17 00 00 [00:03:37]Write to MH i2c: E2 08 00 14 06 80 17 00 00 00 00 00 00 9A [00:03:37]Write i2c OK [00:03:37]MH_I2C_Read... [00:03:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:03:37]Read from MH i2c: E2 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 [00:03:37]MH_I2C_Read... [00:03:37]Read from MH i2c: E2 FD 00 14 06 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 12 [00:03:38]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 OFD Sender: No OFD packet to send [00:03:38]01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:03:38]wFMCommunicate OK [00:03:38]wFMCommunicate request_size=4 [00:03:38]MH_SAM_APDU [00:03:38]CAPDU: 80 17 00 00 [00:03:38]Write to MH i2c: E2 08 00 15 06 80 17 00 00 00 00 00 00 9B [00:03:38]Write i2c OK [00:03:38]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 DD 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 DD 00 15 06 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [00:03:39]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:03:39]wFMCommunicate OK [00:03:39]SAM_PROTO_GetFMData done [00:03:39]Malloc new data [00:03:39]Malloc new data [00:03:39]Malloc new data [00:03:39]Malloc new data [00:03:39]KKMLoadAndSignCloseShiftData err=0 [00:03:39]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Сонунбеков Э. 30.10.2024 00:03 Смена: 552 РНМ: 0000000000091684 ЗНМ: 0300000092 СНО: Общий режим Чеков за смену: 78 ФД за смену: 80 Всего чеков: 78 ИТОГИ ПРИХОД Чеков: 78 Общий итог: 15601.00 Итого наличными: 12104.00 Итого безнал.: 3497.00 НДС 0% : 0.00 НДС 12% : 1656.58 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 137.98 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 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 Нал. в кассе: 12104.00 НС Приход: 8772410.26 НС Возвр.Прихода: 12909.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 37917 ФМ: 0000000000871841 ФПД: 248718919334324 [00:03:39]StoreToDocumentArchive [00:03:39]shift 552 fd 37917 [00:03:39]save to /storage/0552/doc_00037917 [00:03:39]save last doc name /storage/0552/doc_00037917 to /storage/kkm_last_doc_name [00:03:39]save OK [00:03:39]Clear old archive folders... [00:03:39]Remove dir /storage/0522 [00:03:39]opendir ok [00:03:39]file . [00:03:39]file .. [00:03:39]file doc_1730246528 [00:03:39]remove file /storage/0522/doc_1730246528 [00:03:39]remove dir /storage/0522 [00:03:39]NVStorageSaveData kkm_registers [00:03:39]File name is /storage/kkm_registers [00:03:39]Write 24 bytes [00:03:39]NVStorageSaveData done [00:03:39]NVStorageSaveData kkm_registers [00:03:39]File name is /storage/kkm_registers [00:03:39]Write 24 bytes [00:03:39]NVStorageSaveData done [00:03:39]ProcessDocumentItem done err = 0, tmpTLVsize=1383 [00:03:39]tlvbuf is 01A38510 [00:03:39]SAM_PROTO_ClearQueue [00:03:39]wFMCommunicate request_size=4 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 09 00 00 [00:03:39]Write to MH i2c: E2 08 00 16 06 80 09 00 00 00 00 00 00 8E [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 16 06 00 90 00 90 [00:03:39]RAPDU: 90 00 [00:03:39]wFMCommunicate OK [00:03:39]SAM_PROTO_ClearQueue done [00:03:39]KKMCreateOFDPacket [00:03:39]OFDProtocolAddRootSTLVToBuf [00:03:39]FM_MakeSignedData [00:03:39]FM_MakeSignedData [00:03:39]SAM_PROTO_SignData [00:03:39]wFMCommunicate request_size=4 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 0D 01 02 [00:03:39]Write to MH i2c: E2 08 00 17 06 80 0D 01 02 00 00 00 00 96 [00:03:39]Write i2c OK [00:03:39]MH_I2C_Read... [00:03:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:03:39]Read from MH i2c: E2 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 [00:03:39]MH_I2C_Read... [00:03:39]Read from MH i2c: E2 03 00 17 06 00 90 00 91 [00:03:39]RAPDU: 90 00 [00:03:39]wFMCommunicate OK [00:03:39]wFMCommunicate request_size=255 [00:03:39]MH_SAM_APDU [00:03:39]CAPDU: 80 0D 02 02 FA 05 00 67 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 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F4 03 04 00 D1 77 21 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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:40]Write to MH i2c: E2 02 01 18 06 80 0D 02 02 FA 00 05 00 67 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 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F4 03 04 00 D1 77 21 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 00 E9 [00:03:40]Write i2c OK [00:03:40]MH_I2C_Read... [00:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:40]Read from MH i2c: E2 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 03 00 [00:03:40]MH_I2C_Read... [00:03:40]Read from MH i2c: E2 03 00 18 06 00 90 00 92 [00:03:40]RAPDU: 90 00 [00:03:40]wFMCommunicate OK [00:03:40]wFMCommunicate request_size=255 [00:03:40]MH_SAM_APDU [00:03:40]CAPDU: 80 0D 02 02 FA 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 E6 35 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:03:41]Write to MH i2c: E2 02 01 19 06 80 0D 02 02 FA 00 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 E6 35 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 21 [00:03:41]Write i2c OK [00:03:41]MH_I2C_Read... [00:03:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:41]Read from MH i2c: E2 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 03 00 [00:03:42]MH_I2C_Read... [00:03:42]Read from MH i2c: E2 03 00 19 06 00 90 00 93 [00:03:42]RAPDU: 90 00 [00:03:42]wFMCommunicate OK [00:03:42]wFMCommunicate request_size=255 [00:03:42]MH_SAM_APDU [00:03:42]CAPDU: 80 0D 02 02 FA 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:03:42]Write to MH i2c: E2 02 01 1A 06 80 0D 02 02 FA 00 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 00 60 [00:03:42]Write i2c OK [00:03:42]MH_I2C_Read... [00:03:43]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:43]Read from MH i2c: E2 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: E2 03 00 [00:03:43]MH_I2C_Read... [00:03:43]Read from MH i2c: E2 03 00 1A 06 00 90 00 94 [00:03:43]RAPDU: 90 00 [00:03:43]wFMCommunicate OK [00:03:43]wFMCommunicate request_size=255 [00:03:43]MH_SAM_APDU [00:03:43]CAPDU: 80 0D 02 02 FA 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 [00:03:43]Write to MH i2c: E2 02 01 1B 06 80 0D 02 02 FA 00 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 OFD Sender: No OFD packet to send [00:03:43]03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 00 00 5F [00:03:43]Write i2c OK [00:03:43]MH_I2C_Read... [00:03:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:44]Read from MH i2c: E2 [00:03:44]MH_I2C_Read... [00:03:44]Read from MH i2c: E2 03 00 [00:03:44]MH_I2C_Read... [00:03:44]Read from MH i2c: E2 03 00 1B 06 00 90 00 95 [00:03:44]RAPDU: 90 00 [00:03:44]wFMCommunicate OK [00:03:44]wFMCommunicate request_size=255 [00:03:44]MH_SAM_APDU [00:03:44]CAPDU: 80 0D 02 02 FA 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:03:44]Write to MH i2c: E2 02 01 1C 06 80 0D 02 02 FA 00 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 00 00 24 [00:03:44]Write i2c OK [00:03:44]MH_I2C_Read... [00:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:45]Read from MH i2c: E2 [00:03:45]MH_I2C_Read... [00:03:45]Read from MH i2c: E2 03 00 [00:03:45]MH_I2C_Read... [00:03:45]Read from MH i2c: E2 03 00 1C 06 00 90 00 96 [00:03:45]RAPDU: 90 00 [00:03:45]wFMCommunicate OK [00:03:45]wFMCommunicate request_size=142 [00:03:45]MH_SAM_APDU [00:03:45]CAPDU: 80 0D 02 02 89 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1D 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 E2 35 62 D5 F9 B4 [00:03:45]Write to MH i2c: E2 91 00 1D 06 80 0D 02 02 89 00 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 1D 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 E2 35 62 D5 F9 B4 00 00 8D [00:03:45]Write i2c OK [00:03:45]MH_I2C_Read... [00:03:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:03:45]Read from MH i2c: E2 [00:03:45]MH_I2C_Read... [00:03:45]Read from MH i2c: E2 03 00 [00:03:45]MH_I2C_Read... [00:03:45]Read from MH i2c: E2 03 00 1D 06 00 90 00 97 [00:03:45]RAPDU: 90 00 [00:03:45]wFMCommunicate OK [00:03:45]wFMCommunicate request_size=4 [00:03:45]MH_SAM_APDU [00:03:45]CAPDU: 80 0D 03 02 [00:03:45]Write to MH i2c: E2 08 00 1E 06 80 0D 03 02 00 00 00 00 9F [00:03:45]Write i2c OK [00:03:45]MH_I2C_Read... [00:03:45]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:03:45]Read from MH i2c: E2 [00:03:45]MH_I2C_Read... [00:03:45]Read from MH i2c: E2 0B 00 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: E2 0B 00 1E 06 00 20 AF 8E 5C AF 54 4B 40 90 00 E7 [00:03:46]RAPDU: 20 AF 8E 5C AF 54 4B 40 90 00 [00:03:46]wFMCommunicate OK [00:03:46]SAM_PROTO_SignData done [00:03:46]FM_MakeSignedData done [00:03:46]CreateOFDProtocolMessage [00:03:46]wFMCommunicate request_size=4 [00:03:46]MH_SAM_APDU [00:03:46]CAPDU: 80 11 00 00 [00:03:46]Write to MH i2c: E2 08 00 1F 06 80 11 00 00 00 00 00 00 9F [00:03:46]Write i2c OK [00:03:46]MH_I2C_Read... [00:03:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:03:46]Read from MH i2c: E2 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: E2 17 00 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: E2 17 00 1F 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 EF [00:03:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:03:46]wFMCommunicate OK [00:03:46]CreateOFDProtocolMessage done [00:03:46]OFDSenderStorePacket 37917 [00:03:46]StoreOFDPacket docnum=37917 [00:03:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 7B 05 00 00 26 D4 73 05 B7 66 5A 05 01 00 05 00 67 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 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F4 03 04 00 D1 77 21 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 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 1D 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 E2 35 62 D5 F9 B4 20 AF 8E 5C AF 54 4B 40 [00:03:46]CheckFolder [00:03:46]dirname=/storage/ofd_packets [00:03:46]CheckFolder done [00:03:46]ProducePacketName [00:03:46]name=ofd_packets/00037917 [00:03:46]NVStorageSaveData ofd_packets/00037917 [00:03:46]File name is /storage/ofd_packets/00037917 [00:03:46]Write 1433 bytes [00:03:46]NVStorageSaveData done [00:03:46]OFDSenderStorePacket done [00:03:46]KKMCreateOFDPacket done [00:03:46]NVStorageSaveData kkm_last_timestamp [00:03:46]File name is /storage/kkm_last_timestamp [00:03:46]Write 4 bytes [00:03:46]NVStorageSaveData done [00:03:46]ExternCall_PrintAddStr [00:03:46]wPrintStart [00:03:46]Write to MH i2c: 01 00 00 20 06 26 [00:03:46]Write i2c OK [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: 01 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: 01 07 00 [00:03:46]MH_I2C_Read... [00:03:46]Read from MH i2c: 01 07 00 20 06 00 00 00 00 00 FF 0F 3B [00:03:46]RasterBufferAndPrint [00:03:46]line Отчет о закрытии смены [00:03:46]line ФФД: 1.0 [00:03:46]line ИНН: 02508201610067 [00:03:46]line Кассир: Сонунбеков Э. [00:03:46]line 30.10.2024 00:03 [00:03:46]line Смена: 552 [00:03:46]line РНМ: 0000000000091684 [00:03:46]line ЗНМ: 0300000092 [00:03:46]line СНО: Общий режим [00:03:46]line Чеков за смену: 78 [00:03:46]line ФД за смену: 80 [00:03:46]line Всего чеков: 78 [00:03:46]line ИТОГИ ПРИХОД [00:03:46]line Чеков: 78 [00:03:46]line Общий итог: 15601.00 [00:03:46]line Итого наличными: 12104.00 [00:03:46]line Итого безнал.: 3497.00 [00:03:46]line НДС 0% : 0.00 [00:03:46]line НДС 12% : 1656.58 [00:03:46]line НСП 0% : 0.00 [00:03:46]line НСП 1,50% : 0.00 [00:03:46]line НСП 0,50% : 0.00 [00:03:46]line НСП 5% : 0.00 [00:03:46]line НСП 3% : 0.00 [00:03:46]line НСП 2% : 0.00 [00:03:46]line НСП 1% : 137.98 [00:03:46]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:03:46]line Чеков: 0 [00:03:46]line Общий итог: 0.00 [00:03:46]line Итого наличными: 0.00 [00:03:46]line Итого безнал.: 0.00 [00:03:46]line НДС 0% : 0.00 [00:03:46]line НДС 12% : 0.00 [00:03:46]line НСП 0% : 0.00 [00:03:46]line НСП 1,50% : 0.00 [00:03:46]line НСП 0,50% : 0.00 [00:03:46]line НСП 5% : 0.00 [00:03:46]line НСП 3% : 0.00 [00:03:46]line НСП 2% : 0.00 [00:03:46]line НСП 1% : 0.00 [00:03:46]line ИТОГИ РАСХОД [00:03:46]line Чеков: 0 [00:03:46]line Общий итог: 0.00 [00:03:46]line Итого наличными: 0.00 [00:03:46]line Итого безнал.: 0.00 [00:03:46]line НДС 0% : 0.00 [00:03:46]line НДС 12% : 0.00 [00:03:46]line НСП 0% : 0.00 [00:03:46]line НСП 1,50% : 0.00 [00:03:46]line НСП 0,50% : 0.00 [00:03:46]line НСП 5% : 0.00 [00:03:46]line НСП 3% : 0.00 [00:03:46]line НСП 2% : 0.00 [00:03:46]line НСП 1% : 0.00 [00:03:46]line ИТОГИ ВОЗВРАТ РАСХОДА [00:03:46]line Чеков: 0 [00:03:46]line Общий итог: 0.00 [00:03:46]line Итого наличными: 0.00 [00:03:46]line Итого безнал.: 0.00 [00:03:46]line НДС 0% : 0.00 [00:03:46]line НДС 12% : 0.00 [00:03:46]line НСП 0% : 0.00 [00:03:46]line НСП 1,50% : 0.00 [00:03:46]line НСП 0,50% : 0.00 [00:03:46]line НСП 5% : 0.00 [00:03:46]line НСП 3% : 0.00 [00:03:46]line НСП 2% : 0.00 [00:03:46]line НСП 1% : 0.00 [00:03:46]line Сумма внесений: 0.00 [00:03:46]OFD Sender: Processing packet 37917 [packets to send 42, broken 41] [00:03:46]line Сумма выплат: 0.00 [00:03:46]ProducePacketName [00:03:46]line Нал. в кассе: 12104.00 [00:03:46]name=ofd_packets/00037917 [00:03:46]line НС Приход: 8772410.26 [00:03:46]line НС Возвр.Прихода: 12909.00 [00:03:46]line НС Расход: 0.00 [00:03:46]line НС Возвр.Расхода: 0.00 [00:03:46]line ФД: 37917 [00:03:46]line ФМ: 0000000000871841 [00:03:46]line ФПД: 248718919334324 [00:03:46]OFD Sender: To server: pG, [00:03:46]CommunicateWithHost lk.salyk.kg:30040 [00:03:46]written 0, free lines is 4095 [00:03:46]ConnectInit lk.salyk.kg [00:03:47]Connected sock=11 [00:03:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 7B 05 00 00 26 D4 73 05 B7 66 5A 05 01 00 05 00 67 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 19 00 D0 A1 D0 BE D0 BD D1 83 D0 BD D0 B1 D0 B5 D0 BA D0 BE D0 B2 20 D0 AD 2E 20 F4 03 04 00 D1 77 21 67 0E 04 04 00 28 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 AA 04 D5 04 6E 04 04 00 4E 00 00 00 69 04 A2 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 6A 04 99 00 6F 04 04 00 00 00 00 00 B1 04 01 00 00 70 04 01 00 Write to MH i2c: 00 01 72 00 04 01 00 00 00 04 7E 00 00 70 EE 06 03 76 0A [00:03:47]00 Write i2c OK [00:03:47]F2 MH_I2C_Read... [00:03:47]03 01 00 00 F3 03 01 Read from MH i2c: 00 01 00 [00:03:47]EE MH_I2C_Read... [00:03:47]03 Read from MH i2c: 0A 01 00 07 F2 00 03 [00:03:47]01 MH_I2C_Read... [00:03:47]00 01 F3 03 01 00 00 EF Read from MH i2c: 03 01 0A 07 00 F6 03 01 00 00 F7 03 00 01 70 00 06 00 00 EF 00 03 00 0A 00 00 00 F6 8E 03 0A 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 15 01 [00:03:48]00 RasterBufferAndPrint [00:03:48]02 F7 03 01 00 00 EF 03 line [00:03:48]0A line [00:03:48]00 line [00:03:48]F6 03 01 00 01 F7 03 01 line [00:03:48]00 line [00:03:48]00 6B 04 99 00 6F 04 04 00 00 00 written 0, free lines is 3256 [00:03:48]00 00 B1 04 01 00 00 70 MH_Cut [00:03:48]04 Write to MH i2c: 01 D1 00 01 00 00 72 04 01 00 00 00 04 77 7E 06 00 01 EE 4F 03 [00:03:48]0A 00 F2 03 01 Write i2c OK [00:03:48]00 MH_I2C_Read... [00:03:48]00 F3 03 01 00 00 EE 03 0A 00 Read from MH i2c: F2 D1 03 [00:03:48]01 MH_I2C_Read... [00:03:48]00 01 F3 03 01 00 Read from MH i2c: 00 D1 EF 01 03 0A 00 F6 03 01 00 00 00 F7 [00:03:48]03 MH_I2C_Read... [00:03:48]01 Read from MH i2c: 00 D1 00 01 EF 00 77 06 00 4E [00:03:48]Write to MH i2c: 01 00 00 78 06 7E [00:03:48]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 Write i2c OK [00:03:48]00 MH_I2C_Read... [00:03:48]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 *** Cut start [00:03:48]EF *** Partial cut [00:03:48]03 *** CUTSNS_PIN = 1 [00:03:48]09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 *** CUTSNS_PIN = 0 [00:03:48]00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 *** Brake cut motor [00:03:49]03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 Read from MH i2c: 00 01 04 [00:03:49]75 00 EE 03 09 00 F2 03 MH_I2C_Read... [00:03:49]01 Read from MH i2c: 00 01 00 F3 03 00 00 EE 03 09 07 00 00 F2 [00:03:49]03 MH_I2C_Read... [00:03:49]01 Read from MH i2c: 00 01 01 07 *** Stop cut motor [00:03:49]00 78 *** Cut end [00:03:49]06 F3 03 00 00 EF 03 09 00 00 F6 00 03 00 01 00 00 F7 03 00 00 EF 00 03 00 09 FF 00 F6 03 01 00 01 F7 03 0F 00 93 00 [00:03:49]EF 03 09 00 F6 03 01 00 process_action close_shift done [00:03:49]02 requested_data is exist [00:03:49]produce_requested_data [00:03:49]F7 requested_item fd.num is exist - process it [00:03:49]03 SAM_PROTO_GetFieldsCounters [00:03:49]00 wFMCommunicate request_size=4 [00:03:49]00 MH_SAM_APDU [00:03:49]EF CAPDU: 03 80 09 13 00 F6 03 01 00 03 F7 00 03 00 00 [00:03:49]00 Write to MH i2c: EF E2 03 08 09 00 00 79 F6 06 03 80 01 13 00 00 04 00 00 00 00 00 FB [00:03:49]F7 Write i2c OK [00:03:49]03 MH_I2C_Read... [00:03:49]00 00 EF 03 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 1D 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 E2 35 62 D5 F9 B4 20 AF 8E 5C AF 54 4B *** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:03:49]40 Read from MH i2c: [00:03:49]E2 [00:03:49]MH_I2C_Read... [00:03:49]Read from MH i2c: E2 62 00 [00:03:49]MH_I2C_Read... [00:03:49]Read from MH i2c: E2 62 00 79 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 E2 [00:03:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:03:50]wFMCommunicate OK [00:03:50]SAM_PROTO_GetFieldsCounters done [00:03:50]requested_item shift.num is exist - process it [00:03:50]requested_item shift.opened is exist - process it [00:03:50]req_shift_opened [00:03:50]FM_GetShiftState [00:03:50]SAM_PROTO_GetShiftState [00:03:50]wFMCommunicate request_size=4 [00:03:50]MH_SAM_APDU [00:03:50]CAPDU: 80 13 01 00 [00:03:50]Write to MH i2c: E2 08 00 7A 06 80 13 01 00 00 00 00 00 FD [00:03:50]Write i2c OK [00:03:50]MH_I2C_Read... [00:03:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:50]Read from MH i2c: E2 [00:03:50]MH_I2C_Read... [00:03:50]Read from MH i2c: E2 0E 00 [00:03:50]MH_I2C_Read... [00:03:50]Read from MH i2c: E2 0E 00 7A 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 08 [00:03:50]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:03:50]wFMCommunicate OK [00:03:50]SAM_PROTO_GetShiftState done [00:03:50]FM_GetShiftState done [00:03:50]req_shift_opened done [00:03:50]requested_item shift.open_date is exist - process it [00:03:50]req_shift_open_date [00:03:50]FM_GetShiftState [00:03:50]SAM_PROTO_GetShiftState [00:03:50]wFMCommunicate request_size=4 [00:03:50]MH_SAM_APDU [00:03:50]CAPDU: 80 13 01 00 [00:03:50]Write to MH i2c: E2 08 00 7B 06 80 13 01 00 00 00 00 00 FE [00:03:50]Write i2c OK [00:03:50]MH_I2C_Read... [00:03:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:03:50]Read from MH i2c: E2 [00:03:50]MH_I2C_Read... [00:03:50]Read from MH i2c: E2 0E 00 [00:03:50]Received data: MH_I2C_Read... [00:03:50]87 95 Read from MH i2c: F6 70 47 2C 01 00 E2 30 0E 30 00 30 30 30 30 30 30 30 30 7B 38 06 37 00 31 38 34 31 4F 00 00 00 09 CE 00 DA 00 47 00 00 00 6F 00 65 00 00 00 00 00 90 00 09 [00:03:50]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:03:50]wFMCommunicate OK [00:03:50]SAM_PROTO_GetShiftState done [00:03:50]FM_GetShiftState done [00:03:50]A5 req_shift_open_date done [00:03:50]07 produce_requested_data done [00:03:50]produce_requested_data return {"fd.num":37917,"shift.num":552,"shift.opened":0,"shift.open_date":0} [00:03:50]01 process_action_free close_shift [00:03:50]00 json_value_free [00:03:50]07 json_value_free done [00:03:50]00 process_json_proto returns [00:03:50]3B Send response to host [00:03:50]00 {"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37917,"shift.num":552,"shift.opened":0,"shift.open_date":0}}} [00:03:50]F9 free response buf [00:03:50]execute_script done [00:03:50]execute_script returns [00:03:50]free content buf [00:03:50]Sock 10.Close socket [00:03:50]Sock 10.Thread stoped [00:03:50]03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1D 94 00 00 F4 03 04 00 D5 22 21 67 B6 04 01 00 00 50 14 04 39 D7 EF 76 22 [00:03:50]CommunicateWithHost err = 0 [00:03:50]CheckOFDResponse [00:03:50]1017 (14) - 77093643461234 [00:03:50]1041 (16) - 0000000000871841 [00:03:50]1040 (4) - 37917 [00:03:50]1012 (4) - 29.10.2024 18:00 [00:03:50]1206 (1) - 0 [00:03:50]OFD Sender: Remove packet 37917 [00:03:50]ProducePacketName [00:03:50]name=ofd_packets/00037917 [00:03:50]NVStorageDeleteData [00:03:51]OFD Sender: No OFD packet to send [00:03:56]OFD Sender: No OFD packet to send [00:04:01]OFD Sender: No OFD packet to send [00:04:06]OFD Sender: No OFD packet to send [00:04:11]OFD Sender: No OFD packet to send [00:04:16]OFD Sender: No OFD packet to send [00:04:21]OFD Sender: No OFD packet to send [00:04:26]OFD Sender: No OFD packet to send [00:04:31]OFD Sender: No OFD packet to send [00:04:36]OFD Sender: No OFD packet to send [00:04:41]OFD Sender: No OFD packet to send [00:04:46]OFD Sender: No OFD packet to send [00:04:51]OFD Sender: No OFD packet to send [00:04:56]OFD Sender: No OFD packet to send [00:05:01]OFD Sender: No OFD packet to send [00:05:06]OFD Sender: No OFD packet to send [00:05:11]OFD Sender: No OFD packet to send [00:05:12]ConnectInit Can't connect to host [00:05:16]OFD Sender: No OFD packet to send [00:05:21]OFD Sender: No OFD packet to send [00:05:26]OFD Sender: No OFD packet to send [00:05:31]OFD Sender: No OFD packet to send [00:05:36]OFD Sender: No OFD packet to send [00:05:41]OFD Sender: No OFD packet to send [00:05:46]OFD Sender: No OFD packet to send [00:05:51]OFD Sender: No OFD packet to send [00:05:56]OFD Sender: No OFD packet to send [00:06:01]OFD Sender: No OFD packet to send [00:06:06]OFD Sender: No OFD packet to send [00:06:11]OFD Sender: No OFD packet to send [00:06:16]OFD Sender: No OFD packet to send [00:06:21]OFD Sender: No OFD packet to send [00:06:26]OFD Sender: No OFD packet to send [00:06:31]OFD Sender: No OFD packet to send [00:06:36]OFD Sender: No OFD packet to send [00:06:41]OFD Sender: No OFD packet to send [00:06:46]OFD Sender: No OFD packet to send [00:06:51]OFD Sender: No OFD packet to send [00:06:56]OFD Sender: No OFD packet to send [00:07:01]OFD Sender: No OFD packet to send [00:07:03]accept exits with 9 [00:07:03]New connection [00:07:03]New thread 3067207012 created [00:07:03]Thread 3067063652 joined [00:07:03]Waiting for new connection... [00:07:03] Sock 9.Parse request [00:07:03]Sock 9.Check first char [00:07:03]Sock 9.First char is OK [00:07:03]request: POST /json_proto HTTP/1.0 [00:07:03]Method: POST [00:07:03]URL: /json_proto [00:07:03]Method is POST - this is cgi request [00:07:03]url: /json_proto [00:07:03]query_string will be loaded in cgi processing [00:07:03]execute_cgi json_proto POST (null) [00:07:03]execute_cgi path=json_proto method=POST [00:07:03]POST find Content-Length [00:07:03]Host: 172.17.40.196:8080 [00:07:03]Content-Length: 215 [00:07:03]Content-Type: application/json [00:07:03] [00:07:03]POST finish read [00:07:03]Found Content-Length = 215 [00:07: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" ] } } [00:07:03]execute_script... [00:07: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" ] } } [00:07:03]POST & json_proto [00:07:03]process_json_proto [00:07:03]json parsed OK: [00:07:03]protocol is kg_v1.0 [00:07:03]action value=get_value [00:07:03]process_action get_value [00:07:03]cmd_get_value [00:07:03]process_action get_value done [00:07:03]requested_data is exist [00:07:03]produce_requested_data [00:07:03]requested_item kkm.sn is exist - process it [00:07:03]requested_item kkm.ver is exist - process it [00:07:03]requested_item fm.sn is exist - process it [00:07:03]wFMCommunicate request_size=4 [00:07:03]MH_SAM_APDU [00:07:03]CAPDU: 80 11 00 00 [00:07:03]Write to MH i2c: E2 08 00 7C 06 80 11 00 00 00 00 00 00 FC [00:07:03]Write i2c OK [00:07:03]MH_I2C_Read... [00:07:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:03]Read from MH i2c: E2 [00:07:03]MH_I2C_Read... [00:07:03]Read from MH i2c: E2 17 00 [00:07:03]MH_I2C_Read... [00:07:03]Read from MH i2c: E2 17 00 7C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 4C [00:07:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:07:04]wFMCommunicate OK [00:07:04]requested_item fd.num is exist - process it [00:07:04]SAM_PROTO_GetFieldsCounters [00:07:04]wFMCommunicate request_size=4 [00:07:04]MH_SAM_APDU [00:07:04]CAPDU: 80 13 00 00 [00:07:04]Write to MH i2c: E2 08 00 7D 06 80 13 00 00 00 00 00 00 FF [00:07:04]Write i2c OK [00:07:04]MH_I2C_Read... [00:07:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:04]Read from MH i2c: E2 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 62 00 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 62 00 7D 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [00:07:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1D 94 00 00 0E 04 04 00 28 02 00 00 12 04 04 00 4E 00 00 00 5E 04 04 00 4E 00 00 00 57 04 04 00 50 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:04]wFMCommunicate OK [00:07:04]SAM_PROTO_GetFieldsCounters done [00:07:04]requested_item shift.num is exist - process it [00:07:04]requested_item shift.opened is exist - process it [00:07:04]req_shift_opened [00:07:04]FM_GetShiftState [00:07:04]SAM_PROTO_GetShiftState [00:07:04]wFMCommunicate request_size=4 [00:07:04]MH_SAM_APDU [00:07:04]CAPDU: 80 13 01 00 [00:07:04]Write to MH i2c: E2 08 00 7E 06 80 13 01 00 00 00 00 00 01 [00:07:04]Write i2c OK [00:07:04]MH_I2C_Read... [00:07:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:04]Read from MH i2c: E2 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 0E 00 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 0E 00 7E 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0C [00:07:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:07:04]wFMCommunicate OK [00:07:04]SAM_PROTO_GetShiftState done [00:07:04]FM_GetShiftState done [00:07:04]req_shift_opened done [00:07:04]requested_item shift.open_date is exist - process it [00:07:04]req_shift_open_date [00:07:04]FM_GetShiftState [00:07:04]SAM_PROTO_GetShiftState [00:07:04]wFMCommunicate request_size=4 [00:07:04]MH_SAM_APDU [00:07:04]CAPDU: 80 13 01 00 [00:07:04]Write to MH i2c: E2 08 00 7F 06 80 13 01 00 00 00 00 00 02 [00:07:04]Write i2c OK [00:07:04]MH_I2C_Read... [00:07:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:04]Read from MH i2c: E2 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 0E 00 [00:07:04]MH_I2C_Read... [00:07:04]Read from MH i2c: E2 0E 00 7F 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 0D [00:07:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:07:04]wFMCommunicate OK [00:07:04]SAM_PROTO_GetShiftState done [00:07:04]FM_GetShiftState done [00:07:04]req_shift_open_date done [00:07:04]produce_requested_data done [00:07:04]produce_requested_data return {"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37917,"shift.num":552,"shift.opened":0,"shift.open_date":0} [00:07:04]process_action_free get_value [00:07:04]json_value_free [00:07:04]json_value_free done [00:07:04]process_json_proto returns [00:07:04]Send response to host [00:07:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000092","kkm.ver":"001","fm.sn":"0000000000871841","fd.num":37917,"shift.num":552,"shift.opened":0,"shift.open_date":0}}} [00:07:04]free response buf [00:07:04]execute_script done [00:07:04]execute_script returns [00:07:04]free content buf [00:07:04]Sock 9.Close socket [00:07:04]Sock 9.Thread stoped [00:07:04]accept exits with 10 [00:07:04]New connection [00:07:04]New thread 3067063652 created [00:07:04]Thread 3067207012 joined [00:07:04]Waiting for new connection... [00:07:04] Sock 10.Parse request [00:07:04]Sock 10.Check first char [00:07:04]Sock 10.First char is OK [00:07:04]request: POST /json_proto HTTP/1.0 [00:07:04]Method: POST [00:07:04]URL: /json_proto [00:07:04]Method is POST - this is cgi request [00:07:04]url: /json_proto [00:07:04]query_string will be loaded in cgi processing [00:07:04]execute_cgi json_proto POST (null) [00:07:04]execute_cgi path=json_proto method=POST [00:07:04]POST find Content-Length [00:07:04]Host: 172.17.40.196:8080 [00:07:04]Content-Length: 331 [00:07:04]Content-Type: application/json [00:07:04] [00:07:04]POST finish read [00:07:04]Found Content-Length = 331 [00:07:04]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:07:04]execute_script... [00:07:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:07:04]POST & json_proto [00:07:04]process_json_proto [00:07:04]json parsed OK: [00:07:04]protocol is kg_v1.0 [00:07:04]action value=get_value [00:07:04]process_action get_value [00:07:04]cmd_get_value [00:07:04]process_action get_value done [00:07:04]requested_data is exist [00:07:04]produce_requested_data [00:07:04]requested_item fm.sale.total is exist - process it [00:07:04]SAM_PROTO_GetFMData [00:07:04]wFMCommunicate request_size=4 [00:07:04]MH_SAM_APDU [00:07:04]CAPDU: 80 13 03 00 [00:07:04]Write to MH i2c: E2 08 00 80 06 80 13 03 00 00 00 00 00 05 [00:07:04]Write i2c OK [00:07:04]MH_I2C_Read... [00:07:05]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:05]Read from MH i2c: E2 [00:07:05]MH_I2C_Read... [00:07:05]Read from MH i2c: E2 FD 00 [00:07:05]MH_I2C_Read... [00:07:05]Read from MH i2c: E2 FD 00 80 06 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 A4 [00:07:05]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:07:06]wFMCommunicate OK [00:07:06]wFMCommunicate request_size=4 [00:07:06]MH_SAM_APDU [00:07:06]CAPDU: 80 17 00 00 [00:07:06]Write to MH i2c: E2 08 00 81 06 80 17 00 00 00 00 00 00 07 [00:07:06]Write i2c OK [00:07:06]MH_I2C_Read... [00:07:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:06]Read from MH i2c: E2 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 FD 00 [00:07:06]MH_I2C_Read... [00:07:06]Read from MH i2c: E2 FD 00 81 06 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 OFD Sender: No OFD packet to send [00:07:06]05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 02 [00:07:06]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:07:07]wFMCommunicate OK [00:07:07]wFMCommunicate request_size=4 [00:07:07]MH_SAM_APDU [00:07:07]CAPDU: 80 17 00 00 [00:07:07]Write to MH i2c: E2 08 00 82 06 80 17 00 00 00 00 00 00 08 [00:07:07]Write i2c OK [00:07:07]MH_I2C_Read... [00:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:07]Read from MH i2c: E2 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 [00:07:07]MH_I2C_Read... [00:07:07]Read from MH i2c: E2 FD 00 82 06 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 AB [00:07:07]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:07:08]wFMCommunicate OK [00:07:08]wFMCommunicate request_size=4 [00:07:08]MH_SAM_APDU [00:07:08]CAPDU: 80 17 00 00 [00:07:08]Write to MH i2c: E2 08 00 83 06 80 17 00 00 00 00 00 00 09 [00:07:08]Write i2c OK [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 [00:07:08]MH_I2C_Read... [00:07:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:08]Read from MH i2c: E2 FD 00 [00:07:08]MH_I2C_Read... [00:07:08]Read from MH i2c: E2 FD 00 83 06 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 81 [00:07:08]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:07:09]wFMCommunicate OK [00:07:09]wFMCommunicate request_size=4 [00:07:09]MH_SAM_APDU [00:07:09]CAPDU: 80 17 00 00 [00:07:09]Write to MH i2c: E2 08 00 84 06 80 17 00 00 00 00 00 00 0A [00:07:09]Write i2c OK [00:07:09]MH_I2C_Read... [00:07:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:07:09]Read from MH i2c: E2 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 DD 00 [00:07:09]MH_I2C_Read... [00:07:09]Read from MH i2c: E2 DD 00 84 06 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F2 [00:07:09]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:10]wFMCommunicate OK [00:07:10]SAM_PROTO_GetFMData done [00:07:10]requested_item fm.sale_refund.total is exist - process it [00:07:10]requested_item fm.buy.total is exist - process it [00:07:10]requested_item shift.sale.total is exist - process it [00:07:10]SAM_PROTO_GetShiftData [00:07:10]wFMCommunicate request_size=4 [00:07:10]MH_SAM_APDU [00:07:10]CAPDU: 80 13 02 00 [00:07:10]Write to MH i2c: E2 08 00 85 06 80 13 02 00 00 00 00 00 09 [00:07:10]Write i2c OK [00:07:10]MH_I2C_Read... [00:07:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:10]Read from MH i2c: E2 [00:07:10]MH_I2C_Read... [00:07:10]Read from MH i2c: E2 FD 00 [00:07:10]MH_I2C_Read... [00:07:10]Read from MH i2c: E2 FD 00 85 06 00 AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 36 [00:07:11]RAPDU: AE 04 AA 04 AA 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 24 CE 17 70 04 03 00 20 78 12 72 04 03 00 04 56 05 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 1A 87 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 E6 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:07:11]wFMCommunicate OK [00:07:11]wFMCommunicate request_size=4 [00:07:11]MH_SAM_APDU [00:07:11]CAPDU: 80 17 00 00 [00:07:11]Write to MH i2c: E2 08 00 86 06 80 17 00 00 00 00 00 00 0C [00:07:11]Write i2c OK [00:07:11]MH_I2C_Read... [00:07:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:11]Read from MH i2c: E2 [00:07:11]MH_I2C_Read... [00:07:11]OFD Sender: No OFD packet to send [00:07:11]Read from MH i2c: E2 FD 00 [00:07:11]MH_I2C_Read... [00:07:11]Read from MH i2c: E2 FD 00 86 06 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 2E [00:07:12]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:07:12]wFMCommunicate OK [00:07:12]wFMCommunicate request_size=4 [00:07:12]MH_SAM_APDU [00:07:12]CAPDU: 80 17 00 00 [00:07:12]Write to MH i2c: E2 08 00 87 06 80 17 00 00 00 00 00 00 0D [00:07:12]Write i2c OK [00:07:12]MH_I2C_Read... [00:07:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:12]Read from MH i2c: E2 [00:07:12]MH_I2C_Read... [00:07:12]Read from MH i2c: E2 FD 00 [00:07:12]MH_I2C_Read... [00:07:12]Read from MH i2c: E2 FD 00 87 06 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 C4 [00:07:13]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:07:13]wFMCommunicate OK [00:07:13]wFMCommunicate request_size=4 [00:07:13]MH_SAM_APDU [00:07:13]CAPDU: 80 17 00 00 [00:07:13]Write to MH i2c: E2 08 00 88 06 80 17 00 00 00 00 00 00 0E [00:07:13]Write i2c OK [00:07:13]MH_I2C_Read... [00:07:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:14]Read from MH i2c: E2 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 FD 00 [00:07:14]MH_I2C_Read... [00:07:14]Read from MH i2c: E2 FD 00 88 06 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 80 [00:07:14]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:07:14]wFMCommunicate OK [00:07:14]wFMCommunicate request_size=4 [00:07:14]MH_SAM_APDU [00:07:14]CAPDU: 80 17 00 00 [00:07:15]Write to MH i2c: E2 08 00 89 06 80 17 00 00 00 00 00 00 0F [00:07:15]Write i2c OK [00:07:15]MH_I2C_Read... [00:07:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 200! [00:07:15]Read from MH i2c: E2 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 CB 00 [00:07:15]MH_I2C_Read... [00:07:15]Read from MH i2c: E2 CB 00 89 06 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 F8 [00:07:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:15]wFMCommunicate OK [00:07:15]SAM_PROTO_GetShiftData done [00:07:15]requested_item shift.sale.total_cash is exist - process it [00:07:15]requested_item shift.sale_refund.total is exist - process it [00:07:15]requested_item shift.sale_refund.total_cash is exist - process it [00:07:15]requested_item shift.buy.total is exist - process it [00:07:15]requested_item shift.buy.total_cash is exist - process it [00:07:15]produce_requested_data done [00:07:15]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:15]process_action_free get_value [00:07:15]json_value_free [00:07:15]json_value_free done [00:07:15]process_json_proto returns [00:07:15]Send response to host [00:07:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":15601.00,"shift.sale.total_cash":12104.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:15]free response buf [00:07:15]execute_script done [00:07:15]execute_script returns [00:07:15]free content buf [00:07:15]Sock 10.Close socket [00:07:15]Sock 10.Thread stoped [00:07:16]accept exits with 9 [00:07:16]New connection [00:07:16]New thread 3067207012 created [00:07:16]Thread 3067063652 joined [00:07:16]Waiting for new connection... [00:07:16] Sock 9.Parse request [00:07:16]Sock 9.Check first char [00:07:16]Sock 9.First char is OK [00:07:16]request: POST /json_proto HTTP/1.0 [00:07:16]Method: POST [00:07:16]URL: /json_proto [00:07:16]Method is POST - this is cgi request [00:07:16]url: /json_proto [00:07:16]query_string will be loaded in cgi processing [00:07:16]execute_cgi json_proto POST (null) [00:07:16]execute_cgi path=json_proto method=POST [00:07:16]POST find Content-Length [00:07:16]Host: 172.17.40.196:8080 [00:07:16]Content-Length: 284 [00:07:16]Content-Type: application/json [00:07:16] [00:07:16]POST finish read [00:07:16]Found Content-Length = 284 [00:07:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:16]execute_script... [00:07:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0422\u0435\u043C\u0438\u0440\u0431\u0435\u043A \u0443\u0443\u043B\u0443 \u042D. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:07:16]POST & json_proto [00:07:16]process_json_proto [00:07:16]json parsed OK: [00:07:16]protocol is kg_v1.0 [00:07:16]action value=open_shift [00:07:16]process_action open_shift [00:07:16]cmd_open_shift [00:07:16]MH_GetDate [00:07:16]Write to MH i2c: F0 00 00 8A 06 7F [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 09 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 09 00 8A 06 00 B5 78 21 67 5B 68 A1 66 07 [00:07:16]GetLastDocTimeStamp 1730246609 [00:07:16]current date 1730246837 [00:07:16]FM_GetShiftState [00:07:16]SAM_PROTO_GetShiftState [00:07:16]wFMCommunicate request_size=4 [00:07:16]MH_SAM_APDU [00:07:16]CAPDU: 80 13 01 00 [00:07:16]Write to MH i2c: E2 08 00 8B 06 80 13 01 00 00 00 00 00 0E [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 0E 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 0E 00 8B 06 00 09 00 00 00 00 00 00 00 00 00 00 90 00 19 [00:07:16]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:07:16]wFMCommunicate OK [00:07:16]SAM_PROTO_GetShiftState done [00:07:16]FM_GetShiftState done [00:07:16]KKMCreateOpenShiftDocument [00:07:16]Load OK [00:07:16]Malloc new data [00:07:16]MH_GetDate [00:07:16]Write to MH i2c: F0 00 00 8C 06 81 [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 09 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: F0 09 00 8C 06 00 B5 78 21 67 5B 68 A1 66 09 [00:07:16]Malloc new data [00:07:16]KKMCreateOpenShiftDocument OK [00:07:16]KKMSetOpenShiftData OK [00:07:16]ProcessDocumentItem done err = 0, tmpTLVsize=204 [00:07:16]tlvbuf is 0190CC50 [00:07:16]KKMLoadAndSignOpenShiftData [00:07:16]SAM_PROTO_ProcessDocument [00:07:16]wFMCommunicate request_size=9 [00:07:16]MH_SAM_APDU [00:07:16]CAPDU: 80 15 01 00 04 02 00 CC 00 [00:07:16]Write to MH i2c: E2 0C 00 8D 06 80 15 01 00 04 00 02 00 CC 00 00 00 E8 [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 8D 06 00 90 00 07 [00:07:16]RAPDU: 90 00 [00:07:16]wFMCommunicate OK [00:07:16]wFMCommunicate request_size=23 [00:07:16]MH_SAM_APDU [00:07:16]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:07:16]Write to MH i2c: E2 1A 00 8E 06 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 09 [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 8E 06 00 90 00 08 [00:07:16]RAPDU: 90 00 [00:07:16]wFMCommunicate OK [00:07:16]wFMCommunicate request_size=39 [00:07:16]MH_SAM_APDU [00:07:16]CAPDU: 80 15 02 00 22 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 [00:07:16]Write to MH i2c: E2 2A 00 8F 06 80 15 02 00 22 00 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 00 00 F5 [00:07:16]OFD Sender: No OFD packet to send [00:07:16]Write i2c OK [00:07:16]MH_I2C_Read... [00:07:16]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:16]Read from MH i2c: E2 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 [00:07:16]MH_I2C_Read... [00:07:16]Read from MH i2c: E2 03 00 8F 06 00 90 00 09 [00:07:17]RAPDU: 90 00 [00:07:17]wFMCommunicate OK [00:07:17]wFMCommunicate request_size=83 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 15 02 00 4E F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 [00:07:17]Write to MH i2c: E2 56 00 90 06 80 15 02 00 4E 00 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 00 00 69 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:17]Read from MH i2c: E2 03 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 03 00 90 06 00 90 00 0A [00:07:17]RAPDU: 90 00 [00:07:17]wFMCommunicate OK [00:07:17]wFMCommunicate request_size=51 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 [00:07:17]Write to MH i2c: E2 36 00 91 06 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 00 00 C2 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 03 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 03 00 91 06 00 90 00 0B [00:07:17]RAPDU: 90 00 [00:07:17]wFMCommunicate OK [00:07:17]wFMCommunicate request_size=13 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 15 02 00 08 F4 03 04 00 B5 78 21 67 [00:07:17]Write to MH i2c: E2 10 00 92 06 80 15 02 00 08 00 F4 03 04 00 B5 78 21 67 00 00 D8 [00:07:17]Write i2c OK [00:07:17]MH_I2C_Read... [00:07:17]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:17]Read from MH i2c: E2 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 03 00 [00:07:17]MH_I2C_Read... [00:07:17]Read from MH i2c: E2 03 00 92 06 00 90 00 0C [00:07:17]RAPDU: 90 00 [00:07:17]wFMCommunicate OK [00:07:17]wFMCommunicate request_size=25 [00:07:17]MH_SAM_APDU [00:07:17]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 [00:07:17]Write to MH i2c: E2 1C 00 93 06 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 00 00 7E [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 03 00 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 03 00 93 06 00 90 00 0D [00:07:18]RAPDU: 90 00 [00:07:18]wFMCommunicate OK [00:07:18]wFMCommunicate request_size=4 [00:07:18]MH_SAM_APDU [00:07:18]CAPDU: 80 15 03 00 [00:07:18]Write to MH i2c: E2 08 00 94 06 80 15 03 00 00 00 00 00 1B [00:07:18]Write i2c OK [00:07:18]MH_I2C_Read... [00:07:18]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:07:18]Read from MH i2c: E2 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 38 00 [00:07:18]MH_I2C_Read... [00:07:18]Read from MH i2c: E2 38 00 94 06 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1E 94 00 00 0E 04 04 00 29 02 00 00 35 04 06 00 67 9D 45 8B 99 24 90 00 52 [00:07:18]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1E 94 00 00 0E 04 04 00 29 02 00 00 35 04 06 00 67 9D 45 8B 99 24 90 00 [00:07:18]wFMCommunicate OK [00:07:18]SAM_PROTO_ProcessDocument answer len = 51 [00:07:18]SAM_PROTO_ProcessDocument done [00:07:18]SetTLVBufToDocument [00:07:18]Processing tag 1209 (04B9) [00:07:18]Malloc new data [00:07:18]Processing tag 1041 (0411) [00:07:18]Processing tag 1040 (0410) [00:07:18]Malloc new data [00:07:18]Processing tag 1038 (040E) [00:07:18]Malloc new data [00:07:18]Processing tag 1077 (0435) [00:07:18]Malloc new data [00:07:18]SetTLVBufToDocument err=0 [00:07:18]KKMLoadAndSignOpenShiftData store KKM data [00:07:18]KKMLoadAndSignOpenShiftData err=0 [00:07:18]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Темирбек уулу Э. Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 Место: АЗС № 126 "Партнер Нефть" 30.10.2024 00:07 Смена: 553 РНМ: 0000000000091684 ЗНМ: 0300000092 ФД: 37918 ФМ: 0000000000871841 ФПД: 113925174303012 [00:07:18]StoreToDocumentArchive [00:07:18]shift 553 fd 37918 [00:07:18]Create dir for shift 0553 [00:07:18]save to /storage/0553/doc_00037918 [00:07:18]save last doc name /storage/0553/doc_00037918 to /storage/kkm_last_doc_name [00:07:18]save OK [00:07:18]Clear old archive folders... [00:07:18]Remove dir /storage/0552 [00:07:18]opendir ok [00:07:18]file . [00:07:18]file .. [00:07:18]file doc_00037838 [00:07:18]remove file /storage/0552/doc_00037838 [00:07:18]file doc_00037839 [00:07:18]remove file /storage/0552/doc_00037839 [00:07:18]file doc_00037840 [00:07:18]remove file /storage/0552/doc_00037840 [00:07:18]file doc_00037841 [00:07:18]remove file /storage/0552/doc_00037841 [00:07:18]file doc_00037842 [00:07:18]remove file /storage/0552/doc_00037842 [00:07:18]file doc_00037843 [00:07:18]remove file /storage/0552/doc_00037843 [00:07:18]file doc_00037844 [00:07:18]remove file /storage/0552/doc_00037844 [00:07:18]file doc_00037845 [00:07:18]remove file /storage/0552/doc_00037845 [00:07:18]file doc_00037846 [00:07:18]remove file /storage/0552/doc_00037846 [00:07:18]file doc_00037847 [00:07:18]remove file /storage/0552/doc_00037847 [00:07:18]file doc_00037848 [00:07:18]remove file /storage/0552/doc_00037848 [00:07:18]file doc_00037849 [00:07:18]remove file /storage/0552/doc_00037849 [00:07:18]file doc_00037850 [00:07:18]remove file /storage/0552/doc_00037850 [00:07:18]file doc_00037851 [00:07:18]remove file /storage/0552/doc_00037851 [00:07:18]file doc_00037852 [00:07:18]remove file /storage/0552/doc_00037852 [00:07:18]file doc_00037853 [00:07:18]remove file /storage/0552/doc_00037853 [00:07:18]file doc_00037854 [00:07:18]remove file /storage/0552/doc_00037854 [00:07:18]file doc_00037855 [00:07:18]remove file /storage/0552/doc_00037855 [00:07:18]file doc_00037856 [00:07:18]remove file /storage/0552/doc_00037856 [00:07:18]file doc_00037857 [00:07:18]remove file /storage/0552/doc_00037857 [00:07:18]file doc_00037858 [00:07:18]remove file /storage/0552/doc_00037858 [00:07:18]file doc_00037859 [00:07:18]remove file /storage/0552/doc_00037859 [00:07:18]file doc_00037860 [00:07:18]remove file /storage/0552/doc_00037860 [00:07:18]file doc_00037861 [00:07:18]remove file /storage/0552/doc_00037861 [00:07:18]file doc_00037862 [00:07:18]remove file /storage/0552/doc_00037862 [00:07:18]file doc_00037863 [00:07:18]remove file /storage/0552/doc_00037863 [00:07:18]file doc_00037864 [00:07:18]remove file /storage/0552/doc_00037864 [00:07:18]file doc_00037865 [00:07:18]remove file /storage/0552/doc_00037865 [00:07:18]file doc_00037866 [00:07:18]remove file /storage/0552/doc_00037866 [00:07:18]file doc_00037867 [00:07:18]remove file /storage/0552/doc_00037867 [00:07:18]file doc_00037868 [00:07:18]remove file /storage/0552/doc_00037868 [00:07:18]file doc_00037869 [00:07:18]remove file /storage/0552/doc_00037869 [00:07:18]file doc_00037870 [00:07:18]remove file /storage/0552/doc_00037870 [00:07:18]file doc_00037871 [00:07:18]remove file /storage/0552/doc_00037871 [00:07:18]file doc_00037872 [00:07:18]remove file /storage/0552/doc_00037872 [00:07:18]file doc_00037873 [00:07:18]remove file /storage/0552/doc_00037873 [00:07:18]file doc_00037874 [00:07:18]remove file /storage/0552/doc_00037874 [00:07:18]file doc_00037875 [00:07:18]remove file /storage/0552/doc_00037875 [00:07:18]file doc_00037876 [00:07:18]remove file /storage/0552/doc_00037876 [00:07:18]file doc_00037877 [00:07:18]remove file /storage/0552/doc_00037877 [00:07:18]file doc_00037878 [00:07:18]remove file /storage/0552/doc_00037878 [00:07:18]file doc_00037879 [00:07:18]remove file /storage/0552/doc_00037879 [00:07:18]file doc_00037880 [00:07:18]remove file /storage/0552/doc_00037880 [00:07:18]file doc_00037881 [00:07:18]remove file /storage/0552/doc_00037881 [00:07:18]file doc_00037882 [00:07:18]remove file /storage/0552/doc_00037882 [00:07:18]file doc_00037883 [00:07:18]remove file /storage/0552/doc_00037883 [00:07:18]file doc_00037884 [00:07:18]remove file /storage/0552/doc_00037884 [00:07:18]file doc_00037885 [00:07:18]remove file /storage/0552/doc_00037885 [00:07:18]file doc_00037886 [00:07:18]remove file /storage/0552/doc_00037886 [00:07:18]file doc_00037887 [00:07:18]remove file /storage/0552/doc_00037887 [00:07:18]file doc_00037888 [00:07:18]remove file /storage/0552/doc_00037888 [00:07:18]file doc_00037889 [00:07:18]remove file /storage/0552/doc_00037889 [00:07:18]file doc_00037890 [00:07:18]remove file /storage/0552/doc_00037890 [00:07:18]file doc_00037891 [00:07:18]remove file /storage/0552/doc_00037891 [00:07:18]file doc_00037892 [00:07:18]remove file /storage/0552/doc_00037892 [00:07:18]file doc_00037893 [00:07:18]remove file /storage/0552/doc_00037893 [00:07:18]file doc_00037894 [00:07:18]remove file /storage/0552/doc_00037894 [00:07:18]file doc_00037895 [00:07:18]remove file /storage/0552/doc_00037895 [00:07:18]file doc_00037896 [00:07:18]remove file /storage/0552/doc_00037896 [00:07:18]file doc_00037897 [00:07:18]remove file /storage/0552/doc_00037897 [00:07:18]file doc_00037898 [00:07:18]remove file /storage/0552/doc_00037898 [00:07:18]file doc_00037899 [00:07:18]remove file /storage/0552/doc_00037899 [00:07:18]file doc_00037900 [00:07:18]remove file /storage/0552/doc_00037900 [00:07:18]file doc_00037901 [00:07:18]remove file /storage/0552/doc_00037901 [00:07:18]file doc_00037902 [00:07:18]remove file /storage/0552/doc_00037902 [00:07:18]file doc_00037903 [00:07:19]remove file /storage/0552/doc_00037903 [00:07:19]file doc_00037904 [00:07:19]remove file /storage/0552/doc_00037904 [00:07:19]file doc_00037905 [00:07:19]remove file /storage/0552/doc_00037905 [00:07:19]file doc_00037906 [00:07:19]remove file /storage/0552/doc_00037906 [00:07:19]file doc_00037907 [00:07:19]remove file /storage/0552/doc_00037907 [00:07:19]file doc_00037908 [00:07:19]remove file /storage/0552/doc_00037908 [00:07:19]file doc_00037909 [00:07:19]remove file /storage/0552/doc_00037909 [00:07:19]file doc_00037910 [00:07:19]remove file /storage/0552/doc_00037910 [00:07:19]file doc_00037911 [00:07:19]remove file /storage/0552/doc_00037911 [00:07:19]file doc_00037912 [00:07:19]remove file /storage/0552/doc_00037912 [00:07:19]file doc_00037913 [00:07:19]remove file /storage/0552/doc_00037913 [00:07:19]file doc_00037914 [00:07:19]remove file /storage/0552/doc_00037914 [00:07:19]file doc_00037915 [00:07:19]remove file /storage/0552/doc_00037915 [00:07:19]file doc_00037916 [00:07:19]remove file /storage/0552/doc_00037916 [00:07:19]file doc_00037917 [00:07:19]remove file /storage/0552/doc_00037917 [00:07:19]remove dir /storage/0552 [00:07:19]ProcessDocumentItem done err = 0, tmpTLVsize=255 [00:07:19]tlvbuf is 0191AFB0 [00:07:19]SAM_PROTO_ClearQueue [00:07:19]wFMCommunicate request_size=4 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 09 00 00 [00:07:19]Write to MH i2c: E2 08 00 95 06 80 09 00 00 00 00 00 00 0D [00:07:19]Write i2c OK [00:07:19]MH_I2C_Read... [00:07:19]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:07:19]Read from MH i2c: E2 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 03 00 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 03 00 95 06 00 90 00 0F [00:07:19]RAPDU: 90 00 [00:07:19]wFMCommunicate OK [00:07:19]SAM_PROTO_ClearQueue done [00:07:19]KKMCreateOFDPacket [00:07:19]OFDProtocolAddRootSTLVToBuf [00:07:19]FM_MakeSignedData [00:07:19]FM_MakeSignedData [00:07:19]SAM_PROTO_SignData [00:07:19]wFMCommunicate request_size=4 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 0D 01 02 [00:07:19]Write to MH i2c: E2 08 00 96 06 80 0D 01 02 00 00 00 00 15 [00:07:19]Write i2c OK [00:07:19]MH_I2C_Read... [00:07:19]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:07:19]Read from MH i2c: E2 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 03 00 [00:07:19]MH_I2C_Read... [00:07:19]Read from MH i2c: E2 03 00 96 06 00 90 00 10 [00:07:19]RAPDU: 90 00 [00:07:19]wFMCommunicate OK [00:07:19]wFMCommunicate request_size=255 [00:07:19]MH_SAM_APDU [00:07:19]CAPDU: 80 0D 02 02 FA 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B5 78 21 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 [00:07:19]Write to MH i2c: E2 02 01 97 06 80 0D 02 02 FA 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B5 78 21 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 00 00 AE [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 03 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 03 00 97 06 00 90 00 11 [00:07:20]RAPDU: 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=14 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 0D 02 02 09 04 06 00 67 9D 45 8B 99 24 [00:07:20]Write to MH i2c: E2 11 00 98 06 80 0D 02 02 09 00 04 06 00 67 9D 45 8B 99 24 00 00 C5 [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 03 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 03 00 98 06 00 90 00 12 [00:07:20]RAPDU: 90 00 [00:07:20]wFMCommunicate OK [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 0D 03 02 [00:07:20]Write to MH i2c: E2 08 00 99 06 80 0D 03 02 00 00 00 00 1A [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 0B 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 0B 00 99 06 00 00 A2 51 2B 7E 0E 1C EE 90 00 CF [00:07:20]RAPDU: 00 A2 51 2B 7E 0E 1C EE 90 00 [00:07:20]wFMCommunicate OK [00:07:20]SAM_PROTO_SignData done [00:07:20]FM_MakeSignedData done [00:07:20]CreateOFDProtocolMessage [00:07:20]wFMCommunicate request_size=4 [00:07:20]MH_SAM_APDU [00:07:20]CAPDU: 80 11 00 00 [00:07:20]Write to MH i2c: E2 08 00 9A 06 80 11 00 00 00 00 00 00 1A [00:07:20]Write i2c OK [00:07:20]MH_I2C_Read... [00:07:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:07:20]Read from MH i2c: E2 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 17 00 [00:07:20]MH_I2C_Read... [00:07:20]Read from MH i2c: E2 17 00 9A 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 6A [00:07:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:07:21]wFMCommunicate OK [00:07:21]CreateOFDProtocolMessage done [00:07:21]OFDSenderStorePacket 37918 [00:07:21]StoreOFDPacket docnum=37918 [00:07:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 13 01 00 00 D7 C8 0B 01 41 AD 5A 02 01 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 B8 D1 80 D0 B1 D0 B5 D0 BA 20 D1 83 D1 83 D0 BB D1 83 20 D0 AD 2E 20 F1 03 4A 00 37 32 30 30 30 31 2C 20 D0 B3 2E 20 D0 9A D0 B5 D1 80 D0 B1 D0 B5 D0 BD 2C 20 D1 83 D0 BB 2E 20 D0 9D D0 B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD 2C 20 34 31 2E 34 38 33 38 34 34 2C 20 37 31 2E 37 35 38 34 35 39 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B5 78 21 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 67 9D 45 8B 99 24 00 A2 51 2B 7E 0E 1C EE [00:07:21]CheckFolder [00:07:21]dirname=/storage/ofd_packets [00:07:21]CheckFolder done [00:07:21]ProducePacketName [00:07:21]name=ofd_packets/00037918 [00:07:21]NVStorageSaveData ofd_packets/00037918 [00:07:21]File name is /storage/ofd_packets/00037918 [00:07:21]Write 305 bytes [00:07:21]NVStorageSaveData done [00:07:21]OFDSenderStorePacket done [00:07:21]KKMCreateOFDPacket done [00:07:21]NVStorageSaveData kkm_last_timestamp [00:07:21]File name is /storage/kkm_last_timestamp [00:07:21]Write 4 bytes [00:07:21]NVStorageSaveData done [00:07:21]ExternCall_PrintAddStr [00:07:21]wPrintStart [00:07:21]Write to MH i2c: 01 00 00 9B 06 A1 [00:07:21]Write i2c OK [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 07 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 07 00 9B 06 00 00 00 00 00 FF 0F B6 [00:07:21]RasterBufferAndPrint [00:07:21]line Отчет об открытии смены [00:07:21]line ФФД: 1.0 [00:07:21]line ИНН: 02508201610067 [00:07:21]line Кассир: Темирбек уулу Э. [00:07:21]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:07:21]line Место: АЗС № 126 "Партнер Нефть" [00:07:21]line 30.10.2024 00:07 [00:07:21]line Смена: 553 [00:07:21]line РНМ: 0000000000091684 [00:07:21]line ЗНМ: 0300000092 [00:07:21]line ФД: 37918 [00:07:21]line ФМ: 0000000000871841 [00:07:21]line ФПД: 113925174303012 [00:07:21]OFD Sender: Processing packet 37918 [packets to send 42, broken 41] [00:07:21]ProducePacketName [00:07:21]name=ofd_packets/00037918 [00:07:21]OFD Sender: To server: pG, [00:07:21]CommunicateWithHost lk.salyk.kg:30040 [00:07:21]ConnectInit lk.salyk.kg [00:07:21]written 0, free lines is 4095 [00:07:21]Write to MH i2c: 01 00 00 AD 06 B3 [00:07:21]Write i2c OK [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 07 00 [00:07:21]MH_I2C_Read... [00:07:21]Read from MH i2c: 01 07 00 AD 06 00 00 00 00 00 5C 0E 24 [00:07:21]RasterBufferAndPrint [00:07:21]line [00:07:21]line [00:07:21]line [00:07:21]line [00:07:21]line [00:07:21]Connected sock=11 [00:07:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 13 01 00 00 D7 C8 0B 01 41 AD 5A 02 01 00 02 00 FF 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 1E 00 D0 A2 D0 B5 D0 BC D0 written 0, free lines is 3789 [00:07:21]B8 D1 80 D0 B1 D0 MH_Cut [00:07:21]B5 Write to MH i2c: D0 BA 20 D1 83 D1 83 D1 D0 01 BB 00 B4 D1 06 83 01 20 8C D0 [00:07:21]AD Write i2c OK [00:07:21]2E MH_I2C_Read... [00:07:21]20 F1 03 4A 00 37 Read from MH i2c: 32 D1 30 [00:07:21]30 30 31 2C 20 D0 MH_I2C_Read... [00:07:21]B3 Read from MH i2c: 2E D1 20 D0 9A D0 B5 D1 80 01 D0 00 B1 [00:07:21]D0 B5 D0 BD 2C 20 D1 MH_I2C_Read... [00:07:21]83 Read from MH i2c: D0 D1 BB 01 2E 00 20 B4 06 00 8B [00:07:21]Write to MH i2c: 01 D0 00 9D 00 D0 B5 06 BB [00:07:21]B8 D1 8F D0 B7 D0 B0 D0 BB D1 8B 20 D0 B1 2F D0 BD Write i2c OK [00:07:22]2C MH_I2C_Read... [00:07:22]20 34 31 2E 34 38 33 38 34 34 2C 20 37 *** Cut start [00:07:22]31 2E 37 35 38 34 35 *** Partial cut [00:07:22]39 A3 04 2A 00 D0 90 *** CUTSNS_PIN = 1 [00:07:22]D0 97 D0 A1 *** CUTSNS_PIN = 0 [00:07:22]20 E2 84 96 20 31 32 36 20 22 D0 9F D0 B0 D1 80 D1 82 D0 BD D0 B5 D1 80 20 D0 9D D0 B5 D1 84 D1 82 D1 8C 22 F4 03 04 00 B5 78 21 67 0E 04 04 00 29 02 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 35 04 06 00 67 9D 45 8B 99 24 00 A2 51 2B 7E 0E 1C EE [00:07:22]*** Brake cut motor [00:07:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 Read from MH i2c: E8 01 [00:07:22]MH_I2C_Read... [00:07:22]*** Stop cut motor [00:07:22]E8 *** Cut end [00:07:22]Read from MH i2c: 01 07 00 [00:07:22]MH_I2C_Read... [00:07:22]47 Read from MH i2c: 00 01 20 07 00 B5 06 00 00 00 00 00 FF 0F D0 [00:07:22]process_action open_shift done [00:07:22]requested_data is exist [00:07:22]produce_requested_data [00:07:22]requested_item fd.num is exist - process it [00:07:22]SAM_PROTO_GetFieldsCounters [00:07:22]wFMCommunicate request_size=4 [00:07:22]MH_SAM_APDU [00:07:22]CAPDU: 80 13 00 00 [00:07:22]Write to MH i2c: E2 08 00 B6 06 80 13 00 00 AA 00 A5 00 07 00 01 00 00 38 07 [00:07:22]00 Write i2c OK [00:07:22]3B MH_I2C_Read... [00:07:22]00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1E 94 00 00 F4 03 04 00 A9 23 21 67 B6 04 01 00 00 4D 92 FD 69 CD E9 8E 2E [00:07:23]CommunicateWithHost err = 0 [00:07:23]CheckOFDResponse [00:07:23]1017 (14) - 77093643461234 [00:07:23]1041 (16) - 0000000000871841 [00:07:23]Read from MH i2c: 1040 (4) - 37918 [00:07:23]E2 1012 (4) - 29.10.2024 18:04 [00:07:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:07:23]1206 (1) - 0 [00:07:23] [00:07:23]OFD Sender: Remove packet 37918 [00:07:23]MH_I2C_Read... [00:07:23]ProducePacketName [00:07:23]Read from MH i2c: E2 62 00 [00:07:23]MH_I2C_Read... [00:07:23]name=ofd_packets/00037918 [00:07:23]Read from MH i2c: NVStorageDeleteData [00:07:23]E2 62 00 B6 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 36 [00:07:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1E 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 00 00 00 00 5E 04 04 00 00 00 00 00 57 04 04 00 01 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:07:23]wFMCommunicate OK [00:07:23]SAM_PROTO_GetFieldsCounters done [00:07:23]requested_item shift.num is exist - process it [00:07:23]requested_item shift.opened is exist - process it [00:07:23]req_shift_opened [00:07:23]FM_GetShiftState [00:07:23]SAM_PROTO_GetShiftState [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 13 01 00 [00:07:23]Write to MH i2c: E2 08 00 B7 06 80 13 01 00 00 00 00 00 3A [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:07:23]Read from MH i2c: E2 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 0E 00 [00:07:23]MH_I2C_Read... [00:07:23]Read from MH i2c: E2 0E 00 B7 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 FB [00:07:23]RAPDU: 09 OFD Sender: No OFD packet to send [00:07:23]00 01 B5 78 21 67 00 00 00 00 90 00 [00:07:23]wFMCommunicate OK [00:07:23]SAM_PROTO_GetShiftState done [00:07:23]FM_GetShiftState done [00:07:23]req_shift_opened done [00:07:23]requested_item shift.open_date is exist - process it [00:07:23]req_shift_open_date [00:07:23]req_shift_open_date done [00:07:23]produce_requested_data done [00:07:23]produce_requested_data return {"fd.num":37918,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:07:23]process_action_free open_shift [00:07:23]json_value_free [00:07:23]json_value_free done [00:07:23]process_json_proto returns [00:07:23]Send response to host [00:07:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":37918,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:07:23]free response buf [00:07:23]execute_script done [00:07:23]execute_script returns [00:07:23]free content buf [00:07:23]Sock 9.Close socket [00:07:23]Sock 9.Thread stoped [00:07:23]accept exits with 10 [00:07:23]New connection [00:07:23]New thread 3067063652 created [00:07:23] Sock 10.Parse request [00:07:23]Sock 10.Check first char [00:07:23]Sock 10.First char is OK [00:07:23]request: POST /json_proto HTTP/1.0 [00:07:23]Method: POST [00:07:23]URL: /json_proto [00:07:23]Method is POST - this is cgi request [00:07:23]Thread 3067207012 joined [00:07:23]url: /json_proto [00:07:23]Waiting for new connection... [00:07:23]query_string will be loaded in cgi processing [00:07:23]execute_cgi json_proto POST (null) [00:07:23]execute_cgi path=json_proto method=POST [00:07:23]POST find Content-Length [00:07:23]Host: 172.17.40.196:8080 [00:07:23]Content-Length: 331 [00:07:23]Content-Type: application/json [00:07:23] [00:07:23]POST finish read [00:07:23]Found Content-Length = 331 [00:07:23]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:07:23]execute_script... [00:07:23]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:07:23]POST & json_proto [00:07:23]process_json_proto [00:07:23]json parsed OK: [00:07:23]protocol is kg_v1.0 [00:07:23]action value=get_value [00:07:23]process_action get_value [00:07:23]cmd_get_value [00:07:23]process_action get_value done [00:07:23]requested_data is exist [00:07:23]produce_requested_data [00:07:23]requested_item fm.sale.total is exist - process it [00:07:23]SAM_PROTO_GetFMData [00:07:23]wFMCommunicate request_size=4 [00:07:23]MH_SAM_APDU [00:07:23]CAPDU: 80 13 03 00 [00:07:23]Write to MH i2c: E2 08 00 B8 06 80 13 03 00 00 00 00 00 3D [00:07:23]Write i2c OK [00:07:23]MH_I2C_Read... [00:07:24]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:07:24]Read from MH i2c: E2 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 [00:07:24]MH_I2C_Read... [00:07:24]Read from MH i2c: E2 FD 00 B8 06 00 C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 DC [00:07:24]RAPDU: C0 04 85 04 BC 04 6E 04 04 00 CC 8F 00 00 69 04 A0 00 6F 04 04 00 C7 8F 00 00 B1 04 04 00 C2 A2 49 34 70 04 04 00 04 90 6F 2E 72 04 04 00 BE 12 DA 05 00 04 7C 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0D 00 F2 03 01 00 01 F3 03 04 00 C2 8A 8D 05 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 19 64 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 05 00 00 00 B1 04 03 00 94 B2 13 70 04 03 00 8C 2E 13 72 04 02 00 08 84 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 17 02 EF 03 09 00 F6 03 01 90 00 [00:07:25]wFMCommunicate OK [00:07:25]wFMCommunicate request_size=4 [00:07:25]MH_SAM_APDU [00:07:25]CAPDU: 80 17 00 00 [00:07:25]Write to MH i2c: E2 08 00 B9 06 80 17 00 00 00 00 00 00 3F [00:07:25]Write i2c OK [00:07:25]MH_I2C_Read... [00:07:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:25]Read from MH i2c: E2 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 FD 00 [00:07:25]MH_I2C_Read... [00:07:25]Read from MH i2c: E2 FD 00 B9 06 00 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 3A [00:07:26]RAPDU: 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A1 2C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 90 00 [00:07:26]wFMCommunicate OK [00:07:26]wFMCommunicate request_size=4 [00:07:26]MH_SAM_APDU [00:07:26]CAPDU: 80 17 00 00 [00:07:26]Write to MH i2c: E2 08 00 BA 06 80 17 00 00 00 00 00 00 40 [00:07:26]Write i2c OK [00:07:26]MH_I2C_Read... [00:07:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:26]Read from MH i2c: E2 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 [00:07:26]MH_I2C_Read... [00:07:26]Read from MH i2c: E2 FD 00 BA 06 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 E3 [00:07:27]RAPDU: 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 90 00 [00:07:27]wFMCommunicate OK [00:07:27]wFMCommunicate request_size=4 [00:07:27]MH_SAM_APDU [00:07:27]CAPDU: 80 17 00 00 [00:07:27]Write to MH i2c: E2 08 00 BB 06 80 17 00 00 00 00 00 00 41 [00:07:27]Write i2c OK [00:07:27]MH_I2C_Read... [00:07:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:27]Read from MH i2c: E2 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 [00:07:27]MH_I2C_Read... [00:07:27]Read from MH i2c: E2 FD 00 BB 06 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 B9 [00:07:28]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 OFD Sender: No OFD packet to send [00:07:28]04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 90 00 [00:07:28]wFMCommunicate OK [00:07:28]wFMCommunicate request_size=4 [00:07:28]MH_SAM_APDU [00:07:28]CAPDU: 80 17 00 00 [00:07:28]Write to MH i2c: E2 08 00 BC 06 80 17 00 00 00 00 00 00 42 [00:07:28]Write i2c OK [00:07:28]MH_I2C_Read... [00:07:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 218! [00:07:29]Read from MH i2c: E2 [00:07:29]MH_I2C_Read... [00:07:29]Read from MH i2c: E2 DD 00 [00:07:29]MH_I2C_Read... [00:07:29]Read from MH i2c: E2 DD 00 BC 06 00 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 2A [00:07:29]RAPDU: 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:07:30]wFMCommunicate OK [00:07:30]SAM_PROTO_GetFMData done [00:07:30]requested_item fm.sale_refund.total is exist - process it [00:07:30]requested_item fm.buy.total is exist - process it [00:07:30]requested_item shift.sale.total is exist - process it [00:07:30]SAM_PROTO_GetShiftData [00:07:30]wFMCommunicate request_size=4 [00:07:30]MH_SAM_APDU [00:07:30]CAPDU: 80 13 02 00 [00:07:30]Write to MH i2c: E2 08 00 BD 06 80 13 02 00 00 00 00 00 41 [00:07:30]Write i2c OK [00:07:30]MH_I2C_Read... [00:07:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:07:30]Read from MH i2c: E2 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 [00:07:30]MH_I2C_Read... [00:07:30]Read from MH i2c: E2 FD 00 BD 06 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 B4 [00:07:31]RAPDU: A0 04 AA 04 9C 04 6E 04 04 00 00 00 00 00 69 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 90 00 [00:07:31]wFMCommunicate OK [00:07:31]wFMCommunicate request_size=4 [00:07:31]MH_SAM_APDU [00:07:31]CAPDU: 80 17 00 00 [00:07:31]Write to MH i2c: E2 08 00 BE 06 80 17 00 00 00 00 00 00 44 [00:07:31]Write i2c OK [00:07:31]MH_I2C_Read... [00:07:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:31]Read from MH i2c: E2 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 [00:07:31]MH_I2C_Read... [00:07:31]Read from MH i2c: E2 FD 00 BE 06 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 4C [00:07:32]RAPDU: 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 90 00 [00:07:32]wFMCommunicate OK [00:07:32]wFMCommunicate request_size=4 [00:07:32]MH_SAM_APDU [00:07:32]CAPDU: 80 17 00 00 [00:07:32]Write to MH i2c: E2 08 00 BF 06 80 17 00 00 00 00 00 00 45 [00:07:32]Write i2c OK [00:07:32]MH_I2C_Read... [00:07:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:33]Read from MH i2c: E2 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: E2 FD 00 [00:07:33]MH_I2C_Read... [00:07:33]Read from MH i2c: E2 FD 00 BF 06 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 17 [00:07:33]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 OFD Sender: No OFD packet to send [00:07:34]00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 90 00 [00:07:34]wFMCommunicate OK [00:07:34]wFMCommunicate request_size=4 [00:07:34]MH_SAM_APDU [00:07:34]CAPDU: 80 17 00 00 [00:07:34]Write to MH i2c: E2 08 00 C0 06 80 17 00 00 00 00 00 00 46 [00:07:34]Write i2c OK [00:07:34]MH_I2C_Read... [00:07:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:07:34]Read from MH i2c: E2 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: E2 FD 00 [00:07:34]MH_I2C_Read... [00:07:34]Read from MH i2c: E2 FD 00 C0 06 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 B8 [00:07:34]RAPDU: 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 90 00 [00:07:35]wFMCommunicate OK [00:07:35]wFMCommunicate request_size=4 [00:07:35]MH_SAM_APDU [00:07:35]CAPDU: 80 17 00 00 [00:07:35]Write to MH i2c: E2 08 00 C1 06 80 17 00 00 00 00 00 00 47 [00:07:35]Write i2c OK [00:07:35]MH_I2C_Read... [00:07:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:07:35]Read from MH i2c: E2 [00:07:35]MH_I2C_Read... [00:07:35]Read from MH i2c: E2 BD 00 [00:07:35]MH_I2C_Read... [00:07:35]Read from MH i2c: E2 BD 00 C1 06 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 2D [00:07: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:07:36]wFMCommunicate OK [00:07:36]SAM_PROTO_GetShiftData done [00:07:36]requested_item shift.sale.total_cash is exist - process it [00:07:36]requested_item shift.sale_refund.total is exist - process it [00:07:36]requested_item shift.sale_refund.total_cash is exist - process it [00:07:36]requested_item shift.buy.total is exist - process it [00:07:36]requested_item shift.buy.total_cash is exist - process it [00:07:36]produce_requested_data done [00:07:36]produce_requested_data return {"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:07:36]process_action_free get_value [00:07:36]json_value_free [00:07:36]json_value_free done [00:07:36]process_json_proto returns [00:07:36]Send response to host [00:07:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":8772410.26,"fm.sale_refund.total":12909.00,"fm.buy.total":0.00,"shift.sale.total":0.00,"shift.sale.total_cash":0.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:07:36]free response buf [00:07:36]execute_script done [00:07:36]execute_script returns [00:07:36]free content buf [00:07:36]Sock 10.Close socket [00:07:36]Sock 10.Thread stoped [00:07:39]OFD Sender: No OFD packet to send [00:07:44]OFD Sender: No OFD packet to send [00:07:46]ConnectInit Can't connect to host [00:07:49]OFD Sender: No OFD packet to send [00:07:54]OFD Sender: No OFD packet to send [00:07:59]OFD Sender: No OFD packet to send [00:08:04]OFD Sender: No OFD packet to send [00:08:09]OFD Sender: No OFD packet to send [00:08:14]OFD Sender: No OFD packet to send [00:08:19]OFD Sender: No OFD packet to send [00:08:24]OFD Sender: No OFD packet to send [00:08:29]OFD Sender: No OFD packet to send [00:08:34]OFD Sender: No OFD packet to send [00:08:39]OFD Sender: No OFD packet to send [00:08:44]OFD Sender: No OFD packet to send [00:08:49]OFD Sender: No OFD packet to send [00:08:54]OFD Sender: No OFD packet to send [00:08:59]OFD Sender: No OFD packet to send [00:09:04]OFD Sender: No OFD packet to send [00:09:09]OFD Sender: No OFD packet to send [00:09:14]OFD Sender: No OFD packet to send [00:09:19]OFD Sender: No OFD packet to send [00:09:24]OFD Sender: No OFD packet to send [00:09:29]OFD Sender: No OFD packet to send [00:09:34]OFD Sender: No OFD packet to send [00:09:39]OFD Sender: No OFD packet to send [00:09:44]OFD Sender: No OFD packet to send [00:09:49]OFD Sender: No OFD packet to send [00:09:54]OFD Sender: No OFD packet to send [00:09:59]OFD Sender: No OFD packet to send [00:10:04]OFD Sender: No OFD packet to send [00:10:09]OFD Sender: No OFD packet to send [00:10:14]OFD Sender: No OFD packet to send [00:10:19]OFD Sender: No OFD packet to send [00:10:24]OFD Sender: No OFD packet to send [00:10:29]OFD Sender: No OFD packet to send [00:10:34]OFD Sender: No OFD packet to send [00:10:39]OFD Sender: No OFD packet to send [00:10:44]OFD Sender: No OFD packet to send [00:10:49]OFD Sender: No OFD packet to send [00:10:54]OFD Sender: No OFD packet to send [00:10:59]OFD Sender: No OFD packet to send [00:11:04]OFD Sender: No OFD packet to send [00:11:09]OFD Sender: No OFD packet to send [00:11:14]OFD Sender: No OFD packet to send [00:11:19]OFD Sender: No OFD packet to send [00:11:24]OFD Sender: No OFD packet to send [00:11:29]OFD Sender: No OFD packet to send [00:11:34]OFD Sender: No OFD packet to send [00:11:39]OFD Sender: No OFD packet to send [00:11:44]OFD Sender: No OFD packet to send [00:11:49]OFD Sender: No OFD packet to send [00:11:54]OFD Sender: No OFD packet to send [00:11:59]OFD Sender: No OFD packet to send [00:12:04]OFD Sender: No OFD packet to send [00:12:09]OFD Sender: No OFD packet to send [00:12:14]OFD Sender: No OFD packet to send [00:12:19]OFD Sender: No OFD packet to send [00:12:24]OFD Sender: No OFD packet to send [00:12:29]OFD Sender: No OFD packet to send [00:12:34]OFD Sender: No OFD packet to send [00:12:39]OFD Sender: No OFD packet to send [00:12:44]OFD Sender: No OFD packet to send [00:12:49]OFD Sender: No OFD packet to send [00:12:54]OFD Sender: No OFD packet to send [00:12:59]OFD Sender: No OFD packet to send [00:13:04]OFD Sender: No OFD packet to send [00:13:09]OFD Sender: No OFD packet to send [00:13:14]OFD Sender: No OFD packet to send [00:13:19]OFD Sender: No OFD packet to send [00:13:24]OFD Sender: No OFD packet to send [00:13:29]OFD Sender: No OFD packet to send [00:13:34]OFD Sender: No OFD packet to send [00:13:39]OFD Sender: No OFD packet to send [00:13:44]OFD Sender: No OFD packet to send [00:13:49]OFD Sender: No OFD packet to send [00:13:54]OFD Sender: No OFD packet to send [00:13:59]OFD Sender: No OFD packet to send [00:14:04]OFD Sender: No OFD packet to send [00:14:09]OFD Sender: No OFD packet to send [00:14:14]OFD Sender: No OFD packet to send [00:14:19]OFD Sender: No OFD packet to send [00:14:24]OFD Sender: No OFD packet to send [00:14:29]OFD Sender: No OFD packet to send [00:14:34]OFD Sender: No OFD packet to send [00:14:39]OFD Sender: No OFD packet to send [00:14:44]OFD Sender: No OFD packet to send [00:14:49]OFD Sender: No OFD packet to send [00:14:54]OFD Sender: No OFD packet to send [00:14:59]OFD Sender: No OFD packet to send [00:15:04]OFD Sender: No OFD packet to send [00:15:09]OFD Sender: No OFD packet to send [00:15:14]OFD Sender: No OFD packet to send [00:15:19]OFD Sender: No OFD packet to send [00:15:24]OFD Sender: No OFD packet to send [00:15:29]OFD Sender: No OFD packet to send [00:15:34]OFD Sender: No OFD packet to send [00:15:39]OFD Sender: No OFD packet to send [00:15:44]OFD Sender: No OFD packet to send [00:15:49]OFD Sender: No OFD packet to send [00:15:54]OFD Sender: No OFD packet to send [00:15:59]OFD Sender: No OFD packet to send [00:16:04]OFD Sender: No OFD packet to send [00:16:09]OFD Sender: No OFD packet to send [00:16:14]OFD Sender: No OFD packet to send [00:16:19]OFD Sender: No OFD packet to send [00:16:24]OFD Sender: No OFD packet to send [00:16:29]OFD Sender: No OFD packet to send [00:16:34]OFD Sender: No OFD packet to send [00:16:39]OFD Sender: No OFD packet to send [00:16:44]OFD Sender: No OFD packet to send [00:16:49]OFD Sender: No OFD packet to send [00:16:54]OFD Sender: No OFD packet to send [00:16:59]OFD Sender: No OFD packet to send [00:17:04]OFD Sender: No OFD packet to send [00:17:09]OFD Sender: No OFD packet to send [00:17:14]OFD Sender: No OFD packet to send [00:17:19]OFD Sender: No OFD packet to send [00:17:24]OFD Sender: No OFD packet to send [00:17:29]OFD Sender: No OFD packet to send [00:17:34]OFD Sender: No OFD packet to send [00:17:39]OFD Sender: No OFD packet to send [00:17:44]OFD Sender: No OFD packet to send [00:17:49]OFD Sender: No OFD packet to send [00:17:54]OFD Sender: No OFD packet to send [00:17:59]OFD Sender: No OFD packet to send [00:18:04]OFD Sender: No OFD packet to send [00:18:09]OFD Sender: No OFD packet to send [00:18:14]OFD Sender: No OFD packet to send [00:18:19]OFD Sender: No OFD packet to send [00:18:24]OFD Sender: No OFD packet to send [00:18:29]OFD Sender: No OFD packet to send [00:18:34]OFD Sender: No OFD packet to send [00:18:39]OFD Sender: No OFD packet to send [00:18:44]OFD Sender: No OFD packet to send [00:18:49]OFD Sender: No OFD packet to send [00:18:54]OFD Sender: No OFD packet to send [00:18:59]OFD Sender: No OFD packet to send [00:19:04]OFD Sender: No OFD packet to send [00:19:09]OFD Sender: No OFD packet to send [00:19:14]OFD Sender: No OFD packet to send [00:19:19]OFD Sender: No OFD packet to send [00:19:24]OFD Sender: No OFD packet to send [00:19:29]OFD Sender: No OFD packet to send [00:19:34]OFD Sender: No OFD packet to send [00:19:39]OFD Sender: No OFD packet to send [00:19:44]OFD Sender: No OFD packet to send [00:19:49]OFD Sender: No OFD packet to send [00:19:54]OFD Sender: No OFD packet to send [00:19:59]OFD Sender: No OFD packet to send [00:20:04]OFD Sender: No OFD packet to send [00:20:09]OFD Sender: No OFD packet to send [00:20:14]OFD Sender: No OFD packet to send [00:20:19]OFD Sender: No OFD packet to send [00:20:24]OFD Sender: No OFD packet to send [00:20:29]OFD Sender: No OFD packet to send [00:20:34]OFD Sender: No OFD packet to send [00:20:39]OFD Sender: No OFD packet to send [00:20:44]OFD Sender: No OFD packet to send [00:20:49]OFD Sender: No OFD packet to send [00:20:54]OFD Sender: No OFD packet to send [00:20:59]OFD Sender: No OFD packet to send [00:21:04]OFD Sender: No OFD packet to send [00:21:09]OFD Sender: No OFD packet to send [00:21:14]OFD Sender: No OFD packet to send [00:21:19]OFD Sender: No OFD packet to send [00:21:24]OFD Sender: No OFD packet to send [00:21:29]OFD Sender: No OFD packet to send [00:21:34]OFD Sender: No OFD packet to send [00:21:39]OFD Sender: No OFD packet to send [00:21:44]OFD Sender: No OFD packet to send [00:21:49]OFD Sender: No OFD packet to send [00:21:54]OFD Sender: No OFD packet to send [00:21:59]OFD Sender: No OFD packet to send [00:22:04]OFD Sender: No OFD packet to send [00:22:09]OFD Sender: No OFD packet to send [00:22:14]OFD Sender: No OFD packet to send [00:22:19]OFD Sender: No OFD packet to send [00:22:24]OFD Sender: No OFD packet to send [00:22:29]OFD Sender: No OFD packet to send [00:22:34]OFD Sender: No OFD packet to send [00:22:39]OFD Sender: No OFD packet to send [00:22:44]OFD Sender: No OFD packet to send [00:22:49]OFD Sender: No OFD packet to send [00:22:54]OFD Sender: No OFD packet to send [00:22:59]OFD Sender: No OFD packet to send [00:23:04]OFD Sender: No OFD packet to send [00:23:09]OFD Sender: No OFD packet to send [00:23:14]OFD Sender: No OFD packet to send [00:23:19]OFD Sender: No OFD packet to send [00:23:24]OFD Sender: No OFD packet to send [00:23:29]OFD Sender: No OFD packet to send [00:23:34]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:22]accept exits with 9 [00:27:22]New connection [00:27:22]New thread 3067207012 created [00:27:22]Thread 3067063652 joined [00:27:22]Waiting for new connection... [00:27:22] Sock 9.Parse request [00:27:22]Sock 9.Check first char [00:27:22]Sock 9.First char is OK [00:27:22]request: POST /json_proto HTTP/1.0 [00:27:22]Method: POST [00:27:22]URL: /json_proto [00:27:22]Method is POST - this is cgi request [00:27:22]url: /json_proto [00:27:22]query_string will be loaded in cgi processing [00:27:22]execute_cgi json_proto POST (null) [00:27:22]execute_cgi path=json_proto method=POST [00:27:22]POST find Content-Length [00:27:22]Host: 172.17.40.196:8080 [00:27:22]Content-Length: 1182 [00:27:22]Content-Type: application/json [00:27:22] [00:27:22]POST finish read [00:27:22]Found Content-Length = 1182 [00:27:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35218", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 2.000, "sum" : 238.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 608.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:22]execute_script... [00:27: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)35218", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 2.000, "sum" : 238.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480357", "name": "\u041F\u0438\u0432\u043E \u0448\u0430\u0445\u0442\u0435\u0440\u0441\u043A\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 170.00, "quantity" : 1.000, "sum" : 170.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700002085444", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,24\u043B", "price" : 200.00, "quantity" : 1.000, "sum" : 200.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 608.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:27:22]POST & json_proto [00:27:22]process_json_proto [00:27:22]json parsed OK: [00:27:22]protocol is kg_v1.0 [00:27:22]action value=close_receipt [00:27:22]process_action close_receipt [00:27:22]cmd_close_receipt [00:27:22]MH_GetDate [00:27:22]Write to MH i2c: F0 00 00 C2 06 B7 [00:27:22]Write i2c OK [00:27:22]MH_I2C_Read... [00:27:22]Read from MH i2c: F0 [00:27:22]MH_I2C_Read... [00:27:22]Read from MH i2c: F0 09 00 [00:27:22]MH_I2C_Read... [00:27:22]Read from MH i2c: F0 09 00 C2 06 00 6B 7D 21 67 5B 68 A1 66 FA [00:27:22]GetLastDocTimeStamp 1730246837 [00:27:22]current date 1730248043 [00:27:22]FM_GetShiftState [00:27:22]SAM_PROTO_GetShiftState [00:27:22]wFMCommunicate request_size=4 [00:27:22]MH_SAM_APDU [00:27:22]CAPDU: 80 13 01 00 [00:27:22]Write to MH i2c: E2 08 00 C3 06 80 13 01 00 00 00 00 00 46 [00:27:22]Write i2c OK [00:27:22]MH_I2C_Read... [00:27:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:22]Read from MH i2c: E2 [00:27:22]MH_I2C_Read... [00:27:22]Read from MH i2c: E2 0E 00 [00:27:22]MH_I2C_Read... [00:27:22]Read from MH i2c: E2 0E 00 C3 06 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 07 [00:27:22]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:27:22]wFMCommunicate OK [00:27:22]SAM_PROTO_GetShiftState done [00:27:22]FM_GetShiftState done [00:27:22]opened in 1730246837 [00:27:22]opened+sec_in_day 1730333237 [00:27:22]quantity*price = 23800 [00:27:22]sum+1 = 23801 [00:27:22]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480357 Пиво шахтерское 1л ПЭТ 1.000 * 170.00 = 170.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700002085444 Водка Белое золото 0,24л 1.000 * 200.00 = 200.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 608.00 НСП 1% : 5.38 НДС 12% : 64.56 Наличными: 608.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 1 30.10.2024 00:27 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37919 ФПД: 243738591666459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T002723&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37919&fm=243738591666459&tin=02508201610067®Number=0000000000091684&sum=60800 0 [00:27:23]StoreToDocumentArchive [00:27:23]shift 553 fd 37919 [00:27:23]save to /storage/0553/doc_00037919 [00:27:23]save last doc name /storage/0553/doc_00037919 to /storage/kkm_last_doc_name [00:27:23]save OK [00:27:23]Clear old archive folders... [00:27:23]ProcessDocumentItem done err = 0, tmpTLVsize=491 [00:27:23]tlvbuf is 0190B770 [00:27:23]SAM_PROTO_ClearQueue [00:27:23]wFMCommunicate request_size=4 [00:27:23]MH_SAM_APDU [00:27:23]CAPDU: 80 09 00 00 [00:27:23]Write to MH i2c: E2 08 00 D0 06 80 09 00 00 00 00 00 00 48 [00:27:23]Write i2c OK [00:27:23]MH_I2C_Read... [00:27:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:27:23]Read from MH i2c: E2 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 D0 06 00 90 00 4A [00:27:23]RAPDU: 90 00 [00:27:23]wFMCommunicate OK [00:27:23]SAM_PROTO_ClearQueue done [00:27:23]KKMCreateOFDPacket [00:27:23]OFDProtocolAddRootSTLVToBuf [00:27:23]FM_MakeSignedData [00:27:23]FM_MakeSignedData [00:27:23]SAM_PROTO_SignData [00:27:23]wFMCommunicate request_size=4 [00:27:23]MH_SAM_APDU [00:27:23]CAPDU: 80 0D 01 02 [00:27:23]Write to MH i2c: E2 08 00 D1 06 80 0D 01 02 00 00 00 00 50 [00:27:23]Write i2c OK [00:27:23]MH_I2C_Read... [00:27:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:27:23]Read from MH i2c: E2 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 D1 06 00 90 00 4B [00:27:23]RAPDU: 90 00 [00:27:23]wFMCommunicate OK [00:27:23]wFMCommunicate request_size=255 [00:27:23]MH_SAM_APDU [00:27:23]CAPDU: 80 0D 02 02 FA 03 00 EB 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 F8 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA [00:27:23]Write to MH i2c: E2 02 01 D2 06 80 0D 02 02 FA 00 03 00 EB 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 F8 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA 00 00 A4 [00:27:23]Write i2c OK [00:27:23]MH_I2C_Read... [00:27:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:23]Read from MH i2c: E2 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 [00:27:23]MH_I2C_Read... [00:27:23]Read from MH i2c: E2 03 00 D2 06 00 90 00 4C [00:27:23]RAPDU: 90 00 [00:27:23]wFMCommunicate OK [00:27:23]wFMCommunicate request_size=250 [00:27:23]MH_SAM_APDU [00:27:23]CAPDU: 80 0D 02 02 F5 D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 ED 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 19 00 00 00 00 07 04 06 00 80 ED 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 6B 7D 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1F 94 00 00 35 04 06 00 DD AD D0 2C A1 1B [00:27:23]Write to MH i2c: E2 FD 00 D3 06 80 0D 02 02 F5 00 D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 ED 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 19 00 00 00 00 07 04 06 00 80 ED 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 6B 7D 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1F 94 00 00 35 04 06 00 DD AD D0 2C A1 1B 00 00 FD [00:27:23]Write i2c OK [00:27:23]MH_I2C_Read... [00:27:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:27:24]Read from MH i2c: E2 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 03 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 03 00 D3 06 00 90 00 4D [00:27:24]RAPDU: 90 00 [00:27:24]wFMCommunicate OK [00:27:24]wFMCommunicate request_size=4 [00:27:24]MH_SAM_APDU [00:27:24]CAPDU: 80 0D 03 02 [00:27:24]Write to MH i2c: E2 08 00 D4 06 80 0D 03 02 00 00 00 00 55 [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:27:24]Read from MH i2c: E2 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 0B 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 0B 00 D4 06 00 54 F0 BD 63 82 B7 EF D0 90 00 B2 [00:27:24]RAPDU: 54 F0 BD 63 82 B7 EF D0 90 00 [00:27:24]wFMCommunicate OK [00:27:24]SAM_PROTO_SignData done [00:27:24]FM_MakeSignedData done [00:27:24]CreateOFDProtocolMessage [00:27:24]wFMCommunicate request_size=4 [00:27:24]MH_SAM_APDU [00:27:24]CAPDU: 80 11 00 00 [00:27:24]Write to MH i2c: E2 08 00 D5 06 80 11 00 00 00 00 00 00 55 [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:24]Read from MH i2c: E2 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 17 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: E2 17 00 D5 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 A5 [00:27:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:27:24]wFMCommunicate OK [00:27:24]CreateOFDProtocolMessage done [00:27:24]OFDSenderStorePacket 37919 [00:27:24]StoreOFDPacket docnum=37919 [00:27:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 FF 01 00 00 CF BB F7 01 5A 85 5A 03 01 00 03 00 EB 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 F8 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 ED 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 19 00 00 00 00 07 04 06 00 80 ED 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 6B 7D 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1F 94 00 00 35 04 06 00 DD AD D0 2C A1 1B 54 F0 BD 63 82 B7 EF D0 [00:27:24]CheckFolder [00:27:24]dirname=/storage/ofd_packets [00:27:24]CheckFolder done [00:27:24]ProducePacketName [00:27:24]name=ofd_packets/00037919 [00:27:24]NVStorageSaveData ofd_packets/00037919 [00:27:24]File name is /storage/ofd_packets/00037919 [00:27:24]Write 541 bytes [00:27:24]NVStorageSaveData done [00:27:24]OFDSenderStorePacket done [00:27:24]KKMCreateOFDPacket done [00:27:24]NVStorageSaveData kkm_last_timestamp [00:27:24]File name is /storage/kkm_last_timestamp [00:27:24]Write 4 bytes [00:27:24]NVStorageSaveData done [00:27:24]ExternCall_PrintAddStr [00:27:24]wPrintStart [00:27:24]Write to MH i2c: 01 00 00 D6 06 DC [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 07 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 07 00 D6 06 00 00 00 00 00 FF 0F F1 [00:27:24]RasterBufferAndPrint [00:27:24]line Счет N : (3)35218 [00:27:24]line ИНН: 02508201610067 [00:27:24]line Контрольно-Кассовый Чек [00:27:24]line ПРОДАЖА [00:27:24]line Товар: 4870001570071 [00:27:24]line Напиток Pepsi 1л [00:27:24]line 2.000 * 119.00 [00:27:24]line = 238.00 [00:27:24]line НДС 12% НСП 1% [00:27:24]line > о реализуемом товаре [00:27:24]line Товар: 4700000480357 [00:27:24]line Пиво шахтерское 1л ПЭТ [00:27:24]line 1.000 * 170.00 [00:27:24]line = 170.00 [00:27:24]line НДС 12% НСП 1% [00:27:24]line > о реализуемом товаре [00:27:24]line Товар: 4700002085444 [00:27:24]line Водка Белое золото 0,24л [00:27:24]line 1.000 * 200.00 [00:27:24]line = 200.00 [00:27:24]line НДС 12% НСП 1% [00:27:24]line > о реализуемом товаре [00:27:24]line ИТОГО: 608.00 [00:27:24]line НСП 1% : 5.38 [00:27:24]line НДС 12% : 64.56 [00:27:24]line Наличными: 608.00 [00:27:24]line Безнал.: 0.00 [00:27:24]line Место: АЗС № 126 "Партнер Нефть" [00:27:24]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:27:24]line СНО: Общий режим [00:27:24]line Чек 1 30.10.2024 00:27 [00:27:24]line Смена: 553 ФФД: 1.0 [00:27:24]line ЗНМ: 0300000092 [00:27:24]line РНМ: 0000000000091684 [00:27:24]line Версия ККМ: 001 [00:27:24]line ФМ: 0000000000871841 [00:27:24]line ФД: 37919 [00:27:24]line ФПД: 243738591666459 [00:27:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T002723&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37919&fm=243738591666459&tin=02508201610067®Number=0000000000091684&sum=60800 [00:27:24]line 0 [00:27:24]written 0, free lines is 4095 [00:27:24]OFD Sender: Processing packet 37919 [packets to send 42, broken 41] [00:27:24]ProducePacketName [00:27:24]name=ofd_packets/00037919 [00:27:24]OFD Sender: To server: pG, [00:27:24]CommunicateWithHost lk.salyk.kg:30040 [00:27:24]ConnectInit lk.salyk.kg [00:27:24]Connected sock=10 [00:27:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 FF 01 00 00 CF BB F7 01 5A 85 5A 03 01 00 03 00 EB 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 F8 5C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 35 37 06 04 28 00 D0 9F D0 B8 D0 B2 D0 BE 20 D1 88 D0 B0 D1 85 D1 82 D0 B5 D1 80 D1 81 D0 BA D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 68 42 00 00 00 00 13 04 06 00 68 42 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 35 34 34 34 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 32 34 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 20 4E 00 00 00 00 13 04 06 00 20 4E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 ED 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1A 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 38 19 00 00 00 00 07 04 06 00 80 ED 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 6B 7D 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1F 94 00 00 35 04 06 00 DD AD D0 2C A1 1B 54 F0 BD 63 82 B7 EF D0 [00:27:24]Write to MH i2c: 01 00 00 0A 07 11 [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 07 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: 01 07 00 0A 07 00 00 00 00 00 1A 0C 3E [00:27:24]RasterBufferAndPrint [00:27:24]line [00:27:24]line [00:27:24]line [00:27:24]line [00:27:24]line [00:27:24]written 0, free lines is 3104 [00:27:24]MH_Cut [00:27:24]Write to MH i2c: D1 01 00 11 07 01 EA [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: D1 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: D1 01 00 [00:27:24]MH_I2C_Read... [00:27:24]Read from MH i2c: D1 01 00 11 07 00 E9 [00:27:24]Write to MH i2c: 01 00 00 12 07 19 [00:27:24]Write i2c OK [00:27:24]MH_I2C_Read... [00:27:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 39 B4 47 00 26 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 1F 94 00 00 F4 03 04 00 5C 28 21 67 B6 04 01 00 00 A2 8D 0B 29 CE 8E FF AA [00:27:25]CommunicateWithHost err = 0 [00:27:25]CheckOFDResponse [00:27:25]1017 (14) - 77093643461234 [00:27:25]1041 (16) - 0000000000871841 [00:27:25]1040 (4) - 37919 [00:27:25]1012 (4) - 29.10.2024 18:24 [00:27:25]1206 (1) - 0 [00:27:25]OFD Sender: Remove packet 37919 [00:27:25]ProducePacketName [00:27:25]name=ofd_packets/00037919 [00:27:25]NVStorageDeleteData [00:27:25]OFD Sender: No OFD packet to send [00:27:25]*** Cut start [00:27:25]*** Partial cut [00:27:25]*** CUTSNS_PIN = 1 [00:27:25]*** CUTSNS_PIN = 0 [00:27:26]*** Brake cut motor [00:27:26]Read from MH i2c: 01 [00:27:26]MH_I2C_Read... [00:27:26]*** Stop cut motor [00:27:26]*** Cut end [00:27:26]Read from MH i2c: 01 07 00 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: 01 07 00 12 07 00 00 00 00 00 FF 0F 2E [00:27:26]process_action close_receipt done [00:27:26]requested_data is exist [00:27:26]produce_requested_data [00:27:26]requested_item fm.sn is exist - process it [00:27:26]wFMCommunicate request_size=4 [00:27:26]MH_SAM_APDU [00:27:26]CAPDU: 80 11 00 00 [00:27:26]Write to MH i2c: E2 08 00 13 07 80 11 00 00 00 00 00 00 94 [00:27:26]Write i2c OK [00:27:26]MH_I2C_Read... [00:27:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:27:26]Read from MH i2c: E2 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 17 00 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 17 00 13 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 E4 [00:27:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:27:26]wFMCommunicate OK [00:27:26]requested_item fd.num is exist - process it [00:27:26]SAM_PROTO_GetFieldsCounters [00:27:26]wFMCommunicate request_size=4 [00:27:26]MH_SAM_APDU [00:27:26]CAPDU: 80 13 00 00 [00:27:26]Write to MH i2c: E2 08 00 14 07 80 13 00 00 00 00 00 00 97 [00:27:26]Write i2c OK [00:27:26]MH_I2C_Read... [00:27:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:27:26]Read from MH i2c: E2 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 62 00 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 62 00 14 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1F 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [00:27:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 1F 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:27:26]wFMCommunicate OK [00:27:26]SAM_PROTO_GetFieldsCounters done [00:27:26]requested_item shift.num is exist - process it [00:27:26]requested_item shift.opened is exist - process it [00:27:26]req_shift_opened [00:27:26]FM_GetShiftState [00:27:26]SAM_PROTO_GetShiftState [00:27:26]wFMCommunicate request_size=4 [00:27:26]MH_SAM_APDU [00:27:26]CAPDU: 80 13 01 00 [00:27:26]Write to MH i2c: E2 08 00 15 07 80 13 01 00 00 00 00 00 99 [00:27:26]Write i2c OK [00:27:26]MH_I2C_Read... [00:27:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:27:26]Read from MH i2c: E2 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 0E 00 [00:27:26]MH_I2C_Read... [00:27:26]Read from MH i2c: E2 0E 00 15 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5A [00:27:26]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:27:26]wFMCommunicate OK [00:27:26]SAM_PROTO_GetShiftState done [00:27:26]FM_GetShiftState done [00:27:26]req_shift_opened done [00:27:26]requested_item shift.open_date is exist - process it [00:27:26]req_shift_open_date [00:27:26]req_shift_open_date done [00:27:26]produce_requested_data done [00:27:26]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37919,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:27:26]process_action_free close_receipt [00:27:26]json_value_free [00:27:26]json_value_free done [00:27:26]process_json_proto returns [00:27:26]Send response to host [00:27:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37919,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:27:26]free response buf [00:27:26]execute_script done [00:27:26]execute_script returns [00:27:26]free content buf [00:27:26]Sock 9.Close socket [00:27:26]Sock 9.Thread stoped [00:27:30]OFD Sender: No OFD packet to send [00:27:35]OFD Sender: No OFD packet to send [00:27:40]OFD Sender: No OFD packet to send [00:27:45]OFD Sender: No OFD packet to send [00:27:50]OFD Sender: No OFD packet to send [00:27:55]OFD Sender: No OFD packet to send [00:28:00]OFD Sender: No OFD packet to send [00:28:05]OFD Sender: No OFD packet to send [00:28:10]OFD Sender: No OFD packet to send [00:28:15]OFD Sender: No OFD packet to send [00:28:20]OFD Sender: No OFD packet to send [00:28:25]OFD Sender: No OFD packet to send [00:28:30]OFD Sender: No OFD packet to send [00:28:35]OFD Sender: No OFD packet to send [00:28:40]OFD Sender: No OFD packet to send [00:28:45]OFD Sender: No OFD packet to send [00:28:50]OFD Sender: No OFD packet to send [00:28:55]OFD Sender: No OFD packet to send [00:29:00]OFD Sender: No OFD packet to send [00:29:05]OFD Sender: No OFD packet to send [00:29:10]OFD Sender: No OFD packet to send [00:29:15]OFD Sender: No OFD packet to send [00:29:20]OFD Sender: No OFD packet to send [00:29:25]OFD Sender: No OFD packet to send [00:29:30]OFD Sender: No OFD packet to send [00:29:35]OFD Sender: No OFD packet to send [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]OFD Sender: No OFD packet to send [00:32:05]OFD Sender: No OFD packet to send [00:32:10]OFD Sender: No OFD packet to send [00:32:15]OFD Sender: No OFD packet to send [00:32:20]OFD Sender: No OFD packet to send [00:32:25]OFD Sender: No OFD packet to send [00:32:30]OFD Sender: No OFD packet to send [00:32:35]OFD Sender: No OFD packet to send [00:32:40]OFD Sender: No OFD packet to send [00:32:45]OFD Sender: No OFD packet to send [00:32:50]OFD Sender: No OFD packet to send [00:32:55]OFD Sender: No OFD packet to send [00:33:00]OFD Sender: No OFD packet to send [00:33:05]OFD Sender: No OFD packet to send [00:33:11]OFD Sender: No OFD packet to send [00:33:16]OFD Sender: No OFD packet to send [00:33:21]OFD Sender: No OFD packet to send [00:33:26]OFD Sender: No OFD packet to send [00:33:31]OFD Sender: No OFD packet to send [00:33:36]OFD Sender: No OFD packet to send [00:33:41]OFD Sender: No OFD packet to send [00:33:46]OFD Sender: No OFD packet to send [00:33:51]OFD Sender: No OFD packet to send [00:33:56]OFD Sender: No OFD packet to send [00:34:01]OFD Sender: No OFD packet to send [00:34:06]OFD Sender: No OFD packet to send [00:34:11]OFD Sender: No OFD packet to send [00:34:16]OFD Sender: No OFD packet to send [00:34:21]OFD Sender: No OFD packet to send [00:34:26]OFD Sender: No OFD packet to send [00:34:31]OFD Sender: No OFD packet to send [00:34:36]OFD Sender: No OFD packet to send [00:34:41]OFD Sender: No OFD packet to send [00:34:46]OFD Sender: No OFD packet to send [00:34:51]OFD Sender: No OFD packet to send [00:34:56]OFD Sender: No OFD packet to send [00:35:01]OFD Sender: No OFD packet to send [00:35:06]OFD Sender: No OFD packet to send [00:35:11]OFD Sender: No OFD packet to send [00:35:16]OFD Sender: No OFD packet to send [00:35:21]OFD Sender: No OFD packet to send [00:35:26]OFD Sender: No OFD packet to send [00:35:31]OFD Sender: No OFD packet to send [00:35:36]OFD Sender: No OFD packet to send [00:35:41]OFD Sender: No OFD packet to send [00:35:46]OFD Sender: No OFD packet to send [00:35:51]OFD Sender: No OFD packet to send [00:35:56]OFD Sender: No OFD packet to send [00:36:01]OFD Sender: No OFD packet to send [00:36:06]OFD Sender: No OFD packet to send [00:36:11]OFD Sender: No OFD packet to send [00:36:16]OFD Sender: No OFD packet to send [00:36:21]OFD Sender: No OFD packet to send [00:36:26]OFD Sender: No OFD packet to send [00:36:31]OFD Sender: No OFD packet to send [00:36:36]OFD Sender: No OFD packet to send [00:36:41]OFD Sender: No OFD packet to send [00:36:46]OFD Sender: No OFD packet to send [00:36:51]OFD Sender: No OFD packet to send [00:36:56]OFD Sender: No OFD packet to send [00:37:01]OFD Sender: No OFD packet to send [00:37:06]OFD Sender: No OFD packet to send [00:37:11]OFD Sender: No OFD packet to send [00:37:16]OFD Sender: No OFD packet to send [00:37:21]OFD Sender: No OFD packet to send [00:37:26]OFD Sender: No OFD packet to send [00:37:31]OFD Sender: No OFD packet to send [00:37:36]OFD Sender: No OFD packet to send [00:37:41]OFD Sender: No OFD packet to send [00:37:46]OFD Sender: No OFD packet to send [00:37:51]OFD Sender: No OFD packet to send [00:37:56]OFD Sender: No OFD packet to send [00:38:01]OFD Sender: No OFD packet to send [00:38:06]OFD Sender: No OFD packet to send [00:38:11]OFD Sender: No OFD packet to send [00:38:16]OFD Sender: No OFD packet to send [00:38:21]OFD Sender: No OFD packet to send [00:38:26]OFD Sender: No OFD packet to send [00:38:31]OFD Sender: No OFD packet to send [00:38:36]OFD Sender: No OFD packet to send [00:38:41]OFD Sender: No OFD packet to send [00:38:46]OFD Sender: No OFD packet to send [00:38:51]OFD Sender: No OFD packet to send [00:38:56]OFD Sender: No OFD packet to send [00:39:01]OFD Sender: No OFD packet to send [00:39:06]OFD Sender: No OFD packet to send [00:39:11]OFD Sender: No OFD packet to send [00:39:16]OFD Sender: No OFD packet to send [00:39:21]OFD Sender: No OFD packet to send [00:39:26]OFD Sender: No OFD packet to send [00:39:31]OFD Sender: No OFD packet to send [00:39:36]OFD Sender: No OFD packet to send [00:39:41]OFD Sender: No OFD packet to send [00:39:46]OFD Sender: No OFD packet to send [00:39:51]OFD Sender: No OFD packet to send [00:39:56]OFD Sender: No OFD packet to send [00:40:01]OFD Sender: No OFD packet to send [00:40:06]OFD Sender: No OFD packet to send [00:40:11]OFD Sender: No OFD packet to send [00:40:16]OFD Sender: No OFD packet to send [00:40:21]OFD Sender: No OFD packet to send [00:40:26]OFD Sender: No OFD packet to send [00:40:31]OFD Sender: No OFD packet to send [00:40:36]OFD Sender: No OFD packet to send [00:40:41]OFD Sender: No OFD packet to send [00:40:46]OFD Sender: No OFD packet to send [00:40:51]OFD Sender: No OFD packet to send [00:40:56]OFD Sender: No OFD packet to send [00:41:01]OFD Sender: No OFD packet to send [00:41:06]OFD Sender: No OFD packet to send [00:41:08]accept exits with 7 [00:41:08]New connection [00:41:08]New thread 3067063652 created [00:41:08]Thread 3067207012 joined [00:41:08]Waiting for new connection... [00:41:08] Sock 7.Parse request [00:41:08]Sock 7.Check first char [00:41:08]Sock 7.First char is OK [00:41:08]request: POST /json_proto HTTP/1.0 [00:41:08]Method: POST [00:41:08]URL: /json_proto [00:41:08]Method is POST - this is cgi request [00:41:08]url: /json_proto [00:41:08]query_string will be loaded in cgi processing [00:41:08]execute_cgi json_proto POST (null) [00:41:08]execute_cgi path=json_proto method=POST [00:41:08]POST find Content-Length [00:41:08]Host: 172.17.40.196:8080 [00:41:08]Content-Length: 613 [00:41:08]Content-Type: application/json [00:41:08] [00:41:08]POST finish read [00:41:08]Found Content-Length = 613 [00:41:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35219", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:08]execute_script... [00:41: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)35219", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 119.00, "quantity" : 1.000, "sum" : 119.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 119.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:41:08]POST & json_proto [00:41:08]process_json_proto [00:41:08]json parsed OK: [00:41:08]protocol is kg_v1.0 [00:41:08]action value=close_receipt [00:41:08]process_action close_receipt [00:41:08]cmd_close_receipt [00:41:08]MH_GetDate [00:41:08]Write to MH i2c: F0 00 00 16 07 0C [00:41:08]Write i2c OK [00:41:08]MH_I2C_Read... [00:41:08]Read from MH i2c: F0 [00:41:08]MH_I2C_Read... [00:41:08]Read from MH i2c: F0 09 00 [00:41:08]MH_I2C_Read... [00:41:08]Read from MH i2c: F0 09 00 16 07 00 A6 80 21 67 5B 68 A1 66 8D [00:41:08]GetLastDocTimeStamp 1730248043 [00:41:08]current date 1730248870 [00:41:08]FM_GetShiftState [00:41:08]SAM_PROTO_GetShiftState [00:41:08]wFMCommunicate request_size=4 [00:41:08]MH_SAM_APDU [00:41:08]CAPDU: 80 13 01 00 [00:41:08]Write to MH i2c: E2 08 00 17 07 80 13 01 00 00 00 00 00 9B [00:41:08]Write i2c OK [00:41:08]MH_I2C_Read... [00:41:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:08]Read from MH i2c: E2 [00:41:08]MH_I2C_Read... [00:41:08]Read from MH i2c: E2 0E 00 [00:41:08]MH_I2C_Read... [00:41:08]Read from MH i2c: E2 0E 00 17 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 5C [00:41:08]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:41:08]wFMCommunicate OK [00:41:08]SAM_PROTO_GetShiftState done [00:41:08]FM_GetShiftState done [00:41:08]opened in 1730246837 [00:41:08]opened+sec_in_day 1730333237 [00:41:08]quantity*price = 11900 [00:41:08]sum+1 = 11901 [00:41:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 119.00 НСП 1% : 1.05 НДС 12% : 12.64 Наличными: 119.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 2 30.10.2024 00:41 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37920 ФПД: 90057624756843 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T004110&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37920&fm=90057624756843&tin=02508201610067®Number=0000000000091684&sum=11900 0 [00:41:09]StoreToDocumentArchive [00:41:09]shift 553 fd 37920 [00:41:09]save to /storage/0553/doc_00037920 [00:41:09]save last doc name /storage/0553/doc_00037920 to /storage/kkm_last_doc_name [00:41:09]save OK [00:41:09]Clear old archive folders... [00:41:09]ProcessDocumentItem done err = 0, tmpTLVsize=266 [00:41:09]tlvbuf is 018F8B70 [00:41:09]SAM_PROTO_ClearQueue [00:41:09]wFMCommunicate request_size=4 [00:41:09]MH_SAM_APDU [00:41:09]CAPDU: 80 09 00 00 [00:41:09]Write to MH i2c: E2 08 00 24 07 80 09 00 00 00 00 00 00 9D [00:41:09]Write i2c OK [00:41:09]MH_I2C_Read... [00:41:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:41:09]Read from MH i2c: E2 [00:41:09]MH_I2C_Read... [00:41:09]Read from MH i2c: E2 03 00 [00:41:09]MH_I2C_Read... [00:41:09]Read from MH i2c: E2 03 00 24 07 00 90 00 9F [00:41:09]RAPDU: 90 00 [00:41:09]wFMCommunicate OK [00:41:09]SAM_PROTO_ClearQueue done [00:41:09]KKMCreateOFDPacket [00:41:09]OFDProtocolAddRootSTLVToBuf [00:41:09]FM_MakeSignedData [00:41:09]FM_MakeSignedData [00:41:09]SAM_PROTO_SignData [00:41:09]wFMCommunicate request_size=4 [00:41:09]MH_SAM_APDU [00:41:09]CAPDU: 80 0D 01 02 [00:41:09]Write to MH i2c: E2 08 00 25 07 80 0D 01 02 00 00 00 00 A5 [00:41:09]Write i2c OK [00:41:09]MH_I2C_Read... [00:41:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:41:09]Read from MH i2c: E2 [00:41:09]MH_I2C_Read... [00:41:09]Read from MH i2c: E2 03 00 [00:41:09]MH_I2C_Read... [00:41:09]Read from MH i2c: E2 03 00 25 07 00 90 00 A0 [00:41:09]RAPDU: 90 00 [00:41:09]wFMCommunicate OK [00:41:09]wFMCommunicate request_size=255 [00:41:09]MH_SAM_APDU [00:41:09]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A6 80 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 [00:41:09]Write to MH i2c: E2 02 01 26 07 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A6 80 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 00 00 82 [00:41:09]Write i2c OK [00:41:09]MH_I2C_Read... [00:41:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:10]Read from MH i2c: E2 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 03 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 03 00 26 07 00 90 00 A1 [00:41:10]RAPDU: 90 00 [00:41:10]wFMCommunicate OK [00:41:10]wFMCommunicate request_size=25 [00:41:10]MH_SAM_APDU [00:41:10]CAPDU: 80 0D 02 02 14 34 31 10 04 04 00 20 94 00 00 35 04 06 00 51 E8 2C BB A2 6B [00:41:10]Write to MH i2c: E2 1C 00 27 07 80 0D 02 02 14 00 34 31 10 04 04 00 20 94 00 00 35 04 06 00 51 E8 2C BB A2 6B 00 00 6D [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:41:10]Read from MH i2c: E2 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 03 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 03 00 27 07 00 90 00 A2 [00:41:10]RAPDU: 90 00 [00:41:10]wFMCommunicate OK [00:41:10]wFMCommunicate request_size=4 [00:41:10]MH_SAM_APDU [00:41:10]CAPDU: 80 0D 03 02 [00:41:10]Write to MH i2c: E2 08 00 28 07 80 0D 03 02 00 00 00 00 AA [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:41:10]Read from MH i2c: E2 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 0B 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 0B 00 28 07 00 CD ED 40 F8 6A 85 5F 34 90 00 1F [00:41:10]RAPDU: CD ED 40 F8 6A 85 5F 34 90 00 [00:41:10]wFMCommunicate OK [00:41:10]SAM_PROTO_SignData done [00:41:10]FM_MakeSignedData done [00:41:10]CreateOFDProtocolMessage [00:41:10]wFMCommunicate request_size=4 [00:41:10]MH_SAM_APDU [00:41:10]CAPDU: 80 11 00 00 [00:41:10]Write to MH i2c: E2 08 00 29 07 80 11 00 00 00 00 00 00 AA [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:10]Read from MH i2c: E2 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 17 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: E2 17 00 29 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 FA [00:41:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:41:10]wFMCommunicate OK [00:41:10]CreateOFDProtocolMessage done [00:41:10]OFDSenderStorePacket 37920 [00:41:10]StoreOFDPacket docnum=37920 [00:41:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 70 7F 16 01 5C EC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A6 80 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 20 94 00 00 35 04 06 00 51 E8 2C BB A2 6B CD ED 40 F8 6A 85 5F 34 [00:41:10]CheckFolder [00:41:10]dirname=/storage/ofd_packets [00:41:10]CheckFolder done [00:41:10]ProducePacketName [00:41:10]name=ofd_packets/00037920 [00:41:10]NVStorageSaveData ofd_packets/00037920 [00:41:10]File name is /storage/ofd_packets/00037920 [00:41:10]Write 316 bytes [00:41:10]NVStorageSaveData done [00:41:10]OFDSenderStorePacket done [00:41:10]KKMCreateOFDPacket done [00:41:10]NVStorageSaveData kkm_last_timestamp [00:41:10]File name is /storage/kkm_last_timestamp [00:41:10]Write 4 bytes [00:41:10]NVStorageSaveData done [00:41:10]ExternCall_PrintAddStr [00:41:10]wPrintStart [00:41:10]Write to MH i2c: 01 00 00 2A 07 31 [00:41:10]Write i2c OK [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 [00:41:10]MH_I2C_Read... [00:41:10]Read from MH i2c: 01 07 00 2A 07 00 00 00 00 00 FF 0F 46 [00:41:10]RasterBufferAndPrint [00:41:10]line Счет N : (3)35219 [00:41:10]line ИНН: 02508201610067 [00:41:10]line Контрольно-Кассовый Чек [00:41:10]line ПРОДАЖА [00:41:10]line Товар: 4870001570071 [00:41:10]line Напиток Pepsi 1л [00:41:10]line 1.000 * 119.00 [00:41:10]line = 119.00 [00:41:10]line НДС 12% НСП 1% [00:41:10]line > о реализуемом товаре [00:41:10]line ИТОГО: 119.00 [00:41:10]line НСП 1% : 1.05 [00:41:10]line НДС 12% : 12.64 [00:41:10]line Наличными: 119.00 [00:41:10]line Безнал.: 0.00 [00:41:10]line Место: АЗС № 126 "Партнер Нефть" [00:41:10]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [00:41:10]line СНО: Общий режим [00:41:10]line Чек 2 30.10.2024 00:41 [00:41:10]line Смена: 553 ФФД: 1.0 [00:41:10]line ЗНМ: 0300000092 [00:41:10]line РНМ: 0000000000091684 [00:41:10]line Версия ККМ: 001 [00:41:10]line ФМ: 0000000000871841 [00:41:10]line ФД: 37920 [00:41:10]line ФПД: 90057624756843 [00:41:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T004110&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37920&fm=90057624756843&tin=02508201610067®Number=0000000000091684&sum=11900 [00:41:10]OFD Sender: Processing packet 37920 [packets to send 42, broken 41] [00:41:10]ProducePacketName [00:41:10]name=ofd_packets/00037920 [00:41:10]OFD Sender: To server: pG, [00:41:10]CommunicateWithHost lk.salyk.kg:30040 [00:41:10]ConnectInit lk.salyk.kg [00:41:10]line 0 [00:41:10]written 0, free lines is 4095 [00:41:11]Connected sock=10 [00:41:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 1E 01 00 00 70 7F 16 01 5C EC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 7C 2E 00 00 00 00 13 04 06 00 7C 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 7C 2E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 69 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 04 00 00 00 00 07 04 06 00 7C 2E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 A6 80 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 20 94 00 00 35 04 06 00 51 E8 2C BB A2 6B CD ED 40 F8 6A 85 5F 34 [00:41:11]Write to MH i2c: 01 00 00 52 07 59 [00:41:11]Write i2c OK [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 07 00 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: 01 07 00 52 07 00 00 00 00 00 E2 0C 4E [00:41:11]RasterBufferAndPrint [00:41:11]line [00:41:11]line [00:41:11]line [00:41:11]line [00:41:11]line [00:41:11]written 0, free lines is 3304 [00:41:11]MH_Cut [00:41:11]Write to MH i2c: D1 01 00 59 07 01 32 [00:41:11]Write i2c OK [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: D1 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: D1 01 00 [00:41:11]MH_I2C_Read... [00:41:11]Read from MH i2c: D1 01 00 59 07 00 31 [00:41:11]Write to MH i2c: 01 00 00 5A 07 61 [00:41:11]Write i2c OK [00:41:11]MH_I2C_Read... [00:41:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 26 5D 47 00 1B 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 20 94 00 00 F4 03 04 00 96 2B 21 67 B6 04 01 00 00 90 39 70 54 CA 4E C6 C6 [00:41:11]CommunicateWithHost err = 0 [00:41:11]CheckOFDResponse [00:41:11]1017 (14) - 77093643461234 [00:41:11]1041 (16) - 0000000000871841 [00:41:11]1040 (4) - 37920 [00:41:11]1012 (4) - 29.10.2024 18:38 [00:41:11]1206 (1) - 0 [00:41:11]OFD Sender: Remove packet 37920 [00:41:11]ProducePacketName [00:41:11]name=ofd_packets/00037920 [00:41:11]NVStorageDeleteData [00:41:11]*** Cut start [00:41:11]*** Partial cut [00:41:11]*** CUTSNS_PIN = 1 [00:41:11]OFD Sender: No OFD packet to send [00:41:12]*** CUTSNS_PIN = 0 [00:41:12]*** Brake cut motor [00:41:12]Read from MH i2c: 01 [00:41:12]MH_I2C_Read... [00:41:12]*** Stop cut motor [00:41:12]*** Cut end [00:41:12]Read from MH i2c: 01 07 00 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: 01 07 00 5A 07 00 00 00 00 00 FF 0F 76 [00:41:12]process_action close_receipt done [00:41:12]requested_data is exist [00:41:12]produce_requested_data [00:41:12]requested_item fm.sn is exist - process it [00:41:12]wFMCommunicate request_size=4 [00:41:12]MH_SAM_APDU [00:41:12]CAPDU: 80 11 00 00 [00:41:12]Write to MH i2c: E2 08 00 5B 07 80 11 00 00 00 00 00 00 DC [00:41:12]Write i2c OK [00:41:12]MH_I2C_Read... [00:41:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:41:12]Read from MH i2c: E2 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 17 00 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 17 00 5B 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 2C [00:41:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [00:41:12]wFMCommunicate OK [00:41:12]requested_item fd.num is exist - process it [00:41:12]SAM_PROTO_GetFieldsCounters [00:41:12]wFMCommunicate request_size=4 [00:41:12]MH_SAM_APDU [00:41:12]CAPDU: 80 13 00 00 [00:41:12]Write to MH i2c: E2 08 00 5C 07 80 13 00 00 00 00 00 00 DF [00:41:12]Write i2c OK [00:41:12]MH_I2C_Read... [00:41:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:41:12]Read from MH i2c: E2 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 62 00 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 62 00 5C 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 20 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 E5 [00:41:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 20 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 02 00 00 00 5E 04 04 00 02 00 00 00 57 04 04 00 03 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:41:12]wFMCommunicate OK [00:41:12]SAM_PROTO_GetFieldsCounters done [00:41:12]requested_item shift.num is exist - process it [00:41:12]requested_item shift.opened is exist - process it [00:41:12]req_shift_opened [00:41:12]FM_GetShiftState [00:41:12]SAM_PROTO_GetShiftState [00:41:12]wFMCommunicate request_size=4 [00:41:12]MH_SAM_APDU [00:41:12]CAPDU: 80 13 01 00 [00:41:12]Write to MH i2c: E2 08 00 5D 07 80 13 01 00 00 00 00 00 E1 [00:41:12]Write i2c OK [00:41:12]MH_I2C_Read... [00:41:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:41:12]Read from MH i2c: E2 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 0E 00 [00:41:12]MH_I2C_Read... [00:41:12]Read from MH i2c: E2 0E 00 5D 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A2 [00:41:12]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [00:41:12]wFMCommunicate OK [00:41:12]SAM_PROTO_GetShiftState done [00:41:12]FM_GetShiftState done [00:41:12]req_shift_opened done [00:41:12]requested_item shift.open_date is exist - process it [00:41:12]req_shift_open_date [00:41:12]req_shift_open_date done [00:41:12]produce_requested_data done [00:41:12]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37920,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [00:41:12]process_action_free close_receipt [00:41:12]json_value_free [00:41:12]json_value_free done [00:41:12]process_json_proto returns [00:41:12]Send response to host [00:41:12]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37920,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [00:41:12]free response buf [00:41:12]execute_script done [00:41:12]execute_script returns [00:41:12]free content buf [00:41:12]Sock 7.Close socket [00:41:12]Sock 7.Thread stoped [00:41:16]OFD Sender: No OFD packet to send [00:41:21]OFD Sender: No OFD packet to send [00:41:26]OFD Sender: No OFD packet to send [00:41:31]OFD Sender: No OFD packet to send [00:41:36]OFD Sender: No OFD packet to send [00:41:42]OFD Sender: No OFD packet to send [00:41:47]OFD Sender: No OFD packet to send [00:41:52]OFD Sender: No OFD packet to send [00:41:57]OFD Sender: No OFD packet to send [00:42:02]OFD Sender: No OFD packet to send [00:42:07]OFD Sender: No OFD packet to send [00:42:12]OFD Sender: No OFD packet to send [00:42:17]OFD Sender: No OFD packet to send [00:42:22]OFD Sender: No OFD packet to send [00:42:27]OFD Sender: No OFD packet to send [00:42:32]OFD Sender: No OFD packet to send [00:42:37]OFD Sender: No OFD packet to send [00:42:42]OFD Sender: No OFD packet to send [00:42:47]OFD Sender: No OFD packet to send [00:42:52]OFD Sender: No OFD packet to send [00:42:57]OFD Sender: No OFD packet to send [00:43:02]OFD Sender: No OFD packet to send [00:43:07]OFD Sender: No OFD packet to send [00:43:12]OFD Sender: No OFD packet to send [00:43:17]OFD Sender: No OFD packet to send [00:43:22]OFD Sender: No OFD packet to send [00:43:27]OFD Sender: No OFD packet to send [00:43:32]OFD Sender: No OFD packet to send [00:43:37]OFD Sender: No OFD packet to send [00:43:42]OFD Sender: No OFD packet to send [00:43:47]OFD Sender: No OFD packet to send [00:43:52]OFD Sender: No OFD packet to send [00:43:57]OFD Sender: No OFD packet to send [00:44:02]OFD Sender: No OFD packet to send [00:44:07]OFD Sender: No OFD packet to send [00:44:12]OFD Sender: No OFD packet to send [00:44:17]OFD Sender: No OFD packet to send [00:44:22]OFD Sender: No OFD packet to send [00:44:27]OFD Sender: No OFD packet to send [00:44:32]OFD Sender: No OFD packet to send [00:44:37]OFD Sender: No OFD packet to send [00:44:42]OFD Sender: No OFD packet to send [00:44:47]OFD Sender: No OFD packet to send [00:44:52]OFD Sender: No OFD packet to send [00:44:57]OFD Sender: No OFD packet to send [00:45:02]OFD Sender: No OFD packet to send [00:45:07]OFD Sender: No OFD packet to send [00:45:12]OFD Sender: No OFD packet to send [00:45:17]OFD Sender: No OFD packet to send [00:45:22]OFD Sender: No OFD packet to send [00:45:27]OFD Sender: No OFD packet to send [00:45:32]OFD Sender: No OFD packet to send [00:45:37]OFD Sender: No OFD packet to send [00:45:42]OFD Sender: No OFD packet to send [00:45:47]OFD Sender: No OFD packet to send [00:45:52]OFD Sender: No OFD packet to send [00:45:57]OFD Sender: No OFD packet to send [00:46:02]OFD Sender: No OFD packet to send [00:46:07]OFD Sender: No OFD packet to send [00:46:12]OFD Sender: No OFD packet to send [00:46:17]OFD Sender: No OFD packet to send [00:46:22]OFD Sender: No OFD packet to send [00:46:27]OFD Sender: No OFD packet to send [00:46:32]OFD Sender: No OFD packet to send [00:46:37]OFD Sender: No OFD packet to send [00:46:42]OFD Sender: No OFD packet to send [00:46:47]OFD Sender: No OFD packet to send [00:46:52]OFD Sender: No OFD packet to send [00:46:57]OFD Sender: No OFD packet to send [00:47:02]OFD Sender: No OFD packet to send [00:47:07]OFD Sender: No OFD packet to send [00:47:12]OFD Sender: No OFD packet to send [00:47:17]OFD Sender: No OFD packet to send [00:47:22]OFD Sender: No OFD packet to send [00:47:27]OFD Sender: No OFD packet to send [00:47:32]OFD Sender: No OFD packet to send [00:47:37]OFD Sender: No OFD packet to send [00:47:42]OFD Sender: No OFD packet to send [00:47:47]OFD Sender: No OFD packet to send [00:47:52]OFD Sender: No OFD packet to send [00:47:57]OFD Sender: No OFD packet to send [00:48:02]OFD Sender: No OFD packet to send [00:48:07]OFD Sender: No OFD packet to send [00:48:12]OFD Sender: No OFD packet to send [00:48:17]OFD Sender: No OFD packet to send [00:48:22]OFD Sender: No OFD packet to send [00:48:27]OFD Sender: No OFD packet to send [00:48:32]OFD Sender: No OFD packet to send [00:48:37]OFD Sender: No OFD packet to send [00:48:42]OFD Sender: No OFD packet to send [00:48:47]OFD Sender: No OFD packet to send [00:48:52]OFD Sender: No OFD packet to send [00:48:57]OFD Sender: No OFD packet to send [00:49:02]OFD Sender: No OFD packet to send [00:49:07]OFD Sender: No OFD packet to send [00:49:12]OFD Sender: No OFD packet to send [00:49:17]OFD Sender: No OFD packet to send [00:49:22]OFD Sender: No OFD packet to send [00:49:27]OFD Sender: No OFD packet to send [00:49:32]OFD Sender: No OFD packet to send [00:49:37]OFD Sender: No OFD packet to send [00:49:42]OFD Sender: No OFD packet to send [00:49:47]OFD Sender: No OFD packet to send [00:49:52]OFD Sender: No OFD packet to send [00:49:57]OFD Sender: No OFD packet to send [00:50:02]OFD Sender: No OFD packet to send [00:50:07]OFD Sender: No OFD packet to send [00:50:12]OFD Sender: No OFD packet to send [00:50:17]OFD Sender: No OFD packet to send [00:50:22]OFD Sender: No OFD packet to send [00:50:27]OFD Sender: No OFD packet to send [00:50:32]OFD Sender: No OFD packet to send [00:50:37]OFD Sender: No OFD packet to send [00:50:42]OFD Sender: No OFD packet to send [00:50:47]OFD Sender: No OFD packet to send [00:50:52]OFD Sender: No OFD packet to send [00:50:57]OFD Sender: No OFD packet to send [00:51:02]OFD Sender: No OFD packet to send [00:51:07]OFD Sender: No OFD packet to send [00:51:12]OFD Sender: No OFD packet to send [00:51:17]OFD Sender: No OFD packet to send [00:51:22]OFD Sender: No OFD packet to send [00:51:27]OFD Sender: No OFD packet to send [00:51:32]OFD Sender: No OFD packet to send [00:51:37]OFD Sender: No OFD packet to send [00:51:42]OFD Sender: No OFD packet to send [00:51:47]OFD Sender: No OFD packet to send [00:51:52]OFD Sender: No OFD packet to send [00:51:57]OFD Sender: No OFD packet to send [00:52:02]OFD Sender: No OFD packet to send [00:52:07]OFD Sender: No OFD packet to send [00:52:12]OFD Sender: No OFD packet to send [00:52:17]OFD Sender: No OFD packet to send [00:52:22]OFD Sender: No OFD packet to send [00:52:27]OFD Sender: No OFD packet to send [00:52:32]OFD Sender: No OFD packet to send [00:52:37]OFD Sender: No OFD packet to send [00:52:42]OFD Sender: No OFD packet to send [00:52:47]OFD Sender: No OFD packet to send [00:52:52]OFD Sender: No OFD packet to send [00:52:57]OFD Sender: No OFD packet to send [00:53:02]OFD Sender: No OFD packet to send [00:53:07]OFD Sender: No OFD packet to send [00:53:12]OFD Sender: No OFD packet to send [00:53:17]OFD Sender: No OFD packet to send [00:53:22]OFD Sender: No OFD packet to send [00:53:27]OFD Sender: No OFD packet to send [00:53:32]OFD Sender: No OFD packet to send [00:53:37]OFD Sender: No OFD packet to send [00:53:42]OFD Sender: No OFD packet to send [00:53:47]OFD Sender: No OFD packet to send [00:53:52]OFD Sender: No OFD packet to send [00:53:57]OFD Sender: No OFD packet to send [00:54:02]OFD Sender: No OFD packet to send [00:54:07]OFD Sender: No OFD packet to send [00:54:12]OFD Sender: No OFD packet to send [00:54:17]OFD Sender: No OFD packet to send [00:54:22]OFD Sender: No OFD packet to send [00:54:27]OFD Sender: No OFD packet to send [00:54:32]OFD Sender: No OFD packet to send [00:54:37]OFD Sender: No OFD packet to send [00:54:42]OFD Sender: No OFD packet to send [00:54:47]OFD Sender: No OFD packet to send [00:54:52]OFD Sender: No OFD packet to send [00:54:57]OFD Sender: No OFD packet to send [00:55:02]OFD Sender: No OFD packet to send [00:55:07]OFD Sender: No OFD packet to send [00:55:12]OFD Sender: No OFD packet to send [00:55:17]OFD Sender: No OFD packet to send [00:55:22]OFD Sender: No OFD packet to send [00:55:27]OFD Sender: No OFD packet to send [00:55:32]OFD Sender: No OFD packet to send [00:55:37]OFD Sender: No OFD packet to send [00:55:42]OFD Sender: No OFD packet to send [00:55:47]OFD Sender: No OFD packet to send [00:55:52]OFD Sender: No OFD packet to send [00:55:57]OFD Sender: No OFD packet to send [00:56:02]OFD Sender: No OFD packet to send [00:56:07]OFD Sender: No OFD packet to send [00:56:12]OFD Sender: No OFD packet to send [00:56:17]OFD Sender: No OFD packet to send [00:56:22]OFD Sender: No OFD packet to send [00:56:27]OFD Sender: No OFD packet to send [00:56:32]OFD Sender: No OFD packet to send [00:56:37]OFD Sender: No OFD packet to send [00:56:42]OFD Sender: No OFD packet to send [00:56:47]OFD Sender: No OFD packet to send [00:56:52]OFD Sender: No OFD packet to send [00:56:57]OFD Sender: No OFD packet to send [00:57:02]OFD Sender: No OFD packet to send [00:57:07]OFD Sender: No OFD packet to send [00:57:12]OFD Sender: No OFD packet to send [00:57:17]OFD Sender: No OFD packet to send [00:57:22]OFD Sender: No OFD packet to send [00:57:27]OFD Sender: No OFD packet to send [00:57:32]OFD Sender: No OFD packet to send [00:57:37]OFD Sender: No OFD packet to send [00:57:42]OFD Sender: No OFD packet to send [00:57:47]OFD Sender: No OFD packet to send [00:57:52]OFD Sender: No OFD packet to send [00:57:57]OFD Sender: No OFD packet to send [00:58:02]OFD Sender: No OFD packet to send [00:58:07]OFD Sender: No OFD packet to send [00:58:12]OFD Sender: No OFD packet to send [00:58:17]OFD Sender: No OFD packet to send [00:58:22]OFD Sender: No OFD packet to send [00:58:27]OFD Sender: No OFD packet to send [00:58:32]OFD Sender: No OFD packet to send [00:58:37]OFD Sender: No OFD packet to send [00:58:42]OFD Sender: No OFD packet to send [00:58:47]OFD Sender: No OFD packet to send [00:58:52]OFD Sender: No OFD packet to send [00:58:57]OFD Sender: No OFD packet to send [00:59:02]OFD Sender: No OFD packet to send [00:59:07]OFD Sender: No OFD packet to send [00:59:12]OFD Sender: No OFD packet to send [00:59:17]OFD Sender: No OFD packet to send [00:59:22]OFD Sender: No OFD packet to send [00:59:27]OFD Sender: No OFD packet to send [00:59:32]OFD Sender: No OFD packet to send [00:59:37]OFD Sender: No OFD packet to send [00:59:42]OFD Sender: No OFD packet to send [00:59:47]OFD Sender: No OFD packet to send [00:59:52]OFD Sender: No OFD packet to send [00:59:57]OFD Sender: No OFD packet to send [01:00:02]OFD Sender: No OFD packet to send [01:00:07]OFD Sender: No OFD packet to send [01:00:12]OFD Sender: No OFD packet to send [01:00:18]OFD Sender: No OFD packet to send [01:00:23]OFD Sender: No OFD packet to send [01:00:28]OFD Sender: No OFD packet to send [01:00:33]OFD Sender: No OFD packet to send [01:00:38]OFD Sender: No OFD packet to send [01:00:43]OFD Sender: No OFD packet to send [01:00:48]OFD Sender: No OFD packet to send [01:00:53]OFD Sender: No OFD packet to send [01:00:58]OFD Sender: No OFD packet to send [01:01:03]OFD Sender: No OFD packet to send [01:01:08]OFD Sender: No OFD packet to send [01:01:13]OFD Sender: No OFD packet to send [01:01:18]OFD Sender: No OFD packet to send [01:01:23]OFD Sender: No OFD packet to send [01:01:28]OFD Sender: No OFD packet to send [01:01:33]OFD Sender: No OFD packet to send [01:01:38]OFD Sender: No OFD packet to send [01:01:43]OFD Sender: No OFD packet to send [01:01:48]OFD Sender: No OFD packet to send [01:01:53]OFD Sender: No OFD packet to send [01:01:58]OFD Sender: No OFD packet to send [01:02:03]OFD Sender: No OFD packet to send [01:02:08]OFD Sender: No OFD packet to send [01:02:13]OFD Sender: No OFD packet to send [01:02:18]OFD Sender: No OFD packet to send [01:02:23]OFD Sender: No OFD packet to send [01:02:28]OFD Sender: No OFD packet to send [01:02:33]OFD Sender: No OFD packet to send [01:02:38]OFD Sender: No OFD packet to send [01:02:43]OFD Sender: No OFD packet to send [01:02:48]OFD Sender: No OFD packet to send [01:02:53]OFD Sender: No OFD packet to send [01:02:58]OFD Sender: No OFD packet to send [01:03:03]OFD Sender: No OFD packet to send [01:03:08]OFD Sender: No OFD packet to send [01:03:13]OFD Sender: No OFD packet to send [01:03:18]OFD Sender: No OFD packet to send [01:03:23]OFD Sender: No OFD packet to send [01:03:28]OFD Sender: No OFD packet to send [01:03:33]OFD Sender: No OFD packet to send [01:03:38]OFD Sender: No OFD packet to send [01:03:43]OFD Sender: No OFD packet to send [01:03:48]OFD Sender: No OFD packet to send [01:03:53]OFD Sender: No OFD packet to send [01:03:58]OFD Sender: No OFD packet to send [01:04:03]OFD Sender: No OFD packet to send [01:04:08]OFD Sender: No OFD packet to send [01:04:13]OFD Sender: No OFD packet to send [01:04:18]OFD Sender: No OFD packet to send [01:04:23]OFD Sender: No OFD packet to send [01:04:28]OFD Sender: No OFD packet to send [01:04:33]OFD Sender: No OFD packet to send [01:04:38]OFD Sender: No OFD packet to send [01:04:43]OFD Sender: No OFD packet to send [01:04:48]OFD Sender: No OFD packet to send [01:04:53]OFD Sender: No OFD packet to send [01:04:58]OFD Sender: No OFD packet to send [01:05:03]OFD Sender: No OFD packet to send [01:05:08]OFD Sender: No OFD packet to send [01:05:13]OFD Sender: No OFD packet to send [01:05:18]OFD Sender: No OFD packet to send [01:05:23]OFD Sender: No OFD packet to send [01:05:28]OFD Sender: No OFD packet to send [01:05:33]OFD Sender: No OFD packet to send [01:05:38]OFD Sender: No OFD packet to send [01:05:43]OFD Sender: No OFD packet to send [01:05:48]OFD Sender: No OFD packet to send [01:05:53]OFD Sender: No OFD packet to send [01:05:58]OFD Sender: No OFD packet to send [01:06:03]OFD Sender: No OFD packet to send [01:06:08]OFD Sender: No OFD packet to send [01:06:13]OFD Sender: No OFD packet to send [01:06:18]OFD Sender: No OFD packet to send [01:06:23]OFD Sender: No OFD packet to send [01:06:28]OFD Sender: No OFD packet to send [01:06:33]OFD Sender: No OFD packet to send [01:06:38]OFD Sender: No OFD packet to send [01:06:38]accept exits with 9 [01:06:38]New connection [01:06:38]New thread 3067207012 created [01:06:38]Thread 3067063652 joined [01:06:38]Waiting for new connection... [01:06:38] Sock 9.Parse request [01:06:38]Sock 9.Check first char [01:06:38]Sock 9.First char is OK [01:06:38]request: POST /json_proto HTTP/1.0 [01:06:38]Method: POST [01:06:38]URL: /json_proto [01:06:38]Method is POST - this is cgi request [01:06:38]url: /json_proto [01:06:38]query_string will be loaded in cgi processing [01:06:38]execute_cgi json_proto POST (null) [01:06:38]execute_cgi path=json_proto method=POST [01:06:38]POST find Content-Length [01:06:38]Host: 172.17.40.196:8080 [01:06:38]Content-Length: 659 [01:06:38]Content-Type: application/json [01:06:38] [01:06:38]POST finish read [01:06:38]Found Content-Length = 659 [01:06:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35220", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.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" ] } } [01:06:38]execute_script... [01:06:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35220", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.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" ] } } [01:06:38]POST & json_proto [01:06:38]process_json_proto [01:06:38]json parsed OK: [01:06:38]protocol is kg_v1.0 [01:06:38]action value=close_receipt [01:06:38]process_action close_receipt [01:06:38]cmd_close_receipt [01:06:38]MH_GetDate [01:06:38]Write to MH i2c: F0 00 00 5E 07 54 [01:06:38]Write i2c OK [01:06:38]MH_I2C_Read... [01:06:38]Read from MH i2c: F0 [01:06:38]MH_I2C_Read... [01:06:38]Read from MH i2c: F0 09 00 [01:06:38]MH_I2C_Read... [01:06:38]Read from MH i2c: F0 09 00 5E 07 00 A0 86 21 67 5B 68 A1 66 D5 [01:06:38]GetLastDocTimeStamp 1730248870 [01:06:38]current date 1730250400 [01:06:38]FM_GetShiftState [01:06:38]SAM_PROTO_GetShiftState [01:06:38]wFMCommunicate request_size=4 [01:06:38]MH_SAM_APDU [01:06:38]CAPDU: 80 13 01 00 [01:06:38]Write to MH i2c: E2 08 00 5F 07 80 13 01 00 00 00 00 00 E3 [01:06:38]Write i2c OK [01:06:38]MH_I2C_Read... [01:06:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:06:38]Read from MH i2c: E2 [01:06:38]MH_I2C_Read... [01:06:38]Read from MH i2c: E2 0E 00 [01:06:38]MH_I2C_Read... [01:06:38]Read from MH i2c: E2 0E 00 5F 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 A4 [01:06:38]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [01:06:38]wFMCommunicate OK [01:06:38]SAM_PROTO_GetShiftState done [01:06:38]FM_GetShiftState done [01:06:38]opened in 1730246837 [01:06:38]opened+sec_in_day 1730333237 [01:06:38]quantity*price = 45000 [01:06:38]sum+1 = 45001 [01:06:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 3 30.10.2024 01:06 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37921 ФПД: 95502017432681 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T010640&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37921&fm=95502017432681&tin=02508201610067®Number=0000000000091684&sum=45000 0 [01:06:39]StoreToDocumentArchive [01:06:39]shift 553 fd 37921 [01:06:39]save to /storage/0553/doc_00037921 [01:06:39]save last doc name /storage/0553/doc_00037921 to /storage/kkm_last_doc_name [01:06:39]save OK [01:06:39]Clear old archive folders... [01:06:39]ProcessDocumentItem done err = 0, tmpTLVsize=280 [01:06:39]tlvbuf is 018F7AC0 [01:06:39]SAM_PROTO_ClearQueue [01:06:39]wFMCommunicate request_size=4 [01:06:39]MH_SAM_APDU [01:06:39]CAPDU: 80 09 00 00 [01:06:39]Write to MH i2c: E2 08 00 6C 07 80 09 00 00 00 00 00 00 E5 [01:06:39]Write i2c OK [01:06:39]MH_I2C_Read... [01:06:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:06:39]Read from MH i2c: E2 [01:06:39]MH_I2C_Read... [01:06:39]Read from MH i2c: E2 03 00 [01:06:39]MH_I2C_Read... [01:06:39]Read from MH i2c: E2 03 00 6C 07 00 90 00 E7 [01:06:39]RAPDU: 90 00 [01:06:39]wFMCommunicate OK [01:06:39]SAM_PROTO_ClearQueue done [01:06:39]KKMCreateOFDPacket [01:06:39]OFDProtocolAddRootSTLVToBuf [01:06:39]FM_MakeSignedData [01:06:39]FM_MakeSignedData [01:06:39]SAM_PROTO_SignData [01:06:39]wFMCommunicate request_size=4 [01:06:39]MH_SAM_APDU [01:06:39]CAPDU: 80 0D 01 02 [01:06:39]Write to MH i2c: E2 08 00 6D 07 80 0D 01 02 00 00 00 00 ED [01:06:39]Write i2c OK [01:06:39]MH_I2C_Read... [01:06:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:06:39]Read from MH i2c: E2 [01:06:39]MH_I2C_Read... [01:06:39]Read from MH i2c: E2 03 00 [01:06:39]MH_I2C_Read... [01:06:39]Read from MH i2c: E2 03 00 6D 07 00 90 00 E8 [01:06:39]RAPDU: 90 00 [01:06:39]wFMCommunicate OK [01:06:39]wFMCommunicate request_size=255 [01:06:39]MH_SAM_APDU [01:06:39]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 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 03 00 00 00 F4 03 04 00 A0 86 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 [01:06:39]Write to MH i2c: E2 02 01 6E 07 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 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 03 00 00 00 F4 03 04 00 A0 86 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 00 00 8E [01:06:39]Write i2c OK [01:06:39]MH_I2C_Read... [01:06:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:40]Read from MH i2c: E2 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 03 00 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 03 00 6E 07 00 90 00 E9 [01:06:40]RAPDU: 90 00 [01:06:40]wFMCommunicate OK [01:06:40]wFMCommunicate request_size=39 [01:06:40]MH_SAM_APDU [01:06:40]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 21 94 00 00 35 04 06 00 56 DB CB D3 0C 69 [01:06:40]Write to MH i2c: E2 2A 00 6F 07 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 21 94 00 00 35 04 06 00 56 DB CB D3 0C 69 00 00 A1 [01:06:40]Write i2c OK [01:06:40]MH_I2C_Read... [01:06:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:06:40]Read from MH i2c: E2 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 03 00 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 03 00 6F 07 00 90 00 EA [01:06:40]RAPDU: 90 00 [01:06:40]wFMCommunicate OK [01:06:40]wFMCommunicate request_size=4 [01:06:40]MH_SAM_APDU [01:06:40]CAPDU: 80 0D 03 02 [01:06:40]Write to MH i2c: E2 08 00 70 07 80 0D 03 02 00 00 00 00 F2 [01:06:40]Write i2c OK [01:06:40]MH_I2C_Read... [01:06:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:06:40]Read from MH i2c: E2 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 0B 00 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 0B 00 70 07 00 0D 10 69 FE 41 F6 F4 FF 90 00 A1 [01:06:40]RAPDU: 0D 10 69 FE 41 F6 F4 FF 90 00 [01:06:40]wFMCommunicate OK [01:06:40]SAM_PROTO_SignData done [01:06:40]FM_MakeSignedData done [01:06:40]CreateOFDProtocolMessage [01:06:40]wFMCommunicate request_size=4 [01:06:40]MH_SAM_APDU [01:06:40]CAPDU: 80 11 00 00 [01:06:40]Write to MH i2c: E2 08 00 71 07 80 11 00 00 00 00 00 00 F2 [01:06:40]Write i2c OK [01:06:40]MH_I2C_Read... [01:06:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:40]Read from MH i2c: E2 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 17 00 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: E2 17 00 71 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 42 [01:06:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:06:40]wFMCommunicate OK [01:06:40]CreateOFDProtocolMessage done [01:06:40]OFDSenderStorePacket 37921 [01:06:40]StoreOFDPacket docnum=37921 [01:06:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 8F 30 24 01 05 35 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 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 03 00 00 00 F4 03 04 00 A0 86 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 21 94 00 00 35 04 06 00 56 DB CB D3 0C 69 0D 10 69 FE 41 F6 F4 FF [01:06:40]CheckFolder [01:06:40]dirname=/storage/ofd_packets [01:06:40]CheckFolder done [01:06:40]ProducePacketName [01:06:40]name=ofd_packets/00037921 [01:06:40]NVStorageSaveData ofd_packets/00037921 [01:06:40]File name is /storage/ofd_packets/00037921 [01:06:40]Write 330 bytes [01:06:40]NVStorageSaveData done [01:06:40]OFDSenderStorePacket done [01:06:40]KKMCreateOFDPacket done [01:06:40]NVStorageSaveData kkm_last_timestamp [01:06:40]File name is /storage/kkm_last_timestamp [01:06:40]Write 4 bytes [01:06:40]NVStorageSaveData done [01:06:40]ExternCall_PrintAddStr [01:06:40]wPrintStart [01:06:40]Write to MH i2c: 01 00 00 72 07 79 [01:06:40]Write i2c OK [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: 01 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: 01 07 00 [01:06:40]MH_I2C_Read... [01:06:40]Read from MH i2c: 01 07 00 72 07 00 00 00 00 00 FF 0F 8E [01:06:40]RasterBufferAndPrint [01:06:40]line Счет N : (3)35220 [01:06:40]line ИНН: 02508201610067 [01:06:40]line Контрольно-Кассовый Чек [01:06:40]line ПРОДАЖА [01:06:40]line Товар: 4700002083266 [01:06:40]line Водка Атилла Гунн 0,5л [01:06:40]line 1.000 * 450.00 [01:06:40]line = 450.00 [01:06:40]line НДС 12% НСП 1% [01:06:40]line > о реализуемом товаре [01:06:40]line ИТОГО: 450.00 [01:06:40]line НСП 1% : 3.98 [01:06:40]line НДС 12% : 47.79 [01:06:40]line Наличными: 450.00 [01:06:40]line Безнал.: 0.00 [01:06:40]line Место: АЗС № 126 "Партнер Нефть" [01:06:40]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:06:40]line СНО: Общий режим [01:06:40]line Чек 3 30.10.2024 01:06 [01:06:40]line Смена: 553 ФФД: 1.0 [01:06:40]line ЗНМ: 0300000092 [01:06:40]line РНМ: 0000000000091684 [01:06:40]line Версия ККМ: 001 [01:06:40]line ФМ: 0000000000871841 [01:06:40]line ФД: 37921 [01:06:40]line ФПД: 95502017432681 [01:06:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T010640&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37921&fm=95502017432681&tin=02508201610067®Number=0000000000091684&sum=45000 [01:06:40]OFD Sender: Processing packet 37921 [packets to send 42, broken 41] [01:06:40]ProducePacketName [01:06:40]name=ofd_packets/00037921 [01:06:40]OFD Sender: To server: pG, [01:06:40]CommunicateWithHost lk.salyk.kg:30040 [01:06:40]ConnectInit lk.salyk.kg [01:06:40]line 0 [01:06:40]written 0, free lines is 4095 [01:06:41]Connected sock=10 [01:06:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 2C 01 00 00 8F 30 24 01 05 35 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 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 03 00 00 00 F4 03 04 00 A0 86 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 21 94 00 00 35 04 06 00 56 DB CB D3 0C 69 0D 10 69 FE 41 F6 F4 FF [01:06:41]Write to MH i2c: 01 00 00 9A 07 A1 [01:06:41]Write i2c OK [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: 01 [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: 01 07 00 [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: 01 07 00 9A 07 00 00 00 00 00 E3 0C 97 [01:06:41]RasterBufferAndPrint [01:06:41]line [01:06:41]line [01:06:41]line [01:06:41]line [01:06:41]line [01:06:41]written 0, free lines is 3306 [01:06:41]MH_Cut [01:06:41]Write to MH i2c: D1 01 00 A1 07 01 7A [01:06:41]Write i2c OK [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: D1 [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: D1 01 00 [01:06:41]MH_I2C_Read... [01:06:41]Read from MH i2c: D1 01 00 A1 07 00 79 [01:06:41]Write to MH i2c: 01 00 00 A2 07 A9 [01:06:41]Write i2c OK [01:06:41]MH_I2C_Read... [01:06:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 A0 12 47 00 05 74 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 21 94 00 00 F4 03 04 00 90 31 21 67 B6 04 01 00 00 53 23 EA D4 CD 57 72 92 [01:06:41]CommunicateWithHost err = 0 [01:06:41]CheckOFDResponse [01:06:41]1017 (14) - 77093643461234 [01:06:41]1041 (16) - 0000000000871841 [01:06:41]1040 (4) - 37921 [01:06:41]1012 (4) - 29.10.2024 19:03 [01:06:41]1206 (1) - 0 [01:06:41]OFD Sender: Remove packet 37921 [01:06:41]ProducePacketName [01:06:41]name=ofd_packets/00037921 [01:06:41]NVStorageDeleteData [01:06:41]*** Cut start [01:06:41]*** Partial cut [01:06:41]*** CUTSNS_PIN = 1 [01:06:41]OFD Sender: No OFD packet to send [01:06:42]*** CUTSNS_PIN = 0 [01:06:42]*** Brake cut motor [01:06:42]Read from MH i2c: 01 [01:06:42]MH_I2C_Read... [01:06:42]*** Stop cut motor [01:06:42]*** Cut end [01:06:42]Read from MH i2c: 01 07 00 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: 01 07 00 A2 07 00 00 00 00 00 FF 0F BE [01:06:42]process_action close_receipt done [01:06:42]requested_data is exist [01:06:42]produce_requested_data [01:06:42]requested_item fm.sn is exist - process it [01:06:42]wFMCommunicate request_size=4 [01:06:42]MH_SAM_APDU [01:06:42]CAPDU: 80 11 00 00 [01:06:42]Write to MH i2c: E2 08 00 A3 07 80 11 00 00 00 00 00 00 24 [01:06:42]Write i2c OK [01:06:42]MH_I2C_Read... [01:06:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:06:42]Read from MH i2c: E2 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 17 00 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 17 00 A3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 74 [01:06:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:06:42]wFMCommunicate OK [01:06:42]requested_item fd.num is exist - process it [01:06:42]SAM_PROTO_GetFieldsCounters [01:06:42]wFMCommunicate request_size=4 [01:06:42]MH_SAM_APDU [01:06:42]CAPDU: 80 13 00 00 [01:06:42]Write to MH i2c: E2 08 00 A4 07 80 13 00 00 00 00 00 00 27 [01:06:42]Write i2c OK [01:06:42]MH_I2C_Read... [01:06:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:06:42]Read from MH i2c: E2 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 62 00 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 62 00 A4 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 21 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 31 [01:06:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 21 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 03 00 00 00 5E 04 04 00 03 00 00 00 57 04 04 00 04 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:06:42]wFMCommunicate OK [01:06:42]SAM_PROTO_GetFieldsCounters done [01:06:42]requested_item shift.num is exist - process it [01:06:42]requested_item shift.opened is exist - process it [01:06:42]req_shift_opened [01:06:42]FM_GetShiftState [01:06:42]SAM_PROTO_GetShiftState [01:06:42]wFMCommunicate request_size=4 [01:06:42]MH_SAM_APDU [01:06:42]CAPDU: 80 13 01 00 [01:06:42]Write to MH i2c: E2 08 00 A5 07 80 13 01 00 00 00 00 00 29 [01:06:42]Write i2c OK [01:06:42]MH_I2C_Read... [01:06:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:06:42]Read from MH i2c: E2 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 0E 00 [01:06:42]MH_I2C_Read... [01:06:42]Read from MH i2c: E2 0E 00 A5 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EA [01:06:42]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [01:06:42]wFMCommunicate OK [01:06:42]SAM_PROTO_GetShiftState done [01:06:42]FM_GetShiftState done [01:06:42]req_shift_opened done [01:06:42]requested_item shift.open_date is exist - process it [01:06:42]req_shift_open_date [01:06:42]req_shift_open_date done [01:06:42]produce_requested_data done [01:06:42]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37921,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [01:06:42]process_action_free close_receipt [01:06:42]json_value_free [01:06:42]json_value_free done [01:06:42]process_json_proto returns [01:06:42]Send response to host [01:06:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37921,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [01:06:42]free response buf [01:06:42]execute_script done [01:06:42]execute_script returns [01:06:42]free content buf [01:06:42]Sock 9.Close socket [01:06:42]Sock 9.Thread stoped [01:06:46]OFD Sender: No OFD packet to send [01:06:51]OFD Sender: No OFD packet to send [01:06:56]OFD Sender: No OFD packet to send [01:07:02]OFD Sender: No OFD packet to send [01:07:07]OFD Sender: No OFD packet to send [01:07:12]OFD Sender: No OFD packet to send [01:07:17]OFD Sender: No OFD packet to send [01:07:22]OFD Sender: No OFD packet to send [01:07:27]OFD Sender: No OFD packet to send [01:07:32]OFD Sender: No OFD packet to send [01:07:37]OFD Sender: No OFD packet to send [01:07:42]OFD Sender: No OFD packet to send [01:07:47]OFD Sender: No OFD packet to send [01:07:52]OFD Sender: No OFD packet to send [01:07:57]OFD Sender: No OFD packet to send [01:08:02]OFD Sender: No OFD packet to send [01:08:07]OFD Sender: No OFD packet to send [01:08:12]OFD Sender: No OFD packet to send [01:08:17]OFD Sender: No OFD packet to send [01:08:22]OFD Sender: No OFD packet to send [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:07]OFD Sender: No OFD packet to send [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:52]OFD Sender: No OFD packet to send [01:21:57]OFD Sender: No OFD packet to send [01:22:02]OFD Sender: No OFD packet to send [01:22:07]OFD Sender: No OFD packet to send [01:22:12]OFD Sender: No OFD packet to send [01:22:17]OFD Sender: No OFD packet to send [01:22:22]OFD Sender: No OFD packet to send [01:22:27]OFD Sender: No OFD packet to send [01:22:32]OFD Sender: No OFD packet to send [01:22:37]OFD Sender: No OFD packet to send [01:22:42]OFD Sender: No OFD packet to send [01:22:47]OFD Sender: No OFD packet to send [01:22:52]OFD Sender: No OFD packet to send [01:22:57]OFD Sender: No OFD packet to send [01:23:02]OFD Sender: No OFD packet to send [01:23:07]OFD Sender: No OFD packet to send [01:23:12]OFD Sender: No OFD packet to send [01:23:17]OFD Sender: No OFD packet to send [01:23:22]OFD Sender: No OFD packet to send [01:23:27]OFD Sender: No OFD packet to send [01:23:32]OFD Sender: No OFD packet to send [01:23:37]OFD Sender: No OFD packet to send [01:23:42]OFD Sender: No OFD packet to send [01:23:47]OFD Sender: No OFD packet to send [01:23:52]OFD Sender: No OFD packet to send [01:23:57]OFD Sender: No OFD packet to send [01:24:02]OFD Sender: No OFD packet to send [01:24:07]OFD Sender: No OFD packet to send [01:24:12]OFD Sender: No OFD packet to send [01:24:17]OFD Sender: No OFD packet to send [01:24:22]OFD Sender: No OFD packet to send [01:24:27]OFD Sender: No OFD packet to send [01:24:32]OFD Sender: No OFD packet to send [01:24:37]OFD Sender: No OFD packet to send [01:24:42]OFD Sender: No OFD packet to send [01:24:47]OFD Sender: No OFD packet to send [01:24:52]OFD Sender: No OFD packet to send [01:24:57]OFD Sender: No OFD packet to send [01:25:02]OFD Sender: No OFD packet to send [01:25:07]OFD Sender: No OFD packet to send [01:25:12]OFD Sender: No OFD packet to send [01:25:17]OFD Sender: No OFD packet to send [01:25:22]OFD Sender: No OFD packet to send [01:25:27]OFD Sender: No OFD packet to send [01:25:32]OFD Sender: No OFD packet to send [01:25:37]OFD Sender: No OFD packet to send [01:25:42]OFD Sender: No OFD packet to send [01:25:47]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:39]accept exits with 7 [01:32:39]New connection [01:32:39]New thread 3067063652 created [01:32:39]Thread 3067207012 joined [01:32:39]Waiting for new connection... [01:32:39] Sock 7.Parse request [01:32:39]Sock 7.Check first char [01:32:39]Sock 7.First char is OK [01:32:39]request: POST /json_proto HTTP/1.0 [01:32:39]Method: POST [01:32:39]URL: /json_proto [01:32:39]Method is POST - this is cgi request [01:32:39]url: /json_proto [01:32:39]query_string will be loaded in cgi processing [01:32:39]execute_cgi json_proto POST (null) [01:32:39]execute_cgi path=json_proto method=POST [01:32:39]POST find Content-Length [01:32:39]Host: 172.17.40.196:8080 [01:32:39]Content-Length: 859 [01:32:39]Content-Type: application/json [01:32:39] [01:32:39]POST finish read [01:32:39]Found Content-Length = 859 [01:32:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)35221", "tax_sys" : 0, "items" : [ { "code": "4700003150400", "name": "\u0412\u043E\u0434\u043A\u0430 \u0424\u0440\u0443\u043D\u0437\u0435 0,75", "price" : 655.00, "quantity" : 1.000, "sum" : 655.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001155490", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 865.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:32:39]execute_script... [01:32: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)35221", "tax_sys" : 0, "items" : [ { "code": "4700003150400", "name": "\u0412\u043E\u0434\u043A\u0430 \u0424\u0440\u0443\u043D\u0437\u0435 0,75", "price" : 655.00, "quantity" : 1.000, "sum" : 655.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001155490", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 865.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [01:32:39]POST & json_proto [01:32:39]process_json_proto [01:32:39]json parsed OK: [01:32:39]protocol is kg_v1.0 [01:32:39]action value=close_receipt [01:32:39]process_action close_receipt [01:32:39]cmd_close_receipt [01:32:39]MH_GetDate [01:32:39]Write to MH i2c: F0 00 00 A6 07 9C [01:32:39]Write i2c OK [01:32:39]MH_I2C_Read... [01:32:39]Read from MH i2c: F0 [01:32:39]MH_I2C_Read... [01:32:39]Read from MH i2c: F0 09 00 [01:32:39]MH_I2C_Read... [01:32:39]Read from MH i2c: F0 09 00 A6 07 00 B9 8C 21 67 5B 68 A1 66 3C [01:32:39]GetLastDocTimeStamp 1730250400 [01:32:39]current date 1730251961 [01:32:39]FM_GetShiftState [01:32:39]SAM_PROTO_GetShiftState [01:32:39]wFMCommunicate request_size=4 [01:32:39]MH_SAM_APDU [01:32:39]CAPDU: 80 13 01 00 [01:32:39]Write to MH i2c: E2 08 00 A7 07 80 13 01 00 00 00 00 00 2B [01:32:39]Write i2c OK [01:32:39]MH_I2C_Read... [01:32:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:39]Read from MH i2c: E2 [01:32:39]MH_I2C_Read... [01:32:39]Read from MH i2c: E2 0E 00 [01:32:39]MH_I2C_Read... [01:32:39]Read from MH i2c: E2 0E 00 A7 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 EC [01:32:39]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [01:32:39]wFMCommunicate OK [01:32:39]SAM_PROTO_GetShiftState done [01:32:39]FM_GetShiftState done [01:32:39]opened in 1730246837 [01:32:39]opened+sec_in_day 1730333237 [01:32:39]quantity*price = 65500 [01:32:39]sum+1 = 65501 [01:32:39]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001155490 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 865.00 НСП 1% : 7.66 НДС 12% : 91.86 Наличными: 865.00 Безнал.: 0.00 Место: АЗС № 126 "Партнер Нефть" Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 СНО: Общий режим Чек 4 30.10.2024 01:32 Смена: 553 ФФД: 1.0 ЗНМ: 0300000092 РНМ: 0000000000091684 Версия ККМ: 001 ФМ: 0000000000871841 ФД: 37922 ФПД: 207686975926219 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T013241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37922&fm=207686975926219&tin=02508201610067®Number=0000000000091684&sum=86500 0 [01:32:40]StoreToDocumentArchive [01:32:40]shift 553 fd 37922 [01:32:40]save to /storage/0553/doc_00037922 [01:32:40]save last doc name /storage/0553/doc_00037922 to /storage/kkm_last_doc_name [01:32:40]save OK [01:32:40]Clear old archive folders... [01:32:40]ProcessDocumentItem done err = 0, tmpTLVsize=366 [01:32:40]tlvbuf is 018F7400 [01:32:40]SAM_PROTO_ClearQueue [01:32:40]wFMCommunicate request_size=4 [01:32:40]MH_SAM_APDU [01:32:40]CAPDU: 80 09 00 00 [01:32:40]Write to MH i2c: E2 08 00 B4 07 80 09 00 00 00 00 00 00 2D [01:32:40]Write i2c OK [01:32:40]MH_I2C_Read... [01:32:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:32:40]Read from MH i2c: E2 [01:32:40]MH_I2C_Read... [01:32:40]Read from MH i2c: E2 03 00 [01:32:40]MH_I2C_Read... [01:32:40]Read from MH i2c: E2 03 00 B4 07 00 90 00 2F [01:32:40]RAPDU: 90 00 [01:32:40]wFMCommunicate OK [01:32:40]SAM_PROTO_ClearQueue done [01:32:40]KKMCreateOFDPacket [01:32:40]OFDProtocolAddRootSTLVToBuf [01:32:40]FM_MakeSignedData [01:32:40]FM_MakeSignedData [01:32:40]SAM_PROTO_SignData [01:32:40]wFMCommunicate request_size=4 [01:32:40]MH_SAM_APDU [01:32:40]CAPDU: 80 0D 01 02 [01:32:40]Write to MH i2c: E2 08 00 B5 07 80 0D 01 02 00 00 00 00 35 [01:32:40]Write i2c OK [01:32:40]MH_I2C_Read... [01:32:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:32:40]Read from MH i2c: E2 [01:32:40]MH_I2C_Read... [01:32:40]Read from MH i2c: E2 03 00 [01:32:40]MH_I2C_Read... [01:32:40]Read from MH i2c: E2 03 00 B5 07 00 90 00 30 [01:32:40]RAPDU: 90 00 [01:32:40]wFMCommunicate OK [01:32:40]wFMCommunicate request_size=255 [01:32:40]MH_SAM_APDU [01:32:40]CAPDU: 80 0D 02 02 FA 03 00 6E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 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 31 35 35 34 39 30 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 51 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 [01:32:40]Write to MH i2c: E2 02 01 B6 07 80 0D 02 02 FA 00 03 00 6E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 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 31 35 35 34 39 30 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 51 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 00 CF [01:32:40]Write i2c OK [01:32:40]MH_I2C_Read... [01:32:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:41]Read from MH i2c: E2 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 03 00 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 03 00 B6 07 00 90 00 31 [01:32:41]RAPDU: 90 00 [01:32:41]wFMCommunicate OK [01:32:41]wFMCommunicate request_size=125 [01:32:41]MH_SAM_APDU [01:32:41]CAPDU: 80 0D 02 02 78 00 E2 23 00 00 00 00 07 04 06 00 E4 51 01 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 B9 8C 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 22 94 00 00 35 04 06 00 BC E3 E4 6C AF CB [01:32:41]Write to MH i2c: E2 80 00 B7 07 80 0D 02 02 78 00 00 E2 23 00 00 00 00 07 04 06 00 E4 51 01 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 B9 8C 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 22 94 00 00 35 04 06 00 BC E3 E4 6C AF CB 00 00 B8 [01:32:41]Write i2c OK [01:32:41]MH_I2C_Read... [01:32:41]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:32:41]Read from MH i2c: E2 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 03 00 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 03 00 B7 07 00 90 00 32 [01:32:41]RAPDU: 90 00 [01:32:41]wFMCommunicate OK [01:32:41]wFMCommunicate request_size=4 [01:32:41]MH_SAM_APDU [01:32:41]CAPDU: 80 0D 03 02 [01:32:41]Write to MH i2c: E2 08 00 B8 07 80 0D 03 02 00 00 00 00 3A [01:32:41]Write i2c OK [01:32:41]MH_I2C_Read... [01:32:41]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:32:41]Read from MH i2c: E2 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 0B 00 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 0B 00 B8 07 00 BC 5D 28 4B 91 BC CB D8 90 00 B7 [01:32:41]RAPDU: BC 5D 28 4B 91 BC CB D8 90 00 [01:32:41]wFMCommunicate OK [01:32:41]SAM_PROTO_SignData done [01:32:41]FM_MakeSignedData done [01:32:41]CreateOFDProtocolMessage [01:32:41]wFMCommunicate request_size=4 [01:32:41]MH_SAM_APDU [01:32:41]CAPDU: 80 11 00 00 [01:32:41]Write to MH i2c: E2 08 00 B9 07 80 11 00 00 00 00 00 00 3A [01:32:41]Write i2c OK [01:32:41]MH_I2C_Read... [01:32:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:41]Read from MH i2c: E2 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 17 00 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: E2 17 00 B9 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 8A [01:32:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:32:41]wFMCommunicate OK [01:32:41]CreateOFDProtocolMessage done [01:32:41]OFDSenderStorePacket 37922 [01:32:41]StoreOFDPacket docnum=37922 [01:32:41]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 82 01 00 00 D9 2F 7A 01 46 3A 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 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 31 35 35 34 39 30 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 51 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 23 00 00 00 00 07 04 06 00 E4 51 01 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 B9 8C 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 22 94 00 00 35 04 06 00 BC E3 E4 6C AF CB BC 5D 28 4B 91 BC CB D8 [01:32:41]CheckFolder [01:32:41]dirname=/storage/ofd_packets [01:32:41]CheckFolder done [01:32:41]ProducePacketName [01:32:41]name=ofd_packets/00037922 [01:32:41]NVStorageSaveData ofd_packets/00037922 [01:32:41]File name is /storage/ofd_packets/00037922 [01:32:41]Write 416 bytes [01:32:41]NVStorageSaveData done [01:32:41]OFDSenderStorePacket done [01:32:41]KKMCreateOFDPacket done [01:32:41]NVStorageSaveData kkm_last_timestamp [01:32:41]File name is /storage/kkm_last_timestamp [01:32:41]Write 4 bytes [01:32:41]NVStorageSaveData done [01:32:41]ExternCall_PrintAddStr [01:32:41]wPrintStart [01:32:41]Write to MH i2c: 01 00 00 BA 07 C1 [01:32:41]Write i2c OK [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: 01 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: 01 07 00 [01:32:41]MH_I2C_Read... [01:32:41]Read from MH i2c: 01 07 00 BA 07 00 00 00 00 00 FF 0F D6 [01:32:41]RasterBufferAndPrint [01:32:41]line Счет N : (3)35221 [01:32:41]line ИНН: 02508201610067 [01:32:41]line Контрольно-Кассовый Чек [01:32:41]line ПРОДАЖА [01:32:41]line Товар: 4700003150400 [01:32:41]line Водка Фрунзе 0,75 [01:32:41]line 1.000 * 655.00 [01:32:41]line = 655.00 [01:32:41]line НДС 12% НСП 1% [01:32:41]line > о реализуемом товаре [01:32:41]line Товар: 4870001155490 [01:32:41]line Напиток Pepsi 2л [01:32:41]line 1.000 * 210.00 [01:32:41]line = 210.00 [01:32:41]line НДС 12% НСП 1% [01:32:41]line > о реализуемом товаре [01:32:41]line ИТОГО: 865.00 [01:32:41]line НСП 1% : 7.66 [01:32:41]line НДС 12% : 91.86 [01:32:41]line Наличными: 865.00 [01:32:41]line Безнал.: 0.00 [01:32:41]line Место: АЗС № 126 "Партнер Нефть" [01:32:41]line Адрес: 720001, г. Кербен, ул. Ниязалы б/н, 41.483844, 71.758459 [01:32:41]line СНО: Общий режим [01:32:41]line Чек 4 30.10.2024 01:32 [01:32:41]line Смена: 553 ФФД: 1.0 [01:32:41]line ЗНМ: 0300000092 [01:32:41]line РНМ: 0000000000091684 [01:32:41]line Версия ККМ: 001 [01:32:41]line ФМ: 0000000000871841 [01:32:41]line ФД: 37922 [01:32:41]line ФПД: 207686975926219 [01:32:41]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20241030T013241&type=1&operation_type=1&fn_number=0000000000871841&fd_number=37922&fm=207686975926219&tin=02508201610067®Number=0000000000091684&sum=86500 [01:32:41]line 0 [01:32:41]OFD Sender: Processing packet 37922 [packets to send 42, broken 41] [01:32:41]ProducePacketName [01:32:41]name=ofd_packets/00037922 [01:32:41]OFD Sender: To server: pG, [01:32:41]CommunicateWithHost lk.salyk.kg:30040 [01:32:41]ConnectInit lk.salyk.kg [01:32:41]written 0, free lines is 4095 [01:32:42]Write to MH i2c: 01 00 00 E8 07 EF [01:32:42]Write i2c OK [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: 01 [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: 01 07 00 [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: 01 07 00 E8 07 00 00 00 00 00 80 0C 82 [01:32:42]RasterBufferAndPrint [01:32:42]line [01:32:42]line [01:32:42]line [01:32:42]line [01:32:42]line [01:32:42]written 0, free lines is 3207 [01:32:42]MH_Cut [01:32:42]Write to MH i2c: D1 01 00 EF 07 01 C8 [01:32:42]Write i2c OK [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: D1 [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: D1 01 00 [01:32:42]MH_I2C_Read... [01:32:42]Read from MH i2c: D1 01 00 EF 07 00 C7 [01:32:42]Write to MH i2c: 01 00 00 F0 07 F7 [01:32:42]Write i2c OK [01:32:42]MH_I2C_Read... [01:32:42]Connected sock=10 [01:32:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 82 01 00 00 D9 2F 7A 01 46 3A 5A 03 01 00 03 00 6E 01 1E 04 01 00 01 23 04 60 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 30 30 06 04 1C 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A4 D1 80 D1 83 D0 BD D0 B7 D0 B5 20 30 2C 37 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC FF 00 00 00 00 13 04 06 00 DC FF 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 31 35 35 34 39 30 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 51 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 FE 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 23 00 00 00 00 07 04 06 00 E4 51 01 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 B9 8C 21 67 0E 04 04 00 29 02 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 22 94 00 00 35 04 06 00 BC E3 E4 6C AF CB BC 5D 28 4B 91 BC CB D8 [01:32:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 4F 00 00 00 25 3D 47 00 44 4E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 10 04 04 00 22 94 00 00 F4 03 04 00 AA 37 21 67 B6 04 01 00 00 36 1C 4C 87 C4 0F 59 EB [01:32:42]CommunicateWithHost err = 0 [01:32:42]CheckOFDResponse [01:32:42]1017 (14) - 77093643461234 [01:32:42]1041 (16) - 0000000000871841 [01:32:42]1040 (4) - 37922 [01:32:42]1012 (4) - 29.10.2024 19:29 [01:32:42]1206 (1) - 0 [01:32:42]OFD Sender: Remove packet 37922 [01:32:42]ProducePacketName [01:32:42]name=ofd_packets/00037922 [01:32:42]NVStorageDeleteData [01:32:43]*** Cut start [01:32:43]*** Partial cut [01:32:43]*** CUTSNS_PIN = 1 [01:32:43]*** CUTSNS_PIN = 0 [01:32:43]OFD Sender: No OFD packet to send [01:32:43]*** Brake cut motor [01:32:43]Read from MH i2c: 01 [01:32:43]MH_I2C_Read... [01:32:43]*** Stop cut motor [01:32:43]*** Cut end [01:32:43]Read from MH i2c: 01 07 00 [01:32:43]MH_I2C_Read... [01:32:43]Read from MH i2c: 01 07 00 F0 07 00 00 00 00 00 FF 0F 0C [01:32:43]process_action close_receipt done [01:32:43]requested_data is exist [01:32:43]produce_requested_data [01:32:43]requested_item fm.sn is exist - process it [01:32:43]wFMCommunicate request_size=4 [01:32:43]MH_SAM_APDU [01:32:43]CAPDU: 80 11 00 00 [01:32:43]Write to MH i2c: E2 08 00 F1 07 80 11 00 00 00 00 00 00 72 [01:32:43]Write i2c OK [01:32:43]MH_I2C_Read... [01:32:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:32:43]Read from MH i2c: E2 [01:32:43]MH_I2C_Read... [01:32:43]Read from MH i2c: E2 17 00 [01:32:43]MH_I2C_Read... [01:32:43]Read from MH i2c: E2 17 00 F1 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 C2 [01:32:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 90 00 [01:32:43]wFMCommunicate OK [01:32:43]requested_item fd.num is exist - process it [01:32:43]SAM_PROTO_GetFieldsCounters [01:32:43]wFMCommunicate request_size=4 [01:32:43]MH_SAM_APDU [01:32:43]CAPDU: 80 13 00 00 [01:32:43]Write to MH i2c: E2 08 00 F2 07 80 13 00 00 00 00 00 00 75 [01:32:43]Write i2c OK [01:32:43]MH_I2C_Read... [01:32:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:32:44]Read from MH i2c: E2 [01:32:44]MH_I2C_Read... [01:32:44]Read from MH i2c: E2 62 00 [01:32:44]MH_I2C_Read... [01:32:44]Read from MH i2c: E2 62 00 F2 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 22 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 83 [01:32:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 31 38 34 31 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 36 38 34 10 04 04 00 22 94 00 00 0E 04 04 00 29 02 00 00 12 04 04 00 04 00 00 00 5E 04 04 00 04 00 00 00 57 04 04 00 05 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:32:44]wFMCommunicate OK [01:32:44]SAM_PROTO_GetFieldsCounters done [01:32:44]requested_item shift.num is exist - process it [01:32:44]requested_item shift.opened is exist - process it [01:32:44]req_shift_opened [01:32:44]FM_GetShiftState [01:32:44]SAM_PROTO_GetShiftState [01:32:44]wFMCommunicate request_size=4 [01:32:44]MH_SAM_APDU [01:32:44]CAPDU: 80 13 01 00 [01:32:44]Write to MH i2c: E2 08 00 F3 07 80 13 01 00 00 00 00 00 77 [01:32:44]Write i2c OK [01:32:44]MH_I2C_Read... [01:32:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:32:44]Read from MH i2c: E2 [01:32:44]MH_I2C_Read... [01:32:44]Read from MH i2c: E2 0E 00 [01:32:44]MH_I2C_Read... [01:32:44]Read from MH i2c: E2 0E 00 F3 07 00 09 00 01 B5 78 21 67 00 00 00 00 90 00 38 [01:32:44]RAPDU: 09 00 01 B5 78 21 67 00 00 00 00 90 00 [01:32:44]wFMCommunicate OK [01:32:44]SAM_PROTO_GetShiftState done [01:32:44]FM_GetShiftState done [01:32:44]req_shift_opened done [01:32:44]requested_item shift.open_date is exist - process it [01:32:44]req_shift_open_date [01:32:44]req_shift_open_date done [01:32:44]produce_requested_data done [01:32:44]produce_requested_data return {"fm.sn":"0000000000871841","fd.num":37922,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837} [01:32:44]process_action_free close_receipt [01:32:44]json_value_free [01:32:44]json_value_free done [01:32:44]process_json_proto returns [01:32:44]Send response to host [01:32:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000871841","fd.num":37922,"shift.num":553,"shift.opened":1,"shift.open_date":1730246837}}} [01:32:44]free response buf [01:32:44]execute_script done [01:32:44]execute_script returns [01:32:44]free content buf [01:32:44]Sock 7.Close socket [01:32:44]Sock 7.Thread stoped [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:03]OFD Sender: No OFD packet to send [01:43:08]OFD Sender: No OFD packet to send [01:43:13]OFD Sender: No OFD packet to send [01:43:18]OFD Sender: No OFD packet to send [01:43:23]OFD Sender: No OFD packet to send [01:43:28]OFD Sender: No OFD packet to send [01:43:33]OFD Sender: No OFD packet to send [01:43: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:24]OFD Sender: No OFD packet to send [01:55:29]OFD Sender: No OFD packet to send [01:55:34]OFD Sender: No OFD packet to send [01:55:39]OFD Sender: No OFD packet to send [01:55:44]OFD Sender: No OFD packet to send [01:55:49]OFD Sender: No OFD packet to send [01:55:54]OFD Sender: No OFD packet to send [01:55:59]OFD Sender: No OFD packet to send [01:56:04]OFD Sender: No OFD packet to send [01:56:09]OFD Sender: No OFD packet to send [01:56:14]OFD Sender: No OFD packet to send [01:56:19]OFD Sender: No OFD packet to send [01:56:24]OFD Sender: No OFD packet to send [01:56:29]OFD Sender: No OFD packet to send [01:56:34]OFD Sender: No OFD packet to send [01:56:39]OFD Sender: No OFD packet to send [01:56:44]OFD Sender: No OFD packet to send [01:56:49]OFD Sender: No OFD packet to send [01:56:54]OFD Sender: No OFD packet to send [01:56:59]OFD Sender: No OFD packet to send [01:57:04]OFD Sender: No OFD packet to send [01:57:09]OFD Sender: No OFD packet to send [01:57:14]OFD Sender: No OFD packet to send [01:57:19]OFD Sender: No OFD packet to send [01:57:24]OFD Sender: No OFD packet to send [01:57:29]OFD Sender: No OFD packet to send [01:57:34]OFD Sender: No OFD packet to send [01:57:39]OFD Sender: No OFD packet to send [01:57:44]OFD Sender: No OFD packet to send [01:57:49]OFD Sender: No OFD packet to send [01:57:54]OFD Sender: No OFD packet to send [01:57:59]OFD Sender: No OFD packet to send [01:58:04]OFD Sender: No OFD packet to send [01:58:09]OFD Sender: No OFD packet to send [01:58:14]OFD Sender: No OFD packet to send [01:58:19]OFD Sender: No OFD packet to send [01:58:24]OFD Sender: No OFD packet to send [01:58:29]OFD Sender: No OFD packet to send [01:58:34]OFD Sender: No OFD packet to send [01:58:39]OFD Sender: No OFD packet to send [01:58:44]OFD Sender: No OFD packet to send [01:58:49]OFD Sender: No OFD packet to send [01:58:54]OFD Sender: No OFD packet to send [01:58:59]OFD Sender: No OFD packet to send [01:59:04]OFD Sender: No OFD packet to send [01:59:09]OFD Sender: No OFD packet to send [01:59:14]OFD Sender: No OFD packet to send [01:59:19]OFD Sender: No OFD packet to send [01:59:24]OFD Sender: No OFD packet to send [01:59:29]OFD Sender: No OFD packet to send [01:59:34]OFD Sender: No OFD packet to send [01:59:39]OFD Sender: No OFD packet to send [01:59:44]OFD Sender: No OFD packet to send [01:59:49]OFD Sender: No OFD packet to send [01:59:54]OFD Sender: No OFD packet to send [01:59:59]OFD Sender: No OFD packet to send [02:00:04]OFD Sender: No OFD packet to send [02:00:09]OFD Sender: No OFD packet to send [02:00:14]OFD Sender: No OFD packet to send [02:00:19]OFD Sender: No OFD packet to send [02:00:24]OFD Sender: No OFD packet to send [02:00:29]OFD Sender: No OFD packet to send [02:00:34]OFD Sender: No OFD packet to send [02:00:39]OFD Sender: No OFD packet to send [02:00:44]OFD Sender: No OFD packet to send [02:00:49]OFD Sender: No OFD packet to send [02:00:54]OFD Sender: No OFD packet to send [02:00:59]OFD Sender: No OFD packet to send [02:01:04]OFD Sender: No OFD packet to send [02:01:09]OFD Sender: No OFD packet to send [02:01:14]OFD Sender: No OFD packet to send [02:01:19]OFD Sender: No OFD packet to send [02:01:24]OFD Sender: No OFD packet to send [02:01:29]OFD Sender: No OFD packet to send [02:01:34]OFD Sender: No OFD packet to send [02:01:39]OFD Sender: No OFD packet to send [02:01:44]OFD Sender: No OFD packet to send [02:01:49]OFD Sender: No OFD packet to send [02:01:54]OFD Sender: No OFD packet to send [02:01:59]OFD Sender: No OFD packet to send [02:02:04]OFD Sender: No OFD packet to send [02:02:09]OFD Sender: No OFD packet to send [02:02:14]OFD Sender: No OFD packet to send [02:02:19]OFD Sender: No OFD packet to send [02:02:24]OFD Sender: No OFD packet to send [02:02:30]OFD Sender: No OFD packet to send [02:02:35]OFD Sender: No OFD packet to send [02:02:40]OFD Sender: No OFD packet to send [02:02:45]OFD Sender: No OFD packet to send [02:02:50]OFD Sender: No OFD packet to send [02:02:55]OFD Sender: No OFD packet to send [02:03:00]OFD Sender: No OFD packet to send [02:03:05]OFD Sender: No OFD packet to send [02:03:10]OFD Sender: No OFD packet to send [02:03:15]OFD Sender: No OFD packet to send [02:03:20]OFD Sender: No OFD packet to send [02:03:25]OFD Sender: No OFD packet to send [02:03:30]OFD Sender: No OFD packet to send [02:03:35]OFD Sender: No OFD packet to send [02:03:40]OFD Sender: No OFD packet to send [02:03:45]OFD Sender: No OFD packet to send [02:03:50]OFD Sender: No OFD packet to send [02:03:55]OFD Sender: No OFD packet to send [02:04:00]OFD Sender: No OFD packet to send [02:04:05]OFD Sender: No OFD packet to send [02:04:10]OFD Sender: No OFD packet to send [02:04:15]OFD Sender: No OFD packet to send [02:04:20]OFD Sender: No OFD packet to send [02:04:25]OFD Sender: No OFD packet to send [02:04:30]OFD Sender: No OFD packet to send [02:04:35]OFD Sender: No OFD packet to send [02:04:40]OFD Sender: No OFD packet to send [02:04:45]OFD Sender: No OFD packet to send [02:04:50]OFD Sender: No OFD packet to send [02:04:55]OFD Sender: No OFD packet to send [02:05:00]OFD Sender: No OFD packet to send [02:05:05]OFD Sender: No OFD packet to send [02:05:10]OFD Sender: No OFD packet to send [02:05:15]OFD Sender: No OFD packet to send [02:05:20]OFD Sender: No OFD packet to send [02:05:25]OFD Sender: No OFD packet to send [02:05:30]OFD Sender: No OFD packet to send [02:05:35]OFD Sender: No OFD packet to send [02:05:40]OFD Sender: No OFD packet to send [02:05:45]OFD Sender: No OFD packet to send [02:05:50]OFD Sender: No OFD packet to send [02:05:55]OFD Sender: No OFD packet to send [02:06:00]OFD Sender: No OFD packet to send [02:06:05]OFD Sender: No OFD packet to send [02:06:10]OFD Sender: No OFD packet to send [02:06:15]OFD Sender: No OFD packet to send [02:06:20]OFD Sender: No OFD packet to send [02:06:25]OFD Sender: No OFD packet to send [02:06:30]OFD Sender: No OFD packet to send [02:06:35]OFD Sender: No OFD packet to send [02:06:40]OFD Sender: No OFD packet to send [02:06:45]OFD Sender: No OFD packet to send [02:06:50]OFD Sender: No OFD packet to send [02:06:55]OFD Sender: No OFD packet to send [02:07:00]OFD Sender: No OFD packet to send [02:07:05]OFD Sender: No OFD packet to send [02:07:10]OFD Sender: No OFD packet to send [02:07:15]OFD Sender: No OFD packet to send [02:07:20]OFD Sender: No OFD packet to send [02:07:25]OFD Sender: No OFD packet to send [02:07:30]OFD Sender: No OFD packet to send [02:07:35]OFD Sender: No OFD packet to send [02:07:40]OFD Sender: No OFD packet to send [02:07:45]OFD Sender: No OFD packet to send [02:07:50]OFD Sender: No OFD packet to send [02:07:55]OFD Sender: No OFD packet to send [02:08:00]OFD Sender: No OFD packet to send [02:08:05]OFD Sender: No OFD packet to send [02:08:10]OFD Sender: No OFD packet to send [02:08:15]OFD Sender: No OFD packet to send [02:08:20]OFD Sender: No OFD packet to send [02:08:25]OFD Sender: No OFD packet to send [02:08:30]OFD Sender: No OFD packet to send [02:08:35]OFD Sender: No OFD packet to send [02:08:40]OFD Sender: No OFD packet to send [02:08:45]OFD Sender: No OFD packet to send [02:08:50]OFD Sender: No OFD packet to send [02:08:55]OFD Sender: No OFD packet to send [02:09:00]OFD Sender: No OFD packet to send [02:09:05]OFD Sender: No OFD packet to send [02:09:10]OFD Sender: No OFD packet to send [02:09:15]OFD Sender: No OFD packet to send [02:09:20]OFD Sender: No OFD packet to send [02:09:25]OFD Sender: No OFD packet to send [02:09:30]OFD Sender: No OFD packet to send [02:09:35]OFD Sender: No OFD packet to send [02:09:40]OFD Sender: No OFD packet to send [02:09:45]OFD Sender: No OFD packet to send [02:09:50]OFD Sender: No OFD packet to send [02:09:55]OFD Sender: No OFD packet to send [02:10:00]OFD Sender: No OFD packet to send [02:10:05]OFD Sender: No OFD packet to send [02:10:10]OFD Sender: No OFD packet to send [02:10:15]OFD Sender: No OFD packet to send [02:10:20]OFD Sender: No OFD packet to send [02:10:25]OFD Sender: No OFD packet to send [02:10:30]OFD Sender: No OFD packet to send [02:10:35]OFD Sender: No OFD packet to send [02:10:40]OFD Sender: No OFD packet to send [02:10:45]OFD Sender: No OFD packet to send [02:10:50]OFD Sender: No OFD packet to send [02:10:55]OFD Sender: No OFD packet to send [02:11:00]OFD Sender: No OFD packet to send [02:11:05]OFD Sender: No OFD packet to send [02:11:10]OFD Sender: No OFD packet to send [02:11:15]OFD Sender: No OFD packet to send [02:11:20]OFD Sender: No OFD packet to send [02:11:25]OFD Sender: No OFD packet to send [02:11:30]OFD Sender: No OFD packet to send [02:11:35]OFD Sender: No OFD packet to send [02:11:40]OFD Sender: No OFD packet to send [02:11:45]OFD Sender: No OFD packet to send [02:11:50]OFD Sender: No OFD packet to send [02:11:55]OFD Sender: No OFD packet to send [02:12:00]OFD Sender: No OFD packet to send [02:12:05]OFD Sender: No OFD packet to send [02:12:10]OFD Sender: No OFD packet to send [02:12:15]OFD Sender: No OFD packet to send [02:12:20]OFD Sender: No OFD packet to send [02:12:25]OFD Sender: No OFD packet to send [02:12:30]OFD Sender: No OFD packet to send [02:12:35]OFD Sender: No OFD packet to send [02:12:40]OFD Sender: No OFD packet to send [02:12:45]OFD Sender: No OFD packet to send [02:12:50]OFD Sender: No OFD packet to send [02:12:55]OFD Sender: No OFD packet to send [02:13:00]OFD Sender: No OFD packet to send [02:13:05]OFD Sender: No OFD packet to send [02:13:10]OFD Sender: No OFD packet to send [02:13:15]OFD Sender: No OFD packet to send [02:13:20]OFD Sender: No OFD packet to send [02:13:25]OFD Sender: No OFD packet to send [02:13:30]OFD Sender: No OFD packet to send [02:13:35]OFD Sender: No OFD packet to send [02:13:40]OFD Sender: No OFD packet to send [02:13:45]OFD Sender: No OFD packet to send [02:13:50]OFD Sender: No OFD packet to send [02:13:55]OFD Sender: No OFD packet to send [02:14:00]OFD Sender: No OFD packet to send [02:14:05]OFD Sender: No OFD packet to send [02:14:10]OFD Sender: No OFD packet to send [02:14:15]OFD Sender: No OFD packet to send [02:14:20]OFD Sender: No OFD packet to send [02:14:25]OFD Sender: No OFD packet to send [02:14:30]OFD Sender: No OFD packet to send [02:14:35]OFD Sender: No OFD packet to send [02:14:40]OFD Sender: No OFD packet to send [02:14:45]OFD Sender: No OFD packet to send [02:14:50]OFD Sender: No OFD packet to send [02:14:55]OFD Sender: No OFD packet to send [02:15:00]OFD Sender: No OFD packet to send [02:15:05]OFD Sender: No OFD packet to send [02:15:10]OFD Sender: No OFD packet to send [02:15:15]OFD Sender: No OFD packet to send [02:15:20]OFD Sender: No OFD packet to send [02:15:25]OFD Sender: No OFD packet to send [02:15:30]OFD Sender: No OFD packet to send [02:15:35]OFD Sender: No OFD packet to send [02:15:40]OFD Sender: No OFD packet to send [02:15:45]OFD Sender: No OFD packet to send [02:15:50]OFD Sender: No OFD packet to send [02:15:55]OFD Sender: No OFD packet to send [02:16:00]OFD Sender: No OFD packet to send [02:16:05]OFD Sender: No OFD packet to send [02:16:10]OFD Sender: No OFD packet to send [02:16:15]OFD Sender: No OFD packet to send [02:16:20]OFD Sender: No OFD packet to send [02:16:25]OFD Sender: No OFD packet to send [02:16:30]OFD Sender: No OFD packet to send [02:16:35]OFD Sender: No OFD packet to send [02:16:40]OFD Sender: No OFD packet to send [02:16:45]OFD Sender: No OFD packet to send [02:16:50]OFD Sender: No OFD packet to send [02:16:55]OFD Sender: No OFD packet to send [02:17:00]OFD Sender: No OFD packet to send [02:17:05]OFD Sender: No OFD packet to send [02:17:10]OFD Sender: No OFD packet to send [02:17:15]OFD Sender: No OFD packet to send [02:17:20]OFD Sender: No OFD packet to send [02:17:25]OFD Sender: No OFD packet to send [02:17:30]OFD Sender: No OFD packet to send [02:17:35]OFD Sender: No OFD packet to send [02:17:40]OFD Sender: No OFD packet to send [02:17:45]OFD Sender: No OFD packet to send [02:17:50]OFD Sender: No OFD packet to send [02:17:55]OFD Sender: No OFD packet to send [02:18:00]OFD Sender: No OFD packet to send [02:18:05]OFD Sender: No OFD packet to send [02:18:10]OFD Sender: No OFD packet to send [02:18:15]OFD Sender: No OFD packet to send [02:18:20]OFD Sender: No OFD packet to send [02:18:25]OFD Sender: No OFD packet to send [02:18:30]OFD Sender: No OFD packet to send [02:18:35]OFD Sender: No OFD packet to send [02:18:40]OFD Sender: No OFD packet to send [02:18:45]OFD Sender: No OFD packet to send [02:18:50]OFD Sender: No OFD packet to send [02:18:55]OFD Sender: No OFD packet to send [02:19:00]OFD Sender: No OFD packet to send [02:19:05]OFD Sender: No OFD packet to send [02:19:10]OFD Sender: No OFD packet to send [02:19:15]OFD Sender: No OFD packet to send [02:19:20]OFD Sender: No OFD packet to send [02:19:25]OFD Sender: No OFD packet to send [02:19:30]OFD Sender: No OFD packet to send [02:19:35]OFD Sender: No OFD packet to send [02:19:40]OFD Sender: No OFD packet to send [02:19:45]OFD Sender: No OFD packet to send [02:19:50]OFD Sender: No OFD packet to send [02:19:55]OFD Sender: No OFD packet to send [02:20:00]OFD Sender: No OFD packet to send [02:20:05]OFD Sender: No OFD packet to send [02:20:10]OFD Sender: No OFD packet to send [02:20:15]OFD Sender: No OFD packet to send [02:20:20]OFD Sender: No OFD packet to send [02:20:25]OFD Sender: No OFD packet to send [02:20:30]OFD Sender: No OFD packet to send [02:20:35]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:21]OFD Sender: No OFD packet to send [02:21:26]OFD Sender: No OFD packet to send [02:21:31]OFD Sender: No OFD packet to send [02:21:36]OFD Sender: No OFD packet to send [02:21:41]OFD Sender: No OFD packet to send [02:21:46]OFD Sender: No OFD packet to send [02:21:51]OFD Sender: No OFD packet to send [02:21:56]OFD Sender: No OFD packet to send [02:22:01]OFD Sender: No OFD packet to send [02:22:06]OFD Sender: No OFD packet to send [02:22:11]OFD Sender: No OFD packet to send [02:22:16]OFD Sender: No OFD packet to send [02:22:21]OFD Sender: No OFD packet to send [02:22:26]OFD Sender: No OFD packet to send [02:22:31]OFD Sender: No OFD packet to send [02:22:36]OFD Sender: No OFD packet to send [02:22:41]OFD Sender: No OFD packet to send [02:22:46]OFD Sender: No OFD packet to send [02:22:51]OFD Sender: No OFD packet to send [02:22:56]OFD Sender: No OFD packet to send [02:23:01]OFD Sender: No OFD packet to send [02:23:06]OFD Sender: No OFD packet to send [02:23:11]OFD Sender: No OFD packet to send [02:23:16]OFD Sender: No OFD packet to send [02:23:21]OFD Sender: No OFD packet to send [02:23:26]OFD Sender: No OFD packet to send [02:23:31]OFD Sender: No OFD packet to send [02:23:36]OFD Sender: No OFD packet to send [02:23:41]OFD Sender: No OFD packet to send [02:23:46]OFD Sender: No OFD packet to send [02:23:51]OFD Sender: No OFD packet to send [02:23:56]OFD Sender: No OFD packet to send [02:24:01]OFD Sender: No OFD packet to send [02:24:06]OFD Sender: No OFD packet to send [02:24:11]OFD Sender: No OFD packet to send [02:24:16]OFD Sender: No OFD packet to send [02:24:21]OFD Sender: No OFD packet to send [02:24:26]OFD Sender: No OFD packet to send [02:24:31]OFD Sender: No OFD packet to send [02:24:36]OFD Sender: No OFD packet to send [02:24:41]OFD Sender: No OFD packet to send [02:24:46]OFD Sender: No OFD packet to send [02:24:51]OFD Sender: No OFD packet to send [02:24:56]OFD Sender: No OFD packet to send [02:25:01]OFD Sender: No OFD packet to send [02:25:06]OFD Sender: No OFD packet to send [02:25:11]OFD Sender: No OFD packet to send [02:25:16]OFD Sender: No OFD packet to send [02:25:21]OFD Sender: No OFD packet to send [02:25:26]OFD Sender: No OFD packet to send [02:25:31]OFD Sender: No OFD packet to send [02:25:36]OFD Sender: No OFD packet to send [02:25:41]OFD Sender: No OFD packet to send [02:25:46]OFD Sender: No OFD packet to send [02:25:51]OFD Sender: No OFD packet to send [02:25:56]OFD Sender: No OFD packet to send [02:26:01]OFD Sender: No OFD packet to send [02:26:06]OFD Sender: No OFD packet to send [02:26:11]OFD Sender: No OFD packet to send [02:26:16]OFD Sender: No OFD packet to send [02:26:21]OFD Sender: No OFD packet to send [02:26:26]OFD Sender: No OFD packet to send [02:26:31]OFD Sender: No OFD packet to send [02:26:36]OFD Sender: No OFD packet to send [02:26:41]OFD Sender: No OFD packet to send [02:26:46]OFD Sender: No OFD packet to send [02:26:51]OFD Sender: No OFD packet to send [02:26:56]OFD Sender: No OFD packet to send [02:27:01]OFD Sender: No OFD packet to send [02:27:06]OFD Sender: No OFD packet to send [02:27:11]OFD Sender: No OFD packet to send [02:27:16]OFD Sender: No OFD packet to send [02:27:21]OFD Sender: No OFD packet to send [02:27:26]OFD Sender: No OFD packet to send [02:27:31]OFD Sender: No OFD packet to send [02:27:36]OFD Sender: No OFD packet to send [02:27:41]OFD Sender: No OFD packet to send [02:27:46]OFD Sender: No OFD packet to send [02:27:51]OFD Sender: No OFD packet to send [02:27:56]OFD Sender: No OFD packet to send [02:28:01]OFD Sender: No OFD packet to send [02:28:06]OFD Sender: No OFD packet to send [02:28:11]OFD Sender: No OFD packet to send [02:28:16]OFD Sender: No OFD packet to send [02:28:21]OFD Sender: No OFD packet to send [02:28:26]OFD Sender: No OFD packet to send [02:28:31]OFD Sender: No OFD packet to send [02:28:36]OFD Sender: No OFD packet to send [02:28:41]OFD Sender: No OFD packet to send [02:28:46]OFD Sender: No OFD packet to send [02:28:51]OFD Sender: No OFD packet to send [02:28:56]OFD Sender: No OFD packet to send [02:29:01]OFD Sender: No OFD packet to send [02:29:06]OFD Sender: No OFD packet to send [02:29:11]OFD Sender: No OFD packet to send [02:29:16]OFD Sender: No OFD packet to send [02:29:21]OFD Sender: No OFD packet to send [02:29:26]OFD Sender: No OFD packet to send [02:29:31]OFD Sender: No OFD packet to send [02:29:36]OFD Sender: No OFD packet to send [02:29:41]OFD Sender: No OFD packet to send [02:29:46]OFD Sender: No OFD packet to send [02:29:51]OFD Sender: No OFD packet to send [02:29:56]OFD Sender: No OFD packet to send [02:30:01]OFD Sender: No OFD packet to send [02:30:06]OFD Sender: No OFD packet to send [02:30:11]OFD Sender: No OFD packet to send [02:30:16]OFD Sender: No OFD packet to send [02:30:21]OFD Sender: No OFD packet to send [02:30:26]OFD Sender: No OFD packet to send [02:30:31]OFD Sender: No OFD packet to send [02:30:36]OFD Sender: No OFD packet to send [02:30:41]OFD Sender: No OFD packet to send [02:30:46]OFD Sender: No OFD packet to send [02:30:51]OFD Sender: No OFD packet to send [02:30:56]OFD Sender: No OFD packet to send [02:31:01]OFD Sender: No OFD packet to send [02:31:06]OFD Sender: No OFD packet to send [02:31:11]OFD Sender: No OFD packet to send [02:31:16]OFD Sender: No OFD packet to send [02:31:21]OFD Sender: No OFD packet to send [02:31:26]OFD Sender: No OFD packet to send [02:31:31]OFD Sender: No OFD packet to send [02:31:36]OFD Sender: No OFD packet to send [02:31:41]OFD Sender: No OFD packet to send [02:31:46]OFD Sender: No OFD packet to send [02:31:51]OFD Sender: No OFD packet to send [02:31:56]OFD Sender: No OFD packet to send [02:32:01]OFD Sender: No OFD packet to send [02:32:06]OFD Sender: No OFD packet to send [02:32:11]OFD Sender: No OFD packet to send [02:32:16]OFD Sender: No OFD packet to send [02:32:21]OFD Sender: No OFD packet to send [02:32:26]OFD Sender: No OFD packet to send [02:32:31]OFD Sender: No OFD packet to send [02:32:36]OFD Sender: No OFD packet to send [02:32:41]OFD Sender: No OFD packet to send [02:32:46]OFD Sender: No OFD packet to send [02:32:51]OFD Sender: No OFD packet to send [02:32:56]OFD Sender: No OFD packet to send [02:33:01]OFD Sender: No OFD packet to send [02:33:06]OFD Sender: No OFD packet to send [02:33:11]OFD Sender: No OFD packet to send [02:33:16]OFD Sender: No OFD packet to send [02:33:21]OFD Sender: No OFD packet to send [02:33:26]OFD Sender: No OFD packet to send [02:33:31]OFD Sender: No OFD packet to send [02:33:36]OFD Sender: No OFD packet to send [02:33:41]OFD Sender: No OFD packet to send [02:33:46]OFD Sender: No OFD packet to send [02:33:51]OFD Sender: No OFD packet to send [02:33:56]OFD Sender: No OFD packet to send [02:34:01]OFD Sender: No OFD packet to send [02:34:06]OFD Sender: No OFD packet to send [02:34:11]OFD Sender: No OFD packet to send [02:34:16]OFD Sender: No OFD packet to send [02:34:21]OFD Sender: No OFD packet to send [02:34:26]OFD Sender: No OFD packet to send [02:34:31]OFD Sender: No OFD packet to send [02:34:36]OFD Sender: No OFD packet to send [02:34:41]OFD Sender: No OFD packet to send [02:34:46]OFD Sender: No OFD packet to send [02:34:51]OFD Sender: No OFD packet to send [02:34:56]OFD Sender: No OFD packet to send [02:35:01]OFD Sender: No OFD packet to send [02:35:06]OFD Sender: No OFD packet to send [02:35:11]OFD Sender: No OFD packet to send [02:35:16]OFD Sender: No OFD packet to send [02:35:21]OFD Sender: No OFD packet to send [02:35:26]OFD Sender: No OFD packet to send [02:35:31]OFD Sender: No OFD packet to send [02:35:36]OFD Sender: No OFD packet to send [02:35:41]OFD Sender: No OFD packet to send [02:35:46]OFD Sender: No OFD packet to send [02:35:51]OFD Sender: No OFD packet to send [02:35:56]OFD Sender: No OFD packet to send [02:36:01]OFD Sender: No OFD packet to send [02:36:06]OFD Sender: No OFD packet to send [02:36:11]OFD Sender: No OFD packet to send [02:36:16]OFD Sender: No OFD packet to send [02:36:21]OFD Sender: No OFD packet to send [02:36:26]OFD Sender: No OFD packet to send [02:36:31]OFD Sender: No OFD packet to send [02:36:36]OFD Sender: No OFD packet to send [02:36:41]OFD Sender: No OFD packet to send [02:36:46]OFD Sender: No OFD packet to send [02:36:51]OFD Sender: No OFD packet to send [02:36:56]OFD Sender: No OFD packet to send [02:37:01]OFD Sender: No OFD packet to send [02:37:06]OFD Sender: No OFD packet to send [02:37:11]OFD Sender: No OFD packet to send [02:37:16]OFD Sender: No OFD packet to send [02:37:21]OFD Sender: No OFD packet to send [02:37:26]OFD Sender: No OFD packet to send [02:37:31]OFD Sender: No OFD packet to send [02:37:36]OFD Sender: No OFD packet to send [02:37:41]OFD Sender: No OFD packet to send [02:37:46]OFD Sender: No OFD packet to send [02:37:51]OFD Sender: No OFD packet to send [02:37:56]OFD Sender: No OFD packet to send [02:38:01]OFD Sender: No OFD packet to send [02:38:06]OFD Sender: No OFD packet to send [02:38:11]OFD Sender: No OFD packet to send [02:38:16]OFD Sender: No OFD packet to send [02:38:21]OFD Sender: No OFD packet to send [02:38:26]OFD Sender: No OFD packet to send [02:38:31]OFD Sender: No OFD packet to send [02:38:36]OFD Sender: No OFD packet to send [02:38:41]OFD Sender: No OFD packet to send [02:38:46]OFD Sender: No OFD packet to send [02:38:51]OFD Sender: No OFD packet to send [02:38:56]OFD Sender: No OFD packet to send [02:39:01]OFD Sender: No OFD packet to send [02:39:06]OFD Sender: No OFD packet to send [02:39:11]OFD Sender: No OFD packet to send [02:39:16]OFD Sender: No OFD packet to send [02:39:21]OFD Sender: No OFD packet to send [02:39:26]OFD Sender: No OFD packet to send [02:39:31]OFD Sender: No OFD packet to send [02:39:36]OFD Sender: No OFD packet to send [02:39:41]OFD Sender: No OFD packet to send [02:39:46]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:07]OFD Sender: No OFD packet to send [02:40:12]OFD Sender: No OFD packet to send [02:40:17]OFD Sender: No OFD packet to send [02:40:22]OFD Sender: No OFD packet to send [02:40:27]OFD Sender: No OFD packet to send [02:40:32]OFD Sender: No OFD packet to send [02:40:37]OFD Sender: No OFD packet to send [02:40:42]OFD Sender: No OFD packet to send [02:40:47]OFD Sender: No OFD packet to send [02:40:52]OFD Sender: No OFD packet to send [02:40:57]OFD Sender: No OFD packet to send [02:41:02]OFD Sender: No OFD packet to send [02:41:07]OFD Sender: No OFD packet to send [02:41:12]OFD Sender: No OFD packet to send [02:41:17]OFD Sender: No OFD packet to send [02:41:22]OFD Sender: No OFD packet to send [02:41:27]OFD Sender: No OFD packet to send [02:41:32]OFD Sender: No OFD packet to send [02:41:37]OFD Sender: No OFD packet to send [02:41:42]OFD Sender: No OFD packet to send [02:41:47]OFD Sender: No OFD packet to send [02:41:52]OFD Sender: No OFD packet to send [02:41:57]OFD Sender: No OFD packet to send [02:42:02]OFD Sender: No OFD packet to send [02:42:07]OFD Sender: No OFD packet to send [02:42:12]OFD Sender: No OFD packet to send [02:42:17]OFD Sender: No OFD packet to send [02:42:22]OFD Sender: No OFD packet to send [02:42:27]OFD Sender: No OFD packet to send [02:42:32]OFD Sender: No OFD packet to send [02:42:37]OFD Sender: No OFD packet to send [02:42:42]OFD Sender: No OFD packet to send [02:42:47]OFD Sender: No OFD packet to send [02:42:52]OFD Sender: No OFD packet to send [02:42:57]OFD Sender: No OFD packet to send [02:43:02]OFD Sender: No OFD packet to send [02:43:07]OFD Sender: No OFD packet to send [02:43:12]OFD Sender: No OFD packet to send [02:43:17]OFD Sender: No OFD packet to send [02:43:22]OFD Sender: No OFD packet to send [02:43:27]OFD Sender: No OFD packet to send [02:43:32]OFD Sender: No OFD packet to send [02:43:37]OFD Sender: No OFD packet to send [02:43:42]OFD Sender: No OFD packet to send [02:43:47]OFD Sender: No OFD packet to send [02:43:52]OFD Sender: No OFD packet to send [02:43:57]OFD Sender: No OFD packet to send [02:44:02]OFD Sender: No OFD packet to send [02:44:07]OFD Sender: No OFD packet to send [02:44:12]OFD Sender: No OFD packet to send [02:44:17]OFD Sender: No OFD packet to send [02:44:22]OFD Sender: No OFD packet to send [02:44:27]OFD Sender: No OFD packet to send [02:44:32]OFD Sender: No OFD packet to send [02:44:37]OFD Sender: No OFD packet to send [02:44:42]OFD Sender: No OFD packet to send [02:44:47]OFD Sender: No OFD packet to send [02:44:52]OFD Sender: No OFD packet to send [02:44:57]OFD Sender: No OFD packet to send [02:45:02]OFD Sender: No OFD packet to send [02:45:07]OFD Sender: No OFD packet to send [02:45:12]OFD Sender: No OFD packet to send [02:45:17]OFD Sender: No OFD packet to send [02:45:22]OFD Sender: No OFD packet to send [02:45:27]OFD Sender: No OFD packet to send [02:45:32]OFD Sender: No OFD packet to send [02:45:37]OFD Sender: No OFD packet to send [02:45:42]OFD Sender: No OFD packet to send [02:45:47]OFD Sender: No OFD packet to send [02:45:52]OFD Sender: No OFD packet to send [02:45:57]OFD Sender: No OFD packet to send [02:46:02]OFD Sender: No OFD packet to send [02:46:07]OFD Sender: No OFD packet to send [02:46:12]OFD Sender: No OFD packet to send [02:46:17]OFD Sender: No OFD packet to send [02:46:22]OFD Sender: No OFD packet to send [02:46:27]OFD Sender: No OFD packet to send [02:46:32]OFD Sender: No OFD packet to send [02:46:37]OFD Sender: No OFD packet to send [02:46:42]OFD Sender: No OFD packet to send [02:46:47]OFD Sender: No OFD packet to send [02:46:52]OFD Sender: No OFD packet to send [02:46:57]OFD Sender: No OFD packet to send [02:47:02]OFD Sender: No OFD packet to send [02:47:07]OFD Sender: No OFD packet to send [02:47:12]OFD Sender: No OFD packet to send [02:47:17]OFD Sender: No OFD packet to send [02:47:22]OFD Sender: No OFD packet to send [02:47:27]OFD Sender: No OFD packet to send [02:47:32]OFD Sender: No OFD packet to send [02:47:37]OFD Sender: No OFD packet to send [02:47:42]OFD Sender: No OFD packet to send [02:47:47]OFD Sender: No OFD packet to send [02:47:52]OFD Sender: No OFD packet to send [02:47:57]OFD Sender: No OFD packet to send [02:48:02]OFD Sender: No OFD packet to send [02:48:07]OFD Sender: No OFD packet to send [02:48:12]OFD Sender: No OFD packet to send [02:48:17]OFD Sender: No OFD packet to send [02:48:22]OFD Sender: No OFD packet to send [02:48:27]OFD Sender: No OFD packet to send [02:48:32]OFD Sender: No OFD packet to send [02:48:37]OFD Sender: No OFD packet to send [02:48:42]OFD Sender: No OFD packet to send [02:48:47]OFD Sender: No OFD packet to send [02:48:52]OFD Sender: No OFD packet to send [02:48:57]OFD Sender: No OFD packet to send [02:49:02]OFD Sender: No OFD packet to send [02:49:07]OFD Sender: No OFD packet to send [02:49:12]OFD Sender: No OFD packet to send [02:49:17]OFD Sender: No OFD packet to send [02:49:22]OFD Sender: No OFD packet to send [02:49:27]OFD Sender: No OFD packet to send [02:49:32]OFD Sender: No OFD packet to send [02:49:37]OFD Sender: No OFD packet to send [02:49:42]OFD Sender: No OFD packet to send [02:49:47]OFD Sender: No OFD packet to send [02:49:52]OFD Sender: No OFD packet to send [02:49:57]OFD Sender: No OFD packet to send [02:50:02]OFD Sender: No OFD packet to send [02:50:07]OFD Sender: No OFD packet to send [02:50:12]OFD Sender: No OFD packet to send [02:50:17]OFD Sender: No OFD packet to send [02:50:22]OFD Sender: No OFD packet to send [02:50:27]OFD Sender: No OFD packet to send [02:50:32]OFD Sender: No OFD packet to send [02:50:37]OFD Sender: No OFD packet to send [02:50:42]OFD Sender: No OFD packet to send [02:50:47]OFD Sender: No OFD packet to send [02:50:52]OFD Sender: No OFD packet to send [02:50:57]OFD Sender: No OFD packet to send [02:51:02]OFD Sender: No OFD packet to send [02:51:07]OFD Sender: No OFD packet to send [02:51:12]OFD Sender: No OFD packet to send [02:51:17]OFD Sender: No OFD packet to send [02:51:22]OFD Sender: No OFD packet to send [02:51:27]OFD Sender: No OFD packet to send [02:51:32]OFD Sender: No OFD packet to send [02:51:37]OFD Sender: No OFD packet to send [02:51:42]OFD Sender: No OFD packet to send [02:51:47]OFD Sender: No OFD packet to send [02:51:52]OFD Sender: No OFD packet to send [02:51:57]OFD Sender: No OFD packet to send [02:52:02]OFD Sender: No OFD packet to send [02:52:07]OFD Sender: No OFD packet to send [02:52:12]OFD Sender: No OFD packet to send [02:52:17]OFD Sender: No OFD packet to send [02:52:22]OFD Sender: No OFD packet to send [02:52:27]OFD Sender: No OFD packet to send [02:52:32]OFD Sender: No OFD packet to send [02:52:37]OFD Sender: No OFD packet to send [02:52:42]OFD Sender: No OFD packet to send [02:52:47]OFD Sender: No OFD packet to send [02:52:52]OFD Sender: No OFD packet to send [02:52:57]OFD Sender: No OFD packet to send [02:53:02]OFD Sender: No OFD packet to send [02:53:07]OFD Sender: No OFD packet to send [02:53:12]OFD Sender: No OFD packet to send [02:53:17]OFD Sender: No OFD packet to send [02:53:22]OFD Sender: No OFD packet to send [02:53:27]OFD Sender: No OFD packet to send [02:53:32]OFD Sender: No OFD packet to send [02:53:37]OFD Sender: No OFD packet to send [02:53:42]OFD Sender: No OFD packet to send [02:53:47]OFD Sender: No OFD packet to send [02:53:52]OFD Sender: No OFD packet to send [02:53:57]OFD Sender: No OFD packet to send [02:54:02]OFD Sender: No OFD packet to send [02:54:07]OFD Sender: No OFD packet to send [02:54:12]OFD Sender: No OFD packet to send [02:54:17]OFD Sender: No OFD packet to send [02:54:22]OFD Sender: No OFD packet to send [02:54:27]OFD Sender: No OFD packet to send [02:54:32]OFD Sender: No OFD packet to send [02:54:37]OFD Sender: No OFD packet to send [02:54:42]OFD Sender: No OFD packet to send [02:54:47]OFD Sender: No OFD packet to send [02:54:52]OFD Sender: No OFD packet to send [02:54:57]OFD Sender: No OFD packet to send [02:55:02]OFD Sender: No OFD packet to send [02:55:07]OFD Sender: No OFD packet to send [02:55:12]OFD Sender: No OFD packet to send [02:55:17]OFD Sender: No OFD packet to send [02:55:22]OFD Sender: No OFD packet to send [02:55:27]OFD Sender: No OFD packet to send [02:55:32]OFD Sender: No OFD packet to send [02:55:37]OFD Sender: No OFD packet to send [02:55:42]OFD Sender: No OFD packet to send [02:55:47]OFD Sender: No OFD packet to send [02:55:52]OFD Sender: No OFD packet to send [02:55:57]OFD Sender: No OFD packet to send [02:56:02]OFD Sender: No OFD packet to send [02:56:07]OFD Sender: No OFD packet to send [02:56:12]OFD Sender: No OFD packet to send [02:56:17]OFD Sender: No OFD packet to send [02:56:22]OFD Sender: No OFD packet to send [02:56:27]OFD Sender: No OFD packet to send [02:56:32]OFD Sender: No OFD packet to send [02:56:37]OFD Sender: No OFD packet to send [02:56:42]OFD Sender: No OFD packet to send [02:56:47]OFD Sender: No OFD packet to send [02:56:52]OFD Sender: No OFD packet to send [02:56:57]OFD Sender: No OFD packet to send [02:57:02]OFD Sender: No OFD packet to send [02:57:07]OFD Sender: No OFD packet to send [02:57:12]OFD Sender: No OFD packet to send [02:57:17]OFD Sender: No OFD packet to send [02:57:22]OFD Sender: No OFD packet to send [02:57:27]OFD Sender: No OFD packet to send [02:57:32]OFD Sender: No OFD packet to send [02:57:37]OFD Sender: No OFD packet to send [02:57:42]OFD Sender: No OFD packet to send [02:57:47]OFD Sender: No OFD packet to send [02:57:52]OFD Sender: No OFD packet to send [02:57:57]OFD Sender: No OFD packet to send [02:58:02]OFD Sender: No OFD packet to send [02:58:07]OFD Sender: No OFD packet to send [02:58:12]OFD Sender: No OFD packet to send [02:58:17]OFD Sender: No OFD packet to send [02:58:22]OFD Sender: No OFD packet to send [02:58:27]OFD Sender: No OFD packet to send [02:58:32]OFD Sender: No OFD packet to send [02:58:37]OFD Sender: No OFD packet to send [02:58:42]OFD Sender: No OFD packet to send [02:58:47]OFD Sender: No OFD packet to send [02:58:52]OFD Sender: No OFD packet to send [02:58:58]OFD Sender: No OFD packet to send [02:59:03]OFD Sender: No OFD packet to send [02:59:08]OFD Sender: No OFD packet to send [02:59:13]OFD Sender: No OFD packet to send [02:59:18]OFD Sender: No OFD packet to send [02:59:23]OFD Sender: No OFD packet to send [02:59:28]OFD Sender: No OFD packet to send [02:59:33]OFD Sender: No OFD packet to send [02:59:38]OFD Sender: No OFD packet to send [02:59:43]OFD Sender: No OFD packet to send [02:59:48]OFD Sender: No OFD packet to send [02:59:53]OFD Sender: No OFD packet to send [02:59:58]OFD Sender: No OFD packet to send [03:00:03]OFD Sender: No OFD packet to send [03:00:08]OFD Sender: No OFD packet to send [03:00:13]OFD Sender: No OFD packet to send